Ghost/core/server
Hannah Wolfe f8b498d6e7 🔥 No more availableThemes (#8085)
no issue

🎨 Switch themes API to use config.availableThemes
- this gets rid of the only places where settings.availableThemes are used

🔥 Get rid of settings.availableThemes
- this is no longer used anywhere
- also get rid of every related call to updateSettingsCache

🔥 Replace config.availableThemes with theme cache
- Creates a tailor-made in-memory cache for themes inside the theme module
- Add methods for getting & setting items on the cache
- Move all references to config.availableThemes to use the new cache
- This can be abstracted later to support other kinds of caches?

🎨 Start improving theme lib's API
Still TODO: simplifying/clarifying:
- what is the structure of the internal list
- what is the difference between a package list, and a theme list?
- what is the difference between reading a theme and loading it?
- how do we update the theme list (add/remove)
- how do we refresh the theme list? (hot reload?!)
- how do we get from an internal list, to one that is sent as part of the API?
- how are we going to handle theme storage: read/write, such that the path is configurable

🎨 Use themeList consistently
🎨 Update list after storage
2017-03-02 17:53:48 +01:00
..
admin Miscellaneous code cleanup (#8031) 2017-02-21 10:39:09 +01:00
api 🔥 No more availableThemes (#8085) 2017-03-02 17:53:48 +01:00
apps 🔥 No more availableThemes (#8085) 2017-03-02 17:53:48 +01:00
auth 🐛 🎨 old accesstokens are not cleaned up (#8065) 2017-03-01 10:12:03 +00:00
blog 🎨 rename redirects middleware to custom-redirects 2017-02-07 20:05:50 +01:00
config 🎨 optimise requires for MigratorConfig (#8088) 2017-03-02 16:02:23 +00:00
controllers/frontend 🔥 No more availableThemes (#8085) 2017-03-02 17:53:48 +01:00
data 🔥 🎨 Themes & settings misc cleanup (#8061) 2017-02-27 23:30:49 +01:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
mail 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
middleware 🔥 No more availableThemes (#8085) 2017-03-02 17:53:48 +01:00
models 🐛 🎨 old accesstokens are not cleaned up (#8065) 2017-03-01 10:12:03 +00:00
permissions 🐛 fix invite permissions for editor (#7889) 2017-01-25 12:07:31 +00:00
scheduling Shows help message for broken require in scheduler adapter (#7706) 2017-01-16 21:49:41 +01:00
settings 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
storage 🔥 remove imageRelPath (#7927) 2017-02-03 14:42:05 +00:00
themes 🔥 No more availableThemes (#8085) 2017-03-02 17:53:48 +01:00
translations Add email validation in case of profile update (#7928) 2017-02-08 10:50:43 +01:00
utils 🎨 Collect & simplify package utils (#8080) 2017-03-01 14:09:31 +01:00
views Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
app.js 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
errors.js 🛠 use Ignition for logging/errors (#7869) 2017-01-23 11:04:01 +00:00
filters.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00
ghost-server.js Theme loading part 1 (#7989) 2017-02-22 00:26:19 +01:00
i18n.js improvement: general fixes 2016-06-01 07:07:20 +02:00
index.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
logging.js 🐛 forward missing logging config: rotation 2017-02-17 18:24:14 +01:00
overrides.js 🛠 update lodash,knex and bookshelf to latest versions 2016-09-26 10:20:55 +02:00
update-check.js 🎨 send LTS parameter if requesting the update check service (#7954) 2017-02-07 19:51:19 +01:00