Commit graph

4 commits

Author SHA1 Message Date
Alan Verdugo
084a295040 Fixing pycodestyle errors
Change-Id: I5e47613d33f87bfddb1bf3f301d6ea0319f2ec3c
2020-10-12 18:31:14 +03:00
Andras Timar
0002fdfd6c fix license headers
Change-Id: I8623770b32d278a45357dc7f757fabfadd2b4af7
2020-10-01 11:56:43 +02:00
Mike Kaganski
05dba7ad86 Restructure discovery to have less apps
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-08-27 11:29:12 +02:00
Michael Meeks
cca657c8f2 Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
Renamed from loolwsd/lint-discovery.py (Browse further)