Skyline
bbe37e08b4
feat: persist traffic history in jsondb across restarts
...
Save the traffic ring buffer to db/server/traffic_cache.json every
two minutes and on SIGINT/SIGTERM before shutdown; restore buckets on
startup. Add setup-linux-production.sh, expand FCM and passkey README
sections, and refresh the clients list after creating a peer on the
clients page.
2026-05-16 03:23:59 -06:00
Skyline
1b07fe442d
WireGuard UI v2: shell UI, i18n, passkeys, traffic, dashboard, logs
...
Summary
- Replace single-page flow with fixed shell layout (sidebar, top bar, Apply config
orchestration) and wgshell.css styling.
- Add English/Spanish UI via embedded locale JSON and template tr() + client WG_T/wgT().
New packages / modules
- locale/: embedded es.json/en.json, T(), MsgMap(), JSONForHTML for shell pages.
- handler/render_helpers.go: renderShell, injectUILang, nav apply-config badge.
- handler/passkeys.go: WebAuthn register/login begin+finish, rename/remove, clear on
global Passkeys disable; session passkey credential tracking.
- handler/wg_traffic_cache.go: in-memory WireGuard counter sampling, traffic series API.
- handler/wg_status_devices.go: wgctrl device/peer views, dashboard KPI payloads,
live peer stats for client cards.
- handler/logs_tail.go: optional file tail + systemd/journal sections for Logs page.
- util/wg_quick.go, util/wg_synconf.go: gated wg-quick and wg syncconf after apply.
- util/sysctl_linux.go + sysctl_stub.go: optional IPv4 ip_forward sysctl.
- util/host_uptime.go, util/server_ui.go: host uptime and server UI helpers.
Templates & UX
- New pages: dashboard.html, traffic.html, logs.html; extended global_settings,
login (passkey), profile, users_settings, base shell, clients card grid with
peer traffic polling.
Model / routes
- Global settings: session timeout, UI theme/language, realtime stats, Passkeys toggle;
multi-user CRUD, suspend, revoke sessions, admin role APIs (main.go + routes).
Docs
- README: WireGuard UI v2 section, expanded Features, operator notes, v2 screenshot
(GitHub user-attachments CDN URL).
Chore
- .gitignore: .DS_Store, wireguard-ui-v2 build artifact; English comments across
handlers, templates, CSS, helper.js.
2026-04-30 20:51:42 -06:00
0xCA
ecea82d172
Support for notes about clients ( #527 )
2024-01-09 21:03:27 +01:00
0xCA
41bf0bc92c
Telegram support ( #488 )
2023-12-29 09:22:12 +01:00
0xCA
a9be53899c
Subnet range selector, interface fixes ( #481 )
2023-12-27 09:08:55 +01:00
nebulosa2007
c8623082fe
Make Interface PreDown setting. ( #480 )
2023-12-25 20:23:51 +01:00
Gabriel Soares
e2e1159ef4
add endpoint field to client ( #470 )
2023-12-25 20:21:37 +01:00
Marcus Wichelmann
13a4c05ff5
fix: add basic server-side input validation ( #435 )
...
This mitigates possible path traversal attacks by using
e.g. "../user" as a user name.
2023-12-25 20:07:47 +01:00
andycandy-de
e9357d83e2
Added Table to global settings ( #308 )
2023-05-24 12:06:05 +02:00
Paul Dee
cfbdae7abb
Follow-up fix for fwmark 101b5564c2 ( #372 )
...
Remove all FwMark settings from client configs (illegal) and QRcode
(also illegal).
2023-05-24 12:02:07 +02:00
Paul Dee
b80c44af43
Fix for fwmark ( #279 )
2023-03-15 21:37:39 +01:00
Arminas
9f20fe6c09
Show apply config button only when needed ( #292 )
2023-03-15 21:15:41 +01:00
Arminas
6dd5590940
User management panel ( #289 )
2023-03-15 21:13:53 +01:00
Khanh Ngo
ea55b36a6f
Update readme and code comments ( #272 )
2022-12-13 22:44:11 +01:00
itsvit-vlasov-y
a80741e748
Added checkbox FwMark in QRCode generation ( #260 )
2022-12-02 23:40:29 +01:00
Marcus Wichelmann
2c2db61158
Add support for password hashes as an optional alternative to plaintext passwords ( #216 )
2022-09-30 10:24:54 +02:00
Fin Christensen
569eaaee37
Add environment variables for configuration ( #189 )
2022-04-26 20:35:35 +02:00
fr123k
a5fdb1ad1d
Add ForwardMark to global settings ( #173 )
2022-04-24 09:44:33 +02:00
ned3y2k
0224e1f137
Implements Wake On Lan and management features ( #164 )
2022-03-20 10:03:27 +01:00
brittondodd
341f9b6a42
Allow passing extra allowed subnets ( #114 )
2022-01-29 08:45:00 +01:00
Gerwim
2aa042b919
Added UseServerDNS option for clients who do not have to use the DNS specified in the server configuration. ( #79 )
2021-08-05 19:58:01 +02:00
Khanh Ngo
9dca2b7361
Login disable ( #35 )
...
Add ability to disable authentication
2020-10-09 23:33:29 +02:00
Jaryl Chng
b0ed08f19d
added Post Up and Post Down configuration to server interface ( #28 )
2020-09-13 21:47:01 +02:00
Khanh Ngo
9617425033
Add preshared key in wireguard config ( #15 )
2020-05-28 09:25:21 +07:00
Khanh Ngo
6f0d7bf69f
Format code
2020-04-25 13:07:05 +07:00
Khanh Ngo
a5fbb7b58a
Add authentication
2020-04-24 18:14:54 +07:00
Khanh Ngo
7c3cac8084
Add Apply Config button to save wireguard config file
2020-04-23 09:29:44 +07:00
Khanh Ngo
7aec01deed
Set correct active class on the navigation menu
2020-04-20 17:32:49 +07:00
Khanh Ngo
85e466698f
Get Endpoint Address for suggestion form
2020-04-20 16:50:50 +07:00
Khanh Ngo
e99a5ba92b
Add global setting form
2020-04-20 09:54:41 +07:00
Khanh Ngo
d5ff0cb704
Add wireguard server key pair generation
2020-04-20 00:15:25 +07:00
Khanh Ngo
febf075f8d
Add Server config page
...
Handle server ip addresses input and store
TODO: Key pair form
2020-04-19 15:50:59 +07:00
Khanh Ngo
c4e846ccd4
Generate QR code
2020-04-18 21:42:53 +07:00
Khanh Ngo
6cb8527c35
Initial commit
2020-04-18 16:17:49 +07:00