- 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.
- 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.
feat: implement new authentication guard middleware for API and frontend page access control
refactor: replace old static file handling middleware with a new plugin-based approach
feat: add request timing logging for static file requests
feat: implement well-known ignore plugin for Chrome DevTools
feat: add error logging plugin for unhandled exceptions and request errors
feat: introduce a scheduler plugin for task management and log cleanup
- 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>
- 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.