Ghost/core/test/unit
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
..
api 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
auth 🐛 fix owner user slug (#8263) 2017-04-04 14:56:04 +01:00
config 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
controllers/frontend 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
mail 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
metadata Split css server templates (#8234) 2017-04-04 10:06:38 +01:00
middleware 🐛 fix favicon path (#8190) 2017-03-21 11:44:39 +00:00
models/base 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
models_plugins 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
scheduling 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
server_helpers Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
sitemap 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
storage 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
themes Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
utils 📦 Card-Rename (#8218) 2017-03-24 10:03:33 +00:00
admin_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
api_utils_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
apps_filters_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
apps_spec.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
errors_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
exporter_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
filters_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
ghost_url_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
importer_spec.js 🎨 🚑 do not use testurl.com in tests (#8254) 2017-04-03 16:29:36 +01:00
migration_fixture_utils_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
migration_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
permissions_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
rss_spec.js 🎨 🚑 do not use testurl.com in tests (#8254) 2017-04-03 16:29:36 +01:00
server_helpers_index_spec.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
server_helpers_template_spec.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
server_utils_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
showdown_client_integrated_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
slack_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
social-urls_spec.js improvement: jshint/jscs 2016-06-17 22:59:47 +02:00
utils_pipeline_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
validation_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
xmlrpc_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00