Jorge Martin
9582624601
event-manager: Add onSuccess and onFailure callbacks to EventListener
2021-11-22 09:10:19 +00:00
Neil Marietta
9cf66be008
Added EventManagerConfig parameter to all EventListener functions.
2021-11-18 13:35:50 +01:00
Jorge Martín
b7563c0426
Fix broken plan translations
2021-11-17 09:49:18 +01:00
Mateusz Armatys
4d14921849
Bump versions for libraries that use `presentation` module
2021-11-16 16:10:58 +01:00
Mateusz Armatys
88cce17b20
Auth Version and Changelog
2021-11-15 19:01:22 +01:00
Mateusz Markowicz
7bfa1ecb69
Switch between External and Username on choosing username screen
...
When required account type by the client is external - currently used
only for VPN - switch between External and Username instead of Internal.
For future we might want client to inject this preference.
2021-11-15 10:25:50 +01:00
dkadrikj
c4645ebe78
Update CHANGELOG.md
2021-11-12 14:03:34 +01:00
Mateusz Armatys
46693485f0
Auth Version and Changelog
2021-11-12 11:44:26 +01:00
Mateusz Armatys
1881d385ba
Bump version for mail-message to fix a `NoSuchMethodError` crash
...
The class `GetRecipientPublicAddresses` (which is in mail-message module)
is calling `publicAddressKeyRepository.getPublicAddressOrNull`. At one point,
the third argument of this method was changed from boolean to Source,
so the method signature has changed.
`GetRecipientPublicAddresses` was calling this method only with
two arguments, and the third one was implicit (as it had a default value).
As a result, we didn't get any compilation errors, but the app would crash at runtime.
2021-11-10 11:42:50 +01:00
Mateusz Markowicz
a8c94f927e
Add changelog for Test Android Instrumented 1.15.5
2021-11-09 16:24:03 +01:00
Vincent Brison
dbf6e05e3b
Prepare release for Test Android Instrumented
2021-11-08 17:43:32 +01:00
marin thiercelin
17316b31b6
Make SignedKeyList.data and signature nullable.
...
There are some cases where the backend will return null strings
for SignedKeyList.signature, we adapt the model to be able to handle
these cases.
2021-11-08 12:44:52 +01:00
Artiom Košelev
642be62082
Fixed two-year cycle yearly price.
2021-11-05 13:34:29 +00:00
dkadrikj
49455ce3ab
Bump auth and presentation modules version
2021-11-05 12:14:16 +01:00
dkadrikj
3c454ac31e
Update CHANGELOG.md
2021-11-05 12:10:17 +01:00
Neil Marietta
d7be255fa2
Allow Login without keys for Product VPN with AccountType External.
2021-11-03 14:53:59 +01:00
Mateusz Armatys
c57ef43999
Changelog and versions (country, human-verification)
2021-10-29 15:25:04 +02:00
Neil Marietta
6fd8641378
Added Snackbar proton_notification_norm to color taxonomy.
2021-10-28 18:19:22 +00:00
Mateusz Armatys
d5da8e5bc2
Update auth version and changelog
2021-10-28 15:50:30 +02:00
dkadrikj
0959e7189f
Fix CP-2803 for unable to change login pass for accounts with 2FA enabled.
2021-10-28 11:18:48 +02:00
Neil Marietta
351fa5eb7b
Added EventManager Domain/Data and Event Listeners.
...
Added EventManager LogTags.
Added EventManagerConfig and EventManagerConfigProvider.
Added EventWorkManager and EventManagerWorker.
Added UserEventListener.
Added UserAddressEventListener.
Added MailSettingsEventListener.
Added UserSettingsEventListener.
Added ContactEventListener.
Added ContactEmailsEventListener.
Added AppLifecycleObserver and AppLifecycleProvider.
2021-10-25 12:47:04 +02:00
Vincent Brison
0cb4fb332a
Clear password input field after app in background for some time
2021-10-25 09:10:42 +00:00
Jorge Martín
7a2e954440
Added ScreenContentProtector, ProtonSecureActivity/Fragment classes and protectScreen delegate.
2021-10-22 08:30:17 +02:00
Neil Marietta
e58771dedc
Force Change password via Web only for private sub-user.
2021-10-19 16:12:14 +02:00
Neil Marietta
7f8d660c85
Fixed Login for AccountType Username (VPN).
...
Allow Login without full/keys scopes, without fetching addresses if not needed.
Return Success for UnlockUserPrimaryKey without keys.
2021-10-18 12:59:49 +02:00
marin thiercelin
5c1e83f0dd
Key/User : fix handling of signed key lists
...
Signed key lists are used by the backend to enable key transparency of address keys.
This commits moves the logic of generating SKLs to the user address level.
It fixes the handling of flags and primariness of keys in SKLs.
We update the model of address and public address entities to store the SKL associated.
We migrate databases to be able to store those SKLs.
2021-10-15 14:57:03 +02:00
dkadrikj
3e1f0a3c56
Bump version.
...
Add CHANGELOG.md.
2021-10-15 13:56:26 +02:00
Mateusz Armatys
9973fd590b
Fix IndexOutOfBoundsException in RecoveryMethodFragment:
...
In some languages, the word for "terms", when used in a full sentence, may be different
(either conjugation, or simply different letter casing).
In that situation, the `startIndex` was equal to `-1` and the `setSpan` method would crash.
To fix this, we mark the position in a string, where the link should appear.
In case no such annotation is found, the whole link is clickable.
Add comment to `auth_signup_terms_conditions_full` string
2021-10-15 09:49:46 +02:00
Jorge Martín
fef5add2ba
Add new colors to the taxonomy for the sidebar component
2021-10-13 16:42:21 +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
marin thiercelin
6be9fe51fa
Add crypto and key APIs to generate and verify encrypted signatures.
...
In some applications we require the detached signatures to be encrypted
to avoid leaking information about the signed data.
This commit adds support to generate and verify those encrypted signatures.
2021-10-11 11:40:19 +02:00
Neil Marietta
5e194b0894
Replaced Signature Verification validAtUtc (Long) by VerificationTime (Ignore, Now, Utc).
2021-10-08 16:10:19 +02:00
marin thiercelin
ff1833ec24
Bump crypto module's version number to build version
2021-10-08 12:46:22 +00:00
Vincent Brison
b94e757322
Bump version and add changelog
2021-10-08 11:47:28 +02:00
Mateusz Armatys
00063e89a6
Update changelog and version numbers
2021-10-06 14:59:32 +02:00
Mateusz Armatys
0acdae8ca4
Update changelog
2021-10-06 14:49:16 +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
Jorge Martín
2680f84a34
Add log in ServerTimeInterceptor on Date parse failure
2021-10-05 09:18:28 +02:00
Jorge Martín
043f33c9d2
Add CacheOverride Tag for clients
2021-10-04 09:24:34 +00:00
Marcin Simonides
3d7f0130c6
Fix theming with MIUI Dark Mode.
2021-09-30 13:53:10 +02:00
Marcin Simonides
af5e704de8
Add styling for action menu text.
2021-09-28 09:25:26 +00:00
Marcin Simonides
11255517ff
Use MaterialAlertDialogBuilder for dialogs.
2021-09-28 09:25:26 +00:00
Neil Marietta
ae9280d50b
KeyStoreCrypto fallback if Android KeyStore is not properly working.
2021-09-21 16:25:03 +02:00
Mateusz Armatys
53acb411c4
Remove `FragmentManager.showForceUpdate` method (instead of just deprecating it)
2021-09-21 13:33:09 +02:00
Mateusz Armatys
f92fd1f69d
Update CHANGELOG
2021-09-21 11:47:51 +02:00
Jorge Martín
5fc2de6837
Added IntEnum support for UserSettings
2021-09-20 17:12:30 +02:00
Artiom Košelev
d86243b63d
Added password management robots
2021-09-14 16:30:53 +03:00
Vincent Brison
78186ae156
Update changelog
2021-09-10 17:44:59 +02:00
dkadrikj
8f33a5085d
Add better result callback for password management and recovery email change features.
...
Password management and recovery email change screens now auto-close themselves on success.
2021-09-10 11:41:31 +02:00
Neil Marietta
ed0e688fe1
Added encryptAndSign/decryptAndVerify PublicKeyRing parameter (default to KeyHolderContext.publicKeyRing).
2021-09-09 13:39:54 +00:00