stable

Clone or download

Read-only

request #12390 Convert error message for access to private project in BP

How to test: - Try to access to a private project you're not member of => you should have a BP error page => a modal enable you to ask permission for this project - Change te default text for error (Project Admin > Permission Request) Try to access a private project you're not member of => the place holder has changed in the modal This patch keept old logic for sending mail and PermissionDeniedPrivateProjectController extends Error_PermissionDenied, I'll remove the hierarchy once permission for restricted users have been converted. Change-Id: I0bcc397a5c7b954a2bf18f192d450a29998fdf15

Modified Files

Name
M site-content/en_US/include/include.tab +1 −1 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +27 −0 Go to diff View file
M site-content/fr_FR/include/include.tab +1 −1 Go to diff View file
M site-content/tuleap-core.pot +27 −0 Go to diff View file
M src/common/Request/RouteCollector.php +6 −0 Go to diff View file
M src/common/error/Error_PermissionDenied.class.php +1 −1 Go to diff View file
D src/common/error/Error_PermissionDenied_PrivateProject.class.php +0 −47 Go to diff View file
A src/common/error/PermissionDeniedMailSender.php +82 −0 Go to diff View file
A src/common/error/PermissionDeniedPrivateProjectController.php +98 −0 Go to diff View file
A src/common/error/PermissionDeniedPrivateProjectPresenter.php +41 −0 Go to diff View file
A src/common/error/PlaceHolderBuilder.php +55 −0 Go to diff View file
M src/common/include/URLVerification.class.php +25 −11 Go to diff View file
M src/common/project/ProjectManager.class.php +1 −1 Go to diff View file
A src/templates/common/join-project.mustache +41 −0 Go to diff View file
A src/templates/common/permission-denied-private-project.mustache +26 −0 Go to diff View file
A src/templates/common/svg-private-project.mustache +58 −0 Go to diff View file
A src/www/scripts/BurningParrot/access-denied-error.js +68 −0 Go to diff View file
A src/www/scripts/BurningParrot/build-manifest.json +8 −0 Go to diff View file
A src/www/scripts/BurningParrot/po/fr.po +18 −0 Go to diff View file
A src/www/scripts/BurningParrot/po/template.pot +2 −0 Go to diff View file
M src/www/scripts/webpack.config.js +2 −1 Go to diff View file
M src/www/sendmessage.php +22 −19 Go to diff View file
M src/www/themes/BurningParrot/css/_includes.scss +1 −0 Go to diff View file
A src/www/themes/BurningParrot/css/includes/_error.scss +30 −0 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_structure.scss +6 −0 Go to diff View file