Web: Public link access for file editor apps

Created on 17 Sep 2019  路  7Comments  路  Source: owncloud/web

Provide public link access for file editor apps.

It means the editor should open for files accessible through public links. (also single file shares!)

I suggest we do this for the text editor and/or markdown app to figure out the missing pieces and also to provide an example app for other file editor app developers.

@pmaier1 @LukasHirt

Enhancement files

Most helpful comment

Ah, okay. Sorry for the confusion. I remember we once discussed opening the files directly in those editors and my brain merged it into this ticket 馃檲

Then we'd have to first check and potentially adjust the sdk to use the correct headers in such case and then just enable it in editors (there is a check for the route so we'd only add public as enabled). I'll check the sdk and will see how much would need to be changed there.

All 7 comments

Markdown app doesn't work, but likely for different reasons:
image

Raised here: https://github.com/owncloud/phoenix/issues/2076

Would be nice to have an Opportunity to do this. If it possible a short example would be great.

Maybe @LukasHirt can provide some hints?

This would need two features in Web:

  • Offer a select for which app should be used. Could be a dropdown in the create link dialogue
  • Handle the param in the URL when opening the link to open the correct app

Both should be quite straight forward to implement. What I am a bit uncertain about is the server part. Currently, we're redirecting the link in oC10 to the new WebUI. I need to check if the redirect could already handle some arbitrary params or if it would need to be extended which would then mean the need for a new release of the server.

This would need two features in Web:

I think there's a misunderstanding. If I understand correctly, this ticket is about making viewers/editors (e.g., media viewer or a text editor) available when accessing files via a public link. Currently those are only available for logged in users.

@pmaier1 I think Yes and No, It depends on your application model. In the first place it would be awesome (as you mentioned) to be able to open publicly shared files with an editor/viewer by link.

For more advanced Applications it is perhaps necessary to route the request to an Service outside of Ocis/oC10 (Extension).

Ah, okay. Sorry for the confusion. I remember we once discussed opening the files directly in those editors and my brain merged it into this ticket 馃檲

Then we'd have to first check and potentially adjust the sdk to use the correct headers in such case and then just enable it in editors (there is a check for the route so we'd only add public as enabled). I'll check the sdk and will see how much would need to be changed there.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PVince81 picture PVince81  路  9Comments

individual-it picture individual-it  路  5Comments

tomneedham picture tomneedham  路  3Comments

individual-it picture individual-it  路  5Comments

DeepDiver1975 picture DeepDiver1975  路  6Comments