Commit graph

5673 commits

Author SHA1 Message Date
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 815111890b open DeleteAccountModal from sidebar 2022-08-31 18:16:22 +05:30
Abhinav 2862e3b371 add delete-account image 2022-08-31 18:15:03 +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 42e5081fca Merge branch 'refactor-upload' into watch 2022-08-31 12:54:51 +05:30
Abhinav a961dd16cc dont need setUploadTypeSelectorView 2022-08-31 12:54:00 +05:30
Abhinav 4dd8b3b49d Merge branch 'refactor-upload' into watch 2022-08-31 12:45:28 +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 cfcfbb876f remove unneeded function 2022-08-30 14:30:11 +05:30
Abhinav 913995d55b add reason message to axios request cancellation 2022-08-30 13:15:44 +05:30
Abhinav 33fee37783 handle upload_result.cancelled in post upload action 2022-08-30 13:15:23 +05:30
Abhinav 50f02a6fc2 rename and move post upload complete logic to uploadFiles function 2022-08-30 12:28:41 +05:30
Abhinav fabf7a2b4a rename to cancelUpload and update cancellation logic 2022-08-30 11:53:31 +05:30
Abhinav 2013de81a7 created new uploadPausingService and move pausing logic to uploader where ever possible 2022-08-30 11:18:01 +05:30
Abhinav 1f257f8ed7 remove unreachable return 2022-08-30 10:37:13 +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 dcbe3a084c rename 2022-08-29 17:50:08 +05:30
Abhinav 3630635d8a move setupWatcherFunctions to init and fix sync of intial watch folder files 2022-08-29 17:23:44 +05:30
Abhinav 48029d7aa8 fix build 2022-08-29 16:59:37 +05:30
Abhinav 7f8ca59c25 add upload to seperate album symbol 2022-08-29 16:59:17 +05:30
Abhinav 2fa74a399e add logic to check if folder has nested Folders 2022-08-29 16:58:46 +05:30
Abhinav c8393f6f24 fix folderPath check 2022-08-29 15:16:20 +05:30
Abhinav 4a344c941f rename doesFolderExists to isFolder 2022-08-29 11:52:00 +05:30
Abhinav a0feb50bff remove reload from cancelling logic 2022-08-29 11:35:18 +05:30