Ghost/ghost/core
Simon Backx 7b3712a15b
Added visible theme errors in admin (#16081)
refs https://github.com/TryGhost/Team/issues/2393

- During boot and loading the active theme, we now cache the result of
the gscan validation. Cache configuration can happen in
`adapters.cache.gscan`
- We now also return non-fatal errors when activating or adding a theme.
- When the `themeErrorsNotification` feature flag is on, we fetch the
active theme (which includes the validation information) when loading
admin
- If the currently active theme has errors, we show an error
notification that can open the error modal
- Added a new endpoint: `/ghost/api/admin/themes/active/` that returns
the result of the last gscan validation of the active theme. If no cache
is available, it will run a new gscan validation.
- Added new permissions for the active action/endpoint (author, editor,
administrator)
2023-01-06 13:44:27 +01:00
..
content 🎨 Updated Casper to v5.4.4 2022-12-16 12:49:21 +00:00
core Added visible theme errors in admin (#16081) 2023-01-06 13:44:27 +01:00
test Added visible theme errors in admin (#16081) 2023-01-06 13:44:27 +01:00
.c8rc.e2e.json Removed db schema config from e2e test coverage 2022-11-30 17:08:47 +07:00
.c8rc.json 🐛 Fixed SingleUseTokens being cleared on boot (#15999) 2023-01-04 09:49:39 +01:00
.eslintignore Updated .eslintignore list for core 2022-10-10 15:12:52 +07:00
.eslintrc.js Updated Eslint ECMAScript compatibility to 2022 2022-08-09 15:51:40 +02:00
.gitignore Added CI for running Playwright tests 2022-12-02 17:04:04 +00:00
.npmignore Updated .npmignore with new files 2022-11-30 12:40:47 +07:00
config.development.json Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
ghost.js Added browser-based testing framework 2022-11-22 14:12:34 +00:00
index.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
jsconfig.json Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
loggingrc.js Switched to original version for metrics 2022-08-04 19:22:57 +02:00
MigratorConfig.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
package.json ℹ️ Bumped gscan to 4.36.0 2023-01-06 18:05:07 +07:00
playwright.config.js Fixed local environment for playwright tests 2022-12-07 09:44:05 +07:00