barisusakli
cd9e2d17a3
fix db.incrObjectFieldBy for mongo
...
convert string to int
2016-09-23 13:42:14 +03:00
barisusakli
990ecc8cd2
sortedSetIntersectionCard
2016-09-16 13:01:11 +03:00
barisusakli
fac68d52f6
cache group membership methods
...
groups.isMember
groups.isMembers
groups.isMemberOfGroups
clear cache for user on group.join & group.leave
2016-09-14 21:00:41 +03:00
Peter Jaszkowiak
59ed13b581
Rewrite translator for efficiency and clarity ( #5013 )
...
* Rewrite translator for efficiency and clarity
* Fixed failing tests
* Gorram tabs
* Move cache to Translator class, simplify creation
* Documentation and linting
* Use new translator API where it makes sense
* Revert 499fbe21fd (except translator.d.ts)
* promise polyfill for node<4
* Set `load` on the prototype
* Comment on Translator#translate
* Delete translator.d.ts
* Support translations added by plugins
2016-09-12 15:52:50 -04:00
Julian Lam
ef6e72c246
added test for plugin-included translations, /cc @pitaj
2016-09-12 11:23:19 -04:00
barisusakli
e1263f1057
sortedSetUnionCard
2016-09-09 13:19:14 +03:00
barisusakli
eabb745116
change union to match intersect
...
accept aggregate and withscores
2016-09-08 17:59:59 +03:00
barisusakli
56c4e13316
another dependency fix and test
2016-08-26 19:33:16 +03:00
Mathias Schreck
ce9ee62fa0
Handle callback errors
2016-08-17 12:54:59 +02:00
barisusakli
4af631666a
closes #4955
2016-08-17 12:12:07 +03:00
barisusakli
f77d9053ad
closes #4795
2016-08-16 19:52:22 +03:00
barisusakli
6022fd984a
closes #4945
2016-08-15 19:23:15 +03:00
barisusakli
c58e23db58
fix tests
2016-08-14 19:12:33 +03:00
barisusakli
28331389a6
added getTopicWithPosts test
2016-08-13 01:20:19 +03:00
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