Barış Soner Uşaklı
337be368eb
fix: category selector disabled categories
2020-05-11 09:25:28 -04:00
Barış Soner Uşaklı
23571224b5
feat: add parent cids to body class
2020-03-26 12:04:04 -04:00
Barış Soner Uşaklı
c4e58160cf
fix : #8003 , check children recursively
2019-10-30 12:47:01 -04:00
Barış Soner Uşaklı
c9bf6d0fe1
fix : #7945 , show watched categories in ignored categories
2019-10-04 22:00:37 -04:00
Barış Soner Uşaklı
310c6fd33f
properly filter /unread /recent /popular /top ( #7927 )
...
* feat: add failing test for pagination
* feat: test
* fix: redis tests
* refactor: remove logs
* fix: add new test
* feat: make sortedSetRangeByScore work with keys on redis
* fix: hardcoded set name
* feat: show topics from readable categories on recent/popular/top
* feat: rewrite unread topics
respect watched categories and followed topics
* fix: term + watched
2019-09-26 21:55:49 -04:00
Barış Soner Uşaklı
87f6ac59b1
fix: returned data
2019-09-20 19:04:47 -04:00
Barış Soner Uşaklı
955e00fd9d
fix: dont send all category data back to recent&unread etc
2019-09-20 17:21:32 -04:00
Barış Soner Uşaklı
f15c7f12b3
refactor: async/await
2019-08-19 23:17:43 -04:00
Barış Soner Uşaklı
c9250a01a2
refactor: async/await, remove dupe code for homepage routes
2019-08-14 16:27:58 -04:00
Barış Soner Uşaklı
3ecac97d7e
fix : #7826 , fix order of categories on recent dropdown
2019-08-08 12:11:13 -04:00
Barış Soner Uşaklı
bd640a1107
Topic await errors ( #7727 )
...
* feat: derp await
* feat: restore user.getSettings
* feat: cleanup
* feat: make tid const
* feat: cleanup
* fix: tests
* feat: deprecate filter:controllers.topic.get
* feat: rewrite post-index logic
* feat: change calculation to match others
* fix: use .async
* feat: remove try/catch wrapper
2019-07-03 12:48:26 -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ı
fe6d64ccbc
fix : #7147
2019-04-26 12:59:01 -04:00
Julian Lam
949b10f132
fix: no relative path needed in req.session.returnTo
...
re: julianlam/nodebb-plugin-session-sharing#73
2019-02-15 16:42:11 -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
Baris Usakli
b86f155690
fix : #7037
2018-11-30 14:25:54 -05:00
Barış Soner Uşaklı
1d5816b00a
add new hook filter:unread.categories
2018-11-27 13:56:09 -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ı
537b7ff7e8
remove more parseInts
2018-10-23 21:36:00 -04:00
Barış Soner Uşaklı
ee2f9e9434
remove some parseInts
2018-10-20 17:55:13 -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
Barış Soner Uşaklı
a3d463916c
closes #6822
2018-10-10 11:59:40 -04:00
Barış Soner Uşaklı
ae4016d9e0
add getCateries to helpers
2018-08-17 16:39:56 -04:00
Barış Soner Uşaklı
ccad95cf73
closes #6579
2018-06-18 14:37:37 -04:00
Barış Soner Uşaklı
ac1f7eefe5
closes #2304
2018-01-31 15:20:17 -05:00
Julian Lam
0cefa56a0b
Fixes #6269
...
Also fixed issue where if homePageRoute was not set (as in brand-
new install), then categories would also show up, in this revised
logic. Oops.
2018-01-22 11:39:39 -05:00
Julian Lam
593c5047cf
fixes #6269
2018-01-22 11:31:28 -05:00
Baris Usakli
a500e0019c
closes #6005
2017-10-30 15:26:17 -04:00
Baris Usakli
19dc7da42f
closes #5994
2017-10-19 13:53:05 -04:00
Julian Lam
38a7030639
Revert "Merge pull request #5923 from NodeBB/patch-5922"
...
This reverts commit f8ddabc884 , reversing
changes made to 4976d13013 .
2017-09-11 15:37:18 -04:00
Peter Jaszkowiak
f40d37ad48
Fix #5922
2017-09-08 13:23:30 -06:00
Julian Lam
c4fbed24f8
Squashed commit of the following:
...
commit 9c86d9b2904e14927cd7e9679b92aec0951d1063
Merge: ebfa63a 5a7f811
Author: Julian Lam <julian@nodebb.org >
Date: Thu Jul 20 08:41:39 2017 -0400
Merge branch 'noscript-login' of https://github.com/An-dz/NodeBB into noscript
commit 5a7f81185e
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Mon Jul 17 23:07:14 2017 -0300
Rename clashing variable 'next'
commit ebfa63a984073a58c17aa408c363cdb03ef89985
Merge: c1801cd f159d0d
Author: Julian Lam <julian@nodebb.org >
Date: Mon Jul 17 16:30:40 2017 -0400
Merge branch 'noscript-logout' of https://github.com/An-dz/NodeBB into noscript
commit c1801cda14e6363491e30b659902e2ae71f7e1f7
Merge: 7a5f9f3 9fd542d
Author: Julian Lam <julian@nodebb.org >
Date: Mon Jul 17 16:30:31 2017 -0400
Merge branch 'noscript-register' of https://github.com/An-dz/NodeBB into noscript
commit 7a5f9f35abc834bb72ddddc9ca07d34f2fde8353
Merge: 44851f9 d37b95c
Author: Julian Lam <julian@nodebb.org >
Date: Mon Jul 17 16:30:10 2017 -0400
Merge branch 'noscript-compose' of https://github.com/An-dz/NodeBB into noscript
commit f159d0d9ef
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Thu Jul 6 12:16:38 2017 -0300
Prevent form submit
Required for theme change
commit d37b95cb71
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Thu Jul 6 01:49:52 2017 -0300
Prevent link action with scripts
Required for the theme change that changes the buttons to `a` tags.
commit 9fd542d897
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 19:57:56 2017 -0300
Fix tests
commit cdad5bf8c2
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 19:09:17 2017 -0300
Update error handling
commit 4ff11cd136
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 17:29:08 2017 -0300
Remove async waterfall
commit df01d44e82
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 16:59:43 2017 -0300
Set noscript compose as noscript at start
commit 4bcc380da7
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 16:59:12 2017 -0300
Remove last useless next
commit b5eac6fea1
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 18:35:08 2017 -0300
Last function requires no next
commit 20a5cce6e6
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 18:06:58 2017 -0300
Remove more useless next calls
commit 85ee22a79b
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 17:46:07 2017 -0300
Remove useless next calls
commit 7d984c47ad
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 15:45:31 2017 -0300
Support old themes
commit 4a09dfbd08
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 15:37:23 2017 -0300
Moved all error handling into helpers function
commit 391aa6e67e
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Thu Jun 8 15:37:37 2017 -0300
ESLint - Fix mixed conditionals
commit 80ccc6fd58
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sat Jun 3 18:08:15 2017 -0300
Compose without scripts
commit 2aca811256
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sat Jun 3 18:00:44 2017 -0300
Register without scripts
commit 097bb51577
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sat Jun 3 16:42:15 2017 -0300
Logout without scripts
commit d497e08109
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sat Jun 3 16:27:10 2017 -0300
Login without script
2017-07-20 08:51:04 -04:00
Barış Soner Uşaklı
b807d3750c
encodeURI redirect url
2017-07-05 11:36:35 -04:00
Peter Jaszkowiak
6cb8440715
Fix #5793
...
Use a custom header instead
2017-06-30 23:38:31 -06:00
psychobunny
88d5f97280
closes #5717
2017-05-29 17:12:02 -04:00
Barış Soner Uşaklı
01e2263c01
more tests
2017-05-12 17:53:23 -04:00
Peter Jaszkowiak
4bb49a7171
ESlint no-unused-vars
2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
144fa8698c
Eslint no-lonely-if
2017-02-18 14:32:35 -07:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
barisusakli
4b6e4f085d
more tests
...
group cover upload tests
registration approval queue tests
2016-12-02 14:05:59 +03:00
barisusakli
58fff8b0af
up persona fix test
2016-11-03 13:25:29 +03:00
barisusakli
fb47bf3889
unread/recent changes closes #4774
2016-11-03 13:06:25 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
barisusakli
07fe5057e1
make sure validator.escape() receives strings only
2016-08-27 15:45:15 +03:00
barisusakli
fcf145fc81
403 if not logged in, show error
2016-07-11 13:03:47 +03:00
psychobunny
371abba13b
helpers.notAllowed hook
2016-06-23 11:21:42 -04:00
barisusakli
eb0aea6390
add /user/<uid> and /post/<pid> redirects
...
change notifications to use new redirects
2016-05-05 20:24:09 +03:00
Julian Lam
2aa89b9c70
fixes #4555
2016-04-21 11:40:40 -04:00
barisusakli
e2f78a9585
closes #4432
2016-03-22 11:19:33 +02:00