New Feature: Maintenance Mode
04Implemented a new maintenance mode functionality for Eddyter / CT Editor.
Administrators can now enable maintenance mode to restrict access to the application.
During maintenance, only authorized users (administrators) can access the platform.
Frontend displays a maintenance message to regular users when the mode is active.
Key Changes:
02Backend
Added new API endpoints for enabling/disabling maintenance mode and retrieving its status. Implemented a MaintenanceService to manage the maintenance mode state. Extended adminPermissions to control access to maintenance mode settings. Added database migrations to support maintenance mode configuration. Integration with emailService (details not specified in provided context).
Frontend
Added an admin panel section for managing maintenance mode. Implemented middleware to redirect users to a maintenance page when the mode is active. Updated AuthCheck component to handle maintenance mode redirects.
Internal Changes:
03Updated various configuration and permission files.
Introduced new database migrations.
Code refactoring for improved maintainability.