stable

Clone or download

Read-only

feat: log sent invitation in project history

If a user invites someone in a project, we should add an entry in project history. If a pending invitation is resent, then only one event "resent" appears in project history (instead of resent+sent). Furthermore, when a user invites someone in a project, we now increment the project counter for instrumentation instead of the platform one. Part of story #30021: Invite buddies to my Tuleap project Change-Id: Ifd901fc7dd27640e88cecbea44e2dcc2a95c6bb2

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +3 −0 Go to diff View file
M site-content/pt_BR/LC_MESSAGES/tuleap-core.po +3 −0 Go to diff View file
M src/common/InviteBuddy/InvitationHistoryEntry.php +3 −1 Go to diff View file
M src/common/InviteBuddy/InvitationSender.php +23 −3 Go to diff View file
M src/common/InviteBuddy/REST/v1/InvitationsResource.php +3 −1 Go to diff View file
M src/common/Project/Admin/Invitations/ManageProjectInvitationsController.php +1 −10 Go to diff View file
M src/common/Request/RouteCollector.php +1 −0 Go to diff View file
M src/www/project/admin/project_admin_utils.php +1 −2 Go to diff View file
M tests/unit/common/InviteBuddy/InvitationSenderTest.php +23 −12 Go to diff View file
M tests/unit/common/Project/Admin/Invitations/ManageProjectInvitationsControllerTest.php +3 −6 Go to diff View file