Commit Graph
7 Commits
Author SHA1 Message Date
Gabriel20xx b150d835a1 feat(auth): implement session-based authentication and API token management
Server CI / Lint (push) Successful in 19s
Server CI / Build & Push Docker Image (push) Failing after 44s
- Introduced a new authentication system using session cookies for the web dashboard and API tokens for sync clients.
- Replaced the old SERVER_PASSWORD scheme with a more secure API token mechanism.
- Added routes for user setup, login, logout, and credential updates.
- Implemented middleware to require session and API token for protected routes.
- Updated web UI to handle authentication states and provide user feedback.
- Enhanced error handling in API requests and responses.
- Updated README to reflect new authentication flow and database requirements.
2026-08-01 12:51:02 +02:00
Gabriel20xx ebe5fc13c4 feat: enhance notification handling and improve code structure across multiple components 2026-06-03 17:30:24 +02:00
Gabriel20xx 18dbcd372b feat: add database initialization retry logic and enhance auth logging 2026-06-03 17:09:31 +02:00
Gabriel20xx a8c7b859a8 feat: implement notification system with polling and event handling; add device ID middleware and cleanup logic 2025-11-13 18:10:50 +01:00
Gabriel20xx 394ebfd76c refactor: remove WebSocket implementation and switch to HTTP-only sync with configurable polling interval 2025-10-26 15:12:45 +01:00
Gabriel20xx e5e72a39ac Refactor database access to use a unified dbAdapter for SQLite and PostgreSQL
- Replaced direct database calls with dbAdapter methods in fieldRoutes, itemRoutes, listRoutes, syncRoutes, and webRoutes.
- Implemented a new db.ts file to handle database interactions for both SQLite and PostgreSQL.
- Added WebSocket support for real-time synchronization in WebSocketSyncClient and ws.ts.
- Updated TypeScript configuration to include WebSocket types.
- Created a new WebSocket server for handling sync requests and responses.
- Ensured compatibility with both SQLite and PostgreSQL by using parameterized queries.
2025-10-25 17:02:42 +02:00
Gabriel20xx 9aa7ed8878 feat: Implement list management routes with CRUD operations
feat: Add sync routes for data synchronization between client and server

feat: Create web routes for serving UI and data visualization

chore: Configure TypeScript for the server project

docs: Update README with project overview, features, and setup instructions

docs: Add server setup implementation details for first-run configuration

docs: Summarize updates and changes in the project, including new features and enhancements
2025-10-24 20:27:18 +02:00