Ghost/core/server
Hannah Wolfe 243b387063 Helper Proxy & single express-hbs instance (#8225)
refs #8126, #8221, #8223

 New 'Proxy' for all helper requires
- this is not currently enforced, but could be, much like apps
- the proxy object is HUGE
- changed date to use SafeString, this should have been there anyway
- use the proxy for all helpers, including those in apps 😁

 🎨 Single instance of hbs for theme + for errors
- we now have theme/engine instead of requiring express-hbs everywhere
- only error-handler still also requires express-hbs, this is so that we can render errors without extra crud
- TODO: remove the asset helper after #8126 IF it is not needed, or else remove the TODO

🎨 Cleanup visibility utils
🎨 Clean up the proxy a little bit
🚨 Unskip test as it now works!
🎨 Minor amends as per comments
2017-04-04 18:07:35 +02:00
..
admin grunt dev admin livereload (#8176) 2017-03-30 13:27:07 +01:00
api Use "mounting" concept for active theme (#8193) 2017-03-21 10:03:09 +01:00
apps Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
auth 🐛 fix owner user slug (#8263) 2017-04-04 14:56:04 +01:00
blog Split css server templates (#8234) 2017-04-04 10:06:38 +01:00
config 🎨 change default auth strategy for development mode (#8252) 2017-04-04 11:55:05 +01:00
controllers/frontend Posts per page as theme-config (#8149) 2017-03-14 18:03:36 +01:00
data Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
mail 🎨 Ghost bootstrap: optimise requires (#8121) 2017-03-13 20:07:12 +00:00
middleware Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
models Removed ghost editor dependency (#8137) 2017-03-14 18:07:33 +00:00
permissions 🐛 fix invite permissions for editor (#7889) 2017-01-25 12:07:31 +00:00
scheduling Shows help message for broken require in scheduler adapter (#7706) 2017-01-16 21:49:41 +01:00
settings 🔥 🎨 No more updateSettingsCache (#8090) 2017-03-02 23:00:01 +01:00
storage 🔥 remove imageRelPath (#7927) 2017-02-03 14:42:05 +00:00
themes Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
translations 🔥 🎨 Cleanup & simplify theme helpers (#8223) 2017-03-23 20:00:58 +01:00
utils Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
views Split css server templates (#8234) 2017-04-04 10:06:38 +01:00
app.js 🐛 Fix the config for compression (#8226) 2017-04-03 10:58:07 +02:00
errors.js 🛠 use Ignition for logging/errors (#7869) 2017-01-23 11:04:01 +00:00
filters.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
ghost-server.js Theme loading part 1 (#7989) 2017-02-22 00:26:19 +01:00
i18n.js improvement: general fixes 2016-06-01 07:07:20 +02:00
index.js 🎨 deny auto switch (#8086) 2017-03-02 19:50:58 +00:00
logging.js 🐛 forward missing logging config: rotation 2017-02-17 18:24:14 +01:00
overrides.js 🛠 update lodash,knex and bookshelf to latest versions 2016-09-26 10:20:55 +02:00
update-check.js 🎨 send LTS parameter if requesting the update check service (#7954) 2017-02-07 19:51:19 +01:00