Commit graph

2688 commits

Author SHA1 Message Date
cketti
55b15a613d
Merge pull request #6610 from thundernest/fix_swipe_crash
Don't crash in swipe callbacks when a message list item no longer exists
2023-01-27 11:54:24 +01:00
cketti
694b26e1e9
Merge pull request #6608 from thundernest/avoid_crash
Avoid crash when opening drafts from the message list widget
2023-01-27 11:53:36 +01:00
cketti
2e35524d3e Don't crash in swipe callbacks when a message list item no longer exists 2023-01-26 14:02:53 +01:00
cketti
d342f6ee35 Avoid crash when opening drafts from the message list widget 2023-01-26 12:52:44 +01:00
cketti
b1426e5e84 POP3: Fix logic to delete messages on the server 2023-01-26 12:22:37 +01:00
cketti
5220c66d61 Remove Backend.isDeleteMoveToTrash()
This property is confusing and basically unused right now.
2023-01-26 12:08:26 +01:00
cketti
b0765abd47 Prepare for version 6.504 2023-01-19 15:49:00 +01:00
cketti
a02946dee0 Version 6.503 2023-01-19 13:03:20 +01:00
cketti
2131bfcd05 Switch from AndroidX CardView to MaterialCardView 2023-01-19 12:26:24 +01:00
cketti
78d6e23362 Tweak the way messages are marked as read on opening
Update the message object and cache right away. Do the rest in a single background operation.
2023-01-19 12:17:52 +01:00
cketti
3f1911783e Fix queue*() methods
Change methods to only add a pending command, but not process the pending commands immediately.

Also, don't defer adding the pending command by using `putBackground()`. This can mess with the execution order of remote commands.
2023-01-19 12:17:52 +01:00
cketti
ccc5223e67 Use single queue for handling commands modifying messages
We want to use a single queue so commands are not sent to the server out of order.
2023-01-19 12:17:52 +01:00
cketti
ef2b955d01 Keep <base> element 2023-01-19 11:59:37 +01:00
cketti
3a04190aa2 Fix logic to skip the trash folder when deleting messages 2023-01-19 11:37:47 +01:00
cketti
ddd464cffb Update Apache James Mime4J to version 0.8.8 2023-01-17 14:55:25 +01:00
cketti
e2fbe4382c Update Koin components to version 3.3.2 2023-01-17 14:55:25 +01:00
cketti
6981490861 Enable core library desugaring 2023-01-17 14:55:25 +01:00
cketti
6a5263aa41 Update Android Gradle Plugin to version 7.4.0 2023-01-17 14:55:25 +01:00
cketti
6244ea6573 Change colors for selected/active messages in the message list
We can't use semi-transparent colors because the message list item backgrounds are drawn on top of other colors when using swipe actions. Instead, we mix the colors ourselves, e.g. 60% of ?attr/colorSecondaryVariant on ?attr/colorSurface
2023-01-17 14:17:57 +01:00
cketti
9bed86a636 Change themes to use shades of gray as primary color
Also use the primary color for the floating action button.
2023-01-17 14:17:57 +01:00
cketti
5db9401f55 Make colors of the floating action button part of the theme 2023-01-17 14:17:57 +01:00
cketti
8988b85e69 Make color of the selection check mark part of the theme 2023-01-17 14:17:57 +01:00
cketti
1052bd07c7 Rename some Gradle version catalog entries 2023-01-16 14:49:14 +01:00
Bastian Wilhelm
a3f6995a2e Migrate to Gradle's version catalog 2023-01-16 14:49:14 +01:00
cketti
a4914ff527 Prepare for version 6.503 2023-01-16 12:14:45 +01:00
cketti
3df7f26bdc Version 6.502 2023-01-16 11:58:07 +01:00
cketti
5c781d0bd4 Change label in settings to "show floating compose button" 2023-01-16 11:04:04 +01:00
cketti
388d1690f3 Don't crash when K9WorkerFactory gets called for an unknown class 2023-01-13 11:07:14 +01:00
cketti
2201cf34a6 Version 6.501 2023-01-09 19:06:19 +01:00
cketti
7cb741a7ff Only mark recent changes as read when dismissing snackbar via swipe 2023-01-09 18:49:34 +01:00
cketti
612f0b9477 Mark recent changes as read when dismissing snackbar 2023-01-09 16:29:20 +01:00
cketti
8e0a97a439 Don't disable home screen widgets on Android versions prior to 12
Due to a bug in older Android versions home screen widgets that are disabled by default won't be available even after the component has been enabled dynamically.
2023-01-09 13:05:46 +01:00
Bastian Wilhelm
82eec20492 delete spam messages immediately without moving to trash folder 2023-01-07 13:29:41 +01:00
cketti
e399d74bdd Prepare for version 6.501 2023-01-06 18:58:16 +01:00
cketti
8dc395f052 Version 6.500 2023-01-06 18:51:58 +01:00
cketti
9b4941c67d Move manifest entry so we don't get a RemoveWorkManagerInitializer lint error 2023-01-06 18:39:46 +01:00
cketti
fe9b6d4862 Switch to a WorkerFactory that is using Koin to create workers 2023-01-06 16:29:23 +01:00
cketti
8108787957 Change the way WorkManager is initialized 2023-01-06 16:29:23 +01:00
cketti
ecff33f847 Display error message when folder couldn't be found 2023-01-06 16:21:05 +01:00
cketti
fc3c9b3035 Add comments to components that are disabled by default 2023-01-06 16:08:56 +01:00
cketti
996f7e28ef Disable more Android components by default
Only enable launcher shortcuts and home screen widgets after an account has been set up.
2023-01-06 16:08:56 +01:00
klemens
6d528918a1 spelling fixes 2023-01-04 21:00:41 +01:00
cketti
7963c3562d Remove RecyclerView padding when floating action button is disabled 2023-01-04 13:19:27 +01:00
Goooler
280ec9ccb1 Remove unnecessary "enabled" attributes in manifests 2023-01-04 13:03:33 +01:00
cketti
c444be48d7 Add a UriParser for generic URIs
This isn't actually a proper parser for the URI generic syntax. But it is good enough to linkify URIs.
2023-01-04 11:49:46 +01:00
cketti
8485395205 Remove support for linkifying bitcoin: and ethereum: URIs 2023-01-04 11:49:46 +01:00
cketti
86012f81d0 Refactor TextPartFinder 2023-01-04 11:37:20 +01:00
cketti
5206e76641 Convert TextPartFinder to Kotlin 2023-01-04 11:37:20 +01:00
cketti
05809b9280 Rename .java to .kt 2023-01-04 11:37:20 +01:00
cketti
6c7174dc78 Convert TextPartFinderTest to Kotlin 2023-01-04 11:37:20 +01:00