This commit is contained in:
Son NK 2020-06-10 09:22:05 +02:00
parent bee648b6b5
commit c847d205b6
3 changed files with 13 additions and 11 deletions

View File

@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [3.2.0] - 2020-06-10
Make FIDO available
Fix "remove the reverse-alias" when replying
Update GET /mailboxes

View File

@ -61,7 +61,7 @@ docker run --name sl -it --rm \
-e RESET_DB=true \
-e CONFIG=/code/example.env \
-p 7777:7777 \
simplelogin/app:3.1.1 python server.py
simplelogin/app:3.2.0 python server.py
```
Then open http://localhost:7777, you should be able to login with `john@wick.com/password` account!
@ -481,7 +481,7 @@ sudo docker run --rm \
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
-v $(pwd)/simplelogin.env:/code/.env \
--network="sl-network" \
simplelogin/app:3.1.1 flask db upgrade
simplelogin/app:3.2.0 flask db upgrade
```
This command could take a while to download the `simplelogin/app` docker image.
@ -498,7 +498,7 @@ sudo docker run -d \
-p 7777:7777 \
--restart always \
--network="sl-network" \
simplelogin/app:3.1.1
simplelogin/app:3.2.0
```
Next run the `email handler`
@ -513,7 +513,7 @@ sudo docker run -d \
-p 20381:20381 \
--restart always \
--network="sl-network" \
simplelogin/app:3.1.1 python email_handler.py
simplelogin/app:3.2.0 python email_handler.py
```
### Nginx

View File

@ -7,7 +7,7 @@ Sometimes upgrading to a major version might require running a manual migration.
If you are running versions prior to 3x, please:
1. first upgrade to 2.1.2 then
2. upgrade to the latest version which is 3.1.1
2. upgrade to the latest version which is 3.2.0
<details>
<summary>After upgrade to 3x from 2x</summary>
@ -119,11 +119,11 @@ for user in User.query.all():
</p>
</details>
## Upgrade to the latest version 3.1.1
## Upgrade to the latest version 3.2.0
```bash
# Pull the latest version
sudo docker pull simplelogin/app:3.1.1
sudo docker pull simplelogin/app:3.2.0
# Stop SimpleLogin containers
sudo docker stop sl-email sl-migration sl-app
@ -139,7 +139,7 @@ sudo docker run --rm \
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
-v $(pwd)/simplelogin.env:/code/.env \
--network="sl-network" \
simplelogin/app:3.1.1 flask db upgrade
simplelogin/app:3.2.0 flask db upgrade
# Run init data
sudo docker run --rm \
@ -149,7 +149,7 @@ sudo docker run --rm \
-v $(pwd)/dkim.key:/dkim.key \
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
--network="sl-network" \
simplelogin/app:3.1.1 python init_app.py
simplelogin/app:3.2.0 python init_app.py
# Run the webapp container
sudo docker run -d \
@ -161,7 +161,7 @@ sudo docker run -d \
-p 7777:7777 \
--restart always \
--network="sl-network" \
simplelogin/app:3.1.1
simplelogin/app:3.2.0
# Run the email handler container
sudo docker run -d \
@ -173,6 +173,6 @@ sudo docker run -d \
-p 20381:20381 \
--restart always \
--network="sl-network" \
simplelogin/app:3.1.1 python email_handler.py
simplelogin/app:3.2.0 python email_handler.py
```