Commit graph

2744 commits

Author SHA1 Message Date
cketti
125e1af9d6 Use Koin instead of custom by lazy code 2023-02-07 01:08:01 +01:00
cketti
f91f3e268b Add abstraction for Android's vibrator service 2023-02-07 01:08:01 +01:00
Wolf Montwe
0d030aab6d
Remove trimTrailingWhitespace as not needed for ktlint 2023-02-06 10:49:21 +01:00
Wolf Montwe
1854a2c911
Change Kotlin code format 2023-02-03 17:23:57 +01:00
cketti
697f201c15 Prepare for version 6.507 2023-02-03 12:32:09 +01:00
cketti
8e7685c44d Version 6.506 2023-02-03 12:10:15 +01:00
cketti
e4c452de3b Don't crash when there are not recipients to display 2023-02-01 22:15:54 +01:00
cketti
180626c739 Prepare for version 6.506 2023-02-01 19:29:24 +01:00
cketti
de5d1cd1c9 Version 6.505 2023-02-01 18:56:47 +01:00
cketti
e826ed8db7
Merge pull request #6618 from thundernest/message-view-redesign
Add the redesigned message view screen
2023-02-01 18:51:05 +01:00
cketti
677ef154f7 Remove now unused CryptoInfoDialog 2023-02-01 18:01:28 +01:00
cketti
80c68e1e3e Display crypto status in message details bottom sheet 2023-02-01 18:01:28 +01:00
cketti
c93f5ea799
Merge pull request #6612 from thundernest/message_counts
Refactoring: Message counts
2023-02-01 17:36:59 +01:00
cketti
dd89dee489 Convert methods in AccountSearchConditions to extension functions 2023-02-01 14:40:00 +01:00
cketti
ef583ba620 Rewrite MessageCountsProvider to use MessageStore 2023-02-01 14:40:00 +01:00
cketti
adabe43efe Remove unused SearchField.SEARCHABLE 2023-02-01 14:40:00 +01:00
cketti
5e17829436 Rewrite MessageCountsProvider.getUnreadMessageCount() to not use LocalStore 2023-02-01 14:40:00 +01:00
cketti
4cc1643643 Remove message count functionality from MessagingController 2023-02-01 14:39:59 +01:00
cketti
4d3a308b27 Remove unused strings 2023-01-27 20:04:04 +01:00
cketti
3e90f8b85e Remove unused methods 2023-01-27 19:50:46 +01:00
cketti
2df7c3301d Remove unused classes 2023-01-27 19:20:29 +01:00
cketti
d90800886d
Merge pull request #6604 from thundernest/more_MessageStore
Rewrite `MessagingController.loadMoreMessages()` to not use `LocalStore`
2023-01-27 14:02:34 +01:00
cketti
cff482e88f Prepare for version 6.505 2023-01-27 12:08:50 +01:00
cketti
033fd2da3b Version 6.504 2023-01-27 12:01:32 +01:00
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
4dbaf4aba0 Access database in background thread when loading more messages 2023-01-24 20:34:09 +01:00
cketti
f6de845801 Rewrite MessagingController.loadMoreMessages() to not use LocalStore 2023-01-24 20:25:29 +01:00
cketti
9cb6859ad6 Load message details 2023-01-24 18:21:51 +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
7dd0ed79c4 Merge branch 'main' into message-view-redesign 2023-01-18 12:56:25 +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