0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/server/data
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
..
db 🎨 ⏱ Cleanup / optimise the server.init() function (#7985) 2017-02-17 17:44:34 +01:00
export 🐛 export database read settings from database (#8103) 2017-03-08 10:26:57 +00:00
import Import from LTS blogs now properly adds tags to posts. (#7926) 2017-01-31 17:50:44 +01:00
importer 🔥 remove imageRelPath (#7927) 2017-02-03 14:42:05 +00:00
meta Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
migrations 🔥 🎨 No more updateSettingsCache (#8090) 2017-03-02 23:00:01 +01:00
schema Posts per page as theme-config (#8149) 2017-03-14 18:03:36 +01:00
slack 🎨 add urlFor('admin') and increase usage of urlFor helper (#7935) 2017-02-02 18:51:35 +00:00
validation 🔥 🎨 Themes & settings misc cleanup (#8061) 2017-02-27 23:30:49 +01:00
xml 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
timezones.json Adds UTC as select option to timezones select list 2016-06-10 15:19:16 +02:00