summaryrefslogtreecommitdiff
path: root/discovery.xml
AgeCommit message (Collapse)AuthorFilesLines
2020-08-27Restructure discovery to have less appsMike Kaganski1-89/+226
The apps are not meant to represent MIME types of respective single file extensions; rather, they represent application/module that handles several extensions. So this groups extensions under modules (writer/calc/...). This is required for some WOPI hosts that whitelist discovery data on per-app base. The old list of MIME-type-based apps is kept for compatibility with existing integrations, until they are fixed to use new-style discovery. Extensions are removed from legacy part, to avoid duplicating actions. This also hardcodes content types, to avoid repeated parsing of discovery.xml. lint-discovery.py is updated to process new-style information (ignores legacy part). Change-Id: Ib8d3518f00510cd0788314d8a9da9a286a52e0ba Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99637 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-27allow saving a PDF, add "view_comment" stateTomaž Vajngerl1-1/+1
This adds a "view_comment" in addition to "view" and "edit" state into discovery.xml. In case it is enabled, the filters let the comment commands through to core. In addition add "Save Comment" menu action to allow saving the comments, which is enabled when in "read-only" with "view_comment" mode. Change-Id: I3ab3dbee93ee2167ae96adea7025fc0b385f8201 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99473 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-26existing integrations prefer text/rtfAndras Timar1-1/+1
Change-Id: Ia85c198178d6c3f579d69bb7df3b131ffcaa4847
2020-06-25Remove duplicating extensions from discoveryMike Kaganski1-18/+0
Fixes the problem that binding with SharePoint using New-SPWOPIBinding is only possible when specific extensions or applications are specified. Trying to bind all information from discovery resulted in error: New-SPWOPIBinding : One or more of the WOPI bindings specified in New-SPWOPIBinding already exist. The operation has been cancelled. Change-Id: I5675c4cee8b68b81b5c0971a5dc577f653a1ae5b Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97063 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-06-24Mark actions as default in discoveryMike Kaganski1-87/+87
This allows to open the WOPI application by simple click on files in SharePoint, instead of explicit use of "Edit in browser" menu. Ref.: https://docs.microsoft.com/en-us/openspecs/office_protocols/ms-wopi/7ceea62b-4fb1-436b-af8b-fbf5a721fcba Change-Id: Ieb535e0d85de050d5e01ba0bb8ccf39ffc5b0f7a Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97030 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-03-02tabs to spacesAndras Timar1-64/+64
Change-Id: Ia9372a09b5cca059fa59e18b7e46cf08268745bd Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89855 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-03-02Base documents and Extensions are not supportedAndras Timar1-10/+0
Change-Id: I7fc728e9da03ad2b1f6811d7a03307f2d3876b31 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89812 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-10-25Remove Lotus WordPro supportAndras Timar1-3/+0
... because lotuswordpro filter is not present in MPLv2-only core builds Change-Id: I100e886273f8b7fd38887576c2d29fad4c69b2e7 Reviewed-on: https://gerrit.libreoffice.org/79683 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit d7813989913e95cefc8484d6d2af965ed5752588)
2019-06-22Make ODG view-only in discovery.xmlAron Budea1-2/+2
Change-Id: I09cc68f71ae432ba249dbf0940ea715fb6f8b7cf Reviewed-on: https://gerrit.libreoffice.org/73692 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit a9aa9f316ddb085d88f7787034713665b65c73b0) Reviewed-on: https://gerrit.libreoffice.org/74565 Reviewed-by: Aron Budea <aron.budea@collabora.com> Tested-by: Aron Budea <aron.budea@collabora.com>
2018-10-19Add /hosting/capabilities endpoint to advertise online featuresTamás Zolnai1-0/+4
Add an entry to discovery.xml with the urlsrc where capabilities end point can be found. Use json format to send back the feature list. Change-Id: I390a53d956d53ca79e5a8090aead7f4131ec4ca0
2017-08-07discovery: Add the binary MS filetypes.Jan Holesovsky1-2/+15
Change-Id: I745471cc2c1febf6de70c7063197eee7b1672f2e Reviewed-on: https://gerrit.libreoffice.org/40825 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-06-14discovery: Add bmp as read-only type too.Jan Holesovsky1-0/+3
Change-Id: I42f21bab6f8d4ba24580f6d6e4a3a1dd5cd57811 Reviewed-on: https://gerrit.libreoffice.org/38782 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2017-05-12extend discovery.xml with pdf and image formatsAshod Nakashian1-0/+18
Change-Id: I201eb276b4de29239c7dd99954abcc39e6027aff Reviewed-on: https://gerrit.libreoffice.org/37430 Reviewed-by: pranavk <pranavk@collabora.co.uk> Tested-by: pranavk <pranavk@collabora.co.uk>
2017-01-07add text/rtf and text/plain as supported MIME typesAndras Timar1-0/+6
Change-Id: Ic46e8ccaeecc24ef2c6b6fce6b342c976c3ddc60 Reviewed-on: https://gerrit.libreoffice.org/32822 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-11-25Apply the pre-branch rename script to re-organize the source.Michael Meeks1-0/+303