stable

Clone or download

Read-only

feat: Adjust invitation content when it is resent

Alice invite `bob@example.com` into a project. She goes to project ยป members ยป pending invitations and see an ongoing invitation for `bob@example.com`. She clicks on [resend] button. Bob receives the same email as before. Charlie, as project admin, goes to project ยป members ยป pending invitations and see an ongoing invitation for `bob@example.com`. She clicks on [resend] button. Bob receives nearly the same email message: a sentence is added to mention that Charlie is sending a reminder. Charlie removes Alice from project admins (and the latter does not have any permission delegation). Then she clicks again on [resend] button for `bob@example.com` invitation. Bob receives an invitation in the name of Charlie, without any custom message. Part of story #30021: Invite buddies to my Tuleap project Change-Id: I00a09f5a702988d558c5f1df0e9feeb892ae753e

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +7 โˆ’0 Go to diff View file
M site-content/pt_BR/LC_MESSAGES/tuleap-core.po +5 โˆ’0 Go to diff View file
M src/common/InviteBuddy/InvitationEmailNotifier.php +24 โˆ’8 Go to diff View file
M src/common/InviteBuddy/InvitationEmailRegisterPresenter.php +15 โˆ’5 Go to diff View file
M src/common/InviteBuddy/InvitationSender.php +20 โˆ’12 Go to diff View file
M src/common/InviteBuddy/REST/v1/InvitationsResource.php +1 โˆ’1 Go to diff View file
M src/common/Project/Admin/Invitations/ManageProjectInvitationsController.php +27 โˆ’1 Go to diff View file
M src/common/Request/RouteCollector.php +1 โˆ’0 Go to diff View file
M src/templates/invite_buddy/invite-register-text.mustache +10 โˆ’3 Go to diff View file
M src/templates/invite_buddy/invite-register.mustache +10 โˆ’3 Go to diff View file
M src/templates/project/members/project-members.mustache +3 โˆ’3 Go to diff View file
M src/themes/BurningParrot/css/includes/project-admin/_members.scss +4 โˆ’0 Go to diff View file
M tests/unit/common/InviteBuddy/InvitationSenderTest.php +22 โˆ’28 Go to diff View file
M tests/unit/common/Project/Admin/Invitations/ManageProjectInvitationsControllerTest.php +173 โˆ’5 Go to diff View file