360 Commits (dcb73f9647bd73acce0d0907d04d060e7fe05eb7)

Author SHA1 Message Date
psychobunny 1f9bdd840f allow for the possibility of custom post-header or pre-footer templating 11 years ago
psychobunny 3f22027007 avoid doing nconf.get over and over again on the same key 11 years ago
psychobunny e5486db1ae Merge branch 'code-quality' of https://github.com/miksago/NodeBB into miksago-code-quality
Conflicts:
	src/database.js
11 years ago
barisusakli 3e60451ce4 closes #1013
lets user change languages,
11 years ago
barisusakli beb7313138 added err to next 11 years ago
barisusakli 8aa4f053e8 converted translator.get to translator.translate 11 years ago
barisusakli 90540f64cf removed some unused translator requires 11 years ago
Micheil Smith 3e82cab398 Add missing new lines at end of files. 11 years ago
psychobunny f16d98fcab linting 11 years ago
psychobunny 3840a9e67e translating the footer... and sending the original 'doh 11 years ago
Julian Lam 4498f6e410 removing less-middleware calls 11 years ago
psychobunny 488e31df64 added X-Powered-By header for builtwith.com 11 years ago
psychobunny 0f20352fbb closes #1289 11 years ago
barisusakli 219c0d75c4 fix for #1290 11 years ago
psychobunny eab0ca7463 allow custom themes to include templates that don't exist in the base theme 11 years ago
Julian Lam 31606578f5 putting cache buster back in header template arguments 11 years ago
Julian Lam c2f6717e88 adding cache-buster to template globals 11 years ago
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 11 years ago
barisusakli 0cfd05d839 closes #1254 11 years ago
psychobunny 3bd93a40fc closes #1235 11 years ago
psychobunny f0a19b06c2 launch aesthetics 11 years ago
psychobunny c6a89b504f Merge branch 'master' of https://github.com/designcreateplay/NodeBB 11 years ago
psychobunny 6262312747 closes #1153 11 years ago
Julian Lam 43e0c726fa relaxed isClientScript regex, fixed #1198 11 years ago
psychobunny 941c3b2d7e added emitter class; express.listen only after background tasks complete; closes #1227 11 years ago
barisusakli 37e8856861 new middleware to add slug to topic and category 11 years ago
Julian Lam 7111adb3c2 fixed subfolder installs again (a bit), also stopped apple-touch-icon from clobbering /apple-touch-icon 11 years ago
barisusakli 9564b6fda2 closes #1165 11 years ago
Julian Lam ffa42ffea3 moving pluginRoutes to top of route stack (like others), put app.load hook behind plugins' ready callback 11 years ago
psychobunny 6ea4d89edc fixed search routes 11 years ago
psychobunny 4793b6b4f9 fixed invalid path for apple-touch-icon 11 years ago
psychobunny faf3de7e27 added a check for res.locals.isAPI inside res.render, instead of doing it all over the place in code 11 years ago
psychobunny 6acdc66470 fixed bug if default templates folder missing (in case you planned on building an entire theme from scratch) 11 years ago
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
11 years ago
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
11 years ago
psychobunny a9046b926d clean templates directory before beginning compilation 11 years ago
psychobunny 90a80ad83d plugins can now define a templates directory which gets compiled onload without requiring any hooks 11 years ago
psychobunny c0cd6148f4 one final push, cleanup + organize + lint; made feeds/meta/plugins routes follow same pattern as other route files 11 years ago
psychobunny 3efca794fd regex cleanup; fixed indenting on partials 11 years ago
psychobunny 67517c58e3 added warning if partial template was not found 11 years ago
psychobunny d442e10037 template compilation + partials support 11 years ago
psychobunny 552eb78db8 template compiling init; changing themes now finally works on this branch 11 years ago
psychobunny 1dc63caf77 using views_dir config 11 years ago
psychobunny a3a0aabd22 return error if template doesn't exist 11 years ago
psychobunny c24c2a5422 search and reset routes, the very last of the views to be refactored :shipit: 11 years ago
psychobunny 8802fc5a33 fixing link tags; misc bug fixes 11 years ago
psychobunny d3aead7c13 changing renderHeader function signature to req, res, next 11 years ago
psychobunny 48b9289002 use the proper footer for admin 11 years ago
psychobunny d360320441 finally got admin header and footer working 👍 11 years ago
psychobunny eed97648b1 started moving admin mdw into middleware/admin.js; res.render post-processing to append admin footer/header 11 years ago
psychobunny 209bcaba8c middleware.updateLastOnlineTime; middleware.prepareAPI (reinstated) 11 years ago
psychobunny 94aeb3ab22 notifications route; added middleware.authenticate to user/uploadpicture api route 11 years ago
psychobunny 5b8e8e4b67 deprecating use of templates.setGlobal on server side in favour of passing in api.config into res.locals (still needs work) 11 years ago
psychobunny 138b12e815 re-added linkTags into header; clean up 11 years ago
psychobunny d75bc9578b deprecating middleware.prepareAPI in favour of using app.all('*') in /api namespace 11 years ago
psychobunny 8df33e65ac fixing bug in topics causing meta tags to revert on subsequent refresh 11 years ago
psychobunny dbbbe21883 re-implementing meta and link tags part 1 11 years ago
psychobunny 6820e9e662 random jshinting expedition 11 years ago
psychobunny 6c3c669e31 moved middleware out of webserver.js and into middleware.js 11 years ago
psychobunny 08a9ce4950 moved all app.configure() code into middleware/index.js + organization/cleanup 11 years ago