0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server/services
Hannah Wolfe d01c1cba64
Fixed undefined error when serializing webhooks
closes: https://github.com/TryGhost/Toolbox/issues/318
refs: https://github.com/TryGhost/Toolbox/issues/320
refs: 2a11d5100e

- The underlying problem was caused by the removal of API versions
  - commit 2a11d5100e
  - I missed doing the same refactor as was done for the post-emailserializer here: 2a11d5100e (diff-0f7477bb5e5a9fdcb4c909a9e9e61ab5bb76b640b2d63a5791a9d6c8904f2758R7)
  - The removal of api versions included a change to remove circular references in the api module
- Written some basic unit tests to prove that webhook serialization works
  - I'm not 100% happy with the output, and not sure if it's the tests or reality, needs further work
  - Future work tracked in https://github.com/TryGhost/Toolbox/issues/320
2022-05-03 11:40:59 +01:00
..
adapter-manager
api-version-compatibility Revert "Disabled version compatibility emails temporarily" 2022-05-03 17:18:44 +08:00
auth Renamed passwordreset body object to password_reset 2022-04-28 15:37:11 +01:00
bulk-email Added Sentry error capture for failed email update after sending is complete 2022-02-08 18:36:14 +00:00
email-analytics Prevent an event-processing error if there is no timezone setting 2022-03-02 13:58:26 +01:00
integrations Replace GhostError with InternalServerError 2021-12-14 12:17:48 +00:00
invitations
invites Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
jobs Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
mail Removed empty class attribute from emails (#13906) 2021-12-16 16:58:33 +02:00
mega 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
members Added member endpoints for managing newsletter subscriptions (#14624) 2022-04-28 17:14:17 +05:30
newsletters Wired up LimitService to NewsletterService (#14602) 2022-04-27 17:44:16 +01:00
notifications Replace error handler middleware with @tryghost/mw-error-handler (#13879) 2021-12-14 15:18:46 +00:00
offers Fixed same redirectManager used in offer service between tests (#14340) 2022-03-24 10:18:52 +01:00
permissions Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
posts 🔥 Removed versioned APIs 2022-04-28 15:37:09 +01:00
public-config 🐛 Fixed config API not returning boolean 2022-01-20 18:25:41 +02:00
redirects Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
route-settings Removed sync method from route settings loader 2022-04-28 15:37:09 +01:00
settings Added settingsCache handling to e2e-framework 2022-02-11 16:24:24 +00:00
stats Replaced stats service with @tryghost/stats-service (#14527) 2022-04-21 14:57:07 +01:00
stripe Cleaned up output errors during tests 2022-04-05 18:17:47 +08:00
themes Switched gscan to validate against v5 set of rules 2022-05-02 20:56:25 +08:00
url Removed versioned confg from URL Service 2022-04-28 15:35:28 +01:00
webhooks Fixed undefined error when serializing webhooks 2022-05-03 11:40:59 +01:00
custom-theme-settings.js
limits.js
nft-oembed.js Added fallback for NFT title when name is missing 2021-12-03 21:16:22 +02:00
oembed.js Added missing message string 2022-03-21 09:07:54 +00:00
slack.js Replaced schema.isPost in slack service /w custom fn 2022-04-05 14:24:42 +01:00
twitter-embed.js Removed richTwitterNewsletters GA labs flag 2022-01-04 13:07:39 +00:00
users.js Renamed destroyByAuthor to reassignByAuthor 2022-04-28 15:37:13 +01:00
xmlrpc.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00