mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
c3b49b45cf
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 |
||
---|---|---|
.. | ||
ajax.js | ||
clock.js | ||
config.js | ||
dropdown.js | ||
event-bus.js | ||
feature.js | ||
ghost-paths.js | ||
lazy-loader.js | ||
media-queries.js | ||
notifications.js | ||
session.js | ||
settings.js | ||
slug-generator.js | ||
upgrade-notification.js | ||
upgrade-status.js |