- 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.
- Introduced new API endpoints for managing SMTP email configuration (GET, PUT, POST).
- Implemented email sending functionality using Nodemailer.
- Added middleware to require admin permissions for accessing admin routes.
- Updated admin sidebar navigation to conditionally display items based on admin role.
- Created a new email configuration page in the admin panel with form validation and test functionality.
- Masked sensitive information in API responses.
- Enhanced scheduler execution and task management APIs to require admin permissions.
- Added a new JSON file for desktop topic titles.
- 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.
- Increased line clamping in WaterfallCard.vue, WaterfallImageCard.vue, WaterfallPortfolioCard.vue, WaterfallProjectCard.vue, and WaterfallTextCard.vue to enhance text visibility.
- Adjusted padding in WaterfallProjectCard.vue and WaterfallImageCard.vue for better layout.
- Enhanced drag-and-drop functionality in collect/index.vue with a blurred ghost clone effect during drag.
- Modified column width and gap settings for responsive design in collect/index.vue.
- Updated detail modal handling to support expanded view in collect/index.vue.
- General CSS adjustments for improved spacing and layout consistency across components.
- 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.
- Updated package.json to include ByteMD dependencies.
- Created MdEditor component with Vue integration for ByteMD.
- Implemented tests for MdEditor and ByteMD plugin imports.
- Added styles for MdEditor to enhance UI.
- Updated component index to export MdEditor.
- Added image upload functionality in MdEditor.
- Updated database and added a new image file for uploads.
- 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 CategoryTreeNode component to display hierarchical categories with expand/collapse functionality.
- Introduced ContextMenu component for right-click actions on categories, including add, rename, and delete options.
- Developed LeftSidebar component to integrate tools and categories, enhancing user navigation experience.
- Created home layout to structure the main application view with a top navigation bar and content area.
- Updated about page with dialog testing examples and improved UI for toast notifications.
- Enhanced index page with dynamic category management and responsive design for better usability.
- Added Google login functionality to the registration page.
- Updated the login and registration forms with a new layout and branding elements.
- Improved user experience with loading states and form validation.
- Removed unused background elements for a cleaner design.
- Added a new Container component with size variants and corresponding styles.
- Enhanced Button component to support loading and size props, with updated styles for different button states.
- Updated ConfigProvider to use optional locale prop with a default value.
- Introduced new SCSS styles for Container and updated Button styles for better UI consistency.
- Updated package.json to include @nuxt/kit as a dependency.
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.