Barış Soner Uşaklı
7a2d6fe22d
Merge remote-tracking branch 'refs/remotes/origin/master' into develop
2018-02-02 10:36:25 -05:00
Barış Soner Uşaklı
b084a596fa
closes #6301
2018-02-01 14:33:06 -05:00
Barış Soner Uşaklı
8a6345ded7
possible fix for pubsub
2018-01-22 16:41:22 -05:00
Ben Lubar
e85aabbe74
Allow running as a cluster without Redis ( #6233 )
...
* [database/*] Allow databases other than Redis to provide pubsub for clustering if Redis is not present
* [pubsub] Delay messages sent before the database is ready until the database is ready.
* [pubsub] Restore old behavior of not using the database in non-clustered NodeBB instances.
See comment: https://github.com/NodeBB/NodeBB/pull/6233#issuecomment-357814968
2018-01-18 13:02:56 -05:00
Barış Soner Uşaklı
54a84bf130
cache fixes
2017-11-02 12:56:44 -04:00
Barış Soner Uşaklı
a73c2628c4
cache improvements, stats
2017-10-25 18:20:44 -04:00
Barış Soner Uşaklı
e7318a1cea
Mongo cache ( #6002 )
...
* cache mongodb objects
remove user settings cache since it is cached at the object level
* removed indexOf from isMemberOfSets
* change has to get, change maxAge to 0
2017-10-23 18:31:16 -04:00
barisusakli
92343eb2e1
fix mongo setObject if key/value is empty string
2017-04-14 13:58:32 -04:00
Peter Jaszkowiak
11cb3a9554
ESlint operator-assignment, block-scoped-var
2017-02-18 14:20:58 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
feb8405f95
ESlint eol-last
2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
a038c66549
ESlint quotes
2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
277a7fb8b4
ESlint key-spacing, no-trailing-spaces
2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
5d6e2ad083
multiple test fixes
2016-11-23 17:15:36 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
2016-10-13 11:42:29 +02:00
barisusakli
cd9e2d17a3
fix db.incrObjectFieldBy for mongo
...
convert string to int
2016-09-23 13:42:14 +03:00
barisusakli
d52a0ad87a
closes #4366
2016-03-15 10:53:10 +02:00
barisusakli
e7f87f4ffd
closes #3686
2015-09-28 16:09:43 -04:00
barisusakli
ea818e2af8
closes #3259
2015-06-25 15:15:33 -04:00
Barış Soner Uşaklı
6bd3c54a03
fix findAndModify
...
temp fix for connect-mongo
create admin after categories
2015-03-03 16:16:32 -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
4c62590bc8
closes #2628
2015-01-19 14:13:29 -05:00
barisusakli
4d5ed784a1
more hash tests
...
getObjectValues
isObjectField
deleteObjectField
incrObjectField
2014-12-30 18:41:13 -05:00
barisusakli
9440f8f8cd
#2344
2014-11-01 17:32:56 -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
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
barisusakli
515e663f85
getObjectsFix
...
return empty array if keys is empty or not an array
2014-09-22 21:47:20 -04:00
barisusakli
5f2a66295c
check keys
2014-09-21 13:30:20 -04:00
barisusakli
451c5b40fd
removed debug
2014-09-16 13:10:30 -04:00
psychobunny
0727c2a0bf
forgot winston
2014-09-07 12:12:12 -04:00
barisusakli
fe58ea55d4
moved debugs 1 level up increased key limit to 100
2014-09-06 20:47:20 -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
10b30e303b
mongo posting fix
2014-09-03 19:38:48 -04:00
barisusakli
94d050fd4f
removed helpers.done
2014-09-03 01:13:28 -04:00
barisusakli
b4182f57fe
simplified callback
2014-08-04 13:00:42 -04:00
barisusakli
8dce99250b
final fix for #1884
...
fix mongo functions so they return correct data if duplicate keys are
passed. getObjects(['post:1', 'post:1'], callback) was only returning
one object.
2014-07-24 12:41:22 -04:00
barisusakli
6a1fa82b8b
closes #1402
2014-04-18 13:14:38 -04:00
psychobunny
46b6a93e98
organizing mongo driver
2014-04-11 15:44:53 -04:00