nextcloud-server/apps/files_sharing
Vincent Petry 2404f6a5a7
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-03 10:16:28 +07:00
..
ajax Update with robin 2016-07-21 18:13:58 +07:00
appinfo Also increase the min version 2016-07-22 14:46:52 +07:00
css up the minimum size of the public share video a bit, use 16/9 ratio, fix #603 2016-07-29 10:47:00 +07:00
img move federated sharing settings to the federatedfilesharing app 2016-04-22 14:55:40 +07:00
js rename SaveToNextcloudController to MountPublicLinkController 2016-07-14 16:39:48 +07:00
l10n [tx-robot] updated from transifex 2016-08-03 00:11:12 +07:00
lib Make share target consistent when grouping group share with user share 2016-08-03 10:16:28 +07:00
templates move closing div to the right place 2016-07-20 18:34:32 +07:00
tests Make share target consistent when grouping group share with user share 2016-08-03 10:16:28 +07:00
list.php Fix apps/ 2016-07-21 18:13:57 +07:00
public.php Fix apps/ 2016-07-21 18:13:57 +07:00