Commit Graph

53 Commits

Author SHA1 Message Date
barisusakli
90540f64cf removed some unused translator requires 2014-04-13 15:05:17 -04:00
psychobunny
f16d98fcab linting 2014-04-03 14:33:03 -04:00
psychobunny
3840a9e67e translating the footer... and sending the original 'doh 2014-04-03 14:04:02 -04:00
Julian Lam
4498f6e410 removing less-middleware calls 2014-04-02 14:41:52 -04:00
psychobunny
488e31df64 added X-Powered-By header for builtwith.com 2014-04-01 14:00:33 -04:00
psychobunny
0f20352fbb closes #1289 2014-03-31 13:00:01 -04:00
barisusakli
219c0d75c4 fix for #1290 2014-03-28 21:30:02 -04:00
psychobunny
eab0ca7463 allow custom themes to include templates that don't exist in the base theme 2014-03-28 17:05:09 -04:00
Julian Lam
31606578f5 putting cache buster back in header template arguments 2014-03-24 18:09:49 -04:00
Julian Lam
c2f6717e88 adding cache-buster to template globals 2014-03-24 14:36:20 -04:00
Julian Lam
8c7b474e8b moved fontawesome CSS into stylesheet.css, and updating the js and css middlewares to compile at app start, not on first load 2014-03-24 14:36:20 -04:00
barisusakli
0cfd05d839 closes #1254 2014-03-21 18:36:06 -04:00
psychobunny
3bd93a40fc closes #1235 2014-03-19 14:05:48 -04:00
psychobunny
f0a19b06c2 launch aesthetics 2014-03-17 16:22:03 -04:00
psychobunny
c6a89b504f Merge branch 'master' of https://github.com/designcreateplay/NodeBB 2014-03-17 16:09:22 -04:00
psychobunny
6262312747 closes #1153 2014-03-17 16:09:20 -04:00
Julian Lam
43e0c726fa relaxed isClientScript regex, fixed #1198 2014-03-17 15:48:34 -04:00
psychobunny
941c3b2d7e added emitter class; express.listen only after background tasks complete; closes #1227 2014-03-17 12:53:31 -04:00
barisusakli
37e8856861 new middleware to add slug to topic and category 2014-03-15 15:29:56 -04:00
Julian Lam
7111adb3c2 fixed subfolder installs again (a bit), also stopped apple-touch-icon from clobbering /apple-touch-icon 2014-03-11 19:41:58 -04:00
barisusakli
9564b6fda2 closes #1165 2014-03-11 04:10:00 -04:00
Julian Lam
ffa42ffea3 moving pluginRoutes to top of route stack (like others), put app.load hook behind plugins' ready callback 2014-03-10 21:54:30 -04:00
psychobunny
6ea4d89edc fixed search routes 2014-03-09 21:43:35 -04:00
psychobunny
4793b6b4f9 fixed invalid path for apple-touch-icon 2014-03-09 20:08:51 -04:00
psychobunny
faf3de7e27 added a check for res.locals.isAPI inside res.render, instead of doing it all over the place in code 2014-03-09 19:54:16 -04:00
psychobunny
6acdc66470 fixed bug if default templates folder missing (in case you planned on building an entire theme from scratch) 2014-03-09 19:47:33 -04:00
psychobunny
1ef95bd09e Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	app.js
	public/templates/category.tpl
	public/templates/popular.tpl
	public/templates/recent.tpl
	public/templates/unread.tpl
	src/routes/plugins.js
	src/webserver.js
2014-03-09 16:07:34 -04:00
psychobunny
e84dd4fd94 Merge remote-tracking branch 'origin/master' into webserver.js-refactor
Conflicts:
	public/templates/accountedit.tpl
	public/templates/header.tpl
	src/routes/meta.js
	src/webserver.js
2014-03-07 19:21:40 -05:00
psychobunny
a9046b926d clean templates directory before beginning compilation 2014-03-06 12:25:10 -05:00
psychobunny
90a80ad83d plugins can now define a templates directory which gets compiled onload without requiring any hooks 2014-03-06 12:06:19 -05:00
psychobunny
c0cd6148f4 one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files 2014-03-05 17:06:24 -05:00
psychobunny
3efca794fd regex cleanup; fixed indenting on partials 2014-03-05 15:58:43 -05:00
psychobunny
67517c58e3 added warning if partial template was not found 2014-03-05 15:31:02 -05:00
psychobunny
d442e10037 template compilation + partials support 2014-03-05 15:13:54 -05:00
psychobunny
552eb78db8 template compiling init; changing themes now finally works on this branch 2014-03-04 17:49:56 -05:00
psychobunny
1dc63caf77 using views_dir config 2014-03-04 16:12:02 -05:00
psychobunny
a3a0aabd22 return error if template doesn't exist 2014-03-04 16:08:02 -05:00
psychobunny
c24c2a5422 search and reset routes, the very last of the views to be refactored :shipit: 2014-03-03 17:16:53 -05:00
psychobunny
8802fc5a33 fixing link tags; misc bug fixes 2014-03-03 16:56:35 -05:00
psychobunny
d3aead7c13 changing renderHeader function signature to req, res, next 2014-03-03 16:54:28 -05:00
psychobunny
48b9289002 use the proper footer for admin 2014-03-03 16:40:26 -05:00
psychobunny
d360320441 finally got admin header and footer working 👍 2014-03-03 14:30:39 -05:00
psychobunny
eed97648b1 started moving admin mdw into middleware/admin.js; res.render post-processing to append admin footer/header 2014-03-03 13:17:10 -05:00
psychobunny
209bcaba8c middleware.updateLastOnlineTime; middleware.prepareAPI (reinstated) 2014-03-03 12:49:47 -05:00
psychobunny
94aeb3ab22 notifications route; added middleware.authenticate to user/uploadpicture api route 2014-03-03 12:30:27 -05:00
psychobunny
5b8e8e4b67 deprecating use of templates.setGlobal on server side in favour of passing in api.config into res.locals (still needs work) 2014-03-03 12:16:46 -05:00
psychobunny
138b12e815 re-added linkTags into header; clean up 2014-03-03 11:44:52 -05:00
psychobunny
d75bc9578b deprecating middleware.prepareAPI in favour of using app.all('*') in /api namespace 2014-03-02 23:49:15 -05:00
psychobunny
8df33e65ac fixing bug in topics causing meta tags to revert on subsequent refresh 2014-03-02 22:10:57 -05:00
psychobunny
dbbbe21883 re-implementing meta and link tags part 1 2014-03-02 15:14:38 -05:00