11 Commits

Author SHA1 Message Date
Peter Meier
2f3f460e0f Fix middleware matcher for /admin root path
All checks were successful
Deploy to Server / deploy (push) Successful in 1m9s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 21:56:43 +01:00
Peter Meier
b432621919 Add proper login to Admin UI, replace Caddy basic_auth
All checks were successful
Deploy to Server / deploy (push) Successful in 1m55s
- iron-session for encrypted httpOnly session cookies
- POST /api/auth/login: verifies ADMIN_USERNAME/ADMIN_PASSWORD, sets session, returns API key
- POST /api/auth/logout: destroys session
- middleware.ts: protects all routes, redirects to /login if unauthenticated
- Login page: username + password form (no more browser popup)
- Sidebar: logout calls API route and clears session
- docker-compose.prod.yml: admin-ui reads /opt/rustycms/.env.admin
- deploy.yml: generates .env.admin from Gitea secrets
- Caddy: basic_auth removed from /admin* block

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 21:49:32 +01:00
Peter Meier
ff91a9ff86 Fix TypeScript error: cast unknown to boolean in JSX condition
Some checks failed
Deploy to Server / deploy (push) Failing after 57s
2026-03-15 14:13:11 +01:00
Peter Meier
ecd257fb8f Add Gitea Actions deploy workflow and server configuration
Some checks failed
Deploy to Server / deploy (push) Failing after 1m49s
- Add basePath /admin to Next.js config for path-based routing
- Add .gitea/workflows/deploy.yml for CI/CD via Gitea Actions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 13:52:41 +01:00
Peter Meier
11d46049d1 Enhance admin UI and schema management: Introduce generic handling for image/asset URL fields, ensuring explicit widget usage for image previews. Update translations for new UI elements and implement field ordering in schema definitions. Add functionality for managing field extensions and improve asset filtering in the admin UI. 2026-03-14 00:08:52 +01:00
Peter Meier
084a1d9e2a Update admin UI translations and enhance content list: Add 'Status' and 'Published' labels in German and English, and implement status display in the content list page. Format related pages in demo welcome JSON for better readability. 2026-03-13 11:09:03 +01:00
Peter Meier
606455c59b Enhance documentation and admin UI: Add detailed implementation guidelines in CLAUDE.md, introduce a referrer index in README.md, and update admin UI translations for improved user experience. Update package dependencies for better functionality and performance. 2026-03-13 10:55:33 +01:00
Peter Meier
7754d800f5 Refactor DashboardCollectionList: Simplify search input layout and improve tag selection logic for better user experience. 2026-03-12 16:36:20 +01:00
Peter Meier
22b4367c47 Enhance RustyCMS: Update .gitignore to include demo assets, improve admin UI dependency management, and add new translations for asset management. Implement asset date filtering and enhance content forms with asset previews. Introduce caching mechanisms for improved performance and add support for draft status in content entries. 2026-03-12 16:03:26 +01:00
Peter Meier
7795a238e1 RustyCMS: file-based headless CMS — API, Admin UI (content, types, assets), Docker/Caddy, image transform; only demo type and demo content in version control
Made-with: Cursor
2026-03-12 14:21:49 +01:00
Peter Meier
aad93d145f RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-16 09:30:30 +01:00