-
Notifications
You must be signed in to change notification settings - Fork 0
[Feature] integrate email to invitation requests #537
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
Merged
serggalel
merged 10 commits into
dev
from
feature/integrate-email-to-invitation-requests
Aug 18, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
7a4aee5
feat: add the html template
serggalel 8c257e0
feat: create the event
serggalel ee0ff87
feat: update the service and the sender
serggalel a578811
fix: update the template
serggalel 4786600
feat: update the service and sender
serggalel 86787b0
fix: update the templates
serggalel d095ccf
fix: update the service
serggalel adfcb17
feat: add tests
serggalel 8dd8811
fix: coderabbit issues
serggalel 3aac43c
fix: coderabbit issues#2
serggalel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
...itasocialacademy/oitassist/participation/dao/dto/event/CompetitionValidatedDataEvent.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| package com.itasocialacademy.oitassist.participation.dao.dto.event; | ||
|
|
||
| import lombok.Builder; | ||
|
|
||
| @Builder | ||
| public record CompetitionValidatedDataEvent( | ||
| String competitionTitle, | ||
| String stageTitle) { | ||
| } |
10 changes: 10 additions & 0 deletions
10
...va/com/itasocialacademy/oitassist/participation/dao/dto/event/InvitationRequestEvent.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| package com.itasocialacademy.oitassist.participation.dao.dto.event; | ||
|
|
||
| import com.itasocialacademy.oitassist.user.api.dto.UserProfileDetails; | ||
| import java.util.List; | ||
|
|
||
| public record InvitationRequestEvent( | ||
| String competitionTitle, | ||
| String stageTitle, | ||
| List<UserProfileDetails> users) { | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="uk"> | ||
| <head> | ||
| <meta charset="UTF-8"> | ||
| <title>Сповіщення про підтверджену заявку</title> | ||
| <style> | ||
| <#include "fragments/participation-template-style.ftl"> | ||
| </style> | ||
| </head> | ||
| <body> | ||
| <div class="container"> | ||
| <h1>Привіт, ${firstName}!</h1> | ||
| <p>Вас було запрошено для участі в олімпіаді <strong>"${competitionTitle}"</strong>, | ||
| етапі <strong>"${stageTitle}"</strong>!🎉<br> | ||
| Вам потрібно підтвердити вашу участь в особистому кабінеті. | ||
| Щоб перейти в кабінет, натисніть на кнопку нижче:</p> | ||
| <a href="${profileLink}" class="button">Особистий кабінет ↗</a> | ||
| <p>Або можете переглянути деталі олімпіади:</p> | ||
| <a href="${competitionLink}" class="button">Переглянути деталі ↗</a> | ||
| <h3>Бажаємо успіхів!</h3> | ||
|
|
||
| <p>Якщо вам цей лист було надіслано помилково — проігноруйте його.</p> | ||
|
|
||
| <div class="footer"> | ||
| © 2026 OIT Assist. Усі права захищені. | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.