Repository navigation
refactor: use sharing NG for share listings - #10392
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
6962f2f to
65ce1b0
Compare
916477f to
9a3ca73
Compare
db5e4a3 to
3920f86
Compare
a7dbb6a to
84436e1
Compare
9cb53b2 to
acc960e
Compare
acc960e to
d65c03b
Compare
| And user "Brian" has logged in using the webUI | ||
|
|
||
| @issue-ocis-1950 | ||
| Scenario: reject a share that you received as user and as group member |
There was a problem hiding this comment.
This test doesn't work in that form anymore because oCIS now sends 2 shares when one resource is being shared with a user directly as well as via group.
Could be refactored, but since it's an acceptance test and we won't have the concept of "declining" shares in the future I guess we can just let the test die.
Yep that was due to some of the server changes (owncloud/ocis#8307) I was mentioning earlier 😄 The server now correctly sends the parent path without the resource name, hence we need to join both on our own. |
|
kulmann
left a comment
There was a problem hiding this comment.
Don't know if that's an issue of this PR, but whenever I use row actions like hide/unhide/sync/unsync in the shared with me list, the avatar in the shared with column disappears. Everything else seems to work fine 💪 😍
That's because changing the status/hidden state re-fetches the resource from the old ocs api, resulting in slightly different data. This is not really needed though and will be fixed via the follow-up #10421 👍 |
Co-authored-by: Saw-jan <[email protected]>



Description
Use the new sharing NG API for the share listings (Shared with/by me, Shared via link).
I also removed the
shareTypeproperty on theShareResourcebecause it can have multiple different share types (e.g. when it's shared with another user as well as via link). The already existingshareTypesproperty now holds all the types. In addition to that, each item in thesharedWitharray now holds information about the share type.Related Issue
Types of changes