Commit graph

1137 commits

Author SHA1 Message Date
Neeraj Gupta 9d6e3cfa3d Merge branch 'main' into wechat_picker 2023-08-21 12:54:04 +05:30
Neeraj Gupta 3edee600e6 Switch to wechat asset picker 2023-08-21 12:20:41 +05:30
ashilkn 418c8ee374 Resolve conflicts and merge main 2023-08-21 12:01:58 +05:30
ashilkn 1e5ec8600d run dart fix --apply 2023-08-19 17:09:56 +05:30
ashilkn 4af99ea2f0 Merge main 2023-08-15 14:30:06 +05:30
ashilkn 88898096a4 Change ForceReloadHomeGalleryEvent's message on changing collection visibility 2023-08-15 11:14:38 +05:30
Neeraj Gupta a1df9dc103 Fallback to batch delete if bulkDelete fails to delete 2023-08-11 19:36:23 +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 58e9fabf5d Report decryption failures to Sentry 2023-08-11 11:44:19 +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
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
Neeraj Gupta 7d958d7f56
[Part-1] Diff sync improvements (#1303) 2023-08-09 13:34:23 +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 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
Neeraj Gupta 10e2a1b32a Merge branch 'main' into login_v2 2023-07-25 14:01:09 +05:30
Neeraj Gupta f5026ac071 Use initial 128bit as loginKey 2023-07-24 15:12:39 +05:30
Neeraj Gupta 3c77f3e981 Cover: Support for resetting to default 2023-07-24 13:23:47 +05:30
Neeraj Gupta c20788726f Refactor: Change to support resetting cover 2023-07-24 13:08:00 +05:30
ashilkn 84644bbf1c Merge main 2023-07-24 09:42:10 +05:30
ashilkn 2d0c1dbf5c Remove janky confetti animation 2023-07-21 13:56:43 +05:30
Neeraj Gupta 94bad27956 Document method 2023-07-19 15:11:03 +05:30
Neeraj Gupta fe6b5d7037 Refactor 2023-07-19 12:22:19 +05:30
Neeraj Gupta 871d4fd8f3 Remove unused code 2023-07-17 16:58:47 +05:30
Neeraj Gupta 86e7716efc Undo formatting changes 2023-07-17 16:56:28 +05:30
Neeraj Gupta 51b36e7b8c Add support for registering srp_auth 2023-07-17 13:34:52 +05:30
Neeraj Gupta 35fd2992c7 Temp commit 2023-07-15 16:35:06 +05:30
Neeraj Gupta 796a6e128a SRP: Add method to derive loginKey from keyEncKey
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-07-13 16:12:04 +05:30
Neeraj Gupta 276b62fae6 Merge branch 'main' into horizontal_grid 2023-07-03 10:36:25 +05:30
Neeraj Gupta d0cf8165db
Surface video playback error on UI (#1189) 2023-07-03 09:44:14 +05:30
Neeraj Gupta 6caa2a216d Merge branch 'main' into short_circuit_redundant_upload 2023-07-02 12:47:36 +05:30
Neeraj Gupta 31f66f799d Improve comment 2023-07-02 10:50:30 +05:30
Neeraj Gupta d0954bc354 Rethrow StorageLimitExceededError 2023-07-02 10:39:28 +05:30
Neeraj Gupta e2da09bc22 Perform local storage check before upload 2023-07-02 10:36:54 +05:30
vishnukvmd a6ca98bb41 Merge branch 'main' into sharing_notifications 2023-06-30 18:22:55 +05:30
vishnukvmd 53784d8db4 Rely on addedTime from local DB instead of updationTime from remote 2023-06-30 18:17:25 +05:30
Neeraj Gupta 604ab25531 Add support for pinning albums 2023-06-30 10:01:15 +05:30
Neeraj Gupta 3ffb94022b
Map improvements (#1245) 2023-06-29 09:12:35 +05:30
Neeraj Gupta 39800de742 AddToCollection: Upload to uncategorized if files are not already uploaded 2023-06-28 11:56:43 +05:30
Neeraj Gupta 8d7070d3d7 Add support for adding files from device 2023-06-28 10:21:14 +05:30
ashilkn d2ee1c5d6a Add option to run present callback in run() in debouncer at given interval when the timer is active 2023-06-26 12:15:43 +05:30
Neeraj Gupta 1bea43897b Add support for changing cover photo 2023-06-22 16:21:56 +05:30
Neeraj Gupta 070d5ee6e3 Remove unused imports 2023-06-14 13:03:19 +05:30
Neeraj Gupta b5433d3f0d Rename decrecated fields 2023-06-13 12:11:31 +05:30
ashilkn 2704001d65 Decrypt fileKey in background worker when decrypting thumbnail 2023-06-09 11:00:56 +05:30
Neeraj Gupta 6b563cebef Surface video playback error on UI 2023-06-06 17:06:22 +05:30
vishnukvmd 770be776d7 Switch to using a LinkedHashSet to ensure there are no duplicate elements 2023-06-05 11:40:40 +05:30
Neeraj Gupta ccbd5bf69e Hook API call to update collection 2023-05-29 19:07:02 +05:30
vishnukvmd d055a3aafc Remove redundant type conversion 2023-05-27 10:58:28 +05:30
vishnukvmd b1ce88ce97 Dismiss the bottom bar if collage was created 2023-05-27 01:07:06 +05:30
vishnukvmd b0c9cae36a Preserve ordering within SelectedFiles 2023-05-26 13:55:15 +05:30
Neeraj Gupta e12ed7000d Force refresh collection gallery on collectionSort change 2023-05-26 10:05:19 +05:30
Neeraj Gupta 4f99062662 Add logic to update sortOrder on remote
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-26 08:03:58 +05:30
Neeraj Gupta 2aa272b9d0 Rename: Separate file and album magic property class 2023-05-25 11:23:34 +05:30
Neeraj Gupta 0b1f0e9ed7 Refactor: Move magic_metadata.dart under models/metadata
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-25 11:01:50 +05:30
Neeraj Gupta 6af54befc8
Fix lint warnings 2023-05-19 13:20:18 +05:30
Neeraj Gupta ad96656472
Support for translating local_auth strings 2023-05-18 22:31:54 +05:30
Neeraj Gupta c8ffad3ed5
iOS: Add fallback to delete files in batches 2023-05-17 11:14:36 +05:30
Neeraj Gupta 3a5f62383c
Minor refactor 2023-05-17 11:02:00 +05:30
Neeraj Gupta 8c8a625cde
Fix: Gracefully handle key-generation on older iphones (#1095) 2023-05-15 15:16:22 +05:30
Neeraj Gupta d1b6caf40e
Fix: Gracefully handle key-generation on older iphones 2023-05-15 15:14:11 +05:30
Neeraj Gupta 0eb5baa815
Fix mapping logic to handle change in localIDs 2023-05-15 15:04:10 +05:30
Neeraj Gupta fb01590fcf
l10n: extract string 2023-05-10 12:28:16 +05:30
Neeraj Gupta 31ab8aafb5
Remove unused code 2023-05-10 12:14:44 +05:30
Neeraj Gupta bfd745a16c
l10n: translate dateTime for sessions and link expiry 2023-05-10 12:12:02 +05:30
Neeraj Gupta dc471f9509
l10n: Fix date on memories widget 2023-05-10 11:57:11 +05:30
Neeraj Gupta 42088e92fb
Remove unused method 2023-05-10 11:52:14 +05:30
Neeraj Gupta 67b85b8c4a
Fix typo 2023-05-09 17:16:40 +05:30
Neeraj Gupta 6fcfbf5047
l10n: Extract strings 2023-05-09 14:28:56 +05:30
Neeraj Gupta 02ce6387df
motion photo (#1071) 2023-05-06 15:00:52 +05:30
Neeraj Gupta 66e144d6bd
Upgrade motion photos package 2023-05-06 14:49:02 +05:30
Neeraj Gupta 64708bc704
l10n: Extract strings 2023-05-05 14:45:07 +05:30
Neeraj Gupta 29232545ce
Fix l10n for dates on fileInfo screen 2023-05-04 16:17:11 +05:30
Neeraj Gupta 334ca55fc1
Fix l10n date for subs renewal 2023-05-04 16:05:47 +05:30
Neeraj Gupta ede2fcafa8
Fix l10n for days widget 2023-05-04 16:00:49 +05:30
Neeraj Gupta f48cf52de8
Extract strings for days 2023-05-04 15:49:47 +05:30
Neeraj Gupta a3e76f9bcb
Create component for day widget 2023-05-04 15:38:13 +05:30
ashilkn 922df0a98a Modify memories widget to adapt to different length of strings as title 2023-05-04 11:51:57 +05:30
Neeraj Gupta ef5d47c584
Fix bug in handling file update 2023-05-03 17:44:59 +05:30
Neeraj Gupta 0a2072452a
Detect motion photos during upload 2023-05-03 13:32:57 +05:30
Neeraj Gupta 12edb7a740
Fix bug: send publicMagicMetadata during upload 2023-05-02 17:31:55 +05:30
Neeraj Gupta 91e835cdfd
Computer: Switch to forked version + enable debuglogs (#1042) 2023-05-01 11:40:42 +05:30
Neeraj Gupta 69ce3dca24
Merge branch 'main' into aspectRatio 2023-04-29 16:59:45 +05:30
Neeraj Gupta b5fe6ede26
Assign taskname for computer tasks 2023-04-29 13:27:18 +05:30
Neeraj Gupta 4745a5a2f3
Initiate shared workers during app init 2023-04-29 12:33:38 +05:30
Neeraj Gupta 453a44cb82
Update computer pkg 2023-04-29 12:28:07 +05:30
ashilkn 9277a83783 Dialog for custom radius with input restrictions 2023-04-25 19:15:10 +05:30
ashilkn d45af08120 Added optional parameters textEditingController and textInputFormatter to showTextInputDialog() 2023-04-25 16:40:22 +05:30
Neeraj Gupta c421f029c0
Migration: Extract location from exif 2023-04-18 20:58:46 +05:30
Neeraj Gupta d83607b574
Location tag fixes (#993) 2023-04-18 14:07:46 +05:30
Neeraj Gupta f888f8ce3c
Handle exception in locationFromExif 2023-04-18 12:38:52 +05:30
ashilkn 85e011c762 Refactoring 2023-04-18 11:57:55 +05:30
ashilkn e178b5aa3f Get location data from exif in getMetadataForUpload() for location metadata 2023-04-17 18:18:05 +05:30
Neeraj Gupta 569905632a
Add null check 2023-04-17 13:19:46 +05:30
Neeraj Gupta 79369a2afd
Fix potential NPE during upload 2023-04-17 13:14:46 +05:30
ashilkn 6c054b0f79 Refactored by not calling getExif() twice and only once 2023-04-17 13:13:03 +05:30
ashilkn 44fcb469a5 Fixed a null pointer error 2023-04-17 12:53:51 +05:30
ashilkn 52c19697bb Added a comment 2023-04-17 10:31:09 +05:30
ashilkn e0ccb2bfb4 get location data for file from exif if everything else fails 2023-04-14 11:11:27 +05:30
Neeraj Gupta 85889d086d
Merge branch 'main' into aspectRatio 2023-04-12 13:44:17 +05:30
Neeraj Gupta 3eca68f21d
AspectRatio: Add ratio for video 2023-04-12 13:30:25 +05:30
Neeraj Gupta 124a4dab4e
Add h/w info during upload 2023-04-12 11:16:52 +05:30
Neeraj Gupta 25aa99c22c
include assets height and width in MediaUploadData 2023-04-11 11:32:47 +05:30
Neeraj Gupta 06c9ead3e2
feat(location_tag): add location tags (#908) 2023-04-11 10:10:50 +05:30
Neeraj Gupta 146c7db6a2
l10n: extract strings 2023-04-07 12:22:23 +05:30
Neeraj Gupta 8aba74397e
l10n: extract strings 2023-04-07 12:18:10 +05:30
Neeraj Gupta 1880c1fe9d
l10n: extract strings 2023-04-07 12:16:18 +05:30
Neeraj Gupta d98550c84e
l10n: extract strings 2023-04-07 12:12:07 +05:30
ashilkn 3de5696b04 Used freezed package in location and locationTag models 2023-04-02 18:17:18 +05:30
ashilkn 47a3221484 Resolved merge conflicts 2023-03-15 14:44:07 +05:30
ashilkn 6cf0889614 Revert "Removed SizedBoxs from listOfWidgets passed to addSeparators() inorder to avoid adding unwanted separators"
This reverts commit 9fe6519efa.
2023-03-15 10:53:03 +05:30
ashilkn 86c96ccb10 Merge branch 'main' into refactor_redesign_file_info 2023-03-14 18:03:26 +05:30
Neeraj Gupta 13fef75647
Update local auth pkg 2023-03-11 08:07:14 +05:30
ashilkn b1916f6605 Moved all button components to a folder 'Buttons' 2023-03-10 13:38:51 +05:30
ashilkn 9fe6519efa Removed SizedBoxs from listOfWidgets passed to addSeparators() inorder to avoid adding unwanted separators 2023-03-09 19:04:23 +05:30
Muhesh7 847eab2dca feat(location_tag): add location tags 2023-03-07 07:43:13 +05:30
vishnukvmd 2d85ee304a Hard-code Argon2id v1.3 as the password hashing algorithm 2023-02-28 13:44:52 +05:30
vishnukvmd bcc1348a7d Document functions exposed by CryptoUtil 2023-02-27 17:56:51 +05:30
vishnukvmd a4396beec4 Add comments about key derivation 2023-02-27 16:28:59 +05:30
vishnukvmd 589281e729 Add comment about key generation 2023-02-27 16:16:02 +05:30
vishnukvmd 0cf7daeba8 Rename variables for clarity 2023-02-27 16:14:27 +05:30
vishnukvmd 0c498be4aa Reformat code 2023-02-27 16:11:24 +05:30
vishnukvmd cdb8fd9881 Merge branch 'main' into refactor_sodium 2023-02-27 11:23:21 +05:30
Neeraj Gupta 8661b4dd45
Route to code_success screen on code applied 2023-02-23 10:08:09 +05:30
Muhesh7 16a82b62d1 feat(file_viewer): implement file view handler 2023-02-22 16:32:56 +05:30
ashilkn e48245b541 Force reload trash page on removing files permanently 2023-02-22 12:52:57 +05:30
Manav 1b30c55c12
Merge pull request #761 from ente-io/connectivity-plus
Migrate from connectivity to connectivity_plus
2023-02-20 19:48:59 +05:30
Neeraj Gupta ffcc309492
Handle error in applying code 2023-02-17 14:37:19 +05:30
Manav f96adbc197 Handle the new enum states 2023-02-17 12:36:19 +05:30
Manav b9619499f5 Migrate from connectivity to connectivity_plus
Both are official Flutter plugins. connectivity has been deprecated, and
connectivity_plus is the replacement:

https://pub.dev/packages/connectivity_plus

Tested on: iOS simulator, by turning WiFi on/off on the laptop
2023-02-17 12:33:43 +05:30
Neeraj Gupta 8e9eebe2b4
Referral: integrate the APIs 2023-02-15 22:17:40 +05:30
vishnukvmd d3005be29f Merge branch 'main' into refactor_sodium 2023-02-14 11:21:19 +05:30
ashilkn 508fd909f5 Password input can be made visible or not in the TextInputWidget 2023-02-13 16:09:24 +05:30
ashilkn 0aa5cfd3cf Bug fix: TextInputDialog not getting dismissed 2023-02-12 13:24:04 +05:30
ashilkn 7e120c04f6 Merge branch 'main' into return_exception_with_buttonAction 2023-02-10 12:58:13 +05:30
ashilkn 6d3a637922 Modified dialogs and uses of them to work with ButtonWidget 2023-02-10 12:52:16 +05:30
Vishnu Mohandas 3ea4574b8c
Merge pull request #852 from ente-io/objects 2023-02-09 19:00:15 +05:30
ashilkn 112b80db8a Resolved merge conflicts 2023-02-09 18:59:43 +05:30
ashilkn dd49b7913d Modified uses of ActionSheets to work with ButtonWidget 2023-02-09 18:48:01 +05:30
ashilkn ef79387b9d Always show success state on renaming album & file 2023-02-09 10:26:06 +05:30
ashilkn 4c430a6253 Show new error dialog on failing rename file 2023-02-09 06:51:00 +05:30
ashilkn bcadb168cb Now for dialogs using TextInputWidget, the dialog will return an exception when popped when one is thrown from TextInputWidget 2023-02-09 06:25:44 +05:30
vishnukvmd fb0042ae03 Resolve object tags for local files as well 2023-02-08 22:51:57 +05:30