Commit graph

4522 commits

Author SHA1 Message Date
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 815111890b open DeleteAccountModal from sidebar 2022-08-31 18:16:22 +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 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 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
Abhinav 5e7473e966 upload files with dot in names too 2022-08-29 11:07:13 +05:30
Abhinav dcb2534b99 refactor code 2022-08-29 10:55:44 +05:30
Abhinav 6a1963146b revert testing changes 2022-08-29 10:41:00 +05:30
Abhinav 352db11ef3 fix build 2022-08-29 10:32:37 +05:30
Abhinav d75d82af1a Merge branch 'add-electron-types' into watch 2022-08-29 10:11:32 +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 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
Abhinav 03b0c4128f add ElectronAPIs types 2022-08-27 10:07:01 +05:30
Vishnu Mohandas b74f723016
Merge pull request #689 from ente-io/fix-public-collection-video-download
fix downloadFile for video download
2022-08-26 18:47:45 +05:30
Abhinav ad588fbdab fix downloadFile for video download 2022-08-26 18:43:30 +05:30
Abhinav 354642c834 update to use the new apis 2022-08-26 16:29:54 +05:30
Abhinav 0e0acdf218 remove getElectronFile api 2022-08-26 15:04:43 +05:30
Vishnu Mohandas c57195b94c
Merge pull request #688 from ente-io/fix-changed-email-not-synced
update user email with the synced user details email
2022-08-26 14:34:51 +05:30
Abhinav 09ddfe8803 update user email with the synced user details email 2022-08-26 12:46:45 +05:30
Abhinav 06497f1a97 improve check 2022-08-23 19:58:57 +05:30
Abhinav d58ff9cf78 fix cancelled subscription state for plan selector 2022-08-23 19:55:51 +05:30
Abhinav f66fa83376 fix hasAMessage check 2022-08-23 19:44:18 +05:30
Abhinav 09ce8f5b2f don't need null fallback 2022-08-23 17:02:35 +05:30
Abhinav 5296e93463 clean code 2022-08-23 16:08:01 +05:30
Abhinav 7c9efb0bd5 increase timeout for FFmeg thumbnail generation 2022-08-22 11:03:29 +05:30
Abhinav 037eb1b4d2 remove locks 2022-08-17 14:30:16 +05:30
Abhinav ee686d430b refactor code 2022-08-17 13:58:22 +05:30
Abhinav 6b353c6d7c refactor code 2022-08-17 13:49:24 +05:30
Abhinav 93430df7cf remove duplicate 2022-08-17 13:40:05 +05:30
Abhinav abe5de2ec5 move mapping options inside mapping entry component directory 2022-08-17 13:37:18 +05:30
Abhinav 853fa414de rename function 2022-08-17 13:30:17 +05:30
Abhinav c242432268 remove syncProgressIcon and directly use Circular progress 2022-08-17 13:28:56 +05:30
Abhinav 600ef6bd51 refactor mapping entry options 2022-08-17 13:25:06 +05:30
Abhinav 5d6ec4d755 fix EntryHeading 2022-08-17 13:15:33 +05:30
Abhinav d9894e654f move HorizontalFlex to root container component 2022-08-17 13:13:28 +05:30
Abhinav 787ff7e851 refactor lock util and types 2022-08-17 11:08:36 +05:30
Abhinav 25bdad3e38 clean code 2022-08-17 10:32:41 +05:30
Abhinav ab7427c644 fix typo 2022-08-17 10:32:00 +05:30
Abhinav 4b37a01666 moved post upload complete action to uploadManager
and rename
2022-08-17 10:26:16 +05:30
Abhinav 1c2a03ba5e move code 2022-08-16 19:41:11 +05:30
Abhinav 008e6b5d36 need to run also if running watch service upload was paused 2022-08-16 19:40:08 +05:30
Abhinav 6d8528cdc8 change lock system to queue system 2022-08-16 19:35:52 +05:30
Abhinav 73484eac2c add comment 2022-08-16 13:17:07 +05:30
Abhinav 6cc326384f don't need to use expanded prop to show Snackbar as its already managed by UploadProgress component 2022-08-16 13:16:28 +05:30
Abhinav 036adb5977 refactor closeUploadProgress 2022-08-16 13:15:55 +05:30
Abhinav e76217a051 don't need to use expanded prop to show Snackbar as its already managed by UploadProgress component 2022-08-16 13:00:32 +05:30
Abhinav 15dec7a8ea refactor closeUploadProgress 2022-08-16 12:55:02 +05:30
Abhinav 153a2e49b9 refactor, move, rename 2022-08-16 12:34:30 +05:30
Abhinav a2cf90992d update watch no mapping content ui 2022-08-16 12:26:36 +05:30
Abhinav 0559812506 revert change to DialogBoxBase 2022-08-16 11:49:19 +05:30
Abhinav 2ee492938c Merge branch 'main' into watch 2022-08-15 14:22:35 +05:30
Abhinav 3578532db4 fix isBundledApp and allElectronAPIsExist check 2022-08-11 10:55:18 +05:30
Abhinav 81be57c386 ElectronAPIs should be private to service 2022-08-11 10:42:24 +05:30
Abhinav be5eba96c6 add types to electronCache Service 2022-08-11 10:41:58 +05:30
Abhinav 8c21a1f833 add cache service 2022-08-11 10:41:38 +05:30
Abhinav 07a6aa14fa don't wait on cache put 2022-08-10 17:43:59 +05:30
Rushikesh Tote a017891004 added more conditions to handle paused uploads 2022-08-10 14:24:26 +05:30
Rushikesh Tote 5d519e3a96 fix modal width 2022-08-10 14:21:25 +05:30
Abhinav 8554519789 abstract thumbs cache name 2022-08-10 13:36:44 +05:30
Abhinav 7b8251e4ec move isElectron inside service laye 2022-08-10 13:33:40 +05:30
Abhinav 5b0d2c705a move safeStorageService to electron subService directory 2022-08-10 11:54:44 +05:30
Abhinav abadf28e01 switch to electron cache for bundle app 2022-08-10 11:52:21 +05:30
Abhinav fdcbe6d915 rename desktop service to safe storage 2022-08-09 14:04:05 +05:30
Abhinav 11a1e3aae2 rename variable 2022-08-08 13:58:11 +05:30
Abhinav 9b365ea669 refactor needsConversionForPreview 2022-08-08 13:54:16 +05:30
Abhinav 458e095e46 rename variables 2022-08-08 13:52:03 +05:30
Abhinav 129b994346 fix thumbnail service isHEIC check 2022-08-08 12:55:45 +05:30
Abhinav 4426818549 refactor conversion for preview 2022-08-08 12:50:21 +05:30
Vishnu Mohandas 5fdfb36c66
Merge pull request #678 from ente-io/fix-unlock-album-form
updated unlock album to use mui component instead of bootstrap card
2022-08-01 21:18:56 +05:30
Abhinav 8652166f85 updated unlock album to use mui component instead of bootstrap card 2022-08-01 21:16:49 +05:30
Abhinav 81255faefa don't use file extension to chcek if file need conversion 2022-08-01 17:01:42 +05:30
Abhinav b7f737255e make sizes human readaable 2022-07-28 18:06:20 +05:30
Abhinav 9513d6adf5 move user id logging to the end 2022-07-28 18:03:23 +05:30
Abhinav 9d518eb699 add hiec conversion size logs 2022-07-28 17:53:30 +05:30
Abhinav 0cbd04b734 add heic preview conversion logs 2022-07-28 17:32:23 +05:30
Manav fd7d0968fc
Merge pull request #674 from ente-io/first-load-message
redesign first load message
2022-07-28 11:22:45 +05:30
Abhinav 9cc0cdb701 redesign first load indicator 2022-07-28 11:17:41 +05:30
Manav b1f2e98a1a
Merge pull request #673 from ente-io/fix-casing
fix casing
2022-07-28 10:58:39 +05:30
Abhinav d5aa4dda0f fix casing INSTALL_MOBILE_APP message 2022-07-28 10:56:42 +05:30
Rushikesh Tote 1527f9fbad Merge branch 'main' into watch 2022-07-27 18:45:49 +05:30
Rushikesh Tote f852ddc84e added pausing uploads 2022-07-27 16:36:27 +05:30
Abhinav Kumar d7e21c0d53
Merge pull request #672 from ente-io/fix-exif-location-bug
show exif location as fallback if metadata is missing location
2022-07-27 15:45:43 +05:30
Abhinav f105b52908 refactor code 2022-07-27 15:23:28 +05:30
Abhinav 442d193081 show exif location if avialable and metadata is missing location value 2022-07-27 14:52:48 +05:30
Abhinav cc48cd8e1c Merge branch 'main' into handle-file-hash-generation-failed-gracefully 2022-07-27 13:28:10 +05:30
Abhinav Kumar 79748149cc
Merge pull request #671 from ente-io/hiec-conversion-logs
add debug log for all error
2022-07-27 12:51:26 +05:30
Rushikesh Tote b86f3a98a5 Merge branch 'main' into watch 2022-07-27 12:43:33 +05:30
Rushikesh Tote 4110ce8a3d fix merge 2022-07-27 12:43:22 +05:30
Abhinav f1d6446c0b fix sentry user id in debug logs 2022-07-27 11:40:15 +05:30
Abhinav 25d02cb2b1 move convertBytesToHumanReadable to size util 2022-07-27 11:29:04 +05:30
Abhinav 4dcdbc40cf fix import 2022-07-27 11:20:06 +05:30
Abhinav 3cc6095e90 move useLongPress to hooks folder 2022-07-27 11:19:44 +05:30
Abhinav 27104d0f7a move format time to time util 2022-07-27 11:17:53 +05:30
Abhinav a5653763d0 move convertBytesToHumanReadable to file util 2022-07-27 11:11:02 +05:30
Abhinav 99ac8472b5 add debug log for each sentry error 2022-07-27 11:03:54 +05:30
Abhinav c9dc630633 refactor logging to log complete app not just upload 2022-07-27 10:52:30 +05:30