Commit Graph

4499 Commits

Author SHA1 Message Date
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 96f848a4cf Merge branch 'fix/crash_while_saving_draft' into 'develop'
Fixes a crash while saving draft when no extras exist

See merge request android/mail/proton-mail-android!1184
2022-10-04 16:49:38 +00:00
Zorica Stojchevska c8a6d0c883 Fixes a crash while saving draft when no extras exist 2022-10-04 16:49:37 +00:00
Zorica Stojchevska 66a5d93897 Merge branch 'chore/core_dagger_modules' into 'develop'
Upgraded Core to 9.0.2

See merge request android/mail/proton-mail-android!1127
2022-10-04 14:57:56 +00:00
Marino Meneghel 40de8ba8e4 Adapt unit tests to new coroutines version requirements
- use runTest instead of deprecated runBlockingTest
- Pass the same dispatcher to test and test dependencies
2022-10-04 14:20:21 +02:00
Zorica Stojchevska a67758471f Update to core 9.0.2 2022-10-04 14:20:21 +02:00
Zorica Stojchevska 9b2051f931 Changes side menu item to `Report a problem` to fit the change on core 2022-10-04 14:20:21 +02:00
Marino Meneghel 71730d51df Fix android instrumented tests failures
Caused by some ops in core's newly added initializers to happen before
the DI componenet was setup.
Based on https://github.com/google/dagger/issues/3356 this issue is
fixed in dagger / hilt 2.42. Such upgrade doesn't apply cleanly here,
which lead to this workaround of removing the offending core
initializers in the manifest to instead invoke them manually, so that
they won't be initialized when runnign tests (as they use
`HiltTestApplication` instead of `ProtonApplication`)
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
Mateusz Armatys 226813fb1d No need to explicitly include Core's `*-dagger` modules. 2022-10-04 14:20:21 +02:00
Mateusz Armatys b132519b68 Remove unnecessary dagger modules and bindings, which are now provided by Core. 2022-10-04 14:20:21 +02:00
Denys Zelenchuk 055f6b1c05 Merge branch 'test/stabilize-send-message-tests' into 'develop'
Improved two password login flow. Fixed set mail password flow.

See merge request android/mail/proton-mail-android!1164
2022-10-04 08:26:29 +00:00
Denys Zelenchuk 1e19a01b5a Improved two password login flow. Fixed set mail password flow. 2022-10-03 12:05:55 +00:00
Zorica Stojchevska 70889e8c53 Merge branch 'chore/translations-2022-10-03_061908' into 'develop'
i18n: Upgrade translations from crowdin (ce048435).

See merge request android/mail/proton-mail-android!1183
2022-10-03 10:24:49 +00:00
proton-ci 36f694f067 i18n: Upgrade translations from crowdin (ce048435). 2022-10-03 06:19:08 +00:00
Zorica Stojchevska ce04843521 Merge branch 'fix/pluralisation_of_strings' into 'develop'
Localization improvements

See merge request android/mail/proton-mail-android!1182
2022-09-30 06:53:57 +00:00
Zorica Stojchevska 27a3be7b37 Localization improvements
L10N-1013
L10N-1018
L10N-981
L10N-980
L10N-810
L10N-802
2022-09-29 18:53:19 +02:00
Zorica Stojchevska 25d1e7ce9e Merge branch 'fix/close_file_streams' into 'develop'
Makes sure we close FileInput and FileOutput streams

See merge request android/mail/proton-mail-android!1181
2022-09-29 14:05:28 +00:00
Zorica Stojchevska a1a7882b32 Makes sure we close ObjectOutputStream 2022-09-29 07:43:26 +00:00
Zorica Stojchevska 25f74c6abc Makes sure we close FileInput and FileOutput streams 2022-09-29 07:43:26 +00:00
Zorica Stojchevska 24a8f1635b Merge branch 'fix/send_email_intent_not_rendering_recipients' into 'develop'
Fixes SEND_EMAIL intent and rendering of recipients

See merge request android/mail/proton-mail-android!1177
2022-09-29 07:42:22 +00:00
Zorica Stojchevska b4b0c8a5a7 Fixes SEND_EMAIL intent and rendering of recipients 2022-09-29 07:42:22 +00:00
Zorica Stojchevska cba3c2f378 Merge branch 'fix/unencrypted_passphrase' into 'develop'
Improved Passphrase/PrivateKey In-Memory Security.

See merge request android/mail/proton-mail-android!1152
2022-09-28 21:06:28 +00:00
Zorica Stojchevska a13bf68f1b Removing `isAllowedForSending` method
We were only using this method `toPublicKeyResponse` for mapping the
keyBodies to two different lists that we were merging at the end anyway
without any additional changes to them, so basically this just removes
unneeded logic
2022-09-28 19:57:12 +00:00
Neil Marietta 34b19a93ae Improved Private Key/KeyRing In-Memory Security. 2022-09-28 19:57:12 +00:00
Neil Marietta b506ee0367 Improved Passphrase In-Memory Security. 2022-09-28 19:57:12 +00:00
Zorica Stojchevska d4b6587bfb Merge branch 'feat/scheduled_send' into 'develop'
Scheduled send [Android MVP]

See merge request android/mail/proton-mail-android!1163
2022-09-28 17:55:54 +00:00
Zorica Stojchevska 63fd78efd6 Change copy for scheduled message dialog 2022-09-28 14:51:40 +02:00
Zorica Stojchevska 6c32c616b3 Changes `Okay` string to `OK` 2022-09-28 14:51:40 +02:00
Zorica Stojchevska aad3d05067 Order messages in SCHEDULED folder by oldest first 2022-09-28 14:51:40 +02:00
Zorica Stojchevska 7fa60b19f0 Changed date format for scheduled messages 2022-09-28 09:59:46 +00:00
Zorica Stojchevska 4b6a4bad88 Moving out of Scheduled mailbox if no more scheduled messages exist 2022-09-28 09:59:46 +00:00
Zorica Stojchevska 76a9d7d29e When we trash a scheduled messages optimistically we have to remove the
ALL_SEND label as well
2022-09-28 09:59:46 +00:00
Zorica Stojchevska a7d764d135 Don't show snackbar when swiping a scheduled message 2022-09-28 09:59:46 +00:00
Zorica Stojchevska d5fee65b14 Show Scheduled in drawer on initial login if we have scheduled messages
On the initial fetch now we also always fetch the scheduled messages as
well, before we were only fetching the ones from Inbox. So that we can
check if we have scheduled messages and know that we need to show the
item in the drawer.
2022-09-28 09:59:46 +00:00
Zorica Stojchevska b25473ffd9 Add dynamic location in side menu for Scheduled
MAILAND-2939
2022-09-28 09:59:46 +00:00
Zorica Stojchevska 8465f12ed4 Handle moving a scheduled message to trash
MAILAND-2939
2022-09-28 09:59:46 +00:00
Zorica Stojchevska c0bd732de2 Rename .java to .kt 2022-09-28 09:59:46 +00:00
Zorica Stojchevska 77f4a24065 Hide reply actions for scheduled messages 2022-09-28 09:59:46 +00:00
Zorica Stojchevska c8c35296d5 Show scheduled banner inside message details
MAILAND-2939
2022-09-28 09:59:46 +00:00
Zorica Stojchevska 2168b08163 Add scheduled send location 2022-09-28 09:59:46 +00:00
Zorica Stojchevska 157b7f3c35 Merge branch 'fix/l10n_protonmail_com_link_replaced' into 'develop'
Fixes links to protonmail.com in strings

See merge request android/mail/proton-mail-android!1175
2022-09-27 17:35:09 +00:00
Zorica Stojchevska 1a06d8eab4 Fixes links to protonmail.com in strings
L10N-906
2022-09-27 15:35:03 +00:00
Bart Butler 2b3b250342 Merge branch 'fix/decrease-connect-timeout-for-http-clients' into 'develop'
Shortens the connect timeout to 3s for all http clients

See merge request android/mail/proton-mail-android!1178
2022-09-27 09:22:44 +00:00
Maciej Surmacz 3ce7971831 Shortens the connect timeout to 3s for all http clients 2022-09-27 07:34:40 +00:00
Zorica Stojchevska f8604254b5 Merge branch 'chore/translations-2022-09-26_062154' into 'develop'
i18n: Upgrade translations from crowdin (0a96b5eb).

See merge request android/mail/proton-mail-android!1180
2022-09-26 09:49:54 +00:00
proton-ci 90a35f5fd3 i18n: Upgrade translations from crowdin (0a96b5eb). 2022-09-26 06:21:54 +00:00
Zorica Stojchevska 0a96b5ebd5 Merge branch 'fix/avoid_crash_location_resolve' into 'develop'
Fixes crashing when all other locations were invalid but we have a valid All_Mail label

See merge request android/mail/proton-mail-android!1176
2022-09-23 15:31:04 +00:00
Zorica Stojchevska e8c08baee4 Fixes crashing when all other locations were invalid but we have a valid All_Mail label 2022-09-23 15:03:22 +02:00
Zorica Stojchevska f05a2cddfd Merge branch 'fix/battery_draining_issues' into 'develop'
Removes the GET call to `/messages/enc_id` from event

See merge request android/mail/proton-mail-android!1173
2022-09-20 12:30:37 +00:00