Commit Graph

51 Commits

Author SHA1 Message Date
Jorge Martín 9063539fa8 Links in Help page navigate to incorrect pages 2021-11-24 12:51:33 +01:00
Mateusz Armatys 4d14921849 Bump versions for libraries that use `presentation` module 2021-11-16 16:10:58 +01:00
Mateusz Armatys c57ef43999 Changelog and versions (country, human-verification) 2021-10-29 15:25:04 +02:00
Jorge Martín 7a2e954440 Added ScreenContentProtector, ProtonSecureActivity/Fragment classes and protectScreen delegate. 2021-10-22 08:30:17 +02:00
Vincent Brison 43e96bd93b Add missing bump from viewbinding update 2021-10-20 16:11:15 +02:00
Jorge Martín c70ff4e971 Protect screens with visible password fields using WindowManager's FLAG_SECURE
Add ProtonSecureActivity
2021-10-13 10:08:41 +00:00
Mateusz Armatys 00063e89a6 Update changelog and version numbers 2021-10-06 14:59:32 +02:00
Jorge Martín 102f40d3d6 Add Atlas Proxy for testing, ExtraHeaderProvider to add arbitrary headers to all requests 2021-10-06 09:31:42 +02:00
Neil Marietta ae9280d50b KeyStoreCrypto fallback if Android KeyStore is not properly working. 2021-09-21 16:25:03 +02:00
Vincent Brison eae528716f Bump all libraries version to 1.15.0 2021-09-10 17:44:59 +02:00
dkadrikj 30f35e5eee Fix dialog fragments crash on rotation change because of missing default constructor. 2021-09-01 12:30:09 +00:00
Neil Marietta 664bcd6dbe Updated CHANGELOG.md and Modules version. 2021-08-13 15:38:08 +02:00
dkadrikj 4094dbbda7 Updated CHANGELOG & modules version. 2021-08-05 11:35:09 +02:00
dkadrikj 68497f4e57 Fix captcha webview for human verification not shown properly on small devices. 2021-07-26 09:56:59 +00:00
dkadrikj 3506827a9b Improve Human Verification help UI.
Bump affected module versions.
2021-07-22 15:20:46 +00:00
Neil Marietta 63cb162e19 Refactored Core Database. 2021-07-21 16:24:02 +02:00
dkadrikj 2fac13fda6 Replace ComponentActivity and Fragment with ActivityResultCaller.
Add Human Ver Details Payment ext method.
2021-07-12 17:26:01 +02:00
Neil Marietta 455c1575d5 Renamed CaptchaHost annotation to CaptchaApiHost (to make it clearer). 2021-07-07 07:36:45 +00:00
Neil Marietta 24edbeb298 Renamed Annotation CaptchaBaseUrl to CaptchaHost and some captchaBaseUrl to captchaUrl. 2021-07-01 17:44:08 +02:00
dkadrikj 839c630278 Bump human verification module version. 2021-06-23 11:25:21 +02:00
Neil Marietta 1041e00767 Refactored and simplified startHumanVerificationWorkflow. 2021-06-17 18:19:26 +02:00
Neil Marietta e14e00cc7a Fixed HumanVerification Email Hint ("example@protonmail.com" -> "email@example.com"). 2021-06-10 12:53:27 +02:00
Neil Marietta 25908c4007 Improved HumanVerification default Country to be selected by current Locale. 2021-06-08 17:11:19 +02:00
Neil Marietta 646183da63 Refactored HumanVerification.
Never delete HumanVerification tokens except on Invalid Verification Code (error 12087).

HumanVerification Network Handlers:
- HumanVerificationNeededHandler: call onHumanVerificationNeeded on error 9001 (last of error handler list).
- HumanVerificationInvalidHandler: call onHumanVerificationInvalid (which delete token) on error 12087.
2021-06-03 17:18:11 +02:00
dkadrikj b0c8fdd9ed Add support for captcha base url dependency.
Now clients can set their own different production or testing captcha urls.
2 ways are supported, directly when starting the HV flow and a more static one via dependency.

Update API docs.
2021-06-01 08:12:25 +00:00
Mateusz Markowicz 2a8acfe6a7 Bump human verification and network versions 2021-05-31 12:44:29 +02:00
Neil Marietta 758cca75b7 Added HumanVerificationOrchestrator.unregister. 2021-05-28 09:58:29 +02:00
Neil Marietta 58110656a9 Upgraded Hilt to 2.35.1. 2021-05-12 23:33:42 +02:00
dkadrikj 6876980bbc Refactor human verification module.
Remove human verification dependency in account manager and make it independent.
2021-05-12 17:57:14 +00:00
Davide Farella f6b8069eb2 Increase global minSdk [21] -> [23] 2021-05-03 07:25:42 +00:00
dkadrikj 3909f3b19d Fix fragment parent theme. 2021-04-12 12:39:12 +00:00
Neil Marietta e5adf7bd80 Replaced ViewStateStore by StateFlow, ViewModelResult and SavedStateHandle. 2021-04-01 17:48:37 +02:00
dkadrikj 2d998fa913 Update presentation module.
- Improve clickable adapter
- Add more validation utils (credit card)
- Add support for custom icon for Proton Input

Improve ProtonInput.kt, ProtonInputEndButtonAction.kt and styles.xml.

Convert end icon ProtonInput.kt functions into a properties.

Fix detekt issues.

Update Human Ver and Data modules.

- move readFromAssets to data module

Set new name AssetReader.kt

Set endIconDrawable from constructor.
2021-03-29 13:23:01 +02:00
Neil Marietta 359b903e41 Bump Human Verification modules version to 0.2.6. 2021-03-12 15:13:10 +01:00
Damir Mihaljinec 9ea991f338 Added splash theme.
Splash theme should be used in android manifest on launcher activity. It should be applied until launcher activity is created, so launcher activity in onCreate should set ProtonTheme.
App that wants to use this theme must set brand_splash_logo attribute to logo drawable.
2021-02-26 13:04:43 +00:00
dkadrikj 5ea689020b Human verification improvements. 2020-12-30 15:24:19 +01:00
Neil Marietta aa6d7c5cc8 Bump modules versions. 2020-11-17 18:17:17 +01:00
Neil Marietta 3d550e34c4 Removed unneeded DataBinding from Android modules.
Bump modules versions.
2020-11-12 11:59:44 +01:00
Neil Marietta aa658a9b06 Bump modules versions. 2020-11-11 21:06:36 +01:00
Neil Marietta 0d6890cfa1 Bump modules versions. 2020-11-02 10:39:03 +01:00
Davide Farella 693b22b1f8 Bump all libraries minor for Kotlin 1.4.x
CP-994

# Conflicts:
#	test/android/build.gradle.kts
2020-10-21 18:23:54 +02:00
Davide Farella c5ee8ecb66 Cleanup projects' plugins
CP-964
2020-10-21 18:23:53 +02:00
Davide Farella 176e566680 Cleanup util.libVersion imports
CP-964
2020-10-21 18:23:53 +02:00
dkadrikj a1a52a159a bumped versions for human verification and presentation modules 2020-09-14 17:02:30 +00:00
dkadrikj 612c952e96 Add icon back to presentation module 2020-09-10 16:48:44 +02:00
dkadrikj 95009878c4 incorporate latest presentation module changes 2020-09-10 15:30:48 +02:00
dkadrikj cc5bfafee9 Update HumanVerification to the new custom views 2020-09-07 11:16:25 +02:00
dkadrikj c48ae5bedb deprecated get color replaced
human verification module version increased
2020-08-05 11:01:36 +02:00
dkadrikj a4a3f3783e libVersion included in the gradle for publishing 2020-07-25 13:03:05 +02:00
Davide Farella 23aa86e57f Human Verification modules setup
Human Verification modules setup
2020-07-24 16:39:01 +02:00