Files
habitica/website/server/controllers/api-v3
Alys c80de38572 add shadow-muting chat hiding feature (automatic flagging of public posts from shadow-muted players) - fixes 10851 (#11239)
* move existing tests for chatRevoked users to 'mute user' describe block

* give consistent names to chatRevoked tests and use const not let

* improve methods for restoring chat permissions to test users

* add tests for shadow-muting and define constants for flag-related numbers

* update user profile URLs and reverse private/public 'if' statements

* implement shadow muting in the API and schemas

* add interface for mods to turn shadow muting on/off for a user

- checkbox in the Hall
- icon in the user's profile

* mark chat posts as being shadow muted (marking is visible to mods only)

* convert Admin Tools in profile from icons to text; make crown icon a toggle

* move logic for displaying flag count to a computed property

* prevent chat notifications for shadow-muted posts
2019-07-30 19:09:42 +02:00
..
2018-09-21 15:12:20 +02:00
2019-07-22 16:38:07 -05:00
2018-03-15 19:59:36 +01:00
2018-09-21 15:12:20 +02:00
2017-06-08 17:10:22 -07:00
2019-07-15 11:25:22 +02:00
2017-01-13 14:06:46 -07:00
2019-07-25 14:58:07 -05:00
2018-09-21 15:12:20 +02:00
2016-11-03 08:31:30 -05:00
2018-12-23 19:45:05 +01:00
2018-03-20 21:30:43 +00:00