68 Commits (f05c1dae69ddf83098f48d3f17a79cee55eca3b1)

Author SHA1 Message Date
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ı f581c052ee feat: #7023
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
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
6 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
6 years ago
Barış Soner Uşaklı 728e7bdae9 remove more parseInts 6 years ago
Barış Soner Uşaklı 26d4e0852f use includes instead of indexOf
use _.uniq instead of filter&indexOf
6 years ago
Baris Usakli baf91089a6 remove unused methods 6 years ago
Baris Usakli 6dc84deca9 allow admins mods to watch/ignore categories for other users 6 years ago
André Zanghelini 523a2dc54c Add settings page to control watched categories (#6648)
* Add settings page to control watched categories

* Fix passing undefined to pushUnreadCount
6 years ago
Baris Usakli 037a0e5239 closes #5742
also fix reverse infinite scroll when sorting is changed
8 years ago
Baris Usakli d13eb52f39 closes #5722 8 years ago
Barış Soner Uşaklı f6ac92111b style changes 8 years ago
Peter Jaszkowiak 11cb3a9554 ESlint operator-assignment, block-scoped-var 8 years ago
Peter Jaszkowiak a0a50677da ESlint n-loop-func, yoda 8 years ago
Peter Jaszkowiak 604358ecc4 ESlint keyword-spacing, no-multi-spaces 8 years ago
Peter Jaszkowiak bc1d70c126 ESlint comma-dangle 8 years ago
barisusakli db14c29e41 socket.io/categories tests 8 years ago
HeeL 4a3c31b2dc Fix space-before-function-paren linter rule 8 years ago
barisusakli 958fe3e72f closes #3762 9 years ago
barisusakli 7afd2925af get sort setting from config 9 years ago
Ben Lubar 862fd1a94a
ignore/watch categories recursively 9 years ago
barisusakli 795b00a3af closes #4810 9 years ago
barisusakli 8d9f7d8e19 added socket methods 9 years ago
barisusakli 1a87767c2c removed extra isAdminOrMod check 9 years ago
barisusakli 4440865ec4 support for array in getTopicIds 9 years ago
barisusakli cf889b70bd closes #3982 9 years ago
barisusakli 1ecf27417a removed commented out stuff removed topics.enter 9 years ago
barisusakli de4d747e63 closes #3742 10 years ago
barisusakli 5950f97f96 more refactors 10 years ago
barisusakli c617a3f008 inf scroll changes
dont load main post if start > 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
Barış Soner Uşaklı a065a73637 fix missing comma 10 years ago
Barış Soner Uşaklı 7bed4c40d6 closes #3179 10 years ago
barisusakli d8e52d7ebf closes https://github.com/NodeBB/nodebb-theme-persona/issues/87 10 years ago
barisusakli 878e548296 renamed end to stop globally
fixed getting favourites for admins
10 years ago
barisusakli 5bc2e7dac2 closes #2309 10 years ago
barisusakli a77a761433 closes #1917 10 years ago
barisusakli 6a3a3669d2 check privs on getRecentReplies and getRecentTopicReplies 10 years ago
Julian Lam 7e35987e1b fixing regression for #2355, introduced in a129075 10 years ago
Julian Lam a12907512f refactored a bunch of methods so that you can pass in an author argument in querystring to see posts by just that author, #2355 10 years ago
barisusakli 761f56aeb1 removed most of the db.sortedSetCards 11 years ago
barisusakli 197226eea6 closes #1742 11 years ago
barisusakli 5a42b6a7ea closes #2009 11 years ago
barisusakli d852f284da closes #1948 11 years ago
barisusakli dda0322968 getUsersInCategory 11 years ago
barisusakli 906e1a3846 removed unused meta 11 years ago
barisusakli f55d1897c8 fix categories.loadMore so it checks read permission 11 years ago
barisusakli a9e5e82431 closes #1758 11 years ago
barisusakli 48aba5fc64 category widget changes 11 years ago
barisusakli 472e6b5206 privilege cleanup 11 years ago