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 |