nextcloud/apps/files/tests/js
pjft 3ae5213308 Fix bug introduced on drag and drop external files
Drag and drop of external (OS filesystem) to subdirectories in the browser would fail on specific cases, mainly when the subdirectory was no longer off the root folder.
This seemed to have been an issue introduced with the subdirectory free space calculation [here](f9536b0809) and it seems to fail for any subdirectory that doesn't belong to the root folder.

Bug reports:
- https://help.nextcloud.com/t/drag-drop-into-subfolders/120731
- https://github.com/nextcloud/server/issues/24720

I couldn't find any reference on scenarios or quota management that would suggest when a subdirectory's free space would be different to the parent's free space, other than when on the root folder, where subdirectories can be external mounts.

As such, if my understanding is correct (please review), this calculation can - and should - be made by getting the free space from the first subdirectory in the total path, which caters for all subdirectory scenarios.

Please advise, happy to help improve this.

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: pjft <pjft@users.noreply.github.com>
2021-10-17 19:32:46 +00:00
..
appSpec.js Remove deprecated legacy file actions 2019-10-14 19:19:16 +02:00
breadcrumbSpec.js Bump jquery from 2.2.4 to 3.1.0 2020-11-13 08:46:35 +01:00
detailsviewSpec.js Make possible to know the registered detail views in a details view 2017-06-09 03:14:23 +02:00
favoritesfilelistspec.js Bump jquery from 2.2.4 to 3.1.0 2020-11-13 08:46:35 +01:00
favoritespluginspec.js Remove deprecated legacy file actions 2019-10-14 19:19:16 +02:00
fileactionsmenuSpec.js Add link icon for public link too 2019-03-21 08:16:00 +01:00
fileactionsSpec.js Use grid view in other file views too 2018-10-18 13:44:05 +02:00
filelistSpec.js Check for target folder available quota when uploading 2020-11-17 09:43:44 +01:00
filesSpec.js Fix usage of deprecated OC.webroot 2018-10-09 13:53:59 +02:00
filesummarySpec.js Display number of hidden files in files summary (#25870) 2016-08-29 14:47:41 +02:00
fileUploadSpec.js Fix bug introduced on drag and drop external files 2021-10-17 19:32:46 +00:00
mainfileinfodetailviewSpec.js Hide favourite icon in details view if favourite action is not available 2018-01-05 19:06:06 +01:00
newfilemenuSpec.js Fixed jsunit 2018-03-08 10:31:33 +01:00
tagspluginspec.js Bump jquery from 2.2.4 to 3.1.0 2020-11-13 08:46:35 +01:00