Commit graph

4924 commits

Author SHA1 Message Date
Abhinav Kumar 42712506c5
Merge pull request #759 from ente-io/manual-download
Manual update download
2022-11-02 12:15:17 +05:30
Abhinav 8444ffe49e update notification component 2022-11-02 11:37:40 +05:30
Abhinav d445153679 integrate api to skip update to app version 2022-11-01 14:20:39 +05:30
Abhinav 8d44cf9847 fix storage quota exceeded notification click event 2022-11-01 13:39:21 +05:30
Abhinav 7c1d272920 update AppUpdateInfo 2022-11-01 12:59:01 +05:30
Abhinav a0177dd5fc fix getUpdateAvailableForDownloadMessage action 2022-11-01 11:57:00 +05:30
Abhinav 8262002e8b use link component instead of custom anchor tag 2022-11-01 11:56:17 +05:30
Abhinav 082dc9d6ae fix link button vertical alignment 2022-11-01 11:54:03 +05:30
Abhinav 8c981a32de remove usage of window open 2022-11-01 11:20:08 +05:30
Abhinav 653de76956 use ente desktop download for os detection and download 2022-11-01 11:19:56 +05:30
Abhinav 94b6f379c7 update update available for download message 2022-11-01 10:35:17 +05:30
Abhinav cd72d15e43 show update available notification 2022-11-01 10:30:18 +05:30
Abhinav 35500f8308 update NotificationAttributes 2022-11-01 10:29:57 +05:30
Abhinav a6f9c6db00 add border radius to snackbar 2022-11-01 10:29:31 +05:30
Abhinav 0eb05fceaa migrate older notification attributes 2022-11-01 10:28:50 +05:30
Abhinav e219a4de5b update notification component 2022-11-01 10:28:24 +05:30
Abhinav 86ac848804 update Notification to use standard colors 2022-10-31 19:59:27 +05:30
Abhinav 7a864c821c move notification component from gallery to app 2022-10-31 17:58:44 +05:30
Abhinav aee3254096 use is updateDownloaded info to show condition update dialog 2022-10-31 17:35:39 +05:30
Abhinav Kumar 8a9f01a918
Merge pull request #758 from ente-io/logs-quota-exceeded
clear logs on QuotaExceededError
2022-10-31 17:06:29 +05:30
Abhinav Kumar a207845a67
Merge pull request #757 from ente-io/update-dialog
App Update dialog
2022-10-31 15:23:26 +05:30
Abhinav 8e24efe8cd clear logs on QuotaExceededError 2022-10-31 15:16:37 +05:30
Abhinav 15f1d5da3f update update dialog message 2022-10-31 13:53:00 +05:30
Abhinav b27eb536a1 add support for icon in dialog box 2022-10-31 13:52:41 +05:30
Abhinav 50117f23e1 fix singleInputForm button spacing 2022-10-31 13:18:21 +05:30
Abhinav a4d1d9478c update body1 line height 2022-10-31 12:25:42 +05:30
Abhinav 5f182ba778 use electron update api to show update dialog 2022-10-31 11:05:41 +05:30
Abhinav e583af5ecc setup separate useEffect to handle keyboard events 2022-10-28 19:55:26 +05:30
Neeraj Gupta c47ebfdc2e
Attempt to enable shortcuts on photoView 2022-10-28 19:12:00 +05:30
Neeraj Gupta 9dc66178c2
Rename component from PhotoSwipe to PhotoViewer 2022-10-28 14:45:48 +05:30
Neeraj Gupta 7cfbbdb02a
Constants: rename photoSwipe to photoViewer 2022-10-28 14:43:05 +05:30
Abhinav dcae994149 remove null unneeded states 2022-10-27 17:20:13 +05:30
Abhinav a6b8fb8049 send deletedFileIds as new instead of new Set 2022-10-27 17:03:30 +05:30
Abhinav a8ff3f78a4 remove setFiles from photoFrame and work but mutuating state 2022-10-27 16:57:08 +05:30
Abhinav 3a97760dde use spread to join arrays everywhere 2022-10-22 11:24:31 +05:30
Abhinav b9a3f754c8 fix push too many parameter issue by creating new array with elements of both array 2022-10-22 11:01:48 +05:30
Abhinav 14328e72de remove delete option from shared and trash collection 2022-10-19 11:49:07 +05:30
Abhinav 824548fcf8 handle deleting last item in the file list, loop back to start 2022-10-19 11:40:36 +05:30
Abhinav 47df6cb6f3 handle deleting last file 2022-10-19 11:40:07 +05:30
Abhinav d1b81dacd4 add better JSON invalid data checks 2022-10-18 19:36:17 +05:30
Abhinav ced8868ac1 Merge branch 'cancel-stream-after-use' into clear-object-urls-after-use 2022-10-18 11:41:36 +05:30
Abhinav 312cfa3069 remove object URL after download 2022-10-17 18:57:25 +05:30
Abhinav 60c218497a the object URL can be revoked after the image is loaded 2022-10-17 18:41:05 +05:30
Abhinav 5729632085 directly pass blob instead of making url and passing then reading the url to blob again 2022-10-17 18:39:53 +05:30
Abhinav 1aac6320ba cancel stream reader after required chunk are read to close the open file 2022-10-16 20:31:39 +05:30
Abhinav Kumar 7b16cbd1bb
Merge pull request #740 from ente-io/fix-too-much-recursion-error
Fix too much recursion error
2022-10-16 17:05:58 +05:30
Abhinav 0b45f7a1a0 don't search for service worker on electron 2022-10-16 16:08:55 +05:30
Abhinav 3d67eaed5f remove sentry logging from addLogLine 2022-10-16 16:01:26 +05:30
Abhinav d0555185cf logError for saveLogLine was again calling the same function causing an infinite loop 2022-10-16 15:58:17 +05:30
Abhinav Kumar 519828a954
Merge pull request #739 from ente-io/clear-large-logs
delete old logs if local storage is full
2022-10-16 15:47:23 +05:30
Abhinav 48de27c5f2 use line count method only as getting logs size CPU intensive 2022-10-16 15:40:14 +05:30
Abhinav 314d015e56 refactor 2022-10-16 12:04:50 +05:30
Abhinav 9da5313ccb move Log interface 2022-10-16 12:01:54 +05:30
Abhinav 0fb35089f1 refactor 2022-10-16 12:00:33 +05:30
Abhinav c0520fbbcf add log size check and refactor code 2022-10-16 11:55:06 +05:30
Abhinav Kumar 700c92a57e
Merge pull request #735 from ente-io/native-heic-conversion
Native-heic-conversion
2022-10-16 10:43:15 +05:30
Abhinav 16bfbe15c3 delete old logs if local storage is full 2022-10-16 10:33:54 +05:30
Abhinav edf66d08e2 use sanitizeName package 2022-10-16 10:25:09 +05:30
Abhinav e7efe81966 revert testing change 2022-10-15 17:37:09 +05:30
Abhinav 3edafb5800 Merge branch 'main' into native-heic-conversion 2022-10-15 17:20:27 +05:30
Abhinav Kumar 5b482871d5
Merge pull request #737 from ente-io/fix-logging-causing-window-to-hang
Fix logging causing app to hang
2022-10-15 17:17:59 +05:30
Abhinav ef05ba6534 add fileUploadResult to post upload action log 2022-10-15 16:59:36 +05:30
Abhinav 2d9a07d0f8 add valid file count log 2022-10-15 16:56:57 +05:30
Abhinav 577916d6ff add back mistakenly removed line 2022-10-15 16:44:04 +05:30
Abhinav 48dafda06c improve logging 2022-10-15 14:54:03 +05:30
Abhinav 3874ece241 remove logging of large objects and error duplicate logging if nothing extra context added 2022-10-15 14:23:53 +05:30
Abhinav 44b378db83 integrate electron api to open log directry 2022-10-15 13:17:22 +05:30
Abhinav 52da9b89b5 don't propagate addLogLine error 2022-10-15 12:21:16 +05:30
Abhinav ba4601cfec if is electron then only use disk logging 2022-10-15 11:58:43 +05:30
Abhinav 2abf3da74d add time log for native heic conversion 2022-10-15 11:45:14 +05:30
Abhinav 3df7932582 fix ElectronHEIC not fallback-ing to wasmHEICConverter 2022-10-15 11:44:29 +05:30
Abhinav 362e9a8803 fix import 2022-10-15 06:15:45 +05:30
Abhinav a2faa87b2c use heicConversionService 2022-10-15 00:42:42 +05:30
Abhinav c901fcc14e add HEICConversionService to handle both electron and wasm 2022-10-15 00:42:23 +05:30
Abhinav 2096d09e0d update electron heicConvertor 2022-10-15 00:41:20 +05:30
Abhinav 3db124bc41 rename heicConvertor to wasmHeicConvertor 2022-10-15 00:40:57 +05:30
Abhinav f028c163c1 add debugging logs 2022-10-14 23:27:23 +05:30
Abhinav 9879e6bf0a integrate native electron convert api 2022-10-14 23:14:44 +05:30
Vishnu c24410f15a Fix case 2022-10-13 14:50:53 +05:30
Abhinav 781a4b901f catch error if getFileIndexFromID fails 2022-10-12 14:13:11 +05:30
Abhinav Kumar 677c7e88c4
Merge pull request #728 from ente-io/photoswipe-delete-file-option
Photoswipe delete file option
2022-10-11 08:29:55 +05:30
Manav 03fb9a139d
Merge pull request #731 from ente-io/fix-scrollbar-color
Fix scrollbar color
2022-10-10 20:13:17 +05:30
Abhinav f067623722 use css baseline color scheme option to change scrollbar color 2022-10-10 17:54:15 +05:30
Abhinav 686eb1ec71 change all scrollbar color 2022-10-10 17:11:37 +05:30
Manav b1646e1d7e
Merge pull request #729 from ente-io/file-id-casing
fix file ID casing
2022-10-10 15:15:57 +05:30
Abhinav a5523ffc4a disable location search 2022-10-10 15:08:48 +05:30
Abhinav 37aa56ee9a fix file ID casing 2022-10-10 15:02:55 +05:30
Abhinav 64a5eeff7a fix trash section file not visible 2022-10-10 14:35:55 +05:30
Abhinav 1a554971b7 fix photoListHeader lagging behind 2022-10-10 14:23:39 +05:30
Abhinav 6d12de0fbc fix delete file local update 2022-10-10 14:13:48 +05:30
Abhinav e857d977d2 remove mistake fav update 2022-10-10 14:11:20 +05:30
Abhinav 3069650c94 add button labels and move delete button 2022-10-10 14:06:47 +05:30
Abhinav b49259f663 fix state not changing 2022-10-10 14:01:38 +05:30
Abhinav 7ef4b53fdb add delete current file option to photoswipe 2022-10-10 13:29:44 +05:30
Abhinav 27277d075d rename prop 2022-10-10 13:29:00 +05:30
Abhinav 9cbbe48760 add delete file dialog 2022-10-10 13:28:34 +05:30
Abhinav efbb7d98c8 make deletedFileIds a set 2022-10-10 13:24:25 +05:30
Abhinav 6e9ea3801b move dialog ox above photoswipe background 2022-10-10 13:22:06 +05:30
Vishnu Mohandas 0a69f16a28
Update englishConstants.tsx 2022-10-02 23:05:04 +05:30
Abhinav ae3bb1040a just check if it is stripeSubscription and not combined validity check 2022-09-25 18:15:44 +05:30
Abhinav a31acbfa5f fix this not passed to open customer portal 2022-09-25 18:15:04 +05:30
Abhinav 780e97c121 fix renew button click 2022-09-25 18:14:24 +05:30
Vishnu Mohandas 89dad30e16
Merge pull request #725 from ente-io/fix-window-undefined-error 2022-09-25 17:30:01 +05:30
Abhinav e6f4d591ab revert back isUserSubscribedPlan changes 2022-09-25 17:01:08 +05:30
Abhinav 5463e4e23b only add non listed plan user is subscribed to if subscription is active 2022-09-25 16:57:15 +05:30
Abhinav dd71f2ad81 change to globalThis to prevent importing window in worker 2022-09-25 16:05:07 +05:30
Abhinav Kumar 68a2422476
Merge pull request #722 from ente-io/log-to-disk-for-electron
Log to disk for electron
2022-09-24 16:51:07 +05:30
Abhinav 9cc3e0cf65 improve logging 2022-09-24 16:20:24 +05:30
Abhinav e3730edcd4 also log to disk while logging 2022-09-24 13:50:32 +05:30
Abhinav 41c65577a8 integrate the new electron logToDisk API 2022-09-24 13:50:13 +05:30
Abhinav d367967651 only show in progress as header for INPROGRESS_METADATA_EXTRACTION 2022-09-24 12:42:57 +05:30
Abhinav d11a0b47bb remove default expanded 2022-09-24 12:40:07 +05:30
Abhinav 9c683dfea5 remove from progress section instead of adding to result list 2022-09-24 12:35:30 +05:30
Abhinav d8b9e81f49 remove default expanded 2022-09-24 12:21:54 +05:30
Abhinav 0ad204a2c2 show metadata extraction progress 2022-09-24 12:18:00 +05:30
Abhinav a14ad74514 Merge branch 'main' into fix-customer-portal-open 2022-09-23 18:59:41 +05:30
Abhinav b206f66a8e use payment url to decide desktop redirect url root 2022-09-23 18:53:32 +05:30
Abhinav 0bece9d273 fix redirect url for customer portal sent for electron app 2022-09-23 18:38:15 +05:30
Abhinav bfd49914e8 make use environment constants 2022-09-23 16:28:11 +05:30
Abhinav 0de3f931d7 only log to console if environment is explicity set to development 2022-09-23 16:10:03 +05:30
Abhinav 8e85c08645 make production the default environment 2022-09-23 16:09:44 +05:30
Abhinav 006ad40925 add MAX_PARALLEL_DOWNLOADS 2022-09-22 14:07:47 +05:30
Abhinav 5d3dfa22ca add option to set processingStrategy 2022-09-22 13:35:04 +05:30
Abhinav d80aaf3fff remove over-scanning 2022-09-22 13:32:46 +05:30
Abhinav 81026c4414 update thumbnailDownloadRequestsProcessor 2022-09-21 17:55:52 +05:30
Abhinav 83c4d3c8bf remove lifo processing 2022-09-21 17:55:39 +05:30
Abhinav b8d36842cc add logic to show placeholder when user is scrolling 2022-09-21 17:55:25 +05:30
Abhinav c24732e789 remove over scanning as they are getting processed before 2022-09-21 16:01:22 +05:30
Abhinav e68de4b35c add download lifo processor 2022-09-21 16:00:32 +05:30
Abhinav d8d3d92cac add lifoProcessing options 2022-09-21 15:59:37 +05:30
Abhinav Kumar fbd31b0ec2
Merge pull request #714 from ente-io/add-batching-to-delete-from-trash
Add batching to delete from trash
2022-09-17 14:13:35 +05:30
Abhinav Kumar 805de17a80
Merge pull request #713 from ente-io/fix-empty-state
Fix all files trashed state
2022-09-17 13:49:07 +05:30
Abhinav 8df9ebd44a fix deleteFromTrash deleteBatch not intiialised 2022-09-17 13:47:55 +05:30
Abhinav 9055f67ff4 remove DeleteFilesRequest interface 2022-09-17 13:41:03 +05:30
Abhinav de858fd388 remove unnecessary empty line 2022-09-17 13:25:15 +05:30
Abhinav a0e2d977e3 update error logging 2022-09-17 13:23:09 +05:30
Abhinav 83a10909af rename function 2022-09-17 13:21:45 +05:30
Abhinav b2bd139c2b add batching to delete from trash 2022-09-17 13:18:04 +05:30
Abhinav b0a5351b5f don't hide collection bar if user not in all section 2022-09-17 13:04:03 +05:30
Abhinav 3cd6a5e5ae revert unwanted change 2022-09-17 12:40:19 +05:30
Abhinav 6ecc8d126b fix setPhotoListHeader 2022-09-16 16:56:17 +05:30
Abhinav c5b8e3fac0 fix show nothing to see here me 2022-09-16 16:55:47 +05:30
Abhinav d0737030aa fix hasNonSystemCollections check 2022-09-16 15:59:21 +05:30
Abhinav Kumar b4f4dc583b
Merge pull request #710 from ente-io/fix-ffmpeg-thumbnail-generation-issue
fix thumbnail generation failure
2022-09-15 15:25:54 +05:30
Abhinav Kumar 1d6235efc0
Merge pull request #711 from ente-io/fix-strings
Fix strings and make dialog actions stacked
2022-09-15 15:24:38 +05:30
Abhinav df94f6a37d make dialog options stacked 2022-09-15 15:19:01 +05:30
Abhinav 3bf078b8aa change back strings 2022-09-15 15:14:31 +05:30
Abhinav 0ff9ceece1 fix casing 2022-09-15 14:52:39 +05:30
Abhinav ec28259b8a fix reactive subscription dialog 2022-09-15 14:51:44 +05:30
Abhinav bf477b46e1 fix casing 2022-09-15 14:44:09 +05:30
Abhinav 86dd9b726d fix button text and casings 2022-09-15 14:43:11 +05:30
Abhinav a48fdc182a use _ for dummy variable 2022-09-15 14:31:12 +05:30
Abhinav 00a64b4c8c move util 2022-09-15 14:30:28 +05:30
Abhinav 4a67c76cb5 don't use user filename as identifier while conversion 2022-09-15 14:26:50 +05:30
Abhinav 65823eeaa5 fix verification data case 2022-09-14 11:07:49 +05:30
Abhinav Kumar d88b3e0c32
Merge pull request #706 from ente-io/fix-collection-rename
Fix collection rename
2022-09-13 18:40:40 +05:30
Abhinav Kumar c69b6ff1a9
Merge pull request #707 from ente-io/manage-non-stripe-subscription
mail to manage paypal and bitpay subscription
2022-09-13 18:01:52 +05:30
Abhinav 74bdf37f06 update email to mail at for billing support 2022-09-13 13:38:27 +05:30
Abhinav 55f2a6b07a rearrange checks 2022-09-13 13:28:13 +05:30
Abhinav 2316d18384 update mobile subscription error message 2022-09-13 13:20:09 +05:30
Abhinav 38dcd2edd3 mail to manage non stripe subscription 2022-09-13 13:06:30 +05:30
Abhinav a2916492c0 fix rename collection not updating ui 2022-09-13 11:47:29 +05:30
Abhinav eabac163e6 don't skip fix time for video and live photo if custom time used 2022-09-13 11:24:20 +05:30
Abhinav 623fdd9383 simplify duplicate sorting order to just alphabetical 2022-09-13 11:16:53 +05:30
Abhinav 2304a9c9c4 convert to if else 2022-09-12 19:37:21 +05:30
Abhinav a1f0398b9a show plan selector for expired non stripe plan 2022-09-12 19:33:08 +05:30
Abhinav 035c47dc36 reorganise stuff 2022-09-12 19:27:34 +05:30
Abhinav 8f370bcb52 add handleClick memo 2022-09-12 19:22:29 +05:30
Abhinav 488fd2fcd6 update STORAGE_QUOTA_EXCEEDED_SUBSCRIPTION_INFO 2022-09-12 19:07:28 +05:30
Abhinav 51ec698aad fix button text 2022-09-12 18:48:49 +05:30
Abhinav 8b79f39c31 open customer portal for renewal 2022-09-12 18:48:26 +05:30
Abhinav e0ed13c6d8 fix getValidFilesToUpload 2022-09-09 14:45:13 +05:30
Abhinav 5af26cfeb5 improve delete 2022-09-09 13:48:50 +05:30
Abhinav 9caf284048 consider all files with dot in name as system files 2022-09-09 13:16:47 +05:30
Abhinav 6b7c5f4cb2 fix spacing 2022-09-09 13:08:05 +05:30
Abhinav aee203adab remove filePath logging 2022-09-09 13:04:14 +05:30
Abhinav 4d32354275 fix getValidFilesToUpload check 2022-09-09 13:00:33 +05:30
Abhinav cdf532b477 dedupe files to be sent for uploads 2022-09-09 12:49:03 +05:30
Abhinav 7ecf2e22f4 add to debug log folder path and remove from sentry logs 2022-09-09 12:31:54 +05:30
Abhinav 638901d956 filterOutSystemFiles by own 2022-09-09 12:17:45 +05:30
Abhinav 938e896ce9 remove loader before existing 2022-09-09 12:17:01 +05:30
Abhinav cf914d975c ignore system files during uploads 2022-09-09 10:47:04 +05:30
Abhinav 45eabbf0c2 use push event helper instead of directly added event to queue 2022-09-09 09:23:01 +05:30
Abhinav 3609067243 Merge branch 'main' into fix-watch-folder-issues 2022-09-09 08:55:24 +05:30
Abhinav 2df32ba7f3 add Tooltip to watch mapping icon 2022-09-07 20:56:18 +05:30
Abhinav bd4b456bd1 fix NoMappingsContent font sizes 2022-09-07 20:50:35 +05:30
Abhinav 445da5e83e fix stale hasUnUploadedFiles 2022-09-07 20:40:39 +05:30
Abhinav cbe17dbd42 clear pickedUploadType after use so that it doesn't get used for drag and drop upload which doesn't set a upload type 2022-09-07 19:41:49 +05:30
Abhinav 7a3da0d3df clear watchFolderFiles after use 2022-09-07 19:09:15 +05:30
Abhinav 11c3647cd6 update background paper and overPaper colors 2022-09-07 11:29:54 +05:30
Abhinav Kumar f6fe0743bb
Merge pull request #583 from ente-io/watch
Watch Folders
2022-09-07 11:14:51 +05:30
Abhinav 5011f9b959 change case electron instance variable 2022-09-07 11:07:17 +05:30
Abhinav ba0f26a86d remove unused code 2022-09-07 10:56:04 +05:30
Abhinav c4e7535872 add a show on electron only check 2022-09-06 18:04:34 +05:30
Abhinav cb82ab255d fix diskFolderRemovedCallback 2022-09-06 17:57:28 +05:30
Abhinav 1cdfa9cb5e fix diskFolderRemovedCallback 2022-09-06 17:49:55 +05:30
Abhinav cb71d9ca7a fix getCollectionNameAndFolderPath 2022-09-06 17:49:30 +05:30
Abhinav Kumar 9c4a6339ec
Merge pull request #696 from ente-io/account-delete
Account delete
2022-09-06 17:14:31 +05:30
Abhinav a06c92d597 fix LinkButton 2022-09-06 17:03:25 +05:30
Abhinav 7fd5f31aa3 authenticate before showing delete confirmation screen 2022-09-06 16:52:24 +05:30
Abhinav f84f8f1ba7 remove space after email 2022-09-06 16:48:41 +05:30
Abhinav 73af3eb40c update link style 2022-09-06 16:47:21 +05:30
Abhinav 353bba2b6a fix feedback url 2022-09-06 16:40:36 +05:30
Abhinav 96b6769326 fix getCollectionNameAndFolderPath 2022-09-06 15:40:49 +05:30
Abhinav a02e80e31f update preCollectionCreationAction 2022-09-06 14:45:29 +05:30
Abhinav b784e87b56 add ignore duplicate upload event logic 2022-09-06 14:30:44 +05:30
Abhinav e23333deed fix user upload trigerred when user doesn't have any collection 2022-09-06 13:53:40 +05:30
Abhinav ed1a1af886 don't save for retry watchFolder upload files as they are already tracked 2022-09-06 11:47:29 +05:30
Abhinav 81f71ff4a7 rearrange variables 2022-09-06 10:47:48 +05:30
Abhinav 2589232dd9 rearrange variables 2022-09-06 10:46:29 +05:30
Abhinav e0ffb6e9f3 add error handling for on mount useEffect of AuthenticateUserModal 2022-09-06 10:43:41 +05:30
Abhinav f611ff2a6a add new line 2022-09-06 10:33:11 +05:30
Abhinav 520ec6b1e0 improve delete account modal 2022-09-05 22:08:47 +05:30
Abhinav bb358672eb convert decryptedChallenge to utf8 2022-09-05 22:08:21 +05:30
Abhinav 6ae569e921 fix deleteAccount api 2022-09-05 22:07:54 +05:30
Abhinav aa476b1014 dont auto opn 2022-09-05 21:21:19 +05:30
Abhinav 6d35de6a5d added solve challenge and delete account logic 2022-09-05 21:19:43 +05:30
Abhinav d6d505a0e8 add delete api 2022-09-05 21:19:23 +05:30
Abhinav fc2fe84726 improve verify master password form 2022-09-05 21:18:58 +05:30
Abhinav 921e05fbf7 added delete account modal 2022-09-05 21:17:49 +05:30
Abhinav 111e6f7116 create authenticate user modal 2022-09-05 21:17:30 +05:30
Abhinav dbfffdeb6c refactored credential into verify master password form 2022-09-05 21:16:51 +05:30
Abhinav aafc3af100 add getAccountDeleteChallenge api 2022-09-05 21:14:08 +05:30
Abhinav 8aab1cbd04 fix waitAndRun and better name 2022-09-05 19:29:03 +05:30
Abhinav Kumar 02afc0b9cb
Merge pull request #693 from ente-io/refactor-upload
Refactor upload
2022-09-05 15:44:00 +05:30
Abhinav 513c7cf167 fix uploadDone not runnign 2022-09-03 21:01:05 +05:30
Abhinav f8b0706d81 add files that can't be uploaded to ignored files 2022-09-03 20:38:25 +05:30
Abhinav 88d2654095 add local log 2022-09-03 19:30:44 +05:30
Abhinav 64e15798ad fix already upload file not getting added as synced file 2022-09-03 19:30:07 +05:30
Abhinav 1e43359414 make overflow menu background to over paper 2022-09-03 18:54:41 +05:30
Abhinav ea2d142d60 fix sizing and layout 2022-09-03 18:47:47 +05:30
Abhinav bcb0fe7ed8 make ui changes 2022-09-03 18:26:05 +05:30
Abhinav 75e28d0a37 made cancel button secondary 2022-09-03 18:05:11 +05:30
Abhinav 1fb2d10cce update max width 2022-09-03 18:03:39 +05:30
Abhinav 5628fbbb81 fix casing 2022-09-03 18:02:29 +05:30
Abhinav faac1e6f51 moved watch folder to top of utility section 2022-09-03 18:01:44 +05:30
Abhinav 9a12deebb0 don't update File Path 2022-09-03 17:42:01 +05:30
Abhinav 73c94d139e convert console logs to addlogLine 2022-09-03 17:40:33 +05:30
Abhinav 022826dfa6 use shouldAllowNewUpload to prevent uploads 2022-09-02 15:33:37 +05:30
Abhinav 6c95b6b26b add desktop proxied redirect url for desktop stripe checkout session 2022-09-02 11:40:29 +05:30
Abhinav dc65cbf7d8 minor fixes 2022-09-02 08:31:53 +05:30
Abhinav 1669d1a8b4 Merge branch 'cancel-upload-without-reload' into watch 2022-09-01 20:56:43 +05:30
Abhinav f97215742f merge same action cases 2022-09-01 20:55:05 +05:30
Abhinav da6626f514 add add missing UPLOAD_RESULT as no-op 2022-09-01 20:53:31 +05:30
Abhinav 209fc4fe54 set new created collection during upload to state 2022-09-01 20:32:18 +05:30
Abhinav e821ee726c return existing file for already uploaded case 2022-09-01 18:53:06 +05:30
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 45a2f5056f refactor 2022-09-01 17:49:53 +05:30
Abhinav 0646a908e2 Merge branch 'cancel-upload-without-reload' into watch 2022-09-01 17:44:30 +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 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