cketti
6a25709e09
Convert 'PreviewTextExtractorTest' to Kotlin
2020-09-30 03:00:20 +02:00
cketti
4c08c964e7
Rename 'PreviewTextExtractorTest' prior to conversion to Kotlin
2020-09-30 03:00:20 +02:00
cketti
bb4ed7a15c
Convert 'PreviewTextExtractor' to Kotlin
2020-09-29 23:31:24 +02:00
cketti
ab4e0229dc
Rename 'PreviewTextExtractor' prior to conversion to Kotlin
2020-09-29 23:22:15 +02:00
cketti
b82be6f374
Retain some attributes of <body> element during HTML sanitization
2020-09-20 18:01:00 +02:00
cketti
10ce58d603
Add <title> tag to allow list
2020-09-20 17:42:35 +02:00
cketti
ec34b96bfa
Convert 'HtmlSanitizerTest' to Kotlin
2020-09-20 17:42:35 +02:00
cketti
796eabb705
Rename 'HtmlSanitizerTest' prior to conversion to Kotlin
2020-09-20 17:42:35 +02:00
cketti
fc45e059fc
Update to targetSdkVersion 29
2020-09-20 01:29:50 +02:00
cketti
391d8e403c
Use mocked QuoteDateFormatter in TextQuoteCreatorTest
2020-09-20 01:08:39 +02:00
cketti
fd9d6f8d95
Use default Locale in QuoteDateFormatter
2020-09-20 01:04:33 +02:00
cketti
2db24bec08
Change QuoteHelper into QuoteDateFormatter
2020-09-19 20:44:54 +02:00
cketti
075fb35cd9
Get rid of QuoteHelper.QUOTE_BUFFER_LENGTH
2020-09-19 19:51:13 +02:00
cketti
e79dacd126
Use buildString() helper in TextQuoteCreator
2020-09-19 19:27:56 +02:00
cketti
0c97e2a4e0
Update Robolectric to 4.4
...
Replace usage of classes from transitive dependencies that are no longer available.
2020-09-18 03:14:46 +02:00
cketti
3211e3942c
Show image previews even when wrong MIME type is used
...
More precisely, show image preview when the MIME type is application/octet-stream and the file extension maps to a supported image MIME type.
2020-09-09 12:16:03 +02:00
cketti
fefe183d9a
Merge pull request #4921 from k9mail/decode_encrypted_subject
...
Decode encrypted subject
2020-08-25 17:31:56 +02:00
cketti
bdbd8d98b2
Decode encrypted subject
2020-08-25 17:15:00 +02:00
Tobias Preuss
f8e6e59fd6
Use io extension functions to make code more concise.
...
+ This change replaces a few usages of BufferedWriter, ByteArrayInputStream,
OutputStreamWriter with their equivalent Kotlin extension functions.
2020-08-24 19:22:29 +02:00
cketti
4a92388ed4
Refactor code for readability and consistency
2020-08-13 17:56:55 +02:00
Victor Frandsen
009050567d
Don't show standard message actions for messages in the Outbox
2020-08-13 17:42:16 +02:00
cketti
28387c685e
Add missing Koin definitions to TestApp
2020-08-13 17:04:12 +02:00
Tobias Preuss
4beee75b32
Use "isNotEmpty" convenience function.
2020-07-08 14:04:37 +02:00
Tobias Preuss
35b1d17244
Use property access syntax.
2020-07-08 14:00:23 +02:00
Tobias Preuss
9c6d08142a
Infer type.
2020-07-08 13:58:23 +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
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
ace8bc1244
Merge pull request #4847 from runningcode/no/api
...
Use api instead of implementation.
2020-06-24 03:22:35 +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
925bb66ea5
Remove failed pending commands
2020-06-19 19:43:33 +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
Mehdi Sadeghi
dfbcbad458
Let WebView handle bidirectional text
2020-06-19 16:25:21 +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
39db941dab
Don't update special folders for POP3 accounts
2020-06-13 17:04:25 +02:00
cketti
1a96ef4641
Remove Folder.serverId property
2020-06-13 02:02:56 +02:00
cketti
01ae362ae5
Add FolderRepository.getRemoteFolderDetails()
2020-06-13 02:02:56 +02:00
cketti
e5d6bf1cc6
Change UnreadWidgetDataProvider to not get FolderDetails
2020-06-13 02:02:56 +02:00
cketti
b175a6aa8b
Introduce RemoteFolder class
2020-06-13 02:02:56 +02:00
cketti
77a0be271e
Remove use of LocalFolder.serverId where not appropriate
2020-06-13 02:02:56 +02:00
cketti
99029a07b9
Fix reading of LocalFolder.databaseId
2020-06-13 02:02:56 +02:00
cketti
c31b753d26
Write 'server_id' value of NULL to database for local folders
2020-06-13 02:02:54 +02:00
cketti
fc3e2a18e5
Use folder ID in LocalStore.getPersonalNamespaces()
2020-06-12 18:53:11 +02:00
cketti
00fc6708cc
Change MessagingController.deleteMessagesSynchronous() to use folder ID
2020-06-12 18:53:11 +02:00
cketti
31ad75c539
Rewrite LocalStore.getFoldersAndUids() to getFolderIdsAndUids()
2020-06-12 18:53:11 +02:00