nextcloud/apps/files_sharing/tests
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
..
API Run the license script 2016-07-22 11:40:41 +02:00
Controllers Run the license script 2016-07-22 11:40:41 +02:00
External Run the license script 2016-07-22 11:40:41 +02:00
Middleware Run the license script 2016-07-22 11:40:41 +02:00
js move some stuff over to the federatedfilesharing app 2016-07-14 16:39:48 +02:00
ActivityTest.php Run the license script 2016-07-22 11:40:41 +02:00
ApiTest.php Run the license script 2016-07-22 11:40:41 +02:00
BackendTest.php Run the license script 2016-07-22 11:40:41 +02:00
CacheTest.php Run the license script 2016-07-22 11:40:41 +02:00
CapabilitiesTest.php Run the license script 2016-07-22 11:40:41 +02:00
DeleteOrphanedSharesJobTest.php Run the license script 2016-07-22 11:40:41 +02:00
EncryptedSizePropagationTest.php Run the license script 2016-07-22 11:40:41 +02:00
EtagPropagationTest.php Run the license script 2016-07-22 11:40:41 +02:00
ExpireSharesJobTest.php Run the license script 2016-07-22 11:40:41 +02:00
ExternalStorageTest.php Run the license script 2016-07-22 11:40:41 +02:00
GroupEtagPropagationTest.php Run the license script 2016-07-22 11:40:41 +02:00
HelperTest.php Run the license script 2016-07-22 11:40:41 +02:00
LockingTest.php Run the license script 2016-07-22 11:40:41 +02:00
MigrationTest.php Run the license script 2016-07-22 11:40:41 +02:00
MountProviderTest.php Make share target consistent when grouping group share with user share 2016-08-04 19:50:16 +02:00
PermissionsTest.php Run the license script 2016-07-22 11:40:41 +02:00
PropagationTestCase.php Run the license script 2016-07-22 11:40:41 +02:00
ShareTest.php Run the license script 2016-07-22 11:40:41 +02:00
SharedMountTest.php Run the license script 2016-07-22 11:40:41 +02:00
SharedStorageTest.php Run the license script 2016-07-22 11:40:41 +02:00
SizePropagationTest.php Run the license script 2016-07-22 11:40:41 +02:00
TestCase.php Run the license script 2016-07-22 11:40:41 +02:00
UnshareChildrenTest.php Run the license script 2016-07-22 11:40:41 +02:00
UpdaterTest.php Run the license script 2016-07-22 11:40:41 +02:00
WatcherTest.php Run the license script 2016-07-22 11:40:41 +02:00