Skip to content

Commit

Permalink
20240330
Browse files Browse the repository at this point in the history
Hardware:
- MDNS changed to _xzg
- MDNS add option "board" for HW indenfication
- Default hostname changed to "XZG"

Web UI:
- Fix min-width for system settings tabs
- Remove auto close side tab on mobile
- Fix logiut button style
- WG page to VPN
- Add Hursanet options to VPN page
- Add Hursenet card to root page
- Wifi page to Network
- Add Ethernet options to Network page
- Made Ethernet and WiFi card to be hide if interface is disabled
- Add sticky navbar on top of page with logo, page name
- Add current DNS server on Ethernet and WiFi cards
- Add status icons to navbar
- Root page with realtime updates
- Mobile:
  - rework side nav
  - open by any swip or tap on logo
  - close by any tap anywhere

Build and develope:
- Reworked Github Action to suppport multiline desctiption in release notes
- Reworked commit.sh, add clean commit.md at finish
- Version number format change

Docs:

Code:
- Full rework configs srtucture
- Change config storage from json files on LittleFS to NVS flash Preferences (support migrating)
- Setup proccess reworked and faster now
- Changed WG library
- Add WG connection state
- Add Ethernet and WiFi custom DNS, when no DHCP
  • Loading branch information
xyzroe committed Mar 30, 2024
1 parent a8594d0 commit 85f0a59
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Install Node JS
uses: actions/setup-node@v3
Expand Down
Binary file removed bin/XZG.bin
Binary file not shown.
Binary file modified bin/XZG_20240330.full.bin
Binary file not shown.
Binary file modified bin/XZG_20240330.ota.bin
Binary file not shown.
Binary file removed bin/XZG_v1.0.1.full.bin
Binary file not shown.
1 change: 1 addition & 0 deletions lib/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
git submodule update --init
git submodule update --recursive --remote
3 changes: 1 addition & 2 deletions src/version.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

// AUTO GENERATED FILE, DO NOT EDIT
// AUTO GENERATED FILE
#ifndef VERSION
#define VERSION "20240330"
#endif
Empty file removed tools/.no_version_increment
Empty file.
3 changes: 1 addition & 2 deletions tools/build/version_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ def get_formatted_date(dateTimeBuild):

dateTimeBuild = datetime.datetime.now()

HEADER_FILE = """
// AUTO GENERATED FILE
HEADER_FILE = """// AUTO GENERATED FILE
#ifndef VERSION
#define VERSION "{}"
#endif
Expand Down
14 changes: 11 additions & 3 deletions tools/commit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ if [ ! -f "$VERSION_HEADER" ]; then
fi

# Read version from the version file

version=$(grep '#define VERSION' "$VERSION_HEADER" | awk -F '"' '{print $2}')


Expand All @@ -38,8 +37,17 @@ $commitMessage"
# Committing changes with the formatted commit message
git commit -m "$formattedCommitMessage"

# Tagging the commit with the version
git tag "$version"
# Find first free tag
tag=$version
suffix=0
while git rev-parse "$tag" >/dev/null 2>&1; do
let "suffix+=1"
tag="${version}.${suffix}"
done
echo "Use tag: $tag"

# Tagging the commit with the version
git tag "$tag"

# Pushing changes and tags
git push
Expand Down

0 comments on commit 85f0a59

Please sign in to comment.