Commit Graph

26 Commits (5b8bb3e4266ddde8a123d01e03f4c09d2b51e6e1)

Author SHA1 Message Date
Barış Soner Uşaklı 3c32d8600f
fix: No new posts ()
* feat: debug no-new-posts

* feat: add test for user delete

* fix: timeout for flag test

* feat: shorter
Julian Lam 289dada5f7 fix(deps): update to eslint@6
Barış Soner Uşaklı 81aa3a0b8a fix: don't crash in flags.validate if user blocked target
Barış Soner Uşaklı 805da98a36 remove unnecessary groups.resetCache calls
Julian Lam 9ea6dbc0e7 fix flag tests
Barış Soner Uşaklı 72140e5338 closes , closes
Barış Soner Uşaklı 0316f51cdb show values if test fails
Barış Soner Uşaklı 3dd83237b8 add some debug for failed tests
Julian Lam 1247b4b53b linting
Peter Jaszkowiak b171f3072b Fix many "duplicate key" errors
- Reset defaults after every test
- Remove individual `after(db.emptydb)` calls
- Fix async.every in groups test
- Update plugin list in socket tests
Barış Soner Uşaklı bf78786a68 flag controller tests
Julian Lam 6e7b505ea7 more linting
Julian Lam ddea9f534e running eslint again
Julian Lam 10f270d016 adding byPid zset for flags
Julian Lam 541f51e947 restrict flags interface so that moderators only see flags from cids they can actually moderate
Julian Lam 07ac7dce84 minor tweaks to test to be redis-compatible
Julian Lam ad633aad45 additional tests and proper handling for purged flag targets,
Julian Lam 7b471b76db fixing tests for
Julian Lam 0927d54c98 ability to filter flags by cid, , more tests
Julian Lam ebffc44600 fix tests,
Julian Lam 380ebf67ee oops, uncommenting all the other tests for flags
Julian Lam 831c2064a0 For , added tests and returning flag data on socket flag creation
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged,
Julian Lam 57fcb92bbc added a smattering of tests for
Julian Lam e9ff605a20 some more tests for
Julian Lam 9f7c4befea omg tests (), and .create returns flag data now