31 Commits (973b5fcfe0be9906ea354bcabe1ff4f840ae35eb)

Author SHA1 Message Date
Barış Soner Uşaklı c30ff42817 test for hooks page 6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Barış Soner Uşaklı 8c9754ecee add test for /admin/settings/user 6 years ago
Barış Soner Uşaklı 77beaf2e15
Allow local login,closes #6800 (#6803)
* WIP

* reset groups cache after every suite
6 years ago
Barış Soner Uşaklı 95501e8fee
closes #6738 closes #6290 (#6785)
* closes #6738 closes #6290

* fix test, delete keys

* delete all bans on user delete

* fix upgrade script to actually read reason
6 years ago
Ben Lubar 33228bb7fe PostgreSQL database driver (#5861)
* [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.
7 years ago
Barış Soner Uşaklı 65dc530df5 some controller tests 7 years ago
Barış Soner Uşaklı 72140e5338 closes #5991, closes #5884 7 years ago
Barış Soner Uşaklı 8446a733e5 closes #5569 7 years ago
Barış Soner Uşaklı e6d31c8bd2 add referer check to /api/admin/users/csv 7 years ago
Baris Usakli a19537dc25 closes #6137 7 years ago
Barış Soner Uşaklı a11058bce2 closes #6004 7 years ago
Barış Soner Uşaklı f161bbf956 Post queue (#5878)
* #5876

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