Skip to content

Commit ea88d16

Browse files
committed
Release 0.1.8
1 parent a6086cc commit ea88d16

File tree

4 files changed

+24
-1
lines changed

4 files changed

+24
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
# Change Log
33
All notable changes to this project will be documented in this file.
44

5+
## [0.1.8] - 2024-03-10
6+
### Added
7+
- Login/Password
8+
59
## [0.1.7] - 2024-03-03
610
### Added
711
- Button to add all exercises in a Group to selected day

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ Configuration can be done through config file or environment variables
4242

4343
| Variable | Description | Default |
4444
| -------- | ----------- | ------- |
45+
| AUTH | Enable Session-Cookie authentication | false |
46+
| AUTH_EXPIRE | Session expiration time. A number and suffix: **m, h, d** or **M**. | 7d |
47+
| AUTH_USER | Username | "" |
48+
| AUTH_PASSWORD | Encrypted password (bcrypt). [How to encrypt password with bcrypt?](docs/BCRYPT.md) | "" |
4549
| HOST | Listen address | 0.0.0.0 |
4650
| PORT | Port for web GUI | 8851 |
4751
| THEME | Any theme name from https://bootswatch.com in lowcase or [additional](https://github.com/aceberg/aceberg-bootswatch-fork) (emerald, grass, sand)| grass |

docs/BCRYPT.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# How to encrypt password with bcrypt?
2+
3+
It is not safe to store password unencrypted, so this app uses `bcrypt` encryption. There are several ways to encrypt your password.
4+
5+
## 1. Set password through web GUI
6+
Then the app will encrypt it for you.
7+
8+
## 2. Encrypt password yourself
9+
On Linux encryption can be done with `htpasswd` command:
10+
```sh
11+
htpasswd -nbBC 10 USER YourSecretPassword | sed 's/USER://'
12+
```
13+
14+
## 3. Encrypt password online
15+
There are online tools for `bcrypt` encryption.

internal/web/public/version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION=0.1.7
1+
VERSION=0.1.8

0 commit comments

Comments
 (0)