0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/api/v2
Fabien O'Carroll 078060abdc
Refactored members service logging and errors (#10919)
* Installed @tryghost/members-ssr@0.2.1

refs https://github.com/TryGhost/Members/issues/38

This updates allows for dynamic access of the membersApi, which will be
used in future when replacing the membersApi instance with a newly
configured one.

* Set the membersApiInstance logger to use common.logging

refs https://github.com/TryGhost/Members/issues/38

Passes the Ghost logger to the members api, so that we can keep an eye
on errors produced by the api.

* Refactored memberService use to always use getter

refs https://github.com/TryGhost/Members/issues/38

This will allow us to switch out the membersApi and the consumers of it
to have the updated reference by going through a getter.

* Installed @tryghost/members-api@0.3.0

refs https://github.com/TryGhost/Members/issues/38

Adds support for setting the logger

* Uninstalled stripe@7.0.0

refs https://github.com/TryGhost/Members/issues/38

The stripe module is now a dep of members-api, as it should be

* Updated members service to reconfigure settings

refs https://github.com/TryGhost/Members/issues/38

Previously we were unable to stop an invalidly configured members api
instance, now that we create a new instance, we can wait for the ready
or error event and only switch it out then.
2019-07-18 15:37:11 +08:00
..
utils Refactored members service logging and errors (#10919) 2019-07-18 15:37:11 +08:00
actions.js Added v2 actions endpoint 2019-02-06 21:36:09 +01:00
authors-public.js Renamed authors ctrl to authors-public 2019-02-26 08:33:10 +01:00
config.js Added "useGravatar" to config endpoint in Admin API v2 2019-02-25 15:39:47 +01:00
db.js 🐛 Fixed broken content import in Admin API v2 (#10299) 2018-12-20 11:01:48 +01:00
images.js Renamed uploads to images 2019-02-24 11:18:45 +07:00
index.js Reverted & Solved apiType differently 2019-02-26 08:33:10 +01:00
integrations.js Added HTTP BREAD for integrations resource (#9985) 2018-10-18 14:03:56 +01:00
invites.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
mail.js Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
members.js Refactored members service logging and errors (#10919) 2019-07-18 15:37:11 +08:00
notifications.js 🎨 Made notifications dismissible per user 2019-04-19 09:43:14 +02:00
oembed.js Add url as context to oembed unknownProvider error 2019-06-13 12:57:02 +01:00
pages-public.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
pages.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
posts-public.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
posts.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
preview.js Separated pages & posts in Admin API v2 (#10494) 2019-02-22 10:17:14 +07:00
redirects.js Extracted frontend code from redirects API controllers (#10798) 2019-06-21 16:50:16 +02:00
roles.js Migrated roles controller to API v2 2018-10-10 16:48:22 +02:00
session.js Added spam prevention for v2 sessions (#10030) 2018-10-18 09:58:29 +01:00
settings-public.js 🗑Deprecated ghost_head & ghost_foot in favour of codeinjection_* for Settings API v2 (#10380) 2019-01-15 13:03:17 +01:00
settings.js Moved settings dynamicRouting to routing.settings 2019-06-21 16:34:17 +02:00
site.js Migrated to use url-utils from Ghost-SDK (#10787) 2019-06-18 15:13:55 +02:00
slack.js Added slack controller to v2 API (#10086) 2018-11-06 23:20:43 +01:00
slugs.js Added v2 controller for slugs (#9978) 2018-10-12 17:55:20 +05:30
subscribers.js 🐛 Fixed files staying in temp directory after upload is done 2019-01-30 09:24:29 +00:00
tags-public.js Added plugin based author and public tag models in API v2 (#10284) 2019-01-03 20:30:35 +01:00
tags.js Skiped 'all' validations for posts/tags endpoints 2019-02-15 12:19:49 +00:00
themes.js 🐛 Fixed cache invalidation header on theme override 2019-07-17 18:41:25 +05:30
users.js 🐛 Allowed administrators to change other users' passwords (#10891) 2019-07-15 14:19:31 +08:00
webhooks.js Required "event" & "target_url" for webhook creation 2019-02-07 23:21:59 +01:00