Commit Graph

371 Commits (3dd282b7b9497e0a52f70d2ed29515623bbd420f)

Author SHA1 Message Date
barisusakli 988c485874 post tools test
barisusakli a0c217446a fix missing semicolon
barisusakli caacae093d fix tests
barisusakli f8d958e065 rooms.getAll test
barisusakli 1fed01fe43 ability to filter search by tags
Julian Lam 76bcc1c327 Merge branch 'flagging-refactor' into develop
Julian Lam 07ac7dce84 minor tweaks to test to be redis-compatible
Julian Lam 5e52cfdf86 removed one more old flag test for
Julian Lam 47c9c93693 removed old flagging tests
Julian Lam ad633aad45 additional tests and proper handling for purged flag targets,
Julian Lam 7b471b76db fixing tests for
Barış Soner Uşaklı 4ff3d06f90 escape labelColor, icon, cover:position, validate toPid
barisusakli 009da723c5 meta.configs tests
barisusakli 975141bc9b more tag tests
barisusakli 835669805a tag tests
barisusakli 3bd1c6c2b5 notification tests
barisusakli 55b68197aa closes
Julian Lam 0927d54c98 ability to filter flags by cid, , more tests
Julian Lam ebffc44600 fix tests,
Julian Lam 380ebf67ee oops, uncommenting all the other tests for flags
Julian Lam 831c2064a0 For , added tests and returning flag data on socket flag creation
Julian Lam 451c2838d0 Merge remote-tracking branch 'origin/master' into flagging-refactor
Barış Soner Uşaklı 1f52048866 Merge pull request from Fusselwurm/patch-2
ZSET scores are float: parseInt => parseFloat
Julian Lam e227f5842a Merge remote-tracking branch 'origin/master' into flagging-refactor
Moritz Schmidt ec5d13188b sneakily adjust database/sorted tests to include float scores
Peter Jaszkowiak bb5fe0cc83 Escape arguments in `Translator.compile`
Peter Jaszkowiak a81aad61ab Add tests for translator static methods
Peter Jaszkowiak 375af7ad53 Restructure and rename translator tests
Peter Jaszkowiak 7c697759e9 Escape and ignore `%` and `\,` in translator args
barisusakli 1c6cee207f meta/settings test
Julian Lam dc508fa0cb Merge remote-tracking branch 'origin/master' into flagging-refactor
barisusakli 0b9829850c closes
Julian Lam 5d63c0aa3b Merge remote-tracking branch 'origin/master' into flagging-refactor
Julian Lam 5dd892bd01 a bunch of changes here... allowing user profiles to be flagged,
barisusakli 74b9f1a016 closes
Julian Lam 57fcb92bbc added a smattering of tests for
psychobunny 6b7b51eaf0 Merge pull request from pitaj/master
ACP search updated to support translations
Peter Jaszkowiak 9fd64549a3 Use async instead of Promises
Julian Lam b7217e8841 Merge remote-tracking branch 'origin/master' into flagging-refactor
barisusakli cbd6853ccb notif controller test
barisusakli 8691256a67 fix post move test
barisusakli 7d47f4b067 tag tests
Julian Lam dde3d2b135 Merge remote-tracking branch 'origin/master' into flagging-refactor
Julian Lam 33ff5e09bb updated revoke session middleware to allow self or admin or global mod invocation, tweaked tests a bit
barisusakli aad9a39f02 move post test
barisusakli 55416911f7 category tests
barisusakli 69b766bbc8 more tests
barisusakli 1440139903 more tests
barisusakli 091f459f5e search socket test
barisusakli 4b6e4f085d more tests
group cover upload tests
registration approval queue tests
Julian Lam c36fe3389e Merge remote-tracking branch 'origin/master' into flagging-refactor
Peter Jaszkowiak 5223bb5191 Merge branch 'master' of github.com:nodebb/nodebb
barisusakli 7f90e31a38 more socket user tests
barisusakli c3980d0c2e follow tests
Julian Lam c5b9c1e2a4 Merge remote-tracking branch 'origin/master' into flagging-refactor
Julian Lam e9ff605a20 some more tests for
barisusakli 9ba93d8be9 group search tests
barisusakli ea007e2da4 closes
barisusakli 02aadf79b5 account/posts controller tests
barisusakli a4ebb7f56e test plugin static assets
Julian Lam 0bf82c0e47 Merge branch 'master' into flagging-refactor
Peter Jaszkowiak de6ced4e07 Tests for admin search, simplifications
barisusakli 49267d54b7 topics unread tests
barisusakli 2f92ce1527 check deps on test
barisusakli dff4ee767c more group tests
Julian Lam 9f7c4befea omg tests (), and .create returns flag data now
barisusakli c33d3e874a store pinned topics in new zset
keep pinned topics on top on different sort types
barisusakli d4638ffc15 fix test dont turn single pages into ...
barisusakli b807915515 removed incorrect markread nid
barisusakli 4b815449f1 closes
Peter Jaszkowiak c5237443cd Standard language codes ()
* Use standard language codes. Fallback for plugins.

* Fix transifex config

* Tab vs space here for some reason

* Remove redundancies

* config.relative_path instead of allcaps

* added upgrade script for existing users' accounts
barisusakli 5d6e2ad083 multiple test fixes
barisusakli f754c8b7df digest test
barisusakli 60b3db7b34 dont use hardcoded uid
barisusakli d2fa0c3e6a vote socket tests
barisusakli 1658ebbe20 categories update test
barisusakli ce2d702117 account group page test
barisusakli 86deeaaf39 more group tests
barisusakli cecb4c0403 some more group tests
barisusakli 4d86262812 use global mod user for flag tests
barisusakli 584cfd09ef suggested topics test
barisusakli 0794e395d5 fix test
barisusakli 38bc8ad5ae maintenance tests
barisusakli 0a245a8868 tag controller test
barisusakli db14c29e41 socket.io/categories tests
barisusakli 9796f54580 analytics tests, reduce bcrypt rouds for tests
barisusakli e3616ab0f9 socket/meta test
barisusakli 5e7fb4eeb2 widget tests
barisusakli 50a2a7abbe plugins/install tests
barisusakli 2a97e5478f fix pushGroups test
barisusakli e86db04631 run build step before tests
move build to its own file
barisusakli f1a933210b notifications.pushGroups
barisusakli f2e4d9ce53 change flag tests so they use socket methods as well
barisusakli 7a0a77d0fa revoke session tests
barisusakli 3380f61985 more tests
barisusakli ee75c69817 post edit tests
Ben Lubar e151916f1a
Fix followed topic notifications going to the last unread post
Regression introduced in 1b34ebe230.

Bug originally reported in .
barisusakli a3bff8d320 another test for user profile
barisusakli 8449f3428e user/userslug/settings test
barisusakli ecef0c6ad5 more user tests
barisusakli fda535a351 more chat tests
barisusakli d23966c534 more tests
barisusakli bbb968922d fix test
barisusakli 3ec760ac85 inf scroll tests for topics
barisusakli 2cc2e7688a more tests
Ben Lubar 2185d8eb99 Ban UI fixes ()
- Permanent bans assigned by global moderators no longer expire immediately
  (does not apply retroactively)
- Bans with no reason given no longer have "undefined" as their reason
  (applies retroactively)
- 0 is now a selectable value for "ban duration, select 0 for permanent"
barisusakli eca850c4b1 nested reply improvements
on new post increase count and add nested reply if replies are expanded
on post purge reduce count and remove nested reply
barisusakli 64a662ce50 some upload tests
barisusakli 9fe89f590e more admin controller tests
barisusakli 980e3fc7f7 topic tests, pin/lock/move
barisusakli a4dfe608e9 ban tests, user/info test
barisusakli d5ec36f45a socket.io topic.post/reply tests
barisusakli 7a8de6169b admin controller tests
barisusakli 9db50a3eda fix getReplies test
Barış Soner Uşaklı 0c08e44a34 Merge pull request from BenLubar/replies-to-post
Add a sorted set for replies-to-this-post
yariplus 179b66d74a flag tests
Ben Lubar 661bdc8311
add test for posts.getReplies
Peter Jaszkowiak 2824ce5587 Translator modules ()
* Translator modules

* Fix language not being passed on creation

* fix test failures
barisusakli 777914b762 more api tests
barisusakli 687cce6089 closes
barisusakli 2d10490ca3 more plugin tests
barisusakli fb83967a6d more route tests
barisusakli c5d2dbb90f increase timeout for password test
barisusakli c4772300f2 more utils tests
barisusakli f56251d718 test feeds
barisusakli d8a9df74d7 fix wrong error returns, more tests
barisusakli 553ee7dcdd more chat tests
Sergii Paryzhskyi e515b791da Fix eslint rules ()
* Fix semi linter rule

* Fix semi-spacing linter rule

* Fix no-undef-init linter rule

* Fix space-before-blocks linter rule
barisusakli c8b5c181ff fix flag on redis
check if number is returned on tests
barisusakli 0d90279463 chat controller test
barisusakli f0f3a86908 closes
write more messaging tests
barisusakli 9131f9d8f6 controller tests
Barış Soner Uşaklı c512a02c83 Merge pull request from yariplus/lexistuff
Add additional lexical dbal operations.
yariplus af2122bdb9 fix lex tests maybe
barisusakli cec3b650c3 category route test
barisusakli f683a1fe62 added categories to search test
barisusakli 4a0f67afdc search tests
new method emptydb
use emptydb instead of flushdb, flushdb  removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
yariplus e8823eab33 add db lexical tests
barisusakli ba17f98c70 getPostSummaryByPids test
barisusakli 52a0430603 cleanup console.logs
barisusakli 13719fccfe testing on nodev6
barisusakli 1a63672e66 more test fixes
barisusakli 15d948894d fix typo
barisusakli 292055d322 show test db info before test
barisusakli d1fb4909ba one more try catch for node5/6
barisusakli 4a8b3dcd4c fix eslint errors
barisusakli 817cd29f00 try require from root
barisusakli 12f366f4b4 more tests
register/login/logout tests
ability to test socket.io emits for logged in users
barisusakli b8a3ca98cb added callback to webserver.listen
wait for webserver to be ready to run tests
added topic restore test
added test to load topic via controller
barisusakli ae9b5654d3 set isPrimary and isCluster
barisusakli e462fadd94 init express/webserver for tests
barisusakli 4847c9fb81 test for post.delete/restore/purge
barisusakli e9a3acdac5 db.info test
barisusakli bfcef27c47 plugin tests
barisusakli 85ca547423 update pagination test so it covers separators as well
barisusakli 1694876475 added test for pagination
barisusakli acc7e160ef write test for cleanUpTag
barisusakli dd077117a2 refactor user.updateProfile and write test
Peter Jaszkowiak f519a36560 Fix , translator now accepts keys with `/` ()
Julian Lam 3272c0b98c linting
Julian Lam 45e412ed7c Merge branch 'master' of github.com:NodeBB/NodeBB
barisusakli afaaa8ab88 add failing test case for
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule
HeeL 3fa1c1f927 Fix space-infix-ops linter rule
Peter Jaszkowiak 2ce33ba2b0 Fix , translator made more safe ()
barisusakli 59fb7d7eef failing tests for
barisusakli 6c634b0689 fix tabs
barisusakli 038418bf87 batch.processArray
use batch.processArray in notifications.push and moveRecentReplies
added notification tests
added test for moveRecentReplies
clear group cache if a group is deleted
barisusakli 6f86621e30 closes
barisusakli 76e0c6eb9c up timeout, password tests were failing
HeeL 4c6a75d85c Rename tests folder to test to follow standards