Skip to content

feat: add resend notification functionality#3512

Merged
Siumauricio merged 14 commits intoDokploy:canaryfrom
mhbdev:resend-provider-for-notifications
Feb 5, 2026
Merged

feat: add resend notification functionality#3512
Siumauricio merged 14 commits intoDokploy:canaryfrom
mhbdev:resend-provider-for-notifications

Conversation

@mhbdev
Copy link
Contributor

@mhbdev mhbdev commented Jan 24, 2026

What is this PR about?

  • Introduced a new notification type "resend" to the system.
  • Added database schema for resend notifications including fields for apiKey, fromAddress, and toAddress.
  • Implemented functions to create, update, and send resend notifications.
  • Updated notification router to handle resend notifications with appropriate API endpoints.
  • Enhanced existing notification services to support sending notifications via the Resend service.
  • Modified various notification utilities to accommodate the new resend functionality.

Checklist

Before submitting this PR, please make sure that:

Issues related (if applicable)

closes #3511

Screenshots (if applicable)

- Introduced a new notification type "resend" to the system.
- Added database schema for resend notifications including fields for apiKey, fromAddress, and toAddress.
- Implemented functions to create, update, and send resend notifications.
- Updated notification router to handle resend notifications with appropriate API endpoints.
- Enhanced existing notification services to support sending notifications via the Resend service.
- Modified various notification utilities to accommodate the new resend functionality.
@mhbdev mhbdev requested a review from Siumauricio as a code owner January 24, 2026 18:15
@Siumauricio
Copy link
Contributor

Can you fix the conflicts?

mhbdev and others added 4 commits January 28, 2026 13:47
- Introduced a new notification type "resend" to the system.
- Added database schema for resend notifications including fields for apiKey, fromAddress, and toAddress.
- Implemented functions to create, update, and send resend notifications.
- Updated notification router to handle resend notifications with appropriate API endpoints.
- Enhanced existing notification services to support sending notifications via the Resend service.
- Modified various notification utilities to accommodate the new resend functionality.
@mhbdev
Copy link
Contributor Author

mhbdev commented Jan 28, 2026

Can you fix the conflicts?

Done

- Updated the exports in the swarm forms index to include LabelsForm and ModeForm while ensuring RestartPolicyForm and UpdateConfigForm are correctly exported.
- Removed the obsolete SQL file '0135_illegal_magik.sql' and its references from the journal.
- Deleted the associated snapshot JSON file to clean up unused database schema definitions.
@Siumauricio
Copy link
Contributor

Can you create the docs for this new notification provider? https://github.com/Dokploy/website/pulls, similar to this recently notification provider added #3512

@mhbdev
Copy link
Contributor Author

mhbdev commented Jan 28, 2026

Can you create the docs for this new notification provider? https://github.com/Dokploy/website/pulls, similar to this recently notification provider added #3512

I made a PR over there Dokploy/website#120

- Deleted SQL files '0136_tidy_puff_adder.sql' and '0137_worried_shriek.sql' as they are no longer needed.
- Updated the journal and removed references to the deleted SQL files.
- Cleaned up the corresponding snapshot JSON files to maintain a tidy project structure.
- Added fast-sha256@1.3.0 and uuid@10.0.0 with their respective integrity resolutions.
- Updated snapshots to include the new package entries.
This reverts commit d77c562.

# Conflicts:
#	apps/dokploy/drizzle/meta/0137_snapshot.json
#	apps/dokploy/drizzle/meta/_journal.json
- Deleted the '0137_worried_shriek.sql' file as it is no longer needed.
- Updated the journal to remove references to the deleted SQL file.
- Removed the corresponding snapshot JSON file to maintain a tidy project structure.
- Introduced a new notification type 'pushover' to the database.
- Created a new table 'pushover' with relevant fields for notification management.
- Updated the 'notification' table to include a foreign key reference to 'pushoverId' for enhanced notification handling.
- Added corresponding snapshot and journal entries to reflect these changes.
- Introduced a new notification type 'resend' to the database.
- Created a new table 'resend' with fields for managing resend notifications.
- Updated the 'notification' table to include a foreign key reference to 'resendId'.
- Added corresponding snapshot and journal entries to reflect these changes.
Copy link
Contributor

@Siumauricio Siumauricio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@Siumauricio Siumauricio merged commit 7ae3d7d into Dokploy:canary Feb 5, 2026
4 checks passed
@mhbdev
Copy link
Contributor Author

mhbdev commented Feb 6, 2026

Thank you

My pleasure ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Resend for Notifications

2 participants