Commit graph

3209 commits

Author SHA1 Message Date
Wolf-Martell Montwé
a230e11910
Bump Spotless 6.22.0 -> 6.23.3 and Ktlint 0.50.0 -> 1.0.1 2023-12-06 15:04:55 +01:00
Wolf-Martell Montwé
45002cf10d
Merge pull request #7396 from thunderbird/refactor_account_manager_usage
Refactor account manager usage
2023-12-04 15:50:40 +00:00
cketti
9bc1b645e4 Prepare for version 6.714 2023-12-04 14:39:46 +01:00
cketti
946090ea4f Version 6.713 2023-12-04 14:30:13 +01:00
cketti
48f82f6dfb
Merge pull request #7398 from thunderbird/fix_alarm_manager_crash
Don't use Push when the app doesn't have permission to schedule exact alarms
2023-12-04 11:39:07 +01:00
cketti
2160a759e4 Don't start ImapBackendPusher when the app doesn't have permission to schedule exact alarms 2023-12-01 15:23:14 +01:00
Wolf-Martell Montwé
b9370bc6f3
Disable koin override behaviour and fix doubled Clock.System inject definition 2023-12-01 15:01:27 +01:00
Wolf-Martell Montwé
f1b6118b45
Change AccountCreatorHelperTest to Kotlin
Signed-off-by: Wolf-Martell Montwé <wolf@thunderbird.net>
2023-12-01 13:15:50 +01:00
Wolf-Martell Montwé
c73585cc4d
Rename .java to .kt
Signed-off-by: Wolf-Martell Montwé <wolf@thunderbird.net>
2023-12-01 13:15:50 +01:00
Wolf-Martell Montwé
76551bd238
Replace usage of Preferences by AccountManager where appropriate 2023-12-01 13:11:53 +01:00
Wolf-Martell Montwé
4d2a07e9a7
Add getAccounts to AccountManager and replace usage 2023-12-01 12:33:04 +01:00
Wolf-Martell Montwé
e2e583ef41
Rename AccountCreatorTest to AccountCreatorHelperTest to better reflect it's purpose 2023-12-01 12:33:04 +01:00
Wolf-Martell Montwé
6be64f095e
Move account color picking to own class 2023-12-01 12:33:03 +01:00
Wolf-Martell Montwé
1566b2063d
Add extension function to set incoming server settings 2023-12-01 12:29:35 +01:00
cketti
ebf03d3a01 Prepare for version 6.713 2023-11-30 13:10:32 +01:00
cketti
0d54e9e197 Version 6.712 2023-11-30 13:04:34 +01:00
Wolf-Martell Montwé
a8014693d8
Remove deprecation from CertificateErrorNotificationController 2023-11-30 11:10:00 +01:00
Wolf-Martell Montwé
7e4b85bf76
Remove unused strings 2023-11-29 16:39:26 +01:00
Wolf-Martell Montwé
50e9eddee2
Add deprecation notice 2023-11-29 16:27:41 +01:00
Wolf-Martell Montwé
d4c9e6579d
Remove TextInputLayoutExtensions 2023-11-29 16:15:26 +01:00
Wolf-Martell Montwé
92b8d66e44
Remove `ClientCertificateSpinner 2023-11-29 16:12:25 +01:00
Wolf-Martell Montwé
1aab882c1c
Remove InitialAccountSettings, AuthTypeAdapter, ConnectionSecurityAdapter, ConnectionSecurityHolder and AuthTypeHolder 2023-11-29 16:09:00 +01:00
Wolf-Martell Montwé
e920c237d1
Remove wizard layouts 2023-11-29 16:04:18 +01:00
Wolf-Martell Montwé
0f14eb8545
Remove AccountSetupCheckSettings activity 2023-11-29 16:04:04 +01:00
Wolf-Martell Montwé
5f5c17f62e
Remove unused Utility methods 2023-11-29 14:27:32 +01:00
Wolf-Martell Montwé
c76e3a13e8
Remove AccountSetupOutgoing activity 2023-11-29 14:26:09 +01:00
Wolf-Martell Montwé
e366fb3dad
Remove AccountSetupIncoming activity 2023-11-29 13:19:19 +01:00
Wolf-Martell Montwé
f87c156262
Replace change to new account edit and remove feature flag 2023-11-29 12:12:09 +01:00
Hosted Weblate
150512aaa2
Update translations (Weblate)
Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: AndyRn.t.me <a.urbinati@gmx.com>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Eric <zxmegaxqug@hldrive.com>
Co-authored-by: Frederico Gonçalves Guimarães <weblate@teia.bio.br>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Igor Sorocean <sorocean.igor@gmail.com>
Co-authored-by: Kazushi Hayama <hosted.weblate.3yoe@1984.pmail.li>
Co-authored-by: Kryštof Černý <cleverline1mc@gmail.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Nidi <nizamismidov4@gmail.com>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Priit Jõerüüt <hwlate@joeruut.com>
Co-authored-by: Ricard Rodríguez <rcard@insicuri.net>
Co-authored-by: Steve <secure@mail.az>
Co-authored-by: Sveinn í Felli <sv1@fellsnet.is>
Co-authored-by: Swyter <swyterzone@gmail.com>
Co-authored-by: Varanka Zoltán <zvaranka60@gmail.com>
Co-authored-by: Vladi69 <vladimirogalante@yahoo.it>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: nautilusx <translate@disroot.org>
Co-authored-by: ngocanhtve <ngocanh.tve@gmail.com>
Co-authored-by: winver <kirillstuzhuk@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-common/az/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-common/vi/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-oauth/vi/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/es/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/it/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/vi/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/es/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/hu/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/is/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/vi/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/ca/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/cs/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/de/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/es/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/et/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/fr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/hu/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/is/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/it/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/ja/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/pl/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/ro/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/sq/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/sv/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/tr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/vi/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/az/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/ca/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/cs/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/de/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/es/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/et/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/fr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/is/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/it/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/ja/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/pl/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/sv/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/tr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/uk/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/vi/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tb-android/designsystem/vi/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/ca/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/cs/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/de/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/es/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/et/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/fr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/hu/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/is/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/it/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/ja/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/pl/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/sq/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/sv/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/tr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/vi/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding-permissions/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding/az/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding/es/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding/fr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding/it/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding/sv/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding/vi/
Translation: K-9 Mail/Thunderbird/account-common
Translation: K-9 Mail/Thunderbird/account-oauth
Translation: K-9 Mail/Thunderbird/account-server-settings
Translation: K-9 Mail/Thunderbird/account-server-validation
Translation: K-9 Mail/Thunderbird/account-setup
Translation: K-9 Mail/Thunderbird/designsystem
Translation: K-9 Mail/Thunderbird/onboarding-permissions
Translation: K-9 Mail/Thunderbird/onboarding-welcome
Translation: K-9 Mail/Thunderbird/ui-legacy
2023-11-28 18:14:57 +01:00
Wolf-Martell Montwé
e0957e2278
Merge pull request #7387 from thunderbird/change-use-of-enum-values-by-entries
Change use of Enum.values() to Enum.entries
2023-11-28 16:26:40 +00:00
Wolf-Martell Montwé
2c38500608
Merge pull request #7384 from thunderbird/change_server_settings_form_to_loading_view
Change ServerSettings to support loading state
2023-11-28 16:26:02 +00:00
Wolf-Martell Montwé
251f835c1e
Change use of Enum.values() to Enum.entries 2023-11-28 16:46:28 +01:00
Wolf-Martell Montwé
4426a2a0a4
Change new edit server settings to default 2023-11-28 16:39:26 +01:00
cketti
ae2fbfe72d Add ClientCertificateException 2023-11-28 15:14:06 +01:00
cketti
1b937d6c2b
Merge pull request #7366 from thunderbird/ignore_expunge_policy_for_move
IMAP move operation should ignore expunge policy
2023-11-20 11:18:38 -05:00
cketti
d0052238d3
Merge pull request #7365 from thunderbird/update_auth_state
Update authorization state when editing server settings
2023-11-20 11:17:40 -05:00
cketti
8b66b04692 IMAP move operation should ignore expunge policy
Because the original IMAP specification doesn't include a move operation, we implement it as copy, followed by deleting the source message. Deleting messages in IMAP is a two stage process. First a message is marked as deleted, then the EXPUNGE command is issued. However, the EXPUNGE command will remove all messages in a folder marked as deleted. For a move operation, we don't want to remove other messages, and therefore won't issue the EXPUNGE command. However, if the server supports the UIDPLUS extension, we can specify which messages exactly should be expunged. So if that extension is available, we will use the UID EXPUNGE command on the source message of a move operation.

Since the EXPUNGE command removes all messages marked as deleted, K-9 Mail has a setting that controls when the command is issued (when deleting a message, when polling, manually via a menu option). Previously this setting was also used for move operations. However, that probably should have never been the case.
2023-11-18 18:09:08 +01:00
cketti
88d2d26b80 Rename AccountUpdaterTest to AccountServerSettingsUpdaterTest 2023-11-17 19:13:58 +01:00
cketti
7fed8d87a1 Update authorization state when editing server settings 2023-11-17 19:12:57 +01:00
cketti
9fe2c68cbc
Merge pull request #7351 from thunderbird/targetSdkVersion_33
Increase targetSdkVersion to 33
2023-11-17 11:05:51 -05:00
cketti
ab49c54464 Increase targetSdkVersion to 33 2023-11-13 13:06:56 +01:00
cketti
9d243b7f56 Add "After marking a message as unread" navigation setting 2023-11-13 11:14:40 +01:00
cketti
328d4c610e Remove permission prompts in MessageList and MessageCompose 2023-11-08 19:32:10 +01:00
Hosted Weblate
1f5b932f69
Update translations (Weblate)
Co-authored-by: Alex Ho <samho1234567@gmail.com>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Damjan Gerl <damjan@damjan.net>
Co-authored-by: Frederico Gonçalves Guimarães <weblate@teia.bio.br>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi>
Co-authored-by: Jordi Sanfeliu <jordi@fibranet.cat>
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Co-authored-by: Steve <secure@mail.az>
Co-authored-by: Translator San <translator.san@proton.me>
Co-authored-by: Vladi69 <vladimirogalante@yahoo.it>
Co-authored-by: Zi Jiaxu <Shelpdicriter@users.noreply.hosted.weblate.org>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: marcin mikołajczak <me@mkljczk.pl>
Co-authored-by: nautilusx <translate@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-common/bg/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-common/sl/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-common/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-oauth/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/bg/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/it/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/sq/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/sv/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/tr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-settings/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/bg/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/ca/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/de/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/fi/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/it/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/sq/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/tr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-server-validation/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/bg/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/sl/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/sq/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/tr/
Translate-URL: https://hosted.weblate.org/projects/tb-android/account-setup/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/de/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/it/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/pl/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/sl/
Translate-URL: https://hosted.weblate.org/projects/tb-android/app-strings/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/tb-android/designsystem/bg/
Translate-URL: https://hosted.weblate.org/projects/tb-android/designsystem/sl/
Translate-URL: https://hosted.weblate.org/projects/tb-android/designsystem/zh_Hant/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding/bg/
Translate-URL: https://hosted.weblate.org/projects/tb-android/onboarding/zh_Hant/
Translation: K-9 Mail/Thunderbird/account-common
Translation: K-9 Mail/Thunderbird/account-oauth
Translation: K-9 Mail/Thunderbird/account-server-settings
Translation: K-9 Mail/Thunderbird/account-server-validation
Translation: K-9 Mail/Thunderbird/account-setup
Translation: K-9 Mail/Thunderbird/designsystem
Translation: K-9 Mail/Thunderbird/onboarding
Translation: K-9 Mail/Thunderbird/ui-legacy
2023-11-08 10:40:22 +01:00
Wolf-Martell Montwé
783df7679e
Update detekt baseline and resolve more max-line-length issues 2023-11-07 11:01:37 +01:00
Wolf-Martell Montwé
7565bb8e66
Fix max-line-length issues manually as auto format does fail 2023-11-07 10:40:08 +01:00
cketti
e86803c147
Merge pull request #7320 from thunderbird/extend_id_command
IMAP: Add app version to ID command
2023-11-04 05:45:46 -04:00
Wolf-Martell Montwé
189ac4de2a
Merge pull request #7313 from thunderbird/remove_old_account_setup
Remove old account setup
2023-11-03 10:53:51 +01:00
cketti
77ff16bcf7 IMAP: Add app version to ID command 2023-11-02 17:56:55 -04:00
Wolf-Martell Montwé
1236d7114c
Change repository links from thundernest/k-9 to thunderbird/thunderbird-android 2023-11-02 14:35:06 +01:00