Commit graph

347 commits

Author SHA1 Message Date
Neeraj Gupta 1612b4f8f6
Show error if user tries to link existing subscription to another account 2022-09-06 17:02:22 +05:30
Neeraj Gupta 1533ac4098
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-29 23:32:00 +05:30
vishnukvmd 06ec7cb658 final all the vars! 2022-08-29 20:13:31 +05:30
Neeraj Gupta ba82402969
log actual exception 2022-08-29 16:23:09 +05:30
Neeraj Gupta 7432689bb1
Support sending logs on password verification screen 2022-08-29 16:01:25 +05:30
Neeraj Gupta 23bd6ff6ba
Merge branch 'reupload_hash_check' into rewrite_device_sync 2022-08-26 15:04:40 +05:30
Neeraj Gupta 38771a9402
Put search behind remote feature flag 2022-08-26 14:59:49 +05:30
vishnukvmd d755143dcd Clear video cache after 3 days 2022-08-24 17:38:52 +05:30
Neeraj Gupta a0007ba45a
Fix issue in tracking all folders 2022-08-23 18:49:20 +05:30
Neeraj Gupta 0c07eb4d05
More changes related to backup folder tracking 2022-08-23 18:25:07 +05:30
ashilkn 4cd054a164 Merge branch 'master' into location-search 2022-08-10 19:24:47 +05:30
vishnukvmd 0119f8a257 Update variable name 2022-08-10 18:58:33 +05:30
vishnukvmd eddaa8fe5d Directly hit the endpoint to download files only on non-production environments 2022-08-10 18:57:32 +05:30
ashilkn a0a4e3d1f3 moved getFilteredCollectionsWithThumbnail to search_service.dart 2022-08-09 20:39:18 +05:30
ashilkn 18fb6917ae added delay for caching files after init + cached files will be deleted on logging out 2022-08-06 18:05:29 +05:30
Neeraj Gupta 35268bcf76
Minor refactor 2022-07-19 16:45:26 +05:30
Neeraj Gupta ac0011f83b
Add base EnteFile and use cacheKey for thumbnailCache 2022-07-19 16:42:28 +05:30
Neeraj Gupta ca1d9388e2
Fix share to ente upload 2022-07-06 01:35:51 +05:30
Neeraj Gupta 1357fdd560
Fix fDroid check while initializing remote sentry 2022-07-05 22:17:54 +05:30
Neeraj Gupta 9fd0a4d148
Ensure sentry is not init for fdroid client 2022-07-05 08:17:49 +05:30
Neeraj Gupta 460dd1203e
Prefer const 2022-07-04 11:33:10 +05:30
Neeraj Gupta d71c5237ec
Link fixes 2022-07-03 12:19:00 +05:30
Neeraj Gupta f6a29bd6f0
skip init sentry if dsn is not specified 2022-06-23 15:34:52 +05:30
Neeraj Gupta 0bebde580d
Show photo with creationTime in future 2022-06-23 07:46:41 +05:30
Neeraj Gupta 49b04f6a97
await on toggle operation 2022-06-19 01:19:17 +05:30
Neeraj Gupta 57c838dbf6
Add UI setting to keep device awake 2022-06-19 01:09:08 +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 5c5fa2735b
put migration logic behind feature flag 2022-06-08 15:21:03 +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 dd05bc863a
use vanlilla launchUrl for support email 2022-05-31 13:22:47 +05:30
vishnukvmd 106dbac6b6 Use a tunneled transport when necessary 2022-05-29 04:50:23 +05:30
vishnukvmd f8f815c340 Introduce a tunneled transport 2022-05-29 04:49:59 +05:30
vishnukvmd dad7f409a7 Move super_logging to internal codebase 2022-05-29 03:46:22 +05:30
Neeraj Gupta e8da432be5
Clear in-memory thumbcache on file updation 2022-05-13 19:44:24 +05:30
Neeraj Gupta a76b953742
Merge pull request #203 from ente-io/scroll_down_to_go_back
Go back to gallery on swipe down
2022-03-20 17:28:43 +05:30
Neeraj Gupta 581c0a3e04 iOS: migrate secure storage tokens to new device 2022-03-20 13:11:15 +05:30
Neeraj Gupta f0a2215015 Go back to gallery on swipe down 2022-03-14 17:14:18 +05:30
Neeraj Gupta ffc08cbdbc
remove usage of import Applocalization 2022-02-04 11:01:07 +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 6185579656 Merge remote-tracking branch 'origin' into bg_sync 2021-11-15 21:22:20 +05:30
Neeraj Gupta fbc5e7329e
Add support to show mnemonic recovery key 2021-11-12 23:10:56 +05:30
vishnukvmd 290a8bea36 Configure push token on user sign in 2021-11-11 00:44:25 +05:30
Neeraj Gupta 964ddd50e5
refactor: rename stuff 2021-10-21 17:26:02 +05:30
Neeraj Gupta f5a74f220a
IgnoredFile: minor refactoring & improved documentation 2021-10-17 19:58:47 +05:30
Neeraj Gupta 683fb1bb49
Clear trash and ignored files db on logout 2021-10-16 23:46:36 +05:30
Vishnu Mohandas 7c722a91f9
Merge pull request #98 from ente-io/request_id 2021-10-09 06:26:06 +05:30
Neeraj Gupta 4812985ac4
formatting 2021-10-09 01:01:04 +05:30
Neeraj Gupta 9d86a58e1f
Add interceptor to attach request-id to outgoing requests 2021-10-09 01:00:10 +05:30
Neeraj Gupta 159b5ae392
Disable notification on non-debug build 2021-10-08 22:37:10 +05:30
vishnukvmd 66d071e4c3 Disable inspector on shake 2021-10-08 16:51:01 +05:30
Neeraj Gupta ba16a6a887
Show network requests in debug build using alice 2021-10-08 12:14:35 +05:30
vishnukvmd 9b24cf91b1 Update libraries that use a deprecated version of the Android embedding 2021-10-04 03:09:05 +05:30
Neeraj Gupta dd65d7971d
increase connect timeout 5s -> 15s 2021-09-28 12:41:44 +05:30
vishnukvmd 2ee21cd928 Merge branch 'master' into deduplicate 2021-09-23 12:46:08 +05:30
Neeraj Gupta f9e1c8278a
specify 5000ms as connect timeout 2021-09-22 10:29:10 +05:30
vishnukvmd e97cc15d7d Log error if remote file is found missing in local DB 2021-09-15 23:09:37 +05:30
vishnukvmd a598c9594f Extract constants to a separate file 2021-09-15 00:18:26 +05:30
Neeraj Gupta 9507222d9e upload: stop logging fileTooLargeErr as error 2021-09-12 06:26:56 +05:30
Neeraj Gupta d47517c639 Log additional details for invalidFile errors 2021-09-01 16:08:00 +05:30
vishnukvmd a6a52a29c4 Decrypt secretKey and token during the recovery flow 2021-08-31 08:05:58 +05:30
vishnukvmd 2c8bb1f83b Remove unnecessary import 2021-08-24 01:58:53 +05:30
Neeraj Gupta 51750cce82 Minor formatting changes 2021-08-10 13:38:07 +05:30
Neeraj Gupta ab2b348e3b Show toast for live photo 2021-08-10 12:52:16 +05:30
vishnukvmd dd90b98ef0 Prevent editing of on-owned files 2021-08-09 18:56:06 +05:30
vishnukvmd b11ee940f3 Move delete to async ops 2021-08-09 12:04:42 +05:30
Neeraj Gupta 0ef4e5ad78 Fail livephoto upload if videoUrl is missing 2021-08-05 20:23:54 +05:30
Neeraj Gupta 82fa67ef9e Minor refactoring 2021-08-04 15:54:53 +05:30
vishnukvmd 865b750a62 Reduce visibility of internal function 2021-07-28 00:47:33 +05:30
vishnukvmd 4c7d0598cf Let Configuration decide if all paths have been selected to be backed up or not 2021-07-28 00:40:57 +05:30
Neeraj Gupta 726f03439c
Merge pull request #18 from ente-io/share_to_ente_android
[Android] Share to ente app
2021-07-24 23:07:36 +05:30
vishnukvmd d29bd9a046 Set anonymized identifier for crashes 2021-07-24 21:07:57 +05:30
Neeraj Gupta 4bab7ca586 Store manual backup media in a separate directory 2021-07-24 19:00:33 +05:30
Neeraj Gupta 2559e90352 Formatting changes 2021-07-24 18:03:03 +05:30
Neeraj Gupta 6e1ea2ae6d Move app cache files identifier in constant 2021-07-23 18:23:39 +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 eb9de99730 Fix moar linter warnings 2021-07-23 00:11:58 +05:30
Neeraj Gupta 7826eb1fcb Merge branch 'master' of github.com:ente-io/frame 2021-07-22 15:03:51 +05:30
Neeraj Gupta 35aa74c9fd Add support for reading httpEndpoint from env 2021-07-22 15:03:01 +05:30
vishnukvmd 1ee144e413 Upgrade Sentry 2021-07-22 15:00:11 +05:30
vishnukvmd b404029029 Prevent secure storage value migrations 2021-07-22 12:37:43 +05:30
vishnukvmd 19202c37fa Migrate secure storage to wait for first unlock 2021-07-22 12:36:45 +05:30
vishnukvmd 6606ecdc91 Load images from the 18th century too 🤷 2021-07-22 02:23:51 +05:30
vishnukvmd 9f8c409f3d Fix lint warnings 2021-07-22 02:17:43 +05:30
vishnukvmd 1d9e67c6c6 Fix linter suggestions 2021-07-22 01:52:15 +05:30
vishnukvmd b23dbe1728 Remove debug endpoint 2021-07-22 01:52:15 +05:30
vishnukvmd 1389aa371b Merge branch 'master' of github.com:ente-io/frame 2021-07-12 19:56:35 +05:30
vishnukvmd ec0d4037aa Add option to disable backing up of videos 2021-07-12 17:24:43 +05:30
Neeraj Gupta 3c7c855619 Network: remove unused method 2021-07-12 16:45:58 +05:30
Neeraj Gupta 5b08816de9 Config: Connect to local server in debug mode 2021-07-12 16:45:01 +05:30
vishnukvmd 9afef180de Reformat imports 2021-07-12 04:08:12 +05:30
Vishnu 4f5755b5af Merge branch 'master' of github.com:ente-io/frame 2021-07-07 06:41:06 +05:30
Vishnu d9ce124f6b Remove unnecessary padding 2021-07-06 00:05:42 +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 afb820d75b Add util to compute recovery key 2021-06-29 15:17:01 +05:30
Vishnu Mohandas bf210d18ab Enable one-shot deletes for Android 11+ 2021-06-29 00:33:53 +05:30
Vishnu f7bc1962f6 Pull out remote sync to a separate service 2021-06-14 21:54:15 +05:30
Vishnu e5756e7a78 Use URL save variant for b64 conversion 2021-06-13 15:36:25 +05:30
Vishnu Mohandas 04879370d1 Use updated verify-email endpoint to enable 2FA 2021-06-12 15:14:00 +05:30
Vishnu Mohandas c1e1a99163 Make backup folder selection skippable 2021-05-29 22:31:59 +05:30
Vishnu Mohandas b08fdeae4e Fix package header title 2021-05-23 02:36:01 +05:30
Vishnu Mohandas d3d4cf2515 Add a separate package for the independent track 2021-05-22 23:27:20 +05:30
Vishnu Mohandas 1a20fd3779 Extract constant 2021-05-21 04:48:45 +05:30
Vishnu Mohandas 22ba7e86c5 Send client version with HTTP requests 2021-05-16 14:26:20 +05:30
Vishnu Mohandas e7d13b5704 Accept password on the first screen 2021-05-09 05:29:55 +05:30
Vishnu Mohandas f7f038033b Work around hash collision #fml 2021-05-08 03:42:10 +05:30
Vishnu Mohandas 85f155fe14 Maintain disk cache for thumbnails by self 2021-05-07 20:59:33 +05:30
Vishnu Mohandas 703377dc11 Ignore debug mode endpoint for now 2021-05-07 17:11:51 +05:30
Vishnu Mohandas caba788a6a Don't block on writing to cache to return the decrypted thumbnail 2021-05-07 04:05:56 +05:30
Vishnu Mohandas ff7868d118 Reduce the number of thumbnails cached in memory 2021-05-04 23:58:05 +05:30
Vishnu Mohandas d5f9f3e497 Improve logic to load thumbnails 2021-05-03 20:48:56 +05:30
Vishnu Mohandas 0592ed04b0 Upgrade ALL packages! 2021-05-02 21:35:36 +05:30
Vishnu Mohandas 13b0acbe32 Remove API call logger 2021-04-19 18:16:16 +05:30
Vishnu Mohandas 99df462dea Send UA with request 2021-04-04 22:49:46 +05:30
Vishnu Mohandas 3f4238bef9 Binary search to find appropriate mem and ops limits 2021-04-02 03:24:12 +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 d445e21e01 Add ability to recover data 2021-04-01 19:56:08 +05:30
Vishnu Mohandas d7acc95855 Generate recovery key as per specs 2021-03-29 20:29:37 +05:30
Vishnu Mohandas d12ab1b4e0 Add option to change password 2021-03-26 21:43:32 +05:30
Vishnu Mohandas 887bcbf06a Add functionality to add and remove folders from queue 2021-03-22 11:59:53 +05:30
Vishnu Mohandas ccd160bcbc Remove unused setter 2021-03-22 01:13:26 +05:30
Vishnu Mohandas 9eb55326b3 Remove unused attributes from configuration 2021-03-22 01:10:10 +05:30
Vishnu Mohandas ea28fd046a Add an option to hide from recents 2021-03-21 18:04:24 +05:30
Vishnu Mohandas 4b1439eab1 Show settings screen for non-signed in users too 2021-03-21 15:28:55 +05:30
Vishnu Mohandas 088b73eb70 Add setting to show lockscreen 2021-03-19 18:57:39 +05:30
Vishnu Mohandas 8cb7f885b3 Default to sensitive limits for computation and memory for key derivation 2021-03-18 14:57:59 +05:30
Vishnu Mohandas 317bbf8f18 Remove all instances of kekHash 2021-03-18 13:39:02 +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 a7b2e63b1a Add an option to logout 2021-03-18 02:37:17 +05:30
Vishnu Mohandas 9efeeff4dd Remove debug code 2021-03-18 00:54:16 +05:30
Vishnu Mohandas bfdbe1b098 Upgrade flutter 2021-03-18 00:49:11 +05:30
Vishnu Mohandas 964d499f16 Remove keys if a token does not exist 2021-03-17 01:52:06 +05:30
Vishnu Mohandas 7886d5daa9 Remove unused import 2021-03-15 20:14:52 +05:30
Vishnu Mohandas ff48d2d2fc Update debug endpoint 2021-03-10 08:38:28 +05:30
Vishnu Mohandas 1c01ee8a57 Point to prod 2021-03-08 13:08:59 +05:30
Vishnu Mohandas d4ce8fc162 Simplify detection of background uploads 2021-03-04 22:58:27 +05:30
Vishnu Mohandas 0b90ea1271 Update timestamp on disk when a background upload is completed 2021-03-04 01:43:55 +05:30
Vishnu Mohandas b9e9aa393a Take a lock on a file before triggering it's upload 2021-03-03 21:37:02 +05:30
Vishnu Mohandas 33288c111f Delete temp folder remnants only once a day 2021-03-03 20:19:49 +05:30
Vishnu Mohandas 114511489d Add a silent exception for upload errors 2021-03-02 12:53:02 +05:30
Vishnu Mohandas 9194c5d690 Reduce quality of the local thumbnail 2021-03-02 00:12:06 +05:30
Vishnu Mohandas 2759399ff3 Extract errors into a separate file 2021-02-26 14:51:47 +05:30
Vishnu Mohandas 881b6f38ba Update debug mode endpoint port 2021-02-25 20:29:44 +05:30
Vishnu Mohandas 50b12aefbd Block on writing logline to file 2021-02-18 12:47:22 +05:30
Vishnu Mohandas 736383b4c6 Trigger sync when backup folder configuration is changed 2021-02-14 18:25:23 +05:30
Vishnu Mohandas 80727abc82 Increase thumbnail cache size 2021-02-09 17:46:25 +05:30