Commit Graph

238 Commits

Author SHA1 Message Date
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
Julian Lam
20819e3dfd Revert "use redis session storage instead of connect-mongo"
This reverts commit 056f89d6cf.
2014-09-23 17:18:43 -04:00
Julian Lam
f41be4ae8b exposed redis' "connect" method, so socket.io can call it from outside database/redis.js, fixed NodeBB requiring Redis as a socket.io store. It will now go back to using in-memory store per process, if no redis config is found in the NodeBB configuration. re: #2097 2014-09-23 17:09:46 -04:00
barisusakli
b1f492dec3 fix redis bulk zadd 2014-09-23 17:07:22 -04:00
barisusakli
515e663f85 getObjectsFix
return empty array if keys is empty or not an array
2014-09-22 21:47:20 -04:00
barisusakli
c640e01969 show stack 2014-09-21 22:07:08 -04:00
barisusakli
5f2a66295c check keys 2014-09-21 13:30:20 -04:00
barisusakli
7d93926ef7 removed async.map 2014-09-20 23:04:49 -04:00
barisusakli
e2707353e9 dont return unnecessary data 2014-09-20 16:05:57 -04:00
barisusakli
59120df71c bulk fix 2014-09-19 18:59:11 -04:00
barisusakli
1bad2f79ee show megabyte values 2014-09-18 22:24:14 -04:00
barisusakli
4b80bbb9c4 optimized user.delete 2014-09-16 22:25:12 -04:00
barisusakli
451c5b40fd removed debug 2014-09-16 13:10:30 -04:00
barisusakli
0a936e5dd1 unreadTids 2014-09-16 12:38:31 -04:00
barisusakli
31eccb8e7f configurable post delay before first post 2014-09-15 17:01:20 -04:00
barisusakli
b3d9db10f2 notification fixes
made post notifications unique per post so they dont overwrite other
types.
2014-09-14 12:07:27 -04:00
barisusakli
35a903f9c8 closes #2074
when new notifications are pushed to uids clear their old notifications.
2014-09-14 12:07:26 -04:00
barisusakli
493d0dea1e part 1 of notif refactor 2014-09-14 12:07:23 -04:00
barisusakli
01f983e29c markAsRead improvement
takes in an array of tids instead of marking topics read 1 by 1
same for the category.markAsRead function
2014-09-10 21:44:19 -04:00
barisusakli
5222edb624 sortedSetsAdd
using mullti/bulk for redis/mongo
lets you add a score/value pair to multiple sorted sets at once
2014-09-08 16:13:48 -04:00
barisusakli
ec32a3d243 mising reuqire 2014-09-07 12:16:01 -04:00
psychobunny
0727c2a0bf forgot winston 2014-09-07 12:12:12 -04:00
barisusakli
2252ab7479 notifications.prune
run every hour
dont get more than 500 notifications
2014-09-07 03:17:51 -04:00
barisusakli
fe58ea55d4 moved debugs 1 level up increased key limit to 100 2014-09-06 20:47:20 -04:00
barisusakli
3f4ede0778 parseInt 2014-09-06 04:11:44 -04:00
barisusakli
017f6bde2c 50 2014-09-06 02:45:38 -04:00
psychobunny
056f89d6cf use redis session storage instead of connect-mongo 2014-09-06 02:22:23 -04:00
barisusakli
e2697030ec removed reuqire 2014-09-06 01:10:46 -04:00
barisusakli
a48e95b910 check keys 2014-09-06 01:04:20 -04:00
barisusakli
c62f251afc added index and fixed vote button in infinite scroll 2014-09-04 01:48:57 -04:00
barisusakli
45afe2e831 cast return to bool 2014-09-04 00:20:50 -04:00