stable
Clone or download
Read-only
This is part of story #9087: see linked artifacts in releases To test this: - Create a release, add at least one file to it - Click on the file's link. You should see a confirmation modal - When you accept the license, another window should open to let you download the file - When you refuse, the modal should be closed and no download should start - Edit your local.inc configuration, set sys_frs_license_mandatory to 0 - Edit the package that is parent of your release and set License Approval to No - Click on the file's link, you should not see a confirmation modal and another window should open to let you download the file Change-Id: Id8a4b7bd1c4196dd322a0ce24f7cc4d228da3902
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/frs/include/FRS/ReleasePresenter.php | +13 | −0 | Go to diff View file |
M | plugins/frs/templates/release.mustache | +1 | −1 | Go to diff View file |
M | plugins/frs/www/js/angular/po/fr.po | +51 | −8 | Go to diff View file |
M | plugins/frs/www/js/angular/po/template.pot | +25 | −0 | Go to diff View file |
M | plugins/frs/www/js/angular/src/app/app-controller.js | +3 | −2 | Go to diff View file |
M | plugins/frs/www/js/angular/src/app/app-controller.spec.js | +13 | −1 | Go to diff View file |
A | plugins/frs/www/js/angular/src/app/file-download/file-download-controller.js | +56 | −0 | Go to diff View file |
A | plugins/frs/www/js/angular/src/app/file-download/file-download-controller.spec.js | +79 | −0 | Go to diff View file |
M | plugins/frs/www/js/angular/src/app/file-download/file-download-directive.js | +5 | −7 | Go to diff View file |
D | plugins/frs/www/js/angular/src/app/file-download/file-download-directive.spec.js | +0 | −34 | Go to diff View file |
A | plugins/frs/www/js/angular/src/app/file-download/license-modal/_license-modal.scss | +5 | −0 | Go to diff View file |
A | plugins/frs/www/js/angular/src/app/file-download/license-modal/license-modal-controller.js | +28 | −0 | Go to diff View file |
A | plugins/frs/www/js/angular/src/app/file-download/license-modal/license-modal.tpl.html | +34 | −0 | Go to diff View file |
M | plugins/frs/www/js/angular/src/app/main.scss | +1 | −0 | Go to diff View file |
M | plugins/frs/www/js/angular/src/app/release/files/files.tpl.html | +4 | −1 | Go to diff View file |
M | plugins/frs/www/js/angular/src/app/shared-properties-service.js | +17 | −6 | Go to diff View file |