Commit Graph

24 Commits

Author SHA1 Message Date
XPS\Micro
676fcea493 fix: correct indentation in spawner-api error handling
- Fixed indentation mismatch in error handling block
- Consistent with other build error blocks
2026-01-31 12:49:31 +01:00
XPS\Micro
29145dde84 fix: switch from Alpine to Debian slim Node.js image to resolve SWC binary loading issue
- Changed FROM node:20-alpine to node:20-slim for both builder and runner stages
- Alpine (musl) is incompatible with Next.js SWC binary (glibc)
- Debian slim provides 80% smaller image compared to full node:20 (~180MB vs ~900MB)
- Fully compatible with Next.js and SWC without any patches
- Better performance and stability on Synology NAS
2026-01-31 12:39:31 +01:00
XPS\Micro
912904802c chore: unified logging in install.sh
- All build logs now written to spawner-install.log
- Added clear section headers for each build
- Replaced separate temp log files with single log file
- Added log file path hint at end of installation
2026-01-31 12:30:16 +01:00
XPS\Micro
4b8cd3eb4a fix: email verification improvements
- FRONTEND_URL now generates correct URL from BASE_DOMAIN and SPAWNER_SUBDOMAIN
- Fixed German umlaut in email button: 'bestaetigen' → 'bestätigen'
- Added 'verified=true' parameter to backend redirect for hybrid approach
- Frontend now checks 'verified' parameter and shows error if not set
- Removed unused token logic from verify-success page (backend handles verification)
- Added warning UI for unverified emails with resend link
2026-01-31 11:57:52 +01:00
XPS\Micro
63a396955e fix: wrap useSearchParams in Suspense boundary for Next.js 14 compatibility
- Added Suspense boundary to verify-success/page.tsx
- Added Suspense boundary to verify-error/page.tsx
- Fixes build error: useSearchParams() should be wrapped in a suspense boundary
- Added Loader2 fallback UI for both pages
2026-01-31 10:46:58 +01:00
XPS\Micro
1b44bb3d10 Update documentation for v0.3.0 (admin features)
- CHANGELOG.md: Add v0.3.0 with admin dashboard, email verification,
  user states, and all new features
- install/README.md: Add SMTP configuration variables
- README.md: Update version to 0.3.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 07:06:13 +01:00
XPS\Micro
99d7ed1e82 picture added 2026-01-31 07:03:14 +01:00
XPS\Micro
d188115db4 Add admin features and email verification
Backend:
- First registered user becomes admin automatically
- Email verification required before login
- Admin API with user management endpoints:
  - Block/unblock users
  - Reset passwords (sends email)
  - Delete user containers
  - Delete users
  - Resend verification emails
  - Takeover sessions (Phase 2 dummy)
- New decorators: @admin_required, @verified_required
- SMTP configuration for email sending
- UserState enum (registered/verified/active)
- Activity tracking (last_used field)

Frontend:
- Admin dashboard with color-coded user list
  - Green: active, recently used
  - Yellow: warning (unverified/inactive)
  - Red: critical (long unverified/very long inactive)
- Email verification flow (verify-success/verify-error pages)
- Signup shows verification instructions
- Login handles unverified accounts with resend option
- Admin link in dashboard header for admins

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 07:01:51 +01:00
XPS\Micro
b6fd832311 Update documentation: CHANGELOG v0.2.0, Synology compatibility guide 2026-01-31 00:01:32 +01:00
XPS\Micro
fa03fb0f3d Fix user-template-next: add baseUrl and include lib/utils.ts 2026-01-30 23:28:11 +01:00
XPS\Micro
d4af469207 Fix Dockerfiles: use npm install if package-lock.json missing 2026-01-30 23:14:30 +01:00
XPS\Micro
9e352f7430 Remove --progress=plain flag for older Docker versions (Synology) 2026-01-30 23:03:40 +01:00
XPS\Micro
e27693a1a2 Fix Docker build verification: check exit code and image existence 2026-01-30 22:58:34 +01:00
XPS\Micro
d2a2905369 Fix git safe.directory for NAS/Synology environments 2026-01-30 22:29:25 +01:00
XPS\Micro
f822b93e2e Fix redirect loop: remove /login /signup from Traefik backend routes 2026-01-30 22:16:52 +01:00
XPS\Micro
616ab44414 Fix auth.py: redirect to frontend instead of rendering templates 2026-01-30 22:08:36 +01:00
XPS\Micro
e17231eb75 Add missing frontend/src/lib files (api.ts, utils.ts) 2026-01-30 22:00:55 +01:00
XPS\Micro
68e1320d20 Add --no-cache to all Docker builds 2026-01-30 21:56:15 +01:00
XPS\Micro
c80d3c0d92 Script modified 2026-01-30 21:45:27 +01:00
XPS\Micro
43c26dc8f8 script optimized for Synology NAS 2026-01-30 21:16:23 +01:00
XPS\Micro
31165c9367 add indicator 2026-01-30 21:09:02 +01:00
XPS\Micro
6664be6149 script modified (add Versionchecks) 2026-01-30 18:06:52 +01:00
XPS\Micro
c363351483 Initial project structure with documentation 2026-01-30 18:00:41 +01:00
XPS\Micro
406ed2c158 Readme added 2026-01-30 16:43:23 +01:00