Commit graph

10 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
sirpiglr
04cf84c4b7 Allow all hosts for Vite development server in Replit environment
Configure vite.config.ts to set `allowedHosts: true` and update replit.md to document this change, enabling the development server to accept requests from Replit's dynamic proxy hostnames.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 67514a43-55bc-402d-96bf-6b8994c3e0fd
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/FjR2iCp
Replit-Helium-Checkpoint-Created: true
2025-12-02 18:16:34 +00:00
sirpiglr
855c518623 Configure Vite to work with Replit and secure file system access
Update Vite configuration to use port 5000 and host 0.0.0.0 for Replit compatibility, adjust fs.allow and fs.deny settings for improved security, and add a replit.md documentation file.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 03255903-d5eb-4d8a-aaac-72c01c2fedf6
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/dxDbFOs
Replit-Helium-Checkpoint-Created: true
2025-12-02 18:11:51 +00:00
Builder.io
f0826bed7e Prettier format pending files 2025-11-05 04:50:45 +00:00
Builder.io
b638290d74 completionId: cgen-c75845fd93d04e16ad89bbc25a976912
cgen-c75845fd93d04e16ad89bbc25a976912
2025-11-05 04:28:47 +00:00
Builder.io
5469b028bd completionId: cgen-da4aa54bbb644b918bec8dadedbe990e
cgen-da4aa54bbb644b918bec8dadedbe990e
2025-11-05 04:28:34 +00:00
Builder.io
66f2ecaca1 completionId: cgen-ff5cd93060184d52ab8de0f0feb76511
cgen-ff5cd93060184d52ab8de0f0feb76511
2025-11-05 04:28:27 +00:00
Builder.io
092222aebe completionId: cgen-3e560453cefa4c17ac040ea1be75a594
cgen-3e560453cefa4c17ac040ea1be75a594
2025-11-05 04:28:07 +00:00
Builder.io
c3ac16c346 Fix Vercel build by avoiding Supabase init during Vite config load and harden server Supabase init
cgen-ff07f5499dbd4adf8a80568e8899d8c2
2025-09-30 00:13:23 +00:00
Builder.io
37df3b33de Initial commit 2025-08-05 20:03:34 +00:00