Commit Graph

419 Commits

Author SHA1 Message Date
Donald Zou
2b9a39f124 Added /json to whitelist, and fixed Email.is_ready() 2026-04-03 17:36:30 +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
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
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
Daan Selen
f742f9de49 refac: some WGDashboard code 2026-02-07 03:03:35 +01:00
Daan Selen
d2b05b77c8 chore: make the error handling a bit more graceful 2026-01-03 13:32:55 +01:00
DaanSelen
17e23685ec refac: Email.py module with bugfix (#1058)
* refac: refactor Email.py module for clarity

* chore: rework ready method for dynamic config

* chore: implement resolvconf from v4.3.2-dev
2026-01-03 13:00:23 +01:00
Donald Zou
c35f06b262 Merge branch 'v4.3.2-dev' into app-prefix 2025-12-25 15:39:26 +08:00
Donald Zou
87ff8afefe Add peer tracking toggle to WireGuard dashboard
Introduces a 'peer_tracking' configuration option for WireGuard in DashboardConfig and updates the dashboard background thread to respect this setting. The Vue component now includes a UI toggle for peer tracking, updates the server configuration via API, and conditionally loads tracking data based on the toggle state.
2025-12-19 09:22:45 +08:00
Donald Zou
40e2dddc00 Optimize peer tracking table counts API and UI
Enhanced the /api/getPeerTrackingTableCounts endpoint to support returning counts for all configurations when no name is provided. Updated frontend components to fetch all tracking data in a single request, improving efficiency and user experience. Bumped dashboard version to 4.3.2.
2025-12-19 07:04:07 +08:00
leviofanh
f58e572558 Fix: Fixed support for WGDashboardClient, now its static files are processed separately 2025-12-18 06:40:52 +01:00
leviofanh
9e9f07408d Added full support for the app-prefix parameter 2025-12-18 02:38:05 +01:00
Donald Zou
e5d1a64d7d Update to Python 3.14-alpine and refactor IP parsing
Bump Dockerfile base image from python:3.13.3-alpine to python:3.14-alpine for both build and runtime stages. Refactor IP address parsing in dashboard.py for improved clarity and variable naming.
2025-12-13 16:05:12 +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
9dd5341fd9 Remove app access log into the database 2025-10-24 09:53:09 +08:00
Donald Zou
18531b71c7 Fixed schedule task delete issue 2025-10-24 08:47:02 +08:00
Donald Zou
8ee16b4173 Fixed for #843 2025-09-17 16:35:57 +08:00
Donald Zou
93a5624294 Update dashboard.py
Fix for #892
2025-09-17 11:50:36 +08:00
Donald Zou
51ba9a86fa Updated AWG 2025-09-16 07:46:25 +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
Gary Deeble
73d701eb08 Fix: Add subject variable to allow test email 2025-09-14 14:00:17 -04: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
41dbdc8ccd Update dashboard.py 2025-09-11 11:14:19 +08:00
Donald Zou
4644840009 Handle backup folder error 2025-09-11 10:38:30 +08:00
Donald Zou
b3889bb1e3 Feature for #844 2025-09-08 15:12:16 +08:00
Donald Zou
2dce79bb85 Added Jinja template for subject #837 2025-09-07 22:12:22 +08:00
Donald Zou
604d53d2f0 Added feature #525 2025-09-07 17:04:22 +08:00
Donald Zou
9caed31185 Added IP logging for #525 2025-09-05 17:57:50 +08:00
Donald Zou
030c1bdcba Added toggle for client side app 2025-09-05 16:39:59 +08:00
Donald Zou
44af7eba11 Finished forgot password for clients app 2025-09-05 15:48:11 +08:00
Donald Zou
572c223854 Adjusted styles 2025-09-01 22:35:43 +08:00
Donald Zou
632c4f3dc7 Peer history 2025-09-01 17:16:03 +08:00
Donald Zou
caacbfae03 Added peer traffic and session 2025-08-29 16:55:33 +08:00
Donald Zou
3b3c071402 Done for #491 2025-08-28 17:58:02 +08:00
Donald Zou
85fa427134 Webhooks feature is done #669 2025-08-28 16:11:01 +08:00
Donald Zou
c3c7e50f08 Testing system status and webhook 2025-08-27 19:39:52 +08:00
Donald Zou
f865317600 Finished most of the webhook UI 2025-08-26 00:41:37 +08:00
Donald Zou
f360ef5d2f Testing webhooks 2025-08-25 16:06:41 +08:00
Donald Zou
f6e625c5f8 Webhook UI 2025-08-22 18:26:31 +08:00
Donald Zou
38e0a939c2 Added Webhooks Class 2025-08-20 16:47:07 +08:00
Donald Zou
2ec190ecfd Update for plugin 2025-08-20 15:26:07 +08:00