ownpad
ownpad copied to clipboard
Not working in public directory
Hello,
I'm using ownpad 0.5.9 with Owncloud 9.1.5.
When a pad is in a publicly shared directory, clicking on it does not open the pad correctly.
Here is an example (Test.pad
): https://drive.animafac.net/index.php/s/CPZEAyP8IOTNDkv
The same pad works correctly when logged in.
@otetard Could you maybe point me to the according locations in the source to implement this? I'd be really happy to have this feature and would be willing to add it.
Ownpad is a great app but the sharing link to modify the pad is a real important feature Have you plan to add this ?
I don’t currently plan to implement this feature, but if someone wants to do it, I’m prone to review and merge it.
I don’t know exactly what should be done to implement this feature, we could probably use the files_pdfviewer
app as an example here.
You can rename the file with extension *.url instead of *.pad to make it open in another Tab for users who have only access to the shared version.
I’ve started to work on that feature in a dedicated branch: public-viewer
.
Some use case still needs to be fixed (don’t allow to open private pad even if shared for instance), but it’s working.
This feature is now implemented in v0.9.0-beta.1 (that will be released as 0.9.0 if no issue is identified).