stable
Clone or download
Read-only
The admin can decide which properties can be used in search criteria and search results columns. If administrator does not change anything, then all properties are used as criteria/columns. Only add and removal is supported. The order is not taken into account, it will be part of a dedicated contribution. Part of story #24197: search for Documents with criteria Change-Id: I4be0a16dd4adb2fdda6e0822f8a289d07cf46fc6
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/Docman_Controller.class.php | +10 | −2 | Go to diff View file |
M | plugins/docman/include/Docman_WikiController.class.php | +2 | −2 | Go to diff View file |
A | plugins/docman/include/view/Admin/AdminTabPresenter.php | +37 | −0 | Go to diff View file |
A | plugins/docman/include/view/Admin/AdminTabsCollector.php | +119 | −0 | Go to diff View file |
M | plugins/docman/include/view/Admin/AdminView.php | +34 | −60 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_FilenamePattern.class.php | +0 | −5 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_LockInfos.class.php | +0 | −5 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_Metadata.class.php | +0 | −5 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_MetadataDetails.class.php | +0 | −5 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_MetadataDetailsUpdateLove.class.php | +0 | −5 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_MetadataImport.class.php | +5 | −0 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_Obsolete.class.php | +0 | −5 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_Permissions.class.php | +0 | −5 | Go to diff View file |
M | plugins/docman/include/view/Docman_View_Admin_View.class.php | +0 | −5 | Go to diff View file |
A | plugins/docman/tests/unit/view/Admin/AdminTabsCollectorTest.php | +112 | −0 | Go to diff View file |
A | plugins/document/db/install.sql | +15 | −0 | Go to diff View file |
A | plugins/document/db/mysql/updates/2022/202204150832_add_search_criteria_columns_tables.php | +59 | −0 | Go to diff View file |
A | plugins/document/db/uninstall.sql | +2 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/IRetrieveColumns.php | +31 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/IRetrieveCriteria.php | +31 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/IUpdateColumns.php | +28 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/IUpdateCriteria.php | +28 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/SearchColumnFilter.php | +58 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/SearchColumnsDao.php | +57 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/SearchCriteriaDao.php | +57 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/SearchCriteriaFilter.php | +59 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/SearchView.php | +119 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/UpdateSearchView.php | +100 | −0 | Go to diff View file |
A | plugins/document/include/Config/Project/search-view.mustache | +69 | −0 | Go to diff View file |
M | plugins/document/include/Tree/DocumentTreeController.php | +2 | −2 | Go to diff View file |
M | plugins/document/include/Tree/DocumentTreeProjectExtractor.php | +1 | −1 | Go to diff View file |
A | plugins/document/include/Tree/IExtractProjectFromVariables.php | +33 | −0 | Go to diff View file |
M | plugins/document/include/Tree/ListOfSearchCriterionPresenterBuilder.php | +24 | −1 | Go to diff View file |
M | plugins/document/include/Tree/Search/ListOfSearchColumnDefinitionPresenterBuilder.php | +27 | −4 | Go to diff View file |
M | plugins/document/include/documentPlugin.php | +57 | −3 | Go to diff View file |
M | plugins/document/package.json | +1 | −0 | Go to diff View file |
M | plugins/document/pnpm-lock.yaml | +2 | −0 | Go to diff View file |
A | plugins/document/scripts/admin-search-view/index.ts | +31 | −0 | Go to diff View file |
M | plugins/document/site-content/fr_FR/LC_MESSAGES/tuleap-document.po | +42 | −0 | Go to diff View file |
A | plugins/document/tests/unit/Config/Project/SearchColumnFilterTest.php | +127 | −0 | Go to diff View file |
A | plugins/document/tests/unit/Config/Project/SearchCriteriaFilterTest.php | +122 | −0 | Go to diff View file |
A | plugins/document/tests/unit/Config/Project/UpdateSearchViewTest.php | +301 | −0 | Go to diff View file |
M | plugins/document/tests/unit/Tree/ListOfSearchCriterionPresenterBuilderTest.php | +51 | −9 | Go to diff View file |
M | plugins/document/tests/unit/Tree/Search/ListOfSearchColumnDefinitionPresenterBuilderTest.php | +79 | −3 | Go to diff View file |
M | plugins/document/webpack.common.js | +1 | −0 | Go to diff View file |