-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
owncloud://links that can be handled by desktop clients #2596
Comments
Why not simply look it up on the client side? |
On popular collaboration systems like trello and slack, if you paste a Right now I have to literally type something like "own cloud –> my company Owncloud clients could do the same for desktop office files. Either right From: Daniel Molkentin notifications@github.com Why not simply look it up on the client side? — |
My first thought is that this would be a great thing to have but it would require the client to ask the server for a link, similar to a public link. This is because the paths to the same content are most likely different between different accounts. When the recipient follows that link in their browser the server finds that destination within their account and redirects to that. When sharing, the path to an item is going to be different between the sharer and the sharee. In 7, it is possible for the path to be the same (provided the sharee makes it the same), but the system would have to assume that the path is different. So an intermediate url would be necessary to overcome this path difference. Perhaps this could be worked on together with adding public link sharing to the desktop client. Both require back and forth between the server and client. However this would require an addition to the Share API. Public links are already there. |
Good point. Sharing can be from web as long as the link points to local file for all that can access it and not download copy. I don't think this would take away much from the experience. (Vs right click to share link on desktop) In my organization only part of the path that differs across users is home directory. (C:\Users\userx\owncloud vs /users/userx/owncloud) rest is always the same, but this solution should probably not make that assumption to be more elegant as u say. I am a newbie but if there is a local Lookup table of ETag to path, perhaps ETag can be used instead of path to locate the local file? Can this be a 3rd party plugin or should it be a core function? We can sponsor or try to help develop a plugin. Vedat
|
I had some time this morning.... so here it comes. This is probably a nice feature to have. Just pasting links around makes it easier. Having said that there are multiple scenarios. Already shared filesThis is probably the most used case. So two people share some files. Lets call them A and B. Now A wants to let B work on file F. Now in this case we could probably best use etags. However we would want an url of the form owncloud://USER@HOSTNAME/path/to/file/F. This would all be fine. A asks the server give me an url. A gets an url sends it to B. B now opens the link and the owncloud client asks the server to translate the url into a local file. Already in this "simple" scenario where the users have the file shared already there are several issues that can arise. -- What happens is user B does not have the file synced? Non shared fileNow the client does not know who you want to share your file with. So it will happily create a link. A sends this link to B. Now what happens? B cannot resolve the file. -- Should we automatically create a public sharing link for F? Which is resolved by B. So B tells the server I want this file as well. But it is still not guaranteed that B will have the file synced after that on his desktop. FederationWell this is just the problems above but worse.... It would take some new code on the client and server side to get this to work. However, I think the main issue is how to deal with the cases I described and the other cases I did not yet think off. |
Sounds like Dropbox just launched a similar feature: https://blogs.dropbox.com/dropbox/2015/02/new-way-to-open-dropbox-files/ I guess a link could be based on md5 or other hash of the file and owncloud desktop client would just search for its existence on B's desktop rather than trying to map paths. I believe most of the time the file would be found. Other times an error message may be appropriate.
|
Hello What would be the best way to sponsor/offer reward for this feature? Vedat |
This is an enchancement request to be able to share url which would be handled directly by the owncloud desktop app on the recepient side (without having to download a duplicate) in my organization often times we tell each other to look at or modify a document under owncloud/folder x / folder y named document z .docx. not practical for either send or receiver..
The text was updated successfully, but these errors were encountered: