Julian Lam
03b6b1e15c
Fixed crash on launch if no hooks listen to filter:router.page
...
A previous commit added a new hook, although it executed async.each on a var without a null check, so if no hooks were registered, it was null, and not an empty array, causing async to crash.
10 years ago
Julian Lam
5a50a098d8
added a new middleware and plugin hook
...
- Middleware added: requireUser, redirects to login if there is no user session.
- Hook added: filter:router.page
10 years ago
Julian Lam
df055ce7ea
if buildHeader middleware is called, isAPI is now set to false
10 years ago
barisusakli
954c25823e
closes #3352
10 years ago
barisusakli
9e63aaebb8
added new hook action:middleware.pageView
10 years ago
barisusakli
65ab5733ef
added categories navigation item, ability to change logo url
10 years ago
Julian Lam
da1c347fc2
closes #3297
10 years ago
barisusakli
ffd22f50ff
closes #1999
10 years ago
barisusakli
57c2418157
closes #1306
10 years ago
psychobunny
ff234bccfe
redirectToLogin()
10 years ago
psychobunny
deda4a4ed6
fixes for 503's in maintenance mode
10 years ago
psychobunny
e3ee3de95d
lint
10 years ago
Julian Lam
170126680b
#3213
10 years ago
Julian Lam
54277e62fc
fixed #3213
10 years ago
Julian Lam
aae3ac6b98
updated title parsing methods to call a new hook: filter:parse.title
10 years ago
Barış Soner Uşaklı
f44e850fa0
revert last change, breaks ajaxify
10 years ago
Barış Soner Uşaklı
5d5346c4f9
allow overriding template name
10 years ago
barisusakli
6dfb229c66
closes #2842
10 years ago
Julian Lam
610d687a96
moved favicon into default link tags, and fixed bug that caused link tags to not show up
10 years ago
Julian Lam
c26f274392
moved meta and link tag parsing out to a new module, meta/tags
10 years ago
Julian Lam
cc4e626f5f
updated middleware.renderHeader so that navbar config is retrieved in parallel like everything else, instead of retrieved first. (ping @psychobunny)
10 years ago
Barış Soner Uşaklı
c9b5948034
closes #2927
10 years ago
barisusakli
835d4db481
dont add category/topic slug if user doesnt have read permission
...
or category is disabled etc.
10 years ago
Barış Soner Uşaklı
641c8991f9
closes #2944
...
if going to users page wait for updateOnlineUsers to complete
10 years ago
Julian Lam
40834cc010
updated checkAccountPermissions to call requireUser, and added new hook for plugins to handle auth login
10 years ago
barisusakli
b3f66faa37
default is private
10 years ago
barisusakli
2fd4bcde3f
added req.uid user id for logged in users, 0 for guests
10 years ago
Julian Lam
47a7ab15be
refactored translator system to be a require.js module, and not a global
10 years ago
Julian Lam
f0f31e077f
added exposeUid middleware to core
10 years ago
Barış Soner Uşaklı
e4199179f7
Merge remote-tracking branch 'origin/master' into mongodb-3.0-driver-2.0
10 years ago
Julian Lam
8e2483b2e6
fixed #2849
10 years ago
barisusakli
724df69561
fix redirects
10 years ago
barisusakli
ddd4680ea7
added helpers.redirect
10 years ago
barisusakli
3809b331bc
acp shenans
10 years ago
barisusakli
2a8437f08f
removed templates config and mapping 🐑
10 years ago
barisusakli
5821a0758f
return template name as well
10 years ago
Barış Soner Uşaklı
d9e0a495b0
updated install.js to install mongodb native 2
10 years ago
Barış Soner Uşaklı
8b21f1c8ab
dont reload settings page on every save
...
only show an alert if reload is required
renamed settings.language to settings.userLang to match the config
10 years ago
psychobunny
58411a4764
deprecated filter:header.build, the equivalent hook (same output data) will be filter:navigation.available
10 years ago
psychobunny
738c27bf04
started dynamic sortable menu
10 years ago
psychobunny
ecad9d54ed
tjs 0.1.19 for undefined key cleanups
10 years ago
Julian Lam
4984f2f449
Merge branch 'master' of github.com:nodebb/NodeBB
10 years ago
Julian Lam
d3ff6a9f47
hidden groups are invisible to non-members, #2758
10 years ago
Barış Soner Uşaklı
e6e755dd46
#2560
10 years ago
Barış Soner Uşaklı
1d5e15eab4
closes #2560
10 years ago
psychobunny
e60ef6c9d1
Merge pull request #2716 from pitaj/master
...
Translate ACP pages
10 years ago
Peter Jaszkowiak
2b9d1ee3dd
Translate ACP pages
...
I fixed it
10 years ago
barisusakli
7f6518e4a6
private plugin link fix
10 years ago
barisusakli
0fab6c243c
increase rate limit timeframe from 1 second to 10 seconds
10 years ago
Julian Lam
22a619d9c7
fixed #2631
10 years ago