Commit graph

261 commits

Author SHA1 Message Date
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
Neeraj Gupta 8a904f4700
Changes to instant refresh of UI with new title 2021-09-22 19:57:50 +05:30
Neeraj Gupta c6422c6a8b
Add support for renaming own collections 2021-09-22 19:47:45 +05:30
vishnukvmd 5068d9e6b7 Minor string changes 2021-09-13 14:17:57 +05:30
Neeraj Gupta dfa13d9bf7
move-files: add basic validation on client 2021-09-13 11:22:50 +05:30
Neeraj Gupta 4a2d6b04db
move-files UI: add option to move files between collection 2021-09-13 09:27:57 +05:30
Neeraj Gupta a104eca8ff
Add API for collection/move-files 2021-09-12 10:38:30 +05:30
Neeraj Gupta 512247a515 Merge remote-tracking branch 'origin/master' into live_photos 2021-08-05 15:09:52 +05:30
vishnukvmd a5190d24f6 Ensure that collection for a path is owned by the user 2021-08-05 02:01:12 +05:30
Neeraj Gupta 771ceda332 LivePhoto: download and unzip livePhoto content 2021-08-03 20:11:40 +05:30
vishnukvmd d600d6e3b7 Fix linter suggestions 2021-07-22 01:52:15 +05:30
Vishnu f7bc1962f6 Pull out remote sync to a separate service 2021-06-14 21:54:15 +05:30
Vishnu Mohandas 5daf8412a1 Parse collection name decryption errors if any gracefully 2021-05-26 14:52:48 +05:30
Vishnu Mohandas 2d2a3a846b Prevent snowballing of remote syncs 2021-05-19 23:03:20 +05:30
Vishnu Mohandas 73d1872851 Expilicitly set generatedID to null so that a new entry is created in the files DB 2021-05-16 14:10:06 +05:30
Vishnu Mohandas 62bc2de3da Improve efficiency of fetching latest files across collections 2021-05-04 20:56:17 +05:30
Vishnu Mohandas 426ab8add5 Minimize the number of reloads for collection updates 2021-04-24 03:07:04 +05:30
Vishnu Mohandas 07ce960f65 Emit the list of changed files along with the event 2021-04-24 00:41:05 +05:30
Vishnu Mohandas 2b7c4612ea Remove FileRepository 2021-04-21 18:39:18 +05:30
Vishnu Mohandas a4fd2f7cf4 Fix dialog dismissals 2021-03-21 16:51:45 +05:30
Vishnu Mohandas 017d26acbd Logout on 401 2021-03-18 03:38:13 +05:30
Vishnu Mohandas 126121486d Clear service level cache on logout 2021-03-18 02:41:31 +05:30
Vishnu Mohandas ffefa99504 Retry batch insert requests 2021-02-26 13:22:21 +05:30
Vishnu Mohandas 6fb07bab27 Show appropriate error dialog for free users when sharing is disabled 2021-02-25 23:08:31 +05:30
Vishnu Mohandas 4295702fdf Return album with decrypted name post creation 2021-02-16 19:37:19 +05:30
Vishnu Mohandas 9139d01a7f Safeguard against decoding issues 2021-02-16 00:04:15 +05:30
Vishnu Mohandas 9a5185d883 Use copyWith instead of the constructor 2021-02-15 23:54:36 +05:30
Vishnu Mohandas db47586424 Don't rely on cache that does not exist yet 2021-02-14 23:45:38 +05:30
Vishnu Mohandas 3169962738 Persist the maxUpdationTime for all collections (factoring in the deleted ones) 2021-02-08 20:17:19 +05:30
Vishnu Mohandas ca5a30e98a Ensure that sync interruptions are handled gracefully 2021-02-06 14:24:25 +05:30
Abhinav-grd a395e27f80 refactored keyDecryption logic into seperate function 2021-01-25 10:55:26 +05:30
Abhinav-grd 75e27aa51f collectionService changes 2021-01-25 00:29:39 +05:30
Abhinav-grd 73fa2aad9e added null check to encryptedName 2021-01-24 21:37:37 +05:30
Abhinav-grd c4e19c56cf cached collection before calling getCollectionKey 2021-01-24 21:17:51 +05:30
Abhinav-grd b5f05b0afd set default version as 0 and corrected version check 2021-01-24 21:17:42 +05:30
Abhinav-grd 41bc291715 moved name decryption logic to _cacheCollectionAttributes 2021-01-24 16:46:00 +05:30
Abhinav-grd cc5dc4aa43 set version default value to zero 2021-01-24 11:52:01 +05:30
Abhinav-grd d96f4d968c cached Collection to use getCollection in decryptName funnction 2021-01-23 18:15:11 +05:30
Abhinav-grd 9881c8782d added getcollectionWithDecryptedName function 2021-01-22 14:48:56 +05:30
Abhinav-grd bc0718d806 add version check in decryptCollectionPath to get correct decryptionKey 2021-01-22 14:04:49 +05:30
Abhinav-grd fd322dac33 changed path encryption key and added versioning 2021-01-22 14:00:51 +05:30
Abhinav-grd 0d4b87da55 upated collection creating function send encrypted name 2021-01-22 13:49:27 +05:30
Vishnu Mohandas 6a26d7482f Trigger a silent sync once a collection's share status is changed 2020-12-04 04:03:24 +05:30
Vishnu Mohandas 7b721e596b Add and remove from favorites silently 2020-12-04 04:00:10 +05:30
Vishnu Mohandas 515342e003 Fetch diff from only those collections that have changed 2020-12-04 02:31:24 +05:30
Vishnu Mohandas 34ffc9e5a1 Log all network requests 2020-11-19 23:52:30 +05:30
Vishnu Mohandas e825798433 Enable parallel uploads 2020-11-09 17:58:43 +05:30
Vishnu Mohandas 241cfe5478 Minor refactor 2020-11-07 15:46:30 +05:30
Vishnu Mohandas 96dba3f905 Update shared collections interface 2020-11-02 20:08:59 +05:30
Vishnu Mohandas 2b2db78d67 Ensure that events are generated on file deletion 2020-11-01 12:15:10 +05:30
Vishnu Mohandas deeffa6d56 Add extra log lines 2020-11-01 11:00:36 +05:30
Vishnu Mohandas 46e5993de4 Update collection owner structure 2020-10-31 21:41:43 +05:30
Vishnu Mohandas 4117ae0a3d Add ability to unshare a collection 2020-10-31 18:47:17 +05:30
Vishnu Mohandas 7d52d3c411 Delete collections deleted on remote 2020-10-31 18:18:41 +05:30
Vishnu Mohandas 03e7b385e2 Fix collection updates on the UI 2020-10-31 02:07:21 +05:30
Vishnu Mohandas c880ead160 Add option to remove files from a collection 2020-10-31 01:27:14 +05:30
Vishnu Mohandas 405578b086 Show an indicator of the collection owner's email on the shared collection icon 2020-10-30 21:33:13 +05:30
Vishnu Mohandas 25a78ee52b Backup shared folder if not being backed up already 2020-10-29 18:36:57 +05:30
Vishnu Mohandas 3630a25fb5 Remove SharedCollection 2020-10-28 20:55:32 +05:30
Vishnu Mohandas 673e5e9442 Add create album flow 2020-10-28 17:33:28 +05:30
Vishnu Mohandas 95ccf02b2e Ensure that local collections are loaded into memory on app init 2020-10-26 15:27:31 +05:30
Vishnu Mohandas 3d56f71be3 Segregate collections and device folders 2020-10-25 04:40:37 +05:30
Vishnu Mohandas 31fef9cd3a Add API to remove files from a collection 2020-10-23 21:41:27 +05:30
Vishnu Mohandas 26f3e62c0e Fix API to add a file to favorites 2020-10-22 03:52:09 +05:30
Vishnu Mohandas 65a431f366 Expose API to add a photo to the favorites-collection 2020-10-21 23:44:34 +05:30
Vishnu Mohandas 6a73308bd1 Fix remaining issues with displaying shared collection items 2020-10-14 03:10:22 +05:30
Vishnu Mohandas 0af41fd97b Fetch and store shared collections 2020-10-14 01:42:37 +05:30
Vishnu Mohandas 0849ef21c1 Update share folder UI 2020-10-13 11:53:45 +05:30