0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/services/themes
Nazar Gargol cea598597b Restructured theme check logic
refs #10571

- Removes dependency on 'context' property being set in error when
checking a theme
- Refactoring was needed to be able to avoid passing checked theme as a
part of thrown error (logic was relying on error having this specific
data in context property). This created a problem where we controlled
the logic flow with data in error object.
- Introduced 2 different types of theme check handling, one behaves the
same way as before, the other gives more granulac control to the caller
to decide what to do with returned errors.
2019-04-22 22:34:12 +02:00
..
config Added size attribute support to img_url helper (#10182) 2018-12-13 19:14:08 +07:00
engines Supported reading ghost api engine 2018-10-18 19:41:07 +02:00
active.js Used getter instead of looking up internal property 2019-04-04 10:44:43 +02:00
engine.js
index.js Restructured theme check logic 2019-04-22 22:34:12 +02:00
list.js
loader.js Moved zip folder, read csv and package-json to lib/fs 2017-12-14 22:07:53 +01:00
middleware.js Added members data to local template options 2019-04-04 10:44:43 +02:00
Storage.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
to-json.js Moved zip folder, read csv and package-json to lib/fs 2017-12-14 22:07:53 +01:00
validate.js Restructured theme check logic 2019-04-22 22:34:12 +02:00