567 Commits (c7f95ccecc837b8e6c302303e569ed429fd0d7b4)

Author SHA1 Message Date
Baris Usakli 8d319e4280 fix: psql error 6 years ago
Baris Usakli 2e6b562f1e fix: try to fix psql 🐶 6 years ago
Baris Usakli 31ccc860d3 feat: allow multiple scores in sortedSetsAdd 6 years ago
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
6 years ago
Barış Soner Uşaklı 2c98dd5f9d
Object cache refactor (#7558)
* fix: cache refactor

db.getObjectField no longer loads entire object
db.getObjectsFields only clones data once
more tests

* feat: add back cache to redis

db.getObjectField no longer loads entire object
6 years ago
Barış Soner Uşaklı 4df925e76a fix: remove redis object cache 6 years ago
Baris Usakli 45d7e37ae8 fix: tests 6 years ago
Baris Usakli b48b6d75e5 fix: callbacks 6 years ago
Baris Usakli 7addc5a0e2 fix: return early if keys is empty 6 years ago
Baris Usakli b3962c1694 fix: return early if keys is empty 6 years ago
Barış Soner Uşaklı 5917dec288
fix: only allow numbers as scores (#7356)
* zadd score checks

* fix: only allow numbers as scores

* fix: convert values to strings
6 years ago
Barış Soner Uşaklı 2e2c3ac110 fix: #7352 6 years ago
Barış Soner Uşaklı fab52b840c fix: prevent crash if results.stats or results.serverStatus is undefined 6 years ago
Barış Soner Uşaklı a22a3a9861 fix: log error to prevent headers already sent
retry on uniq index fail
6 years ago
Peter Jaszkowiak e1ca2d81f9 refactor: use loash when possible (#7230) 6 years ago
Barış Soner Uşaklı 3917022a48 fix: #7139 6 years ago
Barış Soner Uşaklı fef7e13c9e feat: small fixes 6 years ago
Barış Soner Uşaklı d2c2d56f59 feat: change sortedSetsScore 6 years ago
Barış Soner Uşaklı 29b63ae7fb fix: #6979 6 years ago
Barış Soner Uşaklı 00afc5b3ab fix: remove log 6 years ago
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
6 years ago
Barış Soner Uşaklı d117df77f7 fix: #7102 6 years ago
Barış Soner Uşaklı 85a07e999b fix: #7102 6 years ago
Barış Soner Uşaklı 263c918088
feat: remove uid:<uid>:ignored:cids (#7099)
use cid:<cid>:ignorers instead
6 years ago
Barış Soner Uşaklı 26ccd8f626 fix: db info page
if there is no connection to db, connect first
6 years ago
Baris Usakli e65d40c937 dont return undefined from sortedSetsCard if keys is empty or falsy 6 years ago
Baris Usakli 420227faae parseFloat scores 6 years ago
Barış Soner Uşaklı 6330d51446 less derpy output 7 years ago
Barış Soner Uşaklı ed1bf9a16f add more info to advanced db page 7 years ago
Barış Soner Uşaklı 53ad2bbd6e
Categories optimize (#6999)
* WIP

* fix category page

* fix counts, and copyPrivileges

* fix lint

* more fixes,

* redis fix

* fix test

* fix  category test

* remove getParentsAndChildren
7 years ago
Barış Soner Uşaklı 0524fd9caa
closes #6996 (#6997)
* closes #6996

* fix lint
7 years ago
Baris Usakli 7b9a2caec3 closes #6994 7 years ago
Barış Soner Uşaklı 1c981e638b rename query name 7 years ago
Barış Soner Uşaklı ca1e3a758b #6986 7 years ago
Barış Soner Uşaklı 48690a01b9 dont need to call multi if keys.length is 0 7 years ago
Barış Soner Uşaklı 07f83c5078 fix redis tests 7 years ago
Barış Soner Uşaklı f8e219c323 handle empty set, add test 7 years ago
Barış Soner Uşaklı 75816deca7
add cache to redis (#6917)
* add cache to redis

move out cache module from mongo

* fix redis tests

* add callback noop

* fix typo

* del cache on field delete

* make redis/mongo caches separate
7 years ago
Barış Soner Uşaklı 0de60cfdca fix mongodb tests 7 years ago
Barış Soner Uşaklı 8ca36ad122 closes #6890 7 years ago
Barış Soner Uşaklı 7aa937a657 remove dupe code in mongodb sorted 7 years ago
Barış Soner Uşaklı c27be9db5a
Recent refactor (#6879)
* wip

* fix inf scroll

* remove duplicated code

* remove dupe code in /unread

* use topicList

* update tag page to use topicList

* fix tests

* combine ifs

* remove more dupe code

* disable timeout
7 years ago
Baris Usakli 51792da430 dont crash if there is nothing to write 7 years ago
Barış Soner Uşaklı fb6067a7ca only parse if field is requested 7 years ago
Baris Usakli 138154a71c move modules 7 years ago
Barış Soner Uşaklı b2b33ffa57 topics data refactor 7 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
7 years ago
Barış Soner Uşaklı 986511e718 try with higher timeout 7 years ago
Barış Soner Uşaklı 1d15dc089b revert isCluster 7 years ago
Barış Soner Uşaklı 0aebb9caf8 closes #6844 7 years ago