Commit Graph

183 Commits

Author SHA1 Message Date
barisusakli
a13bc64f40 wait for db flush to complete to carry on with other test suites
fixes the problem where tests would sometimes fail due to timing issues
2016-08-12 13:49:41 +03:00
barisusakli
4ca53703e3 added dupe group create test 2016-08-12 13:41:49 +03:00
barisusakli
63f5cd0c79 removed deepStrictEqual 2016-08-12 02:59:19 +03:00
barisusakli
c4eb1c92a8 fix some tests 2016-08-12 02:46:19 +03:00
barisusakli
5d2e5377c5 fix tests 2016-05-18 19:22:26 +03:00
barisusakli
bf2133ed7c topic watching 2016-05-18 19:02:43 +03:00
boomzilla
52e4a37df8 When forking a topic, updates user bookmarks in the topic to keep the last read position (#4554)
from inadvertently being too far down the topic due to post indices decreasing because
some posts were moved to a new topic.
2016-05-04 10:29:43 -04:00
barisusakli
2869b3c068 closes #4354 2016-03-12 17:29:33 +02:00
barisusakli
268aa12cc2 closes #4275 2016-02-29 10:36:31 +02:00
barisusakli
5d9373730a added delete purge test 2016-02-25 18:04:32 +02:00
barisusakli
3567f2ad55 closes #4208 2016-02-25 17:09:38 +02:00
Barış Soner Uşaklı
573840ccbd changed to title raw 2016-02-18 20:26:09 +02:00
barisusakli
4906fbf43a fix tests 2016-02-18 18:46:51 +02:00
barisusakli
2fc385f723 closes #4141, closes #4149 2016-02-18 18:32:16 +02:00
barisusakli
f5a910fea0 remove incorrect test 2016-02-10 12:05:30 +02:00
barisusakli
d4ce9c4f80 add failing test for #4141 2016-02-08 11:55:51 +02:00
Julian Lam
baaad13286 reverted latest change to translator match regex
- Fixes issue with parentheses in translations (closes #4107)
- No longer marking translation keys invalid if they contain HTML,
  as that was probably not performant. Instead, parameters will
  simply be escaped via the StringJS library.
2016-01-27 09:15:26 -05:00
Julian Lam
99315e1c73 updated translator so that language key parameters cannot contain
html in them (or more specifically, < and >)
2016-01-22 12:23:36 -05:00
Julian Lam
2d48faf5df Fixed #4033
Also related to regression first caused by the fix to #3695 from
fcb381f922

Also, added tests for translator. omg.
2016-01-18 15:49:44 -05:00
barisusakli
c7c503f563 added groups.exists([]) test 2015-12-29 11:05:02 +02:00
barisusakli
351bf6c327 fix tests 2015-12-18 13:19:16 +02:00
Barış Soner Uşaklı
84f23fc4f0 groups show/hide test 2015-11-01 15:02:40 -05:00
barisusakli
f4bfcc7351 removed icon:bgColor and icon:text from db calls
calculates from username on the fly
2015-10-29 16:35:53 -04:00
Julian Lam
b52475c270 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/client/account/edit.js
	src/middleware/middleware.js
	src/socket.io/meta.js
	src/socket.io/user/picture.js
	src/user.js
	src/views/admin/manage/group.tpl
2015-10-25 07:33:59 -04:00
barisusakli
d61ac000a8 fix a user test 2015-10-19 11:45:07 -04:00
Julian Lam
4c96f95330 Merge remote-tracking branch 'origin/master' into user-icons
Conflicts:
	public/src/app.js
	public/src/client/account/edit.js
2015-10-07 02:14:03 -04:00
barisusakli
b616e69070 User.exists change 2015-10-02 16:27:14 -04:00
Julian Lam
f6d5b52a8b WIP user-icons 2015-09-27 12:57:21 -04:00
barisusakli
7fc416f18a test fix 2015-06-04 17:14:22 -04:00
barisusakli
0feb11f205 test 2015-06-02 17:12:46 -04:00
Barış Soner Uşaklı
b45fa811b4 renamed .list to .getGroupsFromSet 2015-06-02 16:33:56 -04:00
Barış Soner Uşaklı
0c32aa0c78 fix test expand option removed 2015-05-28 15:16:29 -04:00
Barış Soner Uşaklı
9a236486a9 meh 2015-05-26 16:00:14 -04:00
Barış Soner Uşaklı
82350dc967 fix test 2015-05-26 15:48:27 -04:00
Barış Soner Uşaklı
dfffbace42 fix test callback 2015-05-07 14:15:28 -04:00
Barış Soner Uşaklı
c56b30ff60 convert uid mappings to sorted sets
email:uid, username:uid, userslug:uid, fullname:uid all converted to
sorted sets
prevents hitting mongodb document size limit
2015-05-07 13:43:06 -04:00
Ryan Wilson
ec6c618751 use replicaset if configured
Signed-off-by: Ryan Wilson <syndicated.life@gmail.com>
2015-04-25 08:05:33 -07:00
barisusakli
625a0dcbfa closes #3074 2015-04-20 23:26:02 -04:00
Julian Lam
04f536854c added some tests, fixed user reset tests 2015-04-02 20:27:43 -04:00
barisusakli
ea91518f30 slugs lowercase duh 2015-03-19 23:03:36 -04:00
barisusakli
a51b7257c7 fix group name in tests 2015-03-19 22:46:40 -04:00
barisusakli
8b5643fe90 system and hidden groups cant be renamed 2015-03-19 22:42:16 -04:00
barisusakli
e5bea19f56 renamed groupname 2015-03-19 22:35:24 -04:00
barisusakli
649ef93768 its called foo :dull 2015-03-19 22:21:08 -04:00
barisusakli
e4431f62b2 fix group update text 2015-03-19 22:07:36 -04:00
Barış Soner Uşaklı
00be1e07e3 fix test 2015-03-06 15:21:00 -05:00
Barış Soner Uşaklı
ea9fccbf2a fix -inf +inf
added test for -inf +inf
2015-03-06 15:12:55 -05:00
Barış Soner Uşaklı
fa05971326 derp beforeEach 2015-03-02 16:35:12 -05:00
Barış Soner Uşaklı
0fdaaadae5 changed to before all 2015-03-02 16:28:03 -05:00
psychobunny
eb88d2fbd8 testing docgen again 2015-02-18 16:19:23 -05:00