Commit Graph

2080 Commits

Author SHA1 Message Date
Mikhail Solovev
fedf7db8a4 Quote table and column identifiers using SQLAlchemy dialect preparer when adding missing columns to avoid SQL injection and syntax errors. (#1237)
Some checks failed
Mark stale issues and pull requests / stale (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
2026-04-16 20:56:16 +02:00
Donald Zou
cdd85b659c Merge pull request #1227 from WGDashboard/v4.3.3-quick-fix
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Update wgd.sh
v4.3.3
2026-04-10 16:27:04 +08:00
Donald Zou
42f9460369 Update wgd.sh 2026-04-10 16:18:12 +08:00
Donald Zou
ba11a7a355 Merge pull request #1226 from WGDashboard/v4.3.3-quick-fix
Fixed quotation marks
2026-04-10 15:50:10 +08:00
Donald Zou
71f4449741 Fixed quotation marks 2026-04-10 15:45:26 +08:00
Donald Zou
081c63cd43 Merge pull request #1197 from WGDashboard/development
v4.3.3 Merge
2026-04-10 14:50:10 +08:00
Donald Zou
ebd538e2d8 Merge branch 'main' into development
Some checks failed
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
2026-04-03 17:39:46 +08:00
Donald Zou
b36b0469e1 Build Admin and Clients 2026-04-03 17:37:21 +08:00
Donald Zou
2b9a39f124 Added /json to whitelist, and fixed Email.is_ready() 2026-04-03 17:36:30 +08:00
Donald Zou
cd709c2807 Updated Peers Notes element 2026-04-03 17:00:52 +08:00
DaanSelen
6bc54e5d65 chore: also trigger on development branch (#1204)
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
* chore: also trigger on development branch

* chore: remove old debug workflow

---------

Co-authored-by: DaanSelen <dselen@systemec.nl>
2026-04-02 12:03:47 +02:00
DaanSelen
65c2e69ac6 chore: correct per review comment 2026-04-02 11:34:50 +02:00
Donald Zou
96acc10153 Merge branch 'development' of https://github.com/WGDashboard/WGDashboard into development 2026-04-02 17:34:18 +08:00
Donald Zou
1a667a60c1 Updated UpdatePeer logic 2026-04-02 17:34:02 +08:00
DaanSelen
bbc85d6a2d Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/src/static/app/development/vueuse/core-14.2.1' into development 2026-04-02 11:12:38 +02:00
DaanSelen
3995a5db47 Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/src/static/app/development/vue-router-5.0.4' into development 2026-04-02 11:12:31 +02:00
DaanSelen
b8750860a8 Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/src/static/app/development/vue-3.5.31' into development 2026-04-02 11:12:26 +02:00
dependabot[bot]
4711c750cc build(deps): bump cidr-tools from 11.0.8 to 11.3.2 in /src/static/app
Bumps [cidr-tools](https://github.com/silverwind/cidr-tools) from 11.0.8 to 11.3.2.
- [Release notes](https://github.com/silverwind/cidr-tools/releases)
- [Commits](https://github.com/silverwind/cidr-tools/compare/11.0.8...11.3.2)

---
updated-dependencies:
- dependency-name: cidr-tools
  dependency-version: 11.3.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-02 09:07:28 +00:00
dependabot[bot]
51bee91c32 build(deps): bump vue from 3.5.28 to 3.5.31 in /src/static/app
Bumps [vue](https://github.com/vuejs/core) from 3.5.28 to 3.5.31.
- [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.28...v3.5.31)

---
updated-dependencies:
- dependency-name: vue
  dependency-version: 3.5.31
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-02 09:07:17 +00:00
dependabot[bot]
5fcfe97fab build(deps): bump @vueuse/core from 14.2.0 to 14.2.1 in /src/static/app
Bumps [@vueuse/core](https://github.com/vueuse/vueuse/tree/HEAD/packages/core) from 14.2.0 to 14.2.1.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v14.2.1/packages/core)

---
updated-dependencies:
- dependency-name: "@vueuse/core"
  dependency-version: 14.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-02 09:07:03 +00:00
dependabot[bot]
74bee75df3 build(deps): bump vue-router from 5.0.2 to 5.0.4 in /src/static/app
Bumps [vue-router](https://github.com/vuejs/router) from 5.0.2 to 5.0.4.
- [Release notes](https://github.com/vuejs/router/releases)
- [Commits](https://github.com/vuejs/router/compare/v5.0.2...v5.0.4)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-version: 5.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-02 09:06:54 +00:00
DaanSelen
1aa1b8a51b chore: make dependabot target the dev branch (#1198)
Co-authored-by: DaanSelen <dselen@systemec.nl>
2026-04-02 11:06:00 +02:00
Donald Zou
833ee88340 Build Admin and Client 2026-04-02 16:35:00 +08:00
Daan Selen
6cb4bac673 Merge remote-tracking branch 'origin/dependabot/pip/src/psycopg-binary--3.3.3' into v4.3.3-dev 2026-04-02 16:30:11 +08:00
Daan Selen
e87c52b6f2 Merge remote-tracking branch 'origin/dependabot/docker/docker/v4.3.3-dev/golang-1.26-alpine3.23' into v4.3.3-dev 2026-04-02 16:29:51 +08:00
Ivan Prokudin
f53da6eacb Updated resolvconf call in entrypoint.sh to fix dns inside container (#1081)
* removed resolvconf call from entrypoint.sh to fix dns inside container

* Revert "removed resolvconf call from entrypoint.sh to fix dns inside container"

This reverts commit 428908ff84.

* Added resolvconf -a to save initial DNS configuration
2026-04-02 16:27:57 +08:00
Donald Zou
8d35887950 Dependabot: set target branch to development
Configure Dependabot to open updates against the development branch. Added target-branch: "development" for pip (/src), npm (/src/static/app), github-actions (/.github), docker (/docker) and docker-compose (/docker). Also added a new npm updates entry for /src/static/client. Update schedules remain weekly.
2026-04-02 16:25:32 +08:00
Daan Selen
ebf37c879d fix: white screen in development image 2026-04-02 16:15:52 +08:00
Donald Zou
21bea56426 Merging main branch into v4.3.2-dev
Some checks failed
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
2026-03-29 23:05:29 +08:00
Donald Zou
0a33132d26 Update README.md
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
2026-03-29 14:53:26 +08:00
Donald Zou
b15bbce9bc Merge pull request #1173 from WGDashboard/v4.3.2-security-patch
v4.3.2 security patch
v4.3.2
2026-03-29 14:31:34 +08:00
Donald Zou
ddaada8e4f Updated version number 2026-03-29 14:30:24 +08:00
Donald Zou
920f832297 Fixed where /api/clients paths are bypassed
Instead of adding `/client` in the white list, we isolate it out to check if the path starts with `APP_PREFIX/client` so then client will bypassed but not `/api/clients`
2026-03-28 23:33:47 +08:00
Donald Zou
22df8a1b1f Removed fileDownload and replaced by using downloadWireguardConfigurationBackup 2026-03-28 23:17:39 +08:00
mahemium
468d1c7642 v4.3.1 bug fix (#1149)
* Fix bugs

* Fixes and improvements

* Update comment

* Reduce comment
2026-03-28 23:13:08 +08:00
Daan Selen
f58226e398 chore: add the option for docker to not be dominant
Some checks failed
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
2026-03-16 19:02:51 +01:00
Dan Hollis
eeedf705aa fix: peer key validation regex (#1158)
Some checks failed
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
Some checks failed
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)
Some checks failed
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
Some checks failed
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
DaanSelen
e71179a2d4 fix: error on startup regarding oidc config file being weird
Some checks failed
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
2026-02-23 16:35:27 +01:00
DaanSelen
bb18c55003 fix: Configuration creation bug due to failed Nonetype checking
Some checks failed
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
2026-02-16 18:54:10 +01:00
Donald Zou
8e08d20497 Merge pull request #1130 from WGDashboard/night-refac
Some checks failed
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
refac: some WGDashboard code
2026-02-14 00:05:21 +08:00
DaanSelen
bb5d45a66d Merge remote-tracking branch 'origin/main' into v4.3.2-dev
Some checks failed
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
2026-02-12 09:45:15 +01:00
dependabot[bot]
2cdc0265b8 build(deps): bump vue-router from 4.6.4 to 5.0.2 in /src/static/app (#1131)
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Docker Build and Push / docker_build (push) Has been cancelled
Docker Build and Push / docker_scan (push) Has been cancelled
Mark stale issues and pull requests / stale (push) Has been cancelled
Bumps [vue-router](https://github.com/vuejs/router) from 4.6.4 to 5.0.2.
- [Release notes](https://github.com/vuejs/router/releases)
- [Commits](https://github.com/vuejs/router/compare/v4.6.4...v5.0.2)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-version: 5.0.2
  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>
2026-02-12 09:41:14 +01:00
dependabot[bot]
df295bf470 build(deps): bump cidr-tools from 11.0.6 to 11.0.8 in /src/static/app (#1132)
Bumps [cidr-tools](https://github.com/silverwind/cidr-tools) from 11.0.6 to 11.0.8.
- [Release notes](https://github.com/silverwind/cidr-tools/releases)
- [Commits](https://github.com/silverwind/cidr-tools/compare/11.0.6...11.0.8)

---
updated-dependencies:
- dependency-name: cidr-tools
  dependency-version: 11.0.8
  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>
2026-02-12 09:23:38 +01:00
dependabot[bot]
dfb75d77b8 build(deps): bump gunicorn from 25.0.1 to 25.0.3 in /src (#1133)
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 25.0.1 to 25.0.3.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/25.0.1...25.0.3)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-version: 25.0.3
  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>
2026-02-12 09:23:17 +01:00
dependabot[bot]
18ef023817 build(deps-dev): bump @vitejs/plugin-vue in /src/static/app (#1136)
Bumps [@vitejs/plugin-vue](https://github.com/vitejs/vite-plugin-vue/tree/HEAD/packages/plugin-vue) from 6.0.3 to 6.0.4.
- [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.4/packages/plugin-vue)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-vue"
  dependency-version: 6.0.4
  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>
2026-02-12 09:22:50 +01:00
dependabot[bot]
12da167b8c build(deps): bump is-cidr from 6.0.2 to 6.0.3 in /src/static/app (#1135)
Bumps [is-cidr](https://github.com/silverwind/is-cidr) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/silverwind/is-cidr/releases)
- [Commits](https://github.com/silverwind/is-cidr/compare/6.0.2...6.0.3)

---
updated-dependencies:
- dependency-name: is-cidr
  dependency-version: 6.0.3
  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>
2026-02-12 09:22:29 +01:00
dependabot[bot]
db78f42a04 build(deps): bump vue from 3.5.27 to 3.5.28 in /src/static/app (#1134)
Bumps [vue](https://github.com/vuejs/core) from 3.5.27 to 3.5.28.
- [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.27...v3.5.28)

---
updated-dependencies:
- dependency-name: vue
  dependency-version: 3.5.28
  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>
2026-02-12 09:22:18 +01:00