Ghost/core/server/utils
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
..
packages 🎨 Collect & simplify package utils (#8080) 2017-03-01 14:09:31 +01:00
asset-hash.js 🐛 Refresh assetHash on theme override (#7430) 2016-09-23 13:05:44 +02:00
cached-image-size-from-url.js Call getImageSize with timeout (#8044) (#8189) 2017-03-20 12:17:27 +00:00
ghost-version.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
gravatar.js 🎨 😎 config env usages (#7929) 2017-02-03 18:25:39 +00:00
image-size-from-url.js Call getImageSize with timeout (#8044) (#8189) 2017-03-20 12:17:27 +00:00
index.js Removed ghost editor dependency (#8137) 2017-03-14 18:07:33 +00:00
labs.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
make-absolute-urls.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
mobiledoc-converter.js 📦 Card-Rename (#8218) 2017-03-24 10:03:33 +00:00
pipeline.js Pipeline util tests, clean & fix 2015-11-03 09:14:44 +00:00
read-csv.js Add CSV parser for csv read utility 2016-06-07 10:47:56 +01:00
remove-open-redirect-from-url.js Remove open redirect by removing double slashes from redirects (#7247) 2016-08-23 13:47:59 +02:00
sequence.js post-scheduling 2016-06-14 10:52:13 +02:00
social-urls.js Add helpers for facebook & twitter urls 2016-05-17 16:39:58 +01:00
tokens.js 🎨 remove token logic from user model (#7622) 2016-11-07 11:18:50 +00:00
url.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
visibility.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
zip-folder.js 🎨 Ghost bootstrap: optimise requires (#8121) 2017-03-13 20:07:12 +00:00