rookie0 / nextcloud-sharing-path

🌩 Nextcloud app to enhance files sharing to be accessed by stored path, can be used as CDN origin.
GNU Affero General Public License v3.0
46 stars 11 forks source link

Completely broken on Nextcloud 28 #54

Open ayuinaba opened 8 months ago

ayuinaba commented 8 months ago

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.

wbertwab commented 7 months ago

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!

ayuinaba commented 7 months ago

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.

huangwb8 commented 6 months ago

@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:

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.

ayuinaba commented 5 months ago

@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.