owncloud-archive / shorty

15 stars 12 forks source link

Extension to create shortys directly from within the "Files" section of OC #94

Open fredl99 opened 9 years ago

fredl99 commented 9 years ago

It's possible to create shortys to one's own files in OC by using the shortlet when the file is open. But depending on the kind of file the resulting target URL can also point to the whole directory or the picture viewer. The best way I found is to create a share link for a particular file at first and then manually create a new shorty with this link. This is a bit unconvenient.

I'd rather like to see an extension to create a shorty directly from within the "Files" section of OC, with a button similar to the "files move" app.

arkascha commented 9 years ago

Creating a Shorty pointing towards a shared link which again points to an existing object inside OC is indeed what I do myself. I agree that it is inconvenient. This feature could be implemented by modifying OCs share dialog and adding a "Share by Shorty" feature in there. Unfortunately OC does not offer such thing, so it'd have to be done on client side which is not really robust. It might also be worth researching if such a feature might be worth implementing in the OC core. So a hook offered by the share API that allows to add features to the share dialog. Hm...