Mateusz Markowicz
c9e7b13f1b
Provide plans for signup and upgrade flow separately
...
Rationale: VPN wants to be able to have plan selection for plan
upgrade flow but not for signup.
2021-11-23 13:08:28 +01:00
Artiom Košelev
b467819ab3
Updated tests to use login helper
2021-11-22 18:33:46 +02:00
dkadrikj
519765b9bd
Rename ServerConnectionListener.kt to ApiConnectionListener.kt,
...
ServerConnectionHandler.kt to ApiConnectionHandler.kt and
ServerConnectionException.kt to ApiConnectionException.kt
2021-11-22 15:01:26 +00:00
dkadrikj
b69d40f9fb
Update CHANGELOG.md and rename ServerConnectionListener.kt function.
2021-11-22 15:01:26 +00:00
dkadrikj
42b21ec123
renamed guesthole package into server connection
2021-11-22 15:01:26 +00:00
dkadrikj
5857b20674
Fix HV not showing when GH is active.
...
Address code review comments.
2021-11-22 15:01:26 +00:00
dkadrikj
cb493af7a7
Add gues hole support into the network module.
2021-11-22 15:01:26 +00:00
Mateusz Armatys
4d14921849
Bump versions for libraries that use `presentation` module
2021-11-16 16:10:58 +01:00
Artiom Košelev
642be62082
Fixed two-year cycle yearly price.
2021-11-05 13:34:29 +00:00
Artiom Košelev
5e739c94c8
Updated ui tests and robots
2021-11-05 12:10:17 +01:00
dkadrikj
be83b7a118
Code readability improvements.
2021-11-05 12:09:09 +01:00
dkadrikj
411fd64f67
Add recyclable to ProtonAdapter.kt
2021-11-05 12:09:09 +01:00
Artiom Košelev
effcd89336
Updated SelectPlanRobot
2021-11-05 12:09:09 +01:00
dkadrikj
e8e7f0cf83
Split plans into signup and upgrade components.
...
Handling of upgrade and current plan screen.
2021-11-05 12:09:09 +01:00
Neil Marietta
4595624432
Added AndroidX Startup Initializers in CoreExample.
2021-11-04 19:16:07 +00:00
Neil Marietta
6fd8641378
Added Snackbar proton_notification_norm to color taxonomy.
2021-10-28 18:19:22 +00:00
Mateusz Armatys
0311ee7c53
Un-ignore HumanVerificationTests.captcha test
2021-10-28 15:50:30 +02:00
Artiom Koselev
4893b1c887
Added firebase integration
2021-10-28 10:38:36 +03:00
Neil Marietta
0122b76812
Refactored ContactDetailViewModel and ContactDetailActivity.
2021-10-25 12:47:04 +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
Jorge Martín
7a2e954440
Added ScreenContentProtector, ProtonSecureActivity/Fragment classes and protectScreen delegate.
2021-10-22 08:30:17 +02:00
Artiom Košelev
6ac2b84dce
Updated plans tests
2021-10-20 09:47:18 +03:00
Vincent Brison
b2a380f78d
Bump versions
2021-10-19 11:39:45 +02:00
Vincent Brison
f3fb0d8a66
Remove databinding
...
Disable databinding on account-manager module
Disable databinding on auth module
Disable databinding on coreexample module
Disable databinding on country module
Disable databinding on human-verification module
Disable databinding on payment module
Disable databinding on plan module
Disable databinding on presentation module
Disable databinding on user-settings module
2021-10-19 11:34:00 +02:00
Vincent Brison
2a70a78417
Migrate activities to viewbinding
2021-10-19 11:24:52 +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
dkadrikj
096a613acc
Refactor plan name logic.
...
Clarify some ambiguity.
Fix potential bugs.
2021-10-15 13:56:26 +02:00
dkadrikj
1ca9c5ddfa
Integrate latest plan api changes.
2021-10-15 11:31:36 +00:00
Neil Marietta
18b1b1bc51
Improved VCard encryption/decryption.
2021-10-13 10:04:35 +02:00
Vincent Brison
e9b20e269e
Add decryption example
2021-10-13 10:04:35 +02:00
Vincent Brison
aac4c7634b
Correctly handle contact mutation api response
...
See https://jira.protontech.ch/browse/MAILBE-530 . Cards are not returned by REST API on mutations operations.
2021-10-13 10:04:35 +02:00
Vincent Brison
b571f0f127
Add update example
2021-10-12 19:14:03 +02:00
Vincent Brison
a747ab0f39
Add documentation for create
2021-10-12 10:12:15 +02:00
Vincent Brison
b2921d773b
Implement contact deletion
2021-10-12 10:12:15 +02:00
Vincent Brison
034f585bb4
Dummy views to showcase contact deletion
2021-10-12 10:12:15 +02:00
Vincent Brison
080a330ecb
Improve creation UI feedback
2021-10-12 10:12:15 +02:00
Vincent Brison
c15f3be446
Contact crypto layer
2021-10-12 10:12:15 +02:00
Vincent Brison
b6d67690d2
Use better typing for ContactCard
2021-10-12 10:12:15 +02:00
Vincent Brison
7b8fdd39cf
Implement contact creation at repository level
2021-10-12 10:12:15 +02:00
vincent brison
1b4e1bbae6
Create encrypted contact
2021-10-12 10:12:15 +02:00
Vincent Brison
0ad3a4efce
Add dummy example to create contact
2021-10-12 10:12:15 +02:00
Vincent Brison
3ad1cb5155
Fix build config setup
...
Null handling for build config value is tricky, so extract this part. Also separate local properties reading and default proeperties reading.
2021-10-11 14:00:18 +02:00
Artiom Košelev
52c13bb626
Simplified instrumented builders. Refactored code accordingly
2021-10-08 19:44:59 +00:00
Vincent Brison
43763f494c
Fix tests
...
See CP-2739, CP-2742.
2021-10-08 11:47:28 +02:00
Benjamin Monjoie
bd78d8069d
Delay OkHttp's initialization
...
OkHttp's cache initialization is blocking the UI.
As per this trick: https://www.zacsweers.dev/dagger-party-tricks-deferred-okhttp-init/ ,
it should be better to initialize OkHttp in Retrofit's `callFactory` method.
This currently doesn't solve the issue with coroutines but has no downside either.
Indeed, the `callFactory` SAM is called on the `Dispatcher` which initiate the call.
It's often the `viewModelScope` which is using `Dispatchers.Main`.
Hopefully, an update to Retrofit will solve this issue.
2021-10-07 15:39:19 +00:00
Mateusz Armatys
79dc1ffadb
Deprecate HumanVerificationActivity in favor of HumanVerificationOrchestrator
...
For some edge cases (e.g. when "Don't keep activities" is enabled), using a `HumanVerificationActivity` may lead to unpredictable behavior.
CP-2505
2021-10-06 14:47:42 +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
Vincent Brison
1d51f829cf
Add contact hilt module
2021-10-05 17:30:15 +02:00
Vincent Brison
38da095dfd
Use javax.inject in contact module
2021-10-05 17:30:15 +02:00