Commit graph

16 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
MrPiglr
25d584fd46
feat: Complete database migration and developer platform
- Applied all 31 pending Supabase migrations successfully
- Fixed 100+ policy/trigger/index duplication errors for shared database
- Resolved foundation_contributions schema mismatch (added user_id, contribution_type, resource_id, points columns)
- Added DROP IF EXISTS statements for all policies, triggers, and indexes
- Wrapped storage.objects operations in permission-safe DO blocks

Developer Platform (10 Phases Complete):
- API key management dashboard with RLS and SHA-256 hashing
- Complete API documentation (8 endpoint categories)
- 9 template starters + 9 marketplace products + 12 code examples
- Quick start guide and SDK distribution
- Testing framework and QA checklist

Database Schema Now Includes:
- Ethos: Artist/guild tracking, verification, tracks, storage
- GameForge: Games, assets, monetization
- Foundation: Courses, mentorship, resources, contributions
- Nexus: Creator marketplace, portfolios, contracts, escrow
- Corp Hub: Invoices, contracts, team management, projects
- Developer: API keys, usage logs, profiles

Platform Status: Production Ready 
2026-01-10 02:05:15 +00:00
Builder.io
9cc21cf400 completionId: cgen-0a8ee54525e8482880312880617b999e
cgen-0a8ee54525e8482880312880617b999e
2025-11-13 05:41:14 +00:00
Builder.io
4c63e4f67b completionId: cgen-65a58c58dd7d46ab89d1c415365f2f8d
cgen-65a58c58dd7d46ab89d1c415365f2f8d
2025-11-13 05:41:04 +00:00
Builder.io
7e0585aab8 completionId: cgen-72407ddcb38f4d6aacca5e09d955b819
cgen-72407ddcb38f4d6aacca5e09d955b819
2025-11-11 04:48:18 +00:00
Builder.io
0d41408ce0 Prettier format pending files 2025-10-19 00:29:17 +00:00
Builder.io
f22cccde7c Add spacing tokens and utilities to global.css
cgen-d52f7b8bedb14ad89242318be3e94bf4
2025-10-19 00:16:29 +00:00
Builder.io
959315e40c Add responsive container padding
cgen-20fd3477a3a744d8955ae26d3bc02f1c
2025-10-04 00:57:28 +00:00
Builder.io
5f15ef410b Add reduced-motion media query to decrease animations on low-power devices
cgen-a753a86e08784c10afa22ddc327f2e86
2025-09-26 21:50:20 +00:00
Builder.io
0af22f0488 Prettier format pending files 2025-08-05 23:41:41 +00:00
Builder.io
81388ca5aa Add extensive animation utilities and effects
cgen-9eb89c15ba56482caf81df8b7bb94f84
2025-08-05 22:54:34 +00:00
Builder.io
52a827d8f4 Change font to Courier New and add enhanced animations
cgen-ea28785ea95c42bdb40a5cfc01e0c6e8
2025-08-05 22:54:03 +00:00
Builder.io
c53a4721f1 Add custom CSS utilities for AeThex styling
cgen-e6c5daf43972404abb689aafc3e40c38
2025-08-05 22:46:51 +00:00
Builder.io
4bd5f4e0a1 Remove light theme from global CSS (AeThex uses dark theme)
cgen-fff5fb29fc624553b0ddef7f896f60d0
2025-08-05 22:46:41 +00:00
Builder.io
3ff9f8ec54 Update global CSS with AeThex dark theme and brand colors
cgen-4909ebb13b4a4d59b05516c838504ac8
2025-08-05 22:46:31 +00:00
Builder.io
37df3b33de Initial commit 2025-08-05 20:03:34 +00:00