Release 2.0.4 (#101,#140,#147,#148)

This commit is contained in:
aceberg 2024-10-21 01:54:22 +07:00
parent 6ab27978f0
commit 638e57b107
5 changed files with 29 additions and 15 deletions

View file

@ -16,14 +16,14 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
# - name: Build and Push Docker Image to docker.io - name: Build and Push Docker Image to docker.io
# uses: mr-smithers-excellent/docker-build-push@v6 uses: mr-smithers-excellent/docker-build-push@v6
# with: with:
# image: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }} image: ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}
# tags: ${{ env.TAGS }} tags: ${{ env.TAGS }}
# registry: docker.io registry: docker.io
# username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Login to GHCR - name: Login to GHCR
uses: docker/login-action@v3 uses: docker/login-action@v3

View file

@ -52,6 +52,8 @@ jobs:
push: true push: true
tags: | tags: |
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:v2 ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:v2
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:latest
${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }} ${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}
ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:v2 ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:v2
ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:latest
ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }} ghcr.io/${{ secrets.DOCKER_USERNAME }}/${{ env.IMAGE_NAME }}:${{ env.VERSION }}

View file

@ -1,7 +1,7 @@
# 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.
## [v2.0.4] - 2024- ## [v2.0.4] - 2024-10-21
### Added ### Added
- Notification test [#147](https://github.com/aceberg/WatchYourLAN/issues/147) - Notification test [#147](https://github.com/aceberg/WatchYourLAN/issues/147)
- API status [#148](https://github.com/aceberg/WatchYourLAN/issues/148) - API status [#148](https://github.com/aceberg/WatchYourLAN/issues/148)
@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
### Fixed ### Fixed
- [#101](https://github.com/aceberg/WatchYourLAN/issues/101) - [#101](https://github.com/aceberg/WatchYourLAN/issues/101)
- The same problem for Theme, Color mode, Log level - The same problem for Theme, Color mode, Log level
- Sort bug in Chrome [#140](https://github.com/aceberg/WatchYourLAN/issues/140)
## [v2.0.3] - 2024-09-17 ## [v2.0.3] - 2024-09-17
### Fixed ### Fixed

View file

@ -18,10 +18,7 @@ Lightweight network IP scanner with web GUI. Features:
- Send data to `InfluxDB2` to make a `Grafana` dashboard - Send data to `InfluxDB2` to make a `Grafana` dashboard
> [!WARNING] > [!WARNING]
> This is version 2.0. Version 1.0 can be found in this branch: [v1](https://github.com/aceberg/WatchYourLAN/tree/v1) > This is version 2.0, which is now tagged `latest`. Version 1.0 can be found in this branch: [v1](https://github.com/aceberg/WatchYourLAN/tree/v1). **BREAKING CHANGES!** Version 2.0 is not compatible with v1.0.
> [!CAUTION]
> **BREAKING CHANGES!** Version 2.0 is not compatible with v1.0. For now v2.0 docker images will be released under `v2` tag. It will be tagged `latest` in a few weeks (probably, in October).
> [!TIP] > [!TIP]
> WatchYourLAN supports `vlan`s, `docker0` and other complicated scans since `v2.0.1`. How-to [here](https://github.com/aceberg/WatchYourLAN/blob/main/docs/VLAN_ARP_SCAN.md). > WatchYourLAN supports `vlan`s, `docker0` and other complicated scans since `v2.0.1`. How-to [here](https://github.com/aceberg/WatchYourLAN/blob/main/docs/VLAN_ARP_SCAN.md).
@ -58,6 +55,20 @@ Web GUI should be at http://localhost:8840
</details> </details>
## Install on Linux
<details>
<summary>Expand</summary>
All binary packages can be found in [latest](https://github.com/aceberg/WatchYourLAN/releases/latest) release. There are `.deb`, `.rpm`, `.apk` (Alpine Linux) and `.tar.gz` files.
Supported architectures: `amd64`, `i386`, `arm_v5`, `arm_v6`, `arm_v7`.
Dependencies: `arp-scan`, `tzdata`.
For `amd64` there is a `deb` repo [available](https://github.com/aceberg/ppa)
</details>
## Config ## Config
<details> <details>
<summary>Expand</summary> <summary>Expand</summary>

View file

@ -26,9 +26,9 @@ function sortByAny(someArray) {
function byField(a, b, fieldName, down){ function byField(a, b, fieldName, down){
if (a[fieldName] > b[fieldName]) { if (a[fieldName] > b[fieldName]) {
return down; return down ? 1 : -1;
} else { } else {
return !down; return !down ? 1 : -1;
} }
} }