Commit graph

5673 commits

Author SHA1 Message Date
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
Vishnu Mohandas 5fc647d3c5
Merge pull request #685 from ente-io/upload-better-code 2022-08-16 20:44:23 +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 67190d75c4 made prebuild as a caller of actual microtask yarn lint 2022-08-16 13:16:28 +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 e25618feab fix serialization and deserialization for undefined params 2022-08-15 17:26:18 +05:30
Abhinav fd020c209f fix pipe console from worker 2022-08-15 15:49:43 +05:30
Abhinav 5645a0a61a add null check before serializing 2022-08-15 15:49:19 +05:30
Abhinav 2ee492938c Merge branch 'main' into watch 2022-08-15 14:22:35 +05:30
Abhinav 49aea760a7 fix build 2022-08-15 13:30:35 +05:30
Abhinav 1e99141ff3 add file name in Error in ml sync log 2022-08-13 18:53:07 +05:30
Abhinav dc0f8ba86e fix getOriginalConvertedFile for live Photos 2022-08-13 18:52:42 +05:30
Abhinav c0c8e7270c move getOriginalName for motionPhoto to decodeMotionPhoto function 2022-08-13 18:43:45 +05:30
Abhinav e1cf9d0f6d fix syncIndex 2022-08-13 17:05:01 +05:30
Abhinav e282e66d90 fix import 2022-08-13 13:00:03 +05:30
Abhinav 86192dae78 minor fixes 2022-08-13 12:57:44 +05:30
Abhinav 4ea944db0a update cache name store and cache delete on logout 2022-08-13 12:54:53 +05:30
Abhinav f63fc04973 rename files as client and service instead of complete name 2022-08-13 12:46:04 +05:30
Abhinav df28584a64 change default imports 2022-08-13 12:43:06 +05:30
Abhinav 5cf8a113e6 revert testing changes 2022-08-13 12:30:09 +05:30
Abhinav f425f1bc34 rename stuff 2022-08-13 12:28:51 +05:30
Abhinav c4bd71192f organise stuff into utils 2022-08-13 12:06:33 +05:30
Abhinav 2b053df344 fix imports 2022-08-13 11:44:44 +05:30
Abhinav 5eb0f69c3d rename proxy services 2022-08-13 11:34:49 +05:30
Abhinav 4a219b8c53 just use runningInElectron check rest will be handled by the service 2022-08-13 11:27:41 +05:30
Abhinav 2173222875 fix transformBrowserCacheStorageToLimitedCacheStorage 2022-08-13 10:29:48 +05:30
Abhinav ce2be79a76 comment testing code 2022-08-13 10:29:33 +05:30
Abhinav b5062b94c8 make ReverseProxiedElectronCacheStorageProxy a normal class instead of a singleton 2022-08-13 10:08:26 +05:30
Abhinav 403d901589 remove unnecessary code 2022-08-13 09:57:52 +05:30
Abhinav 5bfda038c2 use ReverseProxiedElectronCacheStorageProxy in cacheStorageFactory 2022-08-13 09:57:33 +05:30
Abhinav ab2f35a147 rename to ReverseProxiedElectronCacheStorageProxy 2022-08-13 09:57:14 +05:30
Abhinav 1c2d4fa109 add ElectronCacheStorageReverseProxy 2022-08-13 09:53:52 +05:30
Abhinav be6acf03b2 add ProxiedLimitedCacheStorage interface and complete ElectronCacheStorageProxy implementation 2022-08-13 09:53:14 +05:30
Abhinav 60bc437a7f add manual serialization and deserialization 2022-08-12 17:59:39 +05:30
Abhinav 009b218ae4 testing changes 2022-08-12 17:27:54 +05:30
Abhinav 8c7794b355 use main thread exposed ElectronCacheService inside worker 2022-08-12 17:24:46 +05:30
Abhinav 8dc4f34d93 keep API contract for cache methods same as browser cache 2022-08-12 14:59:24 +05:30
Abhinav f61762c3ee use the new openCache and delete cache util 2022-08-12 14:58:52 +05:30