Ghost/ghost/admin
Aileen Nowak b63a396423 Added handling for forceUpgrade state (#2116)
no issue

- Lapsed trials and subscriptions will set the site's hosting config to `forceUpgrade` in which case a Ghost(Pro) site does not have a valid subscription or trial
- In this state we need to redirect all routes for all staff users to `/#/pro` to ensure the subscription can be put back into an active state
- This commit tackles
    - Route update on startup on the application route level
    - Catching and redirecting all transition (utils routes)
    - Fetching the owner user to pass this information to the Ghost(Pro) app for better communication to non-owner staff users
    - Allowing non-owner users in the force upgrade state to transition to the `/#/pro` route
2021-10-22 12:29:55 +02:00
..
.github Added codecov.io coverage uploader to CI 2021-10-21 10:37:03 +02:00
app Added handling for forceUpgrade state (#2116) 2021-10-22 12:29:55 +02:00
config Added codecov.io coverage uploader to CI 2021-10-21 10:37:03 +02:00
lib Updated offers list in email cta to include only active 2021-10-18 14:48:01 +05:30
mirage Fixed offer tests 2021-10-20 18:44:38 +05:30
public/assets Added articles to offers 2021-10-22 10:31:06 +02:00
tests Fixed tests 2021-10-21 13:16:20 +01:00
.csscomb.json Unsplash integration 2017-08-15 16:01:12 +01:00
.editorconfig deps: ember-cli@2.8.0 2016-10-07 17:32:30 +01:00
.ember-cli Co-located component template files 2020-05-18 13:14:08 +01:00
.eslintignore Bumped ember core dependencies to 3.5.x 2019-03-06 07:39:51 +00:00
.eslintrc.js Update dependency eslint-plugin-ghost to v2.0.0 2020-10-23 09:59:09 +01:00
.gitignore Updated gitignore to exclude IDE files 2021-06-09 15:42:13 +05:30
.watchmanconfig deps: ember-cli@1.13.13 2015-11-30 11:21:39 -06:00
ember-cli-build.js Initial ember-promise-modals implementation 2021-09-13 13:01:12 +01:00
ember-cli-update.json Updated core files to match ember-cli new output 2020-08-03 09:24:58 +01:00
Gruntfile.js Bower => NPM (#972) 2018-03-19 17:56:09 +00:00
LICENSE 2021 2021-01-25 16:51:15 +00:00
package.json Update dependency eslint-plugin-ghost to v2.7.0 2021-10-21 22:40:54 +00:00
README.md Updated badge URL in README 2021-02-03 09:21:06 +00:00
renovate.json Removed ember-testing group from Renovate config 2021-05-12 15:52:17 +01:00
SECURITY.md Updated links to ghost.org sites 2021-01-19 13:18:59 +13:00
testem.js Increased testem's browser_start_timeout to 120s 2020-07-20 12:20:26 +01:00
yarn.lock Update dependency eslint-plugin-ghost to v2.7.0 2021-10-21 22:40:54 +00:00

Ghost-Admin

This is the home of Ember.js based admin client that ships with Ghost.

Do you want to set up a Ghost blog? Check the getting started guide

Do you want to modify or contribute to Ghost-Admin? Please read how to install from source and swing by our forum if you need any help 😄

Have a bug or issue?

Bugs and issues (even if they only affect the admin client) should be opened on the core Ghost repository.

Copyright & License

Copyright (c) 2013-2021 Ghost Foundation - Released under the MIT license. Ghost and the Ghost Logo are trademarks of Ghost Foundation Ltd. Please see our trademark policy for info on acceptable usage.