Barış Soner Uşaklı
5d9a868142
feat: category filter on post queue ( #8710 )
...
* feat: category filter on post queue
category filter module
* feat: add spec
5 years ago
Barış Soner Uşaklı
de824007d9
feat: allow custom req.query.filter on /unread /recent
5 years ago
Julian Lam
9e3fd0e479
Revert "feat: #8493 , plugin helper for standardised link/button injection"
...
This reverts commit 0bbb813e4b .
5 years ago
Sam Thompson
0bbb813e4b
feat: #8493 , plugin helper for standardised link/button injection
5 years ago
Julian Lam
68f8d6e3a1
fix : #8549 send 308 Permanent Redirect on topic/category shortlinks
5 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
6 years ago
Barış Soner Uşaklı
eb9704f85e
feat: #8450 , next/prev link tags on /unread /recent
6 years ago
Barış Soner Uşaklı
842b8abb84
feat: add buildHeaderAsync ( #8367 )
...
* feat: add buildHeaderAsync
make helphers.notAllowed async
* fix: remove csrf from buildHeader
* fix: remove unused method, use middleware
* fix: /post/pid redirect doesn't need buildHeader
use buildHeaderAsync
6 years ago
Barış Soner Uşaklı
c47a1c4df4
fix: convert cids to string for comparison
6 years ago
Barış Soner Uşaklı
337be368eb
fix: category selector disabled categories
6 years ago
Barış Soner Uşaklı
23571224b5
feat: add parent cids to body class
6 years ago
Barış Soner Uşaklı
c4e58160cf
fix : #8003 , check children recursively
6 years ago
Barış Soner Uşaklı
c9bf6d0fe1
fix : #7945 , show watched categories in ignored categories
6 years ago
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
6 years ago
Barış Soner Uşaklı
87f6ac59b1
fix: returned data
6 years ago
Barış Soner Uşaklı
955e00fd9d
fix: dont send all category data back to recent&unread etc
6 years ago
Barış Soner Uşaklı
f15c7f12b3
refactor: async/await
6 years ago
Barış Soner Uşaklı
c9250a01a2
refactor: async/await, remove dupe code for homepage routes
6 years ago
Barış Soner Uşaklı
3ecac97d7e
fix : #7826 , fix order of categories on recent dropdown
6 years ago
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
7 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
7 years ago
Barış Soner Uşaklı
fe6d64ccbc
fix : #7147
7 years ago
Julian Lam
949b10f132
fix: no relative path needed in req.session.returnTo
...
re: julianlam/nodebb-plugin-session-sharing#73
7 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
7 years ago
Baris Usakli
b86f155690
fix : #7037
7 years ago
Barış Soner Uşaklı
1d5816b00a
add new hook `filter:unread.categories`
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ı
537b7ff7e8
remove more parseInts
7 years ago
Barış Soner Uşaklı
ee2f9e9434
remove some parseInts
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ı
a3d463916c
closes #6822
7 years ago
Barış Soner Uşaklı
ae4016d9e0
add getCateries to helpers
7 years ago
Barış Soner Uşaklı
ccad95cf73
closes #6579
8 years ago
Barış Soner Uşaklı
ac1f7eefe5
closes #2304
8 years ago
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.
8 years ago
Julian Lam
593c5047cf
fixes #6269
8 years ago
Baris Usakli
a500e0019c
closes #6005
8 years ago
Baris Usakli
19dc7da42f
closes #5994
8 years ago
Julian Lam
38a7030639
Revert "Merge pull request #5923 from NodeBB/patch-5922"
...
This reverts commit f8ddabc884 , reversing
changes made to 4976d13013 .
8 years ago
Peter Jaszkowiak
f40d37ad48
Fix #5922
8 years ago
Julian Lam
c4fbed24f8
Squashed commit of the following:
...
commit 9c86d9b2904e14927cd7e9679b92aec0951d1063
Merge: ebfa63a 5a7f811
Author: Julian Lam <[email protected] >
Date: Thu Jul 20 08:41:39 2017 -0400
Merge branch 'noscript-login' of https://github.com/An-dz/NodeBB into noscript
commit 5a7f81185e8f9bd7d2d011c3d495988be7e437a3
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 <[email protected] >
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 <[email protected] >
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 <[email protected] >
Date: Mon Jul 17 16:30:10 2017 -0400
Merge branch 'noscript-compose' of https://github.com/An-dz/NodeBB into noscript
commit f159d0d9ef1b7f600e830a96fdb4b9c87c79bb4a
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Thu Jul 6 12:16:38 2017 -0300
Prevent form submit
Required for theme change
commit d37b95cb71d32d4483190609798e244c331db165
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 9fd542d8970b7d1a4126f4edc4b44eab7d708fb0
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 19:57:56 2017 -0300
Fix tests
commit cdad5bf8c2891ad76f7441fd4d8a74b058a14e6d
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 19:09:17 2017 -0300
Update error handling
commit 4ff11cd136a4fb98483f837e2cebc741380dfe76
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 17:29:08 2017 -0300
Remove async waterfall
commit df01d44e821a70c984b89e9585a325c3e02c6e37
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 16:59:43 2017 -0300
Set noscript compose as noscript at start
commit 4bcc380da72239b8315cc849a77a3036e06e4a12
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Wed Jul 5 16:59:12 2017 -0300
Remove last useless next
commit b5eac6fea11e209934c0648a7e75ad07a2167123
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 18:35:08 2017 -0300
Last function requires no next
commit 20a5cce6e6e32a454c304c448383707ec44c75a8
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 18:06:58 2017 -0300
Remove more useless next calls
commit 85ee22a79bcbbb1995106f43d4c74d6ba9206cab
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 17:46:07 2017 -0300
Remove useless next calls
commit 7d984c47ad24faac1fe537dee4a5a7d697e8634c
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 15:45:31 2017 -0300
Support old themes
commit 4a09dfbd08253115c342a9e829c4e6940cecb8cc
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sun Jul 2 15:37:23 2017 -0300
Moved all error handling into helpers function
commit 391aa6e67ef9ab67304005e14ac0633cdb630713
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Thu Jun 8 15:37:37 2017 -0300
ESLint - Fix mixed conditionals
commit 80ccc6fd581d791f31e7ab62de8de611837bfc3c
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sat Jun 3 18:08:15 2017 -0300
Compose without scripts
commit 2aca811256721238ca0cede4954213d369009885
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sat Jun 3 18:00:44 2017 -0300
Register without scripts
commit 097bb51577fb26f8e22f86dc274cb670ab606a8a
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sat Jun 3 16:42:15 2017 -0300
Logout without scripts
commit d497e08109891079656fee1c145043a9c0e55f2e
Author: André Zanghelini <an_dz@simutrans-forum>
Date: Sat Jun 3 16:27:10 2017 -0300
Login without script
9 years ago
Barış Soner Uşaklı
b807d3750c
encodeURI redirect url
9 years ago
Peter Jaszkowiak
6cb8440715
Fix #5793
...
Use a custom header instead
9 years ago
psychobunny
88d5f97280
closes #5717
9 years ago
Barış Soner Uşaklı
01e2263c01
more tests
9 years ago
Peter Jaszkowiak
4bb49a7171
ESlint no-unused-vars
9 years ago
Peter Jaszkowiak
144fa8698c
Eslint no-lonely-if
9 years ago
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
9 years ago
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
9 years ago
barisusakli
4b6e4f085d
more tests
...
group cover upload tests
registration approval queue tests
9 years ago
barisusakli
58fff8b0af
up persona fix test
9 years ago
barisusakli
fb47bf3889
unread/recent changes closes #4774
9 years ago
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
9 years ago
barisusakli
07fe5057e1
make sure validator.escape() receives strings only
9 years ago
barisusakli
fcf145fc81
403 if not logged in, show error
10 years ago
psychobunny
371abba13b
helpers.notAllowed hook
10 years ago
barisusakli
eb0aea6390
add /user/<uid> and /post/<pid> redirects
...
change notifications to use new redirects
10 years ago
Julian Lam
2aa89b9c70
fixes #4555
10 years ago
barisusakli
e2f78a9585
closes #4432
10 years ago
Ben Lubar
3c607f2612
fix two crashes
10 years ago
barisusakli
4e2318fa1e
fix title in acp removed extra |
10 years ago
barisusakli
9361ff0772
closes #3587
10 years ago
barisusakli
25502f0687
closes #3508
10 years ago
psychobunny
dbc9c07b55
403 browser title
10 years ago
psychobunny
0eca875f6e
add site title to 404, on cold load anyways
10 years ago
Julian Lam
463c893c3d
fixed regression introduced by #2080 , closed #3189
11 years ago
barisusakli
2fd4bcde3f
added req.uid user id for logged in users, 0 for guests
11 years ago
Julian Lam
47a7ab15be
refactored translator system to be a require.js module, and not a global
11 years ago
barisusakli
724df69561
fix redirects
11 years ago
barisusakli
ddd4680ea7
added helpers.redirect
11 years ago
Julian Lam
f14c5f7e1c
added new hook 'action:meta.override404' so plugins can override the regular handling of pages that are not found
11 years ago
barisusakli
aaa1fae558
closes #2597
11 years ago
barisusakli
8965855218
made breadcrumbs regular function
...
less db calls as well
11 years ago
barisusakli
518c6f7cfa
closes #2521
11 years ago
barisusakli
ddd6ed9e8c
#2477 403 page
11 years ago
barisusakli
be11577aa4
closes #2477
11 years ago
barisusakli
c458a7f7b2
missing nconf require
11 years ago
barisusakli
556e7066e8
moved notFound notAllowed to helpers
11 years ago