Baris Usakli
485fbd2f14
feat: #7964 , change all categories at once
...
allow passing cids to setCategoryWatchState and category.exists
2019-10-11 15:25:41 -04:00
Barış Soner Uşaklı
7a0f607434
fix: account/categories
2019-09-25 21:24:07 -04:00
Barış Soner Uşaklı
86b16629f8
refactor: returned fields
2019-09-20 22:10:08 -04:00
Barış Soner Uşaklı
52b2d670e5
refactor: async/await
2019-09-13 23:34:52 -04: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ı
f581c052ee
feat: #7023
...
- add category selector to privileges and category create modals
- allow category selector to work for multiple selectors on same page
2018-12-04 14:32:43 -05:00
Barış Soner Uşaklı
00a066985a
cache categories:cid and cid:<cid>:children
...
these rarely change, no need to go to db for them
2018-11-27 19:38:28 -05:00
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
2018-11-25 19:08:38 -05:00
Barış Soner Uşaklı
728e7bdae9
remove more parseInts
2018-10-23 21:36:18 -04:00
Barış Soner Uşaklı
26d4e0852f
use includes instead of indexOf
...
use _.uniq instead of filter&indexOf
2018-10-20 14:40:48 -04:00
Baris Usakli
baf91089a6
remove unused methods
2018-10-17 15:23:46 -04:00
Baris Usakli
6dc84deca9
allow admins mods to watch/ignore categories for other users
2018-10-05 14:37:44 -04:00
André Zanghelini
523a2dc54c
Add settings page to control watched categories ( #6648 )
...
* Add settings page to control watched categories
* Fix passing undefined to pushUnreadCount
2018-10-05 13:00:18 -04:00
Baris Usakli
037a0e5239
closes #5742
...
also fix reverse infinite scroll when sorting is changed
2017-06-06 16:40:32 -04:00
Baris Usakli
d13eb52f39
closes #5722
2017-05-30 14:10:16 -04:00
Barış Soner Uşaklı
f6ac92111b
style changes
2017-05-26 00:02:20 -04:00
Peter Jaszkowiak
11cb3a9554
ESlint operator-assignment, block-scoped-var
2017-02-18 14:20:58 -07:00
Peter Jaszkowiak
a0a50677da
ESlint n-loop-func, yoda
2017-02-18 14:00:29 -07:00
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
db14c29e41
socket.io/categories tests
2016-11-21 13:47:34 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
958fe3e72f
closes #3762
2016-09-19 13:08:31 +03:00
barisusakli
7afd2925af
get sort setting from config
2016-08-31 22:50:48 +03:00
Ben Lubar
862fd1a94a
ignore/watch categories recursively
2016-08-23 00:24:34 -05:00
barisusakli
795b00a3af
closes #4810
2016-07-01 13:01:09 +03:00
barisusakli
8d9f7d8e19
added socket methods
2016-03-08 11:24:32 +02:00
barisusakli
1a87767c2c
removed extra isAdminOrMod check
2016-01-27 20:36:40 +02:00
barisusakli
4440865ec4
support for array in getTopicIds
2016-01-27 00:05:26 +02:00
barisusakli
cf889b70bd
closes #3982
2015-12-28 10:42:15 +02:00
barisusakli
1ecf27417a
removed commented out stuff removed topics.enter
2015-11-05 11:53:17 -05:00
barisusakli
de4d747e63
closes #3742
2015-10-13 13:58:36 -04:00
barisusakli
5950f97f96
more refactors
2015-09-25 17:38:58 -04:00
barisusakli
c617a3f008
inf scroll changes
...
dont load main post if start > 0
2015-09-24 21:14:41 -04:00
barisusakli
5b87af4389
closes #3447
...
recursively get all children
calculate topic/post count from children
new sorted set `cid:<id>:children`
fix search query params
2015-08-18 14:17:25 -04:00
Barış Soner Uşaklı
a065a73637
fix missing comma
2015-05-26 15:10:31 -04:00
Barış Soner Uşaklı
7bed4c40d6
closes #3179
2015-05-26 15:05:55 -04:00
barisusakli
d8e52d7ebf
closes https://github.com/NodeBB/nodebb-theme-persona/issues/87
2015-05-25 13:28:04 -04:00
barisusakli
878e548296
renamed end to stop globally
...
fixed getting favourites for admins
2015-03-31 23:40:58 -04:00
barisusakli
5bc2e7dac2
closes #2309
2015-03-18 17:50:53 -04:00
barisusakli
a77a761433
closes #1917
2015-01-08 13:47:21 -05:00
barisusakli
6a3a3669d2
check privs on getRecentReplies and getRecentTopicReplies
2014-11-14 16:20:40 -05:00
Julian Lam
7e35987e1b
fixing regression for #2355 , introduced in a129075
2014-11-12 10:58:46 -05:00
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
2014-11-06 18:57:52 -05:00
barisusakli
761f56aeb1
removed most of the db.sortedSetCards
2014-10-14 23:12:47 -04:00
barisusakli
197226eea6
closes #1742
2014-08-29 15:57:20 -04:00
barisusakli
5a42b6a7ea
closes #2009
2014-08-22 18:05:50 -04:00
barisusakli
d852f284da
closes #1948
2014-08-15 15:45:01 -04:00
barisusakli
dda0322968
getUsersInCategory
2014-08-13 18:44:40 -04:00
barisusakli
906e1a3846
removed unused meta
2014-08-05 23:29:49 -04:00