barisusakli
39cac43b96
if key isn't found dont error
...
Conflicts:
src/database/redis/main.js
2015-01-29 19:40:51 -05:00
barisusakli
bd8a77a22b
dont crash if callback isnt passed in
2015-01-22 16:23:38 -05:00
barisusakli
2c45dc6450
redis helpers
2015-01-22 16:21:36 -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
96c27d29f4
dont crash if callback isn't supplied
2015-01-19 20:49:24 -05:00
barisusakli
4c62590bc8
closes #2628
2015-01-19 14:13:29 -05:00
Julian Lam
eb5b8ccec3
better check for group exist, groups with different cases can no longer be created, #2588
2015-01-19 10:46:14 -05:00
barisusakli
f67053df52
figure out pathname, dont crash if callback isnt supplied
2015-01-17 15:06:12 -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
1cbf5ddfe9
only send back err on redis.deleteAll
2014-12-25 03:14:04 -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
bf54859a27
key tests
2014-12-25 01:53:28 -05:00
barisusakli
37235557bb
fix callback in redis.setRemove
2014-12-24 15:52:37 -05:00
barisusakli
00fb3ab909
only send back error for sortedSetsRemove
2014-12-24 01:54:04 -05:00
barisusakli
cd41e192d1
closes #2546
2014-12-23 15:03:31 -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
c0c85c24cf
duh strings dont work
2014-12-14 22:34:53 -05:00
barisusakli
7cbaa90d36
update to socket.io 1.2.1, return_buffers option
2014-11-24 13:44:59 -05:00
barisusakli
73fb653ddf
emit works
2014-11-20 19:02:29 -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
1d2d69fa45
use helpers, redis crash fix
2014-11-15 23:44:34 -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
0bb0424998
bubble error
2014-10-30 22:19:11 -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
90224d2de3
removed unique for now
2014-10-15 15:25:51 -04:00
barisusakli
f2883c2c9f
createIndex helper
2014-10-15 15:11:01 -04:00
barisusakli
1be6a253bf
make _key value index unique
2014-10-15 15:07:30 -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
b42e57bfdd
removing leveldb from our dbal
...
a) It isn't being maintained, especially not by me
b) I haven't seen anybody actually interested in this db software so
there's no real point in supporting it unless we have a few people who
are interested
If you ARE interested though - please contact me and we can figure
something out in future :)
2014-10-09 00:33:09 -04:00