Commit graph

942 commits

Author SHA1 Message Date
cketti
916015b1f0 Convert 'MimeHeader' to Kotlin 2020-02-29 21:29:46 +01:00
cketti
2a8d094343 JMAP: Add support for uploading messages 2020-02-25 19:00:18 +01:00
cketti
b1c6a55115 Fix "Bcc all messages to" when switching accounts 2020-02-22 22:28:32 +01:00
cketti
085332896e
Merge pull request #4556 from ByteHamster/metrics-opt-out
Opt out of WebView metrics
2020-02-21 15:07:15 +01:00
ByteHamster
f8cf52a59c Opt out of WebView metrics 2020-02-20 21:58:26 +01:00
Maurizio Pasquinelli
34373622ac Fix overlapping bcc and date 2020-02-19 19:57:39 +01:00
cketti
a2f1487ba5 JMAP: Add support for deleting messages 2020-02-18 16:47:33 +01:00
cketti
84aebf1037
Merge pull request #4533 from k9mail/jmap_message_sync
Add JMAP message sync (part 2) - delta sync
2020-02-16 18:59:52 +01:00
cketti
520eb13dc0
Merge pull request #4536 from k9mail/fix_memory_leaks
Fix some Activity leaks
2020-02-16 18:38:29 +01:00
cketti
ce7b59addf Clean up code in K9WebViewClient 2020-02-16 18:21:31 +01:00
FliegendeWurst
1a413e4a5c
Never open external links in our WebView (API level < 24) 2020-02-16 14:44:55 +01:00
cketti
d85e581485 Don't use GeneralSettingsDataStore as singleton
It holds a reference to the Activity that it was last used from.
2020-02-14 02:25:57 +01:00
cketti
b78c2e295e Add JMAP message sync (part 2) - delta sync 2020-02-14 00:16:34 +01:00
cketti
5dce1101ed
Merge pull request #4531 from k9mail/more_messages_ui_update
Don't load 'hasMoreMessages' data in main thread
2020-02-14 00:16:14 +01:00
cketti
caa7b6d797 Don't load 'hasMoreMessages' data in main thread 2020-02-12 23:22:57 +01:00
cketti
6768e74fc2 Be a bit more selective on which StrictMode warnings we enable 2020-02-12 22:27:13 +01:00
cketti
20e239f68e
Merge pull request #4529 from k9mail/jmap_message_sync
Add JMAP message sync (part 1)
2020-02-12 19:51:18 +01:00
cketti
ab7feffa68 Add JMAP message sync (part 1)
This only supports doing a full sync and downloading complete messages.
2020-02-12 19:12:11 +01:00
Meteor0id
cd21fb23eb
autodownload_message_size as base2 Bytes
Max message size is compared directly with message size, which is retrieved in the case of POP3 by a list command. List returns a size in bytes.

Out of that follows that the values for max download size are actually expressed as kibibytes and mebibytes
2020-02-11 03:38:14 +01:00
cketti
129cc2f32d Change SizeFormatter to properly use SI units 2020-02-09 01:10:17 +01:00
cketti
99b5f38a9c Make SizeFormatter.formatSize() an instance method 2020-02-09 00:20:49 +01:00
cketti
bee39ec03f Convert 'SizeFormatter' to Kotlin 2020-02-08 22:15:04 +01:00
cketti
de39ad28c5 WIP: Renaming file 'SizeFormatter' with Kotlin extension 2020-02-08 22:13:36 +01:00
ByteHamster
7fb6c4bfd8 Do not try to close search in onSaveInstanceState 2020-02-08 11:19:08 +01:00
ByteHamster
cdd7fdead2 Upgraded SearchPreference library to version 2.0.0 2020-02-07 18:31:58 +01:00
cketti
add8a88b87 Prepare for version 5.706 2020-02-06 23:18:23 +01:00
cketti
af7887d20d Version 5.705 2020-02-06 23:02:59 +01:00
cketti
96e76949a8 Update translations 2020-02-06 22:03:55 +01:00
cketti
0f07359bd9 Update AndroidX Core to 1.2.0 2020-02-06 17:53:07 +01:00
cketti
9e06676d33 Update AndroidX Fragment to 1.2.1 2020-02-06 17:24:49 +01:00
cketti
c1c57cfd8d Update AndroidX Lifecycle to 2.2.0 2020-02-06 16:22:51 +01:00
cketti
68e8bed15d Update AndroidX AppCompat to 1.1.0 2020-02-06 15:59:22 +01:00
cketti
b5cfb4c02c Fix message lists being displayed on top of each other 2020-02-06 15:07:18 +01:00
cketti
67e2029d56 Never open external links in our WebView 2020-02-06 13:51:37 +01:00
cketti
611a57fb0e Remove now unused folder name from SyncListener callbacks 2020-02-05 01:27:06 +01:00
cketti
86326ea0b9 Remove unused folder name from MessagingListener callbacks 2020-02-05 01:25:24 +01:00
cketti
b233104622 Make BackendFolder only save messages that have a server ID set
Since we're calling through to LocalFolder.appendMessages(), omitting
the server ID would create a local message (one with a UID starting
with "K9LOCAL:").
2020-02-04 19:58:24 +01:00
cketti
d8d2bebebe BackendFolder should never hand out local-only messages
Backend implementations don't need to know about local messages.
2020-02-04 18:55:33 +01:00
cketti
77ff9ea9ba Remove unused method BackendFolder.getUnreadMessageCount() 2020-02-04 18:17:22 +01:00
cketti
ce372384bb
Merge pull request #4490 from k9mail/remove_gesture_detector
Remove unused SwipeGestureDetector
2020-01-29 14:32:33 +01:00
cketti
678ba2acee Remove unused SwipeGestureDetector 2020-01-28 23:32:49 +01:00
cketti
aa08570a45 Make sure FolderNameFormatter uses the correct Resources instance
This is necessary so special folder names are displayed in the language
configured by the user under general settings.
2020-01-28 17:22:12 +01:00
cketti
c726a2d902 Remove unused field 'lastCheckFailed' from FolderInfoHolder 2020-01-28 17:22:12 +01:00
cketti
533c9e5622 Remove unused code from FolderInfoHolder 2020-01-28 17:22:12 +01:00
cketti
846aabe598 Remove FolderInfoHolder.getDisplayName() 2020-01-28 17:22:12 +01:00
cketti
bf69052995
Merge pull request #4483 from k9mail/MessageListLoader_close_Cursor
Close Cursor in MessageListLoader
2020-01-28 16:14:52 +01:00
cketti
c5b113bb58
Merge pull request #4480 from k9mail/theme_fixes
Only use K9 themes in AndroidManifest.xml
2020-01-28 16:14:17 +01:00
Marc K
b7482b28ad Add MessageListAdapter tests for missing and empty subject 2020-01-28 11:33:10 +01:00
Marc K
3f199bb8c7 Allow missing (null) subject headers
Fixes #4484
2020-01-27 23:08:45 +01:00
cketti
642a20740a Close Cursor in MessageListLoader 2020-01-27 17:40:07 +01:00