stable

Clone or download

Read-only

Invitation is complete when the user registers

As a user User1, invite an external person to register to Tuleap. When user User2 register using the email used for the invitation, then User1 receive a notification. The same if it is site administrator that create the account for User2. If User1 send many invitations to the person, only one notification is sent. If many users invited the same person, each users receive a notification. Part of story #16633: invite buddies to my Tuleap Change-Id: I6fd908139ed8091be732fd1396a22f5eaeba63a6

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +7 −0 Go to diff View file
A src/common/InviteBuddy/AccountCreationFeedback.php +79 −0 Go to diff View file
A src/common/InviteBuddy/AccountCreationFeedbackEmailNotifier.php +53 −0 Go to diff View file
M src/common/InviteBuddy/InvitationDao.php +5 −0 Go to diff View file
M src/common/InviteBuddy/InvitationEmailNotifier.php +2 −5 Go to diff View file
A src/common/mail/TemplateWithoutFooter.php +32 −0 Go to diff View file
M src/db/mysql/database_structure.sql +2 −1 Go to diff View file
A src/db/mysql/updates/2020/202009301445_add_index_for_email_on_invitations_table.php +41 −0 Go to diff View file
A src/templates/invite_buddy/account-creation-feedback-text.mustache +6 −0 Go to diff View file
A src/templates/invite_buddy/account-creation-feedback.mustache +8 −0 Go to diff View file
M src/www/include/account.php +9 −0 Go to diff View file
A tests/unit/common/InviteBuddy/AccountCreationFeedbackTest.php +251 −0 Go to diff View file