Commit graph

2791 commits

Author SHA1 Message Date
vishnukvmd fc17d75824 Update device limit item styles 2022-02-26 17:58:58 +05:30
vishnukvmd e27321115d Update file-download-disabling flow 2022-02-26 17:55:15 +05:30
vishnukvmd ab56a49959 Copy changes 2022-02-26 17:43:24 +05:30
vishnukvmd 6f38f37eb8 Update link expiry setting styles 2022-02-26 17:21:52 +05:30
vishnukvmd 0b0377a65d Update hook to manage link 2022-02-26 17:17:35 +05:30
Neeraj Gupta ce8d01fb04
fix disable password flow 2022-02-24 15:59:59 +05:30
Neeraj Gupta 29d217ed79
link setting: support for configuring deviceLimit & minor fixes 2022-02-22 21:50:39 +05:30
Neeraj Gupta 1e594503b9
minor bug fix 2022-02-22 16:59:16 +05:30
Neeraj Gupta 5933284921
minor ui fixes 2022-02-22 16:54:59 +05:30
Neeraj Gupta be061a01a6
use cryptographically secure hash for link passwords 2022-02-22 16:48:52 +05:30
Neeraj Gupta 7ebf0cd368
support for setting link expiry, download button. & password 2022-02-22 11:38:27 +05:30
Neeraj Gupta 810a7f8fca
temp 2022-02-21 07:43:10 +05:30
Neeraj Gupta 0dbc09670d
Fix bug in uploading local files 2022-02-14 22:57:00 +05:30
Neeraj Gupta a75da5e54a
switch to base58 encoding for collectionKey in publicUrl 2022-02-13 22:31:09 +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 fed63d5ce7 add additional filter check 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 515358cf60 Show main gallery if user has any active collection 2022-02-13 18:12:34 +05:30
Neeraj Gupta b4d701c9f6
Merge pull request #186 from ente-io/fix_outgoing_collection_view
Fix outgoing collection view
2022-02-08 09:37:53 +05:30
Neeraj Gupta b8db9d6d6a
fix handling of text overflow 2022-02-08 00:41:28 +05:30
Neeraj Gupta be839c642b
Handle empty user name while showing sharees info 2022-02-08 00:33:22 +05:30
Neeraj Gupta 6b64d27e97
handle null value for email (#185) 2022-02-07 21:32:10 +05:30
Vishnu Mohandas a4e4d89811
Merge pull request #183 from ente-io/fix_sorry_dialog
Fix button colors within the sorry dialog
2022-02-06 00:13:41 +05:30
vishnukvmd 1fc51a84d6 Fix dialog button colors 2022-02-06 00:01:59 +05:30
Neeraj Gupta 3c6dc4ac3e
trim email id 2022-02-05 23:39:31 +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
vishnukvmd 90883775c8 Remove unused imports 2022-02-04 00:17:36 +05:30
vishnukvmd f38aa803b8 Remove unused import 2022-02-04 00:14:16 +05:30
vishnukvmd b66e9645cc Remove unused import 2022-02-04 00:14:04 +05:30
vishnukvmd c28c1ec8b2 Fix error caused due to AppLocalization being null 2022-02-04 00:13:26 +05:30
vishnukvmd 2888c959bc Update spacing 2022-02-04 00:06:18 +05:30
vishnukvmd e0bb066ab4 Add icon to copy the link 2022-02-04 00:05:09 +05:30
vishnukvmd b84aa6d549 Add missing divider 2022-02-01 06:44:51 +05:30
Neeraj Gupta 3c9960d16c
Fix: Handle repeated upload for file with new localID 2022-01-30 10:57:25 +05:30
vishnukvmd fbee8ae378 Fix the color of the text button 2022-01-29 22:50:13 +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
vishnukvmd ccea5d5a84 Show a link icon for albums shared via link 2022-01-24 23:53:46 +05:30
vishnukvmd 057e3665fd Fix string if there are no sharees 2022-01-24 23:48:33 +05:30
vishnukvmd 378c9ad167 Remove unused imports 2022-01-24 23:46:36 +05:30
vishnukvmd 521737e221 Render email if name is unavailable 2022-01-24 23:46:07 +05:30
vishnukvmd 97a7e31c77 Update styles 2022-01-24 23:40:57 +05:30
vishnukvmd 277d33ab4e Handle null case for public URLs 2022-01-24 23:14:33 +05:30
Neeraj Gupta a29dceb499
show collections with public url in outgoing collections list 2022-01-24 16:54:25 +05:30
Neeraj Gupta 56618bd8e4
Add confirmation dialog before disabling the url 2022-01-24 16:51:16 +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 89de4f8787
Encode collection key in hex 2022-01-24 16:15:56 +05:30
Neeraj Gupta ff61b7113a
Support for enabling/disabling public urls 2022-01-23 11:34:39 +05:30
vishnukvmd 97438381f3 Add separate toggle to club duplicates by creation time 2022-01-21 15:18:08 +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
Vishnu Mohandas e2573b1a5f
Merge pull request #164 from ente-io/minor_fix
handle error while displaying sharingDialog
2022-01-08 14:08:34 +05:30
Neeraj Gupta d2d7d4456a
remove redundant method invocation 2022-01-07 22:02:13 +05:30
Neeraj Gupta b177469df8
Bugfix: Logout user on invalid token 2022-01-07 22:00:22 +05:30
Neeraj Gupta 7264faf732
handle error while displaying sharingDialog 2022-01-07 21:34:51 +05:30
vishnukvmd 9115ee8791 Don't break when we're unable to fetch the push token 2022-01-07 13:03:31 +05:30
vishnukvmd c6d9a78f99 Update copy 2022-01-05 15:02:07 +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
Vishnu Mohandas f81f42fb40
Merge pull request #154 from ente-io/fix_sort
Fix sort
2021-12-23 12:07:36 +05:30
vishnukvmd 4f21ba0925 Fix comparison operator in sort 2021-12-23 12:04:03 +05:30
vishnukvmd 5c6334f51c Remove support chat 2021-12-20 13:02:09 +05:30
vishnukvmd 1a75f9e9f8 Remove files that have been deleted from the upload queue 2021-12-07 08:58:06 +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 550b7d5467 Log issues with fetching upload URLs 2021-12-02 10:38:51 +05:30
vishnukvmd 59e9ab8ab5 Upload videos in the end 2021-12-02 10:30:27 +05:30
vishnukvmd 506dc2af73 Retry sync when a background task is executed within the same isolate 2021-11-28 10:52:14 +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 0443ccb32c Rename logger 2021-11-28 10:48:00 +05:30
vishnukvmd a789935fb4 Define return type 2021-11-27 21:16:40 +05:30
vishnukvmd 279f53b6f8 Replace future with a simple boolean 2021-11-27 21:15:56 +05:30
vishnukvmd ae1f28dac5 Remove redundant check for in-memory variable since background task runs on a separate isolate 2021-11-27 21:12:52 +05:30
vishnukvmd 9cdf60df43 Don't exit when sync is in progress 2021-11-27 21:06:30 +05:30
vishnukvmd 9ad2e34e3a Send the correct background task handler to the app 2021-11-27 21:04:31 +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 9c4d7e5d44 Improve log statement 2021-11-27 20:15:50 +05:30
vishnukvmd 02b5197cdd Throw an exception when file upload times out 2021-11-27 20:12:53 +05:30
Neeraj Gupta 6a627e8f8a
Merge branch 'bg_sync' into bugfix_ios 2021-11-27 12:06:23 +05:30
Neeraj Gupta c205e78320
make it mandatory to pass authentication reason 2021-11-27 11:49:05 +05:30
Neeraj Gupta 4369a24385
surface correct authentication reason everywhere 2021-11-27 11:45:07 +05:30
Neeraj Gupta 0d1f3ad7bc
gracefully handle failure in session termination 2021-11-27 11:34:50 +05:30
Neeraj Gupta 69a4be1962
show toast on active sessions fetch failure 2021-11-27 11:24:57 +05:30
Neeraj Gupta 5dd55c2172
pass authenticationr reason for active sessions 2021-11-27 11:18:07 +05:30
Neeraj Gupta 67b717b771
Support for overriding reason for authentication 2021-11-27 11:15:42 +05:30
Neeraj Gupta 82cf4da3e5
Fix: show active sessions option for iOS 2021-11-27 11:09:50 +05:30
vishnukvmd 8f542745d3 Timeout file uploads after 50m 2021-11-26 10:26:34 +05:30
vishnukvmd 09bc9cccb1 Show active sessions on iOS 2021-11-26 10:18:19 +05:30
vishnukvmd b93c07669e Add some padding 2021-11-26 10:18:04 +05:30
vishnukvmd b371b908f6 Add optional string to be shown while requesting authentication 2021-11-26 10:13:48 +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 47f390d444 Update log line 2021-11-25 15:59:29 +05:30
vishnukvmd 01f9b673aa Configure background fetch during app widget init 2021-11-25 15:52:12 +05:30
vishnukvmd 3f9137481f Merge branch 'master' into bg_sync 2021-11-25 15:35:44 +05:30
Neeraj Gupta 7badc27f1b
logout: wait for 5s before timing out existingSync 2021-11-24 17:09:44 +05:30
vishnukvmd 730a24cea5 Wrap filename 2021-11-24 17:03:22 +05:30
vishnukvmd cc78c85b5b Wrap over flowing text in sessions 2021-11-24 17:01:08 +05:30
vishnukvmd 3336491f62 Extract app into a separate file 2021-11-24 12:56:07 +05:30
vishnukvmd 67df8e7bde Remove unnecessary visibility detector 2021-11-24 12:49:11 +05:30
vishnukvmd e30f038395 Accept review comments 2021-11-24 11:10:07 +05:30
vishnukvmd e55b440ac8 Minor refactor 2021-11-24 01:51:20 +05:30
vishnukvmd 08fa5a3d43 Add parsing for desktop UA 2021-11-24 01:50:47 +05:30
vishnukvmd 47c0ed7e2a Fix InkWell bounds 2021-11-24 01:40:51 +05:30
vishnukvmd 1e5ecb919f Add special hook to logout 2021-11-24 01:35:42 +05:30
vishnukvmd ae5cd428b8 Add hook to terminate a session 2021-11-24 01:24:47 +05:30
vishnukvmd 3fbcd6a62d Add API to terminate a session 2021-11-24 01:18:24 +05:30
vishnukvmd cef98e0fa7 Add interface to render active sessions 2021-11-24 01:10:50 +05:30
vishnukvmd 96501f8778 Add API to get active sessions 2021-11-24 01:10:33 +05:30
vishnukvmd 7fb8b6690a Add session model 2021-11-24 01:10:22 +05:30
vishnukvmd 81c72488d2 Wrap home widget within a visibility detector 2021-11-23 20:07:36 +05:30
vishnukvmd 6185579656 Merge remote-tracking branch 'origin' into bg_sync 2021-11-15 21:22:20 +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 8d4a763a65 Set state to foreground on app init 2021-11-15 20:07: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
Neeraj Gupta b839589a50
Merge pull request #140 from ente-io/mnemonic_passphrase
Add support to show mnemonic recovery key
2021-11-15 14:05:49 +05:30
vishnukvmd d887a8e6e7 Fix condition to force update server token 2021-11-14 20:22:05 +05:30
Neeraj Gupta e6e20f3dfc
Merge branch 'mnemonic_passphrase' of github.com:ente-io/frame into mnemonic_passphrase 2021-11-14 13:04:45 +05:30
Neeraj Gupta 6b8c591420
remove option to toggle b/w mnemonic and non-mnemonic code 2021-11-14 13:04:15 +05:30
Neeraj Gupta 43caf154a4
Remove redundant comment 2021-11-13 00:27:14 +05:30
Neeraj Gupta fbc5e7329e
Add support to show mnemonic recovery key 2021-11-12 23:10:56 +05:30
Neeraj Gupta 112f10cc72 minor refactoring 2021-11-12 17:18:39 +05:30
Neeraj Gupta 25654709ce hide edit name icons for files owned by others 2021-11-12 17:18:39 +05:30
Neeraj Gupta 74b3607ba2 show edit icon against the file name 2021-11-12 17:18:39 +05:30
Neeraj Gupta f5d1a24ee7 Allow changing file name via info dialog 2021-11-12 17:18:39 +05:30
Neeraj Gupta 7196ab1e6f refactor: ChangeCollectionNameDialog to generic RenameDialog 2021-11-12 17:18:39 +05:30
vishnukvmd 4ed90ca30b Refresh token every 30 days 2021-11-12 00:28:44 +05:30
Neeraj Gupta 3478ddb3ad
attempt to save password during change 2021-11-11 16:24:52 +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
Neeraj Gupta 67a9dbd5b6
formatting 2021-11-09 17:30:19 +05:30
Neeraj Gupta ee33c5d529
Android: Enable auto-fill for password 2021-11-09 17:26:54 +05:30
vishnukvmd 616d8efadc Merge branch 'master' into bg_sync 2021-11-05 14:08:55 +05:30
Neeraj Gupta 71eb662270 replace expansion_card with expansion_title_card (null safe & active package) 2021-11-01 15:45:23 +05:30
Neeraj Gupta 25a215d822
ignoreSizeConstraint while fetching assets 2021-11-01 14:06:18 +05:30
Neeraj Gupta a9f4fa8bd8 Bugfix: Fix typo 2021-10-31 19:59:22 +05:30
vishnukvmd 119acab9c7 Force reload home gallery if any creation time was changed 2021-10-30 21:36:56 +05:30
Vishnu Mohandas 1aab43f6d0
Merge pull request #127 from ente-io/thumbnail_load_fix
Fix Thumbnail load for files with localID but corresponding local file is misisng/deleted.
2021-10-30 18:30:51 +05:30
Neeraj Gupta 3eea54d262
BugFix: deduplicate files for home page 2021-10-30 12:35:50 +05:30
Neeraj Gupta 16ea080a4e
make fields which are not re-assigned as final 2021-10-30 11:48:45 +05:30
Neeraj Gupta 3239ba3644
Resolve existing package import issues 2021-10-30 11:21:23 +05:30
Neeraj Gupta aa8f4b9bde
lint: enable directives_ordering for imports 2021-10-30 11:13:56 +05:30
Neeraj Gupta 4322476d21
reset flags for remote thumbnail loading 2021-10-30 11:07:15 +05:30
Neeraj Gupta b4ef2d5d70
Merge remote-tracking branch 'origin/master' into thumbnail_load_fix 2021-10-30 11:05:36 +05:30
Neeraj Gupta c6e16edcb0
Fix:Use separate flags for tracking remote & local thumbnail loading 2021-10-30 10:52:44 +05:30
Neeraj Gupta 8751014de9
reformat imports 2021-10-30 10:49:05 +05:30
Neeraj Gupta 458d63e3a2
remove localID from trashFile is file is missing 2021-10-30 10:48:37 +05:30
Neeraj Gupta 914f785014
trashdb: add method to update trash file 2021-10-30 08:22:53 +05:30
vishnukvmd ca0686db38 Improve the hit area of the collection selection widget 2021-10-30 06:22:03 +05:30
vishnukvmd a8da8ca1f9 Set equal width for both archive and trash buttons 2021-10-30 06:19:59 +05:30
vishnukvmd fa2926b14a Prevent multiple parallel remote syncs 2021-10-30 06:09:53 +05:30
vishnukvmd 34b802f114 Remove redundant event 2021-10-30 05:43:58 +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 e9d89541d0 Add todo 2021-10-30 05:22:03 +05:30
vishnukvmd 4b724c5c1c Fix navigator stack on file deleted 2021-10-30 05:21:17 +05:30
vishnukvmd 5458253ef9 Remove unused imports 2021-10-30 05:12:42 +05:30
vishnukvmd a587359b1f Remove unused import 2021-10-30 05:10:13 +05:30
vishnukvmd f12b7220e4 Minor refactor 2021-10-30 04:44:31 +05:30
vishnukvmd 2949f0a0d5 Show the success toast only if files were actually deleted 2021-10-30 04:15:12 +05:30
vishnukvmd 139b7ca0f1 Prevent extra pop when the last file in a collection is deleted 2021-10-30 04:04:02 +05:30
vishnukvmd cef7c972e6 Reduce the duration of the toast 2021-10-30 03:48:24 +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 4312360fce
move ignored file logic to home page 2021-10-29 12:09:13 +05:30
Neeraj Gupta 83039431dc
address review suggestions 2021-10-29 12:02:58 +05:30
Neeraj Gupta 97ee06cc64
nudge user to clean trash after de-duplication 2021-10-29 11:03:42 +05:30
Neeraj Gupta f8c85c6fe9
hide ignored files from home page 2021-10-29 10:27:52 +05:30
Neeraj Gupta f0085c0889
remove unused methods 2021-10-29 09:52:38 +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