client icon indicating copy to clipboard operation
client copied to clipboard

Allow Sharing from the Desktop

Open MTRichards opened this issue 12 years ago • 79 comments

As a user, I want to be able to click on a file, and select share with ownCloud, and then be able to share a file with someone as a link, or as a file shared directly with them in ownCloud using the share API.

This is partly a deeper integration into ownCloud and the desktop OS to enable the menu, and partly an implementation of the sharing API on the desktop. Likely there are two steps:

  1. share with link (share, unshare)
  2. share with user of the system (share, unshare, set CRUDS permissions)

MTRichards avatar Feb 18 '14 16:02 MTRichards

For reference: There were existing issues (#531, #634, #1431) which I closed in favor of this.

jancborchardt avatar Feb 18 '14 18:02 jancborchardt

@MTRichards how does that fit with the fact that we share a single folder by default and sync it with the root? should the file be moved there?

danimo avatar Feb 22 '14 19:02 danimo

If you own the file vs it is shared with you, the server dictates the response. Looking for a context menu to allow share from the desktop with a right click. Part 1 could be to share it with only files you own, vs part 2 with files owned by you and shared files where you are not the owner. Or did I miss something?

MTRichards avatar Feb 23 '14 00:02 MTRichards

@MTRichards There are two different notions of "Share this file": Sharing a file/directory that already is within an ownCloud-synced folder, and one where a folder gets added to an ownCloud sync. Hence my confusion as to what should happen in the latter case.

danimo avatar Feb 23 '14 00:02 danimo

Step one should be this only works inside the synced owncloud folders on the desktop. One cannot share files or folders from the desktop that are not already synced with the server via the client.

MTRichards avatar Feb 23 '14 00:02 MTRichards

I agree. Sharing a file is only from the already synced owncloud folders, just like the web interface is. Step 2 would have to sync the folder/file first before allowing sharing context menu.

MU7L3Y avatar Mar 06 '14 22:03 MU7L3Y

Yes, I agree. It would be great to be able to right click on a file in the synched folder and then be able to click on an option that says something like "Share OwnCloud link", which then copies a public URL link to the clipboard, where a user can either email, instant message, etc. to someone real quickly.

carlsondan avatar Mar 13 '14 22:03 carlsondan

Please make this happen. Our users love working with ownCloud and the only thing they are REALLY missing in comparison to other services is the shell integration. Right-Click a file within the ownClound folder under windows to share a quickly generated link would be excellent. Direct copy to clipboard would be fine. There doesn't neccesarily have to be a context dialog. Also think about some tinyurl solution. (Maybe if the plugin is enabled?)

mczee avatar Mar 18 '14 08:03 mczee

This is the only reason I don't use ownCloud. I really like how it works, but this is a deal breaker for me when it's easier to use Dropbox.

Science4583 avatar Mar 21 '14 14:03 Science4583

As you can see in the infos to the right, this is currently scheduled for version 1.8 – currently scheduled for in about 2 months.

jancborchardt avatar Mar 21 '14 16:03 jancborchardt

Well hot damn!

Science4583 avatar Mar 21 '14 16:03 Science4583

Why there is'nt any work on such feature, already present in other projects?

alefattorini avatar Jun 23 '14 09:06 alefattorini

Aye, this is more than a "nice to have" when trying to get business users to adopt ownCloud vs one of the popular cloud file sharing apps. Very much looking forward to that 1.8 client.

razyr avatar Jul 30 '14 18:07 razyr

@alefattorini @razyr folks, focus is always on keeping things reliable. Thus fixes and stability improvements take priority over new features.

I’m excited about this as well though. ;)

jancborchardt avatar Jul 30 '14 19:07 jancborchardt

@Azelphur is working on this feature. Depending on how things go this can be in 1.7 or 1.8..

Maybe @Azelphur can tease us with a screenshot here?

guruz avatar Aug 29 '14 15:08 guruz

I can do better, I have a Python preview available, https://github.com/Azelphur/ownCloud-share-tools

Should work on any file browser that supports custom actions, so mostly Linux ones like Thunar, Nautilus and Dolphin.

I am working on porting it to C++ and integrating it for Mirall, at which point it hopefully will ship (ideally in either in 1.7 or 1.8 like @guruz says), at which point it will be cross platform.

The github page also has a rough screenshot of how things are going to look, although it's an outdated screenshot.

Azelphur avatar Aug 29 '14 16:08 Azelphur

@Azelphur https://github.com/Azelphur/ownCloud-share-tools will this work on MacOS X Mavericks ?

xpresservers avatar Sep 09 '14 00:09 xpresservers

xpresservers: it should work on any platform, all you need to do is run it with one argument, the full path to the file to share.

If you want file browser integration, your file browser needs to support custom actions (ie adding a new thing in the right click menu to run a command), most file browsers are able to do this.

Besides that I now have a build of Mirall up with some the sharing menu built in, however no file browser integration yet (so you still need custom actions for now if you decide to use it) https://github.com/Azelphur/mirall/tree/filebrowser_integration

Azelphur avatar Sep 09 '14 00:09 Azelphur

Is this still on track for the planned 1.8 UI Enhancements release?

mczee avatar Sep 20 '14 12:09 mczee

I'd be interested in this too. This and deltas are my #1 needs for OwnCloud. I'd happily contribute to a bounty on this.

ghost avatar Oct 08 '14 22:10 ghost