Commit graph

1064 commits

Author SHA1 Message Date
Wolf-Martell Montwé
c781e7032d
Add FeatureFlagFactory to K9 app and use the flag in MessageList 2023-07-03 15:37:22 +02:00
Wolf-Martell Montwé
1aa69635f5
Add launch import settings 2023-07-03 15:30:57 +02:00
Wolf-Martell Montwé
771775c6c6
Disable new onboarding 2023-07-03 10:21:16 +02:00
Wolf-Martell Montwé
9bf80c2266
Change AccountSetupFinishedLauncher to use custom intent for properly launching MessageList 2023-06-30 13:18:19 +02:00
Wolf-Martell Montwé
10e89e7e3e
Add onboarding entry point 2023-06-30 13:18:19 +02:00
Wolf-Martell Montwé
32a8f23dc7
Add create account use case 2023-06-30 12:04:27 +02:00
Wolf-Martell Montwé
09c00f3bf8
Rename AccountCreator to AccountCreatorHelper 2023-06-29 12:24:28 +02:00
cketti
769f92c5a8 Fix fetching SuggestServerName via Koin 2023-06-27 18:46:15 +02:00
Wolf-Martell Montwé
1429327c69
Extract GetOAuthRequestIntent into own use case for use in the new account flow 2023-06-26 14:06:34 +02:00
Wolf-Martell Montwé
5dfb37bfb0
Remove OAuth dependency from app.core 2023-06-23 11:52:13 +02:00
Wolf-Martell Montwé
526a6fe933
Refactor SuggestServerName 2023-06-23 11:46:05 +02:00
Wolf-Martell Montwé
03772c6a5c
Rename to SuggestServerName 2023-06-23 11:42:28 +02:00
Wolf-Martell Montwé
bbfc232975
Add feature:account:oauth module and move ServerNameSuggester there 2023-06-23 11:24:45 +02:00
Wolf-Martell Montwé
00148f1a99
Change OAuth to not use OAuthProvider enum and delegate configuration creation to the app 2023-06-21 14:05:28 +02:00
Wolf-Martell Montwé
9e0f1bd815
Resolve app.core dependency blocking oauth extraction 2023-06-20 15:17:45 +02:00
Wolf-Martell Montwé
141dd0974c
Resolve app.testing dependency blocking oauth extraction 2023-06-20 14:57:44 +02:00
cketti
955dc2380b Version 6.707 2023-06-19 13:38:23 +02:00
GitStart
1911580503 Message view: Account chip not displayed when viewing messages 2023-06-19 09:56:16 +00:00
GitStart
589d802410 Deleting account doesn't change current color correctly 2023-06-19 09:52:51 +00:00
cketti
f60e5e073f Version 6.706 2023-06-16 15:35:00 +02:00
cketti
fb457bc7d6
Merge pull request #6972 from gitstart/K9-OSS-3
Inconsistent recipient names when composing a message
2023-06-16 15:30:20 +02:00
cketti
ff79ee70fc Fix broken test and minor cleanup 2023-06-16 15:08:44 +02:00
GitStart
e23371985a Inconsistent recipient names when composing a message 2023-06-16 08:28:37 +00:00
cketti
656a9d3862 Use relaxed mode to parse email addresses from message headers 2023-06-15 19:32:56 +02:00
cketti
89fa882590 Version 6.705 2023-06-12 17:00:32 +02:00
cketti
6829b9c80f Update translations 2023-06-12 16:14:45 +02:00
GitStart
5e8b8fa573 Asks to save unchanged draft 2023-06-12 15:23:52 +02:00
cketti
f649a6a7d9
Merge pull request #6962 from thundernest/UserInputEmailAddressParser
Add `UserInputEmailAddressParser`
2023-06-09 18:49:39 +02:00
cketti
23ddb37d55 Switch to ACTION_INSERT_OR_EDIT for "add to contacts" action
This allows adding an email address to an existing contact.
2023-06-07 19:23:49 +02:00
cketti
3bf19ca3f6 Add UserInputEmailAddressParser
Used to parse name and email address pairs entered by the user when composing a message.
2023-06-07 18:40:49 +02:00
cketti
fa487b2016 Always use extension function to create EmailAddress instance 2023-06-01 14:29:28 +02:00
cketti
775e0389a1 Keep email address equality comparison out of DisplayRecipientsExtractor
This way the decision on what email address equality comparison strategy is used is limited to `Account.isAnIdentity(Address)`.
2023-06-01 13:13:01 +02:00
Simon Arlott
424a37eaeb Add (failing) tests to DisplayRecipientsExtractorTest 2023-06-01 13:09:16 +02:00
Siva Subramaniam
89e55b2c31
Fix appearance of "Sign in with Google" button (#6928)
Change Button to AppCompatButton to support android:background attribute
2023-05-26 15:56:09 +02:00
cketti
1ee999ca7e Version 6.704 2023-05-23 17:37:48 +02:00
cketti
12fd0225aa Update translations 2023-05-23 17:14:39 +02:00
Georg Sieber
7edbe542bd
Fix "Cannot connect to crypto provider"
Initialize `openPgpCallback` before `onSwitchAccount()` is called from the class initializer.
2023-05-22 10:42:19 +02:00
cketti
ef498c60e4 Update assertk to version 0.26 2023-05-16 17:20:25 +02:00
cketti
5498567bf2 Switch assertions to assertk 2023-05-14 13:00:28 +02:00
cketti
7d7e585b03 Merge branch '6.6-MAINT' 2023-05-12 12:22:52 +02:00
cketti
f95e22afc8 Version 6.602 2023-05-11 17:13:46 +02:00
cketti
0df1fa5543 Version 6.703 2023-05-08 13:42:05 +02:00
cketti
cba7e52581 Update translations 2023-05-08 13:25:10 +02:00
cketti
ff188cdfb5 Remove WebDAV code 2023-05-04 22:14:00 +02:00
cketti
87e0e979c8 Version 6.702 2023-05-02 12:33:41 +02:00
cketti
54daf0a28e Update translations 2023-05-02 12:08:57 +02:00
cketti
f1155d4be3 Version 6.701 2023-04-28 18:35:37 +02:00
cketti
7cecc124f8 Update translations 2023-04-28 17:28:47 +02:00
cketti
68be3c0b82
Merge pull request #6853 from thundernest/rename_thunderbird_module
Move autodiscovery modules and rename classes
2023-04-26 16:17:38 +02:00
Self Not Found
f2ce1fe344 IMAP: Add support for sending ID command with app name 2023-04-26 14:58:44 +02:00
cketti
6b68a2d5d7 Use app.k9mail as base package name for all :feature:autodiscovery:* modules 2023-04-26 13:06:07 +02:00
cketti
610d818f25 Move all :app:autodiscovery:* modules to :feature:autodiscovery 2023-04-25 19:30:14 +02:00
Wolf-Martell Montwé
6e27fe5c84
Merge pull request #6829 from thundernest/bump-to-android-studio-flamingo
Bump to Android Studio Flamingo
2023-04-25 15:38:35 +00:00
Wolf Montwé
71079908aa
Bump Gradle 8.0.2 -> 8.1.1 and remove suppress dsl scope violation 2023-04-25 17:21:58 +02:00
cketti
2492d9ffc4 Version 6.700 2023-04-24 15:39:27 +02:00
cketti
60716aca3d
Merge pull request #6850 from thundernest/update_translations
Update translations
2023-04-24 14:57:27 +02:00
cketti
1e97751a66 Update translations 2023-04-24 14:08:51 +02:00
cketti
3fc0110b26
Merge pull request #6831 from thundernest/fix_attachment_loading_crash
Fix crash when loading attachment metadata fails
2023-04-20 16:02:18 +02:00
cketti
df9abbd678
Merge pull request #6830 from thundernest/fix_MessageList_crash
MessageList: Don't crash when being launched with invalid EXTRA_SEARCH value
2023-04-20 16:01:52 +02:00
cketti
97ed7f6dc3 Fix crash when loading attachment metadata fails 2023-04-18 19:03:46 +02:00
cketti
7d429d565b
Merge pull request #6828 from thundernest/log_export_exceptions
Log exception when exporting settings to a file fails
2023-04-18 14:59:50 +02:00
cketti
40d87d574b MessageList: Don't crash when being launched with invalid EXTRA_SEARCH value 2023-04-18 14:55:35 +02:00
cketti
3119985ffb
Merge pull request #6825 from thundernest/file_uri_link
Don't attempt to open `file:` URIs in an email
2023-04-18 13:21:57 +02:00
cketti
11d004dc07 Log exception when exporting settings to a file fails 2023-04-18 13:16:59 +02:00
cketti
af28c757dd Version 6.601 2023-04-18 12:14:01 +02:00
cketti
18fa505725 Don't attempt to open file: URIs in an email 2023-04-17 20:13:58 +02:00
cketti
423bb3e181 Change MessageWebView to use Koin to retrieve dependencies 2023-04-17 20:13:58 +02:00
cketti
30efd5051f Convert K9WebViewClient to Kotlin 2023-04-17 20:04:24 +02:00
cketti
6a202800f3 Rename .java to .kt 2023-04-17 18:18:04 +02:00
cketti
35f4c28ffa Version 6.600 2023-04-11 12:58:16 +02:00
cketti
9da6212a86 Version 6.511 2023-03-31 17:14:46 +02:00
cketti
78d552d241 Update translations 2023-03-31 14:53:08 +02:00
cketti
3988d5cca1
Merge pull request #6793 from thundernest/remove_unused_setup_module
Remove unused Gradle module :app:ui:setup
2023-03-30 13:03:49 +02:00
cketti
3ed84fd013 Remove unused Gradle module :app:ui:setup 2023-03-29 12:37:47 +02:00
cketti
b86fcd39fe Change the way the message view is updated on message list changes 2023-03-28 14:41:46 +02:00
cketti
d60b071e88 Fix message details layout when contact pictures are disabled 2023-03-27 17:09:18 +02:00
cketti
7c7ce912f6 Always initialize AuthViewModel with an Account instance
This will avoid a NullPointerException when the activity result is handled after recovering from a process death.
2023-03-22 18:10:29 +01:00
cketti
76eeff60a5
Merge pull request #6778 from thundernest/fix_message_details_crash
Close message details bottom sheet using `dismissAllowingStateLoss()`
2023-03-22 11:00:44 +01:00
cketti
3db912dbdc
Merge pull request #6776 from thundernest/message_list_go_back
Remove `MessageListHandler.goBack()`
2023-03-22 11:00:21 +01:00
cketti
6781024456 Close message details bottom sheet using dismissAllowingStateLoss()
This should avoid a crash where the dialog fragment is being dismissed after `onSaveInstanceState()` has been called.
2023-03-21 18:51:25 +01:00
cketti
03224e9666
Merge pull request #6773 from thundernest/save_fragment_active
Fix missing message view menu after restoring instance state
2023-03-21 17:49:29 +01:00
cketti
b8931bd484 Remove MessageListHandler.goBack()
We no longer call goBack() from a background thread. So using MessageListHandler is no longer necessary.
This change should also avoid trying to modify the back stack after onSaveInstanceState() has been called.
2023-03-21 17:35:10 +01:00
cketti
7c4310fc6c Save value of MessageListFragment.isActive in instance state
Otherwise, restoring the message view after process death will lead to the toolbar menu items being hidden.
2023-03-21 14:42:18 +01:00
Wolf Montwé
37612f90a2
Change :app:ui:legacy to assertk 2023-03-21 14:05:50 +01:00
cketti
c24b339daf Version 6.510 2023-03-17 18:27:58 +01:00
cketti
6bd9da83e7 Update translations 2023-03-17 17:15:33 +01:00
cketti
709b55f2d1
Merge pull request #6762 from thundernest/imap_authentication_failure
IMAP: Ignore errors during LOGIN fallback
2023-03-17 16:38:31 +01:00
cketti
faf3a0b64e On authentication failures display message from server to the user 2023-03-15 19:39:58 +01:00
cketti
d7d221ebbf Don't rely on ViewHolder.unbindView() being called when an item is updated 2023-03-15 15:51:45 +01:00
cketti
4e639256e4 Message Details: Update list when the fragment is resumed
We want to update the list of participants when the associated contact has changed in the contacts database. Right now we don't listen to changes to the contacts database, but refresh the list when onResume() is called. This should catch the case where a user is adding a contact from the message details screen using one of the "add to contacts" buttons.
2023-03-15 15:47:45 +01:00
cketti
5fa993392b Message Details: Use stable IDs for list items 2023-03-15 15:20:35 +01:00
cketti
71c8fb11d9 Message Details: Don't create new adapter every time the list is updated 2023-03-15 14:54:08 +01:00
cketti
bdd3477b28 Message View: Tweak appearance of account chip 2023-03-14 18:21:22 +01:00
cketti
cbea30e5b8
Merge pull request #6746 from thundernest/contact_permission
Message details: Hide "Add to contacts" button when contacts permission is missing
2023-03-14 15:57:09 +01:00
cketti
3edb93e506 Always hide "Add to contacts" button when contact permission is missing 2023-03-14 15:55:41 +01:00
Wolf-Martell Montwé
9900fd4394
Merge pull request #6757 from thundernest/change_truth_to_legacy
Change truth testing library to legacy
2023-03-14 12:38:32 +00:00
Wolf Montwé
00b7bf45d7
Change truth testing library to legacy and only allow usage in old modules 2023-03-14 12:20:55 +01:00
cketti
5ca15aeb47
Merge pull request #6752 from thundernest/message_view_account_chip
Add font size setting for account name in message view
2023-03-14 11:57:10 +01:00
cketti
23981c1af7 Add font size setting for account name in message view 2023-03-13 18:26:59 +01:00
cketti
3060e111db Only show "recent changes" snackbar for 10 seconds 2023-03-10 14:02:19 +01:00