stable

Clone or download

Read-only

feat: Display authoring tool of a version in Source column

If you update manually the db table `plugin_docman_version` to change the new authoring_tool of a given File version, then it will be reflected in the Document UI. By default "Uploaded" is still displayed. Part of story #28263: edit office document stored in Document Change-Id: I58abc94159bc7b109f8d273ccd1faf01e9f82d06

Modified Files

Name
M plugins/docman/db/install.sql +1 −0 Go to diff View file
A plugins/docman/db/mysql/updates/2022/20221103_add_authoring_tool_column.php +37 −0 Go to diff View file
M plugins/docman/include/Docman_Version.class.php +23 −12 Go to diff View file
M plugins/docman/include/REST/v1/Files/FileVersionRepresentation.php +9 −0 Go to diff View file
M plugins/docman/include/REST/v1/VersionRepresentationCollectionBuilder.php +1 −0 Go to diff View file
M plugins/docman/include/Version/VersionDao.php +3 −3 Go to diff View file
M plugins/docman/tests/unit/REST/v1/VersionRepresentationCollectionBuilderTest.php +2 −0 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsContentRow.test.ts +30 −1 Go to diff View file
M plugins/document/scripts/document/components/Versions/HistoryVersionsContentRow.vue +11 −3 Go to diff View file
M plugins/document/scripts/document/type.ts +1 −0 Go to diff View file