41 Commits (d2888d1d1fe9bdfea83219def0d9b7d3ac6545d1)

Author SHA1 Message Date
Barış Soner Uşaklı d2888d1d1f
Category tags (#8938)
* feat: wip category tags

* fix: tag search

* feat: remove debug

* fix: returns of searchTags and autocomplete

* fix: alpha sort

* fix: redis

* fix: delete zsets on category purge, fix another test

* fix: test
4 years ago
Julian Lam 6e2da9966e refactor: move plugin hook methods to plugin.hooks.* 4 years ago
Barış Soner Uşaklı 658dd03b03
feat: add tools to recent/unread (#8477)
* feat: add tools to recent/unread

* fix: open api spec

* fix: more api spec
5 years ago
Barış Soner Uşaklı fcf3e0770b feat: #7743 categories 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ı 78fa734017 feat: cache category tag whitelist 6 years ago
Barış Soner Uşaklı 00a066985a cache categories:cid and cid:<cid>:children
these rarely change, no need to go to db for them
7 years ago
Barış Soner Uşaklı c738dc7d3e remove some more parseInts 7 years ago
Barış Soner Uşaklı fde44cb9b9 pass array to groups.destroy
pass array to db.sortedSetRemove
7 years ago
Barış Soner Uşaklı e0dc47f883 closes #5779 8 years ago
Barış Soner Uşaklı 3a1eba2537 merge 8 years ago
Barış Soner Uşaklı 0b3656f34c fix timeouts on category.purge when there are 20k groups 8 years ago
Julian Lam ddea9f534e running eslint again 8 years ago
Julian Lam 72e77772db Merge branch 'master' into develop 8 years ago
Peter Jaszkowiak 896c8c7343 ESlint object-curly-spacing 8 years ago
Peter Jaszkowiak 3b0dd2d1ef ESlint padded-blocks 8 years ago
Peter Jaszkowiak feb8405f95 ESlint eol-last 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
barisusakli 3fb7f9fce5 closes #5398 8 years ago
barisusakli 0b9829850c closes #5273 9 years ago
barisusakli c33d3e874a store pinned topics in new zset
keep pinned topics on top on different sort types
9 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 9 years ago
barisusakli fa9f1ac7fe fix dependency errors 9 years ago
barisusakli 56c4e13316 another dependency fix and test 9 years ago
barisusakli 73e21d1d31 closes #4720 9 years ago
barisusakli bf2133ed7c topic watching 9 years ago
barisusakli ebcd892aee closes #4259 9 years ago
barisusakli a054353b6c category purge fix 10 years ago
barisusakli f9c8b1acf8 if a parent category is deleted add its children to root 10 years ago
barisusakli 8af64ba984 closes #3626 10 years ago
barisusakli a0cd4b49f5 when a category is deleted, set the children's parent to 0 10 years ago
barisusakli 5b87af4389 closes #3447
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
10 years ago
barisusakli dff1a04585 more category hooks 10 years ago
barisusakli f5b448c300 closes #2623 10 years ago
barisusakli a77a761433 closes #1917 10 years ago
barisusakli 1ae39d638a closes #2356 11 years ago
barisusakli c4a39c8163 use processSortedSet instead of getting all users 11 years ago
barisusakli 6a64a3ab92 check err 11 years ago
barisusakli b48d81310c #2095 11 years ago
barisusakli a4d4e53f45 speed up category purge
using eachLimit
dont emit stats on every topic delete
11 years ago
barisusakli 4fa79dc821 closes #1281
category purge, deletes all topics and posts in the category
11 years ago