Commit graph

1252 commits

Author SHA1 Message Date
cketti
6393a4ece7
Merge pull request #7212 from thundernest/convert_to_kotlin
Convert `SettingsImporterTest` to Kotlin
2023-10-10 12:05:16 +02:00
cketti
a75c7abbdf Combine settings for navigation action after removing a message
After the user deletes or moves a message in the message view screen, the available navigation options are:
- Return to message list
- Show previous message
- Show next message

We get rid of the "magic" mode that tries to keep going in the direction in which the user was moving previously.
2023-10-06 11:03:28 +02:00
cketti
67839f3f14 Extract SettingsUpgrader implementations to separate files 2023-10-05 18:40:09 +02:00
cketti
7989c67c34 Convert SettingsImporterTest to Kotlin 2023-10-03 19:50:54 +02:00
cketti
6650f8f620 Rename .java to .kt 2023-10-03 19:50:53 +02:00
cketti
0a99643a7a Update DisplayHtml to use proper dark theme background color 2023-09-26 17:21:29 +02:00
cketti
d83259a5ee HTML-encode header field values when displaying message/rfc822 parts 2023-09-18 18:15:11 +02:00
Wolf-Martell Montwé
8549bfc554
Add newAccount method to preferences to allow creation with given UUID 2023-09-15 11:24:17 +02:00
Wolf-Martell Montwé
6a19427a80
Remove deprecation warning of K9 class, as it's not true anymore and spamming the build output 2023-09-13 15:43:40 +02:00
Wolf-Martell Montwé
e9535ecdaa
Bump Spotless 6.14.0 -> 6.21.0 and KtLint 0.48.2 -> 0.50.0, and reformat/fix code 2023-09-06 18:13:23 +02:00
Wolf-Martell Montwé
2e886a7255
Bump Mockito 5.3.1 -> 5.4.0 and Mockito Kotlin 4.1.0 -> 5.1.0 2023-09-06 18:13:22 +02:00
Wolf-Martell Montwé
cafc786367
Add error messages to allow better import debugging 2023-08-29 19:10:37 +02:00
cketti
397a06131e Add "Show only subscribed folders" setting to folders section 2023-08-16 12:04:05 +02:00
cketti
f35603e14c
Merge pull request #7115 from thundernest/fix_IdentityHeaderBuilder
Write empty string to identity header field if name is null
2023-08-08 20:15:33 +02:00
cketti
6ff3d4087f
Merge pull request #7113 from thundernest/wrap_pasted_url
Wrap pasted URI in angle brackets
2023-08-08 20:09:04 +02:00
cketti
fee88a4b88 Write empty string to identity header field if name is null 2023-08-08 19:10:23 +02:00
cketti
e5e2a9bafb Add UriMatcher.isValidUri() 2023-08-07 19:32:25 +02:00
cketti
09240fec56 Implement AccountRemoverWorker.getForegroundInfo()
This is required to run expedited jobs on older Android versions.
2023-08-07 18:17:32 +02:00
cketti
4c8261089b Write error message to log when skipping message during send 2023-06-24 17:36:20 +02:00
Wolf-Martell Montwé
5dfb37bfb0
Remove OAuth dependency from app.core 2023-06-23 11:52:13 +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é
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
656a9d3862 Use relaxed mode to parse email addresses from message headers 2023-06-15 19:32:56 +02:00
cketti
fa487b2016 Always use extension function to create EmailAddress instance 2023-06-01 14:29:28 +02:00
Simon Arlott
e731d08f3b
Don't make identity descriptions unique on import
Identity descriptions don't have to be unique so they shouldn't be modified
when imported to make them unique.

This also means that identities with no description can be imported without
giving them one (e.g. "Imported", "Imported (1)", "Imported (2)").
2023-05-27 14:10:54 +01:00
Simon Arlott
d105ba0fbb
Export identities that have no description
Identities must have an email address but all of the other fields are
optional, so email address should be used to determine identity keys.

Fixes #6932
2023-05-27 14:10:53 +01: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
26fab0dff4 Change default reply action from "reply all" to "reply" 2023-05-09 13:56:36 +02:00
cketti
182e2c217c Fix escaping commas in buildOAuthBearerInitialClientResponse() 2023-05-08 15:46:04 +02:00
cketti
d407f18b11
Merge pull request #6878 from thundernest/check_UriParser_startPos_argument
Explicitly check `startPos` parameter in `UriParser.parseUri()` implementations
2023-05-08 11:37:39 +02:00
cketti
3de2d3af40 Validate startPos parameter in UriParser.parseUri() implementations 2023-05-05 17:32:53 +02:00
cketti
0644407ff6 Convert HttpUriParserTest to Kotlin 2023-05-05 17:12:52 +02:00
cketti
745ebd96a0 Rename .java to .kt 2023-05-05 17:09:25 +02:00
cketti
ff188cdfb5 Remove WebDAV code 2023-05-04 22:14:00 +02:00
Self Not Found
f2ce1fe344 IMAP: Add support for sending ID command with app name 2023-04-26 14:58:44 +02: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
975049ef71
Merge pull request #6841 from thundernest/fix_export_settings
Don't fail when exporting an identity without a sender name
2023-04-24 13:45:48 +02:00
cketti
9e7ee7215d Don't fail when exporting an identity without a sender name 2023-04-24 13:35:50 +02:00
cketti
63ba1f6944 Increase number of active notification to 9
This way users can know that when the number 9 is displayed in the group summary, there's more notifications than the 8 they can currently see.
2023-04-21 17:46:55 +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
e621d3f693 Add support for signature delimiters using non-breaking space in HTML parts 2023-04-08 15:27:33 +02:00
cketti
b5964f32f2 Change DefaultMessageCountsProvider to support LocalSearch.conditions = null 2023-03-21 18:34:21 +01:00
cketti
1ccbfea756 Add failing test for DefaultMessageCountsProvider.getMessageCounts(Account) 2023-03-21 18:34:21 +01:00
Wolf Montwé
d1f5b0222b
Change :app:core module to assertk 2023-03-21 14:14:39 +01:00
Wolf Montwé
e98ceb70a5
Change UriMatcherTest to Kotlin 2023-03-21 14:14:23 +01:00
Wolf Montwé
66e0424fdf
Rename UriMatcherTest.java to UriMatcherTest.kt 2023-03-21 14:14:23 +01:00