cketti
46a2c351d5
Add foreground service for Push
2021-06-12 17:04:45 +02:00
cketti
fb55ee76f9
Merge pull request #5337 from k9mail/notification_ids_test
...
Rewrite tests for NotificationIds
2021-06-12 16:00:28 +02:00
cketti
85c98e2eba
Merge pull request #5336 from k9mail/push_notification_channel
...
Add notification channel for a Push foreground service
2021-06-12 15:58:45 +02:00
cketti
4df32e25e6
Merge pull request #5335 from k9mail/imap_idle
...
Add ImapFolderIdler that uses IMAP's IDLE command to listen for changes
2021-06-12 15:56:56 +02:00
cketti
f3b7cd7d14
Add notification channel for a Push foreground service
2021-06-11 18:33:09 +02:00
cketti
5df81c2908
Rewrite tests for NotificationIds
...
Check the properties we actually care about instead of testing implementation details.
2021-06-11 13:52:01 +02:00
cketti
db2b9c746f
Add ImapFolderIdler that uses IMAP's IDLE command to listen for changes
2021-06-10 21:40:36 +02:00
cketti
296ba92221
Merge pull request #5333 from k9mail/imap_interfaces
2021-06-10 21:28:01 +02:00
cketti
e877c3b313
Merge pull request #5329 from k9mail/fix_locale_override
...
Re-apply the locale override to the configuration if necessary
2021-06-10 21:27:35 +02:00
cketti
63d9872755
Introduce additional interfaces so RealImapFolder is decoupled from RealImapStore
2021-06-10 21:00:58 +02:00
cketti
94f630cf88
Introduce ImapStore interface
2021-06-10 21:00:58 +02:00
cketti
55c54555ff
Introduce ImapFolder interface
2021-06-09 16:15:12 +02:00
cketti
d0fa865e1f
Rename ImapFolder.kt to RealImapFolder.kt
2021-06-09 16:15:12 +02:00
cketti
ededa33ff2
Use enum class for ImapFolder.open() argument
2021-06-09 16:15:12 +02:00
cketti
3041a787d6
Introduce ImapConnection interface
...
The implementation is now called RealImapConnection.
2021-06-09 16:15:12 +02:00
cketti
24eb92d56d
Update communication section in README
2021-06-06 14:58:21 +02:00
cketti
cbffb04f04
Merge pull request #5289 from artbristol/art/poc_unread_count_account
2021-06-05 15:31:47 +02:00
cketti
7fcd1976e9
Minor cleanup
2021-06-05 15:08:06 +02:00
cketti
db0bd06f21
Re-apply the locale override to the configuration if necessary
2021-06-05 14:18:00 +02:00
Art O Cathain
886a5a0610
Show account unread count on account list in drawer
2021-06-05 15:28:43 +10:00
cketti
295b9d8d28
Merge pull request #5327 from k9mail/issue_4407_unifiedInbox
2021-06-04 21:38:15 +02:00
cketti
a72dac6e9d
Merge pull request #5325 from k9mail/GH-5324_strip_signature_crash
2021-06-04 20:54:05 +02:00
cketti
2e785325de
Simplify logic in MessageListFragment.setWindowTitle()
2021-06-04 11:47:55 +02:00
plan3d
4b488d9cbf
Issue #4407 : Fixed localized unified inbox title if app language was changed
2021-06-04 11:30:38 +02:00
cketti
4a65c5b4a0
Improve logging in MessageExtractor.getTextFromPart()
2021-06-02 00:49:23 +02:00
cketti
63e6c61368
Make sure BodyTextExtractor.getBodyTextFromMessage() never returns null
2021-06-02 00:32:35 +02:00
cketti
c6fc922e5b
Merge pull request #5323 from k9mail/remove_notification_opens_unread
...
Remove "Notification opens unread messages" option
2021-06-01 16:05:29 +02:00
cketti
240c935f85
Merge pull request #5321 from plan3d/issue_4407_setTitle
2021-06-01 15:46:28 +02:00
cketti
bca8f2f301
Explicitly set activity titles
...
This is so cached activity titles aren't used when changing the app language.
See https://proandroiddev.com/change-language-programmatically-at-runtime-on-android-5e6bc15c758
2021-06-01 15:32:40 +02:00
cketti
2598d3e199
Remove "Notification opens unread messages" option
2021-06-01 09:45:12 +02:00
cketti
c5509ccd1c
Merge pull request #5318 from plan3d/issue_4407_refactoring
...
Removed dead code
2021-05-31 18:39:05 +02:00
plan3d
1066cf84b0
Removed dead code
2021-05-31 16:30:53 +02:00
plan3d
26db6638d8
Issue #4407 : Fixed localized titles if app language and system language are different
2021-05-31 16:10:36 +02:00
cketti
11c85017e2
Merge pull request #5313 from k9mail/push_folders_flow
...
Add FolderRepository.getPushFoldersFlow()
2021-05-29 13:23:08 +02:00
cketti
25a7b85b7b
Merge pull request #5312 from k9mail/remove_push_poll_on_connect
...
Remove 'Poll when connecting for push' setting
2021-05-29 13:03:53 +02:00
cketti
6862b737ed
Add FolderRepository.getPushFoldersFlow()
...
This method returns a flow that emits the list of folders to sync via Push. It will automatically update when the account's 'Push folders' setting or a folder's Push class is changed.
2021-05-28 14:15:48 +02:00
cketti
fdaf91cd2e
Remove 'Poll when connecting for push' setting
2021-05-28 12:28:54 +02:00
cketti
3b2a8adb1c
Merge pull request #5306 from k9mail/message_list_update
...
Remove message list update mechanism that no longer works
2021-05-26 08:41:42 +02:00
cketti
72b1ab5ac5
Remove message list update mechanism that no longer works
...
The adapter in MessageListFragment used a complicated mechanism that allowed for changing the displayed list by changing the cache and not reading the data from the database again. With the latest change to the adapter this no longer works. And so the associated "notification" mechanism can be removed.
2021-05-23 10:01:10 +02:00
Nuno Ferreira
18e8b31f1c
Add long-press action to copy subject text to clipboard ( #5296 )
2021-05-14 18:21:00 +02:00
cketti
ec8efc631e
Merge branch 'long_folder_names' into main
...
Closes #5291
2021-05-12 15:21:10 +02:00
cketti
66bae83468
Use custom layout for folders in drawer
2021-05-12 15:12:26 +02:00
Marcus Wolschon
6f615337c0
Improve support for long folder names in drawer
...
Ellipsize long folder names in the middle, not the end.
2021-05-12 14:42:02 +02:00
cketti
45a7942202
Merge pull request #5294 from k9mail/ImapFolder_fixes
2021-05-11 19:58:31 +02:00
cketti
db177eca59
Merge pull request #5293 from k9mail/download_state
...
Correctly persist message download state
2021-05-11 19:52:55 +02:00
cketti
d5c8c35fec
Remove ImapFolder caching
...
The cache was causing problems when a folder was accessed in two threads at the same time. There was also no invalidation mechanism that removed folders that had been removed from the server.
The easy fix is to get rid of this cache. There's no state in ImapFolder that survives closing the folder anyway.
2021-05-10 17:47:54 +02:00
cketti
d25d451201
Remove unused ImapFolder properties
2021-05-10 01:32:04 +02:00
cketti
769d658e5a
Correctly persist message download state
...
Add the flag X_DOWNLOADED_FULL when the message has been downloaded completely, the flag X_DOWNLOADED_PARTIAL when only the text of a message has been downloaded, and set no additional flag when only the envelope and structure of the message has been downloaded. The latter happens when we fetch remote search results.
2021-05-10 00:47:27 +02:00
cketti
a3d6fd7ab4
Merge pull request #5283 from k9mail/drawer_toggle
...
Remove ActionBarDrawerToggle
2021-05-02 14:58:07 +02:00
cketti
fd96d3f8eb
Merge pull request #5282 from k9mail/summary_provider
...
Use SummaryProvider instead of summary attribute with format strings
2021-05-02 14:56:53 +02:00