stable
Clone or download
Read-only
If you have artidoc document in your document manager, then if you start an advanced search with type = Artidoc, then only them will be displayed in the interface. Technical note: since artidoc is a plugin and document is a plugin, the document app should know nothing about artidoc. This is why the type AllowedSearchType is removed and we rely now only on what is provided by the backend during app initialisation. Part of story #37542: display a read only Document Change-Id: Ib7fae7da860d9f39e789e9bef2673d3d9b115dca
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/artidoc/include/Artidoc/Document/ArtidocRetriever.php | +4 | −20 | Go to diff View file |
A | plugins/artidoc/include/Artidoc/Document/DocumentServiceFromAllowedProjectRetriever.php | +63 | −0 | Go to diff View file |
M | plugins/artidoc/include/Artidoc/REST/v1/ArtidocResource.php | +2 | −1 | Go to diff View file |
M | plugins/artidoc/include/artidocPlugin.php | +27 | −1 | Go to diff View file |
M | plugins/artidoc/tests/unit/Artidoc/Document/ArtidocRetrieverTest.php | +10 | −10 | Go to diff View file |
A | plugins/artidoc/tests/unit/Artidoc/Document/DocumentServiceFromAllowedProjectRetrieverTest.php | +92 | −0 | Go to diff View file |
M | plugins/docman/include/Docman_Filter.php | +12 | −0 | Go to diff View file |
A | plugins/docman/include/REST/v1/Folders/FilterItemOtherTypeProvider.php | +51 | −0 | Go to diff View file |
M | plugins/docman/include/REST/v1/Folders/SearchReportBuilder.php | +9 | −3 | Go to diff View file |
M | plugins/docman/include/REST/v1/SearchResource.php | +1 | −0 | Go to diff View file |
M | plugins/docman/include/docmanPlugin.php | +2 | −1 | Go to diff View file |
A | plugins/docman/tests/unit/REST/v1/Folders/FilterItemOtherTypeProviderTest.php | +55 | −0 | Go to diff View file |
M | plugins/docman/tests/unit/REST/v1/Folders/SearchReportBuilderTest.php | +2 | −0 | Go to diff View file |
M | plugins/document/include/Tree/ListOfSearchCriterionPresenterBuilder.php | +9 | −10 | Go to diff View file |
A | plugins/document/include/Tree/TypeOptionsCollection.php | +69 | −0 | Go to diff View file |
M | plugins/document/scripts/document/router/get-search-props-from-route.test.ts | +57 | −1 | Go to diff View file |
M | plugins/document/scripts/document/router/get-search-props-from-route.ts | +27 | −4 | Go to diff View file |
M | plugins/document/scripts/document/type.ts | +1 | −12 | Go to diff View file |
M | plugins/document/tests/unit/Config/Project/SearchCriteriaFilterTest.php | +2 | −1 | Go to diff View file |
M | plugins/document/tests/unit/Tree/ListOfSearchCriterionPresenterBuilderTest.php | +37 | −22 | Go to diff View file |
A | plugins/document/tests/unit/Tree/TypeOptionsCollectionTest.php | +111 | −0 | Go to diff View file |