nextcloud/apps/files_sharing
Vincent Petry e75a0a44c6
Make share target consistent when grouping group share with 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.
2016-08-04 19:50:16 +02:00
..
ajax Run the license script 2016-07-22 11:40:41 +02:00
appinfo Run the license script 2016-07-22 11:40:41 +02:00
css up the minimum size of the public share video a bit, use 16/9 ratio, fix #603 2016-07-29 23:35:18 +02:00
img move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +02:00
js rename SaveToNextcloudController to MountPublicLinkController 2016-07-14 16:39:48 +02:00
l10n [tx-robot] updated from transifex 2016-07-19 00:09:00 +00:00
lib Make share target consistent when grouping group share with user share 2016-08-04 19:50:16 +02:00
templates move closing div to the right place 2016-07-21 11:30:37 +02:00
tests Make share target consistent when grouping group share with user share 2016-08-04 19:50:16 +02:00
list.php Run the license script 2016-07-22 11:40:41 +02:00
public.php Run the license script 2016-07-22 11:40:41 +02:00