stable

Clone or download

Read-only

Display, edit and save a license agreement

Part of story #14008 customize FRS Download Agreement in my project Change-Id: I4606e98e2941da9ecd6f4273b1c538fb48a32618

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +12 −0 Go to diff View file
A src/common/FRS/LicenseAgreement/Admin/EditLicenseAgreementController.php +127 −0 Go to diff View file
A src/common/FRS/LicenseAgreement/Admin/EditLicenseAgreementPresenter.php +62 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/LicenseAgreementPresenter.php +2 −2 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/ListLicenseAgreementsController.php +12 −16 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/ListLicenseAgreementsPresenter.php +5 −3 Go to diff View file
A src/common/FRS/LicenseAgreement/Admin/SaveLicenseAgreementController.php +109 −0 Go to diff View file
A src/common/FRS/LicenseAgreement/Admin/ViewDefaultLicensePresenter.php +58 −0 Go to diff View file
A src/common/FRS/LicenseAgreement/Admin/templates/edit-license-agreement.mustache +16 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/templates/license-agreements-list.mustache +2 −2 Go to diff View file
A src/common/FRS/LicenseAgreement/Admin/templates/view-default-license-agreement.mustache +10 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/LicenseAgreementDao.php +30 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/LicenseAgreementFactory.php +17 −0 Go to diff View file
A src/common/Request/GetProjectTrait.php +43 −0 Go to diff View file
M src/common/Request/RouteCollector.php +30 −0 Go to diff View file
A src/www/scripts/frs/admin/license-agreement.js +26 −0 Go to diff View file
M src/www/scripts/webpack.config.js +17 −1 Go to diff View file
A tests/phpunit/common/FRS/LicenseAgreement/Admin/EditLicenseAgreementControllerTest.php +187 −0 Go to diff View file
M tests/phpunit/common/FRS/LicenseAgreement/Admin/ListLicenseAgreementsControllerTest.php +10 −3 Go to diff View file
A tests/phpunit/common/FRS/LicenseAgreement/Admin/SaveLicenseAgreementControllerTest.php +182 −0 Go to diff View file