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
psychobunny
f149fb0191
linting, TIL that obj.$key is valid syntax
2014-10-08 12:22:39 -04:00
barisusakli
5db24fbe68
closes #2175
2014-10-03 16:31:53 -04:00
barisusakli
740c336480
typo
2014-10-03 15:16:04 -04:00
barisusakli
dba20160ce
check length
2014-10-03 15:15:38 -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
Julian Lam
4c70a0da4f
removing postgres file from databases/
2014-10-02 18:54:20 -04:00
Julian Lam
24ac7ba316
better templating and styling for #2099
2014-10-02 18:26:43 -04:00
Julian Lam
f082849126
removing console.log
2014-09-30 23:59:28 -04:00
Julian Lam
43db2289c2
moving db selection into db.connect, where it should be
2014-09-30 23:57:03 -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
Julian Lam
625247611b
closed #1959
2014-09-29 12:13:20 -04:00
barisusakli
e8dc9fed3c
remove unnecessary index
...
the _key:1 score:-1 index already handles reverse sorting on score
2014-09-29 00:20:54 -04:00
barisusakli
212e15b2c2
fixin redis zrevrangebyscore to return value score
2014-09-27 18:35:11 -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
176023d712
read poolsize from config
2014-09-27 13:27:03 -04:00
barisusakli
c5f9a8a111
increase poolSize to 10 from default 5
2014-09-27 01:20:42 -04:00
barisusakli
c5c97c784a
optimize getPostIndices
...
only use 1 set when its in a topic
2014-09-26 22:19:26 -04:00
Julian Lam
3554887f10
back to using redis.auth
2014-09-25 17:13:09 -04:00
Julian Lam
5a36c33fac
fixed #2142 -- passing in cached (pre-required) redis module into socket.io so it uses the same redis module... why? who bloody knows.
2014-09-25 11:56:33 -04:00
Julian Lam
ecea917d11
closed #2097 -- NodeBB will prefer using Redis as session store if at all possible
2014-09-23 17:18:44 -04:00