Commit graph

5029 commits

Author SHA1 Message Date
Abhinav 1435a80096 skip cancelled upload error logging for both v1 and v2 putFile and putFilePart api 2022-09-01 18:16:27 +05:30
Abhinav e444177d6a Merge branch 'refactor-upload' into cancel-upload-without-reload 2022-09-01 17:21:13 +05:30
Abhinav 3bbdc58920 rename 2022-09-01 16:47:49 +05:30
Abhinav 5e0bcb0a79 add comment explaining the useEffect 2022-09-01 16:45:48 +05:30
Abhinav 0efa4825ea rename web specific selectorFiles states 2022-09-01 16:39:46 +05:30
Abhinav c62242aabd pass only user owned collections as existingCollection to createAlbum 2022-09-01 16:25:32 +05:30
Abhinav a7ab0bb35e fix add symlink 2022-09-01 16:08:38 +05:30
Abhinav c7c56a06c7 add local logging 2022-09-01 16:08:12 +05:30
Abhinav ea02a98633 get user owned files 2022-09-01 14:38:57 +05:30
Abhinav 5667b1dc18 fix trashed and shared getting removed from ui file state 2022-09-01 14:35:43 +05:30
Abhinav 3c74653d1e fix retry 2022-09-01 14:20:09 +05:30
Abhinav a0f51e5157 fix decryptedFile undefined check 2022-09-01 14:10:40 +05:30
Abhinav 5fac8de289 fix groupFilesBasedOnParentFolder 2022-09-01 13:55:43 +05:30
Abhinav 4afd5f77b9 fix matching file logic
There is a case where the file is in multiple collection, one the current upload collection (say x ) and one another collection (say y).

we might get y collection's file and we will try to add a symlink for it in collection x and that will return a no-op from the server , and we would show the file as uploaded, instead of showing it as ignored already in collection.
2022-09-01 13:53:34 +05:30
Abhinav 8f7714b07f filter non user and trashed files from existing files 2022-09-01 13:43:11 +05:30
Abhinav 412e035e85 rename and comment pickedUploadType 2022-09-01 13:33:01 +05:30
Abhinav f29262c2b6 fix check of when to update existing files 2022-09-01 13:29:35 +05:30
Abhinav 294e167b9b rename analysisResult to importSuggestion 2022-09-01 12:45:43 +05:30
Abhinav 9cc2a6e361 better naming and comment for logic 2022-09-01 11:29:12 +05:30
Abhinav 506002499e pass handleUploadError as checkForBreakingError to putFilePart and putFile's retryHTppCall checkForBreakingError util 2022-08-31 16:22:32 +05:30
Abhinav e109b1e0f0 refactored code 2022-08-31 15:53:59 +05:30
Abhinav 454e8b2459 close progress bar if result list doesn't have any file and upload is cancelled 2022-08-31 15:51:39 +05:30
Abhinav eb6c395902 don't retry if when error is upload_cancelled 2022-08-31 14:29:51 +05:30
Abhinav 18b382f213 reset cancelUpload state when preparing for new upload 2022-08-31 14:26:35 +05:30
Abhinav 6662779c57 fix UPLOAD_STAGE_MESSAGE 2022-08-31 14:19:35 +05:30
Abhinav 62f9e8f1f8 refactor 2022-08-31 14:13:14 +05:30
Abhinav c704e9ed4b fix http request cancel cancelCancelledUploadRequest 2022-08-31 14:12:20 +05:30
Abhinav dce6d847a6 minor changes 2022-08-31 14:06:15 +05:30
Abhinav 92b1ae8746 add cancel with reload logic 2022-08-31 13:20:43 +05:30
Abhinav a961dd16cc dont need setUploadTypeSelectorView 2022-08-31 12:54:00 +05:30
Abhinav 9acc58fba2 remove unneeded syncWithRemote 2022-08-31 12:20:10 +05:30
Abhinav 96cffbe70f don't allow to open uploader if upload already running 2022-08-31 11:39:01 +05:30
Abhinav 84412b84e7 fix added symlink file not showing up 2022-08-31 11:29:10 +05:30
Abhinav 336be411cf moved electronFiles and webFilesS state to uploader Component 2022-08-31 11:17:16 +05:30
Abhinav da39180c59 remove empty import 2022-08-31 10:20:31 +05:30
Abhinav 198172bfa5 temp 2022-08-30 16:09:01 +05:30
Abhinav 66162c5267 fix minor issues 2022-08-30 15:45:46 +05:30
Abhinav 9eecec6d04 refactor upload 2022-08-30 14:45:47 +05:30
Abhinav Kumar 7fb1e6fbfa
Merge pull request #690 from ente-io/add-electron-types
Add electron APIs types
2022-08-30 10:15:18 +05:30
Abhinav cb491047dd Merge branch 'main' into add-electron-types 2022-08-29 10:03:44 +05:30
Abhinav Kumar ba279d3138
Merge pull request #692 from ente-io/fix-collection-file-count
Fix collection file count
2022-08-27 19:57:54 +05:30
Abhinav 6d7ef3d842 fix naming 2022-08-27 17:50:49 +05:30
Abhinav 1cc48655c8 restructure and rename 2022-08-27 17:37:15 +05:30
Abhinav 680b796e6c update getCollectionsFileCount to get count for trash, archived and all Section 2022-08-27 15:28:57 +05:30
Abhinav 617a607878 only group actual collection 2022-08-27 15:28:12 +05:30
Abhinav 45aee68c36 use a common user instead fo reading user from local storage for each call to isSharedFile 2022-08-27 15:26:47 +05:30
Abhinav Kumar 024c617b31
Merge pull request #691 from ente-io/fix-typo
Fix typo
2022-08-27 14:50:22 +05:30
Abhinav 8ceea8b3c3 fix archived section counting file multiple times if it is in multiple collections 2022-08-27 14:38:09 +05:30
Vishnu Mohandas 8ddfb64149
Fix typo 2022-08-27 14:09:33 +05:30
Abhinav 416debc74e better types and follow types 2022-08-27 10:20:34 +05:30