Commit graph

220 commits

Author SHA1 Message Date
Vishnu Mohandas 562b4e1752 Fetch file and thumbnails directly from museum if the endpoint is defined 2021-02-28 05:04:11 +05:30
Vishnu Mohandas bc24fff3d3 Route all asset requests through Cloudflare 2021-02-28 04:07:42 +05:30
Vishnu Mohandas 5eb77a2505
Merge pull request #30 from ente-io/reduce-concurrent-uploads
reduce concurrent upload to 4
2021-02-26 15:48:50 +05:30
Abhinav-grd 18defbb9b8 stored literal values to const 2021-02-26 15:08:34 +05:30
Abhinav-grd e50c8864ec reduce conccurent upload to 4 2021-02-26 11:28:44 +05:30
Abhinav-grd bb37368f56 ignore metadata errors 2021-02-26 11:26:10 +05:30
Abhinav-grd 26b4414799 clear encryptedkey 2021-02-25 23:57:30 +05:30
Abhinav-grd 7d53d9f239 destructure encryptedFile and encryptedKey into seperate variables 2021-02-25 23:02:17 +05:30
Abhinav-grd d5718b43e5 removed unneccesary Cryptoworker creations 2021-02-25 22:01:49 +05:30
Abhinav-grd 6075949de7 clear object references 2021-02-25 21:37:23 +05:30
Abhinav-grd ac126b2e0a Merge branch 'master' into fixing-upload-memory-leak 2021-02-25 12:34:54 +05:30
Vishnu Mohandas 5204bd30e4 Increase diff limit to 2500 2021-02-24 21:35:26 +05:30
Abhinav-grd 9e193da33e reuse same file readers 2021-02-24 21:34:14 +05:30
Abhinav-grd 961683d71a added check to prevent heic2any library load during server prerender 2021-02-24 10:11:26 +05:30
Abhinav-grd 8dbf35c360 added rendering HEIC logic 2021-02-23 15:41:46 +05:30
Abhinav-grd 72e9b1cfa2 added error handler adn grouped errorCode and handler in errorUtil file 2021-02-22 16:50:08 +05:30
Abhinav-grd 8f758f3ba5 Merge branch 'handle-B2-errors' of https://github.com/ente-io/bada-frame into handle-B2-errors 2021-02-22 13:22:00 +05:30
Abhinav-grd 55047a4313 changed + e to , e 2021-02-22 13:20:06 +05:30
Abhinav-grd ac85460ed5 moved internetConnectivity Check logic to uploadService 2021-02-22 13:19:36 +05:30
Abhinav-grd ec3763997c corrected metadataMap seeding function 2021-02-18 14:59:09 +05:30
Abhinav-grd 12368048d0 use constants for errorCodes 2021-02-18 13:36:50 +05:30
Abhinav-grd ae96735dd2 added better error handing 2021-02-18 12:54:17 +05:30
Abhinav-grd 4cf3c0f55a updated upload service to setUploadErrors 2021-02-18 11:43:54 +05:30
Vishnu Mohandas 1c6d50be00 Use number to represent the last collection updation time 2021-02-17 15:17:14 +05:30
Abhinav-grd 8679b5f62b random optimizations 2021-02-17 14:05:19 +05:30
Abhinav-grd 64e292eb1d update download Manager with downloaded File State 2021-02-17 12:47:36 +05:30
Abhinav-grd 6fa8bf6246 updated to use the DownloadManager 2021-02-17 10:50:21 +05:30
Abhinav-grd b2aacf9910 extracted getFile and getPreview to downloadManager 2021-02-17 10:31:31 +05:30
Abhinav-grd 25317df0e7 upaded logic to get correct number of uploadUrls 2021-02-17 09:55:21 +05:30
Abhinav-grd e4ef214711 correct encrypting function for encypting name 2021-02-16 18:46:24 +05:30
Abhinav-grd 3bb46238f1 added try catch to add collection function 2021-02-16 18:45:02 +05:30
Abhinav-grd e7689f79e1 Merge branch 'master' into improve-uploading 2021-02-16 18:30:01 +05:30
Abhinav-grd 3de7c29854 removed unncessary localCollection sorting 2021-02-16 18:14:12 +05:30
Abhinav-grd 92c33e9acc corrected collection sorting 2021-02-16 18:11:27 +05:30
Abhinav-grd 65d5cacd8f corrected KeyEncryptionResult import 2021-02-16 18:09:11 +05:30
Abhinav-grd c0c8684125 sort collection based on modification time desc 2021-02-16 17:39:43 +05:30
Abhinav-grd 6bb32f5c24 added logic to skip favorite collections and add empty collections to upload collection selector 2021-02-16 17:22:18 +05:30
Abhinav-grd 0989d794d5 moved user interface to user service 2021-02-16 17:15:06 +05:30
Abhinav-grd 4bbfb61f56 fixed collection name decryption 2021-02-16 17:13:21 +05:30
Abhinav-grd f8527375a0 updated thumbnail dimension calulation logic 2021-02-16 15:36:49 +05:30
Abhinav-grd de35099109 modified file attribute interface 2021-02-16 15:14:25 +05:30
Abhinav-grd 2f161f9eda improved file-upload service 2021-02-16 15:14:03 +05:30
Abhinav-grd 042df5223d corrected while condition 2021-02-15 21:11:59 +05:30
Abhinav-grd 3d7131088b removed unwanted imports 2021-02-15 21:09:41 +05:30
Abhinav-grd 18b089ccf5 moved snapImage logic inside loadeddata callback 2021-02-15 21:05:24 +05:30
Abhinav-grd b375992d80 saved values to consts 2021-02-15 20:55:25 +05:30
Abhinav-grd c90ab9019b change resolution to 1080p and max attempts to 3 2021-02-15 20:19:43 +05:30
Abhinav-grd cedfa404f2 corrected thumbnail compression 2021-02-15 17:58:14 +05:30
Abhinav-grd 1d5473f3dd added braces everywhere and formated all files 2021-02-09 15:04:10 +05:30
Abhinav-grd d5382f40ca Merge branch 'master' into handle_subscription_errors 2021-02-09 12:33:44 +05:30
Abhinav-grd 49d981e86a Merge branch 'master' into handle_subscription_errors 2021-02-09 12:26:42 +05:30
Abhinav-grd 22bb37c58f corrected casing 2021-02-09 11:48:46 +05:30
Abhinav-grd 6b8fc327e1 removed console logs 2021-02-09 11:43:33 +05:30
Abhinav-grd a4a3ad2e40 renamed collectionLatestfile to collectionAndItsLatestFile 2021-02-09 11:34:19 +05:30
Abhinav-grd 21297e6e73 use constants for fileDb name 2021-02-09 11:13:05 +05:30
Abhinav-grd f6c8102fec declare variable with type instead of typecasting 2021-02-09 11:12:23 +05:30
Abhinav-grd e8ae13221e more corrections 2021-02-09 10:37:46 +05:30
Abhinav-grd e131ecd745 passed file to removeDeletedCollectionFiles and corrected compare with collection.updationTime 2021-02-08 22:37:17 +05:30
Abhinav-grd bf6dc99c5c made requested changes to collectionService 2021-02-08 22:32:28 +05:30
Abhinav-grd 5250b97891 updated removing deleted collection file logic 2021-02-08 21:47:17 +05:30
Abhinav-grd 8ba126c56e renamed getLatestCollections to syncCollections 2021-02-08 21:40:11 +05:30
Abhinav-grd d6c21c671f fixed indentation 2021-02-08 16:32:16 +05:30
Abhinav-grd dfc5138fe3 added if braces 2021-02-08 16:31:05 +05:30
Abhinav-grd 4f32d07f80 updated fetch files logic 2021-02-08 16:26:47 +05:30
Abhinav-grd 7acf87d4b1 updated collection update time after fetch call 2021-02-08 16:07:59 +05:30
Abhinav-grd 99d547016e updated collection id type to number 2021-02-08 14:51:24 +05:30
Vishnu Mohandas dfad5dd8fa Skip fetching diff for a collection that has been deleted 2021-02-08 14:06:23 +05:30
Abhinav-grd 71af57409a change collection id type to number 2021-02-08 13:03:46 +05:30
Abhinav-grd 5c5a161999 remove files of deleted collections 2021-02-06 13:24:36 +05:30
Abhinav-grd 72fab5db92 skip deleted collections 2021-02-06 13:21:49 +05:30
Abhinav-grd 45fd07bc5f update collection time after all files fetched 2021-02-06 12:54:47 +05:30
Abhinav-grd f72ab9b418 updated getFiles to handle get single collection and store collectiontime after storing files 2021-02-06 00:21:14 +05:30
Abhinav-grd 053568980e Merge branch 'collection-ops' into file-loading-single-update 2021-02-05 23:00:19 +05:30
Abhinav-grd 08c993061c updated getCollectionLatestFile to use local files 2021-02-05 22:27:41 +05:30
Abhinav-grd 80d6547dfd makew fetch only if return files equal to limit 2021-02-05 20:35:09 +05:30
Abhinav-grd 4cdd208f34 removed unwanted function getAllCollections 2021-02-03 13:53:51 +05:30
Abhinav-grd 0c23e63bec corrected to have only unique instances of collection in localDB 2021-02-03 13:32:54 +05:30
Abhinav-grd 724b83e8ad rethrown errors to make erro available in dropzone callback 2021-02-02 18:12:11 +05:30
Abhinav-grd d69095e605 added logic to store collection in localDB and getCollection after last updateTime 2021-01-31 17:40:45 +05:30
Abhinav-grd aafdecdf13 added collectionUpdateTime localForage to fetchcollection after last update 2021-01-31 17:14:02 +05:30
Abhinav-grd 80c46796cf intial localFile Loading and then reload after complete fetch 2021-01-27 11:44:02 +05:30
Abhinav-grd bc709d5961 reduce requested file count to 1 in getCollectionLatestFile 2021-01-26 15:20:34 +05:30
Abhinav-grd 4aaebef0e7 updated requests to send token as header 2021-01-26 12:09:10 +05:30
Abhinav-grd 8be0713a3c foxed video thumbnial generation 2021-01-26 10:58:44 +05:30
Abhinav-grd 26f5393db0 limited parallel processing to 5 files 2021-01-25 18:36:29 +05:30
Abhinav-grd 878693c7c8 removed ignore set and corrected decryted name assignment 2021-01-25 18:35:53 +05:30
Abhinav-grd 01aef37a16 exported strings to englishConstants 2021-01-25 13:25:27 +05:30
Abhinav-grd fa76f97fe6 added try catch blocks 2021-01-25 13:25:19 +05:30
Abhinav-grd 18f827b4f8 improved location parsing 2021-01-25 13:14:16 +05:30
Abhinav-grd e490df7440 corrected the key used for encrypting collection key 2021-01-21 11:15:50 +05:30
Abhinav-grd 592172917f added collection name encryption and decryption logic 2021-01-21 07:54:17 +05:30
Abhinav-grd 6757ee256d added logic to clear deleted files from localDB 2021-01-20 19:21:22 +05:30
Abhinav-grd 9f1aabb103 added remove from favourite logic 2021-01-20 18:34:27 +05:30
Abhinav-grd 58d1ffb66f added favItemId state 2021-01-20 17:35:04 +05:30
Abhinav-grd 4a11226276 Merge branch 'file-upload' into collection-ops 2021-01-19 14:30:19 +05:30
Abhinav-grd dfc8c88947 neglect location {0,0} 2021-01-19 14:27:20 +05:30
Abhinav-grd f5b5761e40 fixed uplocollectionLatestFile import 2021-01-19 10:36:10 +05:30
Abhinav-grd 4bf02568d6 added logic to update progress bar while preparing files 2021-01-19 10:27:26 +05:30
Abhinav-grd 52ef03555e updated collectionService to handle keys in base64 format 2021-01-19 10:04:43 +05:30
Abhinav-grd bee1d7cfea updated all cryptoUtil calls to send Base64 values 2021-01-19 07:21:04 +05:30