parent
eee3c1d549
commit
a7f8dd58f2
5 changed files with 21 additions and 15 deletions
|
|
@ -6,8 +6,8 @@ builds:
|
||||||
env: [CGO_ENABLED=0]
|
env: [CGO_ENABLED=0]
|
||||||
goos:
|
goos:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
# - windows
|
||||||
- darwin
|
# - darwin
|
||||||
goarch:
|
goarch:
|
||||||
- 386
|
- 386
|
||||||
- amd64
|
- amd64
|
||||||
|
|
@ -17,15 +17,15 @@ builds:
|
||||||
- "5"
|
- "5"
|
||||||
- "6"
|
- "6"
|
||||||
- "7"
|
- "7"
|
||||||
ignore:
|
# ignore:
|
||||||
- goos: darwin
|
# - goos: darwin
|
||||||
goarch: 386
|
# goarch: 386
|
||||||
- goos: darwin
|
# - goos: darwin
|
||||||
goarch: arm
|
# goarch: arm
|
||||||
- goos: windows
|
# - goos: windows
|
||||||
goarch: 386
|
# goarch: 386
|
||||||
- goos: windows
|
# - goos: windows
|
||||||
goarch: arm
|
# goarch: arm
|
||||||
|
|
||||||
nfpms:
|
nfpms:
|
||||||
- maintainer: aceberg <aceberg_a@proton.me>
|
- maintainer: aceberg <aceberg_a@proton.me>
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,12 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
|
## [v1.0.5] - 2024-01-05
|
||||||
|
### Added
|
||||||
|
- Goreleaser for binaries [#66](https://github.com/aceberg/WatchYourLAN/issues/66)
|
||||||
|
- Better Mobile view [#51](https://github.com/aceberg/WatchYourLAN/issues/51)
|
||||||
|
- [More themes](https://github.com/aceberg/aceberg-bootswatch-fork) (emerald, grass, sand)
|
||||||
|
|
||||||
## [v1.0.4] - 2023-10-12
|
## [v1.0.4] - 2023-10-12
|
||||||
### Added
|
### Added
|
||||||
- Configurable `timeout` for `arp-scan` [#65](https://github.com/aceberg/WatchYourLAN/issues/65)
|
- Configurable `timeout` for `arp-scan` [#65](https://github.com/aceberg/WatchYourLAN/issues/65)
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ Configuration can be done through config file or environment variables
|
||||||
| AUTH_EXPIRE | Session expiration time. A number and suffix: **m, h, d** or **M**. | 7d |
|
| AUTH_EXPIRE | Session expiration time. A number and suffix: **m, h, d** or **M**. | 7d |
|
||||||
| AUTH_USER | Username | "" |
|
| AUTH_USER | Username | "" |
|
||||||
| AUTH_PASSWORD | Encrypted password (bcrypt). [How to encrypt password with bcrypt?](docs/BCRYPT.md) | "" |
|
| AUTH_PASSWORD | Encrypted password (bcrypt). [How to encrypt password with bcrypt?](docs/BCRYPT.md) | "" |
|
||||||
| COLOR | Background color: light or dark | light |
|
| COLOR | Background color: light or dark | dark |
|
||||||
| DBPATH | Path to Database | /data/db.sqlite |
|
| DBPATH | Path to Database | /data/db.sqlite |
|
||||||
| GUIIP | Address for web GUI | 0.0.0.0 |
|
| GUIIP | Address for web GUI | 0.0.0.0 |
|
||||||
| GUIPORT | Port for web GUI | 8840 |
|
| GUIPORT | Port for web GUI | 8840 |
|
||||||
|
|
@ -55,7 +55,7 @@ Configuration can be done through config file or environment variables
|
||||||
| IGNOREIP | If you want to detect unknown hosts by MAC only, set this wariable to "yes" | no |
|
| IGNOREIP | If you want to detect unknown hosts by MAC only, set this wariable to "yes" | no |
|
||||||
| LOGLEVEL | How much log output you want to see ("short" or "verbose") | verbose |
|
| LOGLEVEL | How much log output you want to see ("short" or "verbose") | verbose |
|
||||||
| SHOUTRRR_URL | Url to any notification service supported by [Shoutrrr](https://github.com/containrrr/shoutrrr) (gotify, email, telegram and others) or [Generic Webhook](https://github.com/containrrr/shoutrrr/blob/main/docs/services/generic.md) | "" |
|
| SHOUTRRR_URL | Url to any notification service supported by [Shoutrrr](https://github.com/containrrr/shoutrrr) (gotify, email, telegram and others) or [Generic Webhook](https://github.com/containrrr/shoutrrr/blob/main/docs/services/generic.md) | "" |
|
||||||
| THEME | Any theme name from https://bootswatch.com in lowcase | solar |
|
| THEME | Any theme name from https://bootswatch.com in lowcase or [additional](https://github.com/aceberg/aceberg-bootswatch-fork) (emerald, grass, sand) | solar |
|
||||||
| TIMEOUT | Time between scans (seconds) | 60 (1 minute) |
|
| TIMEOUT | Time between scans (seconds) | 60 (1 minute) |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ func Get(path string) (config models.Conf, authConf auth.Conf) {
|
||||||
viper.SetDefault("TIMEOUT", "60")
|
viper.SetDefault("TIMEOUT", "60")
|
||||||
viper.SetDefault("SHOUTRRR_URL", "")
|
viper.SetDefault("SHOUTRRR_URL", "")
|
||||||
viper.SetDefault("THEME", "solar")
|
viper.SetDefault("THEME", "solar")
|
||||||
viper.SetDefault("COLOR", "light")
|
viper.SetDefault("COLOR", "dark")
|
||||||
viper.SetDefault("IGNOREIP", "no")
|
viper.SetDefault("IGNOREIP", "no")
|
||||||
viper.SetDefault("LOGLEVEL", "verbose")
|
viper.SetDefault("LOGLEVEL", "verbose")
|
||||||
viper.SetDefault("HISTORY_DAYS", "30")
|
viper.SetDefault("HISTORY_DAYS", "30")
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
VERSION=1.0.4
|
VERSION=1.0.5
|
||||||
Loading…
Reference in a new issue