Commit Graph

379 Commits

Author SHA1 Message Date
Marino Meneghel 7560dc42be Bump version to 3.0.17 (939) 2023-10-03 12:20:01 +02:00
Niccolò Forlini 233d9564eb Bump version to 3.0.16 (938) 2023-07-24 07:55:35 +00:00
Zorica Stojchevska 983828438d Changed build version for a new release 2023-05-10 10:36:44 +02:00
Zorica Stojchevska 765648220e Bump play services safety net to latest version 2023-05-09 14:24:45 +00:00
Chirayu Desai 3a263139a7 Bump playServices version to the latest
* After the recent 3.0.0 update, which included a bump to targetSdk 31,
  we've noticed some crashes when microG was disabled
* The stacktrace pointed to PendingIntent mutability flags, which are
  required for targetSdk 31

Some details with stacktrace: https://gitlab.com/CalyxOS/calyxos/-/issues/1056
Test: Install ProtonMail on a device with microG as a system app, and with it disabled
      Current stable release (3.0.2) will crash with the above stack trace
      A build with this patch will work fine
2023-05-09 14:24:45 +00:00
Marino Meneghel 81c29eb029 Changed build version to 3.0.14 (936) 2023-04-18 17:26:10 +02:00
Marino Meneghel c83647b2c0 Update core lib to 10.4.0 2023-04-18 14:58:37 +02:00
M. Thiercelin 1927ef9744
Key transparency: migrate address DBs. 2023-04-17 09:31:02 +02:00
Zorica Stojchevska ad47d1945d Changed build version for a new release 2023-04-13 14:07:24 +02:00
Marino Meneghel 4e091c0ae8 Update core to version 10.2.0
MAILANDR-3071
2023-04-13 09:40:49 +02:00
Marino Meneghel 39e59e2c7b Add google play review dependency
This will be used to handle in-app review requests

MAILAND-3071
2023-04-12 11:59:10 +00:00
Neil Marietta e997d4fe2d chore: Bump Android Gradle Plugin to 7.4.2. 2023-04-11 10:58:15 +02:00
Neil Marietta 9566279547 refactor(auth): Updated Auth Activities AndroidManifest (scrollable & portrait). 2023-04-04 17:09:18 +02:00
Neil Marietta 529b49f32c chore(user-settings): Migration OrganizationDatabase.MIGRATION_2. 2023-04-04 10:35:44 +00:00
Neil Marietta d8e99206c2 feat: Added External Account Sign In Conversion support. 2023-04-04 10:35:44 +00:00
Neil Marietta 8fefc366e8 chore: Upgraded Android Gradle Plugin to 7.4.1. 2023-03-02 13:29:08 +01:00
Zorica Stojchevska 237b971722 Changed build version for a new release 2023-02-28 15:52:42 +01:00
Neil Marietta 2f7c757096 feat: Added Observability support (Core 9.12.0). 2023-02-24 15:23:04 +01:00
Zorica Stojchevska c8b967852b fix: Revert PRAGMA foreign_keys. Keep PRAGMA legacy_alter_table always ON (default in Android). 2023-02-20 14:52:47 +00:00
Neil Marietta 643050bc01 fix: Fixed foreign key reference to be renamed while recreating/altering target table. 2023-02-16 16:24:16 +01:00
Marino Meneghel da6e68c4a0 Bump version code for new alpha build
MAILAND-3059
2023-02-14 09:54:30 +01:00
Marino Meneghel 4faf3d7615 Fix issues where attachments are removed from composer
This issue's first visible cause is a race condition: if we open a new
composer, type in a recipient, subject and body and then press the "add
attachment" button _with the right timing_ the issue will happen.
The "right timing" seem to be couple of seconds: the assumption is that
the save draft flow have to be started but not finished.

This is due to the result of the "save draft" flow (which is triggered
automatically after we stop typing) is stored in a liveData which does
not get consumed by the composer activity till the "add attachments activity"
drawn on top returns. Once this live data is consumed, it overrides one
field that the "result" of add attachments activity did just set -
effectively removing the attachment.

This is the key part of this issue, as previously the livedata seemed to
be consumed anyways and thus the race condition was not encountered
(or very unlikely to happen).

While git bisect points the issue started with commit "Targeting sdk 33
to allow for granular media permissions" [6c951a] (which is the reason
for the fix being a rollback of target sdk) this doesn't seem to be the
whole story. Few other changes dependencies update happened at the
same time (kotlin update, activity and coroutines libs updated transitely
through core).

Such bits seem to be concurring to creating the issue, making it uneasy
to define one single root cause with confidence.

MAILAND-3059
2023-02-13 17:00:16 +01:00
Neil Marietta e979648ba3 fix(auth): Get Domains when Sign Up flows start.
chore: Upgraded Core to 9.9.1.
2023-02-02 08:32:55 +00:00
Zorica Stojchevska e0cd8ff800 Changed build version for a new release 2023-01-27 10:15:38 +01:00
Neil Marietta 7e4dee353e feat: Added Unauthenticated Session support.
chore: Upgraded Core to 9.9.0.
chore: Upgraded Core Gradle Plugins to 1.1.2 (Detekt update).
2023-01-26 16:57:21 +00:00
Zorica Stojchevska b62e4db0c8 Changed build version for a new release 2023-01-26 14:10:05 +01:00
Zorica Stojchevska 46661e8925 Changed build version for a new release 2023-01-24 07:44:06 +01:00
Zorica Stojchevska 6ab23b70b2 Changed build version
#comment Just changed the version for a new release
Affected: nothing
2023-01-20 08:14:25 +01:00
Zorica Stojchevska 6c951a5f7d Targeting sdk 33 to allow for granular media permissions 2023-01-18 14:01:45 +00:00
Neil Marietta 1e29b3da4a Upgraded Turbine to 0.12.1. 2023-01-17 10:23:31 +01:00
Neil Marietta df90db845b Upgraded Core to 9.8.0. 2023-01-16 07:52:06 +00:00
Mateusz Armatys da23c0126e Update Core to 9.7.0. 2023-01-09 07:56:20 +00:00
Mateusz Armatys 45c3bc4f1f Update the usage of testing APIs from Core. 2023-01-09 07:56:20 +00:00
Zorica Stojchevska c98ccdff01 Changed build version
#comment Just changed the version for a new release
Affected: nothing
2022-12-30 15:26:37 +01:00
Zorica Stojchevska bf84ccc677 Changed build version
#comment Just changed the version for a new release
Affected: nothing
2022-12-29 14:18:35 +01:00
Zorica Stojchevska 539072ba59 Changed build version
#comment Just changed the version for a new release
Affected: nothing
2022-12-28 20:02:02 +01:00
dkadrikj 2c0e097194 Update core to 9.5.0 2022-12-27 18:31:08 +00:00
Marino Meneghel 1428bcbf8b Changed build version to 3.0.9 (923) 2022-10-31 14:47:36 +01:00
dkadrikj 5454258cd5 Update Core to 9.2.2 2022-10-31 07:29:33 +01:00
Zorica Stojchevska 7fa6499f60 Changed build version
#comment Just changed the version for a new release
Affected: nothing
2022-10-28 11:55:19 +02:00
dkadrikj 9a279e253a Update Core to 9.2.1 2022-10-27 23:31:31 +02:00
Zorica Stojchevska cba7dcacf4 Changed build version
#comment Just changed the version for a new release
Affected: nothing
2022-10-26 18:10:31 +02:00
Mateusz Armatys 1f6152a9d7 Update Core libs to 9.2.0.
Third-party library updates & emulator version update for instrumentation tests.

- Change device for instrumentation tests (due to SIGSEGV crash on API 28, x86)
- Update compileSdk to 32 (required by Compose)
- AGP 7.3.1 (needed to fix jacoco issue for instrumented tests)
- Kotlin 1.6.21 (1.6.20 is required by AGP and 1.6.21 required by Compose)
- Remove `buildToolsVersion` - it's determined by Android Gradle Plugin
- Hilt 2.44
- Android Test 1.4.0
- Android Test Orchestrator 1.4.1
- Dagger 2.44
- Fragment 1.5.4
2022-10-26 13:58:28 +00:00
dkadrikj 3ddc387364 Configure Core to latest changes 2022-10-26 13:58:28 +00:00
dkadrikj 48b113c7ef Add exclude MANIFEST.MF 2022-10-26 13:58:28 +00:00
dkadrikj 39b5224d28 Configure to latest core changes 2022-10-26 13:58:28 +00:00
dkadrikj 4fec58b1f0 Update Core to 9.1.2 2022-10-26 13:58:28 +00:00
Zorica Stojchevska 959bf443b2 Changed build version
#comment Just changed the version for a new release
Affected: nothing
2022-10-04 19:10:41 +02:00
Zorica Stojchevska a67758471f Update to core 9.0.2 2022-10-04 14:20:21 +02:00
Neil Marietta 9fb9f43c70 Upgraded Core to 9.0.0.
Added DB Migrations.
Removed unnecessary HumanVerification/MissingScope handling.
2022-10-04 14:20:21 +02:00