Commit Graph
20 Commits
Author SHA1 Message Date
tben ed4a6f3ec8 Add TLS feature with Caddy 2026-10-21 09:13:59 +01:00
tbenandClaude Opus 5.5 cad1d32ae4 Redesign the frontend UI on twui
Rebuild every page on a shared set of twui-based primitives with a dense
ops-console look, WireGuard red accent and light/dark/system theming.

- Add design tokens (WireGuard red accent, zinc neutrals, theme-flipping
  semantic colours) and a no-flash theme cookie + toggle
- Add shared components: page header, panel, sub-nav, data table with
  mobile card list, stat tile, status dot, key-value list, copy button,
  inline alert, empty state, form section/actions, confirm dialog and
  toast providers
- New admin shell (sidebar, sticky header, mobile drawer) and a centered
  shell for auth and 404; strip the public template pages
- Unify adding clients at /admin/clients/add with a host picker; tabbed
  client detail (Overview / Rules / Config & QR) with config copy/download
- Re-run client setup after rule changes on the detail page so the
  firewall matches the DB
- Split Setup into status/maintenance/firewall and Settings into
  profile/password subpages
- Replace window.confirm/alert and page reloads with in-app dialogs,
  toasts and in-place list updates
- Fix nested rule form submitting the client form, prefilled signup
  passwords, hidden submit buttons, fields not updating after "next
  free" lookups, and TinyMCE white-on-white in dark mode

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-16 06:29:21 +01:00
tbenandClaude Opus 5.5 178f98104c Fix type-check after bun-sqlite 1.2.0 upgrade
Import types from @moduletrace/bun-sqlite/types now that the package
has an exports map, and guard optional ctx.props in signup server fn.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-15 21:09:27 +01:00
tben 8ed5fd1845 Update clients fetch function 2026-09-27 06:59:16 +01:00
tben f05384d8fe Add admin setup page 2026-09-20 18:15:51 +01:00
tben aa0a292943 Updates 2026-09-20 17:04:17 +01:00
tben 69111e461e Refactor main host setup 2026-09-20 15:37:57 +01:00
tben 3c1d2b61f6 Update hosts form 2026-09-20 13:48:35 +01:00
tben a9ebd8fb75 Update hosts form 2026-09-20 12:51:12 +01:00
tben 8b40a876a1 Add public IP field and Network interface to host form 2026-09-20 12:22:54 +01:00
tben 25b64281f8 Add user change password 2026-09-20 11:48:02 +01:00
tben 7910a578e6 Add user settings page 2026-09-20 11:42:05 +01:00
tben 6e3319b21c Updates 2026-09-20 10:49:14 +01:00
tben 8ec44ee0a7 Updates 2026-09-20 07:27:29 +01:00
tben d5536b49d9 Updates 2026-09-20 04:14:32 +01:00
tben cda6cff34f Complete client form 2026-09-17 08:43:00 +01:00
tben 90ee3debf0 Initialize client forms 2026-09-17 07:22:20 +01:00
tben 86eb3a0b05 Add host setup functions and client components 2026-09-13 10:52:30 +01:00
tben 9cfbde9c9a Update login pipeline. Limit login to only password 2026-09-12 14:20:07 +01:00
tben 4d75af0418 First Commit 2026-09-12 13:56:36 +01:00