Commit Graph

31 Commits

Author SHA1 Message Date
Julian Lam
d5073a9a4f better handle loading of flag details if getTarget returns null or undefined instead of {} for purged data
Not quite sure in what scenario it would be null or undefined...
2018-01-14 16:49:14 -05:00
Barış Soner Uşaklı
5b2a674a4f closes #6020 2017-10-31 16:04:25 -04:00
Baris Usakli
bc6b1a8f56 Merge remote-tracking branch 'refs/remotes/origin/master' into develop
# Conflicts:
#	public/src/admin/extend/plugins.js
2017-08-11 11:33:06 -04:00
Baris Usakli
c0861277de closes #5775 2017-08-01 14:36:55 -04:00
Baris Usakli
ea29e3e250 simpler call to validateFilters 2017-07-13 15:01:29 -04:00
Julian Lam
8a7950bfd5 add new hook to allow plugins to modify list of valid filters 2017-06-29 14:17:29 -04:00
Baris Usakli
da8b1b605c #5723 2017-05-30 17:21:34 -04:00
Barış Soner Uşaklı
bf78786a68 flag controller tests 2017-05-09 14:31:32 -04:00
Julian Lam
6e7b505ea7 more linting 2017-02-24 12:55:31 -05:00
Julian Lam
ddea9f534e running eslint again 2017-02-24 12:47:46 -05:00
Julian Lam
72e77772db Merge branch 'master' into develop 2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
Julian Lam
541f51e947 restrict flags interface so that moderators only see flags from cids they can actually moderate 2017-01-03 13:38:06 -05:00
Julian Lam
ad633aad45 additional tests and proper handling for purged flag targets, #5232 2016-12-19 11:16:03 -05:00
Julian Lam
0927d54c98 ability to filter flags by cid, #5232, more tests 2016-12-14 15:53:57 -05:00
Julian Lam
e6768ab572 some more fixes to flags, simplifying qs manipulation in flags search
re: #5232
2016-12-14 10:03:43 -05:00
Julian Lam
ebc9abd773 upgrade script and graphs for #5232 2016-12-09 14:33:59 -05:00
Julian Lam
31996f9377 added page titles 2016-12-07 15:51:05 -05:00
Julian Lam
5dd892bd01 a bunch of changes here... allowing user profiles to be flagged, #5232 2016-12-07 12:07:22 -05:00
Julian Lam
9f9051026b more work on #5232 2016-12-06 16:11:56 -05:00
Julian Lam
88958049eb added some more filters, and appending event to history on flag creation
issue #5232
2016-12-05 15:33:08 -05:00
Julian Lam
8e1d441e20 Added some quick filters, #5232 2016-12-05 12:40:25 -05:00
Julian Lam
753d4b0275 wrapped up basic functionality of list and detail for flags, filter support. #5232 2016-12-02 15:28:28 -05:00
Julian Lam
c5c2d27180 flag assignees, state, notes WIP, #5232 2016-11-30 20:34:06 -05:00
Julian Lam
9f7c4befea omg tests (#5232), and .create returns flag data now 2016-11-25 15:22:04 -05:00
Julian Lam
98a104564b some light refactoring, details API (#5232) 2016-11-25 14:17:55 -05:00
Julian Lam
640df0379e flag list page (#5232) 2016-11-25 13:28:55 -05:00
barisusakli
b32d7b86e8 fix isModeratorOfAnyCategory
returns true/false now instead of an array
new method getModeratedCids returns an array of moderated cids
2016-10-14 08:56:33 +03:00
Julian Lam
3272c0b98c linting 2016-10-13 16:01:26 -04:00
Julian Lam
e80400665e closes #5111 2016-10-13 13:12:41 -04:00