0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00
ghost/core/server
Fabien O'Carroll 177411045a
Moved members static pages to members api URL (#10887)
* Installed @tryghost/members-api@0.2.0

refs #10886

This will allow us to mount one router rather than having a static and
api router.

* Added members v2 api directory

refs #10886

This brings the members api more inline with how the rest of the apis
work within Ghost.

* Mounted the members api app to the api route

closes #10886

This successfully mounts the api and the static pages to the
/api/v2/members/ URL.

* Installed @tryghost/members-auth-pages@1.0.0

refs #10886

This updates the auth pages to work correctly with the new mount point.

* Changed membersUrl in members.js to use members api

refs #10886

This keeps the membersUrl lined up with the path for the static
members pages.

* Removed old members static mount point

refs #10886

These are no longer used, nor desired.

* Remove superfluous code from members service

refs #10886

This remove the gateway getter which is no longer used, and the fallback
for members not enabled - which is handled within the members app.

* Updated ssoOrigin to use admin url

refs #10886

This ensures that sites running on a separate admin domain have the
correct ssoOrigin, which is used to ensure only the designated auth
pages are used to hit the authentication endpoints.

Since the auth pages are now hosted under the `/ghost` url, they will be
on the admin origin and not the site origin
2019-07-09 19:02:44 +08:00
..
adapters Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
api Removed stray use of urlService.utils 2019-07-08 17:53:29 +02:00
config 🐛 Allowed .ico files to be uploaded for icons. (#10820) 2019-07-01 13:29:24 +07:00
data Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
lib Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
models Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
public Moved members static pages to members api URL (#10887) 2019-07-09 19:02:44 +08:00
services Moved members static pages to members api URL (#10887) 2019-07-09 19:02:44 +08:00
translations 🐛 Disallowed locked/suspended users from being made owner via the API (#10647) 2019-04-16 10:30:29 +01:00
views Aliased {{@blog}} as {{@site}} in the theme API 2019-01-04 12:17:32 +00:00
web Moved members static pages to members api URL (#10887) 2019-07-09 19:02:44 +08:00
analytics-events.js Added event to integrations when created (#10588) 2019-03-11 15:28:17 +01:00
ghost-server.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
index.js Extracted settings service part manipulating routes.yaml (#10800) 2019-06-25 18:33:56 +02:00
overrides.js Disabled bluebird debug logs 2018-08-13 14:01:31 +02:00
update-check.js Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00