stable

Clone or download

Read-only

refactor: Merge `document` plugin entrypoints into the `docman` plugin

No functional changes. Users of TCE benefit from the new interface without having to do anything. Document is not anymore listed in the list of plugins. Since docman and document are considered as the same plugin, we can use directly Document classes inside Docman. Part of story #26808: have document part of Community Edition Co-authored-by: Nicolas Terray <nicolas.terray@enalean.com> Change-Id: Ic263aa7e1b6b982648209c9675e675225c9c8994

Modified Files

Name
A plugins/docman/README.mkd +4 −0 Go to diff View file
D plugins/docman/README.txt +0 −16 Go to diff View file
M plugins/docman/db/install.sql +17 −0 Go to diff View file
R plugins/document/db/mysql/updates/2022/202204150832_add_search_criteria_columns_tables.php Go to diff View file
M plugins/docman/db/uninstall.sql +2 −0 Go to diff View file
M plugins/docman/include/DocmanSettingsSiteAdmin/DocmanSettingsTabsPresenterCollection.php +2 −5 Go to diff View file
D plugins/docman/include/DocmanSettingsSiteAdmin/DocmanSettingsTabsPresenterCollectionBuilder.php +0 −44 Go to diff View file
M plugins/docman/include/DocmanSettingsSiteAdmin/FilesUploadLimits/DocmanFilesUploadLimitsAdminController.php +4 −17 Go to diff View file
D plugins/docman/include/DocmanURL.php +0 −54 Go to diff View file
M plugins/docman/include/Docman_Controller.class.php +5 −7 Go to diff View file
M plugins/docman/include/ExternalLinks/DocmanHTTPControllerProxy.php +8 −9 Go to diff View file
D plugins/docman/include/ExternalLinks/DocmanLinkProvider.php +0 −60 Go to diff View file
M plugins/docman/include/ExternalLinks/ExternalLinkRedirector.php +1 −3 Go to diff View file
M plugins/docman/include/ExternalLinks/ExternalLinksManager.php +6 −30 Go to diff View file
D plugins/docman/include/ExternalLinks/LegacyLinkProvider.php +0 −63 Go to diff View file
M plugins/docman/include/Notifications/NotificationBuilders.php +2 −9 Go to diff View file
M plugins/docman/include/ServiceDocman.php +1 −1 Go to diff View file
M plugins/docman/include/docmanPlugin.php +159 −11 Go to diff View file
D plugins/docman/include/view/Admin/AdminTabsCollector.php +0 −119 Go to diff View file
M plugins/docman/include/view/Admin/AdminView.php +60 −9 Go to diff View file
D plugins/docman/include/view/Admin/DetectEnhancementOfDocmanInterface.php +0 −51 Go to diff View file
M plugins/docman/include/view/Docman_View_Admin_View.class.php +2 −7 Go to diff View file
M plugins/docman/include/view/Docman_View_Display.class.php +1 −1 Go to diff View file
M plugins/docman/include/view/DocumentFooterPresenterBuilder.php +5 −16 Go to diff View file
D plugins/docman/tests/unit/view/Admin/AdminTabsCollectorTest.php +0 −112 Go to diff View file
M plugins/docman/tests/unit/view/DocumentFooterPresenterBuilderTest.php +17 −17 Go to diff View file
D plugins/document/db/install.sql +0 −15 Go to diff View file
D plugins/document/db/mysql/updates/2022/202206021354_unrestrict_document.php +0 −52 Go to diff View file
D plugins/document/db/uninstall.sql +0 −2 Go to diff View file
M plugins/document/include/Config/Admin/FilesDownloadLimitsAdminController.php +5 −28 Go to diff View file
M plugins/document/include/Config/Admin/HistoryEnforcementAdminController.php +5 −30 Go to diff View file
D plugins/document/include/Plugin/PluginDescriptor.php +0 −33 Go to diff View file
D plugins/document/include/Plugin/PluginInfo.php +0 −31 Go to diff View file
D plugins/document/include/documentPlugin.php +0 −323 Go to diff View file
M plugins/document/site-content/fr_FR/LC_MESSAGES/tuleap-document.po +0 −3 Go to diff View file
M plugins/document/site-content/pt_BR/LC_MESSAGES/tuleap-document.po +0 −3 Go to diff View file
M plugins/document/tests/unit/Config/Admin/FilesDownloadLimitsAdminControllerTest.php +1 −19 Go to diff View file
M plugins/document/tests/unit/Config/Admin/HistoryEnforcementAdminControllerTest.php +1 −19 Go to diff View file
M plugins/document/tests/unit/DocmanSettingsSiteAdmin/DocmanSettingsTabsPresenterCollectionTest.php +45 −18 Go to diff View file