Commit Graph

51 Commits

Author SHA1 Message Date
Julian Lam
932b3f06a5 closes #5797 2017-07-04 10:09:41 -04:00
Julian Lam
f4fb9ee04b adding filter hooks for flag list and retrieval 2017-06-16 10:58:21 -04:00
Peter Jaszkowiak
3c2d4fe649 Switch from underscore to lodash 2017-05-27 14:51:45 -06:00
Barış Soner Uşaklı
8e31ec7199 closes #5705 2017-05-26 23:30:23 -04:00
Barış Soner Uşaklı
3d1b1a9423 closes #5706 2017-05-26 23:21:46 -04:00
Barış Soner Uşaklı
8920523e06 more tests 2017-05-13 21:45:54 -04:00
Julian Lam
71137dbf43 pass reputation to flag reporter payload as well 2017-05-10 11:21:30 -04:00
Barış Soner Uşaklı
5a9b7b673a closes #5659 2017-05-09 14:16:21 -04:00
Barış Soner Uşaklı
5c005bbbdf use bind 2017-04-05 15:18:27 -04:00
Barış Soner Uşaklı
1b6d96dde7 on post flag increment zset 2017-04-05 14:59:50 -04:00
Julian Lam
f2653cd380 broader error handling for empty notif creation return 2017-03-23 14:35:29 -04:00
Julian Lam
c805d55b85 creating notification for flag assignment 2017-03-17 13:16:16 -04:00
barisusakli
5a2ff8ed0a closes #5527 2017-03-14 23:03:09 +03: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
10f270d016 adding byPid zset for flags 2017-01-12 11:31:59 -05:00
Julian Lam
bef3da5b48 pass flagId into flag.update hook 2017-01-12 10:09:47 -05:00
Julian Lam
6c04e393b5 fire hooks for flag update 2017-01-12 10:03:50 -05: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
283ae564f2 removing incorrect parseInt 2016-12-19 12:52:47 -05:00
Julian Lam
babafde726 once more for good measure! 2016-12-19 12:40:33 -05:00
Julian Lam
2ea63f3d42 how much fun is it to fix tests when stack traces don't work? lots. :shipit: 2016-12-19 12:13:36 -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
ebffc44600 fix tests, #5232 2016-12-14 15:00:41 -05:00
Julian Lam
831c2064a0 For #5232, added tests and returning flag data on socket flag creation 2016-12-13 12:11:51 -05:00
Julian Lam
0196997099 fixing issues as found by @barisusakli
re: #5232 and #5282
2016-12-13 09:36:50 -05:00
Julian Lam
ebc9abd773 upgrade script and graphs for #5232 2016-12-09 14:33:59 -05:00
Julian Lam
6533fa066d removed unneeded fixes #5232 2016-12-07 15:42:47 -05:00
Julian Lam
e40eb75f8f change history saving to append an object not a serialised array, #5232 2016-12-07 15:33:30 -05:00
Julian Lam
a5fb4825b4 deprecating old hook for #5232 2016-12-07 13:06:55 -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
9129597811 #5232 some tweaks to flag history saving 2016-12-02 12:51:39 -05:00
Julian Lam
169defd194 #5232, update flag history to save new value 2016-12-02 12:34:58 -05:00
Julian Lam
0724bee6c6 removed deprecated dismiss methods 2016-12-02 12:10:19 -05:00
Julian Lam
20fa8ebf76 simplified flags.get a tad 2016-12-02 11:24:12 -05:00
Julian Lam
f1d144f15e history appending, finished up notes, #5232 2016-12-01 16:22:10 -05:00
Julian Lam
d9d60c20bd flag updating and note appending, #5232 2016-12-01 11:42:06 -05:00
Julian Lam
888c120e08 removed some unneeded methods for #5232 2016-12-01 09:43:39 -05:00
Julian Lam
e9ff605a20 some more tests for #5232 2016-12-01 09:24:49 -05:00
Julian Lam
c5c2d27180 flag assignees, state, notes WIP, #5232 2016-11-30 20:34:06 -05:00
Julian Lam
fceb5cc86b more work on flags detail pages (#5232) 2016-11-29 22:10:51 -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
Julian Lam
106502952a fixed crash in flags page for now 2016-11-25 13:28:55 -05:00