stable

Clone or download

Read-only

Delete license agreement

It's not possible to delete an agreement if it's used by an active or hidden package. Part of story #14008 customize FRS Download Agreement in my project Change-Id: I3392e265f48b26565dc7461f70cb39d2ad588802

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +11 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/AddLicenseAgreementController.php +2 −1 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/EditLicenseAgreementController.php +11 −1 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/EditLicenseAgreementPresenter.php +16 −1 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/SaveLicenseAgreementController.php +41 −28 Go to diff View file
A src/common/FRS/LicenseAgreement/Admin/UsedByPresenter.php +42 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/Admin/templates/edit-license-agreement.mustache +14 −1 Go to diff View file
M src/common/FRS/LicenseAgreement/DefaultLicenseAgreement.php +5 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/LicenseAgreement.php +5 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/LicenseAgreementDao.php +61 −8 Go to diff View file
M src/common/FRS/LicenseAgreement/LicenseAgreementFactory.php +32 −1 Go to diff View file
M src/common/FRS/LicenseAgreement/LicenseAgreementInterface.php +2 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/NewLicenseAgreement.php +5 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/NoLicenseToApprove.php +5 −0 Go to diff View file
M src/common/Request/RouteCollector.php +4 −2 Go to diff View file
M tests/phpunit/common/FRS/LicenseAgreement/Admin/EditLicenseAgreementControllerTest.php +4 −2 Go to diff View file
M tests/phpunit/common/FRS/LicenseAgreement/Admin/SaveLicenseAgreementControllerTest.php +48 −31 Go to diff View file
M tests/phpunit/common/FRS/LicenseAgreement/LicenseAgreementFactoryTest.php +45 −0 Go to diff View file