nextcloud/apps/files_sharing/tests
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 +02:00
..
API Fix apps/ 2016-07-21 18:13:57 +02:00
Controllers Update with robin 2016-07-21 18:13:58 +02:00
External Update with robin 2016-07-21 18:13:58 +02:00
Middleware Fix apps/ 2016-07-21 18:13:57 +02:00
js move some stuff over to the federatedfilesharing app 2016-07-14 16:39:48 +02:00
ActivityTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
ApiTest.php Update with robin 2016-07-21 18:13:58 +02:00
BackendTest.php Update with robin 2016-07-21 18:13:58 +02:00
CacheTest.php Update with robin 2016-07-21 18:13:58 +02:00
CapabilitiesTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
DeleteOrphanedSharesJobTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
EncryptedSizePropagationTest.php Update with robin 2016-07-21 18:13:58 +02:00
EtagPropagationTest.php Update with robin 2016-07-21 18:13:58 +02:00
ExpireSharesJobTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
ExternalStorageTest.php Update with robin 2016-07-21 18:13:58 +02:00
GroupEtagPropagationTest.php Update with robin 2016-07-21 18:13:58 +02:00
HelperTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
LockingTest.php Update with robin 2016-07-21 18:13:58 +02:00
MigrationTest.php Fix apps/ 2016-07-21 18:13:57 +02:00
MountProviderTest.php Make share target consistent when grouping group share with user share 2016-08-03 10:16:28 +02:00
PermissionsTest.php Update with robin 2016-07-21 18:13:58 +02:00
PropagationTestCase.php Update with robin 2016-07-21 18:13:58 +02:00
ShareTest.php Update with robin 2016-07-21 18:13:58 +02:00
SharedMountTest.php Update with robin 2016-07-21 18:13:58 +02:00
SharedStorageTest.php Update with robin 2016-07-21 18:13:58 +02:00
SizePropagationTest.php Update with robin 2016-07-21 18:13:58 +02:00
TestCase.php Update with robin 2016-07-21 18:13:58 +02:00
UnshareChildrenTest.php Update with robin 2016-07-21 18:13:58 +02:00
UpdaterTest.php Update with robin 2016-07-21 18:13:58 +02:00
WatcherTest.php Update with robin 2016-07-21 18:13:58 +02:00