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

Apply node maintenance mode to servers #4421

Merged
merged 12 commits into from
Nov 6, 2022
Merged

Apply node maintenance mode to servers #4421

merged 12 commits into from
Nov 6, 2022

Conversation

Boy132
Copy link
Contributor

@Boy132 Boy132 commented Oct 10, 2022

Closes #2705. Closes #4288.

This applies the maintenance mode of the node to its servers.
When maintenance mode is active the server will be in a similar state as if it's suspended, e.g. it can't be started, files can't be accessed.

Also, this changes the server transformer a bit.

This also changes the color of the maintenance box in the admin area. (based on #3661)

For admins this message is displayed on the console page:
image

For all other pages (and for users on the console):
image

@richiedevs

This comment was marked as spam.

app/Models/Server.php Outdated Show resolved Hide resolved
app/Transformers/Api/Client/ServerTransformer.php Outdated Show resolved Hide resolved
@Boy132 Boy132 requested a review from matthewpi October 17, 2022 13:16
@matthewpi matthewpi changed the base branch from develop to 1.0-develop October 31, 2022 16:37
@matthewpi matthewpi merged commit 032e4f2 into pterodactyl:1.0-develop Nov 6, 2022
@Boy132 Boy132 deleted the issue/2705 branch November 6, 2022 23:04
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.

Can't update maintenance mode with application API Maintenance mode does not work
3 participants