From ca7b7864161ab228d1ad9296df01fdd053bf0fff Mon Sep 17 00:00:00 2001 From: Jonathan Wu Date: Tue, 9 May 2023 12:40:15 -0400 Subject: [PATCH] Bump version --- docs/SECURITY.md | 4 ++-- src/application.py | 2 +- src/migrate.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/SECURITY.md b/docs/SECURITY.md index 33753cc..f96755b 100644 --- a/docs/SECURITY.md +++ b/docs/SECURITY.md @@ -8,8 +8,8 @@ Please refer to the chart below for versions with security support | ----------- | ------------------ | | Prereleases | :x: | | Betas | :x: | -| >= 3.2.1 | :white_check_mark: | -| < 3.2.1 | :x: | +| >= 4.0.0 | :white_check_mark: | +| < 4.0.0 | :x: | As you can tell, it is strongly recommended to always be on the latest stable major release. It is strongly recommended to run the application on a modern Linux distribution with Python >=3.8. diff --git a/src/application.py b/src/application.py index 1affaf8..0433336 100644 --- a/src/application.py +++ b/src/application.py @@ -1646,7 +1646,7 @@ def download_problem(problem_id): @app.route("/admin/console") @admin_required def admin_console(): - return render_template("admin/console.html", ver="v3.2.2", + return render_template("admin/console.html", ver="v4.0.0", maintenance_mode=os.path.exists('maintenance_mode')) diff --git a/src/migrate.py b/src/migrate.py index 0353a31..f2955e4 100644 --- a/src/migrate.py +++ b/src/migrate.py @@ -4,7 +4,7 @@ msg = """ [WARNING] THIS IS A MAJOR UPDATE. THE ENTIRE CTFOJ FILE STRUCTURE IS CHANGING. Before migrating, please confirm the following: - - You are on v3.2.0 (older version please update to one of these first, new version no migrate necessary) + - You are on v3.2.x (older version please update to one of these first, new version no migrate necessary) - You have write permissions in the current directory Please note that migration is a one-way operation. Once it is completed, you will not be able to revert to the previous version without a FULL backup.