Ghost/ghost/admin/tests/unit/components
Kevin Ansfield c3b49b45cf 🎨 synchronous settings service
no issue
- adds `settings` service that acts as a proxy to the singular settings model with methods to fetch and reload, also prevents accidentally loading only some settings types which has caused problems in the past
- updates app boot, signin, and signup processes to fetch settings ensuring that any part of the app can grab settings synchronously if needed
- removes `timeZone` service, it's no longer needed as we can grab `settings.activeTimezone` directly
- replaces all store queries for the settings model with appropriate `settings` methods
- refactors `apps/*` routes/controllers, they had become a little convoluted with the way they were dealing with settings and the new service helped to clean that up
2017-03-20 07:43:49 -05:00
..
gh-alert-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-app-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-editor-save-button-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-infinite-scroll-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-navitem-url-input-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-notification-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-post-settings-menu-test.js 🎨 synchronous settings service 2017-03-20 07:43:49 -05:00
gh-selectize-test.js fix gh-selectize-test 2017-02-01 17:03:38 -06:00
gh-spin-button-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-upgrade-notification-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-url-preview_test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-user-active-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00
gh-user-invited-test.js tests: Convert to new testing API 2016-11-27 15:26:05 +01:00