bchanot
|
aa1985eead
|
test(app): identity step — auth store, locale sync, login/signup, guards, shell, dashboard, account
- tests/helpers/fakeSupabase: in-memory auth events + profiles/profile_roles builder
- validation schemas and safeNextPath; classifyAuthError mapping (packages/supabase)
- LoginRoute (unavailable, validation, next path, phrased failure, OAuth buttons, show password)
- SignupRoute (policy, mismatch, metadata + redirect, user exists)
- RequireAuth / RedirectIfSignedIn, AppLayout (nav, active, drawer, sign out), Dashboard, Account forms
|
2026-10-11 23:33:25 +02:00 |
|
bchanot
|
c517ea267b
|
feat(app): identity screens and /app shell — auth store, login/signup/reset flows, dashboard, account
- state/authStore: session subscription (initialize + onAuthStateChange), profile + roles load, recovery flag, URL failure; services/localeSync: profiles.locale <-> localeStore
- routes: /login, /signup, /forgot-password, /reset-password, /auth/callback; guards RequireAuth (next=) and RedirectIfSignedIn; /app (dashboard), /app/account behind the guard
- shell: AppLayout (desktop sidebar, light top bar, mobile drawer), SidebarNav, UserBadge, SignOutButton
- account: personal / professional / preferences / security sections, one save each, Zod validation with i18n keys
- ui: Icon, FormField, Notice, ButtonLink (buttonClassName shared), PasswordField, OAuthButtons (config-driven)
- Home header: Mon espace / Se connecter when Supabase is configured; local tool routes untouched
- i18n: auth.*, shell.*, dashboard.*, account.*, home.space.* in fr + en
|
2026-10-11 23:29:13 +02:00 |
|
bchanot
|
b10b227ee9
|
feat(supabase): auth, profile and roles services; professional columns on profiles; OAuth + TOTP config
- packages/supabase: signIn/signUp/OAuth/reset/updatePassword/signOut wrappers with a closed AuthFailure kind, fetch/update own profile, own platform roles
- migration 20261011100000: practice_name, professional_title, siret (format-checked, column grants); pgTAP 009; database.types regenerated
- config.toml: TOTP enroll/verify on, [auth.external.google|apple] via env(), wildcard redirect URLs
- app config: authProviders (APP_AUTH_PROVIDERS / VITE_AUTH_PROVIDERS), entrypoint env.js, DEPLOY table
- TODO: Step 7 plan
|
2026-10-11 23:16:13 +02:00 |
|
bchanot
|
6870d87910
|
feat(anatomy): curation pipeline — changeset schema, applier with before/after records, cleaned single asset, draft seed, changelog + review report generators; seed layout legacy-import/curation/draft
|
2026-10-09 16:50:08 +02:00 |
|
bchanot
|
3dbbfdf1df
|
feat(domain): sheet document schema v2 — references registry, review_status, vertebral count_range; SQL gate + pgTAP 008
|
2026-10-09 16:30:58 +02:00 |
|
bchanot
|
dee4ce43d9
|
fix(supabase): confirmed uploads gate asset reads (hash claim), seeds-listed test, Dockerfile workspace manifests; importer declares every authored label, real in=out control
|
2026-10-09 00:50:36 +02:00 |
|
bchanot
|
e5a0445b19
|
test(supabase): equine seed + storage pgTAP on both engines; docs for Step 4b; upload script resolves from caller dir
|
2026-10-09 00:38:49 +02:00 |
|
bchanot
|
f4682cdba5
|
feat(supabase): sheet asset Storage bucket + read policy through the sheet, shim storage tables, seeds in the PGlite harness, upload script
|
2026-10-09 00:28:34 +02:00 |
|
bchanot
|
d3fa65af29
|
fix(supabase): revoke PUBLIC EXECUTE on private helpers, audited visibility RPC, input caps, authz-first RPCs, +32 pgTAP checks
|
2026-10-08 23:59:39 +02:00 |
|
bchanot
|
8cac8b1a68
|
feat(supabase): regenerated types, row aliases, publishSheetVersion gate, schema test
|
2026-10-08 23:42:44 +02:00 |
|
bchanot
|
8b233e5cf0
|
chore(supabase): adopt CLI-generated database.types.ts; db:types scripts pipe through prettier
|
2026-10-08 23:04:21 +02:00 |
|
bchanot
|
ab04b2e43d
|
style(supabase): prettier pass on the new TypeScript files
|
2026-10-08 22:46:37 +02:00 |
|
bchanot
|
ce76c6597a
|
feat(supabase): @faunosteo/supabase package with PGlite harness and typed client
- tests/db: PGlite (PostgreSQL 17 WASM) applies the Supabase shim + migrations and
runs supabase/tests/*.sql through pgTAP without Docker
- schema-types test pins tables, columns, enums, RPC args, RLS-on, no using(true)
- database.types.ts in supabase gen types format; createBrowserClient (PKCE)
- Supabase CLI pinned as root devDependency; db:* root scripts
|
2026-10-08 22:20:54 +02:00 |
|