0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
Hannah Wolfe 495eee7747 Use "mounting" concept for active theme (#8193)
no issue

🔥 Remove DIRTY HACK for API
- this is no longer needed, because themes get mounted in every case

 Switch to concept of 'mounted' theme
- check if active theme is mounted
- if not, mount it
- mounting is a function OF the active theme

🎨 Move theme middleware to theme module

🎨 Update theme middleware function names
- update the function names and comments to be more representative of their current functions
- this was pretty old and out of date!

🚨 Fixup tests for middleware
- ensure the objects match what we expect
- based partially on theme docs

Update TODO
2017-03-21 10:03:09 +01:00
..
api 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
auth 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +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 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
middleware Use "mounting" concept for active theme (#8193) 2017-03-21 10:03:09 +01: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 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01: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
utils 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01: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 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01: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 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +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 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
server_helpers_index_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01:00
server_helpers_template_spec.js 💄 🐷 Test consistency (#8199) 2017-03-21 09:24:11 +01: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
themes_spec.js Use "mounting" concept for active theme (#8193) 2017-03-21 10:03:09 +01: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