stable
Clone or download
Read-only
Invite someone and hack the database and insert a project id (`to_project_id`) for the corresponding invitation. Once the invitation is complete (user is registered), the redirection targets the project dashboard instead of personal dashboard. Part of story #30021: Invite buddies to my Tuleap project Change-Id: I331eebd64467597354d812dc241758300b030d96
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +5 | −0 | Go to diff View file |
M | site-content/pt_BR/LC_MESSAGES/tuleap-core.po | +3 | −0 | Go to diff View file |
A | src/common/Dashboard/Project/FirstTimerPresenterBuilder.php | +66 | −0 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectDashboardController.php | +10 | −3 | Go to diff View file |
M | src/common/Dashboard/Project/ProjectPagePresenter.php | +2 | −0 | Go to diff View file |
M | src/common/Dashboard/User/FirstTimerPresenter.php | +11 | −0 | Go to diff View file |
M | src/common/Dashboard/User/FirstTimerPresenterBuilder.php | +1 | −0 | Go to diff View file |
M | src/common/InviteBuddy/AccountCreationFeedback.php | +55 | −0 | Go to diff View file |
M | src/common/InviteBuddy/Invitation.php | +1 | −0 | Go to diff View file |
M | src/common/InviteBuddy/InvitationDao.php | +34 | −3 | Go to diff View file |
M | src/common/Project/Home.php | +8 | −1 | Go to diff View file |
M | src/common/Project/ProjectXMLImporter.class.php | +1 | −1 | Go to diff View file |
M | src/common/Project/UGroupManager.class.php | +1 | −1 | Go to diff View file |
M | src/common/Project/UGroups/Membership/DynamicUGroups/DynamicUGroupMembersUpdater.php | +1 | −1 | Go to diff View file |
M | src/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdder.php | +10 | −0 | Go to diff View file |
M | src/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdderWithStatusCheckAndNotifications.php | +20 | −7 | Go to diff View file |
M | src/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdderWithoutStatusCheckAndNotifications.php | +7 | −2 | Go to diff View file |
A | src/common/Project/UGroups/Membership/DynamicUGroups/UserIsNotActiveOrRestrictedException.php | +27 | −0 | Go to diff View file |
M | src/common/Project/UGroups/Membership/MemberAdder.php | +1 | −1 | Go to diff View file |
M | src/common/Request/RouteCollector.php | +6 | −0 | Go to diff View file |
M | src/common/User/Account/Register/AfterSuccessfulUserRegistration.php | +28 | −3 | Go to diff View file |
M | src/common/User/Account/Register/InvitationToEmail.php | +14 | −3 | Go to diff View file |
M | src/common/User/UserImport.class.php | +1 | −1 | Go to diff View file |
M | src/db/mysql/database_structure.sql | +1 | −0 | Go to diff View file |
A | src/db/mysql/updates/2023/202301261103_add_to_project_id_column.php | +35 | −0 | Go to diff View file |
M | src/scripts/first-timer/package.json | +1 | −0 | Go to diff View file |
M | src/scripts/first-timer/pnpm-lock.yaml | +2 | −0 | Go to diff View file |
M | src/scripts/first-timer/src/first-timer.scss | +14 | −0 | Go to diff View file |
M | src/templates/dashboard/first-timer-modal.mustache | +17 | −2 | Go to diff View file |
M | src/templates/dashboard/project.mustache | +4 | −0 | Go to diff View file |
M | src/www/include/account.php | +1 | −1 | Go to diff View file |
A | tests/unit/common/Dashboard/Project/FirstTimerPresenterBuilderTest.php | +155 | −0 | Go to diff View file |
M | tests/unit/common/InviteBuddy/AccountCreationFeedbackTest.php | +59 | −0 | Go to diff View file |
M | tests/unit/common/InviteBuddy/InvitationTestBuilder.php | +9 | −0 | Go to diff View file |
M | tests/unit/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdderWithStatusCheckAndNotificationsTest.php | +7 | −7 | Go to diff View file |
M | tests/unit/common/Project/UGroups/Membership/DynamicUGroups/ProjectMemberAdderWithoutStatusCheckAndNotificationsTest.php | +3 | −3 | Go to diff View file |
M | tests/unit/common/Project/UGroups/Membership/MemberAdderTest.php | +3 | −3 | Go to diff View file |
M | tests/unit/common/User/Account/Register/AfterSuccessfulUserRegistrationTest.php | +71 | −0 | Go to diff View file |