0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/api/canary
Naz 4744349381 Removed method complexity in integrations API controller
refs https://github.com/TryGhost/Team/issues/694
refs https://linear.app/tryghost/issue/CORE-10/tackle-integrationsjs

- The controller code is not meant to contain complex business logic.
- Added a test case checking 'PUT' endpoint for integrations to ensure
proper 'NotFound' handling. Found that previous implemenation was
buggy - threw a 500 as 'models.Integration.NotFoundError' that was removed
in previous commit didn't catch a needed error.
2021-09-16 14:23:48 +03:00
..
utils Fixed handling of Complimentary Stripe subscriptions (#13289) 2021-09-07 11:31:47 +01:00
actions.js
authentication.js Fixed function complexity linting warning 2021-08-12 15:38:58 +04:00
authors-public.js
config.js
db.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
email-post.js Switched post routing to uuid instead of slug 2021-08-19 12:27:45 +04:00
email-preview.js Removed emailCardSegments labs flag (#13276) 2021-09-02 13:11:11 +01:00
email.js
identities.js
images.js
index.js Added eslint override for index.js false positives 2021-08-13 12:48:49 +01:00
integrations.js Removed method complexity in integrations API controller 2021-09-16 14:23:48 +03:00
invites.js
labels.js Refactored Labels API add method back to promises 2021-09-03 20:33:28 +04:00
mail.js
members.js Fixed Complimentary subscriptions being created twice 2021-09-10 14:29:20 +02:00
memberSigninUrls.js
membersStripeConnect.js
notifications.js
oembed.js Fixed function comlexity lint warning in oembeds 2021-08-23 10:36:18 +04:00
pages-public.js
pages.js Refactored posts service instantiation logic 2021-08-06 11:57:54 +04:00
posts-public.js
posts.js Refactored posts service instantiation logic 2021-08-06 11:57:54 +04:00
preview.js
products-public.js
products.js
redirects.js
roles.js
schedules.js Removed method complexity in schedules API controller 2021-09-04 07:49:11 +12:00
session.js
settings-public.js
settings.js Fixed Complimentary subscriptions being created twice 2021-09-10 14:29:20 +02:00
site.js
slack.js Added comments to all usages of lib/common/events 2021-07-07 16:02:44 +01:00
slugs.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
snippets.js Removed use of i18n in snippets controllers 2021-07-19 11:08:55 +01:00
tags-public.js
tags.js
themes.js Removed method complexity in themes API controller 2021-09-03 20:33:28 +04:00
users.js Update cache invalidation on several routes 2021-07-07 18:12:51 +02:00
webhooks.js