stable

Clone or download

Read-only

Move FRS plugin to front-router and Burning parrot

Closes request #14539 Move FRS plugin to BurningParrot How to test: - Rebuild the FRS plugin themes and scripts - Clear caches - Go to FRS. When you click on the "Release notes" icon near a release, if the plugin is present, the URL of the link will point to a new route - The new route uses BurningParrot - No functional changes expected. License agreement modals still work. Change-Id: I7f82c8440028ae8f5278b36d98125c8de53ecba2

Modified Files

Name
A plugins/frs/include/FRS/ReleaseNotesController.php +174 −0 Go to diff View file
M plugins/frs/include/frsPlugin.php +17 −96 Go to diff View file
A plugins/frs/phpunit/FRS/ReleaseNotesControllerTest.php +176 −0 Go to diff View file
M plugins/frs/site-content/fr_FR/LC_MESSAGES/tuleap-frs.po +9 −2 Go to diff View file
M plugins/frs/templates/release.mustache +3 −2 Go to diff View file
R plugins/frs/themes/FlamingParrot/tuleap-frs.scss Go to diff View file
A plugins/frs/themes/BurningParrot/frs-blue-condensed.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-blue.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-green-condensed.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-green.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-grey-condensed.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-grey.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-orange-condensed.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-orange.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-purple-condensed.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-purple.scss +22 −0 Go to diff View file
A plugins/frs/themes/BurningParrot/frs-red-condensed.scss +22 −0 Go to diff View file
R plugins/frs/themes/FlamingParrot/includes/_custom-license-modal.scss Go to diff View file
R plugins/frs/themes/FlamingParrot/images/loader-mini.gif Binary file Go to diff View file
R plugins/frs/themes/FlamingParrot/includes/_license-modal.scss Go to diff View file
A plugins/frs/themes/BurningParrot/includes/_linked-artifacts.scss +62 −0 Go to diff View file
R plugins/frs/themes/FlamingParrot/includes/_release.scss Go to diff View file
D plugins/frs/themes/FlamingParrot/images/loader.gif +- −- Go to diff View file
D plugins/frs/themes/FlamingParrot/includes/_files.scss +0 −66 Go to diff View file
D plugins/frs/themes/FlamingParrot/includes/_linked-artifacts.scss +0 −79 Go to diff View file
D plugins/frs/themes/FlamingParrot/style.scss +0 −47 Go to diff View file
M plugins/frs/themes/webpack.common.js +10 −5 Go to diff View file
A plugins/frs/www/js/angular/__mocks__/angular-tlp.js +27 −0 Go to diff View file
M plugins/frs/www/js/angular/package-lock.json +21 −16 Go to diff View file
M plugins/frs/www/js/angular/package.json +5 −5 Go to diff View file
M plugins/frs/www/js/angular/po/fr.po +7 −4 Go to diff View file
M plugins/frs/www/js/angular/src/app/app.js +2 −2 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/custom-license-modal/custom-license-modal-controller.js +31 −4 Go to diff View file
A plugins/frs/www/js/angular/src/app/file-download/custom-license-modal/custom-license-modal-controller.test.js +70 −0 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/custom-license-modal/custom-license-modal.tpl.html +26 −25 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/file-download-controller.js +21 −25 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/file-download-controller.test.js +47 −29 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/license-modal/license-modal-controller.js +27 −4 Go to diff View file
A plugins/frs/www/js/angular/src/app/file-download/license-modal/license-modal-controller.test.js +72 −0 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/license-modal/license-modal.tpl.html +34 −33 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/files/files-config.js +1 −1 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/files/files.tpl.html +98 −81 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/linked-artifacts/linked-artifacts-config.js +1 −1 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/linked-artifacts/linked-artifacts.tpl.html +74 −65 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/release-controller.js +31 −8 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/release-controller.test.js +49 −25 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/release.tpl.html +44 −42 Go to diff View file
D plugins/frs/www/js/angular/vendor/angular-ui-bootstrap-bower/.bower.json +0 −23 Go to diff View file
D plugins/frs/www/js/angular/vendor/angular-ui-bootstrap-bower/bower.json +0 −11 Go to diff View file
D plugins/frs/www/js/angular/vendor/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js +0 −3584 Go to diff View file
D plugins/frs/www/js/angular/vendor/angular-ui-bootstrap-bower/ui-bootstrap.js +0 −3341 Go to diff View file
M plugins/frs/www/js/angular/webpack.config.js +9 −0 Go to diff View file
A src/common/FRS/Events/GetReleaseNotesLink.php +57 −0 Go to diff View file
M src/www/file/showfiles.php +16 −4 Go to diff View file
M src/www/file/shownotes.php +25 −45 Go to diff View file
A tests/phpunit/common/FRS/Events/GetReleaseNotesLinkTest.php +56 −0 Go to diff View file