refactor: enhance scheduler task detail page with improved UI and status handling
style: update scheduler overview page with new layout and styling for task statistics
feat: create placeholder portfolio and profile pages
chore: update SQLite database schema
- Added constants for session management in `auth.ts`.
- Created an authentication guard middleware in `02.auth-guard.ts` to protect API routes.
- Introduced caching mechanism in `00.cache.ts` and `01.context.ts` for improved performance.
- Developed user authentication context in `context.ts` to manage user sessions.
- Implemented cookie handling functions in `cookie.ts` for session management.
- Added error handling for authentication in `errors.ts`.
- Enhanced user authentication logic in `index.ts` with session creation and validation.
- Created captcha service for user registration and login in `captcha` directory.
- Established configuration management with error handling in `config` directory.
- Added utility functions for admin role verification and API route allowlisting.
- Implemented rate limiting to prevent abuse of API endpoints.
- Added user authentication functionality including login, registration, and session management.
- Integrated captcha for login and registration processes to enhance security.
- Created API endpoints for user actions: login, logout, register, and fetching user session.
- Implemented middleware for route protection based on user authentication status.
- Introduced composables for managing authentication state and global configuration.
- Updated TopNav component to reflect user login status and provide navigation links accordingly.
- Added database schema for user sessions and application configurations.
- Introduced `scheduled_tasks` and `task_execution_logs` tables for managing scheduled tasks and their execution logs.
- Implemented CRUD operations for tasks in the scheduler service.
- Added API endpoints for task management including creation, retrieval, updating, deletion, and execution triggering.
- Implemented task execution logic for both function and HTTP tasks with retry and timeout handling.
- Added a task cleanup job to remove old execution logs.
- Introduced an executor pool to manage concurrent task executions.
- Registered a cleanup task for log management.
- Enhanced stats retrieval for total tasks, enabled tasks, and recent executions.