stable
Clone or download
Read-only
part of: story #14876 propose changelog on documents by default How to test: - Go to site-admin > Document > History enforcement --> The option is disabled by default - Enable it --> Feedback success --> The switch is in the enabled state - Disable it --> Feedback success --> The switch is in the disabled state Change-Id: I8b712daf22fe378ac600a28a95955467de21d114
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/include/Config/Admin/FileDownloadTabPresenter.php | +1 | −1 | Go to diff View file |
A | plugins/document/include/Config/Admin/HistoryEnforcementAdminController.php | +98 | −0 | Go to diff View file |
A | plugins/document/include/Config/Admin/HistoryEnforcementAdminSaveController.php | +93 | −0 | Go to diff View file |
A | plugins/document/include/Config/Admin/HistoryEnforcementPresenter.php | +57 | −0 | Go to diff View file |
A | plugins/document/include/Config/Admin/HistoryEnforcementTabPresenter.php | +36 | −0 | Go to diff View file |
A | plugins/document/include/Config/HistoryEnforcementSettings.php | +43 | −0 | Go to diff View file |
A | plugins/document/include/Config/HistoryEnforcementSettingsBuilder.php | +35 | −0 | Go to diff View file |
M | plugins/document/include/documentPlugin.php | +23 | −2 | Go to diff View file |
M | plugins/document/site-content/fr_FR/LC_MESSAGES/tuleap-document.po | +23 | −0 | Go to diff View file |
A | plugins/document/templates/history-enforcement.mustache | +46 | −0 | Go to diff View file |
A | plugins/document/tests/unit/Config/Admin/HistoryEnforcementAdminControllerTest.php | +107 | −0 | Go to diff View file |
A | plugins/document/tests/unit/Config/Admin/HistoryEnforcementAdminSaveControllerTest.php | +113 | −0 | Go to diff View file |
A | plugins/document/tests/unit/Config/HistoryEnforcementSettingsBuilderTest.php | +49 | −0 | Go to diff View file |