Commit Graph

69 Commits

Author SHA1 Message Date
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
Marcin Simonides e89dfabab5 Remove the white ripple effect from tabs. 2021-09-09 12:43:27 +02:00
dkadrikj e3349d3036 Remove not needed PasswordType. Update CHANGELOG.md 2021-09-06 11:23:03 +02:00
dkadrikj 3a6ef95c4f Update CHANGELOG.md with the latest changes. 2021-09-03 13:16:59 +02:00
Neil Marietta 485d372483 Fixed HashKey signature verification (do not throw IllegalArgumentException anymore on decryption). 2021-08-31 19:07:05 +02:00
Artiom Košelev 829299a586 Added email recovery user settings tests and Robots 2021-08-30 10:57:49 +00:00
Artiom Košelev f7f031d370 Added user creation quark command 2021-08-27 18:30:43 +03:00
Marcin Simonides 392a5d84af Update version number and changelog. 2021-08-27 08:55:41 +02:00
Neil Marietta a876c56ac6 Added Crypto encrypt/decrypt File with KeyPacket/SessionKey/HashKey support. 2021-08-26 17:52:42 +02:00
Neil Marietta 8b78e39b9f Fixed SetupAccountCheck to always refresh User Addresses before proceeding. 2021-08-25 12:15:32 +02:00
dkadrikj 67ccc4b7cd Bump dependencies version to 1.6. 2021-08-21 00:44:49 +02:00
dkadrikj 2d7ab4fa4e Cleanup and organize code.
Set organization name not null.
Update CHANGELOG.md.
2021-08-20 17:12:25 +00:00
dkadrikj a17c8a075f Update CHANGELOG.md 2021-08-20 17:12:25 +00:00
Neil Marietta 7b0bb433ff Changed Key identity as: email <email>. 2021-08-20 17:33:46 +02:00