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 pull request introduces 1 alert when merging 8bdcf31ec18ce873a1bca34392308b6d4c178e61 into 3a14937a9e1edfb381f41821674223082089e887 - view on LGTM.com
So far, on
CheckFileInfo
we return the app URLs themselves asHostViewUrl
andHostEditUrl
, 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