Commit graph

953 commits

Author SHA1 Message Date
Neeraj Gupta 99f02574b3
Persist device pathID to name mapping 2022-07-24 22:52:12 +05:30
Neeraj Gupta e7d6aa48d0
DeveloperMode: Support for deleting local sync state
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:34:53 +05:30
Neeraj Gupta 6cb98a9309
LocalSync: Change scope for get<Local|Ignore|Download>IDs to pvt
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:25:02 +05:30
Neeraj Gupta 870564dabf
LocalSync: Add pathID in while getting deviceFiles.
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-23 15:20:19 +05:30
Neeraj Gupta c0e3267ad0
rename 2022-07-23 15:18:33 +05:30
Neeraj Gupta facdabc772
Test: Disable upload for testing 2022-07-23 13:22:18 +05:30
Neeraj Gupta 470c5de015
add table for device_files and device_path_collections 2022-07-21 18:33:33 +05:30
Neeraj Gupta d5296cbd5b
more clean up in local file sync util 2022-07-20 15:30:10 +05:30
Neeraj Gupta fa17c7562b
Remove redundant update
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-07-20 14:18:53 +05:30
Neeraj Gupta 5d9764b8d0
Refactor file_sync_util and remove special check for recent/duplicate files 2022-07-20 14:16:53 +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 cfe79220d5
Remove email verification success toast 2022-07-14 18:59:29 +05:30
Neeraj Gupta 3376945609
reduce stacktrace noise from user logs 2022-07-13 09:12:37 +05:30
Neeraj Gupta d82856e795
Remove unused code 2022-07-12 09:30:36 +05:30
Vishnu Mohandas 76b4012e6e
Merge pull request #385 from ente-io/post-ott 2022-07-11 19:39:07 +05:30
Neeraj Gupta 989c764d87
Fix typo 2022-07-08 15:05:09 +05:30
Neeraj Gupta b123b2301c
Add API to fetch delete challenge 2022-07-08 14:20:19 +05:30
Neeraj Gupta e0cd9e0233
Add api for deleting user 2022-07-07 15:39:37 +05:30
Manav fdd18e1545 Use the new POST variant of the /users/ott endpoint 2022-07-06 22:27:31 +05:30
Neeraj Gupta edabfe6da3
lint: enable prefer_const_constructors_in_immutables rule 2022-07-04 14:13:01 +05:30
Neeraj Gupta 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
Neeraj Gupta fdadf36baa
Lint fixes 2022-07-03 15:39:01 +05:30
Neeraj Gupta 1911f8fa83
dart format 2022-07-03 15:19:33 +05:30
Neeraj Gupta 590715c9d8
Fix few flutter_lint hints 2022-07-03 15:15:00 +05:30
Neeraj Gupta 6a0e7b2315
Fix more lint issues 2022-07-03 13:17:15 +05:30
Neeraj Gupta c15e054204
Lint fixes for trailing comma 2022-07-03 12:26:43 +05:30
Neeraj Gupta a382a02196
Organize ui widgets in separate folders 2022-07-01 19:48:05 +05:30
Neeraj Gupta 1e3475194d
enhance logs 2022-06-29 10:26:11 +05:30
Neeraj Gupta d0090080ee
minor fixes 2022-06-29 10:19:19 +05:30
Neeraj Gupta 57b447ee50
enhance logs for asset re-upload scenarios 2022-06-29 10:10:06 +05:30
Neeraj Gupta d588df6abd
ensure that config is init before UserService 2022-06-23 18:40:35 +05:30
Neeraj Gupta ce202c94b3
Update email on UI on emailChange 2022-06-23 18:36:35 +05:30
Neeraj Gupta 5b9d332649
Fix change email flow 2022-06-23 17:42:19 +05:30
Neeraj Gupta b93379b8b2
use fetchUploadUrl instead of canUpload wrapper 2022-06-22 16:49:12 +05:30
Neeraj Gupta 76f279cb83
address review comment 2022-06-22 12:49:34 +05:30
Neeraj Gupta 3135538514
Log known error as warning and unhandled as server error 2022-06-22 12:00:58 +05:30
Neeraj Gupta 2f847e0ccc
Verify if user can upload more files before preparing files for upload 2022-06-22 11:57:36 +05:30
Manav 82c26ef1c9
Merge pull request #337 from ente-io/hide_hidden_memories
Hide hidden memories from memories widget 🍭
2022-06-21 18:48:31 +05:30
Neeraj Gupta 03ea93f277
Hide hidden collections from memories 2022-06-21 18:25:39 +05:30
Neeraj Gupta 22cf83faf0
Fix: Sync all files on disk change when limited permission is granted 2022-06-21 12:48:49 +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
vishnukvmd 2ecd872f3d Pass context to toast_util 2022-06-10 19:59:56 +05:30
Neeraj Gupta 1ffbc15dca
Capitalize words 2022-06-10 11:32:48 +05:30
Neeraj Gupta 94a06734a0
Fix merge conflic 2022-06-09 19:11:44 +05:30
Neeraj Gupta 9bc4306218
Merge branch 'master' into redesign 2022-06-09 18:37:56 +05:30
Neeraj Gupta b329939cb4
make limit mandatory parameter 2022-06-08 19:47:19 +05:30
Neeraj Gupta 69f37e5456
only run migration is device if device is on Android API level >=29 2022-06-08 16:19:29 +05:30
Neeraj Gupta 423304aecc
Fix bug in sql query 2022-06-08 15:59:29 +05:30
Neeraj Gupta 42f2316fc8
Fix typo 2022-06-08 15:37:17 +05:30
Neeraj Gupta 5c5fa2735b
put migration logic behind feature flag 2022-06-08 15:21:03 +05:30
Neeraj Gupta 2b60008350
minor refactor 2022-06-08 15:09:02 +05:30
Neeraj Gupta 937658519c
Merge branch 'master' into reupload_files 2022-06-08 15:08:29 +05:30
Manav c1023b059b
Merge pull request #263 from ente-io/remove_nw_wait_time
[Perf][AppStart] Don't await on featureFlag fetch from network
2022-06-08 15:06:14 +05:30
Neeraj Gupta 91a9e13925
minor refactor 2022-06-08 15:00:21 +05:30
Neeraj Gupta bb5ef1b246
Minor bug fixes 2022-06-08 14:50:03 +05:30
Neeraj Gupta e547304036
Reupload files with missing location 2022-06-08 14:19:23 +05:30
Neeraj Gupta c7347b7f04
Add DB to track potential fileIDs for reupload 2022-06-08 10:52:07 +05:30
Vishnu Mohandas 712763d723
Merge pull request #266 from ente-io/bugFix 2022-06-03 21:40:40 +05:30
Neeraj Gupta 5ad6a8520e
BugFix: Fix bug in matching remoteFile to localFile 2022-06-03 21:39:35 +05:30
Manav 14db8d9e19
Merge pull request #263 from ente-io/remove_nw_wait_time
[Perf][AppStart] Don't await on featureFlag fetch from network
2022-06-03 15:43:19 +05:30
Neeraj Gupta 7cd17d6ea7
address review comment 2022-06-03 15:42:11 +05:30
Neeraj Gupta fab9980549
Don't block appStart on featureFlag fetch from network 2022-06-03 15:16:18 +05:30
Neeraj Gupta 756957770d
minor refactor 2022-06-03 15:12:41 +05:30
Neeraj Gupta 48bd242a59
use constants for feature flags default 2022-06-03 15:04:17 +05:30
Neeraj Gupta 4d7bed0450
documentation 2022-06-03 08:40:04 +05:30
Neeraj Gupta 9b1cd98f1a
Perf#init: do not wait on clearing old memories 2022-06-03 08:37:46 +05:30
Neeraj Gupta fb367ccd20
Capitalize words 2022-06-03 07:19:05 +05:30
Neeraj Gupta 6191847909
Capitalize words 2022-06-03 07:16:29 +05:30
Neeraj Gupta d51ff8b0bb
Fix incorrect logger tag 2022-06-03 07:13:45 +05:30
Neeraj Gupta 8532a482c4
remove redundant import 2022-06-03 07:09:51 +05:30
Neeraj Gupta b1c7423342
remove unused method 2022-06-03 07:09:24 +05:30
Neeraj Gupta 8873b9c827
Fix subsciption fetch 2022-05-30 14:53:55 +05:30
Neeraj Gupta 22b25db0c1
Merge branch 'master' into redesign 2022-05-27 20:14:47 +05:30
Neeraj Gupta 6791773845
bug fix 2022-05-26 15:56:53 +05:30
Neeraj Gupta 67fdadabce
process updated files in the end 2022-05-26 15:34:12 +05:30
vishnukvmd 07c6e7253c Fix compilation issues 2022-05-18 15:38:13 +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
Neeraj Gupta d030734440
more ui fixes 2022-05-17 02:31:52 +05:30
Neeraj Gupta 22babe31e6
upgrade photos_manager pkg 2022-05-12 08:57:32 +05:30
Neeraj Gupta 0e1124363c
Fix compliation issue 2022-05-10 14:16:12 +05:30
Neeraj Gupta acaeafcc49
Merge branch 'master' into redesign 2022-05-10 14:10:22 +05:30
Neeraj Gupta fa6d3c3eb3
Update local_sync_service.dart 2022-05-10 14:02:46 +05:30
Neeraj Gupta 0da95111bb
Log only when files are updated 2022-05-10 13:12:41 +05:30
Neeraj Gupta e3f4092a11
rename 2022-05-08 11:43:43 +05:30
Neeraj Gupta eb26740b32
switch to trash diff v2 2022-05-06 00:08:58 +05:30
Neeraj Gupta a9d1da6242
Sync trash after file deletion 2022-05-05 12:02:02 +05:30
Neeraj Gupta b83a68bf5d
Merge remote-tracking branch 'origin/master' into redesign 2022-05-03 18:13:36 +05:30
Neeraj Gupta d7c88ff678
update family portal base url 2022-05-03 18:10:51 +05:30
Neeraj Gupta edb8aecae2
Merge branch 'master' into redesign 2022-04-26 15:05:00 +05:30
Neeraj Gupta 896ac3cf29
update url for family portal 2022-04-21 20:25:37 +05:30
Neeraj Gupta 4151b18b43
remove redundant comment 2022-04-21 10:04:15 +05:30
Neeraj Gupta 4bcde8d308
msupport for managing family 2022-04-21 01:44:44 +05:30
Neeraj Gupta b2df82bb2e
Add ChildSubscription Widget with support to leave family 2022-04-21 01:06:33 +05:30
Neeraj Gupta 6e183545bc
Support for fetching families jwt token
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2022-04-20 15:45:08 +05:30
Neeraj Gupta 9000974fb6
UserService: Support to fetch user/details/v2 2022-04-14 18:31:24 +05:30
Ashil ecd9a433ef Existing account screen redesigned 2022-04-09 07:40:56 +02:00
vishnukvmd 9ac41b4a48 Fetch only those collections that have updated since the last sync 2022-04-08 11:52:45 +05:30
Neeraj Gupta 70855cb927
Merge remote-tracking branch 'origin/theme' into frame-ashil-neeraj 2022-04-07 00:18:49 +05:30
Ashil 5cc225e9ed create account and verification of email is done 2022-03-25 19:10:22 +01:00
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 68445df5d7 Prioritize upload of most recent photo 2022-03-20 14:35:43 +05:30
Neeraj Gupta 6d79df247f
add logs for debugging app stuck 2022-03-08 01:48:50 +05:30
Neeraj Gupta 7ebf0cd368
support for setting link expiry, download button. & password 2022-02-22 11:38:27 +05:30
Neeraj Gupta 0dbc09670d
Fix bug in uploading local files 2022-02-14 22:57:00 +05:30
Neeraj Gupta ca66be4c14 fav: trigger remote sync for initiating upload of unsynced file 2022-02-13 18:12:34 +05:30
Neeraj Gupta 6948eba897 fav: upload unsynced file in background 2022-02-13 18:12:34 +05:30
Neeraj Gupta b09896b619 Prefer existing collectionID during unpload for unsynced files 2022-02-13 18:12:34 +05:30
Neeraj Gupta a7d8fca551 rename and fix bug in query 2022-02-13 18:12:34 +05:30
Neeraj Gupta 8b9a47a64b remove blocking upload dialog for manually backed up files 2022-02-13 18:12:34 +05:30
Neeraj Gupta 8ee7bee8fd
add option to share logs from log in/sign up screen 2022-02-05 22:13:40 +05:30
Neeraj Gupta ffc08cbdbc
remove usage of import Applocalization 2022-02-04 11:01:07 +05:30
Neeraj Gupta 3c9960d16c
Fix: Handle repeated upload for file with new localID 2022-01-30 10:57:25 +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 a29697c3c1
Add feature flag for disabling url sharing 2022-01-24 16:45:14 +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
vishnukvmd ba0b6f277c Expose separate method to club duplicates by their creation time 2022-01-21 15:17:52 +05:30
vishnukvmd 9a7a3208f4 Merge branch 'master' into stripe_payments_fix 2022-01-14 19:21:30 +05:30
vishnukvmd 5349e71333 Fetch user specific plans when token is available 2022-01-14 19:21:05 +05:30
Neeraj Gupta df741d948b
Merge pull request #168 from ente-io/fix_sync_status
Bugfix: Show reason for sync failure on UI
2022-01-10 21:31:26 +05:30
Neeraj Gupta d5412b8645
Bugfix: Show reason for sync failure on UI 2022-01-10 21:24:01 +05:30
Neeraj Gupta 6d6bef9264
ignore files which are not uploaded 2022-01-09 15:05:06 +05:30
Neeraj Gupta d315f11e60
Merge branch 'master' into fix_move_behaviour 2022-01-09 14:54:02 +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
Neeraj Gupta b177469df8
Bugfix: Logout user on invalid token 2022-01-07 22:00:22 +05:30
vishnukvmd 9115ee8791 Don't break when we're unable to fetch the push token 2022-01-07 13:03:31 +05:30
Vishnu Mohandas 1936ed3b8b
Merge pull request #158 from ente-io/split_syncs
Decouple local and remote syncs
2022-01-05 13:32:09 +05:30
vishnukvmd a2be4f88a7 Throttle log statements to prevent crash 2022-01-05 13:26:44 +05:30
vishnukvmd 09bfc82271 Mark existing sync as completed 2022-01-05 13:25:04 +05:30
vishnukvmd c09f87e512 Inline variable 2022-01-04 00:02:56 +05:30
vishnukvmd 8e6595db63 Use final 2022-01-03 23:57:49 +05:30
vishnukvmd e12f7ea731 Decouple local and remote syncs 2022-01-03 23:54:43 +05:30
vishnukvmd 4f21ba0925 Fix comparison operator in sort 2021-12-23 12:04:03 +05:30
vishnukvmd 09289df9dc Don't overwrite the locally available modificationTime for a modified file 2021-12-03 11:57:59 +05:30
vishnukvmd 6964ed9f28 Batch delete file requests 2021-12-03 09:54:45 +05:30
vishnukvmd 59e9ab8ab5 Upload videos in the end 2021-12-02 10:30:27 +05:30
vishnukvmd 0ebfe2760e Extend the comparison operator to play it safe 2021-11-28 10:49:48 +05:30
vishnukvmd 823e51cead Swallow any errors during remote sync and reset the future 2021-11-28 10:48:46 +05:30
vishnukvmd 03152dcaf2 Start the upload timeout after it's processing has begun 2021-11-27 20:42:45 +05:30
vishnukvmd afeab0fcd6 Time out uploads 2021-11-27 20:34:21 +05:30
vishnukvmd 1c6a445ba0 Fix key for prefs 2021-11-25 17:14:14 +05:30
vishnukvmd f810fdf1bf Remove unnecessary permission request 2021-11-25 16:57:43 +05:30
vishnukvmd 17334589be Setup push handlers only on iOS 2021-11-25 16:05:38 +05:30
vishnukvmd 71feaad02c Initialize PushService only on iOS 2021-11-25 16:04:30 +05:30
vishnukvmd 3f9137481f Merge branch 'master' into bg_sync 2021-11-25 15:35:44 +05:30
vishnukvmd 3fbcd6a62d Add API to terminate a session 2021-11-24 01:18:24 +05:30
vishnukvmd 96501f8778 Add API to get active sessions 2021-11-24 01:10:33 +05:30
vishnukvmd 4e309ac939 Upload only 4 photos in the background 2021-11-15 21:20:20 +05:30
vishnukvmd feac5cc485 Don't upload videos if app is in background 2021-11-15 21:07:33 +05:30
vishnukvmd e398807f2e Resort to AppLifecycleState 2021-11-15 21:05:07 +05:30
vishnukvmd 215bd29ce9 Store app's lifecycle state within a service 2021-11-15 19:59:31 +05:30
vishnukvmd c75138a39f Sync only when asked to do so 2021-11-15 19:51:43 +05:30
vishnukvmd eb2f2d9551 Consistency in logging 2021-11-15 19:46:15 +05:30
vishnukvmd aec00f8d4d Log connectivity issues 2021-11-15 19:31:04 +05:30
vishnukvmd d887a8e6e7 Fix condition to force update server token 2021-11-14 20:22:05 +05:30
vishnukvmd 4ed90ca30b Refresh token every 30 days 2021-11-12 00:28:44 +05:30
vishnukvmd c89bfac4cc Define the API for setting the push token on server 2021-11-11 00:49:33 +05:30
vishnukvmd 78b2df8040 Store token to disk post pushing it to server 2021-11-11 00:45:00 +05:30
vishnukvmd 290a8bea36 Configure push token on user sign in 2021-11-11 00:44:25 +05:30
vishnukvmd 616d8efadc Merge branch 'master' into bg_sync 2021-11-05 14:08:55 +05:30
vishnukvmd 119acab9c7 Force reload home gallery if any creation time was changed 2021-10-30 21:36:56 +05:30
Neeraj Gupta aa8f4b9bde
lint: enable directives_ordering for imports 2021-10-30 11:13:56 +05:30
vishnukvmd fa2926b14a Prevent multiple parallel remote syncs 2021-10-30 06:09:53 +05:30
vishnukvmd 376b6f5af9 Remove unused function 2021-10-30 05:43:46 +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 477f01a169 Merge remote-tracking branch 'origin' into bg_sync 2021-10-30 01:50:39 +05:30
Neeraj Gupta 016157e0d3
Fix infinite sync loop when all items in diff are deleted 2021-10-29 18:10:16 +05:30
Neeraj Gupta fbaa0fc526
Collection Diff: switch to v2/diff 2021-10-29 17:30:56 +05:30
Neeraj Gupta 6fce44a28a
Merge pull request #124 from ente-io/hide_ignored_files
Hide ignored files from home page + refactoring
2021-10-29 12:36:09 +05:30
Neeraj Gupta 83039431dc
address review suggestions 2021-10-29 12:02:58 +05:30
Neeraj Gupta f8c85c6fe9
hide ignored files from home page 2021-10-29 10:27:52 +05:30
Neeraj Gupta f78d248f90
refactor code for ignoring files for upload 2021-10-29 09:49:42 +05:30
Neeraj Gupta 8a4d6801ab
Add ignored file service & cache ignoredIDs 2021-10-29 09:39:38 +05:30
Vishnu Mohandas 03aa7ee6e4
Merge pull request #121 from ente-io/trash_empty_event 2021-10-28 18:14:02 +05:30
Neeraj Gupta 5c43252734
use separate event to force_reload trash 2021-10-28 16:47:00 +05:30
Neeraj Gupta 86333e8506
re-sync older clients since edit-time feature release 2021-10-28 11:58:39 +05:30
Neeraj Gupta 2902cf90c5
Fix trash reload on emptying trash 2021-10-28 10:45:48 +05:30
vishnukvmd 6e40a02080 Merge branch 'master' into bg_sync 2021-10-28 00:58:15 +05:30
vishnukvmd 0b22455146 Merge remote-tracking branch 'origin' into bg_sync 2021-10-27 17:20:34 +05:30
Neeraj Gupta 96932f22d7
Merge branch 'master' into edit-time 2021-10-27 13:25:42 +05:30
Neeraj Gupta 44dd20cf20
IgnoredFiles: deviceFolder & title for matching on Android 2021-10-27 11:01:12 +05:30
Neeraj Gupta 2a0d60a83c
IgnoredFiles: switch to getAllLocalIDs for iOS 2021-10-27 10:37:17 +05:30
Neeraj Gupta adbe6888c4
Change log level to info for InvalidSyncStatusError 2021-10-26 22:10:49 +05:30
Neeraj Gupta 3816f15343
formatting changes 2021-10-26 20:16:58 +05:30
vishnukvmd 296f5bcfe9 Return list instead of an iterable 2021-10-26 18:56:00 +05:30
Neeraj Gupta c18e944459
Merge branch 'master' into edit-time 2021-10-26 17:28:45 +05:30
vishnukvmd b27ccc8d5b Merge remote-tracking branch 'origin' into bg_sync 2021-10-26 16:59:58 +05:30
Neeraj Gupta aa145e0217
Support for editing date of memory 2021-10-26 16:07:14 +05:30
Neeraj Gupta 138501388d
Support for empty trash 2021-10-25 20:27:41 +05:30
Neeraj Gupta 294b0219f1
TrashSync: handle API contract changes 2021-10-24 08:19:34 +05:30
vishnukvmd 9f845518bc Merge remote-tracking branch 'origin' into bg_sync 2021-10-22 22:59:11 +05:30
Neeraj Gupta 99102d882d
Merge pull request #100 from ente-io/trash_api
Trash
2021-10-22 16:59:02 +05:30
Neeraj Gupta 047b154156
trash_db: store file original metadata as json 2021-10-22 15:00:06 +05:30
Neeraj Gupta 84fe6169d2
Default to stripe if featureFlag fetch fails 2021-10-22 13:57:20 +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 85a6c7ca83
minor clean up and documentation 2021-10-20 20:06:48 +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 0b8d9c1e13
TrashGallery: actions for restoring/deleting selected files 2021-10-17 22:20:25 +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 f5a74f220a
IgnoredFile: minor refactoring & improved documentation 2021-10-17 19:58: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 be9c9ca13b
ignore files which were trashed or deleted 2021-10-16 22:50:15 +05:30
Neeraj Gupta 3b3f787f8c
persist deleted/trashed files with localId in ignoredFiles db 2021-10-16 21:45:15 +05:30
Neeraj Gupta f9b2fc6ed6
Add support for restoring file from detailpage view 2021-10-13 22:52:17 +05:30
vishnukvmd bbad8a4cce Initialize app on bg push 2021-10-13 10:54:49 +05:30
Neeraj Gupta 2cf7699198
switch to v2 version of collection/remove-files 2021-10-13 04:29:22 +05:30
Neeraj Gupta 49df079bcc
Add support for deleting files from trash 2021-10-13 04:21:19 +05:30
Neeraj Gupta ceaed8def3
TrashFile: extend File 2021-10-13 02:59:05 +05:30
Neeraj Gupta 84b0283933
Sync trashed items in local db 2021-10-13 00:57:11 +05:30
vishnukvmd cd0ecf32bd Trigger sync on receiving push 2021-10-12 15:06:22 +05:30
vishnukvmd 343a72c5b4 Add fg/bg as a param for sync 2021-10-12 15:02:51 +05:30
vishnukvmd 614e13e7da Parse background pushes 2021-10-12 14:42:28 +05:30
Neeraj Gupta f488f47f2b
Trash: Add trash service & api to trash files 2021-10-11 10:35:37 +05:30
vishnukvmd 0dcd6c8da4 Remove unnecessary log line 2021-10-03 23:25:10 +05:30
vishnukvmd e2da93d02e Publish the correct event after a diff fetch 2021-09-30 19:22:09 +05:30
vishnukvmd ac6cfd42c3 Place locally available files at first 2021-09-30 15:17:57 +05:30
vishnukvmd ff3e88a2f1 Publish a single event for file deletions within a collection 2021-09-30 14:58:46 +05:30
Neeraj Gupta bc6fac532a Fix gallery import by removing filter on creationTime 2021-09-29 19:27:20 +05:30
Neeraj Gupta fadda2680a
Fix bug which was resulting in repeated upload of same local file 2021-09-29 12:09:44 +05:30
Neeraj Gupta b09f0befe3
change timestamp for archive release time 2021-09-28 16:30:10 +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
vishnukvmd bdc2225999 Increment local metadata version post update 2021-09-23 17:30:55 +05:30
vishnukvmd d370735c70 Merge remote-tracking branch 'origin' into ui_updates 2021-09-23 16:51:39 +05:30
Vishnu Mohandas 38a48ee0df
Merge pull request #54 from ente-io/change_collection_name
Add support for renaming own collections
2021-09-23 16:49:26 +05:30
vishnukvmd d6bc3321e7 Update UI asap post archival 2021-09-23 16:44:15 +05:30
vishnukvmd 2ee21cd928 Merge branch 'master' into deduplicate 2021-09-23 12:46:08 +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 c9d0a86ac1 Add comments 2021-09-22 14:02:10 +05:30
vishnukvmd b77e0de56e Add option to sort duplicates 2021-09-20 20:06:01 +05:30
Neeraj Gupta 2bbf49384f
Rename to avoid conflict between request MagicMetadata & File:MagicMetadata 2021-09-20 12:56:25 +05:30
Neeraj Gupta 736fe4283b
minor refactoring: rename,final & imports 2021-09-20 12:24:11 +05:30
Neeraj Gupta 81eeeb7aeb
magic-metadata: rename 2021-09-20 12:11:38 +05:30
Neeraj Gupta a71af7d1d5
update magic-metadata url 2021-09-20 11:50:04 +05:30
Neeraj Gupta af8e1a0ff5
trigger remote sync when files magic metadata is out of sync 2021-09-18 10:23:27 +05:30
vishnukvmd 9e63c8d634 Refresh usage section when files have been deleted 2021-09-16 02:26:05 +05:30
vishnukvmd 073d07f9d1 Move deduplication to a separate service 2021-09-16 00:31:19 +05:30
vishnukvmd 8fa782d300 Ignore duplicates with a mismatch in creationTimes 2021-09-16 00:25:42 +05:30
vishnukvmd e97cc15d7d Log error if remote file is found missing in local DB 2021-09-15 23:09:37 +05:30
vishnukvmd 61d88688d0 Sort results by size consumed 2021-09-15 00:18:08 +05:30
vishnukvmd f38259bae9 Convert fetched fileIDs to File objects 2021-09-14 23:58:14 +05:30
vishnukvmd dcab8b8028 Add API to fetch duplicate files from remote 2021-09-14 20:53:39 +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
vishnukvmd 4add2afa77 Update the key for invalid files to pull files that were ignored due to permission errors 2021-09-11 10:02:19 +05:30
Neeraj Gupta df3917c2c8 use existing _isBackgroung flag 2021-09-05 15:48:14 +05:30
Neeraj Gupta f16ff8510a use final and fix logging 2021-09-05 15:40:43 +05:30
Neeraj Gupta 552813d0bd Android: verify permission before running local sync 2021-09-05 15:06:05 +05:30
Neeraj Gupta 9ad3e5be88 minor: move few strings to resources 2021-09-04 17:02:39 +05:30
Neeraj Gupta 3f27c83abd Show correct err when verification code has expired 2021-09-04 15:51:07 +05:30
Neeraj Gupta 53d7f0c876 Merge remote-tracking branch 'origin/master' into l10n 2021-08-31 15:58:17 +05:30
Neeraj Gupta fb6f26c7ca minor reformatting changes 2021-08-28 11:31:55 +05:30
Neeraj Gupta 091003575b FeatureFlag: Add enableStripe flag 2021-08-28 11:22:18 +05:30
Neeraj Gupta 64760fd52d More strings to resource 2021-08-28 10:44:43 +05:30
Neeraj Gupta 779449a340
Merge pull request #23 from ente-io/stripe_payment
Enable subscription via Stripe on independent apk
2021-08-28 10:42:03 +05:30
Neeraj Gupta 0456d20214 Fix: pass redirectUrl in stripe customer-portal request 2021-08-25 16:34:03 +05:30
Neeraj Gupta a62eeb1dae Fix bug: init sharedPref and call sync during init 2021-08-24 12:33:27 +05:30
Neeraj Gupta c1e0886757 Add feature flag to enable/disable CF Worker 2021-08-24 12:21:02 +05:30
vishnukvmd c6475827ef Merge branch 'master' into stripe_payment 2021-08-23 15:31:30 +05:30
Neeraj Gupta f141c2ee21 Integrate payment details for Stripe. 2021-08-19 22:52:14 +05:30
Neeraj Gupta 9175387f7d Support Stripe subscription renewal and cancellation 2021-08-19 16:53:48 +05:30
Neeraj Gupta 647ab51b3c Add method to identify independent apk 2021-08-18 18:07:47 +05:30
vishnukvmd ca23ccfb30 Add parameter to determine last supported version 2021-08-18 12:32:39 +05:30
vishnukvmd 5415df3ef4 Update release info endpoint 2021-08-18 12:05:06 +05:30
Neeraj Gupta db0408b1c9 UserService: Add method to fetch paymentToken 2021-08-17 16:22:14 +05:30
vishnukvmd b11ee940f3 Move delete to async ops 2021-08-09 12:04:42 +05:30
vishnukvmd ff10eb1ca4 Ignore permission checks if the app is in the background 2021-08-06 14:09:39 +05:30
Neeraj Gupta c602499837 Save both video and image for livePhoto on download 2021-08-05 19:56:35 +05:30
Neeraj Gupta 512247a515 Merge remote-tracking branch 'origin/master' into live_photos 2021-08-05 15:09:52 +05:30
vishnukvmd d5054da486 Log number of local IDs discovered 2021-08-05 02:16:58 +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 374dddc65f Handle errors within getOTT calls 2021-07-29 00:11:46 +05:30
vishnukvmd 5260279beb Add hook to change email 2021-07-28 23:36:30 +05:30
vishnukvmd 80217eadb3 Add widget to render user details 2021-07-28 19:38:27 +05:30
vishnukvmd 2696f3f792 Keep folders to backup in sync with the latest folders on disk 2021-07-28 01:13:21 +05:30
vishnukvmd 7fd3f2c7ef Use v2 API to fetch billing plans 2021-07-26 21:39:07 +05:30
vishnukvmd bdb344f040 Back up all folders if "select all" is opted for within backup folder selection widget 2021-07-23 17:58:02 +05:30
vishnukvmd fad5eb687d Handle incorrect sync status 2021-07-23 16:43:01 +05:30
vishnukvmd e219285a6d Remove redundant param 2021-07-23 16:13:19 +05:30
vishnukvmd eb9de99730 Fix moar linter warnings 2021-07-23 00:11:58 +05:30
vishnukvmd 197e807dc3 Fix lint warnings 2021-07-22 02:28:07 +05:30
vishnukvmd 9f8c409f3d Fix lint warnings 2021-07-22 02:17:43 +05:30
vishnukvmd d600d6e3b7 Fix linter suggestions 2021-07-22 01:52:15 +05:30
vishnukvmd ec0d4037aa Add option to disable backing up of videos 2021-07-12 17:24:43 +05:30
vishnukvmd a440fca9de Update logic to render number of uploaded files 2021-07-12 17:07:02 +05:30
vishnukvmd 9c80f1a2b9 Register for free subscription 2021-07-08 02:40:56 +05:30
Neeraj Gupta f685289468 [logout] clear local storage on api success only 2021-07-05 19:06:56 +05:30
Neeraj Gupta d14cbb7d97 delete token from server on logout 2021-07-05 15:01:03 +05:30
Vishnu Mohandas 39860cfde1 Sync all files for users who have selected limited files 2021-07-01 16:36:20 +05:30
Vishnu Mohandas 38b891f75f Add log statement 2021-07-01 14:59:25 +05:30
Vishnu Mohandas 76be1c9a37 Attach callback to listen for updates only after permission has been granted 2021-07-01 14:57:44 +05:30
Vishnu Mohandas ac13a5b9e5 Trigger a sync when something changes on disk 2021-07-01 14:39:04 +05:30
Vishnu Mohandas 4ff0554936 Add hook to select more photos if the user has granted limited permissions 2021-07-01 13:29:46 +05:30
Vishnu Mohandas 40d5623057 Request extended permissions and save returned state 2021-07-01 13:14:33 +05:30
Vishnu Mohandas 124c064379 Remove redundant call to request for permissions 2021-07-01 13:12:56 +05:30
Vishnu Mohandas 73106fc0af Create a recovery if absent 2021-06-29 20:33:54 +05:30
Vishnu Mohandas b5863d9dcd Prompt user to save recovery key post 2FA setup 2021-06-29 16:43:55 +05:30
Vishnu Mohandas 165ea91ab8 Minor text change 2021-06-29 15:24:59 +05:30
Vishnu Mohandas b6611b4113 Add hook to enable and disable 2FA 2021-06-29 15:18:01 +05:30
Vishnu Mohandas 248746c45f Merge branch 'master' of github.com:ente-io/frame 2021-06-28 21:43:24 +05:30
Vishnu 8a07a438f2 Use server API to compute file size 2021-06-28 12:10:19 +05:30
Vishnu 3a369eb76d Add API to fetch backed up files 2021-06-28 11:00:58 +05:30
Vishnu cc0d66132c Add option to remove 2FA 2021-06-27 15:53:53 +05:30
Vishnu 1547c5499f Handle session expiries gracefully 2021-06-26 16:26:52 +05:30
Vishnu e8f3d7bcce Add 2FA code entry screen 2021-06-26 16:07:17 +05:30
Vishnu Mohandas 41c1f39421 Ignore invalid files 2021-06-19 16:31:32 +05:30
Vishnu Mohandas 811a4cb71e Move expensive ops to a separate isolate 2021-06-19 16:31:32 +05:30
Vishnu d3ee26db0c Process older photos 2021-06-15 17:27:33 +05:30
Vishnu 3f6a847212 Reformat code 2021-06-15 00:40:28 +05:30
Vishnu 74ac0326fe Move private function further down 2021-06-14 21:57:50 +05:30
Vishnu f9918c16d3 Factor responsibilities into respecive sync services 2021-06-14 21:57:15 +05:30
Vishnu f7bc1962f6 Pull out remote sync to a separate service 2021-06-14 21:54:15 +05:30
Vishnu 3b9858cc40 Extract local-sync to a separate service 2021-06-14 20:28:36 +05:30
Vishnu a1aafad475 Drop the check for creation time during de-duplication 2021-06-13 16:45:24 +05:30
Vishnu 6d686745e1 Add extra logs 2021-06-13 15:40:51 +05:30
Vishnu Mohandas 265f3c2406 Add option to download a remote file 2021-06-13 02:59:04 +05:30
Vishnu Mohandas ee00ce351b Better interface when backups fail 2021-06-12 16:03:48 +05:30
Vishnu Mohandas 04879370d1 Use updated verify-email endpoint to enable 2FA 2021-06-12 15:14:00 +05:30
Vishnu Mohandas fc614e3f21 Ignore updates to edited file 2021-06-11 22:06:01 +05:30
Vishnu Mohandas 4cf2ec73e1 Save remote only files post edits 2021-06-05 00:41:39 +05:30
Vishnu Mohandas 323a754171 Update iOS config 2021-05-31 06:25:03 +05:30
Vishnu Mohandas d497fcf035 Initialize the notification service only on Android 2021-05-31 06:22:27 +05:30
Vishnu Mohandas dfe637b2ac Sync with remote only after the first import is complete 2021-05-31 05:16:50 +05:30
Vishnu Mohandas c1e1a99163 Make backup folder selection skippable 2021-05-29 22:31:59 +05:30
Vishnu Mohandas 5daf8412a1 Parse collection name decryption errors if any gracefully 2021-05-26 14:52:48 +05:30
Vishnu Mohandas 7ea047c905 Reduce excitement 2021-05-23 03:06:03 +05:30
Vishnu Mohandas a6b3b82bd1 Show notifications in the background, if an update is available 2021-05-23 02:56:11 +05:30
Vishnu Mohandas df3495a10d Handle errors gracefully 2021-05-23 01:18:44 +05:30
Vishnu Mohandas 1cba327147 Add option to check for updates 2021-05-22 23:59:09 +05:30
Vishnu Mohandas 4c2721af20 Update update endpoint 2021-05-22 23:30:20 +05:30
Vishnu Mohandas 04f17d8a9f Fix update URL 2021-05-22 23:28:04 +05:30
Vishnu Mohandas d3d4cf2515 Add a separate package for the independent track 2021-05-22 23:27:20 +05:30
Vishnu Mohandas 31de45bf1c Enable auto update checks 2021-05-22 21:16:04 +05:30
Vishnu Mohandas 537abae771 Show a notification on Android when storage limit is exceeded 2021-05-21 04:53:29 +05:30
Vishnu Mohandas 1a20fd3779 Extract constant 2021-05-21 04:48:45 +05:30
Vishnu Mohandas f9b879de69 Remove reliance on cached subscription plan 2021-05-19 23:03:21 +05:30
Vishnu Mohandas db184b470b Remove complex checks from SyncService 2021-05-19 23:03:21 +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 a0541c724b Handle network errors 2021-05-13 23:06:17 +05:30
Vishnu Mohandas e3a50358db Redirect to loading screen if first load is interrupted 2021-05-13 02:22:45 +05:30
Vishnu Mohandas 74470a7882 Smoothen the first load experience 2021-05-10 18:53:53 +05:30
Vishnu Mohandas 6922b35efd Setup happy paths 2021-05-10 00:14:05 +05:30
Vishnu Mohandas 62bc2de3da Improve efficiency of fetching latest files across collections 2021-05-04 20:56:17 +05:30
Vishnu Mohandas 0592ed04b0 Upgrade ALL packages! 2021-05-02 21:35:36 +05:30
Vishnu Mohandas dd007c2bc0 Handle errors during file deletion 2021-05-01 02:32:16 +05:30
Vishnu Mohandas 5a6d538879 Update the delete files API 2021-04-28 02:19:00 +05:30
Vishnu Mohandas 8aae51c055 Update local cache when a memory is seen 2021-04-27 21:53:01 +05:30
Vishnu Mohandas 41237f85c8 Cache call to memories 2021-04-27 21:36:24 +05:30
Vishnu Mohandas 40e7c8e4e5 Improve time taken to load memories 2021-04-27 21:30:29 +05:30
Vishnu Mohandas 15f009add3 Fire an event when first import is successful 2021-04-25 17:22:07 +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 ffa878e354 Extract method to clear cache to a util 2021-04-19 18:26:12 +05:30
Vishnu Mohandas ef68187625 Clear thumbnail cache with the right URL 2021-04-19 18:25:02 +05:30
Vishnu Mohandas 35de15da79 Insert fetched diff in bulk 2021-04-19 18:24:48 +05:30
Vishnu Mohandas 8a86781b12 Increase diff limit to 1000 2021-04-19 16:28:07 +05:30
Vishnu Mohandas 01ffdf2f24 Display the correct sync state post local gallery sync 2021-04-07 05:03:41 +05:30
Vishnu Mohandas 8e368f83b6 Ensure that there was a response before parsing the status code 2021-04-05 18:37:41 +05:30
Vishnu Mohandas f446c73d3d Ensure that the error has an osError attribute 2021-04-05 18:36:49 +05:30
Vishnu Mohandas 3c14ec733a Rename variable to make more sense 2021-04-05 18:17:31 +05:30
Vishnu Mohandas 4bf87b4c5c Add indicator for loading photos the first time 2021-04-05 18:16:26 +05:30
Vishnu Mohandas 98a0e91128 Generate new recovery keys for users who don't have any right now 2021-04-01 23:03:15 +05:30
Vishnu Mohandas 5037996ab6 Remove unused import 2021-04-01 22:28:51 +05:30
Vishnu Mohandas d445e21e01 Add ability to recover data 2021-04-01 19:56:08 +05:30
Vishnu Mohandas eea5b78531 Fix flow for key generation 2021-03-30 00:05:46 +05:30
Vishnu Mohandas b246d87191 Add a dialog to save recovery key 2021-03-29 20:39:12 +05:30
Vishnu Mohandas ba48e51516 Update set key request contract 2021-03-28 18:13:44 +05:30
Vishnu Mohandas d12ab1b4e0 Add option to change password 2021-03-26 21:43:32 +05:30
Vishnu Mohandas 99e4ce4563 Remove comments 2021-03-26 00:36:06 +05:30
Vishnu Mohandas dfeaa4408e Simplify sync events 2021-03-26 00:36:01 +05:30
Vishnu Mohandas d775051d35 Simplify logic to count uploads 2021-03-25 20:14:58 +05:30
Vishnu Mohandas 5b6bb926f8 Handle network errors 2021-03-22 13:04:59 +05:30
Vishnu Mohandas d1d72ed325 Display the correct queue size 2021-03-22 12:44:16 +05:30
Vishnu Mohandas 887bcbf06a Add functionality to add and remove folders from queue 2021-03-22 11:59:53 +05:30