Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/maintenance mode #7019

Merged
merged 1 commit into from
Jul 15, 2016
Merged

Conversation

kirrg001
Copy link
Contributor

@kirrg001 kirrg001 commented Jun 20, 2016

closes #6976

TODO

  • tidy up PR
  • fix tests
  • write a test for core/server/index.js
  • big final test
  • bring back help color
  • squash

@kirrg001 kirrg001 force-pushed the feature/maintenance-mode branch 6 times, most recently from e654d10 to b02a6aa Compare June 21, 2016 08:24
@kirrg001 kirrg001 mentioned this pull request Jun 21, 2016
6 tasks
@kirrg001 kirrg001 force-pushed the feature/maintenance-mode branch 3 times, most recently from 73842e3 to ce8873c Compare June 23, 2016 05:42
@kirrg001 kirrg001 changed the title [WIP] Feature/maintenance mode Feature/maintenance mode Jun 23, 2016
if (fromVersion < versioning.canMigrateFromVersion) {
return versioning.showCannotMigrateError();
return Promise.reject(new errors.DatabaseVersion(i18n.t('errors.data.versioning.index.cannotMigrate.error')));

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@kirrg001 kirrg001 force-pushed the feature/maintenance-mode branch from ce8873c to def3463 Compare July 14, 2016 11:06
NoDatabaseFound.prototype = Object.create(Error.prototype);
NoDatabaseFound.prototype.name = 'NoDatabaseFound';

module.exports = NoDatabaseFound;

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

This comment was marked as abuse.

@kirrg001 kirrg001 force-pushed the feature/maintenance-mode branch from 71ca05c to 9c11e9d Compare July 14, 2016 13:20
closes TryGhost#6976
- add maintenance mode when running migrations
- refactor update/populate migrations
@kirrg001 kirrg001 force-pushed the feature/maintenance-mode branch from 05edbc7 to 5c67d77 Compare July 15, 2016 11:58
@kirrg001
Copy link
Contributor Author

travis is green, ready to merge

@ErisDS ErisDS merged commit 748c664 into TryGhost:master Jul 15, 2016
ErisDS added a commit to ErisDS/Ghost that referenced this pull request Jul 25, 2016
refs TryGhost#6976, TryGhost#7019, TryGhost#7125

- Ensure maintenance mode flag is set back to what is in config.js rather than defaulted to false on boot
- Remove stack trace from 503 errors
- Add error message to 503 error
- Ensure error page is rendered for Ghost-Admin on reload with 503
kirrg001 pushed a commit that referenced this pull request Jul 25, 2016
refs #6976, #7019, #7125

- Ensure maintenance mode flag is set back to what is in config.js rather than defaulted to false on boot
- Remove stack trace from 503 errors
- Add error message to 503 error
- Ensure error page is rendered for Ghost-Admin on reload with 503
chris-brown pushed a commit to chris-brown/Ghost that referenced this pull request Aug 14, 2016
closes TryGhost#6976
- add maintenance mode when running migrations
- refactor update/populate migrations
chris-brown pushed a commit to chris-brown/Ghost that referenced this pull request Aug 14, 2016
refs TryGhost#6976, TryGhost#7019, TryGhost#7125

- Ensure maintenance mode flag is set back to what is in config.js rather than defaulted to false on boot
- Remove stack trace from 503 errors
- Add error message to 503 error
- Ensure error page is rendered for Ghost-Admin on reload with 503
geekhuyang pushed a commit to geekhuyang/Ghost that referenced this pull request Nov 20, 2016
closes TryGhost#6976
- add maintenance mode when running migrations
- refactor update/populate migrations
geekhuyang pushed a commit to geekhuyang/Ghost that referenced this pull request Nov 20, 2016
refs TryGhost#6976, TryGhost#7019, TryGhost#7125

- Ensure maintenance mode flag is set back to what is in config.js rather than defaulted to false on boot
- Remove stack trace from 503 errors
- Add error message to 503 error
- Ensure error page is rendered for Ghost-Admin on reload with 503
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Maintenance Mode & Maintenance Windows
2 participants