Barış Soner Uşaklı
a39f0ef592
fix : #5570 , create per category user post zsets
2019-06-24 15:21:43 -04:00
Barış Soner Uşaklı
3780a58ffb
feat: shorter setsCard
2019-06-22 23:43:17 -04:00
Barış Soner Uşaklı
4d9bc30d1f
feat: async3 upgrade ( #7639 )
...
* feat: async3 upgrade WIP
* fix: async.doWhilst
* fix: async early exit
* fix: psql doUntil
* fix: psql again
2019-05-30 14:36:33 -04:00
Barış Soner Uşaklı
fef7e13c9e
feat: small fixes
2018-12-17 18:56:09 -05:00
Barış Soner Uşaklı
d2c2d56f59
feat: change sortedSetsScore
2018-12-15 00:57:51 -05:00
Barış Soner Uşaklı
00afc5b3ab
fix: remove log
2018-12-14 16:36:07 -05:00
Barış Soner Uşaklı
eb7ae54f81
Category watch state ( #7109 )
...
* feat: wip, category watch change
* feat: pass data to client
* feat: allow changing state
* fix: account page categories
* fix: show in unread if topic is followed or category is watched
* feat: add default watch state to acp
* feat: save user category watch state
* feat: update unread recent pages
* fix: remove dupe code
* fix: flip conditions
* fix: handle empty arrays
* fix: ignore/watch on others profile
* feat: upgrade script for category states
if there are any users ignoring categories set their state in new zset and delete cid:<cid>:ignorers
* fix: upgrade
* fix: tests
* fix: redis count
* fix: more tests
2018-12-14 16:24:17 -05:00
Barış Soner Uşaklı
85a07e999b
fix : #7102
2018-12-12 13:46:13 -05:00
Barış Soner Uşaklı
263c918088
feat: remove uid:<uid>:ignored:cids ( #7099 )
...
use cid:<cid>:ignorers instead
2018-12-12 11:15:34 -05:00
Baris Usakli
e65d40c937
dont return undefined from sortedSetsCard if keys is empty or falsy
2018-12-07 16:50:35 -05:00
Barış Soner Uşaklı
48690a01b9
dont need to call multi if keys.length is 0
2018-11-21 17:24:38 -05:00
Barış Soner Uşaklı
f8e219c323
handle empty set, add test
2018-11-11 15:39:17 -05:00
Barış Soner Uşaklı
7aa937a657
remove dupe code in mongodb sorted
2018-10-28 16:20:38 -04:00
Barış Soner Uşaklı
18d0deeccb
update deprecated methods ( #6794 )
2018-09-26 15:02:57 -04:00
Barış Soner Uşaklı
fe80186ddf
add withscores
2018-06-22 16:28:22 -04:00
Barış Soner Uşaklı
3b5d6951bb
closes #6499
2018-05-10 16:31:16 -04:00
Barış Soner Uşaklı
6a9a73c86c
changes to leaveAllGroups
...
Groups.destroy can take an array of groupnames
Groups.leave can take an array of groupnames
db.incrObjectField/decrObjectField can take an array of keys
db.sortedSetRemove can take an array of keys and values
db.setRemove can take an array of keys
2018-03-17 18:49:38 -04:00
Ben Lubar
5b1ed21634
[database/mongo] Improve speed of sortedSetRank ( #6229 )
...
* [database/mongo] Improve speed of sortedSetRank
* [database/mongo] Fix sortedSetRank to filter by _key
2018-01-12 13:32:07 -05:00
Barış Soner Uşaklı
8e04e86e24
closes #5912
2017-12-07 20:43:07 -05:00
Baris Usakli
30ae0a5499
another process.nextTick
2017-11-15 13:06:23 -05:00
Baris Usakli
e187a0def2
fix method name
2017-11-15 11:50:44 -05:00
Baris Usakli
12546cb9ad
break up sync operation
2017-11-15 11:35:25 -05:00
Baris Usakli
d469f53eba
using async in batch
...
removed unused code in debug
2017-07-06 12:08:01 -04:00
Barış Soner Uşaklı
3d85992757
modify db.processSortedSet so it works with intervals
2017-06-23 18:18:34 -04:00
barisusakli
7ce6c1d0ad
closes #5571
2017-04-13 16:36:02 -04:00
Peter Jaszkowiak
1ed571189c
Make utils and translator easier to require
...
Move utils.walk to file.walk, backwards compatible
2017-04-08 20:27:52 -06:00
Peter Jaszkowiak
c18808fdeb
ESlint no-useless-concat, no-mixed-spaces-and-tabs
2017-02-18 14:42:15 -07:00
Peter Jaszkowiak
c4bdb72941
ESlint no-unneeded-ternary
...
and no-extend-native, no-sequences
2017-02-18 12:59:46 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
1493afee2a
ESlint indent
2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef
ESlint padded-blocks
2017-02-18 02:32:24 -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
2e031f3759
ESlint comma-spacing
2017-02-18 01:31:47 -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
2ba46808a1
ESlint one-var, fix comma-dangle
2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
b71ab64cf4
organize dbal sorted code
2016-12-23 14:12:07 +03:00
Moritz Schmidt
c8393d6f87
mongo: set scores as float instead of int
2016-12-11 15:58:57 +01:00
Barış Soner Uşaklı
c512a02c83
Merge pull request #5124 from yariplus/lexistuff
...
Add additional lexical dbal operations.
2016-10-18 12:17:02 +03:00
yariplus
af2122bdb9
fix lex tests maybe
2016-10-17 18:08:56 -04:00
yariplus
472dd007d8
fix mongo lex callback
2016-10-17 15:24:35 -04:00
yariplus
be3b35dea3
fix callbacks and regex
2016-10-16 23:07:22 -04:00
yariplus
1bb44e2429
Allow lex min and max to be inclusive or exclusive.
2016-10-16 21:50:13 -04:00
yariplus
437d2744cc
addl lex commands for mongo
2016-10-16 20:37:48 -04:00
barisusakli
1a63672e66
more test fixes
2016-10-16 21:51:42 +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
Barış Soner Uşaklı
be07772a91
check for e11000
2016-09-28 23:19:25 +03:00