Skip to content

Commit

Permalink
Release 0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
aceberg committed Mar 10, 2024
1 parent a6086cc commit ea88d16
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# Change Log
All notable changes to this project will be documented in this file.

## [0.1.8] - 2024-03-10
### Added
- Login/Password

## [0.1.7] - 2024-03-03
### Added
- Button to add all exercises in a Group to selected day
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ Configuration can be done through config file or environment variables

| Variable | Description | Default |
| -------- | ----------- | ------- |
| AUTH | Enable Session-Cookie authentication | false |
| AUTH_EXPIRE | Session expiration time. A number and suffix: **m, h, d** or **M**. | 7d |
| AUTH_USER | Username | "" |
| AUTH_PASSWORD | Encrypted password (bcrypt). [How to encrypt password with bcrypt?](docs/BCRYPT.md) | "" |
| HOST | Listen address | 0.0.0.0 |
| PORT | Port for web GUI | 8851 |
| THEME | Any theme name from https://bootswatch.com in lowcase or [additional](https://github.com/aceberg/aceberg-bootswatch-fork) (emerald, grass, sand)| grass |
Expand Down
15 changes: 15 additions & 0 deletions docs/BCRYPT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# How to encrypt password with bcrypt?

It is not safe to store password unencrypted, so this app uses `bcrypt` encryption. There are several ways to encrypt your password.

## 1. Set password through web GUI
Then the app will encrypt it for you.

## 2. Encrypt password yourself
On Linux encryption can be done with `htpasswd` command:
```sh
htpasswd -nbBC 10 USER YourSecretPassword | sed 's/USER://'
```

## 3. Encrypt password online
There are online tools for `bcrypt` encryption.
2 changes: 1 addition & 1 deletion internal/web/public/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=0.1.7
VERSION=0.1.8

0 comments on commit ea88d16

Please sign in to comment.