Commit Graph

291 Commits

Author SHA1 Message Date
barisusakli
dd5a8e8a88 closes #3568 2015-09-11 20:36:31 -04:00
barisusakli
7c319c9b20 fix browser title on home page 2015-09-08 02:17:22 -04:00
barisusakli
c3719ea5b5 closes #3519 2015-08-28 15:08:21 -04:00
barisusakli
93e6916fe6 moved maintenace mode middleware 2015-08-28 14:46:13 -04:00
barisusakli
25502f0687 closes #3508 2015-08-28 14:31:41 -04:00
barisusakli
48512bff6b get rid of app.exposeConfigToTemplates 2015-08-27 19:22:51 -04:00
psychobunny
dbc9c07b55 403 browser title 2015-08-27 16:34:01 -04:00
psychobunny
4b91d7ec3d req.route is not defined if you go to some bogus url 2015-08-27 16:18:55 -04:00
psychobunny
4b5f67eb4d use [[pages:home]] instead 2015-08-27 15:28:46 -04:00
psychobunny
5dae60faff closes #3502 2015-08-27 15:26:53 -04:00
psychobunny
8cc91ea6e7 fix crash in middleware.renderHeader 2015-08-27 14:27:45 -04:00
barisusakli
eaefd9d24c remove meta/title.js and meta.title.build #3481 2015-08-26 15:55:00 -04:00
Barış Soner Uşaklı
1a6e576483 async 2015-08-23 22:16:48 -07:00
barisusakli
fee08cd665 closes https://github.com/NodeBB/NodeBB/pull/3250 2015-08-19 17:14:22 -04:00
Barış Soner Uşaklı
5e9a123e70 Merge pull request #3360 from jsdream/renderHeaderHook
Add 'filter:middleware.renderHeader' hook
2015-08-19 16:58:24 -04:00
jsdream
103055b262 Add error check in 'filter:middleware.renderHeader' hook callback 2015-08-19 22:50:04 +03:00
barisusakli
aec4ee5392 crash fix 2015-08-19 12:47:57 -04:00
psychobunny
0150e0e063 closes #3069 2015-08-17 15:55:09 -04:00
psychobunny
275769a801 closes #3435 2015-08-17 14:54:00 -04:00
psychobunny
b3639f3c71 closes #3429 2015-08-17 12:16:12 -04:00
psychobunny
842815e5e9 closes #3445 2015-08-17 11:47:23 -04:00
Julian Lam
08fb30378a Closes #3302
- Fixes issue where the served path for the favicon was incorrect (included relative path when one was not needed)
- Also fixes issue where favicons were just plain not served for subfolder installations
- Fixed unsemantic HTML in ACP/General regarding Site Logo and Favicon fieldsets
2015-08-17 11:45:30 -04:00
barisusakli
0534da0ed1 closes #3389 2015-08-07 16:44:20 -04:00
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.
2015-07-28 10:36:51 -04:00
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
2015-07-28 07:39:11 -04:00
jsdream
29fcbf6750 Add 'filter:middleware.renderHeader' hook 2015-07-24 18:18:22 +03:00
Julian Lam
df055ce7ea if buildHeader middleware is called, isAPI is now set to false 2015-07-23 12:58:21 -04:00
barisusakli
954c25823e closes #3352 2015-07-22 14:17:34 -04:00
barisusakli
9e63aaebb8 added new hook action:middleware.pageView 2015-07-17 15:57:49 -04:00
barisusakli
65ab5733ef added categories navigation item, ability to change logo url 2015-07-16 16:21:05 -04:00
Julian Lam
da1c347fc2 closes #3297 2015-07-06 15:06:10 -04:00
barisusakli
ffd22f50ff closes #1999 2015-07-06 14:33:52 -04:00
barisusakli
57c2418157 closes #1306 2015-06-27 21:26:19 -04:00
psychobunny
ff234bccfe redirectToLogin() 2015-06-09 15:35:19 -04:00
psychobunny
deda4a4ed6 fixes for 503's in maintenance mode 2015-06-09 15:31:45 -04:00
psychobunny
e3ee3de95d lint 2015-06-09 15:31:43 -04:00
Julian Lam
170126680b #3213 2015-06-04 13:42:10 -04:00
Julian Lam
54277e62fc fixed #3213 2015-06-04 12:23:30 -04:00
Julian Lam
aae3ac6b98 updated title parsing methods to call a new hook: filter:parse.title 2015-05-21 12:07:46 -04:00
Barış Soner Uşaklı
f44e850fa0 revert last change, breaks ajaxify 2015-04-23 13:50:48 -04:00
Barış Soner Uşaklı
5d5346c4f9 allow overriding template name 2015-04-23 13:43:27 -04:00
barisusakli
6dfb229c66 closes #2842 2015-04-22 12:13:14 -04:00
Julian Lam
610d687a96 moved favicon into default link tags, and fixed bug that caused link tags to not show up 2015-04-21 14:32:36 -04:00
Julian Lam
c26f274392 moved meta and link tag parsing out to a new module, meta/tags 2015-04-21 12:30:06 -04:00
Julian Lam
cc4e626f5f updated middleware.renderHeader so that navbar config is retrieved in parallel like everything else, instead of retrieved first. (ping @psychobunny) 2015-04-21 12:30:06 -04:00
Barış Soner Uşaklı
c9b5948034 closes #2927 2015-04-16 14:31:58 -04:00
barisusakli
835d4db481 dont add category/topic slug if user doesnt have read permission
or category is disabled etc.
2015-04-08 21:16:11 -04:00
Barış Soner Uşaklı
641c8991f9 closes #2944
if going to users page wait for updateOnlineUsers to complete
2015-04-07 12:52:48 -04:00
Julian Lam
40834cc010 updated checkAccountPermissions to call requireUser, and added new hook for plugins to handle auth login 2015-04-03 21:16:27 -04:00
barisusakli
b3f66faa37 default is private 2015-04-01 22:20:20 -04:00