nextcloud-sharing-path icon indicating copy to clipboard operation
nextcloud-sharing-path copied to clipboard

Completely broken on Nextcloud 28

Open ayuinaba opened this issue 6 months ago • 4 comments

With the release of Nextcloud 28 and the deprecation of the Right Click app in favor of the integration of it across the board, the Sharing Path app has stopped working entirely. It is impossible to copy the path of a file via the right click context menu, as there's no such option present any more. As such, I've decided to stay on Nextcloud 27, where it works alongside Right Click, despite it not being updated for a considerable amount of releases now. If there's any workaround for this or desire to continue developing this app that I cannot live without, please let me know. Thank you.

ayuinaba avatar Jan 04 '24 00:01 ayuinaba

After installing Nextcloud 28.0.1, the Sharing Path app from Rookie0 (current version 0.4.4) no longer works. In Nextcloud version 27, the app could be used with a right-click without any problems. Who can help me to get the app working again? Many thanks in advance for your help!

wbertwab avatar Jan 16 '24 14:01 wbertwab

After installing Nextcloud 28.0.1, the Sharing Path app from Rookie0 (current version 0.4.4) no longer works. In Nextcloud version 27, the app could be used with a right-click without any problems. Who can help me to get the app working again? Many thanks in advance for your help!

The only workaround that I know of, as mentioned, is to stay on version 27, or roll it back to that version. Hopefully an actual solution comes up.

ayuinaba avatar Jan 16 '24 14:01 ayuinaba

@wbertwab @ayuinaba

Suggested alternative: Utilize the "Sharing Path" feature using custom links rather than auto-generated ones.

As we understand, the sharepath link consists of two components:

  • Prefix: https://<nextcloud domain>/apps/sharingpath/<username>/
  • Sharing folder: I have designated it as public. I consistently place shared files in this folder to safeguard other more private files from unauthorized access.
  • File path: Such as /video/minami-03.mp4

Thus, the custom link takes the form of https://<nextcloud domain>/apps/sharingpath/<username>/public/video/minami-03.mp4. This link remains functional in Nextcloud 28.x.x.

Fortunately, the core functionality remains intact. It is operational, albeit not flawlessly.

huangwb8 avatar Feb 12 '24 00:02 huangwb8

@wbertwab @ayuinaba

Suggested alternative: Utilize the "Sharing Path" feature using custom links rather than auto-generated ones.

As we understand, the sharepath link consists of two components:

* Prefix: `https://<nextcloud domain>/apps/sharingpath/<username>/`

* Sharing folder: I have designated it as `public`. I consistently place shared files in this folder to safeguard other more private files from unauthorized access.

* File path: Such as `/video/minami-03.mp4`

Thus, the custom link takes the form of https://<nextcloud domain>/apps/sharingpath/<username>/public/video/minami-03.mp4. This link remains functional in Nextcloud 28.x.x.

Fortunately, the core functionality remains intact. It is operational, albeit not flawlessly.

This works fine as a workaround, but it defeats the purpose of the app which is to make it easy to find the direct link. For example, if you have any folders with spaces or even other characters, you have to encode it into url format (e.g. %20 instead of space). That makes it all way more cumbersome than it needs to be, so I'll just stick with Nextcloud 27 until there's a viable alternative, I suppose. I don't think the author is gonna update it (it's been 2 years now), and it's not likely Nextcloud would take a step back to allow integration of old apps anyway. So I'll just stay there until it's unusable, and look into other cloud software that natively allows for direct links.

ayuinaba avatar Mar 17 '24 21:03 ayuinaba