16 Commits

Author SHA1 Message Date
ryan
7f2cf14d38 feat: initial user provisioning with welcome email, resend welcome
Some checks failed
Build & Release / build (push) Has been cancelled
- Provision form accepts optional initial admin user (no password needed)
- POST /customers/:slug/resend-welcome sends welcome email via customer backend
- Kebab menu "Resend Welcome" option with email input dialog
- Query latest version from backend image tags instead of chart tags

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 17:09:33 +00:00
Ryan Moon
3f79939bd3 feat: SSH key management on dev pod page — list, add, remove keys
Some checks failed
Build & Release / build (push) Has been cancelled
2026-04-05 09:36:56 -05:00
ryan
5d80742077 feat: add dev pod management page with start/stop/restart controls
All checks were successful
Build & Release / build (push) Successful in 12s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 00:25:35 +00:00
Ryan Moon
48d3fa8608 feat: hash routing, provision modal, decommission/pause rename, clickable rows
Some checks failed
Build & Release / build (push) Has been cancelled
2026-04-03 22:08:40 -05:00
Ryan Moon
8ec3b4d247 feat: add pgbouncer check to overview, auto-sync ArgoCD after upgrade
Some checks failed
Build & Release / build (push) Has been cancelled
2026-04-03 22:00:11 -05:00
Ryan Moon
31684f4a15 feat: add individual and bulk chart upgrade, fix health check URL
All checks were successful
Build & Release / build (push) Successful in 12s
2026-04-03 21:26:36 -05:00
Ryan Moon
5d296fbb2b feat: add Cloudflare DNS provisioning and health checks
All checks were successful
Build & Release / build (push) Successful in 12s
2026-04-03 20:42:49 -05:00
Ryan Moon
530698f52e feat: add infrastructure checks (DB exists, Spaces prefix) to customer overview
Some checks failed
Build & Release / build (push) Has been cancelled
2026-04-03 20:23:49 -05:00
Ryan Moon
fe62514515 feat: single shared Spaces key, deactivate/reactivate customer, status badge for inactive
Some checks failed
Build & Release / build (push) Has been cancelled
2026-04-03 20:21:52 -05:00
Ryan Moon
b11b51aa1e feat: customer detail page, size snapshots table, Spaces provisioning, Redis status cache
Some checks failed
Build & Release / build (push) Has been cancelled
2026-04-03 20:07:19 -05:00
Ryan Moon
38341aa0a9 fix: switch from httpOnly cookies to localStorage Bearer token auth
Some checks failed
Build & Release / build (push) Has been cancelled
Cookie-based auth was unreliable through Cloudflare/nginx proxy — cookie
was being sent for some requests but not others. Switch to returning JWT
in login response, storing in localStorage, and sending as Authorization
Bearer header on all API calls. Eliminates all cookie/SameSite/Secure
proxy issues.
2026-04-03 18:09:24 -05:00
Ryan Moon
accc963883 fix: persist auth cookie across refreshes and add customer detail tracking
Some checks failed
Build & Release / build (push) Has been cancelled
- Fix cookie sameSite strict → lax so browser sends it on page refresh
- Add customer name field (separate from slug)
- Add steps JSONB column tracking per-step provisioning state (DB, User, Schema, Pool, Chart)
- Insert customer record before provisioning starts so partial failures are visible
- Show status + step checklist in customers table
- Add DELETE /customers/:slug/record endpoint to clear failed records without touching infra
- Add "Record Only" button in UI for manual cleanup of partial deployments
2026-04-03 18:00:52 -05:00
Ryan Moon
d1c4aa7d6f feat: customers management UI with paginated table and full delete
All checks were successful
Build & Release / build (push) Successful in 12s
- Fix SSH key missing trailing newline (error in libcrypto)
- Pass env with SSH command through all git operations
- Add customers table (modules, start/expiration dates, created/updated timestamps)
- Idempotent ALTER TABLE for existing deployments
- GET /customers with pagination, search, and sort
- POST /customers persists slug with modules and dates to DB
- DELETE /customers/:slug removes ArgoCD chart, DO DB, pgbouncer pool, and manager record
- Redesigned frontend: dark slate theme, customers table page with search/sort/pagination, delete confirm dialog, module checkboxes, slate buttons
2026-04-03 17:48:25 -05:00
Ryan Moon
ceacd9b459 feat: redesign UI with sidebar, centered login, account page with password reset
Some checks failed
Build & Release / build (push) Failing after 5s
2026-04-03 15:13:46 -05:00
Ryan Moon
4bd1918e3b feat: add JWT auth with db-backed users
Some checks failed
Build & Release / build (push) Has been cancelled
- users table created on startup via migrate()
- POST /api/auth/setup to create first user (blocked once any user exists)
- POST /api/auth/login returns httpOnly JWT cookie (7d expiry)
- POST /api/auth/logout clears cookie
- GET /api/auth/me for auth check
- All /api/customers routes require valid JWT
- Frontend shows login form when unauthenticated
- Fix type errors in k8s, do, and pgbouncer services
2026-04-03 07:41:36 -05:00
Ryan Moon
8287fbf5b8 feat: initial lunarfront-manager app 2026-04-03 06:23:56 -05:00