0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00
ghost/apps/portal/src
Simon Backx f71c074d31
Added one-click-subscribe detection (#17995)
fixes https://github.com/TryGhost/Product/issues/3820

- This adds a new public site endpoint in the members API to check if a
site can offer the one-click-subscribe feature
- This is implemented on the members API as a copy of the `site`
endpoint because the admin API site endpoint is protected by CORS and
mainly because it can be served on a different domain than the
recommended site and this is hard to detect reliably from the frontend
- Added a new calculated setting `allow_self_signup`, which can replace
the setting that is currently used in Portal (best to do this after a
release otherwise we risk creating issues if a patch release happens)
2023-09-06 15:11:14 +00:00
..
components Added one-click-subscribe detection (#17995) 2023-09-06 15:11:14 +00:00
images Updated Tips & Donations success and error states (#17559) 2023-08-01 19:48:02 +01:00
tests Updated recommendation modal copy when triggered after signup (#17985) 2023-09-05 18:50:34 +00:00
utils Fixed notification and showing of recommendation modal (#17991) 2023-09-06 12:01:27 +00:00
actions.js Updated recommendation modal copy when triggered after signup (#17985) 2023-09-05 18:50:34 +00:00
App.css Moved Portal to apps/ 2023-06-16 13:37:58 +02:00
App.js Fixed notification and showing of recommendation modal (#17991) 2023-09-06 12:01:27 +00:00
App.test.js Updated ESLint config for React+Typescript packages 2023-07-27 11:40:31 +02:00
AppContext.js Moved Portal to apps/ 2023-06-16 13:37:58 +02:00
data-attributes.js Moved Portal to apps/ 2023-06-16 13:37:58 +02:00
index.css Moved Portal to apps/ 2023-06-16 13:37:58 +02:00
index.js Updated ESLint config for React+Typescript packages 2023-07-27 11:40:31 +02:00
logo.svg Moved Portal to apps/ 2023-06-16 13:37:58 +02:00
pages.js Added basic Recommendations modal (#17877) 2023-08-30 15:24:04 +00:00
setupTests.js Moved Portal to apps/ 2023-06-16 13:37:58 +02:00