Commit graph

9600 commits

Author SHA1 Message Date
cketti
ee85c77391
Merge pull request #4873 from johnjohndoe/kotlin-extensions
Use Kotlin extensions
2020-07-11 01:06:49 +02:00
Tobias Preuss
7bd92aebb9 Use "View#isVisible" extension function. 2020-07-09 09:33:49 +02:00
Tobias Preuss
b1119adfc7 Use "Context#withStyledAttributes" extension function. 2020-07-09 09:31:11 +02:00
cketti
eca2a0f71c
Merge pull request #4869 from johnjohndoe/random-housekeeping
Random housekeeping
2020-07-08 19:36:26 +02:00
Tobias Preuss
117af49699 Keep cascaded if because code is easier to read. 2020-07-08 19:22:29 +02:00
Tobias Preuss
d2d4614601 Make function somewhat more concise. 2020-07-08 19:20:49 +02:00
Tobias Preuss
4beee75b32 Use "isNotEmpty" convenience function. 2020-07-08 14:04:37 +02:00
Tobias Preuss
f7e9cbae3e Use Kotlin "Any#toString" function. 2020-07-08 14:04:06 +02:00
Tobias Preuss
f075de1c7a Let constant be "const". 2020-07-08 14:01:27 +02:00
Tobias Preuss
35b1d17244 Use property access syntax. 2020-07-08 14:00:23 +02:00
Tobias Preuss
0bb1cc73d9 Use Long#compare convenience function. 2020-07-08 13:58:57 +02:00
Tobias Preuss
9c6d08142a Infer type. 2020-07-08 13:58:23 +02:00
cketti
0c40a77273
Merge pull request #4863 from starshipcoder/bugfix-2136
Restart message list activity after display settings have been changed
2020-07-03 18:40:45 +02:00
starshipcoder
c4c97d85d3 Fixed Issue#2136 Global display settings changes are not applied immediately 2020-07-03 18:12:47 +02:00
cketti
2b1b845d42
Merge pull request #4857 from k9mail/auto_update_folder_list
Automatically update folder list
2020-07-03 17:58:25 +02:00
cketti
c71c6bc230 Automatically update folder list
Refresh list of folders before syncing an individual folder if the last time the folder list was refreshed was more than 30 minutes ago.
2020-06-26 23:56:07 +02:00
cketti
0aa765d148
Merge pull request #4856 from k9mail/MessagingController_Preferences
Inject Preferences into MessagingController
2020-06-26 23:55:49 +02:00
cketti
ccf9004090 Remove unused Contacts from MessagingController 2020-06-26 21:43:16 +02:00
cketti
7acab6cb33 Use injected Preferences instance in MessagingController 2020-06-26 21:42:53 +02:00
cketti
b87521ade4 Inject Preferences into MessagingController 2020-06-26 21:42:51 +02:00
cketti
02b7e5a2ee
Merge pull request #4849 from k9mail/update_SafeContentResolver
Update SafeContentResolver to version 1.0.0
2020-06-24 03:36:07 +02:00
cketti
ace8bc1244
Merge pull request #4847 from runningcode/no/api
Use api instead of implementation.
2020-06-24 03:22:35 +02:00
cketti
0de4dc8e77 Update SafeContentResolver to version 1.0.0 2020-06-24 03:17:15 +02:00
cketti
fbaa4ce037 Make openpgp-api module available for tests in app modules 2020-06-23 16:29:46 +02:00
Nelson Osacky
907106bfdc Use api instead of implementation.
This improves the build times when making incremental changes.
See [this slide](https://speakerdeck.com/runningcode/beyond-modularization-scaling-your-android-build-with-gradle?slide=97)
for the performance improvements.
2020-06-23 11:27:39 +02:00
cketti
fae2b54394 Prepare for version 5.718 2020-06-19 22:01:45 +02:00
cketti
4e35ad736d Version 5.717 2020-06-19 21:54:44 +02:00
cketti
9b0cf36c5f
Merge pull request #4845 from k9mail/drop_failing_commands
Remove failed pending commands
2020-06-19 21:40:15 +02:00
cketti
48a76d574e
Merge pull request #4844 from k9mail/imap_append_failure
IMAP: Support negative responses to APPEND command
2020-06-19 21:36:56 +02:00
cketti
925bb66ea5 Remove failed pending commands 2020-06-19 19:43:33 +02:00
cketti
e42e0fa8b9 IMAP: Support negative responses to APPEND command 2020-06-19 18:55:04 +02:00
cketti
93b26ece7e
Merge pull request #4843 from k9mail/update_translations
Update translation
2020-06-19 18:30:00 +02:00
cketti
ebc11cfaf0 Update translation 2020-06-19 17:41:18 +02:00
cketti
976590e190
Merge pull request #4840 from k9mail/convert_to_kotlin
Convert ImapFolder(Test) to Kotlin
2020-06-19 17:35:36 +02:00
cketti
74942150e5
Merge pull request #4839 from k9mail/local_only_operations
Don't attempt to perform remote operations on local-only folders
2020-06-19 16:57:47 +02:00
cketti
3afdb8ccb4
Merge pull request #4841 from mehdisadeghi/bugfix/3391
Let WebView handle bidirectional text
2020-06-19 16:38:06 +02:00
Mehdi Sadeghi
dfbcbad458 Let WebView handle bidirectional text 2020-06-19 16:25:21 +02:00
cketti
dc119f9068 Convert 'ImapFolder' to Kotlin 2020-06-18 14:44:26 +02:00
cketti
be7849eb5d Rename 'ImapFolder' prior to conversion to Kotlin 2020-06-18 14:44:22 +02:00
cketti
84ffe7b3cd Convert 'ImapFolderTest' to Kotlin 2020-06-18 14:44:20 +02:00
cketti
3d97acde5c Rename 'ImapFolderTest' prior to conversion to Kotlin 2020-06-18 14:44:18 +02:00
cketti
5c5f2409be Don't upload draft message if not supported 2020-06-17 22:48:20 +02:00
cketti
be5b16040e Don't upload sent message if Sent folder is local-only 2020-06-17 15:46:57 +02:00
cketti
f7ee43bc3d Don't upload messages deleted from Outbox if not supported
When deleting a message from the local Outbox don't attempt to upload it to the (remote) Trash folder if the backend doesn't support that (POP3).
2020-06-17 15:39:51 +02:00
cketti
fc807303c9 Don't queue pending command for setting flags if not supported
If the backend doesn't support setting flags (POP3) or the folder is a local-only folder (Outbox), don't add a pending command that is guaranteed to fail.
2020-06-17 15:09:58 +02:00
cketti
14bf32cea4 Rename Backend.supportsSeenFlag to supportsFlags 2020-06-17 14:45:41 +02:00
cketti
8c759e3c5f
Merge pull request #4835 from k9mail/local_folder_server_id
Continue work on referring to folders only by their database ID
2020-06-17 01:12:43 +02:00
cketti
39db941dab Don't update special folders for POP3 accounts 2020-06-13 17:04:25 +02:00
cketti
0fb0de1bb2 Add database migration to clear 'server_id' column of local folders 2020-06-13 02:02:56 +02:00
cketti
1a96ef4641 Remove Folder.serverId property 2020-06-13 02:02:56 +02:00