Commit Graph

4737 Commits

Author SHA1 Message Date
Marino Meneghel 215edbf4f9 Merge branch 'chore/bump-version' into 'develop'
Bump version to 3.0.17 (939)

See merge request android/mail/proton-mail-android!1291
2023-10-03 11:12:07 +00:00
Marino Meneghel 7560dc42be Bump version to 3.0.17 (939) 2023-10-03 12:20:01 +02:00
Marino Meneghel e251e0a568 Merge branch 'chore/translations-2023-10-02_061824' into 'develop'
i18n: Upgrade translations from crowdin (fb51066e).

See merge request android/mail/proton-mail-android!1290
2023-10-02 09:54:04 +00:00
proton-ci 7cacfb4785 i18n: Upgrade translations from crowdin (fb51066e). 2023-10-02 06:18:24 +00:00
Marino Meneghel fb51066edb Merge branch 'fix/3104-fix-PII-leak' into 'develop'
Block loading of remote favicons when loading a message

See merge request android/mail/proton-mail-android!1289
2023-09-29 15:06:33 +00:00
Marino Meneghel ecdc3c1551 Block loading of remote favicons when loading a message
This prevents a vulnerability where a malicious actor could craft
a message which would cause a leak of personal information
(such as IP address, browser info and OS) upon opening.

MAILAND-3104
2023-09-28 15:47:44 +02:00
Marino Meneghel 5bf09eaabf Merge branch 'chore/translations-2023-09-25_061816' into 'develop'
i18n: Upgrade translations from crowdin (0b178613).

See merge request android/mail/proton-mail-android!1288
2023-09-25 07:04:18 +00:00
proton-ci 37656d8467 i18n: Upgrade translations from crowdin (0b178613). 2023-09-25 06:18:16 +00:00
Marino Meneghel 0b178613c9 Merge branch 'chore/bump-3016-938' into 'develop'
Bump version to 3.0.16 (938)

See merge request android/mail/proton-mail-android!1279
2023-07-24 12:05:54 +00:00
Niccolò Forlini 233d9564eb Bump version to 3.0.16 (938) 2023-07-24 07:55:35 +00:00
Maciej Surmacz c5e77758ca Merge branch 'fix/3070_get-attachments-from-BE-before-sending' into 'develop'
Fetches the remote draft right before sending

See merge request android/mail/proton-mail-android!1275
2023-07-07 15:29:18 +00:00
Maciej Surmacz a08a524a7f Uses the remote attachment info when sending a message
Adding the local and remote attachments might lead to duplicated
attachments, potentially. At the time of sending, the local and
remote attachments should be the same.

MAILAND-3070
2023-07-06 12:47:22 +02:00
Maciej Surmacz a7ddf1f4ea Fetches the remote draft right before sending
The remote attachments are added to the local ones in order to avoid
sending failures wherein the attachments on the BE are different than
the ones on the client side.

MAILAND-3070
2023-07-05 13:19:22 +02:00
Zorica Stojchevska 983828438d Changed build version for a new release 2023-05-10 10:36:44 +02:00
Zorica Stojchevska a23af3a877 Merge branch 'fix/bump_play_services' into 'develop'
Bump playServices version to the latest

See merge request android/mail/proton-mail-android!1262
2023-05-09 15:22:03 +00: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
Zorica Stojchevska 08bebfcc31 Merge branch 'fix/add_content_description' into 'develop'
Adding content description to Expand / Collapse dropdown button for talkback.

See merge request android/mail/proton-mail-android!1263
2023-05-09 14:20:52 +00:00
Gowtham K K 3446c33164 #Fix Adding content description to Expand / Collapse dropdown button for talkback.
Affected: MessageDetailsHeaderView.kt
2023-05-09 14:19:12 +00:00
Marino Meneghel 0b5cacc8b0 Merge branch 'feat/3081-hide-subscriptions-button' into 'develop'
Hide subscription button for users that are not admins

See merge request android/mail/proton-mail-android!1264
2023-05-09 12:10:40 +00:00
Marino Meneghel 044638ff95 Hide subscription button for users that are not admins
This avoids users which are part of an organization but not admins,
to be presented with an error when they open the subscriptions menu (due
to missing permissions).

MAILAND-3081
2023-05-09 11:20:23 +00:00
Marino Meneghel 326493604b Merge branch 'chore/translations-2023-05-08_063153' into 'develop'
i18n: Upgrade translations from crowdin (1bcbab8b).

See merge request android/mail/proton-mail-android!1265
2023-05-09 09:59:36 +00:00
proton-ci ef9027535a i18n: Upgrade translations from crowdin (1bcbab8b). 2023-05-08 06:31:53 +00:00
Marino Meneghel 1bcbab8ba1 Merge branch 'chore/translations-2023-05-01_063655' into 'develop'
i18n: Upgrade translations from crowdin (4a237a77).

See merge request android/mail/proton-mail-android!1261
2023-05-05 10:05:32 +00:00
proton-ci 1005d7d5e6 i18n: Upgrade translations from crowdin (4a237a77). 2023-05-04 08:23:20 +00:00
Marino Meneghel d69ff561d8 Merge branch 'fix/3074-avoid-multiple-events-requests' into 'develop'
Avoid enqueueing multiple jobs to fetch updates

See merge request android/mail/proton-mail-android!1260
2023-05-04 08:22:14 +00:00
Marino Meneghel 8ee2991639 Do not check all networks for connectivity but only active network
MAILAND-3074
2023-05-02 12:45:55 +02:00
Marino Meneghel 24798d9fba Network Connectivity Manager checks for internet capability to be valid
This tests that internet connection is up and running, avoiding cases
such as having an active VPN connection with no internet access to
result as having connectivity.

MAILAND-3074
2023-04-26 07:49:47 +00:00
Marino Meneghel fdf390c197 Make QueueNetworkUtil check for actual connectivity
As from the docs, the isConnectedOrConnecting method "is good for
applications that need to do anything related to the network other than
read or write data. For the latter, call isConnected() instead, which
guarantees that the network is fully usable.".

In the cases used by this method, we want to have a fully working network
as the usage is to transfer data.

https://developer.android.com/reference/android/net/NetworkInfo#isConnected()

MAILAND-3074
2023-04-26 07:49:47 +00:00
Marino Meneghel 24ed833afb Avoid enqueueing multiple jobs to fetch updates
Due to the way we rely on AlarmManager as a cron system to schedule new jobs to
fetch updates from event loop, when offline, it might happen that
multiple instances of the same job (FetchUpdateJob) are enqueued one
after the other, resulting in duplicated API calls when back online.

Here, we cancel any pre-existing "FetchUpdateJob" job before adding a
new one to the queue.

MAILAND-3074
2023-04-26 07:49:47 +00:00
Marino Meneghel 4a237a77e8 Merge branch 'chore/translations-2023-04-24_063407' into 'develop'
i18n: Upgrade translations from crowdin (c1566169).

See merge request android/mail/proton-mail-android!1259
2023-04-25 14:57:31 +00:00
proton-ci bef4765b5c i18n: Upgrade translations from crowdin (c1566169). 2023-04-24 06:34:08 +00:00
Marino Meneghel c156616938 Merge branch 'fix/3071-fix-ratings-flow-launch' into 'develop'
Call launch review flow to prompt user the rating dialog

See merge request android/mail/proton-mail-android!1257
2023-04-19 08:17:10 +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
Marino Meneghel 9c3d470e14 Call launch review flow to prompt user the rating dialog
- Inject review manager over using static constructor

MAILAND-3071
2023-04-17 12:23:28 +00:00
Marino Meneghel 798ec9f9e2 Merge branch 'fix/3078-change-api-endpoint' into 'develop'
Change base and API endpoint to proton.me

See merge request android/mail/proton-mail-android!1255
2023-04-17 12:21:48 +00:00
Marino Meneghel 9818e64b4b Update pinned certificates hashes for trustkit
MAILAND-3078
2023-04-17 10:56:03 +00:00
Marino Meneghel 9d12762d3c Change base and API endpoint to proton.me
MAILANDR-3078
2023-04-17 10:56:03 +00:00
Marin Thiercelin 95ebef51fe Merge branch 'feat/key-transparency' into 'develop'
Key transparency: migrate address DBs.

See merge request android/mail/proton-mail-android!1256
2023-04-17 08:51:07 +00:00
M. Thiercelin 1927ef9744
Key transparency: migrate address DBs. 2023-04-17 09:31:02 +02:00
Marino Meneghel 84473f5048 Merge branch 'chore/translations-2023-04-17_062638' into 'develop'
i18n: Upgrade translations from crowdin (708fef2c).

See merge request android/mail/proton-mail-android!1258
2023-04-17 07:18:10 +00:00
proton-ci 6edbbebb09 i18n: Upgrade translations from crowdin (708fef2c). 2023-04-17 06:26:38 +00:00
Neil Marietta 708fef2c67 Merge branch 'chore/reportbug_tests' into 'develop'
fix(report): Use simplified ReportOrchestrator startBugReport function.

See merge request android/mail/proton-mail-android!1252
2023-04-14 09:23:21 +00:00
Neil Marietta e3353da7ac fix(report): Use simplified ReportOrchestrator startBugReport function. 2023-04-13 12:20:05 +00:00
Zorica Stojchevska ad47d1945d Changed build version for a new release 2023-04-13 14:07:24 +02:00
Marino Meneghel d9aab635d8 Merge branch 'feat/3071_prompt-whitelisted-user-to-rate-app' into 'develop'
Require users to rate app when meeting conditions

See merge request android/mail/proton-mail-android!1251
2023-04-13 09:34:24 +00:00
Marino Meneghel 4e091c0ae8 Update core to version 10.2.0
MAILANDR-3071
2023-04-13 09:40:49 +02:00
Marino Meneghel 57e398a110 Make mailbox screen view repository thread safe
- Explicitly remove FeatureFlagsInitializer from manifest

MAILAND-3071
2023-04-12 11:59:10 +00:00
Marino Meneghel 54cf43d280 Let backend know that the rate app flow was triggered
by setting the feature flag to false.

This is not a guarantee that the rate app dialog was shown,
as the final decision on whether to show the "rate app dialog"
or not is done by google play lib based on "API usage quota"
(the rate dialog can only be shown so many times in a given timeframe).

MAILAND-3071
2023-04-12 11:59:10 +00:00