Commit graph

9164 commits

Author SHA1 Message Date
cketti
86326ea0b9 Remove unused folder name from MessagingListener callbacks 2020-02-05 01:25:24 +01:00
cketti
8ca57827ff
Merge pull request #4501 from k9mail/BackendFolder_local_message_fix
Make BackendFolder not hand out local messages
2020-02-04 22:57:44 +01:00
cketti
2a760ef4bb Remove local folder handling from Backend implementations 2020-02-04 19:58: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
3e64b7df1d
Merge pull request #4500 from k9mail/BackendFolder_cleanup
Remove unused method BackendFolder.getUnreadMessageCount()
2020-02-04 18:41:19 +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
fb327a4dd7
Merge pull request #4489 from k9mail/localized_folder_name_formatter
Respect configured language when formatting folder names
2020-01-29 14:28:54 +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
5c3750ede3
Merge pull request #4478 from k9mail/bye_Folder
Get rid of base class Folder
2020-01-28 17:16:40 +01:00
cketti
58f32df670 Remove now unused class 'Folder' 2020-01-28 16:22:09 +01:00
cketti
35da218170 Make WebDavFolder no longer extend Folder
This highlighted that a bunch of code in backend-webdav was unused.
2020-01-28 16:22:09 +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
cketti
b936781f7f
Merge pull request #4485 from morckx/fix-missing-subject-crash
Allow missing (null) subject headers
2020-01-28 15:18:24 +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
cketti
9845b76338 Only use K9 themes in AndroidManifest.xml 2020-01-27 02:39:28 +01:00
cketti
579027e66c Make Pop3Folder no longer extend Folder
This highlighted that a bunch of code in backend-pop3 was unused.
2020-01-26 23:35:25 +01:00
cketti
76bc52beef Make ImapFolder no longer extend Folder 2020-01-26 23:35:25 +01:00
cketti
873208cd46
Merge pull request #4476 from k9mail/bye_RemoteStore
Get rid of base class RemoteStore
2020-01-26 23:35:10 +01:00
cketti
f2886364ef
Merge pull request #4475 from k9mail/pending_commands_cleanup
Check arguments when creating PendingCommand instances
2020-01-26 23:30:41 +01:00
cketti
7d1200f374
Merge pull request #4477 from ByteHamster/default-progress-0
Make default progress 0%
2020-01-26 18:56:22 +01:00
ByteHamster
745708649c Make default progress 0% 2020-01-26 16:24:19 +01:00
cketti
9335080545 Get rid of common base class RemoteStore
This also allows removing some unnecessary methods in former subclasses.
2020-01-26 05:16:01 +01:00
cketti
2afacbc498
Merge pull request #4474 from k9mail/fix_contacts_permission_check
Only check for contacts read permission when fetching contact pictures
2020-01-26 01:28:01 +01:00
cketti
c85221cadf Check arguments when creating PendingCommand instances 2020-01-26 01:27:24 +01:00
cketti
1bac774a60
Merge pull request #4473 from k9mail/message_list_progress
Display progress when syncing a folder
2020-01-26 01:22:37 +01:00
cketti
aad060fb41 Remove unnecessary code from PendingMoveAndMarkAsRead 2020-01-26 00:47:23 +01:00
cketti
54bf442259 Rename outdated PendingMoveOrCopy factory method to createLegacy() 2020-01-26 00:47:23 +01:00
cketti
71df8f2f0d Remove code to enqueue legacy form of 'PendingMoveOrCopy' 2020-01-26 00:47:23 +01:00
cketti
5b436adaee Only check for contacts read permission when fetching contact pictures 2020-01-24 15:10:10 +01:00
cketti
1de6f3c48a Clean up MessageListFragment.setWindowProgress() 2020-01-23 16:36:21 +01:00
cketti
937882f836 Display progress when syncing a folder 2020-01-23 16:36:21 +01:00
cketti
28dadaf468
Merge pull request #4469 from k9mail/fix_LocalSearch_accounts
Fix crash when opening Unified Inbox
2020-01-23 16:35:12 +01:00
cketti
35031e800c
Merge pull request #4468 from k9mail/fix_MessageListExtractor
Fix MessageListExtractor to only read thread count when requested
2020-01-23 16:27:39 +01:00
cketti
4f6943336c
Merge pull request #4467 from k9mail/MessagingListener_cleanup
More MessagingListener cleanup
2020-01-23 16:25:30 +01:00
cketti
0d3511cf53 Fix MessageListExtractor to only read thread count when requested
Turns out that sometimes we do have a column with index THREAD_COUNT_COLUMN
but it's the unique ID and not a thread count.
2020-01-22 22:40:10 +01:00
cketti
320f916098 Remove support for the magic ALL_ACCOUNTS constant from LocalSearch 2020-01-22 21:59:47 +01:00
cketti
ad731aa3d9 Fix bug in MessageListLiveData when using LocalSearch to retrieve accounts UUIDs 2020-01-22 21:19:55 +01:00
cketti
f8baaa60f6 Fix bug in MessageListLoader when using LocalSearch to fetch accounts 2020-01-22 21:05:15 +01:00
cketti
b99d445736 Remove unused message counts from MessagingListener.synchronizeMailboxFinished() 2020-01-22 17:16:06 +01:00
cketti
aeef338efd Remove unread count from MessagingListener.folderStatusChanged() 2020-01-22 17:02:16 +01:00
cketti
2dc75163a0 Remove unused MessagingListener callbacks for sending messages 2020-01-22 16:52:26 +01:00