server icon indicating copy to clipboard operation
server copied to clipboard

Files Link Renamer as a basic function

Open 8l4ckSh33p opened this issue 9 years ago • 42 comments

I find the function of rename very well. This should be integrated as a basic function.

See the OwnCloud app "Files Share Link Renamer" at https://apps.owncloud.com/content/show.php/Files+Share+Link+Renamer?content=174742

8l4ckSh33p avatar Apr 26 '17 19:04 8l4ckSh33p

This is basically a user defined share link, right?

cc @jospoortvliet @jancborchardt @LukasReschke

MorrisJobke avatar Apr 26 '17 19:04 MorrisJobke

@MorrisJobke right!

8l4ckSh33p avatar Apr 26 '17 19:04 8l4ckSh33p

would be nice.

Happyfeet01 avatar Apr 26 '17 19:04 Happyfeet01

I think this is a nice feature by very little effort. Definitely +1!

ghost avatar Apr 26 '17 19:04 ghost

I definitely agree, it’s very useful to generate links you want to share openly for a long time.

cc @LukasReschke for security concerns? ;)

jancborchardt avatar Apr 26 '17 20:04 jancborchardt

Optionally it is possible to replace the index.php in the link using mod_rewrite.

8l4ckSh33p avatar Apr 26 '17 21:04 8l4ckSh33p

Optionally it is possible to replace the index.php in the link using mod_rewrite.

What has this to do with the share token? This is already supported by today.

MorrisJobke avatar Apr 26 '17 21:04 MorrisJobke

Forget my post. I have not seen https://help.nextcloud.com/t/apache-rewrite-to-remove-index-php/658/2

8l4ckSh33p avatar Apr 26 '17 21:04 8l4ckSh33p

cc @fcturner of the app https://github.com/fcturner/sharerenamer :)

jancborchardt avatar Apr 26 '17 22:04 jancborchardt

I would also be interested in the option to rename share links. Is there a way to do it currently?

mo0nsniper avatar Aug 10 '17 13:08 mo0nsniper

Other than the mod_rewrite, no. It is a bit of a security issue. The app, which would indeed solve it for those willing to run the risk, has not been ported to Nextcloud and I can't tell you if it would work if you tried to change the values in info.xml - worth a try perhaps?

jospoortvliet avatar Aug 10 '17 16:08 jospoortvliet

@jospoortvliet Thanks for the info. I have tried the sharerenamer app, I can enable it by editing info.xml, but unfortunately it doesn't work. When I try to rename a share it gives and error.

mo0nsniper avatar Aug 11 '17 01:08 mo0nsniper

@mo0nsniper ah, too bad :( so the app will need a bit of work. Perhaps its author is willing to do that - if he/she is still active, the app hasn't been updated for a while and the github account is deleted :(

jospoortvliet avatar Aug 12 '17 09:08 jospoortvliet

Just for the record, the repo has seemingly moved to https://github.com/T-a-z/sharerenamer and the issues have been deactivated. The fork which makes the app work with Nextcloud is still at https://github.com/LazyShpee/sharerenamer thanks to @LazyShpee :)

jancborchardt avatar Aug 12 '17 16:08 jancborchardt

Oh, great, didn't see that! @LazyShpee any chance we can convince you to upload it to apps.nextcloud.com?

jospoortvliet avatar Aug 17 '17 21:08 jospoortvliet

At first I only updated this app for my own personal needs and decided to fork instead of keeping it to myself. Glad people are happy about it, I'll see about uploading it to apps.nextcloud.com when I'll have some free time from my studies (^-^)b

LazyShpee avatar Sep 01 '17 13:09 LazyShpee

@LazyShpee would be awesome, really ;-)

jospoortvliet avatar Sep 06 '17 14:09 jospoortvliet

How can I install this addon from https://github.com/LazyShpee/sharerenamer?

alexhass avatar Sep 10 '17 16:09 alexhass

Choose 'download' and put the files in the apps subfolder of nextcloud, make sure they are in a folder called 'sharerenamer' and all in there, not in another subfolder in there (like 'master'). Then make sure the files are owned by the webserver user (like, www-run or something) and you can enable the app in the app interface.

jospoortvliet avatar Sep 10 '17 21:09 jospoortvliet

Many thanks - that works! I really hope this important feature goes into the core product very soon. I hate using external link shorteners.

alexhass avatar Sep 10 '17 21:09 alexhass