Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable compliant host URLs in CheckFileInfo #93

Merged
merged 3 commits into from
Oct 17, 2022
Merged

Enable compliant host URLs in CheckFileInfo #93

merged 3 commits into from
Oct 17, 2022

Conversation

glpatcern
Copy link
Member

So far, on CheckFileInfo we return the app URLs themselves as HostViewUrl and HostEditUrl, which is suboptimal when using the "Save As" feature or when there's a reload, as the user is redirected outside of the standard (ownCloud web) iframe.

This PR introduces the possibility to configure those URLs, which would be used by OCIS and Reva (not usable by the legacy CERNBox UI instead), as they have a dedicated route to open files in apps.

This allows to pass one more test in #76

@glpatcern glpatcern requested a review from javfg as a code owner October 12, 2022 07:35
@lgtm-com
Copy link
Contributor

lgtm-com bot commented Oct 12, 2022

This pull request introduces 1 alert when merging 8bdcf31 into 3a14937 - view on LGTM.com

new alerts:

  • 1 for Unused import

This implied adding the original fileid to the WOPI access token,
and altering the internal format of inodes to be compatible with
the web frontend.
@glpatcern glpatcern merged commit c8ef3f2 into master Oct 17, 2022
@glpatcern glpatcern deleted the hosturls branch October 17, 2022 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants