stable

Clone or download

Read-only

feat: Ignore invitation for already project members

When a project admin invites someone in a project, but it appears that this person is already project member, then no invitation is sent, and the project admin gets a feedback about that. Part of story #30021: Invite buddies to my Tuleap project Change-Id: I9dc6c17ea489c78d3a04c9bc8b57bbd12f65e635

Modified Files

Name
M lib/frontend/gettext/src/types.ts +1 −0 Go to diff View file
M plugins/testmanagement/scripts/testmanagement/src/helpers/create-gettext-provider-passthrough-for-tests.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/EditorAreaRenderer.test.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/FormatSelect.test.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/PreviewArea.test.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/PreviewEditButton.test.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/components/SyntaxHelpButton.test.ts +2 −3 Go to diff View file
M plugins/tracker/scripts/lib/rich-text-editor/src/format-selector/editor-area/lit-html-adapter.test.ts +2 −3 Go to diff View file
M src/common/InviteBuddy/InvitationSender.php +16 −11 Go to diff View file
M src/common/InviteBuddy/REST/v1/InvitationPOSTResultRepresentation.php +16 −7 Go to diff View file
M src/common/InviteBuddy/REST/v1/InvitationsResource.php +4 −3 Go to diff View file
A src/common/InviteBuddy/SentInvitationResult.php +39 −0 Go to diff View file
M src/scripts/main/package.json +1 −0 Go to diff View file
M src/scripts/main/pnpm-lock.yaml +38 −1 Go to diff View file
D src/scripts/main/src/invite-buddies/__snapshots__/feedback-display.test.ts.snap +0 −82 Go to diff View file
M src/scripts/main/src/invite-buddies/feedback-display.test.ts +27 −3 Go to diff View file
M src/scripts/main/src/invite-buddies/feedback-display.ts +91 −26 Go to diff View file
M src/scripts/main/src/invite-buddies/po/fr_FR.po +22 −4 Go to diff View file
M src/themes/tlp/src/scss/components/_alerts.scss +8 −0 Go to diff View file
M src/www/tlp-doc/resources/structure/alerts/example.html +17 −0 Go to diff View file
M tests/unit/common/InviteBuddy/InvitationSenderTest.php +54 −4 Go to diff View file
M tests/unit/common/Project/Admin/Invitations/ManageProjectInvitationsControllerTest.php +6 −5 Go to diff View file