Commit graph

1167 commits

Author SHA1 Message Date
Wolf Montwe
7a77fc43b8
Add Cache 2023-02-13 16:22:41 +01:00
cketti
836fb7dc69 Rename (and move) AddressFormatter to MessageViewRecipientFormatter
The way recipient names are displayed in the message view screen is subtly different from the other places where we display recipient names. Now the name reflects that.
2023-02-08 12:45:13 +01:00
Wolf Montwe
1854a2c911
Change Kotlin code format 2023-02-03 17:23:57 +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
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
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
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
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
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
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
388d1690f3 Don't crash when K9WorkerFactory gets called for an unknown class 2023-01-13 11:07:14 +01:00
Bastian Wilhelm
82eec20492 delete spam messages immediately without moving to trash folder 2023-01-07 13:29:41 +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
klemens
6d528918a1 spelling fixes 2023-01-04 21:00:41 +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
cketti
294a8cb840 Rename .java to .kt 2023-01-04 11:37:20 +01:00
cketti
0cad7f3b47 Add setting to show floating action button on top of the message list 2023-01-04 11:14:57 +01:00
Bastian Wilhelm
ad5f87519c Don't move draft to Trash folder after sending 2022-12-27 20:36:28 +01:00
cketti
ef111af4ee Merge branch 'main' into message-view-redesign 2022-12-15 16:02:10 +01:00
cketti
431c3fd6ca Remove font size settings from GeneralSettingsDescriptions 2022-12-15 12:14:19 +01:00
mhfarzaneganbb
75e4be161a Remove font size settings for account list and folder list 2022-12-15 12:06:12 +01:00
cketti
a0ae7bd820 Add dir="auto" to HTML when composing messages 2022-12-13 14:07:10 +01:00
cketti
4b5df5ade0 Make sure operations in NewMailNotificationController are executed atomically 2022-12-07 20:20:11 +01:00
cketti
627bcf850e Make sure notifications have been restored before performing any operation 2022-12-07 20:20:11 +01:00
Goooler
65e07cba13 Disable buildFeatures by default to speed up builds 2022-12-07 19:21:11 +01:00
Goooler
be9b4ef4aa Configure android extensions in subprojects 2022-12-07 19:04:23 +01:00
cketti
932e3caabe Stop NotificationActionService after work is done 2022-12-06 18:58:00 +01:00