UI review, stage 1: 401 on /auth/*, expiring certs, VPN netmask, formatBytes

401 from change-password/change-username no longer logs the user out;
Analytics reads the plain /profiles array; VPN settings send vpn_netmask
with vpn_network (the API reset it to 255.255.255.0); formatBytes guards
null/NaN/negative; Certificates sorts 0 days correctly. Vitest added for
formatters, CIDR parsing and the 401 interceptor.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ayurishchevandClaude Sonnet 5.5 committed 2026-10-07 13:05:55 +03:00
1 parent 3fac8d70d8
commit b78de98f26
11 files changed
+672 -57

No files matched your search

+4 -2
View File
@@ -6,7 +6,8 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"test": "vitest run"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^7.1.0",
@@ -21,6 +22,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"vite": "^7.2.4"
"vite": "^7.2.4",
"vitest": "^3.2.4"
}
}