Joffrey JAFFEUX
39f3dbd945
Introduces select-kit
...
* renames `select-box-kit` into `select-kit`
* introduces `single-select` and `multi-select` as base components
* introduces {{search-advanced-category-chooser}} as a better component for selecting category in advanced search
* improves events handling in select-kit
* recreates color selection inputs using {{multi-select}} and a custom {{selected-color}} component
* replaces category-selector by a component using select-kit and based on multi-select
* improves positioning of wrapper
* removes the need for offscreen, and instead use `select-kit-header` as a base focus point for all select-kit based components
* introduces a formal plugin api for select-kit based components
* introduces a formal pattern for loading and updating select-kit based components:
```
computeValue()
computeContent()
mutateValue()
```
2017-11-21 11:53:09 +01:00
Guo Xiang Tan
f7642e076d
REFACTOR: Avoid duplicated logic on server and client.
2017-11-21 17:10:04 +08:00
Robin Ward
0a9daba627
FIX: Support for long suspension emails
2017-11-20 12:45:46 -05:00
Neil Lalonde
7c6f991313
REFACTOR: remove AgeWord calls from serializers and do it in javascript
2017-11-17 17:53:30 -05:00
Robin Ward
44081bdf73
FIX: Moderators couldn't delete spammers via flag modal
2017-11-15 10:46:09 -05:00
Arpit Jalan
3831663fea
FEATURE: search logs page ( #5313 )
2017-11-15 11:13:50 +11:00
Robin Ward
971e302ff2
FEATURE: Support an end date for user silencing
2017-11-14 13:20:19 -05:00
Joffrey JAFFEUX
680696fc04
Replaces delete flag modal by a dropdown
2017-11-14 07:55:08 -08:00
Joffrey JAFFEUX
e0bee3a3bc
FIX: mutate value if numeric in enums
2017-11-13 18:51:19 -08:00
Arpit Jalan
be1bc2706b
FIX: redirect /admin/users to Admin Users List
2017-11-12 14:53:32 +05:30
Robin Ward
94764399ae
Delete unused files
2017-11-10 16:02:46 -05:00
Robin Ward
75dad26fa5
Rename confusing action name
2017-11-10 16:02:46 -05:00
Robin Ward
1f14350220
Rename "Blocked" to "Silenced"
2017-11-10 14:10:27 -05:00
Robin Ward
c53ddb7723
FIX: Sometimes viewing a user's action logs would reset to view all
2017-11-09 15:35:12 -05:00
Joffrey JAFFEUX
6d3ed966cd
FEATURE: replace admin flags modal by a select-box
2017-11-09 12:33:36 -08:00
Robin Ward
162932114e
UX: Add an outlet to the user admin page
2017-11-09 14:18:30 -05:00
Joffrey JAFFEUX
0da529010a
FEATURE: support for multi-combo-box
2017-11-09 10:57:53 -08:00
Robin Ward
3093074398
UX: Include the flagged person's username on the flagged post
2017-11-09 13:18:33 -05:00
Robin Ward
6e2853da53
UX: Make flagged topics details button more clear
2017-11-09 13:03:35 -05:00
Robin Ward
a931d7ba56
UX: Add new targetable class in staff-action-logs
2017-11-01 16:05:00 -04:00
Guo Xiang Tan
85c749d6e4
Fix eslint.
2017-10-31 08:34:13 +08:00
Robin Ward
528eac5a07
UX: Various admin class and structure improvements for styling
2017-10-30 14:50:43 -04:00
OsamaSayegh
55095bc44e
FEATURE: Use ACE for badge queries ( #5269 )
...
* FEATURE: Use ACE for badge queries
* Forgot disabled
* When disabled, cursor should be `not-allowed`
* Tests + prefix custom attribute with `data-`
2017-10-30 18:07:49 +11:00
Robin Ward
764cf7e3a5
FEATURE: Add longer suspension defaults
...
Also refactors and DRYs up the future input date data a lot
2017-10-26 14:16:35 -04:00
Robin Ward
f6f3b8ecc9
UX: Make admin user list easier to style
2017-10-23 16:06:05 -04:00
Robin Ward
e9159e49f3
FEATURE: Site Setting to determine whether flags defaults to topics
2017-10-20 12:37:20 -04:00
Joffrey JAFFEUX
ae1743c61f
[WIP] select-box-kit refactoring
2017-10-19 12:51:08 -07:00
Robin Ward
838568cbc3
Refactor flag types for more customization
2017-10-19 13:55:23 -04:00
Robin Ward
f7c967b754
Add forever to the suspension dropdown
2017-10-02 15:04:22 -04:00
Guo Xiang Tan
4ae3a4e89e
UX: Label should toggle checkbox.
...
https://meta.discourse.org/t/clicking-label-for-automatically-set-as-primary-group-doesnt-toggle-setting/71086/2
2017-10-02 16:07:53 +08:00
Robin Ward
41c3941c4c
FEATURE: Support regular expressions for watched words
2017-09-27 15:48:57 -04:00
Gerhard Schlager
1a37812625
FIX: show error message when keys are missing in email template
...
FIX: log email template changes in the Staff Log
2017-09-27 13:50:04 +02:00
Joshua Rosenfeld
fbfc4de3eb
Move staged below active
2017-09-26 16:46:37 -04:00
Robin Ward
b0eab6756d
UX: Weird alignment issue on flags
2017-09-25 16:29:48 -04:00
Robin Ward
073b74cf3f
FIX: Linting and broken test
2017-09-25 13:11:41 -04:00
Robin Ward
d1ebc62065
The ability to display errors on flagging actions.
2017-09-25 12:28:01 -04:00
Robin Ward
09ed2ed749
Add Suspend User to flags page
2017-09-25 12:28:00 -04:00
Robin Ward
079f108ceb
UX: Improve interface for flagging with many flaggers
2017-09-25 12:28:00 -04:00
Robin Ward
64fae87470
FIX: Object.assign
is not fully supported
2017-09-25 12:28:00 -04:00
Robin Ward
8323e22d0c
Rename auto-update-input
to more accurate future-date-input
2017-09-25 12:28:00 -04:00
Robin Ward
6bce3004d9
UX: Nicer selection of suspend duration
2017-09-25 12:28:00 -04:00
Robin Ward
677b016387
Send a suspension message via email to a user
2017-09-25 12:26:41 -04:00
Robin Ward
2a56cf8bb6
Tests + Refactoring for Suspension Modal
2017-09-25 12:26:06 -04:00
Robin Ward
6e48884274
Extract out common "cancel" link functionality from modals
2017-09-25 12:25:15 -04:00
Robin Ward
4020409bbf
Add support for suspension message
2017-09-25 12:25:14 -04:00
Robin Ward
daceeb9700
Refactor user suspension modal
2017-09-25 12:25:14 -04:00
Robin Ward
561fa7d0cd
FEATURE: Site Setting to hide suspension reason on the public profile
2017-09-25 12:25:14 -04:00
Robin Ward
d7c37d9369
Add front end service for staff controls
2017-09-25 12:25:14 -04:00
Robin Ward
5cf50f0034
Adjust flagged posts to use the store
2017-09-25 12:25:14 -04:00
Robin Ward
cc1a461254
Convert flags admin to flexbox
2017-09-25 12:25:14 -04:00