Commit graph

5078 commits

Author SHA1 Message Date
Abhinav d2eae67f33 don't break on file hash generation fail 2022-12-13 11:51:58 +05:30
Abhinav 22adfb9539 add chunk count check during file hashing to prevent possible infinite loop 2022-12-13 09:40:33 +05:30
Abhinav b2b4202c13 fix issues 2022-12-13 07:59:35 +05:30
Abhinav 6aed8d3002 remove metadata preprocessing 2022-12-12 20:53:54 +05:30
Abhinav 964ee4b880 rearrange stuff 2022-12-12 17:52:44 +05:30
Abhinav 78e3ea5885 reorder condition 2022-12-12 17:50:53 +05:30
Abhinav 71875e7a7d throw error if token is missing 2022-12-12 17:41:51 +05:30
Abhinav 4a03ae80b6 dont need to export defaultPublicCollectionGalleryContext 2022-12-12 17:38:27 +05:30
Abhinav 75f31b8896 no need for token in gallery context 2022-12-12 17:35:44 +05:30
Abhinav bd7793efb4 refactor EnteLinkLogo component 2022-12-12 17:31:29 +05:30
Abhinav fb04da55f3 don't need zIndex 2022-12-12 17:15:57 +05:30
Abhinav fa18568074 pass publicCollectionGalleryContext directly as publicCollectProps 2022-12-12 17:15:27 +05:30
Abhinav 3fe80aa368 update logic of blocking directlyShowFiles on mobile 2022-12-12 17:07:54 +05:30
Abhinav 7694e20d59 Merge branch 'add-option-to-enable-collect' into public-collect 2022-12-12 16:03:25 +05:30
Abhinav b397d672e0 Merge branch 'main' into add-option-to-enable-collect 2022-12-12 16:02:46 +05:30
Abhinav 0ff61a6247 comment out public collect option until redesign 2022-12-12 15:50:49 +05:30
Abhinav 8a546bd63b update icon 2022-12-09 19:06:13 +05:30
Abhinav 081d264068 fix directly open file selector for mobile 2022-12-09 15:25:58 +05:30
Abhinav 474a7c2fe9 fix footerHeight 2022-12-09 13:54:48 +05:30
Abhinav 939f569c3f update isDevDeployment check 2022-12-09 13:36:56 +05:30
Abhinav ee481dfb0c fix api util 2022-12-09 13:04:33 +05:30
Abhinav 7f9bcbd204 fix build 2022-12-09 12:49:31 +05:30
Abhinav e7e47655b7 Merge branch 'main' into public-collect 2022-12-09 12:48:24 +05:30
Abhinav d3458091b8 fix env variable name 2022-12-09 12:41:26 +05:30
Abhinav 55a7be0642 use env override for endpoint if is dev deployment 2022-12-09 12:40:13 +05:30
Abhinav 7edcc15c41 add @types/bs58 and changed require to import
added albums url api util
2022-12-09 12:32:40 +05:30
Abhinav eb90cd69fa fix video skipping issues 2022-12-08 19:30:57 +05:30
Abhinav dfbd6a5086 add skipped videos section 2022-12-08 19:01:08 +05:30
Abhinav bf97d14eec reject videos during public upload 2022-12-08 18:51:06 +05:30
Abhinav e34f66da52 add isMobileOrTable check 2022-12-08 18:35:32 +05:30
Abhinav 78cb1c09a0 add disableShrink option 2022-12-08 18:18:40 +05:30
Abhinav 229317ea6a fix getPublicCollectionUploaderNameKey 2022-12-08 16:48:28 +05:30
Abhinav 6d79b85bc8 cache uploader name in local storage 2022-12-08 16:44:09 +05:30
Abhinav e39c80159e take input of userName before public upload 2022-12-08 16:18:47 +05:30
Abhinav d4c966cef6 add public upload uploader username input dialog 2022-12-07 20:52:39 +05:30
Abhinav 04b666895b add blockButtons option 2022-12-07 20:36:12 +05:30
Abhinav 5685fc3401 remove unnecessary export 2022-12-07 20:24:57 +05:30
Abhinav 6658784f40 remove unneeded interface 2022-12-07 20:24:39 +05:30
Abhinav a9ee7bddb7 show select photos title instead of upload files 2022-12-07 16:31:37 +05:30
Abhinav 1d93409038 fix footer padding and sizing 2022-12-07 16:24:03 +05:30
Abhinav e16955118d change footer text 2022-12-07 15:48:44 +05:30
Abhinav e74abfa556 update navbar logo 2022-12-07 15:48:31 +05:30
Manav 3c0e212478 Fix typo 2022-12-06 21:02:56 +05:30
Abhinav b2af1db2ac fix build 2022-12-05 00:48:41 +05:30
Abhinav 03281ff601 build fix 2022-12-05 00:34:02 +05:30
Abhinav 25359c8481 Merge branch 'add-encrypted-collection-type' into add-comlink-types 2022-12-04 23:50:59 +05:30
Abhinav 5928a93748 fix magicMetadata type 2022-12-04 23:49:49 +05:30
Abhinav c6c406bc09 Merge branch 'add-encrypted-collection-type' into add-comlink-types 2022-12-04 23:45:50 +05:30
Abhinav d9cedda4b4 add encryptedCollection type 2022-12-04 23:41:52 +05:30
Abhinav 04f713a34d fix build 2022-12-04 23:20:03 +05:30
Abhinav 46021dcb8e Merge branch 'add-remote-ente-file-type' into add-comlink-types 2022-12-04 23:17:55 +05:30
Abhinav 71bbd19438 updated services to use the new types 2022-12-04 23:13:10 +05:30
Abhinav f5f7bb948f add EncryptedEnteFile and EncryptedTrashItem type 2022-12-04 23:09:49 +05:30
Abhinav e216a29583 split FileAttribute type into 3 separate sub types 2022-12-04 22:56:57 +05:30
Abhinav 8e3d628167 reduce to 150KB 2022-12-04 21:14:36 +05:30
Abhinav 8040b1c5ae don't report thumbnail upto size of 200KB 2022-12-04 21:10:09 +05:30
Abhinav 80110aa8ae update comlinkWorker to directly receive worker 2022-12-04 20:11:06 +05:30
Abhinav 3af5c58698 Revert "update comlink worker constructor to receive URL instead of url string"
This reverts commit ff8edad5ea.
2022-12-04 20:01:36 +05:30
Abhinav b795668cd0 fix build 2022-12-04 19:56:27 +05:30
Abhinav fb32c6de5b Merge branch 'main' into add-comlink-types 2022-12-04 19:47:30 +05:30
Abhinav ff8edad5ea update comlink worker constructor to receive URL instead of url string 2022-12-04 19:45:16 +05:30
Abhinav 1a37620155 Logout the user in case of malformed keys 2022-12-01 08:57:21 +05:30
Abhinav 4ed9473e8e add support for public upload 2022-11-30 00:53:32 +05:30
Abhinav 43f5b05179 add file upload helper states and components 2022-11-29 23:59:39 +05:30
Abhinav 35e8cc4366 update Uploader component to support public link upload 2022-11-29 23:59:02 +05:30
Abhinav a22e486d4e fix add more photo not removed on public collect disable 2022-11-29 23:41:21 +05:30
Abhinav 7fb86bfda5 show add photos option for collect enabled albums 2022-11-29 23:33:01 +05:30
Abhinav c60fa7efef update copies 2022-11-29 22:48:55 +05:30
Abhinav 660fb4f9a4 add option to enable public collect 2022-11-29 22:44:07 +05:30
Abhinav 8d859d519c update default for downloadAccess to true 2022-11-29 22:40:27 +05:30
Abhinav 1650666186 refactor public-link manage 2022-11-29 22:31:06 +05:30
Abhinav 107749c7e7 fix close shortcut missing 2022-11-29 21:41:43 +05:30
Abhinav a25d82215f remove console logs 2022-11-29 21:00:27 +05:30
Abhinav 51b90b1b2b dont need typed blobs 2022-11-29 20:04:01 +05:30
Abhinav 9e4c2efb99 pass original file urls to photoviewer 2022-11-29 19:58:23 +05:30
Abhinav eed19808cc move isSourceLoaded check to checkExifAvailable 2022-11-29 18:45:04 +05:30
Abhinav 1b5a628552 update exif 2022-11-29 18:16:24 +05:30
Abhinav 322d6f6dad only show location key if location present 2022-11-29 18:11:59 +05:30
Abhinav 462d9685f3 fix shared album 2022-11-29 17:51:07 +05:30
Abhinav 70ec1bef5c show collections for dedupe files 2022-11-29 17:38:45 +05:30
Abhinav e7be5e679c don't show collections for trash files 2022-11-29 17:38:37 +05:30
Abhinav 572e680090 reset parsedExif on exif reset 2022-11-29 17:37:01 +05:30
Abhinav 8029548c8b set isSourceLoaded to only run exif on actualFile 2022-11-29 17:25:29 +05:30
Abhinav 70f7d69aa2 Merge branch 'main' into fix-view-exif-flicker-issue 2022-11-29 14:50:44 +05:30
Abhinav 9bd6c40b7a remove undefined check 2022-11-29 14:34:51 +05:30
Abhinav 70d02fa20c update fav utils 2022-11-29 14:33:20 +05:30
Abhinav 2c86c8ca5e change initial state value to undefined 2022-11-29 14:22:17 +05:30
Abhinav 702885fe1f reenable copy shortcut for browser having Clipboard Item API 2022-11-29 14:17:33 +05:30
Abhinav 06fd41eb0b prevent exif re-render if item doesn't chnage 2022-11-29 14:12:54 +05:30
Abhinav a2fa21383c prevent multiple exif request 2022-11-29 12:55:20 +05:30
Abhinav 37a37a1e6d fixed traversing over undefined 2022-11-28 20:05:24 +05:30
Abhinav bdbd07db1b remove constants fom time format 2022-11-28 14:38:23 +05:30
Abhinav Kumar ae8a88fc14
Merge pull request #755 from ente-io/mouse_trap
Attempt to enable shortcuts on photoView
2022-11-25 20:20:59 +05:30
Abhinav 2feb7ed866 Merge branch 'main' into mouse_trap 2022-11-25 19:58:09 +05:30
Abhinav 60d3ba8197 Merge branch 'main' into upload-testing 2022-11-25 19:55:01 +05:30
Abhinav 23651afc51 Merge branch 'main' into mouse_trap 2022-11-25 18:38:08 +05:30
Abhinav 3c0561aaa7 remove local Log 2022-11-25 18:36:05 +05:30
Abhinav 3916752912 add util to check if clipboard api present and then show copy option 2022-11-25 18:34:56 +05:30
Abhinav e386f19025 change exposure to fraction 2022-11-25 18:11:42 +05:30
Abhinav df4a0954dc fix exif copy 2022-11-25 17:59:21 +05:30
Abhinav c9cc9f7e3c add filename edit dialog 2022-11-25 17:57:58 +05:30
Abhinav f7afa2b42f add option to allow caption to input field 2022-11-25 17:47:45 +05:30
Abhinav fbb2cc2019 update caption field 2022-11-25 16:04:45 +05:30
Abhinav c055f2d12a don't show zero MP 2022-11-25 15:32:32 +05:30
Abhinav 48cd1b375a Merge branch 'main' into file-info-redesign 2022-11-25 15:22:19 +05:30
Abhinav Kumar ba06bf173c
Merge pull request #784 from ente-io/update-time-formating
Time formatting
2022-11-25 15:21:17 +05:30
Abhinav Kumar 532b8576a8
Merge pull request #785 from ente-io/fix-use-effects
fix use effects
2022-11-25 15:21:07 +05:30
Abhinav 6497671a32 trim whitespace between words 2022-11-25 14:33:44 +05:30
Abhinav 4a2661ee74 Merge branch 'fix-use-effects' into update-time-formating 2022-11-25 13:46:05 +05:30
Abhinav e7645dc090 update date time short format 2022-11-25 13:42:55 +05:30
Abhinav 6651a9c022 update format util 2022-11-25 13:22:20 +05:30
Abhinav bf3735b5fa updated photoList formatter 2022-11-25 13:21:48 +05:30
Abhinav 5ddfe48f2c Merge branch 'fix-use-effects' into file-info-redesign 2022-11-25 13:15:01 +05:30
Abhinav ad6c2d7fdb fix use effects 2022-11-25 13:10:41 +05:30
Abhinav a622ac2885 fix exif never loads for second file 2022-11-25 12:55:32 +05:30
Abhinav 63d7b3c21f revert testing code 2022-11-25 12:53:18 +05:30
Abhinav 2a1e693cb2 fix import 2022-11-25 12:48:47 +05:30
Abhinav c7c9eee0d1 fix minor issues 2022-11-25 12:40:47 +05:30
Abhinav 00063fbff3 Merge branch 'update-time-formating' into file-info-redesign 2022-11-25 12:38:45 +05:30
Abhinav aa41664534 update time formatting 2022-11-25 12:37:56 +05:30
Abhinav 8db94cfbbb update exif data component 2022-11-24 19:52:05 +05:30
Abhinav e1f65575fa update titlebar 2022-11-24 19:51:45 +05:30
Abhinav 7ea4a26e45 redesign fileinfo completed 2022-11-24 18:29:57 +05:30
Abhinav Kumar e88a2de45a
Merge pull request #782 from ente-io/fix-uncaught-expectio-destroy-not-a-function-react
fix uncaught useEffect expection
2022-11-24 14:35:37 +05:30
Abhinav ca4eb19825 Merge branch 'fix-uncaught-expectio-destroy-not-a-function-react' into file-info-redesign 2022-11-24 13:56:34 +05:30
Abhinav 0ddd47376d remove return from useEffects if the returned value is not a function i.e cleanup function 2022-11-24 13:49:44 +05:30
Abhinav 180df1dbdc temp 2022-11-24 13:31:38 +05:30
Abhinav 47aa7b06ef update creation time formatting 2022-11-24 13:03:23 +05:30
Abhinav 22b508cbb1 udpate fileInfo 2022-11-23 21:06:20 +05:30
Abhinav f35a2e27a8 update InfoItem 2022-11-23 21:05:50 +05:30
Abhinav b6283dfd0c update CopyButton to move CopyButtonWrapper to CodeBlock 2022-11-23 21:05:22 +05:30
Abhinav bad4442aa0 allow copy button customization 2022-11-23 21:04:50 +05:30
Abhinav a0ba449f55 update renderCreationTIme 2022-11-23 19:34:08 +05:30
Abhinav e73b3119af update titlebar 2022-11-23 19:33:39 +05:30
Abhinav a83db3aa3e show save or discard button during edit 2022-11-23 19:01:52 +05:30
Abhinav 05202f3422 update string 2022-11-23 19:01:17 +05:30
Abhinav 69bc45acb1 update info title 2022-11-23 18:33:45 +05:30
Abhinav 6bba526bb0 add titlebar component 2022-11-23 18:33:20 +05:30
Abhinav f18655e41b Merge branch 'fix-dev-server-crash' into file-info-redesign 2022-11-23 17:24:54 +05:30
Abhinav 34a9649e99 add close action 2022-11-23 17:21:38 +05:30
Abhinav 57a76b05f9 refactor code to allow close info with "I" click 2022-11-23 17:06:53 +05:30
Abhinav 6f2b1f4249 remove copy option 2022-11-23 17:00:24 +05:30
Abhinav 00b5b74489 fix build 2022-11-23 16:35:55 +05:30
Abhinav ce663632e3 fix build 2022-11-22 21:04:27 +05:30
Abhinav 48008ea040 add copy event handler 2022-11-22 20:55:31 +05:30
Abhinav 35f3a14787 add type 2022-11-22 20:19:57 +05:30
Abhinav 8d1dedd9f6 update option text and ordering 2022-11-22 20:09:35 +05:30
Abhinav b49b894db9 update copy util 2022-11-22 20:09:11 +05:30
Abhinav 7c2b64bb18 add copy to clipboard util 2022-11-22 19:41:04 +05:30
Abhinav d9b623ab19 add favorite keyboard shortcut 2022-11-22 18:21:00 +05:30
Abhinav f5255724a3 add caps i also to info shortcut 2022-11-22 18:19:47 +05:30
Abhinav 627c619f77 add toggle full screen keyboard shortcut 2022-11-22 18:16:50 +05:30
Abhinav eda1b95df7 dont trigger keyboard shortcut while info opened 2022-11-22 18:15:26 +05:30
Abhinav 1bf61a4fd1 update string 2022-11-22 16:55:44 +05:30
Abhinav 9c0ae63717 update delete key binding 2022-11-22 16:55:01 +05:30
Abhinav b97c08c7a5 Merge branch 'main' into mouse_trap 2022-11-22 14:14:47 +05:30
Abhinav 97cc20303a update logline 2022-11-22 13:48:01 +05:30
Abhinav 326ba7bce9 improve logs 2022-11-22 12:55:59 +05:30
Abhinav 33e77fa60f add log line to uploader component 2022-11-22 12:55:23 +05:30
Abhinav 68d71ee519 fix app version padding 2022-11-21 18:15:33 +05:30
Abhinav b35d4e8ce0 fix loading not going away when user doesn't have any duplicates 2022-11-21 17:52:29 +05:30
Abhinav 4ccb3d2bc4 remove usage of unstyled anchor tag 2022-11-21 17:38:45 +05:30
Abhinav b6c3b6fc9c remove getVariantColor util and ButtonVariant enum 2022-11-21 17:25:43 +05:30
Abhinav fef01e90ae fix buttonProps import 2022-11-21 17:22:49 +05:30
Abhinav 2a92cb7917 fix recover two factor page button color 2022-11-21 17:22:18 +05:30
Abhinav 316a2625dd use mui tooltip instead of IconWithMessage 2022-11-21 17:15:37 +05:30
Abhinav f4da86de28 remove depreciated react bootstrap components 2022-11-21 17:15:07 +05:30
Abhinav 5dcd1bc854 fix recovery page button colors 2022-11-21 17:08:39 +05:30
Abhinav 31a343bdca fix uniqueFileID filtering 2022-11-21 15:33:20 +05:30
Abhinav 6b6530697c rearrange test order 2022-11-21 15:21:59 +05:30
Abhinav cdc1affb55 add internal ente user check for showing option to run test 2022-11-21 14:33:18 +05:30
Abhinav Kumar a82966b342
Merge pull request #776 from ente-io/export_caption
Export caption in the sidecar file
2022-11-21 14:06:32 +05:30
Abhinav 45a8ba502e Merge branch 'main' into upload-testing 2022-11-21 14:03:47 +05:30
Abhinav 692483510f ignore data time string "0000:00:00 00:00:00" 2022-11-21 13:58:52 +05:30
Neeraj Gupta 130b3ef4f5
skip exporting caption when undefined 2022-11-21 13:05:18 +05:30
Abhinav 2919e39078 remove workbox dependencies and code 2022-11-19 15:44:09 +05:30
Neeraj Gupta 14b8fe8288
Export caption in the sidecar file 2022-11-19 12:17:49 +05:30
Abhinav a0070e6281 start changing info to sidebar 2022-11-18 19:13:20 +05:30
Abhinav a19263737b change console log to localLog and hide info on repress of i 2022-11-18 17:50:12 +05:30
Abhinav a9c9e73d8c Merge branch 'main' into mouse_trap 2022-11-18 17:38:29 +05:30
Abhinav b283094739 Merge branch 'main' into upload-testing 2022-11-18 16:41:08 +05:30
Abhinav 6320f0295d remove console log 2022-11-16 14:53:30 +05:30
Abhinav 87f4a85e99 better error logging 2022-11-16 14:02:34 +05:30
Abhinav b473a1871c allow both ElectronFile and File to run electron 2022-11-14 20:39:22 +05:30
Abhinav 828289ceac remove loggin 2022-11-14 19:39:23 +05:30
Abhinav eeaf42c5eb remove logging 2022-11-14 19:36:34 +05:30
Abhinav f424a23ad4 add error logging 2022-11-14 19:35:40 +05:30
Abhinav 6c384edba8 fix rest of the stuff 2022-11-14 19:09:50 +05:30
Abhinav dc3c0aaa6d fix import 2022-11-14 19:03:45 +05:30
Abhinav 19bc1b3c9b Merge branch 'main' into ffmpeg-static-integration 2022-11-14 18:49:38 +05:30
Abhinav 1f55e9b0fd update thumbnail service to use electronFFmpeg 2022-11-14 18:43:02 +05:30
Abhinav 05fc14ea0e add FFMPEG placeholder to generateThumbnail cmd 2022-11-14 18:42:37 +05:30
Abhinav 0dd1680a8d change console to log line 2022-11-14 16:54:11 +05:30
Abhinav ff9bcde321 fix import 2022-11-14 16:52:20 +05:30
Abhinav 3b25426d74 add type 2022-11-14 16:52:12 +05:30
Abhinav e900cc5e2c update to work with new ffmpegService 2022-11-14 16:51:53 +05:30
Abhinav 88f4db2b7b update generateThumbnail 2022-11-14 16:46:28 +05:30
Abhinav e0d0c51972 fix getFFmpegClient 2022-11-14 16:46:12 +05:30
Abhinav 5a7a0cb74a fix imports 2022-11-14 14:48:59 +05:30
Abhinav 3b0bc76e55 update ffmpeg with interface 2022-11-14 14:48:12 +05:30