Commit graph

268 commits

Author SHA1 Message Date
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
Vishnu Mohandas 40ebae5fa3 Add API to fetch sharees 2020-10-13 10:51:44 +05:30
Vishnu Mohandas 181d7af1a8 Fetch owned collections 2020-10-13 02:06:02 +05:30
Vishnu Mohandas fa8a284af3 Encrypt file key with the collection key 2020-10-11 05:56:52 +05:30
Vishnu Mohandas 6f2f95b038 Remove unnecessary call to fetch a collection when it's known that there is none 2020-10-11 05:53:28 +05:30
Vishnu Mohandas 8f8594f07f Decrypt keys of files within collections using the collectionKey 2020-10-11 05:47:31 +05:30
Vishnu Mohandas b12f746567 Add API to create a collection 2020-10-11 05:17:51 +05:30
Vishnu Mohandas bd879263f0 Add functionality to extract a decrypted collection key 2020-10-11 04:08:33 +05:30
Vishnu Mohandas c252e03185 Fetch and persist collections on startup 2020-10-11 03:33:38 +05:30
Vishnu Mohandas eb12d617de Trigger CollectionService sync from sync-service 2020-10-11 02:50:20 +05:30
Vishnu Mohandas c9342e9cc8 Define a collection service 2020-10-10 05:21:12 +05:30
Vishnu Mohandas 27f019af57 Move to XChaCha for thumbnail and metadata encryption 2020-10-07 04:25:59 +05:30