Commit graph

934 commits

Author SHA1 Message Date
Abhinav eb23444853 create a POC working model of live photo upload 2022-02-09 10:53:43 +05:30
Abhinav 858315c897 added stage for metadata extraction 2022-02-09 10:32:14 +05:30
Abhinav 10b5f6cd47 revert to setting title in _app.tsx next issue 2022-02-05 16:20:03 +05:30
Abhinav b6e1dd5561 move head setting logic from app to worker 2022-02-05 16:06:34 +05:30
Abhinav 54e074bebe add resp.data not undefined check before creating Uint8ArrayBuffer out of it 2022-02-05 15:10:32 +05:30
Abhinav 1aff0d2ae9 update albums footer 2022-02-04 13:09:13 +05:30
Abhinav e7c051ac53 refactor metadata extraction 2022-02-03 23:54:36 +05:30
Abhinav 5c62a3183d update ABUSE_REPORT_DESCRIPTION 2022-02-02 22:01:58 +05:30
Abhinav a3235967e3 nothing to see here if files is empty 2022-02-02 22:01:01 +05:30
Abhinav f76b1c3ee3 add new worker for conversion 2022-02-01 18:54:44 +05:30
Abhinav c30fa05b60 add HIECConveter service to queue up and process heic to jpeg conversion 2022-02-01 16:21:47 +05:30
Abhinav 818a645205 Merge branch 'master' into chrome-oom-crash 2022-02-01 14:18:38 +05:30
Abhinav f335a9bbfd fix grammer 2022-01-31 23:36:53 +05:30
Abhinav 2266d7a115 update abuse report description 2022-01-31 23:32:47 +05:30
Abhinav 2cc30ebe88 update abuse report success strings 2022-01-31 23:31:41 +05:30
Abhinav a750e7e900 update sharing Error handling 2022-01-30 16:03:13 +05:30
Abhinav 033a6020e2 handle too TOO_MANY_REQUEST error 2022-01-30 13:37:32 +05:30
Abhinav f4366064d0 style change 2022-01-29 14:48:53 +05:30
Abhinav 6962ccfea4 change abuse report button text 2022-01-29 14:19:08 +05:30
Abhinav 82ba607a3d add divider between share with and public url 2022-01-29 14:17:52 +05:30
Abhinav ad3dc5d65f update placeholder strings to have required star 2022-01-29 10:59:45 +05:30
Abhinav de0a310969 Merge branch 'bug-fix-public-sharing' into update-abuse-report 2022-01-28 11:54:09 +05:30
Abhinav eb714a145b Merge branch 'public-album-styling' into bug-fix-public-sharing 2022-01-28 11:51:55 +05:30
Abhinav 7af0cd55a1 Merge branch 'master' into public-album-styling 2022-01-28 11:50:38 +05:30
Abhinav Kumar 3c58e02f66
Merge pull request #333 from ente-io/albums-ente-io
copy of albums.ente.io setup
2022-01-28 11:45:45 +05:30
Abhinav caef32adb2 change button text for web to singup 2022-01-27 16:08:25 +05:30
Abhinav Kumar 04aab00edd
Merge pull request #313 from ente-io/shareable-url
shareable url
2022-01-27 16:00:57 +05:30
Abhinav Kumar 5fd12ad7b9
Merge pull request #330 from ente-io/progress-bar-ui-updates
upload progress bar upload
2022-01-27 15:43:05 +05:30
Abhinav c3081c9096 no need to set finished files progress on progress bar 2022-01-27 14:38:02 +05:30
Abhinav 4793d7169b revert to default driver set 2022-01-27 12:27:50 +05:30
Abhinav ff5d9b5129 update the abuse report form 2022-01-26 19:17:37 +05:30
Abhinav 9b47830076 fix public collection files download 2022-01-26 11:50:02 +05:30
Abhinav 7ceea87510 move report button to button of the photoList 2022-01-25 19:38:28 +05:30
Abhinav 041e995baf fix host change for local shared album 2022-01-25 16:15:30 +05:30
Abhinav bbfa11834e added redirect to shared-albums with root mask logic 2022-01-25 14:09:56 +05:30
Abhinav a631b5ff01 Merge branch 'master' into albums-ente-io 2022-01-25 12:05:57 +05:30
Abhinav Kumar 091566281d
Merge pull request #320 from ente-io/recovery-key-error-handling
better handle if getRecoveryKey fails
2022-01-24 18:24:35 +05:30
Abhinav cb29371959 remove token-missing erorr 2022-01-24 17:43:30 +05:30
Abhinav ecd4a2588f export string to constant 2022-01-24 17:27:07 +05:30
Abhinav b956c5263c moved strings to contants 2022-01-24 16:56:45 +05:30
Abhinav b2cac4f629 minor improvements 2022-01-24 16:42:23 +05:30
Abhinav a8f327e49a Merge branch 'master' into shareable-url 2022-01-24 15:06:53 +05:30
Abhinav 07241efafd change url casing 2022-01-24 14:58:41 +05:30
Abhinav 17fd62be4d handle new format of shareURL 2022-01-24 14:51:31 +05:30
Abhinav 581274b3c5 better handle if getRecoveryKey fails 2022-01-24 13:11:10 +05:30
Abhinav df9dd95f54 update string 2022-01-22 13:26:54 +05:30
Abhinav ae5bc333ef add new category for files larger than available storage 2022-01-22 12:26:41 +05:30
Abhinav 3971e9c500 Revert "fix file too large description"
This reverts commit 8a5e194af4.
2022-01-22 11:18:55 +05:30
Abhinav Kumar 4511773b80
Merge pull request #315 from ente-io/change-url-casing
Change url casing
2022-01-22 11:03:49 +05:30
Abhinav 8a5e194af4 fix file too large description 2022-01-22 11:01:56 +05:30
Abhinav 47ca9300dc handle null url 2022-01-21 18:33:11 +05:30
Abhinav a358525b36 handle sharing errors 2022-01-21 18:24:57 +05:30
Abhinav 13f8968ee9 handle token exipring 2022-01-21 17:33:20 +05:30
Abhinav 6a3ed25c21 Merge branch 'master' into shareable-url 2022-01-21 17:22:33 +05:30
Abhinav 9fa5662880 add 404 page 2022-01-21 16:48:25 +05:30
Abhinav a96d115aa2 chnage URL format 2022-01-21 14:56:54 +05:30
Abhinav f4acef55ef mode copy code to codeblock 2022-01-21 14:05:11 +05:30
Abhinav a99238b25b update api urls 2022-01-21 12:33:23 +05:30
Abhinav 8d81368a34 change Url to URL 2022-01-20 12:13:10 +05:30
Abhinav 1a74eccdd7 change Url to URL 2022-01-20 12:12:27 +05:30
Abhinav 072e471f27 update to hadle new URL format 2022-01-19 16:24:43 +05:30
Abhinav 13ebc48f9c add deleteSharableURL api and UI 2022-01-19 16:23:59 +05:30
Abhinav 2d23b4a70c add logic to prevent opera and MSStream undefined errors 2022-01-19 12:55:48 +05:30
Abhinav a648695e44 add go to ente button 2022-01-19 12:55:15 +05:30
Abhinav 894802bc81 add device detection logic 2022-01-19 10:31:36 +05:30
Abhinav f2caf2758b add abuse report logic 2022-01-18 18:38:24 +05:30
Abhinav 2b5cea72a5 rename sharedCollection to publicCollection 2022-01-17 16:48:13 +05:30
Abhinav ecc2ce7093 add logic and apis for viewing sharedAlbum Thumbnails and files 2022-01-17 16:48:13 +05:30
Abhinav d7832a2e08 encode collectionKey as its not URL 2022-01-17 16:48:13 +05:30
Abhinav 429211f9a8 add create sharable url logic
ui for opening shared collections
2022-01-17 16:48:09 +05:30
Abhinav 05f19c3303 handle plan modal opening error better 2022-01-15 11:01:09 +05:30
Abhinav 8ca2eeb8c7 remove unnecessary api key 2022-01-14 17:43:53 +05:30
abhinavkgrd 7dc9246519
Merge pull request #284 from ente-io/rename-type-MetadataObject-to-Metadata
Rename type MetadataObject to Metadata
2022-01-09 18:05:13 +05:30
Abhinav d42af9cd1a pass reader correctly instead of passing workers 2022-01-09 11:05:50 +05:30
Abhinav 15a03a87b3 rename type MetadataObject to Metadata 2022-01-08 10:34:40 +05:30
Abhinav bd3d6d84ce use global file reader and reuse them wherever possible 2022-01-07 18:28:22 +05:30
Abhinav b752b77c26 Merge branch 'master' into upload-types-refactor 2022-01-05 16:36:39 +05:30
Abhinav e4f649c467 refactor upload service constants and types 2022-01-05 13:27:10 +05:30
Abhinav a5849600b1 move errorUtil from utils/common to utils/error 2022-01-05 12:25:48 +05:30
Abhinav b00d7ea2b0 move file enums to constants/file 2022-01-05 12:18:46 +05:30
Abhinav ce22425be9 move collection enum to constants/collection 2022-01-05 12:11:32 +05:30
Abhinav 11e990ffe9 move file constants to constants/file 2022-01-04 17:27:19 +05:30
Abhinav 8a96b73b37 moved export constants to constants/export 2022-01-04 17:19:14 +05:30
Abhinav dfdf2897d4 move constants from util to src directory and split into sub folders 2022-01-04 16:50:54 +05:30
Abhinav b10a43b3a8 move gallery related types to types/gallery 2022-01-04 16:27:59 +05:30
Abhinav f30a5103bc renamed types to util/constants 2022-01-04 16:19:58 +05:30
Abhinav 41b8ed55a2 moved user related types to types/user 2022-01-04 16:09:42 +05:30
Abhinav 79f6ebc454 moved search related types to types/search 2022-01-04 15:48:33 +05:30
Abhinav b5b31a8350 move non exported constant back to origin file 2022-01-04 15:36:16 +05:30
Abhinav aba964922e moved file related types to types/file 2022-01-04 15:20:14 +05:30
Abhinav f8af3a9a39 moved export types to types/export 2022-01-04 14:21:47 +05:30
Abhinav 2aba5cb058 moved collection related types to types/collection 2022-01-04 14:17:38 +05:30
Abhinav 1a1c4d145c created types for billing and renamed billingUtil to billing/index 2022-01-04 14:05:41 +05:30
abhinavkgrd 1d0aa42630
Merge pull request #273 from ente-io/web-security-clean
harden web security
2022-01-04 13:03:09 +05:30
Abhinav 530f40f5a0 Merge branch 'master' into upload-types-refactor 2022-01-04 12:20:28 +05:30
Abhinav 9acb76795e fix sentry tunnel URL 2022-01-03 15:33:08 +05:30
Abhinav 6e62f312bf update to use ente domain url for workes instead of worker.dev cf domains 2021-12-20 15:51:24 +05:30
Abhinav 40058f0883 fix typo 2021-12-20 13:21:12 +05:30
Abhinav bff8411284 adds download collection option 2021-12-20 13:00:56 +05:30
Abhinav 9088942e16 fix checks 2021-12-19 14:43:30 +05:30
Abhinav e2b3c157f5 renamed oldClient to better allElectronAPIsExist 2021-12-19 14:38:10 +05:30
Abhinav d814359e10 add olderClient check and use olderClient logic 2021-12-19 12:24:58 +05:30
Shailesh Pandit d5199acc43 Extract common types in upload service to upload types
Required for not including code required for upload service in other parts just requiring common types
e.g. ffmpegService is included in machine learning web worker while including downloadManager service
2021-12-08 11:53:34 +05:30
Abhinav ba1fb670e8 add old sanitizer to get oldname for migration 2021-12-07 18:15:12 +05:30
Abhinav f13549b2bf null safety 2021-12-07 18:15:12 +05:30
Abhinav 85d06fc528 fix bugs 2021-12-07 18:15:12 +05:30
Abhinav 27d9d703c7 renamed exported Collection if collection name changed 2021-12-07 16:23:56 +05:30
Abhinav 6074200b67 better local errors 2021-12-07 15:41:50 +05:30
Abhinav 55b2de1a53 fix collection folder creation 2021-12-07 15:41:38 +05:30
Abhinav 3dd90ba538 fix getUniqueFileSaveName , by providing collectionPath too for checking if file already exists at the fileSavePath 2021-12-07 14:16:37 +05:30
Abhinav 8be93db2db use exists electron API to remove the need of in memory used fileName and collectionName maps 2021-12-07 11:53:48 +05:30
Abhinav e9e777f5eb better function name 2021-11-30 22:51:47 +05:30
Abhinav 13cb4338ff update sanitize name function 2021-11-30 11:57:50 +05:30
Abhinav cff0959cf3 Merge branch 'master' into export-v2 2021-11-29 14:56:22 +05:30
Abhinav c443bae39a add null check before trying to update exif with edited value 2021-11-29 14:39:11 +05:30
Abhinav 9454540175 update name to getCachedOriginalFile 2021-11-29 14:14:28 +05:30
Abhinav f997c7457a use converted suffix instead of forPreview to to avoid duplicate download of unconverted files 2021-11-29 11:18:28 +05:30
Abhinav f688d620cc prevent duplicate file download calls 2021-11-29 10:42:46 +05:30
Abhinav 6ba24037e1 add download logic 2021-11-27 15:40:15 +05:30
Abhinav 97b9ac0626 add download all button 2021-11-27 13:23:05 +05:30
Abhinav 2260374fa0 add live photo upload support 2021-11-26 16:16:50 +05:30
Abhinav fe6d0c4125 merge master into export-v2 2021-11-26 12:06:58 +05:30
Abhinav-grd e4e58fd905 fallback to creationTime if modification time missing 2021-11-23 22:08:51 +05:30
Abhinav ca86255bd3 use app context instead of locl storage key 2021-11-23 17:55:04 +05:30
Abhinav f592a04ad2 prevent router loop 2021-11-23 09:40:19 +05:30
Abhinav cb3775c690 dont need shallow update 2021-11-23 00:01:42 +05:30
Abhinav 4bdbc36b25 fix change 2021-11-22 22:32:30 +05:30
Abhinav 97a3eef465 preserve rest queryParam after checkSubscriptionPurchase 2021-11-22 22:10:05 +05:30
Abhinav 879ab66c08 save redirectURL in localStorage before auth redirect 2021-11-22 21:54:32 +05:30
Abhinav e13787df7a only pass non trashed file user files for search 2021-11-20 12:15:51 +05:30
Abhinav e3aa37c09e update copy 2021-11-19 01:50:59 +05:30
Abhinav 60fef97f7b update copies 2021-11-19 01:34:54 +05:30
Abhinav db92ac123f update string 2021-11-19 00:59:56 +05:30
Abhinav b2162c4398 add options for fix creation time 2021-11-19 00:24:47 +05:30
Abhinav 8c1e7249c6 build fix 2021-11-17 22:33:15 +05:30
abhinavkgrd e913615f57
Merge pull request #221 from ente-io/fix-creation-time
Fix creation time
2021-11-17 22:26:16 +05:30
Abhinav 8d4dff4c38 fix collection unique name and file name 2021-11-17 14:54:26 +05:30
Abhinav 2273dcdc76 adds util for getting metadata folderpath 2021-11-17 14:11:04 +05:30
Abhinav bb9c82db52 remove unused LS_KEYS 2021-11-17 13:36:23 +05:30
Abhinav d15cef404d update strings 2021-11-17 13:05:41 +05:30
Abhinav 670dbe2d0f download from photoswipe contain updated exif 2021-11-16 17:21:26 +05:30
Abhinav 3de18c4fbd migrate export if previous export version less than current 2021-11-16 16:45:58 +05:30
Abhinav 80fda73a79 move fix CreationTime option to selectionOption bar 2021-11-16 12:27:23 +05:30
Abhinav e8aa6141dd bubble up error to caller from queue processor 2021-11-13 12:50:37 +05:30
Abhinav 07591fe30d update creation Time copies 2021-11-12 10:39:36 +05:30
Abhinav f0787b7dfb refactor code 2021-11-11 13:13:59 +05:30
Abhinav 2636568724 if file has edited Time and is jpeg then update the exif ModifyDate with the edited time 2021-11-11 12:54:28 +05:30
Abhinav 824dc54d76 adds getFileExtension util 2021-11-11 12:54:28 +05:30
Abhinav 4deba2df42 update save file name and collection name parenthesied number for same name instead of using ids to make them unique 2021-11-11 12:54:28 +05:30
Abhinav 88f643192c fix getExifData breaking for some files 2021-11-10 14:53:23 +05:30
Abhinav 76842b92a6 Merge branch 'master' into fix-creation-time 2021-11-10 12:50:34 +05:30
Abhinav 15f12a6f8e fix filename spliting 2021-11-09 22:33:09 +05:30
Abhinav d8bb91a7e1 Merge branch 'master' into update-file-title 2021-11-08 12:28:24 +05:30
Abhinav 91825db617 Merge branch 'master' into update-file-title 2021-11-05 13:26:12 +05:30
Vishnu Mohandas df60b0c6c0
Merge pull request #213 from ente-io/empty-trash-changes
Empty trash changes
2021-11-04 19:57:11 +05:30
Abhinav 8d79b443fe add setLocalFile and remove appendPhotoSwipeProps funcitons 2021-11-04 18:46:04 +05:30
Abhinav df23ea80d7 upadated strings 2021-11-03 17:03:12 +05:30
Abhinav 51923850cb update string constant name for fix large thumbnail 2021-11-03 16:05:01 +05:30
Abhinav e052da48ff adds Fix creationTime UI 2021-11-03 16:04:11 +05:30
Abhinav f43e2cf6d6 added file name charcter limit 2021-11-02 13:21:00 +05:30
Abhinav 0263e5cb38 ad change file title logic 2021-11-02 13:05:41 +05:30
Abhinav 20388566fe fix typo 2021-11-02 12:25:12 +05:30
Abhinav 99d8d4266e minor fixes 2021-11-02 11:56:25 +05:30
Abhinav 916e84c58e reafactor code 2021-11-02 11:52:13 +05:30
Abhinav 7300a85e5e rename updateMagicMetadata property updater to updateMagicMetadataProps 2021-11-02 11:24:26 +05:30
Abhinav 4b3e9f9e08 Merge branch 'master' into update-creation-time 2021-11-01 22:37:55 +05:30
Abhinav d9fae0bf5d Merge branch 'master' into update-creation-time 2021-10-31 19:25:21 +05:30
Abhinav df0bfd0c2b fix update magic metadata 2021-10-30 20:39:52 +05:30
Abhinav ebccb6a981 merge metadatas before sorting 2021-10-30 20:35:45 +05:30
Abhinav dc794090a6 update pubMagicMetadat prop name from creationTime to editedTime 2021-10-30 19:02:17 +05:30
Abhinav f4097effd2 adds new NOOP state for for when no files present to be compressed and use Completed when fix completes 2021-10-30 18:02:13 +05:30
Abhinav 1569e189ed update migrate thumbnail copies 2021-10-30 09:15:39 +05:30
Abhinav 4f01979b14 merge metadata for easy use in UI 2021-10-29 18:10:22 +05:30
Abhinav 8fb7146236 use public metadata creation time for sorting 2021-10-29 17:39:57 +05:30
Abhinav 69c9f423fe adds publicMetadata data update and parsing logic 2021-10-29 17:22:08 +05:30
Abhinav 8afcd3a766 refactor changeFilesVisibility to have a seperate updateMagicMetadata function and move encryption logic to upateMagicMetadata API 2021-10-29 17:15:06 +05:30
Abhinav-grd 2689e81da0
Merge pull request #195 from ente-io/better-error-logs
improved error logs for failures during thumbnail generation
2021-10-29 09:56:10 +05:30
Abhinav 7ccc0b59f7 Merge branch 'master' into trash 2021-10-28 14:36:20 +05:30
Abhinav d5902aae84 Merge branch 'master' into remove-file-from-collection 2021-10-28 14:09:42 +05:30
Abhinav 86f1891d77 Merge branch 'master' into remove-file-from-collection 2021-10-28 14:08:01 +05:30
Abhinav 58b45715b1 improve sentry local error logging for development 2021-10-27 11:43:59 +05:30
Abhinav 384fd9799a improved error logs for failure during thumbnail generation 2021-10-27 11:33:02 +05:30
Abhinav 2927977192 update copy 2021-10-26 18:30:59 +05:30
Abhinav bc0be40a92 update copies 2021-10-26 18:28:51 +05:30
Abhinav-grd 197d5b49b4
Merge branch 'master' into migrate-large-thumbnails 2021-10-26 18:16:57 +05:30
Abhinav 393fb66141 Merge branch 'remove-file-from-collection' into trash 2021-10-26 16:53:14 +05:30
Abhinav 9b11888040 adds empty trash button 2021-10-26 13:05:12 +05:30
Abhinav 475ae05352 fixed duplicate file entries in selectedFiles 2021-10-26 12:02:31 +05:30
Abhinav 2e5425a8e6 upadtes remove from collection messgae 2021-10-26 11:41:36 +05:30
abhinav-grd 4dbbc0fe51 updated strings 2021-10-18 18:12:44 +05:30
abhinav-grd c3a5d73195 update replace thumbnails strings 2021-10-18 18:05:57 +05:30
abhinav-grd 295b1d6ac2 new string added 2021-10-18 15:59:46 +05:30
abhinav-grd 2f03c678f8 adds completed but has more state to fix large thumbnail 2021-10-18 15:33:21 +05:30
abhinav-grd fe70c1db59 export strings to constants 2021-10-18 13:32:32 +05:30
abhinav-grd 2789a14eeb adds local state for fixLargeThumbnails 2021-10-18 11:49:57 +05:30
abhinav-grd 6681b601a3 completes fix thumbnail modal UI 2021-10-18 11:07:59 +05:30
abhinav-grd 6b25555044 added fix thumbnail modal 2021-10-11 10:30:36 +05:30
abhinav-grd dbbe5a1d9c always send root cause message 2021-10-09 16:23:22 +05:30
abhinav-grd 6262b6e781 send rootCause message to sentry 2021-10-09 15:38:30 +05:30
abhinav-grd 3f1c680df3 print the root error in dev environment 2021-10-08 19:58:03 +05:30