Commit Graph

7 Commits

Author SHA1 Message Date
Anders Böttcher 37e916594e feat: enhance session management by adding secure cookie handling based on HTTPS detection 2026-05-13 13:27:36 +02:00
Anders Böttcher 9dbbf814b4 feat: implement file deletion functionality and enhance deployment script 2026-05-13 12:35:58 +02:00
Anders Böttcher 984b282a95 feat: add admin links management and updaterup page
- Implemented AdminLinksPage for managing link entries with admin role check.
- Created API routes for fetching, updating, and deleting link entries.
- Added ProductTabs component for navigation between Backerup and Updaterup.
- Developed UpdaterupPage with detailed features, setup instructions, and statistics.
- Introduced links database functionality for runtime-editable link overrides.
2026-05-13 10:53:21 +02:00
Anders Böttcher 33e339bde6 Refactor database interactions and update footer text
- Removed community sharing and self-hosted features from the features list in page.tsx.
- Updated footer text in layout.tsx to remove the MIT License mention.
- Added @libsql/client dependency to package.json and bun.lock for database management.
- Implemented a new db.ts file to handle SQLite database connections and migrations.
- Refactored user and file management functions in users.ts and store.ts to utilize the new database client.
- Ensured legacy JSON data is imported into the new SQLite database structure on first run.
2026-05-12 16:35:10 +02:00
an14051 6e2951734e feat: update links to Gitea and enhance TerminalTyper for docker-compose support 2026-05-12 16:11:53 +02:00
Anders Böttcher 0d58fafe4e feat: implement user authentication and admin management
- Add user management API endpoints for listing and creating users.
- Implement login and logout functionality with rate limiting.
- Create UI components for login form, logout button, and animated elements.
- Add session management with JWT and secure cookie handling.
- Seed initial admin user if no users exist.
- Introduce utility functions for password hashing and user authentication.
- Set up proxy middleware for route protection and security headers.
- Create a JSON file for user data storage.
- Add links configuration for external resources.
2026-05-12 14:58:11 +02:00
Anders Böttcher 50566f2a22 Initial Commit 2026-05-11 23:39:16 +02:00