owncloud / client

🖥️ Desktop Syncing Client for ownCloud
GNU General Public License v2.0
1.4k stars 665 forks source link

Enable Full Sharing (user/group) from Desktop #3737

Closed MTRichards closed 8 years ago

MTRichards commented 9 years ago

Desktop Full Sharing As an ownCloud user, I want to be able to use the ownCloud internal sharing mechanism from Windows explorer so that I can quickly and easily share files with other ownCloud users without using share links.

Acceptance Criteria

@dragotin @danimo

MTRichards commented 9 years ago

@dragotin @danimo @guruz @ogoffart @karlitschek @jancborchardt

rullzer commented 9 years ago

Now that the Sharee API is in core I can revive some old code. Cool to finally implement this on the desktop.

Just to be clear. We want to have this in a different window? Not 1 window wit 2 tabs or whatever?

karlitschek commented 9 years ago

this will be a huge step forward! :+1: :-)

phil-davis commented 9 years ago

+1 also And I will just mention that the group/user sharing dialogs in the client will need to respect the admin server-side settings of sharing restrictions, like:

That will avoid users on the client trying to do something and then the server spitting back a "not allowed" message.

rullzer commented 9 years ago

@phil-davis yes good points!

  • Allow apps to use the Share API

Well this basically boils down to if sharing is enabled or not. Since we will move to OCS Share API for the webfrontend as well.

  • Allow resharing

Already available in the capabilities

  • Restrict users to only share with users in their groups

Availble in the sharee api. Basically it only returns valid suggestions

  • Exclude groups from sharing

Probably makes sense to get this into the capabilities as well. So if a user can't share the query of capabilities from the server for him/her shows up as sharing is disabled. @DeepDiver1975 does a separate capability make more sense?

MTRichards commented 9 years ago

Cross link to Mobile issue so the UI looks similar: https://github.com/owncloud/ios/issues/425

MTRichards commented 9 years ago

@jancborchardt need some design thoughts here.

MTRichards commented 9 years ago

And, @phil-davis :

Allow apps to use the Share API Allow resharing Restrict users to only share with users in their groups Exclude groups from sharing

Spot on.

petervcook commented 9 years ago

+1 on Mac as well.

jancborchardt commented 9 years ago

Design-wise as said before, please use the server sharing as blueprint. That’s basically the master living mockup of sharing. There can be contextual enhancements, as for example on mobile. But on desktop I see this being pretty much the same as on web.

dragotin commented 9 years ago

@rullzer could you please add some test description for @Dianafg76 in https://github.com/owncloud/client/wiki/Testing-Scenarios-2.1 ? thanks

rullzer commented 9 years ago

Yes that is on my todo.

rullzer commented 9 years ago

The list is updated. @Dianafg76 let me know if you need info/help on how to test. And feel free to mention me in the issues you find directly.

Dianafg76 commented 9 years ago

@rullzer Thanks

jancborchardt commented 9 years ago

Some design feedback which I also talked to @rullzer about already when he showed me the dialog:

Future stuff:

rullzer commented 9 years ago

I started work on the UI fixes in https://github.com/owncloud/client/pull/4133

guruz commented 9 years ago

@ogoffart ^^ I think you did some of those checkbox items yesterday and on friday..

guruz commented 9 years ago

@Dianafg76 If it works nicely you can move to 2.1.1 so we can do the further checkbox items that @jancborchardt mentioned above :)

jospoortvliet commented 9 years ago

Just tested with testpilot client beta 1. Three things:

dragotin commented 9 years ago

@jospoortvliet I am not sure what you intend with your post here. I am not seeing what that has to do with "desktop sharing", or I misunderstand completely.

rullzer commented 9 years ago

@jospoortvliet

  • Minor: It doesn't seem to pick up on changes on the server very quick and there is no refresh option. I actually just quit and restarted the client to see things show up.

Well we do not have feedback from the server. So the only way would be to poll. But even then you look at an outdated version most of the time. And adding polling really is a burden once the number of users get larger.

  • Also, avatars would be really really nice.

Yes, but we do not have avatars available via an external endpoint yet. So patenince my friend. :smile:

  • what in the name of $DEITY is the 'Sync Protocol' tab??!? It seems generally empty for me and I have no idea what to expect to show up there. It is for Sync Status, perhaps? Use that, the word 'protocol' ensures nobody has any idea what to expect there...

????

You need the dekstop intergration stuff running.

jospoortvliet commented 9 years ago

@rullzer ok, cool - I guess then that once the activity API is improved this can be done quite easily.

About the Sync Protocol tab, it's in the activity page, there are three tabs. One server side activity and one about sync issues. One is named 'Sync Protocol' and I'm not sure what it is for or what it even means. Well, I know what it means but don't know what to expect on that tab.

And yeah, I figured out why I didn't see the desktop integration, my fault.

@dragotin sorry for polluting this issue with client feedback.

jancborchardt commented 9 years ago

About the Sync Protocol tab, it's in the activity page, there are three tabs. One server side activity and one about sync issues. One is named 'Sync Protocol' and I'm not sure what it is for or what it even means. Well, I know what it means but don't know what to expect on that tab.

This is exactly why I commented on https://github.com/owncloud/client/pull/4083#issuecomment-154416450 that this new 3-tab-view is too complicated. It’s technical wording and too detailed. We should reopen https://github.com/owncloud/client/issues/1443 and work on a proper solution. cc @MTRichards @dragotin

MTRichards commented 8 years ago

In addition to the incomplete checks above, we also need to implement the sharing logic for when a display name of a user is the same. https://github.com/owncloud/core/issues/20291 has the server side response, we need to reflect that in the desktop.

Also not sure we do this. If we do, great, otherwise we need parity:

And that closes out this feature set.

rullzer commented 8 years ago

there should be a loading spinner for feedback when adding a new person, in place of where the entry will be (at the bottom of the list)

I'll add that

add avatars to the left of the username, just like in the web interface. Same for the suggestion dropdown.

We can't do this yet since the server did not support it.

rullzer commented 8 years ago

@MTRichards https://github.com/owncloud/client/issues/3737#issuecomment-170050282 that is all in already :)

I'll fix the final part we can add (the spinner) soonish.

rullzer commented 8 years ago

Avatar issue in https://github.com/owncloud/client/issues/4554 PR for spinner in #4553