Commit graph

1160 commits

Author SHA1 Message Date
cketti
f5eb16c844 Use AppCompat's 'srcCompat' attribute to reference drawables
This way AppCompat's VectorDrawable implementation will be used. It works
around a couple of platform bugs.
We can't use this mechanism in layouts that we don't inflate ourselves,
e.g. the message list widget layout.
2020-05-09 17:16:26 +02:00
cketti
5d6d64f00b Prepare for version 5.714 2020-05-08 23:24:34 +02:00
cketti
03369f3c27 Version 5.713 2020-05-08 23:18:57 +02:00
cketti
e830656d80 Remove LocalFolder.close()
It's not doing anything useful and was responsible for at least one bug.
2020-05-08 19:42:16 +02:00
cketti
5a4a269926 Prepare for version 5.713 2020-05-08 15:03:49 +02:00
cketti
a236c35621 Version 5.712 2020-05-08 14:58:03 +02:00
cketti
b67ed99f24 Remove usage of java.time API 2020-05-08 14:32:51 +02:00
cketti
c966b7d49d Prepare for version 5.712 2020-05-08 11:07:03 +02:00
cketti
04e9714284 Version 5.711 2020-05-08 10:39:57 +02:00
cketti
b63929472b Update translations 2020-05-07 19:30:23 +02:00
cketti
e5c19a6f9f
Merge pull request #4734 from k9mail/fix_unread_widget
Fix unread widget
2020-05-07 19:11:16 +02:00
cketti
5857f18203 Fix displaying the folder name in unread widget title 2020-05-07 17:10:12 +02:00
cketti
d15bfab01c Rewrite unread widget configurations created by old app versions 2020-05-07 17:10:10 +02:00
cketti
8b5055ec40 Update unread widgets from a background thread 2020-05-07 11:36:08 +02:00
cketti
03d057a785 Retry failed periodic syncs with exponential backoff 2020-05-06 17:35:32 +02:00
cketti
76f1d37bc1 Use last sync time to calculate initial delay for periodic syncs 2020-05-06 17:35:25 +02:00
cketti
a224291532 Save last sync time 2020-05-06 16:57:38 +02:00
cketti
1e21f94e1c Only reschedule sync job for the account whose settings were changed 2020-05-06 15:37:02 +02:00
cketti
35aac53e10 Disable mail sync job when 'background sync' is set to 'never' 2020-05-06 15:04:02 +02:00
cketti
c30911cbf6 Check last sync time when performing periodic syncs 2020-05-06 14:12:19 +02:00
cketti
fad2d91f72 Fix check to not sync a folder if it was checked recently 2020-05-06 14:11:32 +02:00
cketti
746beb84ed Check if periodic mail sync is disabled in MailSyncWorker 2020-05-06 13:44:25 +02:00
cketti
9ed54011ce Refactor MigrationTo75 2020-05-05 22:55:19 +02:00
cketti
1717ede350 Avoid NullPointerExceptions when unboxing 2020-05-05 17:16:04 +02:00
cketti
e305d91cf2 Remove FolderInfoHolder.serverId 2020-05-05 15:49:29 +02:00
cketti
af667131a9 Remove folderServerId from MessageListItem 2020-05-05 15:49:29 +02:00
cketti
7e958abb1d Fix exporting folder names for special folders 2020-05-05 15:49:29 +02:00
cketti
d503935ac5 Fix code to create Outbox folder after settings import 2020-05-05 15:49:29 +02:00
cketti
584c365a3d Use imported special folders after refreshing the folder list 2020-05-05 15:49:29 +02:00
cketti
9e02b1cba5 Use imported auto-expand folder after refreshing the folder list 2020-05-04 16:31:00 +02:00
cketti
cc637a6575 Rename Account.get*Folder() to getImported*Folder() 2020-05-04 16:31:00 +02:00
cketti
fe5dcfa8a1 Rename Account.getInboxFolder() to getLegacyInboxFolder() 2020-05-04 16:31:00 +02:00
cketti
f82214d5cc Replace Account.getAutoExpandFolder() with Account.getAutoExpandFolderId() 2020-05-04 16:31:00 +02:00
cketti
8079ef89b4 Reset folder server IDs in Account 2020-05-04 16:31:00 +02:00
cketti
2f875abcfc Replace remaining usages of Account.get*Folder() 2020-05-04 16:31:00 +02:00
cketti
d298897b51 Store folder IDs of special folders in Preferences 2020-05-04 16:31:00 +02:00
cketti
bb9e6558f0 Replace Account.getArchiveFolder() with Account.getArchiveFolderId() 2020-05-04 16:31:00 +02:00
cketti
7f80947740 Replace Account.getSentFolder() with Account.getSentFolderId() 2020-05-04 16:31:00 +02:00
cketti
253f4c85ff Replace Account.getSpamFolder() with Account.getSpamFolderId() 2020-05-04 16:31:00 +02:00
cketti
c943c03879 Replace Account.getDraftsFolder() with Account.getDraftsFolderId() 2020-05-04 16:31:00 +02:00
cketti
c56ae6dcab Replace Account.getTrashFolder() with Account.getTrashFolderId() 2020-05-04 16:31:00 +02:00
cketti
c6d96b2b34 Replace Account.getInboxFolder() with Account.getInboxFolderId()
In some instances the check for the Inbox folder could be removed.
We no longer allow one folder to have multiple roles, e.g. Inbox + Drafts.
2020-05-04 16:31:00 +02:00
cketti
789769ef39 Replace Account.getOutboxFolder() with Account.getOutboxFolderId() 2020-05-04 16:31:00 +02:00
cketti
0b939eee25 Use Account.get*FolderId() to figure out folder type 2020-05-04 16:31:00 +02:00
cketti
991cea06de Convert 'FolderInfoHolder' to Kotlin 2020-05-04 16:31:00 +02:00
cketti
61e4f5299e WIP: Renaming file 'FolderInfoHolder' with Kotlin extension 2020-05-04 16:31:00 +02:00
cketti
2da3fd8f2b Remove RESULT_SELECTED_FOLDER from ChooseFolderActivity 2020-05-04 16:31:00 +02:00
cketti
d86945d35d Change ChooseFolderActivity to use a folder ID for "scroll to folder" 2020-05-04 16:31:00 +02:00
cketti
010c0b42ef Remove folderServerId from MessageReference 2020-05-04 16:31:00 +02:00
cketti
1eb2ce7454 Switch MessageListLoader to MessageReference.getFolderId() 2020-05-04 16:31:00 +02:00