- Implemented GET, POST, PUT, and DELETE endpoints for managing LLM models and providers.
- Added user authorization checks to ensure only authorized users can access or modify resources.
- Enhanced provider and model retrieval functions to include user-specific data.
- Updated database service functions to handle user IDs for better data isolation.
- Introduced error handling for invalid inputs and unauthorized actions.
- Implemented GET, POST, PUT, DELETE endpoints for LLM providers and models.
- Added validation for provider and model IDs.
- Introduced functions to list, create, update, and delete providers and models in the service layer.
- Enhanced error handling for invalid inputs and non-existent resources.
- Updated database schema to include new provider and model management features.
- Added new API endpoints for project management: create, read, update, and delete projects.
- Implemented pagination for listing projects.
- Introduced siteIcon configuration in global settings.
- Updated file upload to support additional image formats (ICO, SVG).
- Enhanced validation for project input data.
- Implemented GET endpoint for listing ideas with pagination.
- Implemented POST endpoint for creating new ideas with validation.
- Added service functions for listing and creating ideas, including random color assignment.
- Created database schema for ideas in the migration files.
- Updated migration journal to reflect new versioning and changes.
- Add ChatWidget component for real-time chat functionality, including unread message notifications and @mention toasts.
- Create useChat composable for managing chat messages and SSE connections.
- Update index page layout to welcome users.
- Define API routes for fetching chat messages, sending messages, and managing unread counts.
- Implement chat message storage in SQLite with necessary migrations.
- Add server-side logic for handling chat message broadcasting and user connection tracking.
- Ensure chat messages are persisted across server restarts and implement rate limiting for message sending.
- Added a new `content` field to the `cards` table in the database.
- Updated the card creation and update schemas to include the `content` field.
- Modified the card service to handle the new `content` field in create and update operations.
- Enhanced search functionality to include the `content` field.
- Updated migrations to reflect the addition of the `content` field in the database schema.
- Added the `marked` package for potential markdown processing in the content field.
- Implemented CRUD operations for articles including create, read, update, and delete functionalities.
- Added validation for article input data using Zod.
- Introduced caching mechanisms to clear related card caches upon article updates and deletions.
- Enhanced card schema to include article associations.
- Updated favorite and card listing services to include associated articles.
- Added new migration for articles.
- Implemented a new `favorites` table in the database schema to store user favorites.
- Added API endpoint to toggle favorite status for cards.
- Enhanced card listing to include favorited status for the current user.
- Created service functions to manage favorites, including toggling and listing favorites.
- Updated migrations to include the new `favorites` table and its associated indexes.
- Added endpoints for creating, updating, retrieving, and deleting cards.
- Implemented validation for card creation and updates using Zod.
- Introduced caching mechanisms for card and category retrieval.
- Created endpoints for managing categories with validation and caching.
- Developed tag management endpoints with validation and caching.
- Added tools management endpoints for CRUD operations.
- Enhanced error handling for unique constraint violations in the error logger.
- Implemented utility functions for validation and error formatting.
- 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.