0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server
Kevin Ansfield c33b596e9c
Added API tests for custom theme settings (#13519)
refs https://github.com/TryGhost/Team/issues/1104

- bumped `@tryghost/custom-theme-settings-service` so it throws a more appropriate `ValidationError` when setting keys don't exist or a select value is not known
- changed the custom theme settings service to have a `.init()` method which creates an instance of the service under `.api` so that we're able to create the instance at a particular point in the boot process when we know the models have been initialised
  - there were problems in tests because the service was being initialised through the require chain before models were initialised through the boot process
- fixed incorrect `camelCase` of resource name in API responses
2021-10-08 16:18:49 +01:00
..
adapters Replaced i18n.t w/ tpl helper in scheduler-intergation (#13399) 2021-10-01 10:38:13 +01:00
api Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
data Fixed linting error from bad merge 2021-10-08 15:49:27 +01:00
lib Replaced i18n.t w/ tpl in core/server/lib/image (#13507) 2021-10-08 15:44:13 +01:00
models Replaced i18n.t w/ tpl in core/server/models (#13464) 2021-10-06 11:43:54 +01:00
public Added /email/ route to robots.txt 2021-08-10 13:45:53 +04:00
services Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
views
web Added initial Offers API 2021-10-06 12:33:19 +02:00
analytics-events.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
ghost-server.js
notify.js
overrides.js
run-update-check.js Added protective code to update-check job 2021-06-29 14:02:16 +04:00
update-check.js Fixed critical alerts sending to admin users 2021-07-07 11:29:18 +04:00