Commit graph

552 commits

Author SHA1 Message Date
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 3dbfb36680 Remove any stale enteries in DB 2023-05-24 12:23:33 +05:30
Neeraj Gupta b98e9c8aec Merge branch 'perf_minor' into migratie_collections 2023-05-23 17:04:38 +05:30
Neeraj Gupta 113d3e5709 Perf: Avoid reading entire collections while sync diff 2023-05-23 16:13:07 +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 0c5dfbfc25
[collections-migration] Add db script to create table in filesdb 2023-05-23 09:37:01 +05:30
Neeraj Gupta ef5d47c584
Fix bug in handling file update 2023-05-03 17:44:59 +05:30
ashilkn 27abbbcae2 Add unit of raidus in dialog used to enter custom radius 2023-04-28 15:20:52 +05:30
Neeraj Gupta 207bc7e223
Add migration script for fixing badLocation coordinates 2023-04-25 12:10:10 +05:30
ashilkn 7fa25e75e3 Give top border radius for file details sheet 2023-04-20 09:56:34 +05:30
Neeraj Gupta c421f029c0
Migration: Extract location from exif 2023-04-18 20:58:46 +05:30
Neeraj Gupta 19940dfd9e
Fix: clear entities table on logout 2023-04-18 15:03:01 +05:30
Neeraj Gupta 0ddfa1a865
Lint: Fix trailing comma warnings 2023-04-18 14:35:21 +05:30
Neeraj Gupta e4038a9777
Fix: Store lat/long from pubMetadata in db 2023-04-18 13:45:11 +05:30
Neeraj Gupta 78554c837c
Search: sort allFiles by creationTime DESC 2023-04-18 12:51:27 +05:30
ashilkn 71fe3793dc Only show all uploaded and shared files with locaiton in 'Pick center point' sheet's gallery 2023-04-13 15:47:55 +05:30
ashilkn 0fb119f6d7 Show shared photos too in location tag 2023-04-10 10:00:30 +05:30
Neeraj Gupta 138f0a4165
Fix integration with entity service 2023-04-04 14:18:54 +05:30
Neeraj Gupta 554a94d681
Add support for syncing and storing entities 2023-04-04 12:50:23 +05:30
Neeraj Gupta d0b06bbc6d
Fix db query 2023-04-03 15:35:28 +05:30
ashilkn 3de5696b04 Used freezed package in location and locationTag models 2023-04-02 18:17:18 +05:30
ashilkn 3a42b440a1 Commented out code used for testing 2023-03-27 10:47:15 +05:30
ashilkn 011da72a2e Add logs for debugging 2023-03-27 10:06:21 +05:30
ashilkn 95076a736c Added flags to methods in filesDB to get only files which have location data 2023-03-20 20:38:51 +05:30
Neeraj Gupta 040b0fa3f1
Exclude hidden files from archive count 2023-02-23 13:23:41 +05:30
Neeraj Gupta 339431a7f0
refactor 2023-01-31 15:50:20 +05:30
Neeraj Gupta f3de88276d
Fix handling of downloads from shared albums 2023-01-30 11:49:58 +05:30
Neeraj Gupta 5ca42098d5
FilesDB: Add method to get all files in collection 2023-01-12 13:57:06 +05:30
Neeraj Gupta f51d6ebd59
Add icons for uploaded and on device files in debugMode 2023-01-06 21:23:48 +05:30
Neeraj Gupta 5f4b67b93e
Merge branch 'main' into db_and_services 2023-01-03 20:24:42 +05:30
Neeraj Gupta bc14eb4e78
Fix bug: increment batch counter 2023-01-02 14:27:55 +05:30
Neeraj Gupta c400ba62f4
Batch insert collection updates 2023-01-02 14:18:52 +05:30
Neeraj Gupta f3d8a13337
Apply lint suggestions 2022-12-30 21:12:03 +05:30
Neeraj Gupta 0a84f06b5a
NullSafety: More migration and fixes 2022-12-30 15:14:52 +05:30
Neeraj Gupta e9572dd908
NullSafety: Fix assumption in FileUpdationDB 2022-12-30 14:37:40 +05:30
Neeraj Gupta ab90c42028
NullSafety: Migrate remaining db files 2022-12-30 11:40:14 +05:30
Neeraj Gupta 0ee9371004
NullSafety: Migrated deviceFilesDB and localSyncUtil 2022-12-29 18:43:48 +05:30
Neeraj Gupta 36c35b44f5
NullSafety: Miragrate filesDB 2022-12-29 16:25:49 +05:30
Neeraj Gupta 9f6a998f6c
Fix:Continue tracking empty backedup folders 2022-12-27 09:58:06 +05:30
ashilkn 3a269f9f39 Removed unused method 2022-12-13 18:28:06 +05:30
Neeraj Gupta 2732b399d4
Add option to free up space for a device folder 2022-11-24 16:24:59 +05:30
Neeraj Gupta 1975159b31
Fix stale thumbnail 2022-11-21 16:18:35 +05:30
Neeraj Gupta 4fc020c36e
Fix: Ignore unuploaded files while getting collection cnt and thumbnail 2022-11-17 17:30:31 +05:30
Neeraj Gupta a3e278ef0f
Remove unused code 2022-11-17 15:34:33 +05:30
Neeraj Gupta 792710a19d
Add migration script for fixing badCreationTime 2022-11-14 15:03:16 +05:30
Neeraj Gupta 3b8ffd3043
Avoid redundant db queries 2022-11-14 10:58:19 +05:30
Neeraj Gupta 630f0028a4
Avoid creating device collections for empty albums 2022-11-13 14:35:25 +05:30
Neeraj Gupta decea3d02d
Remove redundant log files 2022-11-11 14:34:57 +05:30
Neeraj Gupta 3c48f2de56
Ignore conflicting insert during deviceCover update sentry#4338 2022-11-09 10:05:02 +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 858f0b5720
Remove hidden collection items from search result 2022-10-31 16:14:20 +05:30
Neeraj Gupta 587c0b5cd9
Support for basic hidden functionality 2022-10-27 12:53:45 +05:30
Neeraj Gupta c479a8e225
Support for hidden stuff 2022-10-27 11:35:39 +05:30
Neeraj Gupta 042eef0090
Fix hidden file count 2022-10-26 22:21:42 +05:30
ashilkn aa118645ef use FileType.type instead of hardcoding the fileTypes's integer 2022-10-26 09:38:26 +05:30
ashilkn 11a6724868 changes in getting filesCount 2022-10-21 11:14:14 +05:30
ashilkn db235cc9e8 avoid adding config dependency inside db if possible 2022-10-21 08:00:46 +05:30
ashilkn 7803c3b6b1 Merge branch 'master' into redesign-storage-card 2022-10-20 17:39:50 +05:30
ashilkn 56efb0ccf6 removed device and shared files from photo and video count 2022-10-20 15:41:57 +05:30
Neeraj Gupta 635bc0bed0
Remove device folder name from logs 2022-10-20 14:56:56 +05:30
ashilkn 6a14dc0aa1 made service to fetch photos and videos count 2022-10-18 14:01:58 +05:30
Neeraj Gupta ef64d5d6b4
undo local changes 2022-10-07 03:34:54 +05:30
Neeraj Gupta 162d1ab658
Fix: Fallback logic to fetch device album cover 2022-10-07 03:25:37 +05:30
Neeraj Gupta d8fbd5cd3c
Sort on device collection by thumb creation time DESC 2022-10-03 16:05:57 +05:30
Neeraj Gupta a1fddd23ee
Merge branch 'master' into update_index 2022-10-03 15:01:02 +05:30
Neeraj Gupta c9ddac6d2c
Update index on files table 2022-10-03 14:51:20 +05:30
Neeraj Gupta 250f7bac96
Remove unused methods 2022-10-03 14:45:22 +05:30
Neeraj Gupta 5b4c08a5fd
DeviceThumbnail: Fallback logic if cover thumbnail is missing 2022-10-03 14:35:48 +05:30
Neeraj Gupta 292b700208
remove re-upload for missing location logic 2022-10-03 10:16:01 +05:30
Neeraj Gupta 1b1ac30c41
clear device_files and device_collections db on logout 2022-09-29 14:49:14 +05:30
ashilkn c784bdbef9 added 'file_size' to local db 2022-09-24 16:06:05 +05:30
ashilkn f3213cc848 convert to getters 2022-09-23 07:18:25 +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 0327bc26d3 made Collection.attributes non-nullable 2022-09-21 16:17:50 +05:30
Neeraj Gupta 66988ba728
Hide photo from UI if it's part of any hidden collection 2022-09-21 16:15:02 +05:30
ashilkn c25c88e8fc Merge branch 'rewrite_device_sync' into migrate-db-files 2022-09-21 13:15:30 +05:30
ashilkn 599770dc62 migrated upload_locks_db.dart to null safety 2022-09-21 12:03:12 +05:30
ashilkn 678f128dfd migrated public_keys_db.dart to null safety 2022-09-21 12:00:31 +05:30
ashilkn a93a52af0e migrated file_updation_db.dart to null safety 2022-09-21 11:49:11 +05:30
ashilkn 30f48304d1 migrated collections_db.dart to null safety 2022-09-21 11:29:53 +05:30
ashilkn d1c8d0c2e4 removed unused code 2022-09-21 11:21:20 +05:30
ashilkn 3e8bfc6f29 remove prefix letter 'k' from constants 2022-09-19 17:22:20 +05:30
Neeraj Gupta c4eb36188c
bug fix 2022-09-16 21:20:00 +05:30
Neeraj Gupta f7ed0a3db6
Search: Support for search by calendar date & specific day 2022-09-16 17:41:16 +05:30
Neeraj Gupta b72a761522
Ignore unuploaded file while finding collection thumbnail 2022-09-13 13:03:34 +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 bedfcd68a6
Switch to batch API 2022-09-12 17:21:33 +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 d61d456217
[Part-4] Mark all folders for backup when limited permission is granted 2022-09-10 10:06:41 +05:30
Neeraj Gupta 75ea50281d
[Part-3] Remove view all device photos option 2022-09-10 09:24:18 +05:30
ashilkn ad2502c20a minor change 2022-09-09 17:21:11 +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 44d7c62033
remove unused code 2022-09-09 16:20:12 +05:30
Neeraj Gupta 1777bca27e
Show files pending for upload on main screen 2022-09-09 16:04:42 +05:30
Neeraj Gupta 0612c5590c
remove redundant check in debug mode 2022-09-09 15:21:27 +05:30
Neeraj Gupta 01c29037dd
Handle cancellation for uploads when folder is unmarked for backup 2022-09-09 15:04:09 +05:30