Commit Graph

36 Commits

Author SHA1 Message Date
barisusakli
24ebf20d7e first commit 2014-07-02 16:13:25 -04:00
psychobunny
0e92c7ed94 use templates.js module instead 2014-06-25 18:55:42 -04:00
Julian Lam
6f218857cb added connect-flash package. npm also alphabetically re-ordered the deps... thanks npm? 2014-06-18 10:17:50 -04:00
psychobunny
aafbb55572 closes #1616 2014-06-02 16:52:16 -04:00
psychobunny
257491801d optimizing template compilation 2014-05-31 17:08:24 -04:00
psychobunny
c97d6635fc plugin templates now have higher priority than theme templates 2014-05-31 17:06:27 -04:00
Julian Lam
d74de798fc removing backwards compatibility fixed in preparation for 0.5.0. Prepare for stuff to break!!!!! 2014-05-23 19:13:22 -04:00
psychobunny
b3940cd7cd enabling view cache, since we require server restart on theme changes it doesn't hurt 2014-05-05 16:56:08 -04:00
Julian Lam
970b259e06 fixed #907 2014-05-01 15:06:27 -04:00
psychobunny
3f22027007 avoid doing nconf.get over and over again on the same key 2014-04-15 02:16:03 -04:00
psychobunny
e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
2014-04-14 17:36:10 -04:00
barisusakli
90540f64cf removed some unused translator requires 2014-04-13 15:05:17 -04:00
Micheil Smith
3e82cab398 Add missing new lines at end of files. 2014-04-10 20:56:53 +01: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
eab0ca7463 allow custom themes to include templates that don't exist in the base theme 2014-03-28 17:05:09 -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
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
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
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
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
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
dbbbe21883 re-implementing meta and link tags part 1 2014-03-02 15:14:38 -05:00
psychobunny
6820e9e662 random jshinting expedition 2014-03-02 14:45:57 -05:00
psychobunny
6c3c669e31 moved middleware out of webserver.js and into middleware.js 2014-03-02 14:16:16 -05:00
psychobunny
08a9ce4950 moved all app.configure() code into middleware/index.js + organization/cleanup 2014-03-01 17:26:26 -05:00