Commit graph

19 commits

Author SHA1 Message Date
AeThex
7fec93e05c feat: Authentik SSO, nav systems, project pages, and schema fixes
Some checks are pending
Build / build (push) Waiting to run
Deploy / deploy (push) Waiting to run
Lint & Type Check / lint (push) Waiting to run
Security Scan / dependency-check (push) Waiting to run
Security Scan / semgrep (push) Waiting to run
Test / test (18.x) (push) Waiting to run
Test / test (20.x) (push) Waiting to run
Auth & SSO
- Wire Authentik (auth.aethex.tech) as OIDC PKCE SSO provider
- Server-side only flow with HMAC-signed stateless state token
- Account linking via authentik_sub in user metadata
- AeThex ID connection card in Dashboard connections tab
- Unlink endpoint POST /api/auth/authentik/unlink
- Fix node:https helper to bypass undici DNS bug on Node 18
- Fix resolv.conf to use 1.1.1.1/8.8.8.8 in container

Schema & types
- Regenerate database.types.ts from live Supabase schema (23k lines)
- Fix 511 TypeScript errors caused by stale 582-line types file
- Fix UserProfile import in aethex-database-adapter.ts
- Add notifications migration (title, message, read columns)

Server fixes
- Remove badge_color from achievements seed/upsert (column doesn't exist)
- Rename name→title, add slug field in achievements seed
- Remove email from all user_profiles select queries (column doesn't exist)
- Fix email-based achievement target lookup via auth.admin.listUsers
- Add GET /api/projects/:projectId endpoint
- Fix import.meta.dirname → fileURLToPath for Node 18 compatibility
- Expose VITE_APP_VERSION from package.json at build time

Navigation systems
- DevPlatformNav: reorganize into Learn/Build grouped dropdowns with descriptions
- Migrate all 11 dev-platform pages from main Layout to DevPlatformLayout
- Remove dead isDevMode context nav swap from main Layout
- EthosLayout: purple-accented tab bar (Library, Artists, Licensing, Settings)
  with member-only gating and guest CTA — migrate 4 Ethos pages
- GameForgeLayout: orange-branded sidebar with Studio section and lock icons
  for unauthenticated users — migrate GameForge + GameForgeDashboard
- SysBar: live latency ping, status dot (green/yellow/red), real version

Layout dropdown
- Role-gate Admin (owner/admin/founder only) and Internal Docs (+ staff)
- Add Internal section label with separator
- Fix settings link from /dashboard?tab=profile#settings to /dashboard?tab=settings

Project pages
- Add ProjectDetail page at /projects/:projectId
- Fix ProfilePassport "View mission" link from /projects/new to /projects/:id

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-12 05:01:10 +00:00
Builder.io
381a7dff27 Prettier format pending files 2025-11-13 03:24:02 +00:00
Builder.io
207f0bec2e Update ArtistSettings to use API_BASE
cgen-29d7e24f58644d62b1b8b667258430cb
2025-11-13 02:51:01 +00:00
Builder.io
669ab329a8 Prettier format pending files 2025-11-12 02:57:31 +00:00
Builder.io
5661ef4c33 completionId: cgen-5acbc73d6a60420baf25d0319d000149
cgen-5acbc73d6a60420baf25d0319d000149
2025-11-12 02:32:55 +00:00
Builder.io
9541d3e38b completionId: cgen-696e9cb5a553406d86ca5baf70b04c40
cgen-696e9cb5a553406d86ca5baf70b04c40
2025-11-12 02:32:50 +00:00
Builder.io
da41aae918 completionId: cgen-d29e81294a25433d82ae66d0afb377e5
cgen-d29e81294a25433d82ae66d0afb377e5
2025-11-12 02:32:36 +00:00
Builder.io
c28a584d88 completionId: cgen-21309cf14d67401b97c5f8dcf35ed683
cgen-21309cf14d67401b97c5f8dcf35ed683
2025-11-12 02:32:29 +00:00
Builder.io
3d293dc368 completionId: cgen-406a6956a33a4a06b9d97511f04af629
cgen-406a6956a33a4a06b9d97511f04af629
2025-11-12 02:32:23 +00:00
Builder.io
12baf33580 completionId: cgen-24e4b856e6de41189809d5a4bd33b432
cgen-24e4b856e6de41189809d5a4bd33b432
2025-11-12 02:32:19 +00:00
Builder.io
f42615675f completionId: cgen-8a563a0fea114c38b7bdca624ae4fdc5
cgen-8a563a0fea114c38b7bdca624ae4fdc5
2025-11-11 23:26:51 +00:00
Builder.io
00d6369a90 completionId: cgen-88ae938ab160480e81285f2eee3a1395
cgen-88ae938ab160480e81285f2eee3a1395
2025-11-11 23:26:43 +00:00
Builder.io
84ec3dfbe9 completionId: cgen-70aabae7b8fa4987ae9f7fecf76ddb36
cgen-70aabae7b8fa4987ae9f7fecf76ddb36
2025-11-11 23:26:20 +00:00
Builder.io
3a887b3529 completionId: cgen-57fb054955e44229ae22adf3a50da5ca
cgen-57fb054955e44229ae22adf3a50da5ca
2025-11-11 23:26:12 +00:00
Builder.io
160ae02dfb completionId: cgen-7b65d8d65e8a4acea97f09e1ae699475
cgen-7b65d8d65e8a4acea97f09e1ae699475
2025-11-11 23:26:07 +00:00
Builder.io
26a20f6e3a completionId: cgen-d949ec13e50f4830bd51c51337c18c44
cgen-d949ec13e50f4830bd51c51337c18c44
2025-11-11 23:26:01 +00:00
Builder.io
1dfe6e4958 completionId: cgen-c9f528c40f574fef927e6ee06f631315
cgen-c9f528c40f574fef927e6ee06f631315
2025-11-11 23:25:57 +00:00
Builder.io
6c0e1e0ca9 completionId: cgen-a88f4804e7cd457b81d063bdef749116
cgen-a88f4804e7cd457b81d063bdef749116
2025-11-11 23:25:53 +00:00
Builder.io
80527af5e4 Ethos artist settings - Manage profile, skills, pricing
cgen-b300efe22cb949c896a3daac62c47064
2025-11-11 23:10:35 +00:00