barisusakli
c7128bcc98
part 1 of search change
2015-03-14 23:00:24 -04:00
barisusakli
ec8fc8b97b
dont do anything if id is falsy
...
added callback
2015-03-14 16:30:06 -04:00
Barış Soner Uşaklı
ea9fccbf2a
fix -inf +inf
...
added test for -inf +inf
2015-03-06 15:12:55 -05:00
psychobunny
b0628c2df8
missing semi-colons in database/
2015-02-25 19:27:13 -05:00
Barış Soner Uşaklı
52aa7d27e8
#2761
2015-02-24 11:58:09 -05:00
Barış Soner Uşaklı
9de0c0cdd4
closes #2761
2015-02-24 11:55:16 -05:00
barisusakli
d577371a51
fix test
2015-02-18 07:41:35 -05:00
barisusakli
0dca86f255
fix tests
2015-02-18 07:36:49 -05:00
barisusakli
3bcd8aefb0
deleteObjectFields method
...
cleaned up user reset
2015-02-17 22:22:06 -05:00
barisusakli
c379753341
upgrade scripts
...
upgrade groups to sorted set(groups:createtime) upgrade
upgrade groups:<name>:members to sorted set
new database methods
tests
2015-01-21 22:48:27 -05:00
barisusakli
4c62590bc8
closes #2628
2015-01-19 14:13:29 -05:00
barisusakli
fbd875b397
fix sortedSetIncrBy return
2014-12-31 16:38:57 -05:00
barisusakli
0a534b20e3
sortedSetCount fix for +inf/-inf
2014-12-31 16:09:33 -05:00
barisusakli
03ee524121
fix tests and mongo method
2014-12-31 15:59:57 -05:00
barisusakli
00541b2bc8
sortedSetRange tests
2014-12-31 14:41:58 -05:00
barisusakli
4d5ed784a1
more hash tests
...
getObjectValues
isObjectField
deleteObjectField
incrObjectField
2014-12-30 18:41:13 -05:00
barisusakli
c62e7ed641
list test fix
2014-12-29 17:27:42 -05:00
barisusakli
3e8c29e5f9
list tests
2014-12-29 16:20:35 -05:00
barisusakli
7cf3719c80
fix rename and increment
2014-12-25 03:08:49 -05:00
barisusakli
410d9fa4fa
fix more tests
2014-12-25 03:00:05 -05:00
barisusakli
2f8e6a1f2b
closes #2458
2014-12-21 16:29:32 -05:00
barisusakli
984b17349a
closes #2476
2014-12-20 17:26:39 -05:00
barisusakli
81e4bcd358
fix rename to multi
2014-11-18 15:50:32 -05:00
barisusakli
671ec8532c
fix unfavourite
2014-11-17 23:32:39 -05:00
barisusakli
0a44d3f5e0
moved updateCategoryField out, db.delete only sends back err
2014-11-15 22:41:45 -05:00
barisusakli
c56b9aafff
closes #2289 , replace Infinity with '+inf'
2014-11-07 19:40:41 -05:00
barisusakli
9440f8f8cd
#2344
2014-11-01 17:32:56 -04:00
barisusakli
1fe82ee452
added 2 new methods to dbal
...
getSortedSetRangeWithScores
getSortedSetRangeByScoreWithScores
2014-10-31 17:19:55 -04:00
barisusakli
1b80e6dbb2
fix email update on mongo
2014-10-21 14:17:30 -04:00
barisusakli
fec84821b7
removed this wasn't the problem after all
2014-10-16 20:03:22 -04:00
barisusakli
df590d01e6
set key as well
...
not sure if this fixes dupe keys
2014-10-16 02:02:16 -04:00
barisusakli
9e8be432b3
notification changes
...
-only send a notification when the person you follow creates a topic
-you still get a notification per post if you are following a topic
-changed notifications.push so that it sends the notifications over a
period of time, currently to 50 users per second
-optimized topics.notifyFollowers and
user.notifications.sendTopicNotification, they no longer query the
database for the topic and post data instead they get it as params
-you can no longer follow yourself :)
-changed mongo sortedSetRemove so that it doesn't use $in if there is
only a single value to remove
2014-10-15 21:55:31 -04:00
barisusakli
b65c17c5bc
parseInt score
2014-10-14 20:56:52 -04:00
barisusakli
e699c02b65
get less data
2014-10-12 23:46:58 -04:00
barisusakli
10ead05d4b
another unused require
2014-10-12 18:04:16 -04:00
barisusakli
8cc1cc0f1b
removed unused require
2014-10-12 18:02:28 -04:00
barisusakli
1eb95a71ae
no need for $in
2014-10-12 17:40:59 -04:00
barisusakli
feed33f6e2
closes #2100
2014-10-10 22:53:01 -04:00
barisusakli
035c32df66
dont need to pass value on upserts
2014-10-10 19:21:47 -04:00
psychobunny
f149fb0191
linting, TIL that obj.$key is valid syntax
2014-10-08 12:22:39 -04:00
barisusakli
33780e6fdb
closes #2133
2014-10-03 14:14:41 -04:00
barisusakli
73d358edc5
faster getTeasers
...
got rid of getPostIndices
2014-10-03 13:43:51 -04:00
barisusakli
c72c876b04
check value
2014-10-02 18:57:21 -04:00
barisusakli
31db0d78b1
return empty array instead of undefined
2014-09-30 18:27:23 -04:00
barisusakli
3865fd3ab9
fixes crash is sets is empty
2014-09-30 16:10:26 -04:00
barisusakli
34106aa209
fix fields
2014-09-27 17:46:39 -04:00
barisusakli
5fc760c6c4
unread changes
2014-09-27 17:41:49 -04:00
barisusakli
9d25772b53
added sortedSetIncrBy
2014-09-27 15:48:16 -04:00
barisusakli
c5c97c784a
optimize getPostIndices
...
only use 1 set when its in a topic
2014-09-26 22:19:26 -04:00
barisusakli
515e663f85
getObjectsFix
...
return empty array if keys is empty or not an array
2014-09-22 21:47:20 -04:00