Commit graph

1493 commits

Author SHA1 Message Date
Neeraj Gupta 351a699919 SRP: Redirect to Recover password page 2023-07-18 17:58:45 +05:30
Neeraj Gupta 0ebd1d1b67 Change OTT copy for forgot password 2023-07-18 17:35:30 +05:30
ashilkn 8f980a2192 Merge branch 'main' into horizontal_grid 2023-07-18 14:45:12 +05:30
Neeraj Gupta ddd2dce513 Handle errors and switch to utf-8 encoding 2023-07-18 11:01:32 +05:30
Neeraj Gupta 62c9d48b78 Use constant for SRP group 2023-07-18 10:56:57 +05:30
Ashil 2deec3e1be
Look up existing file by uploadId and collectionID (#1281) 2023-07-18 10:38:04 +05:30
Neeraj Gupta 89be985da2 Handle pass verification failures 2023-07-18 09:33:44 +05:30
Neeraj Gupta 1b4caf705f Refactor 2023-07-18 08:58:32 +05:30
Neeraj Gupta 51c56b52da Add support for login via password 2023-07-18 08:17:29 +05:30
Neeraj Gupta d91215c36d Make password mode as required parameter 2023-07-17 13:37:07 +05:30
Neeraj Gupta 51b36e7b8c Add support for registering srp_auth 2023-07-17 13:34:52 +05:30
Neeraj Gupta 3cfe62dd8a Look up existing file by uploadId and collectionID 2023-07-15 19:31:49 +05:30
Neeraj Gupta 35fd2992c7 Temp commit 2023-07-15 16:35:06 +05:30
Neeraj Gupta 0a8e669ce9 config: Remove unused name field 2023-07-13 10:27:21 +05:30
vishnukvmd 2855aa5edc Remove redundant toString 2023-07-10 15:50:01 +05:30
vishnukvmd 7a98dc0d6b Add logs for debugging issues related to notifications 2023-07-10 15:48:37 +05:30
Neeraj Gupta baa2138d1f Cache collectionFileCount to avoid UI flicker post heroAnimation 2023-07-06 13:26:38 +05:30
Neeraj Gupta a69037bc83 Fix: Show files queued for upload on home gallery 2023-07-02 19:41:43 +05:30
vishnukvmd a6ca98bb41 Merge branch 'main' into sharing_notifications 2023-06-30 18:22:55 +05:30
vishnukvmd 4c39bba7cb Minor refactor 2023-06-30 18:19:06 +05:30
vishnukvmd 56e2b63e0f Don't request permission on iOS on app startup 2023-06-30 17:57:46 +05:30
Neeraj Gupta ac246ef51f Hide two months free text for playstore 2023-06-29 16:58:59 +05:30
vishnukvmd 1b0e8afa08 On tapping the notification, navigate to the collection to which photo was uploaded 2023-06-28 11:06:36 +05:30
vishnukvmd 9b55c6b6f4 Inject prefs where possible 2023-06-26 13:21:31 +05:30
vishnukvmd 8a644a131a Show notification only if app is in the background 2023-06-26 13:16:16 +05:30
vishnukvmd 99db0da1df Create a fresh notification for a different collection 2023-06-26 13:13:33 +05:30
vishnukvmd 3c0e63cb7a Show notification only after first remote sync is done 2023-06-26 13:00:13 +05:30
vishnukvmd df3bca5b72 Rename variable 2023-06-26 11:54:34 +05:30
vishnukvmd 569f9f6d48 Request permission on Android as well 2023-06-26 11:54:22 +05:30
vishnukvmd 1951a58528 Remove redundant assignment 2023-06-25 19:30:54 +05:30
vishnukvmd 1ca372fd34 Remove redundant code 2023-06-25 19:27:43 +05:30
vishnukvmd 1213cf6a34 Update the notification instead of creating a new one 2023-06-25 19:24:39 +05:30
vishnukvmd 4f97b1c7d0 Preserve the time when the app was last in foreground 2023-06-25 19:18:30 +05:30
vishnukvmd 73d1ee9ce6 Show notifications for collected files as well 2023-06-25 19:15:34 +05:30
vishnukvmd 72d200d900 Request for permissions after first remote sync is done 2023-06-25 18:32:02 +05:30
vishnukvmd 29959ce2af Disable notifications when app is in foreground 2023-06-25 18:05:40 +05:30
vishnukvmd cf2124912c Refactor constant name 2023-06-25 18:04:00 +05:30
vishnukvmd 03d2a95501 Add setting to disable notifications 2023-06-25 17:59:35 +05:30
vishnukvmd eac8298d74 Show notification when shared items are added 2023-06-25 15:10:09 +05:30
vishnukvmd f1b36149b5 Save last app open time 2023-06-25 14:22:33 +05:30
vishnukvmd c251c7d007 Enable notifications on iOS 2023-06-24 11:32:26 +05:30
vishnukvmd d512d8a179 Upgrade notification package 2023-06-24 11:09:58 +05:30
Neeraj Gupta f4de25cd27 Add change log 2023-06-22 19:12:14 +05:30
Neeraj Gupta 502af89e57 Hide favorite colleciton if it's empty 2023-06-22 14:49:34 +05:30
Neeraj Gupta 59f802edd0 Fix:Burst cover cache when colleciton is updated 2023-06-22 14:44:55 +05:30
Neeraj Gupta ed046c0301 Refactor DeleteEmptyButtonWidget 2023-06-22 14:19:42 +05:30
Neeraj Gupta d16e903a45 Remove dependency from _getCollectionsWithThumbnails 2023-06-22 14:00:20 +05:30
Neeraj Gupta a2bb8e7b4a Merge branch 'main' into remove_getCollectionsWithThumbnails_shared 2023-06-21 11:52:57 +05:30
Neeraj Gupta 65840dec28 Merge branch 'main' into remove_getCollectionsWithThumbnails_shared 2023-06-21 11:52:21 +05:30
Neeraj Gupta 01f16bddde Merge branch 'main' into map 2023-06-20 20:23:13 +05:30
Neeraj Gupta f6e9d63f59 Replace all usage of _deduplicatedAndFilterIgnoredFiles 2023-06-20 18:19:45 +05:30
Neeraj Gupta a1bcf60159 refactor 2023-06-20 17:55:49 +05:30
Neeraj Gupta c5647fa52a Minor refactor 2023-06-20 17:52:04 +05:30
Neeraj Gupta 80b0c88b1c Merge branch 'main' into perf_improvement 2023-06-20 17:40:06 +05:30
Neeraj Gupta 15c4c97dab getAllPendingOrUploadedFiles: Use improved filtering for dedupe+ignored 2023-06-20 17:34:12 +05:30
Neeraj Gupta 38d817e1bf Introduce Filter with some common filters
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-20 17:25:42 +05:30
Neeraj Gupta 24e1e8d558 Remove dependency from getCollectionsWithThumbnails 2023-06-19 22:37:03 +05:30
Neeraj Gupta 522655ca65 SharedTab: remove dependency on getCollectionsWithThumbnails 2023-06-19 16:27:53 +05:30
Neeraj Gupta ee6a12e706 Refactor delete emptyAlbums logic 2023-06-19 15:58:15 +05:30
Neeraj Gupta 530c6746a0 Add method to get cover for a collection
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-19 10:39:03 +05:30
Neeraj Gupta 5b7eb47521 Add hook for checking permission 2023-06-15 18:15:26 +05:30
Neeraj Gupta 3b98ef597f RemoteStoreService: Add method for getting/updating bool flags 2023-06-15 13:00:11 +05:30
Neeraj Gupta 240b5667eb Merge branch 'cache_collections' into map 2023-06-14 16:14:16 +05:30
Neeraj Gupta e34ee87405 Do not reset _cachedLatestFiles on LocalFileUpdates 2023-06-14 14:42:17 +05:30
Neeraj Gupta f9cf813da9 Only reset cachedFiles future on updates 2023-06-14 14:39:48 +05:30
Neeraj Gupta a6505e2cfe Mark _getLatestCollectionFiles as private 2023-06-14 14:39:01 +05:30
Neeraj Gupta 938287ab23 Fix: Hide shared archived from all places as owned archived 2023-06-14 14:00:33 +05:30
Neeraj Gupta ba64ff92a5 Collections: switch to new version for caching collection paths 2023-06-14 12:54:30 +05:30
Neeraj Gupta b5433d3f0d Rename decrecated fields 2023-06-13 12:11:31 +05:30
Neeraj Gupta 20d908a126 Whitelist more internal users 2023-06-08 14:58:50 +05:30
Neeraj Gupta 40a6767c6b Use Search service to get files 2023-06-05 07:13:34 +05:30
Neeraj Gupta c57cd5fa96 Fix bug in request payload for fileInfo
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-31 18:40:42 +05:30
Neeraj Gupta fad5ab2dcf imporve logs 2023-05-31 15:27:01 +05:30
Neeraj Gupta 491a389deb Get dedupe list from local if size information is present 2023-05-31 14:43:06 +05:30
Neeraj Gupta 69eee09484 Merge branch 'main' into use_local_size 2023-05-31 14:22:01 +05:30
Neeraj Gupta 5932270787 Refactor: Switch to generic fn for clubbing by time 2023-05-31 12:01:56 +05:30
Neeraj Gupta 848e1488d9 Add clubByduplicates that take fn for clubbing key 2023-05-31 11:58:25 +05:30
Neeraj Gupta ff5d9f7595 Club duplicates files based on hash 2023-05-31 11:49:17 +05:30
Neeraj Gupta fc64570e05 Rename 2023-05-31 11:43:45 +05:30
Neeraj Gupta 4a605820d6 Fixed bug in clubByDuplicateName 2023-05-31 11:37:44 +05:30
Neeraj Gupta 0eb07ad10a Rename 2023-05-31 11:32:29 +05:30
Neeraj Gupta 1008bf606f Use localSize info during free up space 2023-05-31 10:10:59 +05:30
Neeraj Gupta dc2b62a9fb Add API to fetch fileInfo 2023-05-30 21:03:02 +05:30
Neeraj Gupta ad81ff412b Merge branch 'main' into migratie_collections 2023-05-30 07:47:05 +05:30
Neeraj Gupta 796423499b Show no-archived incoming collections 2023-05-29 19:17:35 +05:30
Neeraj Gupta 67eb859079 Fix url 2023-05-29 19:06:46 +05:30
Neeraj Gupta 392d39b5f2 Add support for updating/saving sharee json 2023-05-29 18:51:31 +05:30
Neeraj Gupta 1d0ed25cbc Add change log for 0.7.59+459 2023-05-29 10:20:36 +05:30
vishnukvmd 772206dd2e Add option to dedupe by file name 2023-05-28 21:14:40 +05:30
Neeraj Gupta 7819ba4b3e
Collages (#1158) 2023-05-27 11:07:25 +05:30
vishnukvmd cc2858d09f Lower log level 2023-05-27 10:56:31 +05:30
vishnukvmd 4affb2157b Log network errors 2023-05-27 00:56:58 +05:30
Neeraj Gupta ca04f5ece4 Skip metadata decryption for deleted collections 2023-05-26 19:06:05 +05:30
Neeraj Gupta a385d42838 Fix typo 2023-05-26 13:42:58 +05:30
Neeraj Gupta efe5ecf015 Persist colleciton pubMagicMetadata 2023-05-26 08:14:58 +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 dc96583dcd Merge branch 'main' into migratie_collections 2023-05-25 13:37:52 +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 779544941d Fire remoteSync event for first collections sync 2023-05-25 10:15:43 +05:30
Neeraj Gupta e97ad6f26b Wait for firstSync to finish before showing deleteEmptyAlbums 2023-05-25 10:11:43 +05:30
Neeraj Gupta 3dbfb36680 Remove any stale enteries in DB 2023-05-24 12:23:33 +05:30
Neeraj Gupta aaa1036e3a Remove migration code 2023-05-24 12:13:00 +05:30
Neeraj Gupta 103f1e23d9 Perf: Only refresh cache for fetched collections 2023-05-24 08:09:45 +05:30
Neeraj Gupta 1551c0c5ee Perf: Only refresh cache for fetched collections 2023-05-24 08:09:18 +05:30
Neeraj Gupta bfb4a52b9a Remove unused method 2023-05-24 07:58:15 +05:30
Neeraj Gupta 3f09aba42e Decrypt collection name and path during remote sync 2023-05-24 01:47:48 +05:30
Neeraj Gupta fcd58fb0aa Add setName for collection 2023-05-24 01:43:12 +05:30
Neeraj Gupta 46fbdd02b8 Refactor: put duplicate code in single method 2023-05-24 00:50:03 +05:30
Neeraj Gupta 98e56fae63 Remove redundant decryption for name and path 2023-05-23 21:50:24 +05:30
Neeraj Gupta 90ae96299c minor refactor 2023-05-23 18:42:28 +05:30
Neeraj Gupta b98e9c8aec Merge branch 'perf_minor' into migratie_collections 2023-05-23 17:04:38 +05:30
Neeraj Gupta 4c6ba5c851 Fix: Fire event with files for given collection 2023-05-23 16:59:50 +05:30
Neeraj Gupta 6d8d4aeddf CollectionDiff: Avoid redundant event for delete from delete 2023-05-23 16:57:35 +05:30
Neeraj Gupta 113d3e5709 Perf: Avoid reading entire collections while sync diff 2023-05-23 16:13:07 +05:30
Neeraj Gupta 10f1db49ef Merge branch 'remove_redundant_work' into migratie_collections 2023-05-23 15:26:21 +05:30
Neeraj Gupta 90bb00fefb Perf:Avoid redundant reading and decrypting all collections 2023-05-23 15:20:54 +05:30
Neeraj Gupta be65123544 CollectionSync: Remove unused return value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:18:30 +05:30
Neeraj Gupta f4d7407d6e CollectionSync: Remove unused return value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:16:49 +05:30
Neeraj Gupta fe576ef85c Fix typo
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:12:08 +05:30
Neeraj Gupta e822307423 Fix: Update collection after api success
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:10:45 +05:30
Neeraj Gupta f7fbb77887 Minor refactor for name decryption 2023-05-23 14:54:39 +05:30
Neeraj Gupta 5aae4f4157 refactor: move user class in separate file
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 11:24:35 +05:30
Neeraj Gupta b24bf451b6 refactor: extract PublicUrl outside collection.dart
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 11:08:17 +05:30
Neeraj Gupta 318865396b Refactor: move error to corresponding pkg
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 10:57:34 +05:30
Neeraj Gupta cf35fe10b9 Mark method private
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 10:54:45 +05:30
Neeraj Gupta e2e1d7ef13
Replace collection.name usage with collection.displayName 2023-05-23 10:26:48 +05:30
Neeraj Gupta ad96656472
Support for translating local_auth strings 2023-05-18 22:31:54 +05:30
Neeraj Gupta b9a41b2536
Add hook to upload file while viewing 2023-05-16 17:13:54 +05:30
Neeraj Gupta f629097252
Add trailing comma 2023-05-15 14:58:27 +05:30
Neeraj Gupta 76d4f7ae29
ObjectDetection: Return score with label 2023-05-11 14:14:34 +05:30
Neeraj Gupta 2a4d266bcc
Tweak minimum scores 2023-05-11 13:08:02 +05:30
Neeraj Gupta d893b91488
use final keyword 2023-05-11 12:35:07 +05:30
Neeraj Gupta 4ceaa4dd2e
l10n: extract strings for family plan 2023-05-09 14:28:40 +05:30
Neeraj Gupta 6412f8901e
Perf: Do not wait for objectService init during app start 2023-05-08 22:35:24 +05:30
Neeraj Gupta 1552f39865
Add change log entry 2023-05-07 09:27:26 +05:30
Neeraj Gupta ef5d47c584
Fix bug in handling file update 2023-05-03 17:44:59 +05:30
Neeraj Gupta 3e4bd6ec1e
Fix: Add check for valid location to handle NAN values 2023-05-03 10:25:07 +05:30
Neeraj Gupta c20cb8040a
Handle infinite or Nan values 2023-05-02 17:43:21 +05:30
Neeraj Gupta 91e835cdfd
Computer: Switch to forked version + enable debuglogs (#1042) 2023-05-01 11:40:42 +05:30
Ashil 38b7d04a70
Tests for exif to location parsing (#1045) 2023-04-29 17:27:48 +05:30
ashilkn 0d45b08a12 Remove regex 2023-04-29 17:25:39 +05:30
ashilkn e6d65866a6 Make latRef and longRef of GPSData final 2023-04-29 17:11:00 +05:30
Ashil 299d1bb117
Custom radius (#1039) 2023-04-29 16:15:21 +05:30
Neeraj Gupta db61826504
Clean up: Remove old migration code 2023-04-29 14:16:08 +05:30
Neeraj Gupta 87333c83d5
[Perf] Avoid redundant method call via compute 2023-04-29 14:03:44 +05:30
Neeraj Gupta 0fcf40b12a
Refactor: Directly ref shared computer instead of passing as variable 2023-04-29 13:55:31 +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