- 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.
- 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.
- 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.
- Backend: extend GET /api/users with status, role filtering and sorting
- Backend: add PUT /api/users/:id endpoint for updating user info
- Backend: add POST /api/users/batch for batch enable/disable/delete
- Frontend: rewrite users page with filter bar, stats cards, sortable table
- Frontend: add batch action bar and detail drawer for editing
- Frontend: add create modal and confirm dialog for batch delete
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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
- 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.