Commit Graph

634 Commits (18a875c51da50988c4f27a3e4634a0787a394e64)

Author SHA1 Message Date
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ı fa499aef18 closes
Baris Usakli 546b13b897 fix lint and tests
Barış Soner Uşaklı c7d6cacd98 closes
Peter Jaszkowiak 04d31fe1d4 Precompile all templates
- Benchpress compilation is 33x faster now
- Native module with JS fallback and pre-built binaries
- Dev template build is <1sec now
- Minified template build is ~5sec (uglify accounts for almost all)
Barış Soner Uşaklı 3449cf321b add back cache and pubsub
Barış Soner Uşaklı ae0563375e derp
Baris Usakli 584f88e092 blocks WIP
Baris Usakli be1e83bfc1 fix tests
Barış Soner Uşaklı 82b2a20d0c user tests
Barış Soner Uşaklı ccad95cf73 closes
Barış Soner Uşaklı 2fd2accf8c add tests for top topics
fix popular page displaying 18 topics per page
Barış Soner Uşaklı 4684ab3bf6 suggest topic test
Barış Soner Uşaklı c3fc4a06bf test sortedSetUnion with scores
Julian Lam 8d41e319ea fixed tests
Julian Lam 8e832abf1e additional tests for post diffs privilege checking
Julian Lam 510dd268cc fix tests
Barış Soner Uşaklı 14f6e74bad closes
Barış Soner Uşaklı a7267df404 closes
Barış Soner Uşaklı 4504bbae52 2 diff test
Barış Soner Uşaklı 229e49cf8f closes , closes
Barış Soner Uşaklı 65dc530df5 some controller tests
Barış Soner Uşaklı d977934c66 adjust username test
Barış Soner Uşaklı 8e8058ec6e closes
Julian Lam 445b92ae38 Revert "fix some tests"
This reverts commit 2551df80f7.
Barış Soner Uşaklı cdc3ef09e9 closes
Julian Lam 2551df80f7 fix some tests
Barış Soner Uşaklı 9132743870
Julian Lam 5dc25a3c00 Merge remote-tracking branch 'origin/master' into chat-kick-support
Julian Lam a08572b800 kick support for chats,
Barış Soner Uşaklı beadcd7857 fix tests, remove dupe exposeUid
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking
Julian Lam a0643b63df uncommenting tests again
Julian Lam 8db98b5cf4 additional UCP integration for
Barış Soner Uşaklı bc18b489e6 fix group test
Barış Soner Uşaklı 9ae5946e7a Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Julian Lam 3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking
Barış Soner Uşaklı 505e511e4d fix tests
Julian Lam 322d8236d2 added test for User.blocks.is, re:
Julian Lam 032ec8b443 tests!!! glorious tests!!!
re: 
Julian Lam 1f1e055509 updated post association code to only associate files that exist, closes
Julian Lam 0f13ae3c87 added isOrphan method,
Julian Lam 2e125293e6 save reverse association of md5 of upload to pid,
Julian Lam 850f59a1ae additional functionality, integration, and testing for
Julian Lam 5943389b7a tests for
Julian Lam 6088c37f5a Revert "fixing tests"
Turns out baris already fixed them

This reverts commit 3bc0266aa4.
Julian Lam 3bc0266aa4 fixing tests
Barış Soner Uşaklı ed289ebeab two more text fixes
Julian Lam 65c8457898 fixing tests that broke due to gdpr requirement
Barış Soner Uşaklı 04979f86a8 delete users uploads on account delete
store uid:<uid>:uploads