0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core/server/services
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
..
adapter-manager
auth Replaced i18n.t w/ tpl helper in core/server/services/auth (#13458) 2021-10-06 09:42:44 +01:00
bulk-email
email-analytics
integrations
invitations Replaced i18n with tpl in accept.js (#13471) 2021-10-08 15:21:22 +01:00
invites Replaced i18n.t w/ tpl in class Invites (#13506) 2021-10-08 15:42:50 +01:00
jobs
mail
mega Link color udpate in newsletter 2021-10-08 15:55:55 +02:00
members Added support for Offers with Stripe Checkout 2021-10-06 17:24:39 +02:00
notifications Remove i18n dependency from notifications service 2021-10-07 17:36:13 +02:00
offers Added support for Offers with Stripe Checkout 2021-10-06 17:24:39 +02:00
permissions Replaced i18n.t w/ tpl helper in providers.js 2021-10-07 11:32:07 +01:00
posts 🐛 Fixed immediately sent email when scheduling email-only post 2021-10-05 16:42:29 +02:00
public-config
redirects Added validation to redirects config 2021-10-04 18:32:40 +02:00
route-settings Fixed comma dangle 2021-09-30 18:22:32 +02:00
settings Refactored secret settings util functions 2021-09-21 23:05:57 +12:00
stripe Moved StripeAPIService to its own service 2021-10-04 19:28:19 +02:00
themes Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
webhooks
custom-theme-settings.js Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
limits.js
oembed.js Replaced i18n.t w/ tpl in class OEmbed (#13492) 2021-10-08 15:32:16 +01:00
slack.js
users.js
xmlrpc.js