stable
Clone or download
Read-only
Go to /artidoc/:id where `:id` is the document with `(item_type, other_type) = (7, "artidoc")` manually set in the db. The title of the document is displayed in the page 🥳 If user cannot access to the project, to the document, or the project does not have nor tracker nor docman services, the user get a not found. Part of story #37542: display a read only Document Change-Id: I278b8e4f318744f0f02327a0c8962f5de2611e4d
Modified Files
Name | ||||
---|---|---|---|---|
M | .eslintrc.js | +1 | −0 | Go to diff View file |
M | plugins/artidoc/include/Artidoc/ArtidocController.php | +24 | −36 | Go to diff View file |
A | plugins/artidoc/include/Artidoc/Document/ArtidocDao.php | +45 | −0 | Go to diff View file |
A | plugins/artidoc/include/Artidoc/Document/ArtidocDocumentInformation.php | +34 | −0 | Go to diff View file |
A | plugins/artidoc/include/Artidoc/Document/ArtidocRetriever.php | +87 | −0 | Go to diff View file |
A | plugins/artidoc/include/Artidoc/Document/RetriveArtidoc.php | +33 | −0 | Go to diff View file |
A | plugins/artidoc/include/Artidoc/Document/SearchArtidocDocument.php | +26 | −0 | Go to diff View file |
M | plugins/artidoc/include/Artidoc/artidoc.mustache | +1 | −0 | Go to diff View file |
M | plugins/artidoc/include/artidocPlugin.php | +10 | −3 | Go to diff View file |
A | plugins/artidoc/tests/unit/Artidoc/Document/ArtidocRetrieverTest.php | +232 | −0 | Go to diff View file |
A | plugins/artidoc/tests/unit/Artidoc/Stubs/Document/SearchArtidocDocumentStub.php | +47 | −0 | Go to diff View file |
M | plugins/docman/include/Docman_ItemFactory.class.php | +2 | −8 | Go to diff View file |
M | plugins/docman/include/Item/GetDocmanItemOtherTypeEvent.php | +2 | −1 | Go to diff View file |
A | plugins/docman/include/Item/GetItemFromRow.php | +31 | −0 | Go to diff View file |
A | plugins/docman/tests/unit/Stubs/GetItemFromRowStub.php | +54 | −0 | Go to diff View file |
M | src/common/NeverThrow/Fault.php | +2 | −2 | Go to diff View file |