709 Commits (e8a3d929f120e8d027798516f8863020537a7aaa)

Author SHA1 Message Date
Baris Usakli 7d8fc09226 add test for pubsub 6 years ago
Baris Usakli 28f2144933 remove time out on plugin upgrade test 6 years ago
Baris Usakli a867b77509 add assert message to test 6 years ago
Barış Soner Uşaklı e615391b22 convert values to string before removing 6 years ago
Barış Soner Uşaklı 5c7dd54815
fix zsets and update them on post move, closes #6823 (#6827) 6 years ago
Baris Usakli 5f49a1d82c disable timeout on build templates 6 years ago
Baris Usakli 9ed4239d8e small changes and test for user/:slug/categories 6 years ago
Barış Soner Uşaklı b58ab48485 add test for /sessions controller 6 years ago
Barış Soner Uşaklı a7c4c59121 change to series 6 years ago
Barış Soner Uşaklı 1bea247748 add username/email to user-delete event 6 years ago
Barış Soner Uşaklı f77091d1ed change user delete so it returns quickly 6 years ago
Barış Soner Uşaklı 805da98a36 remove unnecessary groups.resetCache calls 6 years ago
Barış Soner Uşaklı 061b279c48 Merge branch 'master' of https://github.com/NodeBB/NodeBB 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ı 2bd02a7ae1 disable timeout on plugin installs 6 years ago
Barış Soner Uşaklı 944972c6f2 change to series 6 years ago
Barış Soner Uşaklı 18d0deeccb
update deprecated methods (#6794) 6 years ago
Barış Soner Uşaklı 1cb2e1e368 remove console.log switch to series 6 years ago
Barış Soner Uşaklı f618ba8e1e add private category test for unread tids 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
Barış Soner Uşaklı 59b988a205 change test so it checks url 6 years ago
Barış Soner Uşaklı b7ead6dc9c
Replace jimp with sharp (#6774)
* add probe image size and max image size

* replace jimp and image-probe with sharp

* better name for test

* resize with just path

* resize thumb inplace

* use filename
6 years ago
Barış Soner Uşaklı ea1697d073 remove console.log 6 years ago
Barış Soner Uşaklı 25fed0aa8d change isPasswordCorrect to return false if user does not have password 6 years ago
Barış Soner Uşaklı 2a2e8136cd
fix tests 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ı fa499aef18 closes #6680 7 years ago
Baris Usakli 546b13b897 fix lint and tests 7 years ago
Barış Soner Uşaklı c7d6cacd98 closes #6658 7 years ago
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)
7 years ago
Barış Soner Uşaklı 3449cf321b add back cache and pubsub 7 years ago
Barış Soner Uşaklı ae0563375e derp 7 years ago
Baris Usakli 584f88e092 blocks WIP 7 years ago
Baris Usakli be1e83bfc1 fix tests 7 years ago
Barış Soner Uşaklı 82b2a20d0c user tests 7 years ago
Barış Soner Uşaklı ccad95cf73 closes #6579 7 years ago
Barış Soner Uşaklı 2fd2accf8c add tests for top topics
fix popular page displaying 18 topics per page
7 years ago
Barış Soner Uşaklı 4684ab3bf6 suggest topic test 7 years ago
Barış Soner Uşaklı c3fc4a06bf test sortedSetUnion with scores 7 years ago
Julian Lam 8d41e319ea fixed tests 7 years ago
Julian Lam 8e832abf1e additional tests for post diffs privilege checking 7 years ago
Julian Lam 510dd268cc fix tests 7 years ago
Barış Soner Uşaklı 14f6e74bad closes #6556 7 years ago
Barış Soner Uşaklı a7267df404 closes #6464 7 years ago
Barış Soner Uşaklı 4504bbae52 2 diff test 7 years ago
Barış Soner Uşaklı 229e49cf8f closes #6523, closes #6524 7 years ago
Barış Soner Uşaklı 65dc530df5 some controller tests 7 years ago
Barış Soner Uşaklı d977934c66 adjust username test 7 years ago
Barış Soner Uşaklı 8e8058ec6e closes #6497 7 years ago
Julian Lam 445b92ae38 Revert "fix some tests"
This reverts commit 2551df80f7.
7 years ago
Barış Soner Uşaklı cdc3ef09e9 closes #6481 7 years ago
Julian Lam 2551df80f7 fix some tests 7 years ago
Barış Soner Uşaklı 9132743870 #6481 7 years ago
Julian Lam 5dc25a3c00 Merge remote-tracking branch 'origin/master' into chat-kick-support 7 years ago
Julian Lam a08572b800 kick support for chats, #6479 7 years ago
Barış Soner Uşaklı beadcd7857 fix tests, remove dupe exposeUid 7 years ago
Julian Lam dc386b5b23 Merge branch 'master' into user-blocking 7 years ago
Julian Lam a0643b63df uncommenting tests again 7 years ago
Julian Lam 8db98b5cf4 additional UCP integration for #6463 7 years ago
Barış Soner Uşaklı bc18b489e6 fix group test 7 years ago
Barış Soner Uşaklı 9ae5946e7a Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam 3951bb9532 Merge remote-tracking branch 'origin/master' into user-blocking 7 years ago
Barış Soner Uşaklı 505e511e4d fix tests 7 years ago
Julian Lam 322d8236d2 added test for User.blocks.is, re: #6463 7 years ago
Julian Lam 032ec8b443 tests!!! glorious tests!!!
re: #6463
7 years ago
Julian Lam 1f1e055509 updated post association code to only associate files that exist, closes #6455 7 years ago
Julian Lam 0f13ae3c87 added isOrphan method, #6455 7 years ago
Julian Lam 2e125293e6 save reverse association of md5 of upload to pid, #6455 7 years ago
Julian Lam 850f59a1ae additional functionality, integration, and testing for #6455 7 years ago
Julian Lam 5943389b7a tests for #6455 7 years ago
Julian Lam 6088c37f5a Revert "fixing tests"
Turns out baris already fixed them

This reverts commit 3bc0266aa4.
7 years ago
Julian Lam 3bc0266aa4 fixing tests 7 years ago
Barış Soner Uşaklı ed289ebeab two more text fixes 7 years ago
Julian Lam 65c8457898 fixing tests that broke due to gdpr requirement 7 years ago
Barış Soner Uşaklı 04979f86a8 delete users uploads on account delete
store uid:<uid>:uploads
7 years ago
Barış Soner Uşaklı 0070f5c1b2 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam 0158b1aa91 Various password logic fixes on client and server-side
Fixes #6399
Fixes #6400
7 years ago
Barış Soner Uşaklı ae0f1847ae allow multiple origins for access-control-allow-origin header
add access-control-allow-credentials header to acp
7 years ago
Julian Lam bf2e905ced fixed tests, closes #6371 7 years ago
Peter Jaszkowiak eaae5b52cd ACP quick actions (#6374)
* ACP quick actions

- Moved restart, build & restart, and logout into separate buttons
- Moved buttons on mobile into the side menu
- Added version and upgrade alert to header / mobile menu
- Moved version checking to server-side with a cache for rate limiting
- Changed "reload" translations to "rebuild and restart"

* Change info alert to black-on-white to match focused search bar

* Fix tests

* Fallback for failed fetch of latest version
7 years ago
Barış Soner Uşaklı fde44cb9b9 pass array to groups.destroy
pass array to db.sortedSetRemove
7 years ago
Barış Soner Uşaklı be5c237388 fix decr/incrObjectField if key in array doesn't exist create it 7 years ago
Barış Soner Uşaklı 6a9a73c86c changes to leaveAllGroups
Groups.destroy can take an array of groupnames
Groups.leave can take an array of groupnames
db.incrObjectField/decrObjectField can take an array of keys
db.sortedSetRemove can take an array of keys and values
db.setRemove can take an array of keys
7 years ago
Barış Soner Uşaklı 7221b71b68 add test for srem with multi elements 7 years ago
Baris Usakli 959a742c63 add llen to dbal 7 years ago
Julian Lam 9ea6dbc0e7 fix flag tests 7 years ago
Barış Soner Uşaklı bce640e514 closes #6340 7 years ago
Julian Lam c93f943bef Merge branch 'develop' 7 years ago
Barış Soner Uşaklı e1c6761087 closes #6258 7 years ago
Barış Soner Uşaklı 7b45a6ea8b Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Julian Lam 0d65cec3d0 fixing tests 7 years ago
Baris Usakli 9b78b95c47 fix tests 7 years ago
Julian Lam 1ce448f2a1 Merge remote-tracking branch 'origin/master' into develop 7 years ago
Barış Soner Uşaklı 15e9bbac92 closes #6311 7 years ago
Barış Soner Uşaklı 723f31a362 closes #6323 7 years ago
Baris Usakli e99d4a5c61 closes #6313 7 years ago
Baris Usakli ecc2b9560d parseInt data.hidden add tests 7 years ago
Barış Soner Uşaklı 7a2d6fe22d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago
Barış Soner Uşaklı b084a596fa closes #6301 7 years ago
Barış Soner Uşaklı 155e20d216 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 7 years ago