Commit graph

562 commits

Author SHA1 Message Date
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
cketti
4976d4e178 Change MessagingListener.folderStatusChanged() to use folder ID 2020-06-12 18:53:11 +02:00
cketti
f229b8ca3e Disable use of the signature when creating the default identity 2020-06-04 22:26:04 +02:00
cketti
81b99bd307
Merge pull request #4810 from k9mail/wording
Fix names of some identifiers
2020-06-03 20:19:09 +02:00
cketti
dd895ce204 Replace DozeChecker.isAppWhitelisted() with isIgnoringBatteryOptimizations() 2020-06-02 17:13:48 +02:00
cketti
02b5feacad Replace 'Whitelist' with 'AllowList' in HtmlHelper 2020-06-02 17:09:47 +02:00
cketti
8b043840c7 Convert 'HtmlHelper' to Kotlin 2020-06-02 17:09:47 +02:00
cketti
0b202197f0 Rename 'HtmlHelper' prior to conversion to Kotlin 2020-06-02 17:09:47 +02:00
cketti
781a6f29b9 Replace 'Whitelist' with 'AllowList' in HtmlSanitizer 2020-06-02 17:09:47 +02:00
cketti
245ae8c123 Convert 'HtmlSanitizer' to Kotlin 2020-06-02 17:01:43 +02:00
cketti
00846b21b6 Rename 'HtmlSanitizer' prior to conversion to Kotlin 2020-06-02 16:51:55 +02:00
cketti
f1a08e54f6 Add logging to K9NotificationStrategy 2020-06-02 13:21:32 +02:00
cketti
25bdbe8a0d Use proper "server ID" when creating local Outbox folder 2020-05-29 19:32:36 +02:00
cketti
c85b56828e Don't reset special local folders in SpecialFolderUpdater 2020-05-16 17:46:26 +02:00
cketti
981e12965a Add isLocalOnly property to Folder 2020-05-15 19:55:26 +02:00
cketti
482e8df663 Create SpecialLocalFoldersCreator to create special local folders
That's "Outbox" for all account types. And additionally "Drafts", "Sent",
and "Trash" folders for POP3 accounts.
2020-05-15 17:21:47 +02:00
cketti
9100438b31 Make trying to open a non-existent folder a permanent error 2020-05-13 16:31:35 +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
b67ed99f24 Remove usage of java.time API 2020-05-08 14:32:51 +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
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
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
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
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
9291881b6b Switch LocalSearch and everything connected to it to using folder IDs 2020-05-04 16:31:00 +02:00