Ghost/ghost/admin/app/models
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
..
action.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
api-key.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
base.js updated to use new model._meta 2020-02-10 12:41:35 +00:00
custom-theme-setting-list.js Added customThemeSettings service with all-records-in-one save request 2021-09-28 16:50:28 +01:00
custom-theme-setting.js Added support for boolean custom theme settings 2021-10-13 17:55:17 +01:00
email.js Added email feedback column (#15698) 2022-10-27 11:22:50 +04:00
integration.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
invite.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
label.js Added labels for Members (#1477) 2020-02-14 15:04:01 +05:30
member-subscription.js Updated member model to use new subscriptions structure 2019-10-03 23:10:42 +05:30
member-tier.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
member.js Add member's email status on member page (#15844) 2022-11-18 15:55:21 +04:00
navigation-item.js Ran ember-cli-update --run-codemods (#2219) 2022-01-21 19:25:47 +00:00
newsletter.js Added toggle to enable/disable audience feedback in admin (#15601) 2022-10-13 10:24:46 +04:00
notification.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
offer.js Updated default offer duration as once 2021-10-19 00:19:32 +05:30
page.js 🎨 Separated post and page list screens (#1101) 2019-02-22 10:17:33 +07:00
post.js 🐛 Hid the analtyics page for editors 2022-12-06 11:10:58 +01:00
role.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00
setting.js Wired new analytics settings for tracking email and sources 2022-10-27 17:29:33 +05:30
snippet.js Renamed snippet.title to snippet.name for consistency 2020-10-16 10:15:07 +01:00
tag.js Removed unused parent property from tag model 2022-09-07 22:33:17 +01:00
theme.js Added visible theme errors in admin (#16081) 2023-01-06 13:44:27 +01:00
tier-benefit-item.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
tier.js Handled null trial days on tiers 2022-08-09 14:14:22 +05:30
user.js Fixed hosting management screen not loading after sign-in process (#15763) 2022-11-03 11:14:36 +00:00
webhook.js Upgraded eslint-plugin-ghost and fixed new linter errors 2020-01-16 17:01:12 +00:00