Commit graph

1111 commits

Author SHA1 Message Date
Neeraj Gupta cf28c69058
Use milliSec instead of microSec while calling photo manager 2022-10-03 14:08:00 +05:30
Neeraj Gupta 4f6d64f7a2
[FileUpdate]Limit number of files processed in a singleRun 2022-10-03 11:15:23 +05:30
Neeraj Gupta 90d1ce2271
[iOS] Skip re-upload check on mismatch of local and remote modTime 2022-10-03 11:07:18 +05:30
Neeraj Gupta 292b700208
remove re-upload for missing location logic 2022-10-03 10:16:01 +05:30
Neeraj Gupta 327ea4e595
Search: Do not getAllFiles from DB on localPhoto update event 2022-10-02 23:43:25 +05:30
vishnukvmd 996996e151 Ignore Recent on Android 2022-09-29 16:29:19 +05:30
Neeraj Gupta d71dc7463e
Fix: Show newly queued up files for upload on UI 2022-09-29 15:41:55 +05:30
Neeraj Gupta a2603a7dd9
Show progress dialog on folder selection update 2022-09-29 14:19:50 +05:30
Neeraj Gupta f2244f8ae2
Show import progress on loading screen 2022-09-27 09:39:36 +05:30
Neeraj Gupta f4e05db855
Merge branch 'rewrite_device_sync' of github.com:ente-io/frame 2022-09-26 17:47:31 +05:30
Ashil 0803130e5f
Merge pull request #530 from ente-io/video-loader
Video loader
2022-09-26 14:24:10 +05:30
Neeraj Gupta 40e96f1cec
Merge branch 'ente_theme' into rewrite_device_sync 2022-09-26 14:07:16 +05:30
Neeraj Gupta ef924f1545
improve local photo visiblity on import 2022-09-26 14:04:37 +05:30
ashilkn 0e3d6afc76 video loader bug fix for files in which diff is not fetched yet 2022-09-26 13:08:08 +05:30
Neeraj Gupta e7261c6eec
Fix mapping of edited files on Android 2022-09-23 19:42:31 +05:30
ashilkn 5ff88756af renamed kBooleanFeatureFlagsKey to _featureFlagsKey 2022-09-23 16:28:58 +05:30
Neeraj Gupta f8204ca65d
re-scan files for upload after initial upload 2022-09-23 16:02:57 +05:30
ashilkn de0988ff51 remove prefix letter 'k' from constant 2022-09-23 13:54:21 +05:30
ashilkn 5e4db4b2a0 migrated feature_flag_service.dart to null safety 2022-09-23 13:53:22 +05:30
ashilkn 0d7e44c7f5 removed unused code 2022-09-23 13:42:14 +05:30
ashilkn f3213cc848 convert to getters 2022-09-23 07:18:25 +05:30
ashilkn 61a5553d36 migrated constants.dart to null safety 2022-09-22 10:56:14 +05:30
Ashil 19123c1957
Merge pull request #518 from ente-io/migrate-to-null-safety
Migrate to null safety
2022-09-22 10:41:21 +05:30
Neeraj Gupta 74c26628d6
Fix: Show backup folder option during onboarding 2022-09-21 20:21:14 +05:30
ashilkn 8d7758a70f Merge branch 'rewrite_device_sync' into migrate-to-null-safety 2022-09-21 18:11:41 +05:30
Neeraj Gupta 99a5bd8ff0
Merge branch 'rewrite_device_sync' of github.com:ente-io/frame into rewrite_device_sync 2022-09-21 17:57:39 +05:30
Neeraj Gupta 0a6d6f0f62
Merge branch 'master' into rewrite_device_sync 2022-09-21 17:57:09 +05:30
ashilkn 3041351d03 migrated app_lifecycle_service.dart to null safety 2022-09-21 17:50:59 +05:30
Neeraj Gupta de9d6e7541
RecoveryKeyVerification: remove notification is verified on different device 2022-09-21 15:48:42 +05:30
ashilkn 51eb2cceff Merge branch 'migrate-to-null-safety' into migrate-to-null-safety-2 2022-09-21 10:58:47 +05:30
ashilkn 5d69149ae6 Merge branch 'migrate-to-null-safety' of https://github.com/ente-io/frame into migrate-to-null-safety 2022-09-21 10:56:21 +05:30
ashilkn d4c226d10a migrated notification_service.dart to null safety 2022-09-21 09:52:43 +05:30
Neeraj Gupta 5920abe112
use firstWhereOrNull 2022-09-20 23:31:21 +05:30
Neeraj Gupta e6bc277fa3
Merge branch 'rewrite_device_sync' of github.com:ente-io/frame into rewrite_device_sync 2022-09-20 23:25:14 +05:30
Neeraj Gupta 8734c94a4e
Merge branch 'master' into rewrite_device_sync 2022-09-20 23:24:47 +05:30
ashilkn c9bbb80c05 remove prefix letter 'k' from constants in constants.dart 2022-09-20 17:23:32 +05:30
Neeraj Gupta 113d77a456
fix delay 2022-09-20 16:49:03 +05:30
Neeraj Gupta aed002157c
minor bug fixes 2022-09-20 16:03:22 +05:30
Neeraj Gupta 6bab218942
refactor 2022-09-20 11:55:22 +05:30
Neeraj Gupta ca940e9c64
Add UserRemoteFlag service 2022-09-20 11:35:34 +05:30
ashilkn 3e8bfc6f29 remove prefix letter 'k' from constants 2022-09-19 17:22:20 +05:30
Neeraj Gupta 144e86dcbf
Add UserRemoteFlag service 2022-09-19 15:46:52 +05:30
Neeraj Gupta c4eb36188c
bug fix 2022-09-16 21:20:00 +05:30
Neeraj Gupta 5059a4f102
remove debugLogs 2022-09-16 17:45:10 +05:30
Neeraj Gupta f7ed0a3db6
Search: Support for search by calendar date & specific day 2022-09-16 17:41:16 +05:30
ashilkn 624397c6f0 replace regex check with checking after converting to lower case on search 2022-09-16 11:43:24 +05:30
Neeraj Gupta c70f6babcc
FixBug: ensure getOrCreateForPath does not return deleted collection 2022-09-15 13:12:14 +05:30
Neeraj Gupta b52ea8f302
remove unused method: getCollectionForPath 2022-09-15 12:55:46 +05:30
Neeraj Gupta 2ef7c7ce01
CollectionService: remove getCollectionNameByID method
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-09-15 12:41:57 +05:30
Neeraj Gupta 5f5caeb887
Remove disableUrl sharing feature flag 2022-09-15 11:04:22 +05:30
Neeraj Gupta c4846a55a5
remove enableSearch feature flag 2022-09-15 10:54:04 +05:30
Neeraj Gupta c730e36201
Search: Support for searching by fileExtension 2022-09-15 10:14:09 +05:30
Neeraj Gupta db37c8b6dd
Support for searching by type:Image/Video/LivePhoto 2022-09-15 09:59:46 +05:30
Neeraj Gupta 0080d82d22
Fix typo 2022-09-14 16:27:47 +05:30
Neeraj Gupta bffc967e21
more refactoring 2022-09-14 16:25:45 +05:30
Neeraj Gupta 40ddbc968f
SearchService: mark method getAllFiles as private 2022-09-14 14:03:51 +05:30
Neeraj Gupta 819a8ad6d3
Debug: Add option to clear ignored files 2022-09-13 14:03:37 +05:30
Neeraj Gupta a7766d3b30
Merge branch 'master' into rewrite_device_sync 2022-09-13 13:16:35 +05:30
Neeraj Gupta 75e0341606
Fix: fire syncTrash after emptying trash 2022-09-13 12:49:13 +05:30
Neeraj Gupta 06e619e9b3
Add support for trashing collections 2022-09-13 12:14:10 +05:30
Neeraj Gupta 8b2a8554db
minor refactor 2022-09-13 09:14:48 +05:30
Neeraj Gupta ff5117f55f
Merge pull request #474 from ente-io/part_5_local_file_speed
Part 5: Fix minor issues for while showing local files
2022-09-12 21:35:16 +05:30
Neeraj Gupta f7723b2bc5
migrate only after first import is done 2022-09-12 17:49:05 +05:30
Neeraj Gupta ca282c4979
Fix: Refresh device folder state on PhotoManager callback 2022-09-12 17:34:19 +05:30
Neeraj Gupta df6f6c7d60
set collectionID as null instead of -1 2022-09-12 14:59:01 +05:30
Ashil 67d318d6b5
Merge pull request #469 from ente-io/incremental-migration-to-null-safety
Migrate all search models to null safety
2022-09-12 12:35:48 +05:30
Neeraj Gupta 178e68a3da
minor refactor 2022-09-12 11:49:17 +05:30
Neeraj Gupta 6b22064590
Fix logic to show backupfolder hook 2022-09-12 11:45:22 +05:30
Neeraj Gupta 64363dcac4
Fire TrashUpdatedEvent and refresh trashCount based on that 2022-09-12 10:29:13 +05:30
Neeraj Gupta b44c349c10
Add missing await and use unawaited for remote sync 2022-09-12 10:12:53 +05:30
Neeraj Gupta 7ba4ccb16b
add log when syncing remote is resulting in forceReload of gallery 2022-09-12 10:07:18 +05:30
Neeraj Gupta d61d456217
[Part-4] Mark all folders for backup when limited permission is granted 2022-09-10 10:06:41 +05:30
ashilkn b9bd97446e Merge branch 'rewrite_device_sync_remote' of https://github.com/ente-io/frame into incremental-migration-to-null-safety 2022-09-09 17:58:37 +05:30
Neeraj Gupta e14f44e6bd
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-09 17:51:23 +05:30
Neeraj Gupta 6aa01ce833
minor refactor 2022-09-09 17:50:37 +05:30
ashilkn eea38d6857 Merge branch 'rewrite_device_sync_remote' of https://github.com/ente-io/frame into incremental-migration-to-null-safety 2022-09-09 17:10:02 +05:30
Neeraj Gupta 53ce251528
remove unused variable 2022-09-09 16:01:29 +05:30
Neeraj Gupta 01c29037dd
Handle cancellation for uploads when folder is unmarked for backup 2022-09-09 15:04:09 +05:30
ashilkn 78392da517 resolved merge conflicts 2022-09-09 12:56:59 +05:30
Neeraj Gupta 5851e48fe1
minor refactor 2022-09-08 11:24:07 +05:30
Neeraj Gupta 83067bc523
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-08 10:50:27 +05:30
Neeraj Gupta 3c6acb85ba
Merge branch 'master' into rewrite_device_sync 2022-09-08 10:49:21 +05:30
Ashil 9c0226e549
Merge pull request #467 from ente-io/migrate-to-null-safety
started incremental migration to null safety
2022-09-07 18:12:31 +05:30
ashilkn c1722959e7 resolve merge conflicts 2022-09-07 17:56:24 +05:30
Neeraj Gupta c99fe1bf59
Merge branch 'master' into rewrite_device_sync_remote 2022-09-07 17:31:00 +05:30
Neeraj Gupta 28dda0443b
Merge branch 'master' into rewrite_device_sync 2022-09-07 17:30:39 +05:30
Neeraj Gupta bb038e043b
Fix stupid bug: continue instead of break 2022-09-07 17:01:11 +05:30
Neeraj Gupta a5b516b643
Migrate existing backup folder selection 2022-09-07 16:20:02 +05:30
Neeraj Gupta cc0c6e3442
Import files from recent collection (isAll True) in the end 2022-09-07 16:01:18 +05:30
ashilkn eb7c1ec837 started incremental migration to null safety 2022-09-07 14:00:09 +05:30
Neeraj Gupta 591e8ba1d9
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-07 13:50:43 +05:30
Neeraj Gupta f7d90f2b08
refresh ui on device folder change 2022-09-07 13:45:48 +05:30
Neeraj Gupta 29a0ebad8e
By default, only add to collection if file not already uploaded 2022-09-07 10:58:50 +05:30
Neeraj Gupta e9e57a6f75
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-06 23:11:04 +05:30
Neeraj Gupta 9e78775167
Fire event on backup folder updation 2022-09-06 23:09:05 +05:30
Neeraj Gupta 00cbc2e60c
Remove unsued device_folder and rename file 2022-09-06 22:19:02 +05:30
Neeraj Gupta f61ee05fbf
Merge branch 'master' into rewrite_device_sync 2022-09-06 22:14:25 +05:30
Vishnu Mohandas 49802befa0
Merge pull request #454 from ente-io/handle-cases-for-no-password-on-device 2022-09-06 17:50:39 +05:30
Neeraj Gupta 1612b4f8f6
Show error if user tries to link existing subscription to another account 2022-09-06 17:02:22 +05:30
ashilkn 9637a5df49 Merge branch 'master' into handle-cases-for-no-password-on-device 2022-09-06 14:08:14 +05:30
ashilkn 4bf751ea28 refactoring + variable name changes 2022-09-06 14:05:34 +05:30
Neeraj Gupta d9217dee41
Fix typo 2022-09-05 23:00:53 +05:30
ashilkn 1b06395e9c create service file for local authentication 2022-09-05 16:02:04 +05:30
ashilkn 80557f0adf Merge branch 'master' into handle-cases-for-no-password-on-device 2022-09-05 15:25:34 +05:30
Neeraj Gupta 53d1ee491a
Merge pull request #462 from ente-io/fix_sync_ui_status
Fix missing feedback for remote sync
2022-09-05 15:23:09 +05:30
Ashil 9f71a4c2e7
Merge pull request #459 from ente-io/dedupe-screen-changes
Dedupe screen changes
2022-09-05 15:02:30 +05:30
Neeraj Gupta cf92871a64
minor fix 2022-09-05 14:33:49 +05:30
Neeraj Gupta 491fb0b19a
Fix missing feedback for remote sync 2022-09-05 14:14:21 +05:30
Neeraj Gupta b96c2814af
rename 2022-09-05 13:43:47 +05:30
Neeraj Gupta 4a011b3d56
Improve logic for resetting syncTime 2022-09-05 13:38:10 +05:30
ashilkn f81c8791d4 Merge branch 'master' into handle-cases-for-no-password-on-device 2022-09-05 05:30:00 +05:30
ashilkn 7b3812044d Merge branch 'master' into dedupe-screen-changes 2022-09-05 05:28:23 +05:30
Neeraj Gupta 536d8b0440
Rewrite storeDiff logic to fix matching bugs 2022-09-04 17:12:22 +05:30
ashilkn 145b998294 sort clubbed dedepue files in alphabetical order of collection names 2022-09-03 20:01:46 +05:30
ashilkn c1da25fa7a removed commented code + bug fix 2022-09-03 08:32:42 +05:30
ashilkn 18abdb089d Merge branch 'master' into handle-cases-for-no-password-on-device 2022-09-03 07:16:37 +05:30
ashilkn c2272879f1 extracted local authentication to LocalAuthenticationService 2022-09-02 19:50:03 +05:30
Neeraj Gupta 1ad387979e
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-02 14:12:46 +05:30
Neeraj Gupta 298c94bb65
Merge branch 'match_bug_fix' into rewrite_device_sync 2022-09-02 14:12:14 +05:30
Neeraj Gupta 81beff6f1d
Merge pull request #415 from ente-io/reupload_hash_check
[Part-0] Rewrite Sync: Use hash to avoid duplicate uploads
2022-09-02 12:07:45 +05:30
Neeraj Gupta 06cc2d083f
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-01 20:57:09 +05:30
Neeraj Gupta a018d33478
minor fixes 2022-09-01 20:56:51 +05:30
Neeraj Gupta b15c8528db
minor rename 2022-09-01 20:46:57 +05:30
Neeraj Gupta 567804f0f9
minor formatting and rename 2022-09-01 20:39:47 +05:30
Neeraj Gupta 7e6a54d318
ensure photo is not uploaded to Recent whenever possible 2022-09-01 18:11:32 +05:30
Neeraj Gupta 7a18d3ab38
make final 2022-09-01 15:11:50 +05:30
Neeraj Gupta eec540af93
review changes 2022-09-01 14:17:57 +05:30
Neeraj Gupta 226c064d82
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-09-01 09:45:17 +05:30
Neeraj Gupta c0f47ec0e9
Merge branch 'master' into rewrite_device_sync_remote 2022-09-01 09:05:04 +05:30
Neeraj Gupta a5a135a611
minor rename refactoring 2022-09-01 01:34:02 +05:30
Neeraj Gupta 718fcdf6cb
Rename device_collection.sync -> should_backup 2022-09-01 00:21:17 +05:30
Neeraj Gupta dc0c856a4c
rename DevicePathCollection to DeviceCollection 2022-09-01 00:09:39 +05:30
Neeraj Gupta e09e585c5f
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-31 23:58:48 +05:30
Neeraj Gupta 046dfc610a
FileUploader: return new or updated file after file linking to existing file 2022-08-31 23:46:04 +05:30
Neeraj Gupta cddcc786dc
Merge branch 'master' into reupload_hash_check 2022-08-31 23:16:12 +05:30
Neeraj Gupta cfc55d7df3
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-08-30 13:11:35 +05:30
Neeraj Gupta 19832b82b5
Merge branch 'master' into rewrite_device_sync_remote 2022-08-30 13:03:54 +05:30
Ashil Kandapath 5850074120 minor changes 2022-08-30 12:13:51 +05:30
Ashil Kandapath d81c43268b resolved merge conflicts 2022-08-30 11:44:57 +05:30
Neeraj Gupta 708512093e
make method private 2022-08-30 11:36:33 +05:30
Neeraj Gupta 9778c2f42b
undo redundant changes 2022-08-30 10:58:15 +05:30
Neeraj Gupta 22a1f5dde6
Simplify removal of ignoredFiles + documentation 2022-08-30 10:48:34 +05:30
Neeraj Gupta 2bbacb26ee
mark variables as final when possible 2022-08-29 23:35:13 +05:30
Neeraj Gupta 1533ac4098
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-29 23:32:00 +05:30
Neeraj Gupta 792dd67ade
Merge branch 'master' into reupload_hash_check 2022-08-29 23:20:21 +05:30
Neeraj Gupta 531b4a0490
add review comments 2022-08-29 23:13:17 +05:30
vishnukvmd 06ec7cb658 final all the vars! 2022-08-29 20:13:31 +05:30
Neeraj Gupta 68738c5c56
Refactor fileHash handling 2022-08-29 13:28:49 +05:30
Neeraj Gupta 124672768e
refactor 2022-08-29 10:38:18 +05:30
Neeraj Gupta 28b5e9710f
mark field as final 2022-08-29 10:11:38 +05:30
Neeraj Gupta 399cad4561
refactor: rename 2022-08-29 10:00:28 +05:30
ashilkn 89892ea9f1 enable extra hidden features only for internal testers or on debug build 2022-08-27 15:24:06 +05:30
Neeraj Gupta 3cd3c2dd81
Fix handling of re-upload of deleted file 2022-08-27 12:00:41 +05:30
Neeraj Gupta 8ec13b05e9
Fix handling of re-upload of deleted file 2022-08-27 11:16:04 +05:30
Neeraj Gupta e72ab4f52d
Clear ignoredFiles db while resetting db 2022-08-26 17:07:59 +05:30
Neeraj Gupta 38b719c61e
Fix handling for ignored files 2022-08-26 17:07:31 +05:30
Neeraj Gupta 7b043fff30
Sync mapping from device albums to files table 2022-08-26 16:30:22 +05:30
Neeraj Gupta 22cdf59f6e
Merge branch 'rewrite_device_sync' into rewrite_device_sync_remote 2022-08-26 15:04:59 +05:30
Neeraj Gupta 23bd6ff6ba
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-26 15:04:40 +05:30
Neeraj Gupta cdf6d5d334
Merge branch 'master' into reupload_hash_check 2022-08-26 15:04:15 +05:30
Neeraj Gupta 38771a9402
Put search behind remote feature flag 2022-08-26 14:59:49 +05:30
Neeraj Gupta 72043e9f0d
temp 2022-08-26 14:51:44 +05:30
Neeraj Gupta 919186a9c9
Fix: only attempt to update files ownedBy user 2022-08-26 12:34:41 +05:30
Neeraj Gupta 5ad1196172
Remove redundant method for uploading editedFiles 2022-08-26 12:04:41 +05:30
Neeraj Gupta 3bcb907f85
Fire LocalPhotosUpdatedEvent on local mapping change 2022-08-26 11:21:40 +05:30
vishnukvmd 4da025a419 Fix typos 2022-08-25 17:11:49 +05:30
Neeraj Gupta e221b20ad8
Remove redundant devicePathID field from File 2022-08-25 15:12:37 +05:30
Neeraj Gupta 6db967bbc1
refactor 2022-08-25 14:53:33 +05:30
Neeraj Gupta b588221ff1
Simplify getDeviceFiles 2022-08-25 14:32:03 +05:30
Neeraj Gupta 11edab5783
remove redundant sorting 2022-08-25 13:49:15 +05:30
Neeraj Gupta 9bdf2e8ed6
log syncAll timeTaken 2022-08-24 17:00:40 +05:30
Neeraj Gupta c6c955c889
Return unique files while returning unsynced assets 2022-08-24 16:44:10 +05:30
Neeraj Gupta 64efda4284
Avoid unncessory converstion from localID to File 2022-08-24 16:26:44 +05:30
Neeraj Gupta 3db9b64e36
minor refactor 2022-08-24 16:02:41 +05:30
Neeraj Gupta 1bae350ec3
create & track collections for devicePath marked for sync 2022-08-24 10:08:16 +05:30
Neeraj Gupta 0502cd20da
Refactor and honor select all folder sync 2022-08-23 16:45:15 +05:30
Neeraj Gupta aa9943e209
Sync device album add/remove changes to local db 2022-08-23 13:30:09 +05:30
Neeraj Gupta cf84d21ac2
Fix refresh for device path cover and count 2022-08-23 11:08:18 +05:30
ashilkn adf093a57f fixed range error fix for months 2022-08-22 17:10:27 +05:30
Neeraj Gupta 08bf7d478c
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-22 16:28:55 +05:30
Neeraj Gupta d24daaa332
Fix bug in deleting entries from file_migrations db 2022-08-22 16:28:42 +05:30
Neeraj Gupta d3e0eebacb
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-22 16:06:47 +05:30
Neeraj Gupta 74734d47f2
Merge branch 'master' into reupload_hash_check 2022-08-22 16:03:26 +05:30
Neeraj Gupta 7513fcdfea
Fix range error in HolidaySearch suggestions 2022-08-22 13:22:22 +05:30
ashilkn 1d40e4833d misc. changes 2022-08-22 11:32:06 +05:30
ashilkn 32190e1ea5 modified getYearSearchResults service to handle more than one year + refactoring 2022-08-22 10:48:28 +05:30
ashilkn ce84ad1125 bug fix on holiday search and files not shown for current year holidays 2022-08-19 10:35:21 +05:30
ashilkn eded31210c Made month reslut widget + fixed bug on searching 'december' 2022-08-17 17:18:25 +05:30
ashilkn aa2f85af93 Made service for month search and added results to allResults 2022-08-17 16:20:40 +05:30
ashilkn ffe3d37726 minor changes 2022-08-17 14:05:16 +05:30
ashilkn d59aa30957 removed unnecessary for loops + other improvements 2022-08-16 17:19:58 +05:30
ashilkn fd6e8c7d76 minor changes 2022-08-16 15:49:26 +05:30
ashilkn dec2029814 fixed merge conflicts 2022-08-16 13:00:17 +05:30
ashilkn 5b4b86d964 refactoring 2022-08-16 12:43:21 +05:30
ashilkn 4c2fc2b5f6 moved constant holiday data to a new file 2022-08-16 12:24:05 +05:30
ashilkn d2a0ff3cde refactoring/restructuring 2022-08-15 19:33:42 +05:30
ashilkn eeb477598b changes to holidays search service and type of object returned by it 2022-08-15 17:32:56 +05:30
vishnukvmd a124211f27 Fix ordering of search results within a year 2022-08-13 18:40:01 +05:30
ashilkn e3d07556e7 Made serive to find matching holiday queries and stored it into the results of suggestions 2022-08-12 16:38:26 +05:30
ashilkn f9f87f0435 made static map of holidays + made a class to store holiday data as it's object 2022-08-12 15:13:15 +05:30
ashilkn 3f2e70a44a minor changes 2022-08-12 12:07:19 +05:30
ashilkn 7822ed7f68 mixed merge conflicts 2022-08-12 11:30:41 +05:30
vishnukvmd 1e047d6e4b Fix logger name 2022-08-11 20:08:43 +05:30
ashilkn c134bffc66 Merge branch 'master' into search-by-year 2022-08-11 19:16:24 +05:30
ashilkn 50c39dc768 made search service for search by year and stored it to the results variable which is passed on to the SearchSuggestionsWidget() 2022-08-11 18:52:30 +05:30
vishnukvmd 08841b22c3 Rename variable 2022-08-11 18:00:15 +05:30
vishnukvmd f25045b92a Fetch 10 results for location searches 2022-08-11 17:18:09 +05:30
vishnukvmd 91e2226eaa Gracefully handle all errors while querying by location 2022-08-11 13:34:58 +05:30
vishnukvmd e254e6e64e Sort location search results by the latest file first 2022-08-11 13:14:42 +05:30
vishnukvmd b7f546644c Remove separate cache for files 2022-08-11 13:12:06 +05:30
ashilkn 9c24051b28 used more consistant names for methods 2022-08-11 11:50:39 +05:30
ashilkn 865ad15827 code refactoring 2022-08-11 11:10:29 +05:30
ashilkn ebf389e598 code refactoring 2022-08-11 10:45:42 +05:30
ashilkn e33384be8f logic changes and code refactoring on search_service.dart 2022-08-10 18:57:04 +05:30
ashilkn 9109ee46cb minor changes 2022-08-10 15:39:56 +05:30
ashilkn d773ecc831 misc. changes 2022-08-10 10:18:40 +05:30
ashilkn a0a4e3d1f3 moved getFilteredCollectionsWithThumbnail to search_service.dart 2022-08-09 20:39:18 +05:30
ashilkn 260cbb22a5 code refactor + used new object to find matching files for location 2022-08-09 20:10:50 +05:30
ashilkn 55b27a9015 made new classes to store the locaiton api response as objects of them 2022-08-09 17:53:43 +05:30
ashilkn 52ee30eee9 moved getLocationsAndMatchedFiles to search_service.dart 2022-08-08 10:45:06 +05:30
ashilkn f970869c57 misc. changes 2022-08-06 23:26:36 +05:30
ashilkn a54c212876 added hero animation from location suggestion to location collection 2022-08-06 20:56:07 +05:30
ashilkn dd9cb3aac9 added solution for an edge case for search 2022-08-06 19:14:52 +05:30
ashilkn 18fb6917ae added delay for caching files after init + cached files will be deleted on logging out 2022-08-06 18:05:29 +05:30
Neeraj Gupta b15fcc7c70
Support for removing entries from IgnoreFiles when tries to add unuploaded files to collection 2022-08-05 21:23:28 +05:30
Neeraj Gupta 65f929fbdd
rename method 2022-08-05 17:43:51 +05:30
Neeraj Gupta 7055b618d1
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-05 17:24:23 +05:30
Neeraj Gupta 9ad4ac2068
backfill existing rows with missingLocation reason 2022-08-05 17:05:32 +05:30
Neeraj Gupta 4d0059df29
Use fileMigrationDB for verifying if file needs update 2022-08-05 16:39:56 +05:30
Neeraj Gupta 1f7c4c3b9f
Use fileHash to avoid re-upload of already uploaded files 2022-08-05 15:20:03 +05:30
ashilkn 172cda39a2 vishnu' restructure with errors 2022-08-04 21:46:16 +05:30
ashilkn c3c8050663 made an object to store location and matching files and used it wherever needed 2022-08-04 13:08:31 +05:30
ashilkn f6d02d575a moved files caching to search_service.dart 2022-08-04 12:16:39 +05:30
ashilkn 2428ca16a3 set limit of collection suggestions to not greater than 20 2022-08-04 11:22:03 +05:30
ashilkn bb13623704 added limits to suggestions of collection and file name search 2022-08-04 10:21:23 +05:30
ashilkn 40bee92e64 modified code to work with the new object returned by getLocationsToMatchedFiles 2022-08-03 16:39:11 +05:30
ashilkn 96c68e6d99 simplified the the return of getLocationSearchData()(renamed it to getLocationsToMatchedFiles) from a list to a smaller map 2022-08-03 15:53:41 +05:30
ashilkn 7c379bcdab removed objects for which no files are present in the location key from the list of objects returned by getLocationSearchData 2022-08-02 09:47:38 +05:30
ashilkn 611c252a07 minor fix 2022-08-02 09:15:06 +05:30
ashilkn 1e029d208d typo fix 2022-08-02 09:02:55 +05:30
ashilkn 634ce7e013 cached file name, made functions to return location name and files 2022-08-01 21:06:24 +05:30
Neeraj Gupta 6429820485
refactor 2022-08-01 16:35:16 +05:30
ashilkn 46f96b6b50 minor changes 2022-07-29 15:17:13 +05:30
ashilkn b90ae84d67 added try catch block, modified the data returned by getLocationSearchData() 2022-07-29 14:52:09 +05:30
Neeraj Gupta 3fdb422c64
Refactor mile migration service 2022-07-29 11:36:03 +05:30
ashilkn 9fa691a1d3 made api call service for location search 2022-07-29 10:57:39 +05:30
ashilkn 72f3c70804 minor changes 2022-07-28 11:24:40 +05:30
Neeraj Gupta b2cf52c31a
minor refactor 2022-07-28 10:25:54 +05:30
ashilkn c1b4ad8e38 minor changes 2022-07-27 12:43:22 +05:30
ashilkn af492c61a1 fixed no such method error 2022-07-27 11:45:15 +05:30
ashilkn 8e0e9e9e1e created CollectionWithThumbnail object list which is to be returned by getSearchedCollections() 2022-07-27 11:15:20 +05:30
Neeraj Gupta 52dbb2789f
Support for fetching device path collections from db 2022-07-26 13:08:04 +05:30
ashilkn ab4a2db60b minor changes + refactoring 2022-07-26 13:02:55 +05:30
Neeraj Gupta ae72969982
Support for storing latest file as deviceFolder cover 2022-07-26 11:02:04 +05:30
ashilkn c7f1d182be removed print and debug print statements 2022-07-25 19:30:07 +05:30
ashilkn 950ae2645c added feature flag for search feature 2022-07-25 17:22:16 +05:30
ashilkn 5ecda81dbd remove priority search + refactor 2022-07-25 15:38:19 +05:30
Neeraj Gupta d08d8da173
refactor 2022-07-25 13:09:34 +05:30
Neeraj Gupta 99f02574b3
Persist device pathID to name mapping 2022-07-24 22:52:12 +05:30
Neeraj Gupta e7d6aa48d0
DeveloperMode: Support for deleting local sync state
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:34:53 +05:30
Neeraj Gupta 6cb98a9309
LocalSync: Change scope for get<Local|Ignore|Download>IDs to pvt
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:25:02 +05:30
Neeraj Gupta 870564dabf
LocalSync: Add pathID in while getting deviceFiles.
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:20:19 +05:30
Neeraj Gupta c0e3267ad0
rename 2022-07-23 15:18:33 +05:30
Neeraj Gupta facdabc772
Test: Disable upload for testing 2022-07-23 13:22:18 +05:30
Neeraj Gupta 470c5de015
add table for device_files and device_path_collections 2022-07-21 18:33:33 +05:30
Neeraj Gupta d5296cbd5b
more clean up in local file sync util 2022-07-20 15:30:10 +05:30
Neeraj Gupta fa17c7562b
Remove redundant update
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-20 14:18:53 +05:30
Neeraj Gupta 5d9764b8d0
Refactor file_sync_util and remove special check for recent/duplicate files 2022-07-20 14:16:53 +05:30
ashilkn fd2f89e1b9 renamed file + collection search service now returns an object with results marked with levels of relevance 2022-07-19 17:22:16 +05:30
ashilkn c281c3dc73 made a service to get cached collection ids on search 2022-07-19 14:51:52 +05:30
Neeraj Gupta cfe79220d5
Remove email verification success toast 2022-07-14 18:59:29 +05:30
Neeraj Gupta 3376945609
reduce stacktrace noise from user logs 2022-07-13 09:12:37 +05:30
Neeraj Gupta d82856e795
Remove unused code 2022-07-12 09:30:36 +05:30
Vishnu Mohandas 76b4012e6e
Merge pull request #385 from ente-io/post-ott 2022-07-11 19:39:07 +05:30
Neeraj Gupta 989c764d87
Fix typo 2022-07-08 15:05:09 +05:30
Neeraj Gupta b123b2301c
Add API to fetch delete challenge 2022-07-08 14:20:19 +05:30
Neeraj Gupta e0cd9e0233
Add api for deleting user 2022-07-07 15:39:37 +05:30
Manav fdd18e1545 Use the new POST variant of the /users/ott endpoint 2022-07-06 22:27:31 +05:30
Neeraj Gupta edabfe6da3
lint: enable prefer_const_constructors_in_immutables rule 2022-07-04 14:13:01 +05:30
Neeraj Gupta 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
Neeraj Gupta fdadf36baa
Lint fixes 2022-07-03 15:39:01 +05:30
Neeraj Gupta 1911f8fa83
dart format 2022-07-03 15:19:33 +05:30
Neeraj Gupta 590715c9d8
Fix few flutter_lint hints 2022-07-03 15:15:00 +05:30
Neeraj Gupta 6a0e7b2315
Fix more lint issues 2022-07-03 13:17:15 +05:30
Neeraj Gupta c15e054204
Lint fixes for trailing comma 2022-07-03 12:26:43 +05:30
Neeraj Gupta a382a02196
Organize ui widgets in separate folders 2022-07-01 19:48:05 +05:30
Neeraj Gupta 1e3475194d
enhance logs 2022-06-29 10:26:11 +05:30
Neeraj Gupta d0090080ee
minor fixes 2022-06-29 10:19:19 +05:30
Neeraj Gupta 57b447ee50
enhance logs for asset re-upload scenarios 2022-06-29 10:10:06 +05:30
Neeraj Gupta d588df6abd
ensure that config is init before UserService 2022-06-23 18:40:35 +05:30
Neeraj Gupta ce202c94b3
Update email on UI on emailChange 2022-06-23 18:36:35 +05:30
Neeraj Gupta 5b9d332649
Fix change email flow 2022-06-23 17:42:19 +05:30
Neeraj Gupta b93379b8b2
use fetchUploadUrl instead of canUpload wrapper 2022-06-22 16:49:12 +05:30
Neeraj Gupta 76f279cb83
address review comment 2022-06-22 12:49:34 +05:30
Neeraj Gupta 3135538514
Log known error as warning and unhandled as server error 2022-06-22 12:00:58 +05:30
Neeraj Gupta 2f847e0ccc
Verify if user can upload more files before preparing files for upload 2022-06-22 11:57:36 +05:30
Manav 82c26ef1c9
Merge pull request #337 from ente-io/hide_hidden_memories
Hide hidden memories from memories widget 🍭
2022-06-21 18:48:31 +05:30
Neeraj Gupta 03ea93f277
Hide hidden collections from memories 2022-06-21 18:25:39 +05:30
Neeraj Gupta 22cf83faf0
Fix: Sync all files on disk change when limited permission is granted 2022-06-21 12:48:49 +05:30
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30