Commit Graph

4574 Commits

Author SHA1 Message Date
Zorica Stojchevska e64a656fb2 Merge branch 'fix/show_remote_content_button' into 'develop'
Fix "Show remote content" button sometimes not showing up

See merge request android/mail/proton-mail-android!1146
2022-07-25 10:23:45 +00:00
Zorica Stojchevska 1ca9dbe13a Fix "Show remote content" button sometimes not showing up
We used to restart the number of blocked images which we use to
determine if we should show the button always, now we only restart it
when we unblock the resources

CLIENT-4426
2022-07-25 09:53:21 +02:00
Zorica Stojchevska 1930394e13 Merge branch 'chore/translations-2022-07-25_062622' into 'develop'
i18n: Upgrade translations from crowdin (7148a73f).

See merge request android/mail/proton-mail-android!1145
2022-07-25 07:29:43 +00:00
proton-ci 87bd08a2d3 i18n: Upgrade translations from crowdin (7148a73f). 2022-07-25 06:26:22 +00:00
Zorica Stojchevska 7148a73f54 Changed build version
#comment Just changed the version for a new release
Affected: nothing
2022-07-21 16:34:00 +02:00
Zorica Stojchevska d496faeb8f Merge branch 'fix/2954_fix_crash' into 'develop'
Fixes crash in sending flow

See merge request android/mail/proton-mail-android!1143
2022-07-21 14:24:06 +00:00
Zorica Stojchevska b6479602a2 Fixes crash in sending flow
The crash was happening in a situation where userId doesn't exist
usually means we are logged out but pendingActionsDao needs it.

MAILAND-2954
2022-07-21 15:19:27 +02:00
Zorica Stojchevska 0b29519c14 Merge branch 'fix/remove_heptic_feedback_on_swipe_temporarily' into 'develop'
Removing vibrations on swipe temporarily

See merge request android/mail/proton-mail-android!1144
2022-07-21 10:37:13 +00:00
Zorica Stojchevska 798b2c5212 Removing vibrations on swipe temporarily 2022-07-21 11:35:12 +02:00
Zorica Stojchevska 993142f9eb Merge branch 'feat/2919_add_setting_to_choose_draft_or_alldraft' into 'develop'
Added setting for whether or not to show moved messages in Sent and

See merge request android/mail/proton-mail-android!1099
2022-07-20 09:25:11 +00:00
Zorica Stojchevska 44a83526be Revert "Adds setting to show moved messages in Sent and Draft or not"
This reverts commit 8d46cdef
2022-07-20 08:20:01 +00:00
Zorica Stojchevska 387b076f74 Fixes crash when still no user is logged in 2022-07-20 08:20:01 +00:00
Zorica Stojchevska a9c842f845 Changes the navigation drawer depending on the setting
MAILAND-2919
2022-07-20 08:20:01 +00:00
Zorica Stojchevska 66d07b3238 Adds setting to show moved messages in Sent and Draft or not
MAILAND-2919
2022-07-20 08:20:01 +00:00
Zorica Stojchevska 9fce0a60c9 Moved settings classes in settings folder 2022-07-20 08:20:01 +00:00
Zorica Stojchevska a89811927f Merge branch 'fix/restart_a_table_property_to_align_with_web' into 'develop'
Fixes rendering of emails with a <table> tag

See merge request android/mail/proton-mail-android!1134
2022-07-19 17:06:30 +00:00
Zorica Stojchevska ec0e7699e3 Fixes rendering of emails with a <table> tag
Restarts the `table-layout` property of the <table> tag in every html
email to align with web and to render some emails better

MAILAND-2949
2022-07-19 16:00:23 +00:00
Maciej Surmacz a7fd242166 Merge branch 'chore/review-sentry-logs-episode-42' into 'develop'
Sentry logging improvements, episode 42

See merge request android/mail/proton-mail-android!1136
2022-07-19 13:22:50 +00:00
Maciej Surmacz de67310e9a Filters out 422 logs when fetching public keys in composer
This is not an error but something we should expect to happen and as
such there's no point in logging it in sentry.
2022-07-19 12:37:47 +00:00
Maciej Surmacz 1060b65a20 Filters out retrofit server errors
We do not care about 5xx errors as there's no action for us to take
based on that information.
2022-07-19 12:37:47 +00:00
Maciej Surmacz 48656be830 Removes sentry log about the unsupported embedded image type
We have already gathered enough data; this log is spamming too much,
and will be removed for the time being. We already have a v5
investigation ticket related to this, which most likely will
have to be tackled as part of the v6 project.
2022-07-19 12:37:47 +00:00
Mateusz Armatys 39f415376d Merge branch 'fix/parent_pipeline_triggers' into 'develop'
Do not run `i18n-sync-crowdin` job, if the pipeline was triggered externally.

See merge request android/mail/proton-mail-android!1138
2022-07-19 12:36:48 +00:00
Mateusz Armatys 4fbabeb580 Do not run `i18n-sync-crowdin` job, if the pipeline was triggered externally (e.g. by Core project). 2022-07-19 10:58:54 +00:00
Maciej Surmacz f01532daaa Merge branch 'fix/2950_makes-the-recipient-field-multiline-again' into 'develop'
Makes the recipient field multiline again

See merge request android/mail/proton-mail-android!1142
2022-07-19 10:53:20 +00:00
Maciej Surmacz c316fb9b23 Makes the recipient field multiline again
This property got lost when making the field and email field.

MAILAND-2950
2022-07-19 10:08:03 +00:00
Zorica Stojchevska 5cd32df083 Merge branch 'fix/2951_fix-crash-when-replying-from-notification' into 'develop'
Fixes app crash when replying to a message from notification

See merge request android/mail/proton-mail-android!1139
2022-07-19 09:43:21 +00:00
Maciej Surmacz 28ee6315d1 Fixes app crash when replying to a message from notification
When opening composer from the notification, the first time we try
to fetch and decrypt the parent message to which we are replying,
the parent message body is null and trying to decrypt crashes the app.
This is fixed by catching the exception in the use case and returning
a null when that happens.

MAILAND-2951
2022-07-19 08:35:04 +00:00
Zorica Stojchevska 8d6175deab Merge branch 'chore/translations-2022-07-18_074808' into 'develop'
i18n: Upgrade translations from crowdin (b63e9bdc).

See merge request android/mail/proton-mail-android!1140
2022-07-18 15:01:56 +00:00
proton-ci 24b8727739 i18n: Upgrade translations from crowdin (b63e9bdc). 2022-07-18 13:20:40 +00:00
Zorica Stojchevska b8c720e94b Merge branch 'chore/update_core_8.5.0' into 'develop'
Updated core version to 8.5.0

See merge request android/mail/proton-mail-android!1141
2022-07-18 13:19:13 +00:00
Zorica Stojchevska 9bc957f986 Updated core version to 8.5.0
MAILAND-2952
2022-07-18 13:47:21 +02:00
Maciej Surmacz 6e461b831e Merge branch 'fix/2947_dont-crash-when-notification-fails-to-fetch-the-message' into 'develop'
Uses notification body as message subject when clicking to open

See merge request android/mail/proton-mail-android!1135
2022-07-18 10:56:31 +00:00
Maciej Surmacz fc43d1cd30 Uses notification body as message subject when clicking to open
The call to fetch a message can fail, which would result in a crash
when user clicks on the new message notification. Since we already
have the message subject in the notification, we don't need to rely
on that network call to succeed.

MAILAND-2947
2022-07-18 09:55:20 +00:00
Maciej Surmacz b63e9bdc40 Merge branch 'fix/2950_make-recipient-fields-email-text-fields' into 'develop'
Makes the recipient fields email text fields

See merge request android/mail/proton-mail-android!1137
2022-07-15 13:33:32 +00:00
Maciej Surmacz 8e808569a9 Makes the recipient fields email text fields
This results in:
- keyboard not capitalising the first letter,
- keyboards not inserting a space after the dot,
- keyboards showing @ symbol

MAILAND-2950
2022-07-15 14:13:28 +02:00
Zorica Stojchevska 4abb9012f8 Merge branch 'fix/mailto_fix' into 'develop'
Fixing mailto rendering

See merge request android/mail/proton-mail-android!1133
2022-07-12 08:15:44 +00:00
Zorica Stojchevska ea3a12fa64 Fixing mailto rendering
Intent.getType() usually is a null value as per the documentation and we
 don't use it for the actual rendering of the `mailto` data so we
 removed it.
2022-07-11 18:53:43 +02:00
Zorica Stojchevska 88322fecbf Changed build version
#comment Just changed the version for a new release
Affected: nothing
2022-07-11 17:06:49 +02:00
Maciej Surmacz d65e4cff58 Merge branch 'chore/improve-doh-related-sentry-logging' into 'develop'
Adds proxy and vpn info to sentry events

See merge request android/mail/proton-mail-android!1132
2022-07-11 14:43:16 +00:00
Maciej Surmacz 6265d5778f Adds a sentry vpn hook
The hook is called before each event and adds info about whether
the device is currently connected to the vpn or not.
2022-07-11 13:09:09 +00:00
Maciej Surmacz 1a1c36e323 Adds a proxy sentry observer
The observer will add the "on proxy" tag to the sentry events
when the value is shared prefs changes.
2022-07-11 13:09:09 +00:00
Maciej Surmacz 22e9484841 Adds an extra log when DoH has failed completely 2022-07-11 13:09:09 +00:00
Zorica Stojchevska 9d383b9e53 Merge branch 'fix/regression_about_swiping_in_mailbox' into 'develop'
Fixes swipe not working right after login

See merge request android/mail/proton-mail-android!1131
2022-07-11 13:08:46 +00:00
Zorica Stojchevska 3eba40de21 Fixes swipe not working right after login
The first time we try to swipe after login the actions weren't working
because the we weren't observing the `userId` as well. Now we observe
the `userId` and we get setting again after we have `userId`
2022-07-11 14:02:43 +02:00
Zorica Stojchevska 2266f929ac Merge branch 'chore/translations-2022-07-11_062317' into 'develop'
i18n: Upgrade translations from crowdin (be016dde).

See merge request android/mail/proton-mail-android!1130
2022-07-11 07:20:00 +00:00
proton-ci 9be8f7c734 i18n: Upgrade translations from crowdin (be016dde). 2022-07-11 06:23:17 +00:00
Zorica Stojchevska be016dde45 Changed build version
#comment Just changed the version for a new release
Affected: nothing
2022-07-09 13:07:49 +02:00
Zorica Stojchevska d007044fe2 Merge branch 'fix/2944_check-main-server-when-alternative-fails' into 'develop'
Tries to ping the main BE when the alternative servers have failed

See merge request android/mail/proton-mail-android!1128
2022-07-09 10:44:16 +00:00
Maciej Surmacz 12fea73439 Tries to ping the main BE when the alternative has failed
This is in accordance with the outline of the DoH algorithm and how
core is handling DoH. The result of this change is that user will be
switched back to the main server more easily, if it is available,
once the alternative starts failing. This should also result in
fewer "Can't reach server" banners as with the old implementation
those could be shown even if the main BE was accessible.

MAILAND-2944
2022-07-08 18:08:57 +00:00
Zorica Stojchevska 8de3572bd4 Merge branch 'chore/small-sentry-logging-improvements' into 'develop'
Small Sentry log tweaks

See merge request android/mail/proton-mail-android!1129
2022-07-08 18:08:41 +00:00