Commit graph

301 commits

Author SHA1 Message Date
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 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 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
vishnukvmd 5474d56949 Add more logs to remote sync 2023-03-13 10:24:57 +05:30
vishnukvmd bcc1348a7d Document functions exposed by CryptoUtil 2023-02-27 17:56:51 +05:30
vishnukvmd 7c932ca533 Fix version check for decrypting collection path 2023-02-27 16:14:54 +05:30
vishnukvmd 0cf7daeba8 Rename variables for clarity 2023-02-27 16:14:27 +05:30
vishnukvmd cdb8fd9881 Merge branch 'main' into refactor_sodium 2023-02-27 11:23:21 +05:30
ashilkn afa0309f39 Resolved merge conflicts 2023-02-23 18:13:15 +05:30
Neeraj Gupta fc419f757e
minor refactor 2023-02-22 16:59:02 +05:30
ashilkn 7062c2acbd Merge branch 'main' into empty_state 2023-02-20 14:18:03 +05:30
ashilkn d7fc4b9b01 Fixed error handling on 'Collect event photos' 2023-02-20 12:35:41 +05:30
Neeraj Gupta 28410ce621
Show archived albums inside archive section 2023-02-18 14:58:11 +05:30
vishnukvmd d3005be29f Merge branch 'main' into refactor_sodium 2023-02-14 11:21:19 +05:30
Neeraj Gupta 3366264dde
Refactoring: rename 2023-02-03 13:09:04 +05:30
vishnukvmd 80f36d1bd5 Move all calls to Sodium to CryptoUtil 2023-02-03 10:11:45 +05:30
Neeraj Gupta d6b5259406
Clear cached collection for uncat and hidden 2023-02-01 15:40:58 +05:30
Neeraj Gupta eda5acf443
CreateUrl: send enableCollect flag 2023-01-30 20:46:46 +05:30
Neeraj Gupta f3de88276d
Fix handling of downloads from shared albums 2023-01-30 11:49:58 +05:30
Neeraj Gupta 8d49d69682
remove debug logs 2023-01-28 09:56:30 +05:30
Neeraj Gupta 12a95136af
Support for removing files from shared collection 2023-01-28 09:53:48 +05:30
Neeraj Gupta 0fae5b1375
Fix typo 2023-01-28 06:45:25 +05:30
Neeraj Gupta d0cecf5946
Support for deleting both collection and files 2023-01-12 17:02:52 +05:30
Neeraj Gupta 17d85b86a8
Fix: Fire colleciton updated event 2023-01-12 16:36:10 +05:30
Neeraj Gupta 0cc7a91af5
Merge branch 'main' into uncategorized 2023-01-06 13:34:30 +05:30
Neeraj Gupta b3bc236139
Fix mapping of files during restore 2023-01-06 10:47:00 +05:30
Neeraj Gupta c79d7e3bc2
Add support for getOrCreate Uncategorized collection 2023-01-05 09:08:27 +05:30
Neeraj Gupta 628967e999
Merge branch 'db_and_services' of github.com:ente-io/photos-app into db_and_services 2023-01-03 20:25:12 +05:30
Neeraj Gupta 5f4b67b93e
Merge branch 'main' into db_and_services 2023-01-03 20:24:42 +05:30
Neeraj Gupta c2d2caa05b
Fix typos and dispose valueNotifier 2023-01-03 14:30:10 +05:30
Neeraj Gupta b59e681fdc
CollectionService: Add collection delete V3 for empty collections 2023-01-03 13:59:04 +05:30
Neeraj Gupta 280043bf1b
Fire single event for deleted collections 2023-01-02 14:21:25 +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 fbb17c5fcc
NullSafety: More migration and fixes 2022-12-30 15:33:50 +05:30
Neeraj Gupta 2cf6237e28
Switch to Collection#CreateRequest 2022-12-30 14:17:43 +05:30
Neeraj Gupta 588cbbbce1
temp commit 2022-12-30 13:57:18 +05:30
Neeraj Gupta 73a288c44d
Perf: Skip name decryption for deleted collections 2022-12-27 17:14:39 +05:30
Neeraj Gupta a84dd32d78
Change sharedLink collection type to normal on first rename 2022-12-23 08:04:49 +05:30
Neeraj Gupta e953968a82
Fix: show correct file owner 2022-12-16 10:18:15 +05:30
Neeraj Gupta a075f335e8
Fix state fresh issues while adding/remove participants 2022-11-25 16:34:35 +05:30
Neeraj Gupta 4143a14ab3
Fix state refresh issue on collab add/remove 2022-11-25 16:02:20 +05:30
Neeraj Gupta 1052b3c034
Show collab collections in add to list 2022-11-23 07:33:04 +05:30
Neeraj Gupta 14dbc28284
Add flag to return collaborative albums 2022-11-23 07:24:43 +05:30
Neeraj Gupta df9d5d5771
Support for adding as collaborator 2022-11-22 23:13:36 +05:30
ashilkn f8296ca639 minor fix 2022-11-18 14:26:09 +05:30
ashilkn 253614143a define params inside each batch 2022-11-18 12:52:34 +05:30
ashilkn 3fa1875392 Merge branch 'master' into batch-files 2022-11-18 12:08:51 +05:30
ashilkn 36fe2d46d4 use constant variable for batch size 2022-11-18 11:35:46 +05:30
ashilkn 7607cbf788 batch files to batch of 1000s on removeFromCollection() 2022-11-17 21:34:48 +05:30
ashilkn c6a8d9dcf8 batch files to batch of 1000s on restore() 2022-11-17 17:05:54 +05:30
Neeraj Gupta 4eaad13bd8
CollectionDelete: Do not turn-off folder backup if collection is empty 2022-11-17 15:10:13 +05:30
ashilkn 9d7b830c7d batch files to batch of 1000s on addToCollection() 2022-11-17 15:08:35 +05:30
ashilkn 6c882d233e batch files to batch of 1000s on move() 2022-11-17 14:44:01 +05:30
Neeraj Gupta 734afbfbb1
Fix state refresh issue on leave album 2022-11-15 15:50:26 +05:30
Neeraj Gupta 2907721604
Fix state refresh bug during delete album 2022-11-15 15:47:01 +05:30
Neeraj Gupta 34de3f5fc3
Merge pull request #583 from ente-io/empty_albums
Empty albums
2022-11-15 10:54:56 +05:30
Neeraj Gupta 3b8ffd3043
Avoid redundant db queries 2022-11-14 10:58:19 +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
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 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 4cc2f70710
Enchance logs for easier debugging 2022-11-11 15:53:35 +05:30
Neeraj Gupta 4a060c4edd
Fix unawaited future warnings 2022-11-06 16:06:33 +05:30
Neeraj Gupta bbbc61fd4e
Merge branch 'master' into empty_albums 2022-11-06 14:45:46 +05:30
Neeraj Gupta 709e2a0085
Remove unncessary awaits by passing pref 2022-11-06 11:44:46 +05:30
Neeraj Gupta 66e7fc0560
Add unhide option in overflow menu 2022-11-02 15:55:32 +05:30
Neeraj Gupta 858f0b5720
Remove hidden collection items from search result 2022-10-31 16:14:20 +05:30
Neeraj Gupta c479a8e225
Support for hidden stuff 2022-10-27 11:35:39 +05:30
Neeraj Gupta 5932bcb3cd
Hide hidden collections from timeline and memory 2022-10-26 22:41:06 +05:30
Neeraj Gupta b7bcef98d9
Refactor 2022-10-19 17:09:56 +05:30
Neeraj Gupta aadc34d4e1
Switch to enteDio 2022-10-14 15:33:58 +05:30
Neeraj Gupta d4856e3ed4
Remove unused model 2022-10-14 14:15:17 +05:30
Neeraj Gupta 651ccfd7e6
Support for leaving shared album 2022-10-11 07:05:09 +05:30