Commit Graph

5 Commits

Author SHA1 Message Date
Jarek Radosz a102673522
DEV: Avoid unnecessary `site-settings:main` lookups () 2021-11-18 17:11:59 +01:00
Jeff Wong d87a0216bb
FEATURE: Penalty history improvements ()
* FEATURE: add penalty history when silencing a user

Display penalty history (last 6 months) when silencing/suspending a user

* FEATURE: allow default penalty values to be chosen

Adds a site setting that designates default penalty values in hours.

Silence/suspend modals will auto-fill in the default values, but otherwise
will still allow moderators to pick and overwrite values as normal.

First silence/suspend: first value
Second silence/suspend: second value
etc.

Penalty counts are forgiven at the same rate as tl3 promotion requirements do.

Co-authored-by: jjaffeux <j.jaffeux@gmail.com>
2021-07-12 11:36:56 -07:00
Roman Rizzi f3cd5dc096
FIX: Restore user summary's delete button behavior. ()
The user summary's delete button UX relied on the "admin-user.js" destroy function, which was called through the "admin-tools" service. After , we no longer put UX behavior on Ember models.
2021-01-26 13:10:46 -03:00
Roman Rizzi bbe5d8d5cf
DEV: Sort imports alphabetically () 2020-12-01 15:31:26 -03:00
Robin Ward ce3fe2f4c4 REFACTOR: Support bundling our `admin` section as an ember addon 2020-09-22 15:14:29 -04:00