Commit graph

1680 commits

Author SHA1 Message Date
cketti
65d3df63b0 Upgrade AndroidX lifecycle libraries to 2.3.1 2021-04-22 03:54:15 +02:00
cketti
826e4a470e Various message threading fixes 2021-04-21 20:44:47 +02:00
cketti
341687e9dc
Merge pull request #5263 from k9mail/custom_language_rewrite
Rewrite custom app language feature
2021-04-20 22:12:27 +02:00
cketti
a61429e8c5 Rewrite custom app language feature
Add AppLanguageManager that notifies listeners when the app language has been changed. K9Activity uses this mechanism to restart() on language changes. The Application object will update its configuration.

Instead of using the deprecated Resources.updateConfiguration() we now use LocaleContextWrapper (in combination with AppCompat) to override the locale in the configuration.
2021-04-20 21:41:18 +02:00
cketti
c43f27a9ff
Merge pull request #5259 from k9mail/save_messages 2021-04-20 21:23:47 +02:00
cketti
034e1fbd79 Fix crash when starting MessageCompose without an account UUID 2021-04-19 21:21:13 +02:00
cketti
abd336addb Save message in Outbox folder using MessageStore 2021-04-18 02:28:33 +02:00
cketti
903babe917 Save drafts using MessageStore 2021-04-17 23:26:46 +02:00
cketti
f58860f8bb
Merge pull request #5257 from k9mail/save_messages
Split Backend.fetchMessage() into two methods
2021-04-17 21:45:00 +02:00
cketti
127e311385 Change FolderDetailsAccessor to better support local folders
For "local-only" folders the server ID column in the database is NULL.
2021-04-17 17:54:25 +02:00
cketti
53d8ddef81 Clean up code in FolderSettingsFragment 2021-04-17 17:54:25 +02:00
plan3d
9558dec197 Hide folder poll class and folder notification class preferences for local folders 2021-04-17 10:12:54 +02:00
plan3d
27e6dc9d84 Issue #5249: Fixed NPE in folder settings of outbox folder 2021-04-17 10:12:54 +02:00
cketti
428ae60a58 Split Backend.fetchMessage() into two methods
The two new methods now also save the downloaded message data instead of returning a Message instance.
MessageStore.saveRemoteMessage() will now replace a message if it already exists.
2021-04-17 00:04:58 +02:00
cketti
4bfe03de35
Merge pull request #5255 from k9mail/BackendStorage_to_MessageStore 2021-04-16 20:46:06 +02:00
cketti
1bbaf668f6 Remove K9BackendStorage's dependency on LocalStore 2021-04-15 01:51:57 +02:00
cketti
289744ec24 Change key/value functions in K9BackendFolder to use MessageStore 2021-04-15 01:51:54 +02:00
cketti
cf51883637 Change K9BackendFolder.getOldestMessageDate() to use MessageStore 2021-04-15 01:51:52 +02:00
cketti
0a50acd38b
Merge pull request #5251 from k9mail/BackendStorage_to_MessageStore
Change K9BackendFolder.saveMessage() to use MessageStore
2021-04-15 01:51:24 +02:00
cketti
4e4babeea6 Change K9BackendFolder.saveMessage() to use MessageStore 2021-04-15 01:19:18 +02:00
cketti
756ffc7856
Merge pull request #5246 from k9mail/BackendStorage_to_MessageStore
Remove ThreadMessageOperations' dependency on LocalStore
2021-04-13 18:03:49 +02:00
cketti
78e616ed37 Remove ThreadMessageOperations' dependency on LocalStore 2021-04-13 17:43:24 +02:00
plan3d
352cd7a356 Issue #1430: Fixed lost signature spaces 2021-04-13 07:37:52 +02:00
plan3d
960989bdb2 Fixed TextBodyBuilder 2021-04-13 07:37:52 +02:00
plan3d
20a00de34c Rewrote TextBodyBuilderTest 2021-04-13 07:37:52 +02:00
cketti
1a68adc803
Merge pull request #5242 from k9mail/BackendStorage_to_MessageStore 2021-04-12 21:00:07 +02:00
cketti
e521a8d23b Extract variable for FastAdapter version and upgrade to 5.4.0 2021-04-12 16:14:27 +02:00
cketti
b9653f7b76 Only show drag handle if there's more than one account 2021-04-12 16:14:27 +02:00
cketti
35da587399 Save new account order in background thread 2021-04-10 07:29:37 +02:00
cketti
123292dde5 Use RecyclerViewBackgroundDrawable in settings screen
Use a background that becomes visible when account items are dragged. This creates a nice layered surfaces effect.
2021-04-10 07:15:23 +02:00
Poldi
3d9e9d96fc Allow reordering accounts in settings 2021-04-10 06:47:02 +02:00
cketti
a00d69cf13
Merge pull request #5241 from k9mail/BackendStorage_to_MessageStore 2021-04-09 23:21:15 +02:00
cketti
923b0308b4 Change K9BackendFolder.setMessageFlag() to use MessageStore 2021-04-09 03:08:25 +02:00
cketti
c20de077d9 Change K9BackendFolder.getMessageFlags() to use MessageStore 2021-04-09 02:24:02 +02:00
cketti
c17db2cb94 Change K9BackendFolder.isMessagePresent() to use MessageStore 2021-04-09 02:00:10 +02:00
cketti
d52b4511fe Change K9BackendFolder.setStatus() to use MessageStore 2021-04-08 21:33:25 +02:00
cketti
e7b764e6e8 Change K9BackendFolder.setLastChecked() to use MessageStore 2021-04-08 21:28:05 +02:00
cketti
cbb5825d03 Change K9BackendFolder.setMoreMessages() to use MessageStore 2021-04-08 21:23:48 +02:00
cketti
7dc4b6dd71 Change K9BackendFolder.getMoreMessages() to use MessageStore 2021-04-08 21:12:01 +02:00
cketti
3336fd3ed3 Extract 'MoreMessages' to a separate file 2021-04-08 20:40:49 +02:00
cketti
3a86cc632e Update 'delete_message' trigger to delete entries in 'threads' table 2021-04-08 20:27:03 +02:00
cketti
cf9037a513 Add code to delete messages to MessageStore 2021-04-08 20:27:03 +02:00
cketti
24f25ca1d9
Merge pull request #5234 from k9mail/BackendStorage_to_MessageStore 2021-04-08 18:35:26 +02:00
cketti
9d4d7f0352 Move code to get message server IDs and dates from K9BackendFolder to MessageStore 2021-04-07 20:39:19 +02:00
cketti
484db5730d Move code to get message server IDs from K9BackendFolder to MessageStore 2021-04-07 20:23:54 +02:00
cketti
102fbc690f Move code to get highest message UID from K9BackendFolder to MessageStore 2021-04-07 20:23:52 +02:00
cketti
79b6289d40
Merge pull request #5233 from k9mail/BackendStorage_to_MessageStore
Move 'delete folder' code from K9BackendStorage/LocalFolder to MessageStore
2021-04-07 18:30:28 +02:00
cketti
2e6b5710be Move code to retrieve folder details from K9BackendFolder to MessageStore 2021-04-07 17:21:40 +02:00
cketti
6373d0249f Move delete folder code from K9BackendStorage to MessageStore 2021-04-06 22:17:38 +02:00
cketti
62bf9c36f7
Merge pull request #5231 from k9mail/BackendStorage_to_MessageStore 2021-04-06 19:57:31 +02:00