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

feat: advanced maintenance modes #3977

Merged
merged 7 commits into from May 3, 2024
Merged

feat: advanced maintenance modes #3977

merged 7 commits into from May 3, 2024

Conversation

SychO9
Copy link
Member

@SychO9 SychO9 commented Apr 5, 2024

* feat: low maintenance mode (maintenance with admin access)

* Apply fixes from StyleCI

* chore: only required when basic

* chore: more concise code

* chore(review): enum

* feat: enable through settings

* Apply fixes from StyleCI

* core: typing
SychO9 and others added 2 commits April 9, 2024 21:09
* feat: safe mode

* feat: add extension page warning

* feat: `safe_mode_extensions`

* Apply fixes from StyleCI

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
@SychO9 SychO9 marked this pull request as ready for review April 10, 2024 17:22
@SychO9 SychO9 requested a review from a team as a code owner April 10, 2024 17:22
framework/core/js/src/admin/components/AdvancedPage.tsx Outdated Show resolved Hide resolved
framework/core/js/src/admin/components/AdvancedPage.tsx Outdated Show resolved Hide resolved
framework/core/js/src/admin/components/ExtensionPage.tsx Outdated Show resolved Hide resolved
framework/core/locale/core.yml Outdated Show resolved Hide resolved
framework/core/src/Admin/AdminServiceProvider.php Outdated Show resolved Hide resolved
framework/core/src/Extension/ExtensionManager.php Outdated Show resolved Hide resolved
@askvortsov1
Copy link
Sponsor Member

Why not use a string enum for maintenance modes instead of integers?

@SychO9
Copy link
Member Author

SychO9 commented Apr 16, 2024

Sorry, you probably reviewed a specific PR commit, I did push a third separate commit for that: 7c2a131

@SychO9 SychO9 requested a review from askvortsov1 April 16, 2024 12:48
Copy link
Sponsor Member

@askvortsov1 askvortsov1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, other than the note about adding help text to disabled extensions because of missing dependencies.

@SychO9
Copy link
Member Author

SychO9 commented May 3, 2024

image

@SychO9 SychO9 merged commit b8e1718 into 2.x May 3, 2024
25 of 29 checks passed
@SychO9 SychO9 deleted the sm/maintenance-modes branch May 3, 2024 13:05
@SychO9 SychO9 added this to the 2.0 milestone May 3, 2024
@SychO9 SychO9 self-assigned this May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Advanced Maintenance
2 participants