Commit Graph

447 Commits

Author SHA1 Message Date
Joopmicroop
7d0f160c4c Allow same origin framing
Allow people to frame there own server setup
2013-11-29 11:04:46 +01:00
Baris Soner Usakli
c5f9f896b2 make all admin routes only accesible to admins 2013-11-28 22:29:32 -05:00
Julian Lam
0188ea9a3b setting cache headers to 0 on development mode 2013-11-28 17:37:17 -05:00
psychobunny
b7aea63c53 create auth routes only after plugin system is enabled and auth.init hook is fired 2013-11-28 11:13:08 -05:00
Julian Lam
f0e8633dcc category whitelisting for posting messages, isAdmin now error-first 2013-11-27 12:47:00 -05:00
Baris Usakli
541993c80a fontawesome 4 migration, closes #473 2013-11-26 14:25:46 -05:00
Julian Lam
efac6272bb default link tag (apple-touch-icon) added 2013-11-26 11:34:38 -05:00
Julian Lam
bdb30976b5 adding maxAge headers for statically served files (eep!) - issue #552 2013-11-26 11:17:34 -05:00
Julian Lam
5a5c3c8c60 added app.load action hook 2013-11-25 16:28:07 -05:00
psychobunny
353b3047cd pulling meta info from OP not main_posts 2013-11-25 15:48:53 -05:00
psychobunny
c261babf17 minify client scripts only after plugin system is activated 2013-11-25 12:35:54 -05:00
Julian Lam
a72fc69997 added link to RSS for /recent, fixed RSS generation error for /recent 2013-11-24 11:15:40 -05:00
Julian Lam
08ef67e824 closed #536 2013-11-22 11:42:42 -05:00
psychobunny
90ce539683 fixed language file not parsing in footer 2013-11-21 16:07:32 -05:00
Julian Lam
a9ce8393e4 added footer.build and page.load hooks 2013-11-21 15:05:45 -05:00
Damian Bushong
51355a53d9 cleanup webserver.js requires
the .js in a require is implicit and unnecessary;
sorted the requires out so that builtins are first, then npm deps, then locally provided libs.
minor changes to some strings, just using single-quotes to match the style through the rest of the file.
2013-11-18 02:39:08 -06:00
Baris Usakli
fa9636a62a closes #495 2013-11-12 12:41:16 -05:00
Julian Lam
a42b30fd40 removing commented out route 2013-11-11 14:15:27 -05:00
Julian Lam
37497fc5a0 fixed #393 - refactored basic route handling, moved some other routes to debug routes 2013-11-11 14:06:26 -05:00
Julian Lam
9bea23bbfe linting webserver.js 2013-11-11 13:25:54 -05:00
psychobunny
1d6135150f multiple plugins pointing to admin can conflict - fix 2013-11-04 23:59:41 -05:00
Julian Lam
4353a9da25 issue #478 - hot-swapping of plugins 2013-11-03 17:15:18 -05:00
Julian Lam
7074b75b9d extra console.log 2013-11-01 11:36:35 -04:00
Julian Lam
857756f636 silly closures... 2013-11-01 11:36:05 -04:00
Julian Lam
e4c62200de fixing screenshot previews in admin/themes 2013-11-01 11:27:02 -04:00
psychobunny
a71870de28 pass in site description as well for potential themes to take advantage of 2013-10-29 17:27:23 -04:00
psychobunny
842cd17979 themes - added ability to route custom templates 2013-10-29 12:34:41 -04:00
Baris Usakli
22a3b227a3 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2013-10-28 15:49:21 -04:00
Baris Usakli
12f3f1a45c show admin link in header if user is admin, closes #459 2013-10-28 15:49:12 -04:00
Julian Lam
207ff98211 Merge pull request #399 from JetMaddox/master
Disable Framing on all sites.

I'm merging this ***conditionally*** - at some point, we wish to introduce integration with CMSes like WordPress. An easy way to achieve this would be placing NodeBB in an iframe.

At that point in time, we'll want to make this a configurable option via admin panel.
2013-10-28 12:18:28 -07:00
Julian Lam
aecbe6d316 interim commit, still nothing done 2013-10-25 16:01:31 -04:00
Julian Lam
db2917193e Merge branch 'master' into notifications_page 2013-10-22 14:35:38 -04:00
Julian Lam
705571de8c notifications page + ajaxify route + css styling 2013-10-22 14:35:20 -04:00
Baris Usakli
bccc4e8019 Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2013-10-22 12:39:24 -04:00
Baris Usakli
7039a4d762 closes #425 2013-10-22 12:39:14 -04:00
Julian Lam
7b7f0115e5 closed #432 - added link rel="up" and rel="alternate" to category and
topic pages
2013-10-22 12:23:07 -04:00
Julian Lam
65a8de7845 special theme.set socket call + static dir support, closes #427, tweaked languages 404 to work with subdirs 2013-10-21 12:07:37 -04:00
Julian Lam
44d2297546 monkeypatching the 404 route to handle missing languages and client side scripts. Removing "soft 404" in favour of hard 404 due to complaints from google webmaster tools 2013-10-21 11:09:46 -04:00
Jet
a8f2fd66ae Adding brackets.
Too much Coffeescript. Had some filters on. :)
2013-10-20 13:27:25 +02:00
Julian Lam
c1f47f536d install script tweaks so vanilla is default 2013-10-19 17:41:26 -04:00
Julian Lam
baf379c6d7 theme intergration into nodebb based on config hash value 2013-10-19 16:24:33 -04:00
Julian Lam
9375369b88 fixed issues caused by inadvertant globalisation (and its subsequent fix) 2013-10-14 16:41:34 -04:00
psychobunny
2a4b228e19 plugins - filter:server.create_routes allows you to add custom routes to NodeBB 2013-10-12 17:19:18 -04:00
psychobunny
30c7113bd8 removed console.log 2013-10-12 13:08:49 -04:00
psychobunny
a63732027f plugins - filter:header.build allows plugins to add custom navigation to header 2013-10-12 13:05:47 -04:00
psychobunny
8326c223ab fixed f5 bug with /recent/:term which previously gave a 404 2013-10-11 14:57:17 -04:00
Jet
97592eede6 Fixed case for header 2013-10-11 11:19:24 +02:00
Jet
73dafa6aff Disable framing
Set the X-Frame-Options to DENY for added security.
2013-10-11 11:08:52 +02:00
Julian Lam
84915a1843 added css files support for plugins, added ready output for NodeBB, put
some minification related outputs to debug-mode only
2013-10-06 13:55:30 -04:00
Julian Lam
f88f72abd2 Merge branch 'adarqui' 2013-10-05 22:47:59 -04:00