sonda/web
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 96ad8b1f62 feat(auth): accounts are identified by an email address
Registration, login and the admin's create-user call take `email` instead of
`username`, and the user object returns `email`. The address is checked for its
shape (a plain address, no display name, at most 254 bytes), trimmed, lowercased
and unique. Sonda sends no mail and does not verify it.

- Migration 0018 renames the users column (and the PostgreSQL index); values are
  kept, so an account made before keeps its plain name and still logs in with it
  (login does not check the shape).
- Error code username_taken becomes email_taken; the JWT claim is now `email`,
  so access tokens issued before the upgrade are refused once and clients refresh.
- OpenAPI spec, README, the web login form (type email), strings (en, it) and
  the generated API types follow.

Closes #65
2026-11-12 14:40:33 +01:00
..
public feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
scripts feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
src feat(auth): accounts are identified by an email address 2026-11-12 14:40:33 +01:00
.gitignore feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
.oxlintrc.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
components.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
index.html feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
package-lock.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
package.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
tsconfig.app.json feat(web): four themes with a contrast test 2026-11-12 11:17:41 +01:00
tsconfig.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
tsconfig.node.json feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00
vite.config.ts feat(web): scaffold the React app with Vite, Tailwind and shadcn/ui 2026-11-12 11:15:50 +01:00