-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [EN-7609] feat: role CANDIDATE_EXTERNAL to CANDIDAT & COACH_EXTERNAL to REFERRER * [EN-7456] Mail de confirmation orienteur (#223) * Created the method to send the referer onboarding confirmation * Adding cascade when removing user formation * Revert "Adding cascade when removing user formation" This reverts commit a5a4750. * [EN-7460] feat: create referrer registration funnel * refacto: remove useless comments * refacto: remove CandidateUserRoles / CandidateUserRole / CoachUserRoles / CoachUserRole * fix: add referrer to AllUserRoles * fix: tests * fix: tests + referrer to referer * feat: referer tests in users.e2e * refacto: findAllCandidateMembers / findAllCoachMembers role param * refacto: only one template for confirmation email * feat: add welcome mail referer * [EN-7457] Finalize refered user (#232) * created sendMail method and controller * naming and removed dev tools * adding organisation name * reverted * feat(Refering): Add refer candidate api endpoint * feat(UserProfile): filter by refererId * feat: create a dedicated referedCondidate endpoint * feat: admin view for referers * fix: remove optionnal for mandatory fields * fix: tests * feat: remove organization countCoaches * fix: orienteur to prescripteur * fix: tests * fix condition send mail - sending admin new referer notification email (#239) * Created mailer method and using it in auth controller (#238) * fix: merge conflict --------- Co-authored-by: Guillaume Cauchois <[email protected]>
- Loading branch information
1 parent
15212af
commit 36473a0
Showing
32 changed files
with
1,948 additions
and
3,009 deletions.
There are no files selected for viewing
This file contains 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 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 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,16 @@ | ||
'use strict'; | ||
|
||
/** @type {import('sequelize-cli').Migration} */ | ||
module.exports = { | ||
async up(queryInterface, Sequelize) { | ||
await queryInterface.addColumn('Users', 'refererId', { | ||
type: Sequelize.UUID, | ||
allowNull: true, | ||
defaultValue: null, | ||
}); | ||
}, | ||
|
||
async down(queryInterface, Sequelize) { | ||
await queryInterface.removeColumn('Users', 'refererId'); | ||
}, | ||
}; |
This file contains 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 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 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 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 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.