Commit graph

1081 commits

Author SHA1 Message Date
Abhinav Kumar d028ff8361
Fixed date time parsing (#1362) 2023-09-19 12:11:14 +05:30
Abhinav ff099d0c1a add unit test for parseDateTimeFromFileName 2023-09-19 11:42:30 +05:30
Abhinav 8d91b798c7 fix hasTimeValues 2023-09-19 11:35:16 +05:30
Abhinav 8a3f58a080 add log for debugging download progress 2023-09-19 10:20:16 +05:30
Abhinav 1817dc5b3d update collect photo link create option icon 2023-09-18 17:01:39 +05:30
Abhinav 29f8f4d328 fix preview removed on conversion failure 2023-09-18 14:09:38 +05:30
Abhinav 243c9a4d49 update to handle isSourceLoaded and conversion failed related state update locally 2023-09-18 13:45:18 +05:30
Abhinav ea38a648eb remove isSourceLoaded and conversionFailed helper stats 2023-09-18 13:35:20 +05:30
Abhinav 3c2b0afe63 rename getUnixTimeInMicroSeconds to validateAndGetCreationUnixTimeInMicroSeconds
and added extra check to prevent date time in future
2023-09-18 12:09:54 +05:30
Abhinav 9fe15d5591 refactor code and fix parsing error 2023-09-18 11:58:17 +05:30
Abhinav 776a17445b don't tab focus on ShowHidePassword password 2023-09-18 10:01:23 +05:30
Crowdin Bot 7b82677b0e New Crowdin translations by GitHub Action 2023-09-18 00:58:32 +00:00
Abhinav 33273bc796 fix default subtext color 2023-09-14 14:38:53 +05:30
Abhinav 7b8107321f fix issues 2023-09-14 14:33:16 +05:30
Abhinav c64a02fa6b fix error icon 2023-09-14 14:29:07 +05:30
Abhinav 73641c61b0 fix isLinkExpired 2023-09-14 14:24:55 +05:30
Abhinav c355464ec5 handle linkExpired 2023-09-14 14:20:45 +05:30
Abhinav a9d8ae9a70 update error usage to critical 2023-09-14 14:17:15 +05:30
Abhinav 4c4c910e2e disable button color that aren't used 2023-09-14 14:16:35 +05:30
Abhinav 38211c2343 added support for disabled enteMenuItem 2023-09-14 14:09:52 +05:30
Abhinav 4492154ba5 update CaptionedText to support button type color 2023-09-14 14:06:51 +05:30
Abhinav a8fba0cac1 fix convert button and livePhoto btn having transparent color 2023-09-14 13:18:58 +05:30
Abhinav b1ca61866c Merge branch 'main' into download-progress 2023-09-14 12:35:39 +05:30
Abhinav 9c82e48a47 move progress to top right 2023-09-14 12:24:16 +05:30
Abhinav b42ff6315b update livePhoto icon in photoViewer 2023-09-14 12:08:50 +05:30
Crowdin Bot 196363661e New Crowdin translations by GitHub Action 2023-09-14 05:22:21 +00:00
Abhinav b7ef45b41e remove loading bar for download 2023-09-13 01:51:24 +05:30
Abhinav 193b6f42a1 fix convert causing black screen 2023-09-13 01:47:24 +05:30
Abhinav b9a8cf95fd remove console log 2023-09-12 14:41:06 +05:30
Abhinav 8860104f77 remove progress bar shown by thumbnail 2023-09-12 14:39:42 +05:30
Abhinav 23a47cefd6 move absolute centering logic to photoFrame and added logic to spinner for post and pre download step 2023-09-12 13:51:20 +05:30
Abhinav 707d4dfd69 adds download progress tracker 2023-09-12 13:45:51 +05:30
Abhinav a7631d2715 add download determinant circular progress bar component with label 2023-09-12 13:40:08 +05:30
Abhinav a5a57bd179 reposition convert button 2023-09-12 12:48:48 +05:30
Abhinav 6791216451 remove debugging logs 2023-09-12 12:46:38 +05:30
Abhinav 0aa9684a7d show convert and play also for live-photo 2023-09-12 12:42:11 +05:30
Abhinav fe08c2be57 adds CONVERT string 2023-09-12 12:30:03 +05:30
Abhinav d81fe68cad fix live-photo and convert btn style 2023-09-12 12:28:46 +05:30
Abhinav 66f918619b fix build 2023-09-12 12:19:13 +05:30
Abhinav ff890c7e82 show conversion notification for all file type 2023-09-12 12:14:41 +05:30
Abhinav fef1309318 fix reopen conversion failed message not shown 2023-09-12 12:13:52 +05:30
Abhinav 8664b8c8f3 fix file name not changing on item update file 2023-09-12 11:49:06 +05:30
Abhinav 0ae168970c fix issues 2023-09-12 11:48:20 +05:30
Abhinav 351dd777b3 Merge branch 'main' into manual-convert 2023-09-12 11:37:32 +05:30
Abhinav 43eb985aee better console log 2023-09-12 11:34:17 +05:30
Abhinav a6ff94fa15 refactor code 2023-09-12 11:30:34 +05:30
Abhinav 95179720c2 fix isSourceLoaded set as true before conversion complete 2023-09-12 10:56:01 +05:30
Crowdin Bot 750be8c961 New Crowdin translations by GitHub Action 2023-09-11 18:38:52 +00:00
Abhinav 5ce4f1be21 Merge branch 'main' into opt-out-of-logging 2023-09-11 17:45:06 +05:30
Abhinav b9c42461bb temp 2023-09-11 13:51:26 +05:30
Abhinav bba5e889a0 revert isPlaybackPossible detection logic update 2023-09-11 11:56:09 +05:30
Abhinav 3ad32b8852 remove unnecessary forceConvert 2023-09-11 11:47:12 +05:30
Abhinav b74cb9ac8c update getConvertedVideo to only use cached files urls and doesn't need to trigger download,as file must be downloaded before showing the convert and play button 2023-09-11 11:40:17 +05:30
Abhinav 4fcd040a47 add thumbStore and filesStore to publicCollectionGallery 2023-09-11 11:34:44 +05:30
Crowdin Bot d8b44049fe New Crowdin translations by GitHub Action 2023-09-11 00:57:58 +00:00
Crowdin Bot 4341fac528 New Crowdin translations by GitHub Action 2023-09-09 16:45:45 +00:00
Abhinav 3eae94eedd remove console log 2023-09-09 15:14:07 +05:30
Abhinav b29e3b4b4e fix strings 2023-09-09 15:09:18 +05:30
Abhinav ea1b0ff49e remove debugging logs 2023-09-09 14:58:38 +05:30
Abhinav 77852c5e80 add file type search 2023-09-09 14:57:56 +05:30
Abhinav 5bf1a39b0c refactor 2023-09-09 14:33:46 +05:30
Abhinav 6be743b6bf fix incorrect shrink ratio 2023-09-07 09:50:15 +05:30
Abhinav 63ea3d8341 refactor 2023-09-07 09:50:02 +05:30
Abhinav aba83f0af6 clear in-memory store on logout 2023-09-07 09:40:00 +05:30
Abhinav b90af7c0ac save synced srpAttributes 2023-09-06 17:50:22 +05:30
Abhinav 0170295ffa remove unnecessary USER_SRP_SETUP_PENDING state 2023-09-06 17:39:17 +05:30
Abhinav 7226d68cf5 fix srp attributes used instead even when keyAttributes present locally 2023-09-06 17:26:24 +05:30
Abhinav c4cb601719 adds error handling 2023-09-06 14:00:32 +05:30
Abhinav 23bc6adab8 update In memory store value on update 2023-09-06 13:57:24 +05:30
Abhinav d3402593a2 update updateOptOutOfCrashReports api type 2023-09-06 13:10:20 +05:30
Abhinav 5bffcc2b01 disable error logging when user opted out of crash reporting 2023-09-06 13:03:15 +05:30
Abhinav db8f769874 adds InMemoryStore 2023-09-06 13:02:18 +05:30
Abhinav a690c8ca55 don't init sentry if user has opted out of crash reporting 2023-09-06 12:31:02 +05:30
Abhinav c07067796e adds Sidebar Preferences setting to opt out of crash reporting 2023-09-06 12:27:23 +05:30
Abhinav Kumar cd51d642d2
UI issues fixes (#1343) 2023-09-06 07:26:15 +05:30
Abhinav 6b331f8435 fix missing react key issue 2023-09-05 18:57:21 +05:30
Abhinav 22da63f79c if the shared file doesn't have any caption hide the description box 2023-09-05 18:23:04 +05:30
Abhinav 5b498829d8 fix hidden collections names rendered as undefined 2023-09-05 18:13:49 +05:30
Abhinav 19dfb3f26c refactor collection-name construction logic 2023-09-05 18:09:43 +05:30
Abhinav 21667274ea fix Screen shaking issue 2023-09-05 16:20:29 +05:30
Abhinav 98c7059ca4 trigger resync on public link update 2023-09-05 15:11:08 +05:30
Abhinav 8ea29dbe99 fixed incorrectly enabled add description for shared album 2023-09-05 11:28:41 +05:30
Abhinav 80b022ec90 fix desktop saved key use 2023-09-05 11:28:41 +05:30
Abhinav 28ee036801 fixes archived files not shown in hidden items section 2023-09-05 09:45:36 +05:30
Abhinav 240bc918bc fix hide not moving files from all collection 2023-09-05 09:38:06 +05:30
Crowdin Bot 71b6c25dd1 New Crowdin translations by GitHub Action 2023-09-05 00:56:44 +00:00
Abhinav 22b170399f Merge branch 'main' into download-album 2023-09-04 21:10:49 +05:30
Abhinav 09d97318c1 fixed file reader not initialized 2023-09-04 13:01:39 +05:30
Abhinav 4c535c73c5 fixed get videoExportName name 2023-09-04 12:47:00 +05:30
Abhinav Kumar 5a7f0de14a
Fix login v2 issues (#1335) 2023-09-04 12:36:13 +05:30
Abhinav 336f91868b Merge branch 'remove-dot-prefix' into download-album 2023-09-03 14:18:26 +05:30
Abhinav 0017d8b83c remove dot prefix from hidden collection export names 2023-09-03 11:18:06 +05:30
Abhinav da56e5aec0 fix progress bar starting before download folder selection 2023-09-03 09:30:19 +05:30
Abhinav 5028129621 remove session storage passpharse storage 2023-09-03 09:06:21 +05:30
Crowdin Bot cb88b93e65 New Crowdin translations by GitHub Action 2023-09-03 01:00:24 +00:00
Crowdin Bot 68127816a1 New Crowdin translations by GitHub Action 2023-09-02 10:37:18 +00:00
Neeraj Gupta 46bdcbffe5 Add support for no device limit on links 2023-09-02 15:06:20 +05:30
Crowdin Bot 744c2976fa New Crowdin translations by GitHub Action 2023-09-02 00:55:47 +00:00
Abhinav 732ccc816f fix two-factor enabled login 2023-09-01 20:46:24 +05:30
Abhinav 634eee1192 added new crypto utils 2023-09-01 20:29:11 +05:30
Abhinav d99bbfae70 basic implementation done 2023-09-01 12:23:19 +05:30
Abhinav Kumar 7a744db009
Login v2 (#1172) 2023-09-01 12:14:00 +05:30
Abhinav 09a8271740 updated isCollectionDownloadInProgress to isActiveCollectionDownloadInProgress 2023-09-01 10:33:09 +05:30
Abhinav bdc9d58287 allow user to select the download directory 2023-08-31 11:08:59 +05:30
Abhinav 2ef6c7b86f removed getDownloadDir api and renamed selectRootDirectory to just selectDirectory 2023-08-31 10:58:16 +05:30
Abhinav 94088fbe82 updated download dir 2023-08-31 09:43:11 +05:30
Abhinav 2c47a9a6d4 fixed getCachedOriginalFile 2023-08-31 09:31:10 +05:30
Abhinav adbdcfdb5f create separate downloadFilesDesktop util 2023-08-31 09:19:03 +05:30
Abhinav d45beb6e88 renamed functions 2023-08-31 09:16:10 +05:30
Abhinav 6ecf16e134 refactor common code into utils and common services 2023-08-31 09:15:43 +05:30
Abhinav f1923ada63 moved common electron fs functions to electron fs service 2023-08-31 09:14:51 +05:30
Abhinav 7629b1725f fixed getCachedOriginalFile 2023-08-31 09:13:16 +05:30
Abhinav 6659d4f05d Merge branch 'main' into download-album 2023-08-30 13:23:30 +05:30
Abhinav a1d6c43f08 fix nan issue 2023-08-30 12:08:25 +05:30
Abhinav 08af0010c7 fix scroll bar even when there is space for complete list 2023-08-30 12:05:53 +05:30
Abhinav db09976795 remove unnecessary prop 2023-08-30 11:53:20 +05:30
Abhinav 4a4d821b1d sort trash files by deleteBy properly 2023-08-30 11:50:05 +05:30
Abhinav bcfa346fd3 Fixes double scroll in the allCollectionList dialog 2023-08-30 11:42:42 +05:30
Abhinav 7061120325 enable back option to navigation with arrow when info sidebar is open 2023-08-30 10:01:18 +05:30
Abhinav a4865b9b53 add option to restore to uncategorized 2023-08-30 09:56:08 +05:30
Abhinav c8bdcd9926 fix empty all section summary computation 2023-08-30 09:49:28 +05:30
Abhinav b76233ddfb fix hidden items download 2023-08-29 17:08:35 +05:30
Abhinav d95db7119c Merge branch 'main' into download-album 2023-08-29 17:07:11 +05:30
Abhinav Kumar 7a920c5c36
Fix export rename issue (#1324) 2023-08-29 15:59:35 +05:30
Abhinav c857dcdf36 refactor code 2023-08-29 15:07:25 +05:30
Abhinav f9fb78543f fix downloadAndSave for live-photo issue 2023-08-29 14:51:42 +05:30
Abhinav 7ccdd080bb don't need to delete metadata json file, it will be overwritten automatically 2023-08-29 14:07:03 +05:30
Abhinav 06eef0758c check if file exists before attempting move 2023-08-29 14:03:17 +05:30
Abhinav a0eb196e05 rollback download failure properly 2023-08-29 13:46:33 +05:30
Abhinav f4b99c6258 Only retry once on getExportRecord failure 2023-08-29 12:34:28 +05:30
Abhinav 2ef46a8a6f moved export record update before doing disk operation and added rollback logic on disk ops failure 2023-08-29 12:32:33 +05:30
Abhinav d8bfeeb6c2 fixed migration issue and removed badly export album folder delete logic 2023-08-29 11:32:29 +05:30
Abhinav 7781734f2a try get export record json on parsing error 2023-08-29 11:03:51 +05:30
Abhinav Kumar 30129d413e
remove club by capture time option [dedupe screen] (#1326) 2023-08-29 10:56:01 +05:30
Crowdin Bot eeedf6e1c3 New Crowdin translations by GitHub Action 2023-08-29 03:54:05 +00:00
Abhinav Kumar 12b76e43d2
Hidden albums (#1322) 2023-08-29 09:23:18 +05:30
Abhinav 8a50c8dcd9 remove club by capture time option 2023-08-28 13:50:38 +05:30
Abhinav 1fe4d0443b add migration to remove collection export for collections missing metadata folder 2023-08-28 11:21:42 +05:30
Abhinav a7aef7404d fix only collectionExportPath was checked to see if it was deleted, need to confirm metadata folder exists too 2023-08-28 10:17:49 +05:30
Abhinav ba6eeb3dbc fix unhide album option icon 2023-08-28 08:35:25 +05:30
Crowdin Bot 10c352bd8c New Crowdin translations by GitHub Action 2023-08-28 02:57:02 +00:00
Abhinav 7bcd43a9e1 emit local_files_updated event for hidden files update too 2023-08-28 01:31:28 +05:30
Abhinav 3902007fc7 exitHiddenSection on unhide 2023-08-28 01:30:33 +05:30
Abhinav 07ad13f882 fix hidden collection repeated rename attempts 2023-08-28 01:30:14 +05:30
Abhinav 0088fa6640 export hidden collection with dot prefixed name 2023-08-28 01:06:51 +05:30
Abhinav b52835e858 fix file counts for archived and all section 2023-08-28 00:40:20 +05:30
Abhinav 7c5ec388b4 fix selected file options for hidden albums 2023-08-28 00:10:39 +05:30
Abhinav 3d4ec530b9 fix multiple uncategorized collection issue 2023-08-27 23:58:24 +05:30
Abhinav e994ec9b44 fix typo 2023-08-27 23:58:07 +05:30
Abhinav 6015093154 hide archive option from hidden albums 2023-08-27 23:35:56 +05:30
Abhinav fe755311d4 updated getLocalCollections and getLatestCollections and created new utils getAllLocalCollections and getAllLatestCollections 2023-08-27 23:30:52 +05:30
Abhinav 262bc70175 fix hide option shown for hidden albums 2023-08-27 20:03:07 +05:30
Abhinav 9d50dd5975 added support to render hidden albums 2023-08-27 19:54:56 +05:30
Abhinav 97945a91f6 adds hidden collection sync logic 2023-08-27 14:37:00 +05:30
Abhinav cb7ed8c7b1 refactor hidden files sync 2023-08-27 14:01:09 +05:30
Abhinav d710ecb59e adds hide album option 2023-08-27 13:01:30 +05:30
Abhinav d09d5ac0b6 Merge branch 'main' into download-album 2023-08-25 11:59:28 +05:30
Abhinav 0be74faecd throw error from downloadFile util 2023-08-25 11:57:50 +05:30
Abhinav ba78b74e70 fix collectionDownloadInProgress not resetting properly on download completion 2023-08-25 11:42:06 +05:30
Abhinav 1ca5f40021 remove download confirmation 2023-08-25 11:34:43 +05:30
Abhinav b17d32abbd refactor helper function 2023-08-25 11:31:47 +05:30
Abhinav 0ed978e522 remove unneeded sr-only loading text 2023-08-25 10:36:17 +05:30
Abhinav 09f3a5d844 Adds collectionDownloadProgress util
which is used to show in progress loader icon on download button and added checks to prevent starting new download when one already in progress
2023-08-25 10:01:37 +05:30
Abhinav 2e0268a746 update to handle multiple consecutive collection downloads 2023-08-25 09:44:29 +05:30
Crowdin Bot d89ad5c5a7 New Crowdin translations by GitHub Action 2023-08-21 16:31:54 +00:00
Abhinav f2bdb6459b only show link button component if has pending items 2023-08-21 20:15:33 +05:30
Abhinav 51b7eb5e07 fix isExport in progress check 2023-08-21 20:14:16 +05:30
Abhinav e33162c5d7 fix numbering 2023-08-21 20:11:33 +05:30
Abhinav 8eec2ae597 update string 2023-08-21 20:09:31 +05:30
Abhinav 24238f5e19 consider only pending export as pending item and create separate state for trashing and renaming collection and files 2023-08-21 20:02:48 +05:30
Abhinav cc77c1293b fix getPendingExports call 2023-08-21 19:40:31 +05:30
Abhinav 7309f89a58 disable user-select on collection tile and preview card 2023-08-21 19:30:07 +05:30
Abhinav 3b2b524ed9 fix pending item title 2023-08-21 19:26:33 +05:30
Abhinav 3dab353cf4 fix ellipsis-ing 2023-08-21 19:22:12 +05:30
Abhinav 551bdad89f fix dialog width issue 2023-08-21 19:02:37 +05:30
Abhinav 31f016797c fix flicker issue 2023-08-21 18:31:27 +05:30
Abhinav fa659db089 refactored pendingExports and collectionNameMap state 2023-08-21 17:59:46 +05:30
Abhinav 62bb0a0043 added ExportPendingList UI 2023-08-21 12:53:53 +05:30
Abhinav b13201034d show progress count as sum of success and failed 2023-08-20 14:31:51 +05:30
Abhinav c1a9362801 change notification color to critical if have failed items 2023-08-20 14:30:41 +05:30
Abhinav 7e10fa23b1 change notification default icon to infoOutlined 2023-08-20 14:29:45 +05:30
Abhinav 083a9dbd0d extract strings 2023-08-20 14:18:44 +05:30
Abhinav 3eb26c1a57 update on click handling and strings 2023-08-20 12:31:31 +05:30
Abhinav a74a900904 refactor collection download utils 2023-08-20 12:24:37 +05:30
Abhinav 66f43a0e3b adds openDirectory electron common service function 2023-08-20 11:46:54 +05:30
Abhinav 29b6665b56 move collectionDownloadProgressAttributes to collection component 2023-08-20 11:46:09 +05:30
Abhinav 237d1b29ee add option to keep notification open on click 2023-08-20 11:44:22 +05:30
Abhinav b60235a2e2 Adds CollectionDownloadProgress components 2023-08-19 13:16:58 +05:30
Abhinav 253b724f00 fixed close button background color and added title caption style notification support 2023-08-19 12:55:35 +05:30
Abhinav 95aa3e52dc add download collection logic 2023-08-19 11:29:57 +05:30
Crowdin Bot 6339ad8089 New Crowdin translations by GitHub Action 2023-08-17 00:55:40 +00:00
Neeraj Gupta 658b0255e7
Auth: restrict max-width to limit 2 columns (#1314) 2023-08-14 10:33:57 +05:30
Neeraj Gupta ec1ce2d65b undo redundant change 2023-08-14 10:26:40 +05:30
Neeraj Gupta f9e21e2f01 Auth: restrict max-width to limit 2 columns 2023-08-14 10:25:18 +05:30
Crowdin Bot 3c1d7ef2c6 New Crowdin translations by GitHub Action 2023-08-14 00:57:26 +00:00
Abhinav 0915f224d7 add isSelf album check 2023-08-11 01:46:58 +05:30
Neeraj Gupta 8f24b2839a Fix Type error 2023-08-10 15:57:02 +05:30
Neeraj Gupta 7f826942f1 Auth: Fix min height for otp display 2023-08-10 15:49:26 +05:30
Neeraj Gupta ac67760bbb Auth: Dynamically show more columns 2023-08-10 15:43:39 +05:30
Neeraj Gupta 93f23da22c Fix: ignore case while comparing mfaType 2023-08-10 14:54:26 +05:30