From e4b4ccb4bb43527b33c552f99b0ba917b0f9e33d Mon Sep 17 00:00:00 2001 From: Daniel Brendel Date: Fri, 15 Mar 2024 22:05:15 +0100 Subject: [PATCH] Next version --- 2.3to2.4.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ index.md | 19 ++++++++++--------- 2 files changed, 59 insertions(+), 9 deletions(-) create mode 100644 2.3to2.4.md diff --git a/2.3to2.4.md b/2.3to2.4.md new file mode 100644 index 0000000..e6208ad --- /dev/null +++ b/2.3to2.4.md @@ -0,0 +1,49 @@ +## Upgrade from 2.3 to 2.4 + +This document shows you how to upgrade HortusFox from 2.3 to 2.4. + +## General upgrade steps +The following files and folders have to be replaced: +``` +/app +/public/css +/public/js +``` + +## Version specific upgrade steps + +You can also upgrade the installer. Therefore update the following folder with all files +``` +/public/installer +``` + +The docker files have been updated +``` +.dockerignore +dockerfile +docker-compose.yml +docker-entrypoint.sh +``` + +A new table `SessionModel` was created to allow multi-device logins +```sql +id INT NOT NULL AUTO_INCREMENT PRIMARY KEY +userId INT NOT NULL +session VARCHAR(512) NOT NULL +status BOOLEAN NOT NULL DEFAULT 0 +created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP +``` + +Two columns of the `UserModel` table got dropped in favor of SessionModel +```sql +session +status +``` + +The theme data file `layout.json` got renamed to `theme.json`. +Also the theme definition file needs to provide the following attributes: +```json +"author": "Name of the author", +"version": "Theme version, e.g. 1.0", +"contact": "Contact info, e.g. e-mail or website" +``` diff --git a/index.md b/index.md index 48ee6c6..9f07462 100644 --- a/index.md +++ b/index.md @@ -4,7 +4,7 @@

- Current version: 2.3 + Current version: 2.4

@@ -53,14 +53,15 @@ as a web application and there is also an android mobile phone app available. 10. [Admin](admin.md) ## Upgrade Guides -1. [From 2.2 to 2.3](2.2to2.3.md) -2. [From 2.1 to 2.2](2.1to2.2.md) -3. [From 2.0 to 2.1](2.0to2.1.md) -4. [From 1.6 to 2.0](1.6to2.0.md) -5. [From 1.5 to 1.6](1.5to1.6.md) -6. [From 1.4 to 1.5](1.4to1.5.md) -7. [From 1.3 to 1.4](1.3to1.4.md) -8. [From 1.2 to 1.3](1.2to1.3.md) +1. [From 2.3 to 2.4](2.3to2.4.md) +2. [From 2.2 to 2.3](2.2to2.3.md) +3. [From 2.1 to 2.2](2.1to2.2.md) +4. [From 2.0 to 2.1](2.0to2.1.md) +5. [From 1.6 to 2.0](1.6to2.0.md) +6. [From 1.5 to 1.6](1.5to1.6.md) +7. [From 1.4 to 1.5](1.4to1.5.md) +8. [From 1.3 to 1.4](1.3to1.4.md) +9. [From 1.2 to 1.3](1.2to1.3.md) ## Screenshots