Commit Graph

35 Commits (8e5a2276afe929fa321574db80b99643e1ad5bb0)

Author SHA1 Message Date
Baris Usakli e71ae80cbc fix: tests
Barış Soner Uşaklı 5353960ae7 fix:
Barış Soner Uşaklı c240733aee fix logs test
Barış Soner Uşaklı 47b2057f20
Barış Soner Uşaklı c30ff42817 test for hooks page
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
Barış Soner Uşaklı 8c9754ecee add test for /admin/settings/user
Barış Soner Uşaklı 77beaf2e15
Allow local login,closes ()
* WIP

* reset groups cache after every suite
Barış Soner Uşaklı 95501e8fee
closes closes ()
* closes  closes 

* fix test, delete keys

* delete all bans on user delete

* fix upgrade script to actually read reason
Ben Lubar 33228bb7fe PostgreSQL database driver ()
* [test/database/list] Fix test list 4 being used in two different tests

* [database/postgres] PostgreSQL database driver

* [database/postgres] Make transactions work based on continuation scope.

* [database/postgres] Implement nested transactions

* eslint --fix

* Add database changes from earlier this week to the PostgreSQL driver.

* Fix typo

* Fix postgres.incrObjectFieldBy returning undefined instead of null when given NaN

* [database/postgres] Fix sortedSetsCard returning an array of strings.

* Update socket.io postgres adapter

* Fix PostgreSQL erroring when multiple updates are made to the same sorted set entry in a single operation.

Add a test case to catch this error.

* Fix lint errors.

* Only prune sessions on one instance in a cluster to avoid deadlocks.

They're caught and handled by the database server, but they spam the logs.

* Fix arguments.slice.
Barış Soner Uşaklı 65dc530df5 some controller tests
Barış Soner Uşaklı 72140e5338 closes , closes
Barış Soner Uşaklı 8446a733e5 closes
Barış Soner Uşaklı e6d31c8bd2 add referer check to /api/admin/users/csv
Baris Usakli a19537dc25 closes
Barış Soner Uşaklı a11058bce2 closes
Barış Soner Uşaklı f161bbf956 Post queue ()
* 

* add user to post queue table

* add time of post into queue

add posting restrictions to queue

* fix shouldQueueLogic for guests

* add test for post-queue route
Barış Soner Uşaklı 3d1b1a9423 closes
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ı b0dd1ad4d7 admin navigation test
Barış Soner Uşaklı b8cc67dfff social tests
Barış Soner Uşaklı 73f31640d7 more tests
Barış Soner Uşaklı bf78786a68 flag controller tests
barisusakli 324e5be7bd privileges tests
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle
barisusakli a0c217446a fix missing semicolon
barisusakli caacae093d fix tests
barisusakli 4b815449f1 closes
barisusakli 38bc8ad5ae maintenance tests
barisusakli 2cc2e7688a more tests
barisusakli 9fe89f590e more admin controller tests
barisusakli a4dfe608e9 ban tests, user/info test
barisusakli 7a8de6169b admin controller tests