Commit graph

7674 commits

Author SHA1 Message Date
Neeraj Gupta af36efcbb7 Refactor: remove duplicate code 2023-08-26 15:55:52 +05:30
ashilkn 837b489c56 Move to hidden album: Add support for creating a new hidden album from CollectionActionSheet 2023-08-26 15:47:28 +05:30
ashilkn 18d835db3c Move to hidden album: Add support for moving between hidden albums 2023-08-26 15:46:49 +05:30
ashilkn f26c7841ef Move to hidden album: Navigate to album to which files were moved to 2023-08-26 13:26:07 +05:30
ashilkn e378b4a8eb Move to hidden album: Move files upon selecting an album from CollectinActionSheet 2023-08-26 13:18:33 +05:30
ashilkn ff14768d0a Show only hidden albums excluding defaultHiddenAlbums in CollectionActionSheet when moving a hidden file to a hidden collection 2023-08-26 12:59:00 +05:30
ashilkn a1d7bae702 Show option to move files to hidden album in hidden section on selection and show collectionActionSheet 2023-08-26 11:59:14 +05:30
ashilkn 9044f76936 Remove unused method parameter 2023-08-26 11:15:04 +05:30
ashilkn 7d99e12978 Organize imports 2023-08-26 11:14:05 +05:30
Neeraj Gupta 56113ef02b Show icon for live photo in photo viewer 2023-08-25 13:27:46 +05:30
Neeraj Gupta 83a6dbb51e Merge branch 'main' into improve_file_props 2023-08-25 13:09:07 +05:30
Neeraj Gupta 7ae8f5f69d Switch to enteFile prop 2023-08-25 13:05:24 +05:30
Neeraj Gupta 087903d6e6 Make enteFile param non-nullable in thumWidget 2023-08-25 12:44:51 +05:30
Neeraj Gupta 87496fa42c Use file prop to checking metadata edit permission 2023-08-25 12:35:59 +05:30
Neeraj Gupta 6e990f058f refactor 2023-08-25 11:48:06 +05:30
Neeraj Gupta cecbec7636 Organize import 2023-08-25 11:10:22 +05:30
Neeraj Gupta 4dfa16886f remove dead code 2023-08-25 10:59:44 +05:30
Neeraj Gupta 6ad4a71f23 refactor 2023-08-25 10:57:39 +05:30
Neeraj Gupta f81c92bfee Fix type mistmatch issues 2023-08-25 10:46:16 +05:30
Neeraj Gupta 6b5eea4d9e Fix bug in displaying hint for motion photo play 2023-08-25 10:14:56 +05:30
Neeraj Gupta 3a98af3518 Move packages 2023-08-25 10:09:30 +05:30
Neeraj Gupta 2714014fd8 Rename 2023-08-25 10:01:16 +05:30
Neeraj Gupta d6b08c8e66 Rename: File -> EnteFile 2023-08-24 22:26:24 +05:30
Neeraj Gupta b50fde4753 Rename: File -> EnteFile 2023-08-24 22:26:00 +05:30
Neeraj Gupta 6aeecbbd0a Rename: FadingApp/FadingBottomBar -> FileApp/FileBottomBar 2023-08-24 21:57:35 +05:30
Neeraj Gupta bd8a868c57
Option to Hide memories (#1345) 2023-08-24 21:09:18 +05:30
Neeraj Gupta 70b60074bd Remove unused import
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-24 21:05:40 +05:30
Neeraj Gupta 42d0bb8da5 Add option to turn off memories
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-24 21:05:28 +05:30
Neeraj Gupta d550356373
Fix bug in handling update for remoteFile (#1344) 2023-08-24 20:22:46 +05:30
ashilkn 8d4c066f01 Minor fix 2023-08-24 18:57:52 +05:30
ashilkn 3c1387542a Remove incorrect comment 2023-08-24 18:44:22 +05:30
ashilkn 2aa46a902a Remove special handling for AssertionError 2023-08-24 18:40:05 +05:30
Neeraj Gupta 4b31c0af55 Fix bug in handling update for remoteFile 2023-08-24 18:32:35 +05:30
ashilkn 3fd77a00f0 Check equality with collection ids rather than with collections 2023-08-24 18:32:00 +05:30
ashilkn bad4358225 Await on trashEmptyCollection 2023-08-24 18:21:18 +05:30
ashilkn a396f644d2 Check for multiple defaultHiddenCollections and club all to one and delete the rest 2023-08-24 16:33:49 +05:30
Neeraj Gupta 23ba5ba79d bump version 0.7.83+483 2023-08-24 08:38:37 +05:30
Neeraj Gupta cc118a7f81 Show add to album option for uncaterogized 2023-08-24 08:38:17 +05:30
Neeraj Gupta fec92b8514
Minor changes (#1341) 2023-08-23 17:29:10 +05:30
ashilkn 0535292088 Add comment 2023-08-23 17:14:52 +05:30
Neeraj Gupta b7e2ddc2d5
Selection sheet tweaks (#1340) 2023-08-23 17:11:33 +05:30
Neeraj Gupta c4b98dc35f Hide options to club by name/time + size(default) 2023-08-23 16:44:27 +05:30
ashilkn 8b40218fed Increase gallery footer's height to to accomodate the new selection bottom sheet 2023-08-23 16:35:43 +05:30
ashilkn 2dd5297894 Minor change 2023-08-23 16:30:43 +05:30
Neeraj Gupta 58b17ac20e Surface reason for ignore on long press 2023-08-23 15:04:49 +05:30
Neeraj Gupta 00f49dd36e Keep a map of ignoreID to reason 2023-08-23 14:26:06 +05:30
Neeraj Gupta 37e5519c95 Perf: Improve hasIgnoredFiles check for deviceFolder 2023-08-23 14:02:00 +05:30
ashilkn 72855c495f Add fade transition between visible and collapsed states of selection action buttons 2023-08-23 11:23:04 +05:30
ashilkn 7399004342 Remove suffix from selection action button's text and refactor to show only clickable actions 2023-08-23 10:08:15 +05:30
Neeraj Gupta 87c4f59726 rename 2023-08-23 09:23:51 +05:30
Neeraj Gupta 880f8c9429 Put invalid files in ignored table 2023-08-23 09:13:19 +05:30
Neeraj Gupta 66635617a3 Stop relying on ignoredFileIDs 2023-08-23 08:49:44 +05:30
Neeraj Gupta 96aaa8346f Fix: Catch platform err during thumbnail generation 2023-08-23 08:28:52 +05:30
Neeraj Gupta 149dd74543 refactor: extract thumbnail fetch logic 2023-08-23 08:11:42 +05:30
Neeraj Gupta b4452ee16f Update log 2023-08-22 22:08:27 +05:30
ashilkn 121df7eb32 Modify SelectionActionButton to be visible or collapsed based on 'shouldShow' parameter 2023-08-22 21:19:46 +05:30
Neeraj Gupta 253c3e5700
Fix file updation for Live Photos video on/off (#1336) 2023-08-22 20:41:52 +05:30
Neeraj Gupta dfa5569d76 Fix updation for live photos 2023-08-22 20:35:29 +05:30
Neeraj Gupta 88841e4d58 Fix:Ignore processing local updates for file owned by others 2023-08-22 19:24:40 +05:30
Neeraj Gupta 82f31ab789
Improve logging for invalid file errors (#1335) 2023-08-22 19:20:48 +05:30
Neeraj Gupta 46b547a66e Assert assetFileType and enteFile type 2023-08-22 19:14:15 +05:30
Neeraj Gupta fe674effb4 Move fileTypeFromAsset to file_type 2023-08-22 18:45:33 +05:30
Neeraj Gupta c64a8c304a Add reasons for InvalidFile Errors 2023-08-22 18:30:24 +05:30
Neeraj Gupta 924cce5b20 Add reason in InvalidFileError 2023-08-22 17:52:29 +05:30
ashilkn 923bc1d9c4 Remove predefined size for widget enclosing selection actions and animate change in height 2023-08-22 17:30:52 +05:30
ashilkn 4c9e1150e9 Reorder selection options 2023-08-22 16:06:09 +05:30
ashilkn 5732cf35d8 Merge branch 'main' into selection_sheet_tweaks 2023-08-22 12:37:10 +05:30
Ashil 14b1d4c707
Update change log (#1331) 2023-08-22 09:02:29 +05:30
Crowdin Bot 72a6c8e131 New Crowdin translations by GitHub Action 2023-08-22 00:40:54 +00:00
Neeraj Gupta 95af6474dc
Fix: Do not initiate video_player if widget is not mounted (#1333) 2023-08-21 22:49:14 +05:30
Neeraj Gupta 6c2cd31e8b Fix: Do not initiate video_player if widget is not mounted 2023-08-21 22:47:01 +05:30
Neeraj Gupta 0ad3d57473 Remove commented out code 2023-08-21 22:39:31 +05:30
ashilkn f11f41978b Extra changes to change log 2023-08-21 19:17:25 +05:30
Neeraj Gupta 10216af80a format 2023-08-21 16:07:09 +05:30
Neeraj Gupta a3b93adbc4 Fix: Handle missing photo permission error 2023-08-21 16:02:33 +05:30
ashilkn 560866da29 Update change log 2023-08-21 15:52:10 +05:30
Neeraj Gupta 9d6e3cfa3d Merge branch 'main' into wechat_picker 2023-08-21 12:54:04 +05:30
ashilkn 392e3de868 Resolve merge conflicts and merge 2023-08-21 12:21:17 +05:30
Neeraj Gupta 3edee600e6 Switch to wechat asset picker 2023-08-21 12:20:41 +05:30
ashilkn 497a413ddd Remove en traslations from non-en arb files 2023-08-21 12:14:11 +05:30
Neeraj Gupta 9c5bdac42e Fix l10n string 2023-08-21 12:09:17 +05:30
Neeraj Gupta 783f4a2870 Fix: Only consider uploaded photos for cover
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-21 12:07:49 +05:30
ashilkn 418c8ee374 Resolve conflicts and merge main 2023-08-21 12:01:58 +05:30
ashilkn 17da1bf30e Remove new en traslations in non en arb files 2023-08-21 11:55:48 +05:30
Neeraj Gupta 79ed7150a1 Fix state refresh issue 2023-08-21 11:20:07 +05:30
ashilkn c923e63027 Move collage selection option to end of list 2023-08-21 10:21:49 +05:30
ashilkn 2abaf4d7a9 Give bottom selection sheet a fixed height depending on textScaleFactor 2023-08-20 13:53:24 +05:30
Neeraj Gupta 7d32b8c62e
run dart fix --apply (#1326) 2023-08-20 04:45:44 +05:30
ashilkn 445675981b Refactor 2023-08-19 18:18:45 +05:30
ashilkn d3488e1ac8 Refresh state of GalleryAppBar when hiding/unhiding & archiving/unarchiving 2023-08-19 18:12:00 +05:30
ashilkn 585a3095c4 Fix hidden state of hidden section 2023-08-19 18:05:46 +05:30
Crowdin Bot f5cb6e937a New Crowdin translations by GitHub Action 2023-08-19 12:15:33 +00:00
ashilkn ade28e95c3 Fix bug on renaming hidden album 2023-08-19 17:43:36 +05:30
ashilkn 846352756a Fix bug on sharing hidden album 2023-08-19 17:39:35 +05:30
ashilkn 967441f83d Remove unused imports 2023-08-19 17:39:09 +05:30
ashilkn 1e5ec8600d run dart fix --apply 2023-08-19 17:09:56 +05:30
Neeraj Gupta 574218c966 Merge branch 'main' into hidden_albums 2023-08-19 12:36:22 +05:30
Neeraj Gupta 89907ab8b0 Show map for uncategorized 2023-08-19 12:30:14 +05:30
Neeraj Gupta 5fecce1562 Refactor gallery app bar widget 2023-08-19 12:28:43 +05:30
Neeraj Gupta 1ebad74302 Add galleryType hiddenOwnedCollection 2023-08-19 11:36:46 +05:30
Neeraj Gupta edc4653056 Refactor 2023-08-19 11:28:10 +05:30
Neeraj Gupta 2b52aa74c1 Refactor colleciton_page & galleryType detection 2023-08-19 11:24:13 +05:30
ashilkn 2ccc913662 Revert "Show only relevat actions for hidden collection and it's files"
This reverts commit 3d4bb87891.
2023-08-19 11:14:29 +05:30
ashilkn c169cf7ea8 Revert "Remove redundant checks for collection type to find galleryType"
This reverts commit b05c693651.
2023-08-19 11:13:05 +05:30
ashilkn 7b572a28d2 Revert "A minor fix and some additions for ref"
This reverts commit b558e1defb.
2023-08-19 11:12:40 +05:30
ashilkn b558e1defb A minor fix and some additions for ref 2023-08-19 11:04:23 +05:30
ashilkn b05c693651 Remove redundant checks for collection type to find galleryType 2023-08-18 19:30:11 +05:30
ashilkn f62b55bd78 Remove redundant checks 2023-08-18 11:52:08 +05:30
Neeraj Gupta 88ecc967d7
Flutter upgrade: v3.10.6 (#1208) 2023-08-17 11:40:05 +05:30
Crowdin Bot e4395f1e60 New Crowdin translations by GitHub Action 2023-08-17 00:39:43 +00:00
Neeraj Gupta a18176c8a9
Login v2 improvements (#1318) 2023-08-16 22:39:22 +05:30
Neeraj Gupta 206ff7f27f Clear file selection post link creation action 2023-08-16 17:55:14 +05:30
Neeraj Gupta 8574683185
Fix intl warning & upgrade sentry (#1320) 2023-08-16 11:36:49 +05:30
Neeraj Gupta 80205eed9b Merge branch 'upgrade_fixes_plus' into flutter_upgrade 2023-08-16 11:20:01 +05:30
Neeraj Gupta 0755cb9536 Check for mounted state before state refresh 2023-08-16 11:14:35 +05:30
Neeraj Gupta b0ebb45f97 Merge branch 'upgrade_fixes' into flutter_upgrade 2023-08-16 11:13:27 +05:30
Neeraj Gupta 4b5e8f5f43 Switch datetime pkg 2023-08-16 11:01:01 +05:30
Neeraj Gupta e26e49754b Upgrade package info & wakelock 2023-08-16 10:47:50 +05:30
Neeraj Gupta 5eb8da59d9 Dispose elements 2023-08-16 07:26:59 +05:30
Neeraj Gupta f724feb4af Fix intl warning 2023-08-16 07:21:45 +05:30
Neeraj Gupta 048a6fc89d Upgrade sentry 2023-08-16 07:16:18 +05:30
Neeraj Gupta c1ab081c37 Fix ARB files 2023-08-16 06:51:54 +05:30
ashilkn 3d4bb87891 Show only relevat actions for hidden collection and it's files 2023-08-15 15:46:59 +05:30
Neeraj Gupta 6527807049 Check for mounted state before state refresh 2023-08-15 15:08:27 +05:30
ashilkn 4af99ea2f0 Merge main 2023-08-15 14:30:06 +05:30
Neeraj Gupta 5664a69453 Merge branch 'main' into flutter_upgrade 2023-08-15 13:07:47 +05:30
ashilkn 980d60fc29 Fix stale state issue on the hidden collections list after unhiding a collection 2023-08-15 12:57:13 +05:30
ashilkn 88898096a4 Change ForceReloadHomeGalleryEvent's message on changing collection visibility 2023-08-15 11:14:38 +05:30
Crowdin Bot ee39395c6f New Crowdin translations by GitHub Action 2023-08-14 12:17:53 +00:00
Neeraj Gupta 9a7e24759d Show disable email verification for all users 2023-08-14 14:05:11 +05:30
Neeraj Gupta 1793f4b61f LoginV2: Remove redundant screen pop 2023-08-14 13:58:42 +05:30
Neeraj Gupta d4eef1eb2a generated changes 2023-08-14 13:54:52 +05:30
ashilkn 7e871cdc8f Bug fix: defaultHiddenCollection surfacing on hidden collections list 2023-08-14 12:27:32 +05:30
ashilkn b3098ba149 Write comment 2023-08-14 12:17:40 +05:30
ashilkn 327dcb0ab4 Show all hidden collections except for defaultHiddenCollection inside hidden section 2023-08-14 12:04:55 +05:30
ashilkn 087f0160e5 Show files from defaultHiddenCollection in hidden section's gallery 2023-08-14 11:50:11 +05:30
ashilkn 9c0cd4ea81 Use better method names 2023-08-14 11:24:28 +05:30
ashilkn 0e3c13f071 Revert "Update visibility of files when selected and hidden"
This reverts commit 1467aa70b5.
2023-08-14 11:02:15 +05:30
ashilkn 7fac60d28f Revert "Do not show defaultHiddenCollection in hidden collections list and show only files in defaultHiddenCollection in hidden section's gallery"
This reverts commit fd9646362b.
2023-08-14 11:01:35 +05:30
ashilkn f96c03660c Revert "Hide an incoming shared collection from it's gallery's appBar"
This reverts commit c1a3af08de.
2023-08-14 10:38:24 +05:30
Crowdin Bot 7206998361 New Crowdin translations by GitHub Action 2023-08-12 00:38:58 +00:00
Neeraj Gupta a1df9dc103 Fallback to batch delete if bulkDelete fails to delete 2023-08-11 19:36:23 +05:30
Vishnu Mohandas 5119e7a336
Add setting to opt out of crash reporting (#1312) 2023-08-11 17:00:23 +05:30
vishnukvmd 7761b32ab2 Add setting to opt out of crash reporting 2023-08-11 16:57:00 +05:30
Neeraj Gupta 9fccbc6129 Remove uploadID from log message 2023-08-11 16:35:40 +05:30
Neeraj Gupta ff8dc44517 Use size from metadata
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-08-11 16:17:53 +05:30
Neeraj Gupta 93df04225e include file-size in log 2023-08-11 16:15:36 +05:30
Neeraj Gupta 2de7bff9b7 Fix bug in speed calculation 2023-08-11 16:06:56 +05:30
Neeraj Gupta 7773d7415b Improve logging for downloadAndDecrypt 2023-08-11 15:54:22 +05:30
vishnukvmd 924f446532 Remove redundant toString 2023-08-11 13:32:18 +05:30
ashilkn 1467aa70b5 Update visibility of files when selected and hidden 2023-08-11 12:53:48 +05:30
vishnukvmd 58e9fabf5d Report decryption failures to Sentry 2023-08-11 11:44:19 +05:30
ashilkn fd9646362b Do not show defaultHiddenCollection in hidden collections list and show only files in defaultHiddenCollection in hidden section's gallery 2023-08-11 11:39:37 +05:30
ashilkn fd04d83118 Use correct icon to unhide a photo 2023-08-10 20:00:45 +05:30
ashilkn e7b5a94703 Verify lock to open hidden collections from inside the hidden section 2023-08-10 18:33:56 +05:30
ashilkn 0ce4ee6b5a Show hidden collections inside hidden section 2023-08-10 18:03:02 +05:30
ashilkn c1a3af08de Hide an incoming shared collection from it's gallery's appBar 2023-08-10 16:02:16 +05:30
ashilkn fd9851d893 Extract strings 2023-08-10 15:35:12 +05:30
ashilkn eb67fd3db2 Show correct progress dialog and toast text when changing visibility 2023-08-10 15:29:18 +05:30
Ashil 5c6430553f
Redesign selection sheet (#1306) 2023-08-10 14:57:02 +05:30
ashilkn 9c4fe5293e Hide an owned collection from the gallery's appBar 2023-08-10 12:08:04 +05:30
Neeraj Gupta ac7f356eb1 Ensure unique paths for every upload since share intents can spawn duplicate foreground processes 2023-08-10 01:44:30 +05:30
ashilkn d30c1fa216 Use ClampingScrollPhysics in SelectionActionButton's scrollable area without overscroll indicator 2023-08-09 18:35:22 +05:30
ashilkn 3b3ec826ad Minor changes 2023-08-09 18:33:19 +05:30
ashilkn f633652f16 Add shadow to selection sheet on it's first child 2023-08-09 18:00:44 +05:30
ashilkn 8c315cc933 Add share button to selection actions 2023-08-09 17:49:27 +05:30
ashilkn 344fce0a02 Account for textScaleFactor when computing size of widest word in lableText 2023-08-09 17:25:31 +05:30
ashilkn b1514adbe8 Change min width of SelectionActionButton widget to width of widest word in it's labelText if widest is greater than default 2023-08-09 16:52:02 +05:30
ashilkn 47dc47566a Add extra padding on bottom of albums tab depending on device's bottom padding 2023-08-09 16:47:28 +05:30
ashilkn 4a429c3347 Remove unused string 2023-08-09 16:11:30 +05:30
ashilkn dae66c4945 Refactor 2023-08-09 16:02:23 +05:30
ashilkn 1fbc25c394 Use existing logic to show relevant selection actions upon selection 2023-08-09 15:51:35 +05:30
Ashil 092bf64d06
Remove unnecessary popping of Navigator stack (#1300) 2023-08-09 15:07:38 +05:30
Neeraj Gupta 7d958d7f56
[Part-1] Diff sync improvements (#1303) 2023-08-09 13:34:23 +05:30
ashilkn aadfce89d0 Add padding at ends of scrollview 2023-08-09 13:07:21 +05:30
ashilkn 25922ea3d6 Add pressed state for SelectionOptionButton 2023-08-09 13:03:36 +05:30
ashilkn 5e03a0d602 Fix bottom padding of selection sheet 2023-08-09 12:23:31 +05:30
ashilkn 090733591d Create dummy UI of new selection sheet 2023-08-09 12:10:28 +05:30
Neeraj Gupta 20cfe2e93d Read exif inside computer 2023-08-09 11:34:20 +05:30
Neeraj Gupta d17de431d2 Remove unused code 2023-08-09 11:20:39 +05:30
Neeraj Gupta 685d348780 Improve log 2023-08-09 09:09:27 +05:30
Neeraj Gupta 62a4df79ed Fix notification count 2023-08-09 08:47:37 +05:30
Neeraj Gupta 605c8cc292 Perf: Short-circuit db query early 2023-08-09 08:37:44 +05:30
Neeraj Gupta dda427802e Specify type 2023-08-09 08:34:20 +05:30
Neeraj Gupta 5de6508dd7 Use late for delayed init 2023-08-08 21:11:58 +05:30
Neeraj Gupta 1c2665dc63 Perf: Only fetch uploadIDs when diff is not empty 2023-08-08 21:10:51 +05:30
Neeraj Gupta ad32cbf563 -mImprove logging 2023-08-08 21:05:23 +05:30
ashilkn 24582b3c71 Remove bottom shadow from home gallery 2023-08-08 18:42:35 +05:30
ashilkn e37e4957ca Remove code irrelevant to new bottom selection sheet 2023-08-08 15:42:05 +05:30
Neeraj Gupta e2371c480a Refactor _getFilesToBeUploaded 2023-08-08 15:18:55 +05:30
Neeraj Gupta 5effdd007b Simplify if condition 2023-08-08 14:46:32 +05:30
Neeraj Gupta c4d62b232c Remove redundant db query 2023-08-08 14:43:23 +05:30
Neeraj Gupta 9ae658c954
Revamp Quick link options (#1299) 2023-08-08 12:20:16 +05:30
Ashil b8bdc1fe60
Fix video playback (#1301) 2023-08-07 18:28:39 +05:30
ashilkn 8252f85045 Extract String 2023-08-07 15:45:14 +05:30
ashilkn 4229a4d02e Remove comment 2023-08-07 15:26:08 +05:30
ashilkn 02263038e1 Remove unwanted popping of Navigator stack 2023-08-07 15:23:44 +05:30
ashilkn 60956dd50c Show error dialog when video download fails 2023-08-04 17:48:01 +05:30
ashilkn 4d9d780974 Use ValueListenableBuilder to rebuild only circular progress on video playback and not the entire screen 2023-08-04 17:09:50 +05:30
Neeraj Gupta 2611c28fdf Route to mangage link for quick links 2023-08-04 14:05:27 +05:30