Commit Graph

7638 Commits

Author SHA1 Message Date
barisusakli
9131f9d8f6 controller tests 2016-10-18 15:32:34 +03:00
Barış Soner Uşaklı
c512a02c83 Merge pull request #5124 from yariplus/lexistuff
Add additional lexical dbal operations.
2016-10-18 12:17:02 +03:00
yariplus
af2122bdb9 fix lex tests maybe 2016-10-17 18:08:56 -04:00
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
2016-10-17 23:34:14 +03:00
yariplus
472dd007d8 fix mongo lex callback 2016-10-17 15:24:35 -04:00
barisusakli
cd71eb909d closes #5125 2016-10-17 20:13:05 +03:00
barisusakli
5cd2da4309 Merge branch 'master' of https://github.com/NodeBB/NodeBB 2016-10-17 19:01:42 +03:00
barisusakli
c972a339e6 fix value 2016-10-17 19:01:11 +03:00
barisusakli
862678eefe encodeURIComponent header values 2016-10-17 18:58:25 +03:00
Julian Lam
4ceb8914e9 adding email sent tally to digest output 2016-10-17 10:05:22 -04:00
Barış Soner Uşaklı
54a24f8dbd Merge pull request #5122 from yariplus/patch-14
Add oldTitle to topic edit hook
2016-10-17 11:17:59 +03:00
yariplus
be3b35dea3 fix callbacks and regex 2016-10-16 23:07:22 -04:00
yariplus
1bb44e2429 Allow lex min and max to be inclusive or exclusive. 2016-10-16 21:50:13 -04:00
yariplus
437d2744cc addl lex commands for mongo 2016-10-16 20:37:48 -04:00
yariplus
ef20757f3e zremrangebylex, zlexcount 2016-10-16 18:45:54 -04:00
barisusakli
1a63672e66 more test fixes 2016-10-16 21:51:42 +03:00
yariplus
1fc5e5d0d3 getSortedSetRevRangeByLex 2016-10-16 14:48:29 -04:00
Timothy Fike
cfa5974515 Add oldTitle to topic edit hook 2016-10-16 12:14:54 -04:00
barisusakli
817cd29f00 try require from root 2016-10-16 17:36:24 +03:00
barisusakli
12f366f4b4 more tests
register/login/logout tests
ability to test socket.io emits for logged in users
2016-10-16 16:43:42 +03:00
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
2016-10-16 06:55:12 +03:00
barisusakli
e462fadd94 init express/webserver for tests 2016-10-16 06:03:09 +03:00
barisusakli
6d97c4cec8 up mongo deps, create session store after db.authenticate 2016-10-14 22:18:28 +03:00
barisusakli
bfcef27c47 plugin tests 2016-10-14 21:48:38 +03:00
barisusakli
c0db7798b9 fix tests :dull: 2016-10-14 13:37:58 +03:00
barisusakli
235fe9efe3 fix chat modal title 2016-10-14 13:22:30 +03:00
barisusakli
3270f39db0 closes #5118 2016-10-14 12:54:54 +03:00
barisusakli
dd077117a2 refactor user.updateProfile and write test 2016-10-14 11:51:33 +03:00
barisusakli
139360ce18 if chat is restricted dont allow adding to room 2016-10-14 09:20:51 +03:00
barisusakli
b32d7b86e8 fix isModeratorOfAnyCategory
returns true/false now instead of an array
new method getModeratedCids returns an array of moderated cids
2016-10-14 08:56:33 +03:00
Julian Lam
3272c0b98c linting 2016-10-13 16:01:26 -04:00
Julian Lam
7ba76fc0b6 showing assignee avatar in flags list 2016-10-13 15:38:10 -04:00
Julian Lam
ead4de6c6f Merge branch 'fix-some-code-lint' of https://github.com/HeeL/NodeBB into HeeL-fix-some-code-lint 2016-10-13 14:43:28 -04:00
Julian Lam
eb16eb318e exposing links to moderator tools pages in user logged-in dropdown, closes #5113 2016-10-13 14:13:48 -04:00
Julian Lam
e80400665e closes #5111 2016-10-13 13:12:41 -04:00
barisusakli
5f16205d15 closes #5109 2016-10-13 13:20:45 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927 Fix space-infix-ops linter rule 2016-10-13 11:42:29 +02:00
HeeL
9a0d764bbd Fix wrap-iife linter rule 2016-10-13 11:40:10 +02:00
barisusakli
caf30b5580 use post 2016-10-12 22:22:15 +03:00
barisusakli
460ac17eaa closes #4647
addm upvotes, downvotes and votes to getPostSummary
2016-10-12 22:20:06 +03:00
barisusakli
2eec1afc46 fix upgrade script so it only runs once 2016-10-12 20:16:30 +03:00
Julian Lam
4f159acf56 fixes #5104 2016-10-12 10:10:19 -04:00
barisusakli
58810aa063 only delete priv groups if they are empty 2016-10-12 16:45:37 +03:00
barisusakli
59d035376b closes #5025 2016-10-12 14:46:04 +03:00
barisusakli
eb174739ee closes #5101 2016-10-12 11:53:25 +03:00
barisusakli
dd7839b7f5 add admin next to username 2016-10-11 23:23:03 +03:00
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
2016-10-11 16:06:47 +03:00
Barış Soner Uşaklı
5dbcd9cf3f pass string to validator 2016-10-10 18:56:21 +03:00
barisusakli
848065c820 remove empty fields from new posts 2016-10-08 19:25:10 +03:00