Commit Graph

47 Commits

Author SHA1 Message Date
Gerardo Gálvez 8163b52301 Flag users as "Always premoderate" (#2145)
* Flag users as "Always premoderate"

Status can be set using the action dropdown in the People tab and in User Details.
Users flagged as "Always premoderate" will have their comments sent to the premod queue.
Users can be filtered with the Always Premoderate status.
Include Always Premoderate status changes in User History.
Add spanish translations.

* Reorder CSS as per cvle's suggestion

* Address second comment
2019-02-13 20:08:22 +01:00
Chi Vinh Le 3a84da9495 Activate Websocket and add browser console logging 2018-05-29 16:42:04 +02:00
Wyatt Johnson 51525de679 fixed set-role description 2018-05-09 14:17:43 -06:00
Clint Brown f83d6246cb Fix lint 2018-04-24 17:34:14 +10:00
Clint Brown a444d98733 Add missing ctx arg for CLI users create 2018-04-24 17:17:48 +10:00
Kim Gardner e25b2d01c2 Merge branch 'master' into del-user 2018-03-13 19:32:02 -04:00
Wyatt Johnson f5fd162b37 moved user deletion into graph 2018-03-12 15:39:50 -06:00
Wyatt Johnson 6298658194 restored user creation cli 2018-03-09 17:11:19 -07:00
Wyatt Johnson 8d656b51a0 introduced count adjusters for deleting a user 2018-01-29 13:56:09 -07:00
Wyatt Johnson bc42539fc4 cleanup 2018-01-29 10:02:38 -07:00
Wyatt Johnson 4bbd561a1b fix to cli 2018-01-18 16:54:27 -07:00
Wyatt Johnson 0abc2ca243 replaced eslint:recommended with prettier 2018-01-11 20:00:34 -07:00
Wyatt Johnson 876f4ef700 updated docs for 4.0 2018-01-11 16:51:08 -07:00
Wyatt Johnson 1dcf297a45 added email fixes 2018-01-11 10:58:43 -07:00
Wyatt Johnson c07ec23a20 hardened configuration
- moved env rewrite + dotenv code to single location
- fixed bug with system flag on user
2018-01-05 16:06:36 -07:00
Wyatt Johnson 6260339508 user cli patches
- removed unused user actions
- added system side graph context
- added user cli search
2018-01-05 15:32:36 -07:00
Wyatt Johnson 4fb9910221 updates to cli
- removed -c,--config flag in favor of env only or .env files
- loads .env always if found
- scripts re-written to call cli-serve directly
2017-12-21 12:03:34 -07:00
Wyatt Johnson 2437401daf Merge branch 'next' into user-status-refactor 2017-11-28 09:47:34 -07:00
Wyatt Johnson d4889eb52c more role fixes 2017-11-27 16:44:40 -07:00
Wyatt Johnson 13865ff29e roles -> role, null -> COMMENTER for user roles 2017-11-27 11:53:40 -07:00
Wyatt Johnson c7d433deb5 added better logic around removing users for clearning out their stale data. 2017-11-21 12:13:28 -07:00
Wyatt Johnson 45e27fd6ad fixes to cli 2017-11-20 13:29:50 -07:00
Wyatt Johnson 76a255fb7b initial pass at status support 2017-11-02 17:16:57 -06:00
Wyatt Johnson 910acdd52b added cli tools for verifying email address 2017-10-12 15:49:21 -06:00
Wyatt Johnson eb586f217b Upgraded/pruned deps, applied linting fixes 2017-08-28 14:06:54 -06:00
Wyatt Johnson 1dec8bfaab small fix 2017-06-16 09:45:26 -04:00
David Erwin e5512a0e54 Standardizing username 2017-02-16 17:56:46 -05:00
Wyatt Johnson 3cd2b28bc2 Inital rename of displayName -> username 2017-02-09 16:48:59 -07:00
Wyatt Johnson f488b0e02d Added BE for setup
- Adjusted docs
- Fixed issues with process terminating wrong
2017-02-03 11:05:46 -07:00
Wyatt Johnson 864413b5d6 Fixed issues with e2e 2017-01-30 18:38:06 -07:00
Wyatt Johnson 91cd2e9e86 Fixes #266 2017-01-30 18:21:36 -07:00
Wyatt Johnson e6ef4b615f Changed prompt lib, updated cli's
- fixes #252
2017-01-30 17:46:09 -07:00
Wyatt Johnson eeaefd9656 fixes for cli 2017-01-24 13:01:56 -07:00
Wyatt Johnson a7e9c0c776 Const, service, and model updates
- Updated enum values to be uppercase
- Updated services to expose service models
- Updated models to only export the mongoose model
- Moved all mongoose static methods over to new services
- Updated tests to refelct new setup

BREAKING

- Status that were uppercased (caps) have caused issues with the
  admin pages
2017-01-24 12:10:32 -07:00
Wyatt Johnson 298e1e8d73 Updates to user cli + e2e + tests
- Updates to before + beforeEach for mongooose
- Removed reference to dotenv from cli in e2e, should use
  NODE_ENV=test instead.
- Changed test port from 30?? to 3000 to be consistent with what
  nightwatch was expecting
2017-01-04 10:16:51 -07:00
Wyatt Johnson 36c9f51aa8 Initial support for Heroku Deployment 2016-12-20 17:33:18 -07:00
Wyatt Johnson 61128e9c06 Updated docs, services, tests. 2016-12-13 11:29:48 -07:00
gaba 1eb204f822 Merge branch 'master' into ban-user 2016-12-08 13:28:12 -10:00
Wyatt Johnson bc88cd1e9d Adjusted promise 2016-12-08 17:23:31 -05:00
gaba a86b5f84ac Adds a role option when creating the user. 2016-12-08 12:18:53 -10:00
gaba 0e2a7decd4 Adds ban/unban to cli. Fix ban user in the admin. 2016-12-07 14:55:49 -10:00
gaba 1ec7435ef4 Merge branch 'master' into ban-user 2016-11-28 11:41:31 -08:00
Wyatt Johnson b0f01cf00f Initial commit of asset queuing (#97)
* Initial commit of asset queuing

* Addresssing comments
2016-11-28 13:29:39 -05:00
gaba 7c960e7118 Add ban action. 2016-11-18 13:22:54 -08:00
Wyatt Johnson e809c479e1 Added all method on user service 2016-11-17 10:30:34 -07:00
David Erwin d9dc198d46 Moved chained funcitons to multiple lines 2016-11-10 14:52:05 -05:00
Wyatt Johnson 0646645686 Added new cli interface + users model 2016-11-09 12:51:32 -07:00