Closed StCyr closed 3 months ago
What do you mean shared files? You mean in public view mode ?
hmmm I probably mean that :laughing:
I mean files that are shared with unauthenticated users, like when they are shared with a link... I think it relates to the following route in app file_sharing:
[
'name' => 'Share#showShare',
'url' => '/s/{token}',
'verb' => 'GET',
'root' => '',
],
Yeah, when it's done, you should be able to register file actions the very same way than the authenticated Files app.
Closing as this is not related to this library and /theoretically/ already supported
Closing as this is not related to this library and /theoretically/ already supported
Sorry for hijacking this closed issue - would it be possible to please elaborate a bit on the "already supported" part? The DICOMviewer app lost support for displaying images in folders shared via public share links recently and nothing I see in @nextcloud/files registerFileAction seems to be related to share links. Would be really grateful for any pointers so I could try my hand at hacking some support back in (not a maintainer, just a frustrated user/admin). Thank you!
I see [nothing] in @nextcloud/files registerFileAction seems to be related to share links.
@nextclou/files
are helpers to work in general with files and especially to provide public API for the files app.
Currently the modern files list is only used for authenticated users, for public link shares still the legacy file list is used, so for public shares you would need to use the API you used with Nextcloud 27 and before.
We hope to switch the public shares file list to the modern file list soon.
Thank you very much for your quick response, much appreciated! 👍
It might be great if Nextcloud Apps could create fileActions to be available for shared files
use case is the SignLive app where we would like to be able to let guests sign pdf files