285 Commits
Author SHA1 Message Date
Damir Mihaljinec 47da262c5b feat(network): Added handler for feature disabled proton error code. 2025-12-09 17:02:45 +00:00
Mateusz Armatys a44b79c533 chore: Update plugins and libraries.
AGP 8.9.1
Gradle 8.13
Dagger/Hilt 2.53.1
Jacoco to Cobertura 1.3.2
Room 2.7.2
Store 5.0.0
2025-09-18 17:05:30 +02:00
Nicolas Mouchel c10115b0e1 fix(network): network blocked during unit tests (drive) 2025-09-17 11:11:01 +00:00
Mateusz Markowicz b60bf4e699 feat(network): Provide additional DoH providers in case primary ones are blocked.
VPNAND-2332
2025-09-16 12:07:27 +00:00
Denys Zelenchuk ea6e3a67ef test: Added tests to latest subscription and registration flows, video recording and logs collection, reworked DiskCookieStorage to use MultiProcessDataStoreFactory; improved gitlab yml configuration. 2025-07-31 11:06:30 +02:00
Marcin Simonides 869620fd80 feat(network-data): add support for ApiResult<ByteArray>. 2025-07-29 13:29:19 +00:00
Rob Oblack 8194813206 Safe-parse error details 2025-07-10 07:53:18 +00:00
Mateusz Armatys 2c67e64400 chore: Update targetSdk to 35.
- Update `AddAccountActivity` for edge-to-edge.
2025-07-03 18:04:57 +02:00
Marcin Simonides 44e0a62821 chore(network-domain)!: Suspending shouldUseDoh.
Change ApiClient.shouldUseDoh to a suspend function.
2025-06-17 10:37:53 +02:00
Mateusz Armatys 3d2561cd4d refactor(device-migration, network): Add ErrorMessageContext for obtaining error messages from a Throwable. 2025-04-28 13:54:57 +02:00
Mateusz Armatys e21bfe182f fix(auth, device-migration): Add support for empty encryption key in EDM QR code.
Allow to send empty payload when forking a session.
2025-04-16 12:44:41 +00:00
Mateusz Armatys 606b9b678c feat(device-migration): UI for showing QR code for sign-in. 2025-04-07 16:30:41 +02:00
Mateusz Armatys 379d6e6643 feat(device-migration): Integrate device migration on origin device into DeviceMigrationActivity. 2025-03-28 16:53:07 +00:00
Damir Mihaljinec bf044e0c78 chore(network): Add details as JsonObject to ApiResult.Error.ProtonData. 2025-03-12 10:58:18 +00:00
Marcin Simonides ae6a12834e chore(network-data): Replace apache-commons with base32 library. 2025-02-26 10:14:49 +00:00
Neil Marietta 8e197b1a48 fix(auth): Replaced Global SSO fallback by isUnprivatizationNotAllowed(10401). 2025-01-14 14:51:07 +01:00
Neil Marietta 8a30174d9f fix(auth): Added Global SSO Unprivatization fallback (without keys). 2024-12-12 14:37:32 +00:00
Neil Marietta 9f00419efe fix(auth): Removed CustomTabs/ProtonWebView Activities from history/recents. 2024-11-27 16:51:43 +01:00
Neil Marietta 62288fcd96 refactor(auth): Refactored Login flows (LoginTwoStep). 2024-11-26 17:09:40 +01:00
Mateusz Markowicz b91f68598e fix(network-presentation): Enable excluding common names for certificate transparency in testing 2024-11-26 09:58:03 +00:00
Neil Marietta 3964854221 chore(network): Added Certificate Transparency support. 2024-10-11 15:25:45 +00:00
Mateusz Armatys af2e8cd77d feat(auth): SSO - associate device with a session. 2024-09-11 14:13:26 +02:00
Mateusz Armatys 4a159b8141 refactor: The presentation module does not depend on network* modules.
The following elements have been moved from `presentation` to `network-presentation`:
`ProtonWebViewActivity`, `ProtonWebViewClient`, `Throwable.getUserMessage`.
2024-07-26 11:57:20 +02:00
Mateusz Armatys 005682451a build: Update Kover (0.7.1 -> 0.8.2). 2024-07-09 10:23:13 +00:00
dkadrikj 2f46ce65ed chore: Remove binary compatibility validator. 2024-07-05 15:08:05 +02:00
dkadrikj 6eb6e5b5b9 fix(user-recovery): Fix recovery secret already set error on upgrade. 2024-05-31 10:15:37 +00:00
Niccolò Forlini ea3e799429 fix(plan): Fixed Subscription Update error handling (400 status code). 2024-05-07 09:48:21 +00:00
Neil Marietta 64c3b4de6f fix(plan): Fixed Subscription Update error handling (e.g. network issue). 2024-04-29 16:32:30 +00:00
Mateusz Armatys b2667fb9f4 chore(network): Add a warning log if clientId is missing in HumanVerificationNeededHandler. 2024-04-22 10:35:46 +00:00
Damir Mihaljinec 23c10af742 chore(network): Allow adding OKHttp interceptors through dependency injection 2024-04-09 08:59:59 +00:00
Mateusz Armatys 31514a7a91 fix(network): Pass x-pm-payment-info-token header if payment token is present.
For now, the value of `x-pm-payment-info-token` is the same as `x-pm-human-verification-token`. However, using `x-pm-human-verification-token-type: payment` is deprecated, but `x-pm-payment-info-token` is not implemented in every endpoint we need.
2024-03-22 17:11:07 +00:00
Neil Marietta 83b4bb4fb4 fix(network): Fixed Missing Scope error codes (scopes: locked/password). 2024-03-05 13:38:29 +00:00
Neil Marietta c517bba3ee chore: Upgraded Kotlin to 1.9.22 (and needed dependencies). 2024-02-28 18:09:18 +00:00
Neil Marietta 1c72136a24 feat!: Added CredentialLess Support.
DB Migrations:
- UserDatabase.MIGRATION_5: Added User.type.
- AccountDatabase.MIGRATION_7: Account.username nullable.
2024-02-13 15:08:04 +01:00
Mateusz Armatys b7c77cbcc7 fix(plugins-coverage): Exclude classes that end with $DefaultImpls.
Those classes are generated by Kotlin, e.g. when an interface method uses default values.
2024-02-01 12:16:56 +00:00
Neil Marietta 82be3754e6 feat: Added Custom Tabs support for LoginSso Activity. 2024-01-29 14:36:16 +00:00
Mateusz Armatys cde18282f2 build(coverage): Set up min and max bounds for coverage. 2023-12-19 19:45:50 +01:00
Neil Marietta dab9b492b2 fix(network): Added HTTP 421 as Retryable. 2023-12-06 11:56:53 +00:00
Damir Mihaljinec 10c2cadc73 fix(network): Update server time only on successful response. 2023-11-03 15:07:46 +00:00
Mateusz Armatys 6323966453 chore(observability): Additional status labels for the "login after sigup" metric. 2023-10-10 13:21:56 +00:00
Algirdas Pundzius 39dfb1060b feat(network)!: Add AppClock implementation which uses time synchronized with API. 2023-09-29 08:39:49 +00:00
Neil Marietta 8364b7748e refactor!: Removed Logger.log function. 2023-09-14 10:01:43 +00:00
dkadrikj 0061b0ae37 feat(coverage): Update coverage rules and introduce new ExcludeFromCoverage annotation.
.
2023-08-30 15:47:23 +00:00
Neil Marietta b6f1853930 feat(plan, payment): Added Dynamic Plan/Subscription parsing error logs. 2023-08-22 10:59:25 +02:00
Mateusz Armatys 66de03337c feat(util-android-sentry): Sentry for Account team. 2023-08-16 16:54:47 +02:00
Neil Marietta 49b0bd8eb5 refactor: Moved LogTag to domain layer. 2023-07-25 13:13:21 +02:00
yzhang 4d52ad2fb3 feat(pow): Add pow challenge solver duration for backend. 2023-07-20 02:41:56 +00:00
yzhang 1a372c0bbb feat(pow): Fix pow issue on login with unauth session. 2023-07-20 02:41:56 +00:00
Mateusz Armatys fde0ffb6c5 chore(observability): Additional label values for creating payment tokens. 2023-07-19 15:10:21 +02:00
Mateusz Armatys 0965ff4c2f chore(observability): Additional label values for username availability metrics. 2023-07-19 12:22:03 +00:00