Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(feedback-api):Sending feedback-mails #199

Merged
merged 10 commits into from
Oct 2, 2023
Merged

Conversation

CommanderStorm
Copy link
Member

@CommanderStorm CommanderStorm commented Aug 27, 2023

This PR adds the ability to send feedback mails via a cronjob.
I am currently unsure if this was a good call.

The advantage of the cron-appoach is that we can get around temporary network obstructions via automatically retrying and decouples the streaming feedback api from this step.

Testing that this works is done via the included unit tests

@CommanderStorm CommanderStorm self-assigned this Aug 27, 2023
@CommanderStorm CommanderStorm added the enhancement New feature or request label Aug 27, 2023
@CommanderStorm CommanderStorm force-pushed the feature/feedback-api branch 2 times, most recently from ee998a2 to 3f76b91 Compare August 29, 2023 23:26
@CommanderStorm CommanderStorm force-pushed the feature/feedback-api branch 3 times, most recently from 50dbe41 to 32646d9 Compare August 30, 2023 21:42
@CommanderStorm CommanderStorm changed the title feat:Feedback api feat(feedback-api):The ability to send mails via feedback Aug 30, 2023
@CommanderStorm CommanderStorm changed the title feat(feedback-api):The ability to send mails via feedback feat(feedback-api):Sending feedback-mails Aug 30, 2023
@CommanderStorm CommanderStorm marked this pull request as ready for review September 3, 2023 21:29
@CommanderStorm CommanderStorm mentioned this pull request Sep 3, 2023
36 tasks
@kordianbruck
Copy link
Member

I like the idea, the other option is to use transactional emails, that usually come at a cost (like sendgrid)

server/backend/cron/feedback_email.go Outdated Show resolved Hide resolved
server/backend/cron/feedback_email.go Show resolved Hide resolved
server/backend/cron/feedback_email.go Outdated Show resolved Hide resolved
server/backend/migration/20230826000000.go Show resolved Hide resolved
server/backend/migration/20230826000000.go Outdated Show resolved Hide resolved
server/backend/migration/20230826000000.go Outdated Show resolved Hide resolved
@CommanderStorm CommanderStorm enabled auto-merge (squash) October 2, 2023 15:40
@CommanderStorm CommanderStorm merged commit f2caad4 into main Oct 2, 2023
3 checks passed
@CommanderStorm CommanderStorm deleted the feature/feedback-api branch October 2, 2023 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants