63 Commits

Author SHA1 Message Date
Nawaz Dhandala
849882d868 Add notification jobs for incident episode public notes and state timelines
- Implemented SendNotificationToSubscribers job for IncidentEpisodePublicNote to notify subscribers about new public notes added to episodes.
- Implemented SendNotificationToSubscribers job for IncidentEpisodeStateTimeline to notify subscribers about state changes of episodes.
- Both jobs include logic for fetching relevant episodes, monitors, and subscribers, and sending notifications via email, SMS, Slack, and Microsoft Teams.
- Added error handling and logging for better traceability of notification processes.
2026-02-04 19:11:44 +00:00
Nawaz Dhandala
4b30274915 feat: Add incident member notification system with email and WhatsApp templates 2026-01-29 21:09:44 +00:00
Nawaz Dhandala
8b9023d93d feat: Add incident episode auto-resolution and notification jobs
- Implemented AutoResolve job to automatically resolve inactive incident episodes.
- Created ResolveInactiveEpisodes job to resolve episodes inactive for over 24 hours.
- Added SendCreatedResourceNotification job to notify owners of newly created incident episodes.
- Developed SendNotePostedNotification job to inform owners when a note is posted on an incident episode.
- Introduced SendOwnerAddedNotification job to notify users when they are added as owners of an incident episode.
- Implemented SendStateChangeNotification job to alert owners of state changes in incident episodes.
2026-01-28 18:30:45 +00:00
Nawaz Dhandala
f49e4bd5d0 feat: implement invoice email notification system with template and email handling 2026-01-28 12:01:28 +00:00
Nawaz Dhandala
668c35ba2e feat: add AcknowledgeAlertEpisode template and update related services for alert episode notifications 2026-01-26 23:21:50 +00:00
Nawaz Dhandala
1f162461ad feat: Add alert episode owner notifications and related email templates
- Implemented findOwners method in AlertEpisodeService to retrieve user and team owners for alert episodes.
- Added new email templates for alert episode owner notifications: AlertEpisodeOwnerAdded, AlertEpisodeOwnerStateChanged, AlertEpisodeOwnerNotePosted, and AlertEpisodeOwnerResourceCreated.
- Created jobs for sending notifications when an owner is added, a note is posted, and when the state of an alert episode changes.
- Updated routes to include new jobs for alert episode owner notifications.
2026-01-23 14:17:32 +00:00
Nawaz Dhandala
4c669000fa feat: Add OAuth provider type support for SMTP configuration and enhance documentation 2026-01-12 11:36:00 +00:00
Nawaz Dhandala
5eb83dec0a Refactor SMTP OAuth implementation: replace Microsoft365OAuthService with generic SMTPOAuthService, update ProjectSmtpConfig to include tokenUrl and scope, and enhance error handling for OAuth configurations. 2026-01-08 18:22:30 +00:00
Nawaz Dhandala
123e0275bc Implement OAuth 2.0 support for SMTP authentication, including configuration fields and validation; enhance error handling for OAuth scenarios. 2026-01-08 18:14:10 +00:00
Nawaz Dhandala
66124f9de6 feat: Add AI Agent management features
- Introduced new WhatsApp templates for AI Agent notifications.
- Added email templates for AI Agent connection status and owner addition.
- Updated notification settings to include AI Agent events.
- Expanded permissions to manage AI Agents, including create, edit, delete, and read permissions.
- Implemented new UI components for displaying AI Agent details and status.
- Created pages for managing AI Agents and viewing individual AI Agent details.
- Enhanced side menu and routing to include AI Agent management sections.
2025-12-24 14:13:16 +00:00
Nawaz Dhandala
a1999f12e7 Enhance notification system with custom templates for incident notes, state changes, and scheduled maintenance
- Integrated custom notification templates for email, SMS, Slack, and Microsoft Teams in IncidentPublicNote, IncidentStateTimeline, ScheduledMaintenancePublicNote, and ScheduledMaintenanceStateTimeline jobs.
- Added logic to fetch and compile templates based on notification method and event type.
- Improved message formatting by including dynamic variables such as incident details, resources affected, and unsubscribe links.
- Updated email sending logic to utilize custom templates where available, falling back to default messages when necessary.
- Enhanced logging for better tracking of notification dispatches.
2025-12-08 16:11:12 +00:00
Nawaz Dhandala
937d4675a8 feat: add postmortem notification system for subscribers 2025-12-03 19:03:02 +00:00
Simon Larsen
14466f4723 feat: add email template and cron job for notifying project owners of overdue subscriptions 2025-06-02 14:41:45 +01:00
Simon Larsen
35067c3423 feat: Add manage existing subscription functionality and email template
- Updated OnCallDutyPolicyScheduleService to change the emoji in feedInfoInMarkdown.
- Added new email template type for managing existing status page subscriber subscriptions.
- Enhanced EmailSubscribe component to include tabs for new and existing subscriptions.
- Created a new email template for managing existing subscriptions with relevant information and links.
2025-04-22 14:06:24 +01:00
Simon Larsen
18ceaed197 feat: implement user notification system for on-call policy changes and add email templates for notifications 2025-04-09 19:33:31 +01:00
Simon Larsen
63650ba791 feat: add support for triggeredByAlertId in OnCallDutyPolicyExecutionLogTimeline and related services 2025-01-17 18:42:20 +00:00
Simon Larsen
bb7917551f Add confirmation functionality for status page subscriptions and update related templates 2024-12-17 12:42:22 +00:00
Simon Larsen
b624bd49ee add migration for alerts 2024-10-02 23:05:45 +01:00
Simon Larsen
f25f7f1f81 add jobs for alerts 2024-10-02 22:10:37 +01:00
Simon Larsen
3f0d75d799 refactor: Update Monitor model and EmailTemplateType enum
- Add 'canReadOnRelationQuery' property to the 'Monitor' model in order to allow reading on relation queries.
- Rename 'StatusPageReport' email template to 'StatusPageSubscriberReport' in the 'EmailTemplateType' enum.
2024-07-25 14:39:53 -06:00
Simon Larsen
b1eaded3fd refactor: Update StatusPageSubscriberReport template to display downtime in hours and minutes
This commit updates the StatusPageSubscriberReport template to display the downtime in hours and minutes instead of seconds. The fields "totalDowntime" and "averageUptime" are replaced with "totalDowntimeInHoursAndMinutes" and "averageUptimePercent" respectively. This change improves the readability and usability of the report for users.
2024-07-24 16:29:46 -06:00
Simon Larsen
f090654ab6 refactor: Add support for StatusPage reports 2024-07-23 17:56:45 -06:00
Simon Larsen
e6a10edca6 chore: Add new monitor notification settings for probe status changes and no probes monitoring the monitor 2024-07-02 19:42:28 +01:00
Simon Larsen
1e595be586 feat: Add notification settings for probe owner added event
This commit adds notification settings for the "probe owner added" event. It includes updates to the EmailTemplateType enum, NotificationSettingEventType enum, UserNotificationSettingService, and NotificationSettings.tsx. The new settings allow users to receive notifications when they are added as owners to a probe. This enhancement improves the user experience by providing timely notifications for ownership changes.
2024-07-01 17:06:35 +01:00
Simon Larsen
8d82f1128b chore: Add ProbeConnectionStatusChange email template
This commit adds a new email template, "ProbeConnectionStatusChange.hbs", to the EmailTemplateType enum in the EmailTemplateType.ts file. The template is used for sending emails related to changes in probe connection status. This addition enhances the email functionality of the application.
2024-07-01 13:07:11 +01:00
Simon Larsen
70a2a3993b refactor: Update symbol type to use lowercase 'symbol' in ColumnAccessControl files 2024-06-14 12:09:53 +01:00
Simon Larsen
faf0641503 refactor: Update package.json and Encryption.ts to use latest version of crypto-js 2024-05-29 15:25:09 +01:00
Simon Larsen
4335377285 Add HOSTNAME environment variable to Probe Config and update Probe Index and Email Template Type 2024-03-29 16:47:56 +00:00
Simon Larsen
27f5f96ba9 fix smtp should not require auth 2023-08-18 13:43:05 +01:00
Simon Larsen
42b80bab3c fix email log 2023-07-22 14:33:50 +01:00
Simon Larsen
e83d63c07e add more alerts to scheduled maintenance 2023-07-21 17:23:30 +01:00
Simon Larsen
9564e57208 add message send service 2023-07-21 16:43:17 +01:00
Simon Larsen
d236131171 add ack of incident 2023-07-04 12:26:49 +01:00
Simon Larsen
3e8b966dc8 fix models 2023-06-14 21:02:10 +01:00
Simon Larsen
1ed51a6dc2 implement emails for erorr states 2023-06-09 13:39:20 +01:00
Simon Larsen
3c16c2c535 add owner email 2023-05-18 18:10:33 +01:00
Simon Larsen
435c8f083b add ownership email columns 2023-05-18 13:03:40 +01:00
Simon Larsen
9093c2584c add event state change emails 2023-04-20 16:25:33 +01:00
Simon Larsen
78f48431e9 inc to limited 2023-04-19 21:16:29 +01:00
Simon Larsen
eaa35d8ed9 make test emails work 2023-04-19 21:13:54 +01:00
Simon Larsen
f669d11946 fix lint. 2023-04-18 17:48:50 +01:00
Simon Larsen
4b939249a0 add notes email 2023-04-18 14:07:38 +01:00
Simon Larsen
90a0b9eb65 add more email types 2023-04-18 13:48:52 +01:00
Simon Larsen
8f373898cb add UI 2022-12-19 15:09:55 +05:30
Simon Larsen
1d15c22123 statuspage private user 2022-12-19 14:23:45 +05:30
Simon Larsen
ad3e594ea1 fix event 2022-12-18 18:45:39 +05:30
Simon Larsen
3a886a52fe fix incident subscriber alerts 2022-12-18 18:07:26 +05:30
Simon Larsen
59f82ffe0c fix lint. 2022-12-18 15:04:28 +05:30
Simon Larsen
4613c29d72 fix subscribers 2022-12-18 13:47:51 +05:30
Simon Larsen
1f2c9871f5 fix subscribers 2022-12-14 14:39:46 +00:00