Commit Graph

179 Commits (237a44cae39653c2a225c3009c46d951c6280ac0)

Author SHA1 Message Date
barisusakli 4603484558 user.delete test
barisusakli c6ae6fae54 fix typo in test
barisusakli c379753341 upgrade scripts
upgrade groups to sorted set(groups:createtime) upgrade
upgrade groups:<name>:members to sorted set
new database methods
tests
Julian Lam fd8a885145 fixed tests by removing the broken one, heh heh heh
Julian Lam 81c929fa77 added a new test for group renaming,
Julian Lam c0622743d2 closes
barisusakli 4c62590bc8 closes
barisusakli 61f069a071 final test fixes
copy pasta is bad
barisusakli d94668216d misc test fixes
barisusakli 4554ef2195 more test fixes
barisusakli 15d2f54cd0 fix list tests
barisusakli 46fd1843ba fix key tests
barisusakli 162a7b9e0c cleanup hash tests before hooks
barisusakli 584daf12a0 cleaned up key tests
barisusakli 74099d1d8c proper set tests with before hooks
barisusakli 6b5b0b9eec proper list tests, added before hooks
Julian Lam 1c497f842a fixes travis,
barisusakli 02dbce57fb relative path fix missing ;
barisusakli 1f674f10e2 added before to hash test
barisusakli a77a761433 closes
psychobunny 64468a6f16 more linting
psychobunny 357de92624 tests/database linting
psychobunny f3a113d318 jslinting on holiday ftw
barisusakli ff770e3656 search test
barisusakli faf4163a6e more test fixes
barisusakli 861a3ca8a8 more test fixes
barisusakli 0a534b20e3 sortedSetCount fix for +inf/-inf
barisusakli 03ee524121 fix tests and mongo method
barisusakli b443aec450 rest of the sorted set tests
barisusakli 1f0902bbe8 fix range tests
barisusakli 00541b2bc8 sortedSetRange tests
barisusakli 0ff37f9e0e sorted set tests
barisusakli ee820341d5 fix incrObjectFieldBy test
barisusakli 74a3977d42 decrObjectField, incrObjectFieldBy tests
barisusakli e6244c547a fix isObjectField test
barisusakli 9af3007f3d fix copy paste fails
barisusakli 4d5ed784a1 more hash tests
getObjectValues
isObjectField
deleteObjectField
incrObjectField
barisusakli 13cd2e41bb fix assert
barisusakli ebbb1bac26 more hash tests
getObjectField
getObjectFields
getObjectsFields
getObjectKeys
barisusakli 81b32fc095 missing comma
barisusakli a6c75eea88 hash tests
barisusakli 1e6f5d822d setRemove tests
barisusakli adae2bd13e fix copy paste fail
barisusakli 818182bc00 setCount setsCount tests
barisusakli 4590fe6155 isMemberOfSets test
barisusakli a529c3b179 fix typo
barisusakli 7f933bc747 more set tests
barisusakli 3efc49dd72 set tests
barisusakli def5d23744 missing done
barisusakli 633cef6dd7 listTrim fix
barisusakli c62e7ed641 list test fix
barisusakli 9750a36dee fix get range
barisusakli 3e8c29e5f9 list tests
barisusakli 410d9fa4fa fix more tests
barisusakli b6639403fe fix set test
barisusakli f4d1fbc4e3 fix mock require
barisusakli 102819426c require key tests
barisusakli bf54859a27 key tests
psychobunny 6a47aacdfd forgot description
psychobunny 6a9145d90e some basic moderator tests
barisusakli ae1d226218 fix group test
Julian Lam c120f5c2c6 travis CI again
barisusakli 48ee8c1370 check err in tests
barisusakli fc0dce429b topic.reply checks with invalid parameters
barisusakli 834ca016ec topics.reply test
barisusakli 964d531582 fix test really
barisusakli 385e034a23 fix tests
barisusakli 4e23fe7c3a more topic post tests
barisusakli 3029b19be6 fix test
barisusakli fa5ac04cd3 src/topics.js cleanup
Julian Lam a12907512f refactored a bunch of methods so that you can pass in an author argument in querystring to see posts by just that author,
Julian Lam 9a8fa35d8d flushing db after every test group that touches the db
Julian Lam b91d39a0d3 almost everything for
Julian Lam 28f87cc776 added tests for messaging method .canMessage
Julian Lam a992638ef3 removed level from testmock error msg
psychobunny 396fecb94a removing an old comment
psychobunny 9b17ec9f26 updating database mock for core templates
psychobunny bd4ab2a24c moving database mock into tests folder
barisusakli 84d0e64361 fix topic move
barisusakli 3829019bfa removed optional params
Julian Lam 7afe3bea59 added getSortedSetRevUnion... just because.
Julian Lam 6e597a9cdb fixed tests, and added getSortedSetUnion method to redis db, added test for new redis method
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
barisusakli 828fd6b978 fixed sortedSetRevRangeByScore test
psychobunny 136542f8dd Merge remote-tracking branch 'origin/master' into LevelDB
Conflicts:
	tests/database.js
psychobunny 4892fc81a2 added to database tests
barisusakli 9d405812cb changed sortedSetRangeByScore
Micheil Smith 3e82cab398 Add missing new lines at end of files.
psychobunny 129019777f move work on LevelDB
psychobunny e79284e75f LevelDB init
barisusakli a345302454 really fixed test
barisusakli b731d6af3b fixed topic test
Julian Lam d1a64798b9 removing use of slugs in groups... pending having more time
Julian Lam 49a686af78 fixing groups tests
barisusakli 7a6f7d3e49 fixed 2 tests
Julian Lam 1cc15a71d6 resolved
Julian Lam 6afd0fd9de added two failing tests for
Julian Lam 14b9c03199 First pass at - Groups.search() + Tests
Julian Lam 4701eb1cee updating groups so that members leave a group when it is deleted
Julian Lam 4206c17da3 rounding out tests for groups