- 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.
- 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.