From 07cbe561bdf5777968736e686a0c1eb35cf21726 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Sat, 19 Apr 2025 15:14:40 +0100 Subject: [PATCH] Add stupidly bigger update warning to update page. Add reminder note to check ITFlow backup (one in every ten page loads) --- admin_update.php | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/admin_update.php b/admin_update.php index 9f2df4fa..c1accee9 100644 --- a/admin_update.php +++ b/admin_update.php @@ -32,8 +32,11 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format CURRENT_DATABASE_VERSION) { ?> -
- Ensure you have a current app & database backup before updating! +
+

⚠️ DANGER ⚠️

+

Do NOT run updates without first taking a backup

+

VM Snapshots are highly recommended over other methods - see the docs. Review the changelog for breaking changes that may require manual remediation.

+

Ignore this warning at your own risk.


Update Database
@@ -46,9 +49,17 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format +
+

⚠️ DANGER ⚠️

+

Do NOT run updates without first taking a backup

+

VM Snapshots are highly recommended over other methods - see the docs. Review the changelog for breaking changes that may require manual remediation.

+

Ignore this warning at your own risk.

+
-
Update App
-
FORCE Update App
+
TEST
+ +
Update App
+
FORCE Update App

Application Release Version:

@@ -56,6 +67,17 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format

Code Commit:

You are up to date!
Everything is going to be alright


+ + +
+ + +