Commit Graph

26 Commits

Author SHA1 Message Date
Tola Leng 039a832b79 feat: Add mail test functionality
Adds a dialog to test email settings and integrates with the `/api/settings/test/email` API endpoint.
- Added a "Test Email" button to the Mail Settings tab.
- Implemented a dialog for entering the recipient email and selecting a template.
- Added UI elements for the dialog (input fields, radio buttons, and a send button).
- Updated `src/services/settingsService.ts` to include the test email API call.
- Added UI components for the dialog (using existing UI components).
- Updated `src/components/settings/general/MailSettingsTab.tsx` to include the test email functionality.
2025-06-05 21:06:48 +08:00
Tola Leng 4ef84b5469 Add SMTP password field.
Added a password field to the Mail Settings tab in the General Settings panel, ensuring it is saved and retrieved via the `/api/settings` endpoint.
2025-06-05 18:33:58 +08:00
Tola Leng 9b1167955e feat: Implement uptime monitoring data retention
Ensured data is cleared from uptime_data and ping_data collections based on retention settings. Added separate manual shrink database buttons for uptime and server monitoring retention in the data retention settings panel.
2025-05-29 22:16:50 +08:00
Tola Leng 0b9bc76d37 Fix: Improve email change flow and auto-logout
- Improved the email change flow in user management and profile dashboards.
- Added a success message upon successful email change.
- Implemented auto-logout after a successful email change.
- Fixed potential errors during the email change process.
2025-05-29 20:41:00 +08:00
Tola Leng 0562adbef8 Adjusted date range calculation to ensure data is displayed 2025-05-29 20:10:29 +08:00
Tola Leng 7ccd413973 Feat: added tab dashboard under General Settings (System Setting and Mail Settings). Improved the Setting API to dynamically use the baseURL. 2025-05-26 16:51:05 +08:00
Tola Leng e74bf35264 Fix: Prevent console message loop on maintenance updates
The console was generating excessive messages after schedule maintenance updates.
2025-05-26 16:42:05 +08:00
Tola Leng 23be1fca0f Fix: Reduce maintenance data request frequency.
Fix: The maintenance list should refresh immediately after a new maintenance entry is created.
2025-05-24 18:20:33 +08:00
Tola Leng 8c159f402e feat: Implement tabbed settings dashboard
Implement a tabbed dashboard within the Settings Panel, including System Settings and Mail Setting
2025-05-24 03:00:29 +08:00
Tola Leng 7a125bf0b7 Fix: Super admin login API path
The login process for super admins was incorrectly using the regular user authentication path. This commit ensures super admins use the correct authentication path
2025-05-24 02:56:29 +08:00
Tola Leng dfe052aba6 Fix: Email change for both admin and superadmin
The email change functionality was updated to support both admin and superadmin roles. The code was adjusted to correctly handle email change requests for users in both the admin and super-admin
2025-05-24 02:55:29 +08:00
Tola Leng 462b6d6d40 Build Incident and maintenance service 2025-05-23 20:37:36 +08:00
Tola Leng 747ae5c23f feat: Implement Incident Management and Tab Dashboard 2025-05-23 20:37:00 +08:00
Tola Leng 395a580032 feat: Implement Schedule Maintenance Management and Tab Dashboard 2025-05-23 20:34:18 +08:00
Tola Leng caaa32ea13 Updated telegram notification 2025-05-17 20:56:31 +08:00
Tola Leng 78be48ffd0 Fix: Ensure email change request is sent.
The email change request was failing with a 400 error. This commit addresses the issue by ensuring the email change request is correctly sent when a user updates their email in the profile dashboard.
2025-05-17 17:55:59 +08:00
Tola Leng aaee189ace Added Sample Test function to send a direct Telegram message 2025-05-17 17:34:23 +08:00
Tola Leng a166938d42 Removes the SSL testSendTelegramMessage function and its associated test credentials from telegramService.ts. 2025-05-17 16:44:45 +08:00
Tola Leng e4d6d84477 Remove test Telegram function 2025-05-17 16:43:33 +08:00
Tola Leng 9f38e23b22 Implement the SSL Certs Service Checker 2025-05-16 22:21:39 +08:00
Tola Leng 8ee933563e Notification (Telegram) for SSL notification thresholds
Ensure Telegram notifications respect warning/expiry thresholds, including manual checks.
2025-05-16 22:18:35 +08:00
Tola Leng 687619ce0d Feat: Implement SSL notification channel selection
- Added notification channel selection to the Add SSL Certificate form.
- Display available Telegram notification channels.
- Integrate SSL expiry and warning thresholds for notifications.
- Ensure daily auto-checks and manual check button functionality.
2025-05-16 22:17:02 +08:00
Tola Leng 98c86ff5dd Display user's active/inactive status from the backend in the profile details. 2025-05-15 22:45:28 +08:00
Tola Leng fc84922959 Update to handle email change using the request-email-change endpoint 2025-05-15 22:31:27 +08:00
Tola Leng 580dbc424c Implement the SSL & Domain Features (Domain List, Real-time information for Expiration Date, Issuer, and Days Left.) 2025-05-11 20:51:38 +08:00
Tola Leng 0c6cd18e6f Initial Release 2025-05-09 21:28:07 +07:00