Commit Graph
11 Commits
Author SHA1 Message Date
LiamPietralla a9bef7b50d Migrate frontend to Nuxt 4 and Nuxt UI
- Upgrade to Nuxt 4 (sources under app/), add @nuxt/ui, Tailwind v4 and
  Lucide icons; drop @nuxtjs/tailwindcss
- Replace the custom Yale* components, Modal, Navbar and icon components with
  UButton/UInput/UModal/UTable/UCard/UHeader/UBadge/UAlert and toasts
- Add dark/light mode toggle and a logout button
- Add a useApi composable: central base URL/credentials, JSON-encoded bodies,
  error handling, and redirect to login when the session expires
- Fix modal listener leak, missing People heading, unhandled fetch errors and
  login redirect for already-authenticated users
- Make the code and people tables fit on phone screens
- Retake README screenshots
2026-11-16 12:23:31 +11:00
LiamPietralla d0425c8cb2 Harden backend auth, validation and error handling
- Rate limit login (5 attempts/min per IP) with a JSON 429 response
- Constant-time password comparison; refuse login if no password is configured
- Explicit SameSite=Strict auth cookie; log failed logins with client IP
- Stop logging door codes (update log lines and the SMS body)
- Replace per-action try/catch -> 400 with a global exception handler (JSON 500)
- Return proper statuses: 404 for missing person, 502 for failed lock writes
- Validate codes as ASCII digits only (int.TryParse accepted +/-/whitespace)
- Validate person name and E.164 phone number; reject sending an unset code
- Rename TwiloOptions -> TwilioOptions and fix message typos
- Expose Program for integration tests
2026-11-16 12:23:31 +11:00
LiamPietralla 768bcc90e4 corepack docker fix
Build and Publish / Build Yale Access Frontend (push) Successful in 45s
Build and Publish / Build Yale Access Backend (push) Successful in 1m51s
Build and Publish / Push Yale Access Frontend Docker Image (push) Successful in 57s
Build and Publish / Push Yale Access Backend Docker Image (push) Successful in 12s
Dependency Tracking / SBOM Generation and Upload (push) Successful in 2m27s
2026-09-29 18:29:34 +10:00
LiamPietralla 5b4d794239 dep setup
Dependency Tracking / SBOM Generation and Upload (push) Successful in 2m29s
2026-09-29 18:15:28 +10:00
LiamPietralla 69e4677d5f Merge branch 'main' into feat/logging-update
Build and Publish / Build Yale Access Frontend (pull_request) Successful in 50s
Build and Publish / Push Yale Access Frontend Docker Image (pull_request) Has been skipped
Build and Publish / Build Yale Access Backend (pull_request) Successful in 1m53s
Build and Publish / Push Yale Access Backend Docker Image (pull_request) Has been skipped
2026-02-18 09:11:24 +11:00
LiamPietralla 6d5749acd3 update .net, setup modern logging
Build and Publish / Build Yale Access Backend (pull_request) Failing after 1m28s
Build and Publish / Push Yale Access Backend Docker Image (pull_request) Has been skipped
Build and Publish / Build Yale Access Frontend (pull_request) Successful in 1m42s
Build and Publish / Push Yale Access Frontend Docker Image (pull_request) Has been skipped
2026-02-18 08:48:15 +11:00
LiamPietralla 97c7dbdba2 Added logging, update service lifetime 2025-08-20 09:10:58 +10:00
LiamPietralla e4e358da66 Merge branch 'main' into feat/updated-zwave-net 2025-07-18 19:15:05 +10:00
LiamPietralla 761b82c56c update zwave.net version 2025-07-18 19:10:33 +10:00
LiamPietralla 25bd37801f improve error handling 2025-04-12 09:24:37 +10:00
LiamPietralla f577617b4d initial commit 2025-01-10 08:37:18 +11:00