Skip to content

Product Version is no longer sent with capabilitiesΒ #5360

@elzody

Description

@elzody

Describe the bug
In CollaboraOnline/online#14316 a change was made that only sends the Collabora server's signature (product version, kit version, etc.) if you enable security.server_signature in your coolwsd config. This makes sense in terms of security, but we also need to adapt to this change in richdocuments.

The failing parts are the checks we do to see if the Collabora server has drawing support (.odg files, etc.) and form filling support (whether or not we can extract/transform the document structure). We do this by parsing the version from the /hosting/capabilities and comparing it to the version the feature was initially released.

We can probably drop the drawing support check, since that has likely been supported for a very long time now and I doubt anyone is using a version of Collabora Online that does not support it. For the form filling support, my only solution for now is to check if the extract/transform endpoints are available and cache the result.

In the meantime, it would be good if Collabora could expand what is returned in the capabilities endpoint to include things like the extract/transform API so that we don't need to do weird solutions anymore.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions