freetushkan
930c4169c5
A patch to support a wide range of AmneziaWG versions. ( #1210 )
...
Support for all keys ever used in AmneziaWG has been added. Setting an empty value to a key will prevent it from being used or rendered in the configuration. This ensures flexible support for all versions and specific configurations.
2026-04-30 16:23:26 +02:00
Dan Hollis
eeedf705aa
fix: peer key validation regex ( #1158 )
...
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
* fix: peer key validation regex
* refactor: cache cleaned AllowedIPs from validation pass to avoid duplication
---------
Co-authored-by: Dan Hollis <dh@redteam.sh >
2026-03-03 09:04:30 +01:00
DaanSelen
b9c271ff4c
fix: regex invalid escape sequence
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
2026-03-02 10:38:16 +01:00
mahemium
ba4ac7c1ec
v4.3.1 bug fix ( #1149 )
...
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
* Fix bugs
* Fixes and improvements
* Update comment
* Reduce comment
2026-02-26 12:15:52 +01:00
freetushkan
06097316ec
fix: incorrect backup regex
...
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
* More accurate backup regex.
Fixed an issue with picking up other backups when the names partially match.
* More accurate backup regex 2.
2026-02-24 10:23:01 +01:00
Daan Selen
f742f9de49
refac: some WGDashboard code
2026-02-07 03:03:35 +01:00
Mikhail Solovev
82f170cd57
Fixed Bug. Unpredicted grow of cumulative data counters when using MySQL DB with 7 digits float precision. ( #1125 )
...
* build(deps): bump @vue/language-server in /src/static/app (#1063 )
Bumps [@vue/language-server](https://github.com/vuejs/language-tools/tree/HEAD/packages/language-server ) from 3.1.8 to 3.2.2.
- [Release notes](https://github.com/vuejs/language-tools/releases )
- [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vuejs/language-tools/commits/v3.2.2/packages/language-server )
---
updated-dependencies:
- dependency-name: "@vue/language-server"
dependency-version: 3.2.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump pinia from 3.0.3 to 3.0.4 in /src/static/app (#1065 )
Bumps [pinia](https://github.com/vuejs/pinia ) from 3.0.3 to 3.0.4.
- [Release notes](https://github.com/vuejs/pinia/releases )
- [Commits](https://github.com/vuejs/pinia/compare/v3.0.3...v3.0.4 )
---
updated-dependencies:
- dependency-name: pinia
dependency-version: 3.0.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps-dev): bump @vitejs/plugin-vue in /src/static/app (#1067 )
Bumps [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue ) from 6.0.1 to 6.0.3.
- [Release notes](https://github.com/vitejs/vite-plugin-vue/releases )
- [Changelog](https://github.com/vitejs/vite-plugin-vue/blob/main/packages/plugin-vue/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite-plugin-vue/commits/plugin-vue@6.0.3/packages/plugin-vue )
---
updated-dependencies:
- dependency-name: "@vitejs/plugin-vue"
dependency-version: 6.0.3
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump electron-builder in /src/static/app (#1064 )
Bumps [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder ) from 26.0.12 to 26.4.0.
- [Release notes](https://github.com/electron-userland/electron-builder/releases )
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md )
- [Commits](https://github.com/electron-userland/electron-builder/commits/electron-builder@26.4.0/packages/electron-builder )
---
updated-dependencies:
- dependency-name: electron-builder
dependency-version: 26.4.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump @volar/language-server in /src/static/app (#1066 )
Bumps [@volar/language-server](https://github.com/volarjs/volar.js/tree/HEAD/packages/language-server ) from 2.4.26 to 2.4.27.
- [Release notes](https://github.com/volarjs/volar.js/releases )
- [Changelog](https://github.com/volarjs/volar.js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/volarjs/volar.js/commits/v2.4.27/packages/language-server )
---
updated-dependencies:
- dependency-name: "@volar/language-server"
dependency-version: 2.4.27
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: change docs
* docs: correctly escape pipes
* build(deps): bump npm from 11.6.4 to 11.8.0 in /src/static/app (#1104 )
Bumps [npm](https://github.com/npm/cli ) from 11.6.4 to 11.8.0.
- [Release notes](https://github.com/npm/cli/releases )
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md )
- [Commits](https://github.com/npm/cli/compare/v11.6.4...v11.8.0 )
---
updated-dependencies:
- dependency-name: npm
dependency-version: 11.8.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump gunicorn from 23.0.0 to 24.1.1 in /src (#1103 )
Bumps [gunicorn](https://github.com/benoitc/gunicorn ) from 23.0.0 to 24.1.1.
- [Release notes](https://github.com/benoitc/gunicorn/releases )
- [Commits](https://github.com/benoitc/gunicorn/compare/23.0.0...24.1.1 )
---
updated-dependencies:
- dependency-name: gunicorn
dependency-version: 24.1.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump is-cidr from 6.0.1 to 6.0.2 in /src/static/app (#1102 )
Bumps [is-cidr](https://github.com/silverwind/is-cidr ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/silverwind/is-cidr/releases )
- [Commits](https://github.com/silverwind/is-cidr/compare/6.0.1...6.0.2 )
---
updated-dependencies:
- dependency-name: is-cidr
dependency-version: 6.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump sqlalchemy from 2.0.45 to 2.0.46 in /src (#1101 )
Bumps [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy ) from 2.0.45 to 2.0.46.
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases )
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst )
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits )
---
updated-dependencies:
- dependency-name: sqlalchemy
dependency-version: 2.0.46
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix npm audit tar vulnerabilities (#1093 )
* Harden npm deps via tar override
* chore: retrigger review
---------
Co-authored-by: Super User <root@vpn.northcaptiva.com >
* build(deps): bump @vue/language-server in /src/static/app (#1100 )
Bumps [@vue/language-server](https://github.com/vuejs/language-tools/tree/HEAD/packages/language-server ) from 3.2.2 to 3.2.4.
- [Release notes](https://github.com/vuejs/language-tools/releases )
- [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vuejs/language-tools/commits/v3.2.4/packages/language-server )
---
updated-dependencies:
- dependency-name: "@vue/language-server"
dependency-version: 3.2.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump vue from 3.5.26 to 3.5.27 in /src/static/app (#1087 )
Bumps [vue](https://github.com/vuejs/core ) from 3.5.26 to 3.5.27.
- [Release notes](https://github.com/vuejs/core/releases )
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md )
- [Commits](https://github.com/vuejs/core/compare/v3.5.26...v3.5.27 )
---
updated-dependencies:
- dependency-name: vue
dependency-version: 3.5.27
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps-dev): bump vite from 7.3.0 to 7.3.1 in /src/static/app (#1082 )
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 7.3.0 to 7.3.1.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.1/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v7.3.1/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 7.3.1
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump psutil from 7.2.1 to 7.2.2 in /src
Bumps [psutil](https://github.com/giampaolo/psutil ) from 7.2.1 to 7.2.2.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst )
- [Commits](https://github.com/giampaolo/psutil/compare/release-7.2.1...release-7.2.2 )
---
updated-dependencies:
- dependency-name: psutil
dependency-version: 7.2.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps): bump gunicorn from 24.1.1 to 25.0.1 in /src
Bumps [gunicorn](https://github.com/benoitc/gunicorn ) from 24.1.1 to 25.0.1.
- [Release notes](https://github.com/benoitc/gunicorn/releases )
- [Commits](https://github.com/benoitc/gunicorn/compare/24.1.1...25.0.1 )
---
updated-dependencies:
- dependency-name: gunicorn
dependency-version: 25.0.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Refine total_sent and total_receive with precision factor
Adjusted total_sent and total_receive calculations for accuracy.
The database engine may have lower floating-point precision than the Python engine. This can lead to situations where the current bytes count compares lower than the database data. This causes an increase in cumulative traffic each time such a precision collision occurs.
* Update WireguardConfiguration.py
It better make some fix in comparation only, and don't touch saved values.
* Update WireguardConfiguration.py
wrong symbol
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: DaanSelen <dselen@systemec.nl >
Co-authored-by: zombu4 <dom@northcaptiva.com >
Co-authored-by: Super User <root@vpn.northcaptiva.com >
2026-02-05 23:22:31 +01:00
Daan Selen
6239b8237a
Merge branch 'amnezia-params' into v4.3.2-dev
2026-01-03 12:36:46 +01:00
Donald Zou
c8967b449b
Added checks and output to log wether configuration started properly or not
2025-12-30 21:55:37 +08:00
Donald Zou
72effeecf0
Update WireguardConfiguration.py
2025-12-30 21:47:33 +08:00
Donald Zou
dcaf5eff32
Update WireguardConfiguration.py
2025-12-30 21:38:06 +08:00
DaanSelen
faf9e663b3
chore: trying to inplement the AWG parameters
2025-12-29 17:03:21 +01:00
Donald Zou
c7c9d62e80
Update WireguardConfiguration.py
2025-12-15 21:02:22 +08:00
Donald Zou
f5ccbdf9d3
Fixed Restricted Peer might still appear after restricted
2025-12-15 17:13:46 +08:00
Donald Zou
f4f0ab27ef
Final Testing
2025-12-07 11:20:48 +08:00
Donald Zou
2ee1b3b138
Manage Tracking Feature Done
2025-12-02 11:00:54 +08:00
Donald Zou
876a079be3
Update
2025-12-01 10:15:59 +08:00
Donald Zou
10c9b5635f
Fixed duplicated data
2025-10-24 09:53:40 +08:00
Donald Zou
d763867566
Fixed stale job issue
2025-10-24 09:21:48 +08:00
Donald Zou
3bd5e02118
Merge pull request #880 from WGDashboard/v4.3-dev-docker
...
V4.3 dev docker
2025-09-16 16:59:09 +08:00
Donald Zou
f231e9214c
Testing with 2 threads 1 worker
2025-09-15 22:09:57 +08:00
Donald Zou
3673813e6a
Cleaned some code files
2025-09-15 21:48:00 +08:00
Daan Selen
73a969a6bf
feat: slight refactors to improve logic
2025-09-15 13:20:17 +02:00
Donald Zou
2eb3a17775
Added "State" status for webhook session
2025-09-14 15:38:19 +08:00
Donald Zou
91a3b52a4a
Update
2025-09-13 08:23:54 +08:00
Donald Zou
4644840009
Handle backup folder error
2025-09-11 10:38:30 +08:00
Donald Zou
43d055a8b4
Update WireguardConfiguration.py
...
Accepted suggestion from #842
2025-09-07 17:44:16 +08:00
Donald Zou
604d53d2f0
Added feature #525
2025-09-07 17:04:22 +08:00
Donald Zou
62d3332522
Update WireguardConfiguration.py
...
Resolved bug where peer is not added when mtu and keepalive is empty
2025-09-07 02:03:24 +08:00
Donald Zou
9caed31185
Added IP logging for #525
2025-09-05 17:57:50 +08:00
Donald Zou
caacbfae03
Added peer traffic and session
2025-08-29 16:55:33 +08:00
Donald Zou
85fa427134
Webhooks feature is done #669
2025-08-28 16:11:01 +08:00
Donald Zou
f360ef5d2f
Testing webhooks
2025-08-25 16:06:41 +08:00
Donald Zou
eab2c9d358
Fixed the issue where Job and Share link is not delete when peer deleted
2025-08-20 15:11:01 +08:00
Donald Zou
b8792200c6
Peer groups are done... ish?
2025-08-20 15:11:01 +08:00
Donald Zou
24940886f6
Vite build
2025-08-20 15:10:55 +08:00
Donald Zou
a511eb21fc
Completed override peer settings
2025-08-20 15:10:55 +08:00
Donald Zou
b4814e281f
Update WireguardConfiguration.py
2025-08-20 15:10:55 +08:00
Donald Zou
88f40b244a
Still need to work on validation
2025-08-20 15:10:55 +08:00
Donald Zou
3e3047f23e
Added configuration descriptions
2025-08-20 15:10:55 +08:00
Donald Zou
00d11880e8
Added WireguardConfigurationInfo
2025-08-20 15:10:55 +08:00
Donald Zou
c757cee988
Added Pydantic for configurations info
2025-08-20 15:10:55 +08:00
Donald Zou
2aa2b15234
Added RRD Tool plugins
2025-08-20 15:10:55 +08:00
Donald Zou
41c5b4bd64
Optimized loading speed for peer information
2025-08-20 15:10:55 +08:00
Donald Zou
29600cb54c
Moved connection string to an individual file
2025-08-20 15:06:27 +08:00
Donald Zou
d0e46a517b
Update SQLAlchemy Settings
2025-08-20 15:06:27 +08:00
Donald Zou
c94345cb2f
Update
2025-08-20 15:06:27 +08:00
Donald Zou
e2882acec1
Finally moved all class to its own file
2025-08-20 15:06:27 +08:00