Skip to content

Conversation

@rullzer
Copy link
Member

@rullzer rullzer commented Jul 20, 2016

From owncloud/core#25534 (original owncloud/core#25113)

Please test carefully.
Including upgrading from 9.0

CC: @schiessle @nickvergessen @icewind1991 @LukasReschke @MorrisJobke

@rullzer rullzer added enhancement 3. to review Waiting for reviews labels Jul 20, 2016
@rullzer rullzer added this to the Nextcloud Next milestone Jul 20, 2016
@mention-bot
Copy link

@rullzer, thanks for your PR! By analyzing the annotation information on this pull request, we identified @PVince81, @SergioBertolinSG and @icewind1991 to be potential reviewers

@rullzer rullzer modified the milestones: Nextcloud Next, Nextcloud 10.0 Jul 21, 2016
@MorrisJobke MorrisJobke modified the milestones: Nextcloud Next, Nextcloud 10.0 Jul 21, 2016
@rullzer
Copy link
Member Author

rullzer commented Jul 22, 2016

Rebased.
Needs to get in after #500

@nickvergessen
Copy link
Member

#500 is merged

@rullzer
Copy link
Member Author

rullzer commented Jul 22, 2016

Also need owncloud/core#25567

@rullzer
Copy link
Member Author

rullzer commented Jul 22, 2016

Rebased and added owncloud/core#25567

Lets see what CI says

@schiessle
Copy link
Member

schiessle commented Jul 27, 2016

@rullzer
Copy link
Member Author

rullzer commented Jul 27, 2016

@schiessle already added here ;)

@rullzer
Copy link
Member Author

rullzer commented Jul 27, 2016

Aah failing intergration tests. I'll look at this later.

@schiessle
Copy link
Member

@rullzer perfect 😃

@nickvergessen nickvergessen added 1. to develop Accepted and waiting to be taken care of and removed 3. to review Waiting for reviews labels Jul 27, 2016
@rullzer rullzer added 3. to review Waiting for reviews and removed 1. to develop Accepted and waiting to be taken care of labels Aug 2, 2016
@rullzer
Copy link
Member Author

rullzer commented Aug 2, 2016

@schiessle
Copy link
Member

tested, works 👍

@MorrisJobke
Copy link
Member

Tested and works 👍

@rullzer But there is a merge conflict.

rullzer and others added 10 commits August 3, 2016 10:16
Fixes #24575

Note that this is a very limited solution and eventually we want smarter
merging!
The repair step was a bit overeager to skip repairing so it missed the
case where a group share exists without subshares but with an
additional direct user share.
In some situations, a group share is created before a user share, and
the recipient renamed the received share before the latter is created.
In this situation, the "file_target" was already modified and the second
created share must align to the already renamed share.

To achieve this, the MountProvider now groups only by "item_source"
value and sorts by share time. This makes it so that the least recent
share is selected as super-share and its "file_target" value is then
adjusted in all grouped shares.

This fixes the issue where this situation would have different
"file_target" values resulting in two shared folders appearing instead
of one.
@rullzer rullzer merged commit 223f3fa into master Aug 3, 2016
@rullzer rullzer deleted the group_shares branch August 3, 2016 09:41
@MorrisJobke
Copy link
Member

@rullzer Do we want this to be shipped with 10?

@rullzer
Copy link
Member Author

rullzer commented Aug 3, 2016

Yes I'll prepare a backport

GitHubUser4234 pushed a commit to GitHubUser4234/server that referenced this pull request Aug 30, 2016
Group shares with same source and target
R0Wi pushed a commit to R0Wi/server that referenced this pull request Nov 22, 2025
…duce helper options (nextcloud#478)

Resolves: nextcloud#474 

This PR corrects AppAPI `occ app_api:app:update` command logic in the
following way:

1. By default disabled ExApps are not updated. Use option
`--include-disabled` to update disabled ExApps too.
2. During update ExApp is enabled to perform initialization step, if it
was disabled before update - by default it will be disabled after
update.

---------

Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants