Commit graph

4758 commits

Author SHA1 Message Date
Neeraj Gupta 40b2c07967
ignore uploaded files with editedTime 2022-11-14 16:30:39 +05:30
Neeraj Gupta 792710a19d
Add migration script for fixing badCreationTime 2022-11-14 15:03:16 +05:30
vishnukvmd 3332b030ef Fix casing in copies 2022-11-14 14:20:41 +05:30
Neeraj Gupta 7ba30c5898
minor refactor 2022-11-14 14:11:42 +05:30
Neeraj Gupta 9f935e11f0
Add support for bulkEdit time 2022-11-14 14:03:49 +05:30
Neeraj Gupta 39cac17c0c
FileMetadata: Support for bulk updating different values 2022-11-14 13:37:32 +05:30
Neeraj Gupta eaeee9959d
Extn: Add SplitMatch extn method for lists 2022-11-14 12:54:36 +05:30
Neeraj Gupta 51d0ee0d20
Add enum: EditTimeSource 2022-11-14 12:46:51 +05:30
Neeraj Gupta 5f3f46eaf8
remove redundant ignore for lint rule 2022-11-14 12:18:15 +05:30
Neeraj Gupta 504bdddd95
Merge pull request #641 from ente-io/more_fixes
Misc. fixes and perf improvements
2022-11-14 11:17:48 +05:30
Neeraj Gupta 3b8ffd3043
Avoid redundant db queries 2022-11-14 10:58:19 +05:30
Neeraj Gupta 4a203d995e
Fix stale coverphoto to device folder 2022-11-14 10:43:39 +05:30
Neeraj Gupta dbf5e257ea
Perf: Fire event for deleted collection only if previously cached 2022-11-14 10:17:23 +05:30
Neeraj Gupta 4f766c1775
mark unawaited collections as ignored 2022-11-14 10:11:40 +05:30
ashilkn 61ecbb3321 Merge branch 'master' into select-photos-of-day 2022-11-14 10:07:42 +05:30
ashilkn 39c749a39c code refactoring 2022-11-14 10:04:22 +05:30
Neeraj Gupta 630f0028a4
Avoid creating device collections for empty albums 2022-11-13 14:35:25 +05:30
Neeraj Gupta 871a010961
Merge pull request #640 from ente-io/perf_changes
Perf: Use cached value of collection key
2022-11-13 14:19:05 +05:30
Neeraj Gupta 7b71d107f8
Cache and use cached collection decryptionKey 2022-11-13 14:00:30 +05:30
Neeraj Gupta 75f77f279e
Add EnteWatch for easy logging of time taken 2022-11-13 14:00:30 +05:30
Neeraj Gupta f575ef933a
Add extension for stopWatch 2022-11-13 14:00:30 +05:30
Neeraj Gupta 9d1137a7e6
Add extn method for chunking list 2022-11-13 14:00:30 +05:30
Vishnu Mohandas e8a7803da2
Merge pull request #639 from ente-io/fix_2fa_reset
Allow resetting on 2FA with the mnemonic phrase
2022-11-13 13:57:09 +05:30
Vishnu Mohandas 73e49b84f5
Merge pull request #638 from ente-io/fix_case
Fix more cases
2022-11-13 13:53:18 +05:30
vishnukvmd fd581d553f Allow resetting of 2FA with the mnemonic phrase 2022-11-13 13:52:43 +05:30
vishnukvmd d8c3e1cd31 Fix more cases 2022-11-13 13:37:06 +05:30
Vishnu Mohandas 0860a2d8bf
Merge pull request #637 from ente-io/fix_case
Fix case
2022-11-13 13:33:24 +05:30
vishnukvmd c237040620 Fix case 2022-11-13 13:26:59 +05:30
Neeraj Gupta fa4156a358
rename 2022-11-12 16:58:34 +05:30
Neeraj Gupta 7e6992ac7d
Fix timevalue and test 2022-11-12 16:57:36 +05:30
Neeraj Gupta 32e299c82b
Update removalEvents for Hidden Page 2022-11-12 16:41:17 +05:30
Neeraj Gupta 943d1ba0d6
Move to next/preview photo on Hiding file 2022-11-12 16:41:17 +05:30
Neeraj Gupta 2121ea613e
Remove hidden files from archived section 2022-11-12 16:41:16 +05:30
Neeraj Gupta 992a2c30ab
Remove redundant forceReload of home gallery 2022-11-12 16:41:16 +05:30
Neeraj Gupta 6346f0587d
Fix collection state refresh bug during hide 2022-11-12 16:41:13 +05:30
Neeraj Gupta ae00494854
Logging improvements 2022-11-12 10:49:38 +05:30
Neeraj Gupta 9f72614ed2
Logging improvements: 2/n 2022-11-11 18:39:22 +05:30
Neeraj Gupta 9faeb511db
Log source for all CollectionUpdate events 2022-11-11 17:00:37 +05:30
Neeraj Gupta 89cdc4cd99
Event: Add reason 2022-11-11 16:14:12 +05:30
Neeraj Gupta 4cc2f70710
Enchance logs for easier debugging 2022-11-11 15:53:35 +05:30
Neeraj Gupta 2fa1c19d0c
Improve logging for gallery logs 2022-11-11 15:00:07 +05:30
Neeraj Gupta decea3d02d
Remove redundant log files 2022-11-11 14:34:57 +05:30
Neeraj Gupta 2ddae3b7a6
Merge pull request #633 from ente-io/wake_lock
Fix device sleep issue for videos played inside memories widget
2022-11-11 12:28:20 +05:30
Neeraj Gupta 078bf1bf61
Fix typo 2022-11-11 12:25:16 +05:30
Neeraj Gupta ebc2343508
Fix device sleep issue for videos played inside memories widget 2022-11-11 12:23:31 +05:30
Neeraj Gupta 8183149585
Hide fav button for un-uploaded files 2022-11-11 11:54:43 +05:30
Neeraj Gupta 2de6562343
Do not show hide option for local only files 2022-11-11 11:53:01 +05:30
ashilkn 9223ffbe69 remove rebuild on unselecting all files + use better name 2022-11-10 17:17:05 +05:30
ashilkn 0b3096c7d5 Merge branch 'master' into select-photos-of-day 2022-11-10 16:26:46 +05:30
ashilkn 572e0c1be0 properly remove all listeners in lazy_loading_gallery.dart 2022-11-10 16:23:09 +05:30
Neeraj Gupta 587817965d
rename method 2022-11-10 16:10:35 +05:30
Neeraj Gupta 68b5750d48
Change base date for creationTime cutoff 2022-11-10 16:07:41 +05:30
Neeraj Gupta f7c1593470
Fix creationLogic 2022-11-10 16:06:22 +05:30
Neeraj Gupta fe34ddaeae
Improve creationTime fallback logic 2022-11-10 16:00:11 +05:30
Neeraj Gupta e42a1106dc
Use current date as importTime if parsing also fails 2022-11-10 14:51:57 +05:30
Neeraj Gupta ccf09cf19f
Use improved logic for parsing dateTime from fileName 2022-11-10 14:43:21 +05:30
Neeraj Gupta 198ad9880d
Show update changelog for independent apk 2022-11-10 00:26:26 +05:30
Neeraj Gupta 885678126d
AppUpdate: Add link to install manually 2022-11-10 00:25:02 +05:30
Neeraj Gupta 707db4e667
Fix Linter 2022-11-09 23:53:30 +05:30
ashilkn bb44cffd45 Merge branch 'master' into select-photos-of-day 2022-11-09 19:25:22 +05:30
ashilkn 9788fdd30f changed a comment 2022-11-09 19:21:36 +05:30
ashilkn f7cc3fd692 bug fix : select all not removed on unselecting all after scrolling down 2022-11-09 18:24:08 +05:30
ashilkn 9345abe3c9 show select all button only when at least one file is selected 2022-11-09 18:01:59 +05:30
ashilkn 003f1f950c minor bug fix 2022-11-09 17:51:03 +05:30
ashilkn de9f8a05ea minor changes 2022-11-09 17:30:28 +05:30
ashilkn 4fe8006148 update 'select all from day' icon on canceling all selected files 2022-11-09 16:44:41 +05:30
ashilkn 70676c239d Fix : setState() called after dispose() 2022-11-09 16:17:01 +05:30
ashilkn 3bc94ca735 change 'select all from day icon' on selection 2022-11-09 15:45:30 +05:30
Neeraj Gupta 630fde594e
Only mark hidden when bottomSheet is dismissed 2022-11-09 15:39:38 +05:30
ashilkn a69b44ee00 implement select and unselect all files from day 2022-11-09 15:33:04 +05:30
Neeraj Gupta 0eb0c106d1
Merge pull request #628 from ente-io/null_handling
Fixes couple of bugs reported on sentry
2022-11-09 15:17:24 +05:30
Neeraj Gupta aa1cfd211f
Do not show change log on independent apk 2022-11-09 15:16:44 +05:30
Neeraj Gupta 7c378eff75
UI fixes for change log screen 2022-11-09 15:15:56 +05:30
Neeraj Gupta 9592eb1f59
DebugOnly: Support for clearing changelog tracking 2022-11-09 13:50:14 +05:30
Neeraj Gupta 52a8713964
Do not show change log for fresh install 2022-11-09 13:49:36 +05:30
Neeraj Gupta a74137103f
Track if changeLog needs to be shown or not 2022-11-09 13:48:58 +05:30
Neeraj Gupta 69cb182d19
UI: Change log UI changes 2022-11-09 13:36:10 +05:30
Neeraj Gupta 59db5f9795
Add widget for changeLog entry 2022-11-09 11:32:35 +05:30
Neeraj Gupta 7f946f721b
Ignore conflicting insert during deviceCover update sentry#4338 2022-11-09 11:32:35 +05:30
Neeraj Gupta afe10c0adc
Fix null pointer exception sentry#5606 2022-11-09 11:32:34 +05:30
ashilkn 82cc2dd12e add select all files in a day icon in UI 2022-11-09 10:12:32 +05:30
Neeraj Gupta 3c48f2de56
Ignore conflicting insert during deviceCover update sentry#4338 2022-11-09 10:05:02 +05:30
Neeraj Gupta 5e17431283
Fix null pointer exception sentry#5606 2022-11-09 09:57:50 +05:30
ashilkn 5e43f975d1 show empty albums in list of albums on move/add 2022-11-08 16:40:46 +05:30
ashilkn 6891dd4289 minor change to divider component 2022-11-08 15:31:47 +05:30
ashilkn 9e81b8a418 Merge branch 'master' into minor-fixes 2022-11-08 15:18:19 +05:30
ashilkn 8e33c0fff9 change background color of file info 2022-11-08 14:57:39 +05:30
ashilkn a89fa3c11e corrected blurStroke colors 2022-11-08 14:50:30 +05:30
ashilkn df7eed34a1 minor changes 2022-11-08 14:15:17 +05:30
ashilkn eb22c34208 show free space as 0 if value is negative 2022-11-08 13:52:12 +05:30
ashilkn ed8765378a get file size from db if available in file info 2022-11-08 13:39:53 +05:30
ashilkn 7aa6cc3605 show used space in MBs if < 100 MB 2022-11-07 19:26:18 +05:30
ashilkn 126e630482 Storage card: show sizes in TB if size >= 1000 2022-11-07 18:59:45 +05:30
ashilkn 2fe80cee31 check if mounted 2022-11-07 14:32:39 +05:30
ashilkn 91d839e05a file caption hint style fix 2022-11-07 14:14:56 +05:30
ashilkn 961513e639 change barrier color of file info 2022-11-07 13:46:00 +05:30
ashilkn c4a2683339 remove bouncing physics in file info 2022-11-07 13:43:41 +05:30
ashilkn 0325dfdd11 don't show 'Done' toast after saving file caption 2022-11-07 13:39:04 +05:30
ashilkn 362d66d5ed close file info on saving caption 2022-11-07 13:26:50 +05:30
Neeraj Gupta 4a060c4edd
Fix unawaited future warnings 2022-11-06 16:06:33 +05:30
Neeraj Gupta 943c5edfb6
Add lint rule to warn for unawaited futures 2022-11-06 15:46:14 +05:30
Neeraj Gupta 46fe951e0d
Merge pull request #621 from ente-io/removeAwaits
Remove unncessary Future/Awaits
2022-11-06 15:08:45 +05:30
Neeraj Gupta 0d622f0ed1
Make emptyState null safe 2022-11-06 15:04:56 +05:30
Neeraj Gupta 077b246e83
Fix import 2022-11-06 15:04:40 +05:30
Neeraj Gupta c9163919a6
Change severity for lint rule 2022-11-06 14:48:54 +05:30
Neeraj Gupta bbbc61fd4e
Merge branch 'master' into empty_albums 2022-11-06 14:45:46 +05:30
Neeraj Gupta 139e3c7835
Fix prefer_final_locals warnings 2022-11-06 14:04:06 +05:30
Neeraj Gupta 19cc54f422
Fix lint issues 2022-11-06 13:52:54 +05:30
Neeraj Gupta b6688d4646
minor fix 2022-11-06 11:54:10 +05:30
Neeraj Gupta 709e2a0085
Remove unncessary awaits by passing pref 2022-11-06 11:44:46 +05:30
Neeraj Gupta 01121ddc62
Billing: Remove redundant future 2022-11-06 11:38:24 +05:30
Neeraj Gupta f330b1e6a6
Revert color change 2022-11-06 10:58:25 +05:30
Neeraj Gupta 0e9c2162b5
Caption: Add suggest in empty search result 2022-11-06 10:01:04 +05:30
Neeraj Gupta 396bf731b4
Caption: Add border radius and change fill color 2022-11-06 09:57:25 +05:30
Neeraj Gupta 2411c09658
Caption: Use TextCapitalization.sentences 2022-11-06 00:31:51 +05:30
Neeraj Gupta 803d0829d8
Fix caption hint 2022-11-05 23:32:03 +05:30
Neeraj Gupta 32e6e32e47
Fix case 2022-11-05 23:31:47 +05:30
Neeraj Gupta 32269b74fe
Change title for description searchResult 2022-11-05 19:36:03 +05:30
ashilkn 837a2b468e Merge branch 'master' into caption 2022-11-05 17:43:04 +05:30
ashilkn 4eb2492736 bug fix 2022-11-05 17:31:25 +05:30
ashilkn 2717fe36c6 Don't show edit caption field for shared and local files 2022-11-05 17:26:29 +05:30
ashilkn ed17f8e288 bug fix + copy change 2022-11-05 17:18:28 +05:30
ashilkn e5125254b2 bug fix : empty string being saved everytime file info is closed without editing caption 2022-11-05 17:13:05 +05:30
Neeraj Gupta 847d27a138
Support for saving live photo on iOS 2022-11-05 16:11:50 +05:30
ashilkn 27c660771f handled cases where caption is null 2022-11-05 13:47:02 +05:30
ashilkn 6dbafb118b Merge branch 'caption_search' into caption 2022-11-05 13:29:16 +05:30
ashilkn 53e764fe23 Edit over the already available caption on focus 2022-11-05 13:10:54 +05:30
ashilkn d7a2d6f093 Allow to save empty caption 2022-11-05 12:51:45 +05:30
ashilkn 7540e08393 added scrollbar in file info 2022-11-05 11:58:17 +05:30
ashilkn 8c8d18e6b9 aligned file caption text to center 2022-11-05 11:28:11 +05:30
Neeraj Gupta ec8aab680d
Add support for searching by caption 2022-11-05 11:22:28 +05:30
ashilkn 7b69dbb61f resolved merge conflicts 2022-11-05 11:02:15 +05:30
Neeraj Gupta dbe51b0d21
Add Result type for captions 2022-11-05 11:00:03 +05:30
ashilkn 28c116eb2a show updated caption on going back to file from file info 2022-11-05 10:53:21 +05:30
Neeraj Gupta b2f301d96b
Move parseDateFromFileName in date time util 2022-11-05 10:40:22 +05:30
ashilkn ec1ad68ad6 added caption on fading bottom bar 2022-11-05 10:11:21 +05:30
ashilkn a5c7f82019 add caption as hint text in caption textField 2022-11-05 09:57:38 +05:30
ashilkn 56c8bc1718 renamed InfoItemTextWidget to FileCaptionWidget and moved it out of components subfolder 2022-11-05 09:25:17 +05:30
ashilkn 74f12ed879 android creation time bug fix 2022-11-04 18:27:28 +05:30
ashilkn 921afb9a15 save caption on dismissing bottom sheet 2022-11-04 17:17:48 +05:30
ashilkn 358efb20b8 change caption on submit ('done' on keyboard) 2022-11-04 16:19:47 +05:30
ashilkn 2bea592925 made util function to edit file's caption in public metadata 2022-11-04 15:40:11 +05:30
ashilkn 9a16d0e822 UI interactions fixes + save on close & 'done' handlers 2022-11-04 14:53:04 +05:30
ashilkn b8c68c2eb4 Move bottom sheet along with keyboard 2022-11-04 12:37:58 +05:30
ashilkn c6f68ad5cb removed divider that comes after text field in file info 2022-11-04 11:12:54 +05:30
ashilkn 7f184681d2 added custom text counter for textField InfoItemWidget 2022-11-04 10:59:12 +05:30
ashilkn 89dfb6d45b layout changes in file info 2022-11-04 10:22:09 +05:30
ashilkn 3c1d68cd8d add textfield for caption in file info by creating InfoItemWidget 2022-11-03 16:25:39 +05:30
ashilkn 3456b214d2 declared and used backdropFaint color for bottom sheet barrier color 2022-11-03 15:32:16 +05:30
ashilkn 6e16a7c0a9 used widget that restricts the height of bottom sheet 2022-11-03 14:21:31 +05:30