admin and Claude Haiku 4.5
582504c24b
feat(design): colour banners and badges by meaning, document slice 1 and update design notes
...
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-10-01 09:36:01 +08:00
admin and Claude Haiku 4.5
01343d732e
feat(design): switch to IMS Admin tokens, Geist and the 1px-rule gate
...
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-10-01 09:26:08 +08:00
admin and Claude Haiku 4.5
c5a98eed06
feat(design): sweep off-system styles and add the check:design gate
...
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-09-30 20:39:44 +08:00
admin and Claude Haiku 4.5
3a941a357b
refactor(design): drop rounded classes, swap bg-white and gray borders for tokens
...
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com >
2026-09-30 19:02:28 +08:00
admin and Claude Sonnet 4.6
d18d29168a
feat(auth): phase 3 — replace Supabase GoTrue with bcryptjs+jose
...
Custom auth stack: bcryptjs password hashing (cost 10, GoTrue-compatible),
jose JWT session cookies (edge-safe, 8hr TTL), new API routes for
login/logout/reset/change-password, middleware rewritten to JWT-only
verification with no DB access. All 38 protected pages and API routes
migrated from supabase.auth.getUser() to getSession(). Supabase .from()
queries retained for Phase 4. lib/db/index.ts refactored to lazy Proxy
singleton to avoid module-level throw during Next.js build.
tsc: clean, build: clean, tests: 4/4 passed
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-23 16:20:04 +08:00
admin and Claude Sonnet 4.6
4fbab33de4
fix(auth): add forgot/reset to public routes, use Link for basePath, add session guard
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01WMymkhHZiaYZtUeH9MEHZQ
2026-07-21 22:36:53 +08:00
admin
4d7ab5d7da
feat(auth): add forgot password link to login form
2026-07-21 22:28:26 +08:00
admin and Claude Sonnet 4.6
559859470b
feat: add login page and auth callback route
...
- Replace default Next.js home with role-aware root redirect
- Add email/password login form (client component, signInWithPassword)
- Add auth callback route for Supabase code exchange
- Login page at /login, callback at /api/auth/callback
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01AWxyMibCuGGtSQSqfajDQ7
2026-07-09 22:18:21 +08:00