Skip to content

Commit

Permalink
Next version
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed Mar 15, 2024
1 parent 248ec67 commit e4b4ccb
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 9 deletions.
49 changes: 49 additions & 0 deletions 2.3to2.4.md
Original file line number Diff line number Diff line change
@@ -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"
```
19 changes: 10 additions & 9 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</h1>

<p align="center">
Current version: <strong><code>2.3</code></strong>
Current version: <strong><code>2.4</code></strong>
</p>

<p align="center">
Expand Down Expand Up @@ -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
<p align="center">
Expand Down

0 comments on commit e4b4ccb

Please sign in to comment.