Commit graph

228 commits

Author SHA1 Message Date
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
Neeraj Gupta 8734c94a4e
Merge branch 'master' into rewrite_device_sync 2022-09-20 23:24:47 +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 06e619e9b3
Add support for trashing collections 2022-09-13 12:14:10 +05:30
ashilkn eb7c1ec837 started incremental migration to null safety 2022-09-07 14:00:09 +05:30
ashilkn 145b998294 sort clubbed dedepue files in alphabetical order of collection names 2022-09-03 20:01:46 +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 792dd67ade
Merge branch 'master' into reupload_hash_check 2022-08-29 23:20:21 +05:30
vishnukvmd 06ec7cb658 final all the vars! 2022-08-29 20:13:31 +05:30
Neeraj Gupta 124672768e
refactor 2022-08-29 10:38:18 +05:30
Neeraj Gupta 74734d47f2
Merge branch 'master' into reupload_hash_check 2022-08-22 16:03:26 +05:30
ashilkn e33384be8f logic changes and code refactoring on search_service.dart 2022-08-10 18:57:04 +05:30
ashilkn a0a4e3d1f3 moved getFilteredCollectionsWithThumbnail to search_service.dart 2022-08-09 20:39:18 +05:30
Neeraj Gupta 1f7c4c3b9f
Use fileHash to avoid re-upload of already uploaded files 2022-08-05 15:20:03 +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 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
ashilkn ab4a2db60b minor changes + refactoring 2022-07-26 13:02:55 +05:30
ashilkn c7f1d182be removed print and debug print statements 2022-07-25 19:30:07 +05:30
ashilkn 5ecda81dbd remove priority search + refactor 2022-07-25 15:38:19 +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 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
vishnukvmd 47505ae102 Execute dart format lib 2022-06-11 13:53:52 +05:30
vishnukvmd 3e306facf5 Apply dart fix for require_trailing_commas 2022-06-11 13:53:18 +05:30
Neeraj Gupta dc839bf925
undo redundant change 2022-05-17 22:55:04 +05:30
Neeraj Gupta 726a5acaf5
ensure app version is visible 2022-05-17 22:53:00 +05:30
vishnukvmd 9ac41b4a48 Fetch only those collections that have updated since the last sync 2022-04-08 11:52:45 +05:30
Neeraj Gupta 0ac8b87c97 switch to put 2022-03-21 16:34:28 +05:30
Neeraj Gupta d5f7de9632 update the cached collection 2022-03-21 15:23:35 +05:30
Neeraj Gupta 8694b5bda0 minor bug fixes 2022-03-21 15:21:09 +05:30
Neeraj Gupta 588aae777f Add support for archiving collection 2022-03-21 15:02:24 +05:30
Neeraj Gupta 7ebf0cd368
support for setting link expiry, download button. & password 2022-02-22 11:38:27 +05:30
Neeraj Gupta 8b9a47a64b remove blocking upload dialog for manually backed up files 2022-02-13 18:12:34 +05:30
Neeraj Gupta 8c3f146efe
Fire collection update event on share/unshare 2022-01-25 12:03:42 +05:30
Neeraj Gupta 0c2ffe04b8
Revert "resync collections for public url launch"
This reverts commit 9504239a9a.
2022-01-25 11:57:49 +05:30
Neeraj Gupta 9504239a9a
resync collections for public url launch 2022-01-25 11:41:34 +05:30
Neeraj Gupta 1323091b58
handle no-subscription error 2022-01-24 16:19:47 +05:30
Neeraj Gupta ff61b7113a
Support for enabling/disabling public urls 2022-01-23 11:34:39 +05:30
Neeraj Gupta 6d6bef9264
ignore files which are not uploaded 2022-01-09 15:05:06 +05:30
Neeraj Gupta 1a45e87c2e
Fix bug in move ops when file is already present in toCollection 2022-01-09 14:29:01 +05:30
vishnukvmd e398807f2e Resort to AppLifecycleState 2021-11-15 21:05:07 +05:30
vishnukvmd 616d8efadc Merge branch 'master' into bg_sync 2021-11-05 14:08:55 +05:30
vishnukvmd e1e05664b4 Fix lint warnings 2021-10-30 05:26:27 +05:30
vishnukvmd a7f96ae1f3 Define precise event types for file deletion 2021-10-30 05:25:29 +05:30
vishnukvmd 0b22455146 Merge remote-tracking branch 'origin' into bg_sync 2021-10-27 17:20:34 +05:30
vishnukvmd 296f5bcfe9 Return list instead of an iterable 2021-10-26 18:56:00 +05:30
vishnukvmd 9f845518bc Merge remote-tracking branch 'origin' into bg_sync 2021-10-22 22:59:11 +05:30
Neeraj Gupta 6d3327113a
Fixes based on review comments 2021-10-21 17:38:12 +05:30
Neeraj Gupta 964ddd50e5
refactor: rename stuff 2021-10-21 17:26:02 +05:30
Neeraj Gupta b0bd91b151
fire events to refresh main gallery 2021-10-20 19:44:05 +05:30
Neeraj Gupta a9f3aea777
Merge remote-tracking branch 'origin/master' into trash_api 2021-10-20 19:33:22 +05:30
Neeraj Gupta 6198a2ab2b
merge master & few bug fixes 2021-10-20 19:13:11 +05:30
Neeraj Gupta 254d106af0
Fix bug in collection updateDB method 2021-10-20 17:13:46 +05:30
Neeraj Gupta 29630aedd0
TrashRestore: Remove unsynced local files 2021-10-20 16:28:11 +05:30
Neeraj Gupta 31cab54098
collections: keep db entry for deleted collections owned by user 2021-10-17 21:01:47 +05:30
Neeraj Gupta 63f0ba92f4
fetch collectionByID when collection is missing from local cache 2021-10-17 11:50:06 +05:30
Neeraj Gupta 4e3e364c65
Add support for fetching collectionByID 2021-10-17 11:35:16 +05:30
Neeraj Gupta 8fb2307fa0
raise err when collection is missing from cache 2021-10-16 23:51:08 +05:30
Neeraj Gupta f9b2fc6ed6
Add support for restoring file from detailpage view 2021-10-13 22:52:17 +05:30
Neeraj Gupta 2cf7699198
switch to v2 version of collection/remove-files 2021-10-13 04:29:22 +05:30
vishnukvmd 343a72c5b4 Add fg/bg as a param for sync 2021-10-12 15:02:51 +05:30
Neeraj Gupta a4dd4b19da
move: remove files from the old collection 2021-09-28 13:07:18 +05:30
vishnukvmd c974befed5 Minor refactor 2021-09-24 11:35:13 +05:30
vishnukvmd 98022ff334 Ignore files during move if they are already present in the target collection 2021-09-24 11:33:46 +05:30
Neeraj Gupta 511b129d40
Skip files that are already part of the collection 2021-09-23 20:54:20 +05:30
vishnukvmd 283ac899b2 Force pull since the time archive was released 2021-09-23 19:18:24 +05:30
Neeraj Gupta 49d693b9cb
minor refactoring 2021-09-23 07:56:19 +05:30