stable
Clone or download
Read-only
No functional change. Note: the parameter `is_registration_confirmation` is removed because since git #tuleap/stable/c2bfda84e53fc5220dd4789d8276f3485b064b6d it is always false. Bonus: this also encapsulates `$is_admin` and `$is_password_needed` in a dedicated object to avoid Primitive Obsession. This is is the last piece of register.php puzzle refactoring for the current request. The result is considered good enough for future developments about user registration. Closes request #29605: Convert account registration pages to BurningParrot Change-Id: I8ffd690fa61154aa6e6b1cbdefc8b042429a47a5
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/openidconnectclient/include/openidconnectclientPlugin.php | +6 | β14 | Go to diff View file |
M | src/common/Request/RouteCollector.php | +1 | β5 | Go to diff View file |
A | src/common/User/Account/Register/BeforeUserRegistrationEvent.php | +49 | β0 | Go to diff View file |
M | src/common/User/Account/Register/DisplayAdminRegisterFormController.php | +1 | β4 | Go to diff View file |
M | src/common/User/Account/Register/DisplayRegisterFormController.php | +4 | β12 | Go to diff View file |
M | src/common/User/Account/Register/IDisplayRegisterForm.php | +1 | β1 | Go to diff View file |
M | src/common/User/Account/Register/IProcessRegisterForm.php | +1 | β1 | Go to diff View file |
M | src/common/User/Account/Register/ProcessAdminRegisterFormController.php | +1 | β3 | Go to diff View file |
M | src/common/User/Account/Register/ProcessRegisterFormController.php | +4 | β12 | Go to diff View file |
A | src/common/User/Account/Register/RegisterFormContext.php | +44 | β0 | Go to diff View file |
M | src/common/User/Account/Register/RegisterFormDisplayer.php | +4 | β6 | Go to diff View file |
M | src/common/User/Account/Register/RegisterFormHandler.php | +4 | β1 | Go to diff View file |
M | src/common/User/Account/Register/RegisterFormPresenterBuilder.php | +5 | β7 | Go to diff View file |
M | src/common/User/Account/Register/RegisterFormProcessor.php | +6 | β6 | Go to diff View file |
M | tests/unit/common/User/Account/Register/DisplayRegisterFormControllerTest.php | +15 | β31 | Go to diff View file |
M | tests/unit/common/User/Account/Register/IDisplayRegisterFormStub.php | +3 | β3 | Go to diff View file |
M | tests/unit/common/User/Account/Register/IProcessRegisterFormStub.php | +3 | β3 | Go to diff View file |
M | tests/unit/common/User/Account/Register/ProcessRegisterFormControllerTest.php | +14 | β30 | Go to diff View file |