stable

Clone or download

Read-only

feat: Allow project admin to withdraw an invitation

If an invitation has been made for a project, then in project ยป admin ยป members ยป pending invitations, there is a button to withdraw the invitation. All pending invitations for the same email for the same project are removed. A log is added in project history (Not sure about the usefulness since the email is not logged to not store PII). Part of story #30021: Invite buddies to my Tuleap project Change-Id: I950f909b83d8240714a5702b20109cd26b6f3702

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +22 โˆ’0 Go to diff View file
M site-content/pt_BR/LC_MESSAGES/tuleap-core.po +20 โˆ’0 Go to diff View file
M src/common/Http/Response/RedirectWithFeedbackFactory.php +5 โˆ’14 Go to diff View file
A src/common/InviteBuddy/InvitationByIdRetriever.php +31 โˆ’0 Go to diff View file
M src/common/InviteBuddy/InvitationDao.php +31 โˆ’3 Go to diff View file
A src/common/InviteBuddy/InvitationHistoryEntry.php +35 โˆ’0 Go to diff View file
M src/common/InviteBuddy/InvitationSender.php +3 โˆ’0 Go to diff View file
A src/common/InviteBuddy/PendingInvitationsWithdrawer.php +28 โˆ’0 Go to diff View file
M src/common/Layout/Feedback/FeedbackSerializer.php +2 โˆ’2 Go to diff View file
A src/common/Layout/Feedback/ISerializeFeedback.php +28 โˆ’0 Go to diff View file
M src/common/Project/Admin/History/GetHistoryKeyLabel.php +5 โˆ’0 Go to diff View file
A src/common/Project/Admin/Invitations/CSRFSynchronizerTokenProvider.php +33 โˆ’0 Go to diff View file
A src/common/Project/Admin/Invitations/ManageProjectInvitationsController.php +127 โˆ’0 Go to diff View file
M src/common/Project/Admin/ProjectMembers/ListOfPendingInvitationsPresenter.php +7 โˆ’2 Go to diff View file
M src/common/Project/Admin/ProjectMembers/ListOfPendingInvitationsPresenterBuilder.php +10 โˆ’1 Go to diff View file
M src/common/Project/Admin/ProjectMembers/PendingInvitationPresenter.php +3 โˆ’2 Go to diff View file
M src/common/Project/Admin/ProjectMembers/ProjectMembersController.php +2 โˆ’0 Go to diff View file
A src/common/Project/Admin/Routing/RejectNonProjectMembersAdministratorMiddleware.php +74 โˆ’0 Go to diff View file
M src/common/Request/RouteCollector.php +24 โˆ’0 Go to diff View file
M src/templates/project/members/project-members.mustache +12 โˆ’2 Go to diff View file
M src/www/project/admin/project_admin_utils.php +1 โˆ’0 Go to diff View file
M tests/integration/tests/InviteBuddy/InvitationDaoTest.php +75 โˆ’5 Go to diff View file
A tests/lib/Stubs/FeedbackSerializerStub.php +56 โˆ’0 Go to diff View file
A tests/lib/Stubs/RequestHandlerInterfaceStub.php +62 โˆ’0 Go to diff View file
A tests/unit/common/InviteBuddy/InvitationByIdRetrieverStub.php +49 โˆ’0 Go to diff View file
M tests/unit/common/InviteBuddy/InvitationSenderTest.php +2 โˆ’2 Go to diff View file
A tests/unit/common/InviteBuddy/PendingInvitationsWithdrawerStub.php +47 โˆ’0 Go to diff View file
A tests/unit/common/Project/Admin/Invitations/ManageProjectInvitationsControllerTest.php +242 โˆ’0 Go to diff View file
M tests/unit/common/Project/Admin/ProjectMembers/ListOfPendingInvitationsPresenterBuilderTest.php +14 โˆ’0 Go to diff View file
M tests/unit/common/Project/Admin/ProjectMembers/ProjectMembersControllerTest.php +2 โˆ’0 Go to diff View file
A tests/unit/common/Project/Admin/Routing/RejectNonProjectMembersAdministratorMiddlewareTest.php +125 โˆ’0 Go to diff View file