Commit graph

10166 commits

Author SHA1 Message Date
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
cketti
79fe2ca7ab Remove ActionBarDrawerToggle
The animation of the menu icon was mostly obscured by the drawer anyway.
2021-05-01 03:43:59 +02:00
cketti
48c9a061c1 Use SummaryProvider instead of summary attribute with format strings 2021-05-01 03:11:41 +02:00
cketti
e32c497f8f Prepare for version 5.735 2021-05-01 00:14:06 +02:00
cketti
9c1c464dc3 Version 5.734 2021-04-30 23:54:36 +02:00
cketti
12957d4c10
Merge pull request #5281 from k9mail/update_translations
Update translations
2021-04-30 23:37:51 +02:00
cketti
5313f0e01d Update translations 2021-04-30 23:21:10 +02:00
cketti
581f1aa8f8
Merge pull request #5273 from k9mail/remove_duplicate_drawable
Remove duplicate drawable
2021-04-24 03:44:28 +02:00
cketti
1459a2feda Remove duplicate drawable 2021-04-24 03:01:09 +02:00
cketti
eb608e09ed
Merge pull request #5272 from k9mail/NotifierMessageStore
Move notification mechanism from K9MessageStore to NotifierMessageStore
2021-04-24 02:30:29 +02:00
cketti
a389c1860f Move notification mechanism from K9MessageStore to NotifierMessageStore 2021-04-24 01:09:37 +02:00
cketti
f48106c0aa
Merge pull request #5268 from k9mail/copy_message 2021-04-24 00:28:29 +02:00
cketti
8d45e9cdd3 Remove now unused code from LocalFolder 2021-04-23 22:28:40 +02:00
cketti
c204c24c23 Use new implementation in MessageStore to copy messages 2021-04-23 22:28:40 +02:00
cketti
e05bc461b5 Re-implement copy message functionality in MessageStore
Instead of loading a message into memory and then saving it to the new folder the new code copies the database entries and data files.
2021-04-23 22:28:40 +02:00
cketti
9ef105d74f
Merge pull request #5267 from k9mail/update_dependencies 2021-04-22 18:37:38 +02:00
cketti
00bf492513
Merge pull request #5266 from k9mail/cleanup 2021-04-22 18:34:29 +02:00
cketti
5444d8be3a Remove explicit dependency on Kotlin's standard library 2021-04-22 03:54:15 +02:00
cketti
21cbc14c89 Upgrade Gradle (Wrapper) to 7.0 2021-04-22 03:54:15 +02:00
cketti
303ea4686c Upgrade Android Gradle Plugin to 4.1.3 2021-04-22 03:54:15 +02:00
cketti
48bbdd01e9 Upgrade ktlint-gradle to 10.0.0 / ktlint to 0.40.0 2021-04-22 03:54:15 +02:00
cketti
43f85a3ac1 Upgrade Truth to 1.1.2 2021-04-22 03:54:15 +02:00
cketti
632d8f3cb7 Upgrade Mockito-Kotlin to 3.1.0 2021-04-22 03:54:15 +02:00
cketti
41697dcc5e Upgrade Mockito to 3.9.0 2021-04-22 03:54:15 +02:00
cketti
b7d176c746 Upgrade Robolectric to 4.5.1 2021-04-22 03:54:15 +02:00
cketti
e8af9cef46 Upgrade junit to 4.13.2 2021-04-22 03:54:15 +02:00
cketti
71418bf051 Upgrade Glide to 4.12.0 2021-04-22 03:54:15 +02:00
cketti
9dc92e42b8 Upgrade OkHttp to 4.9.1 2021-04-22 03:54:15 +02:00
cketti
0e7ec3846d Upgrade Koin to 2.2.2 2021-04-22 03:54:15 +02:00
cketti
3fa46b1f53 Upgrade Moshi to 1.12.0 2021-04-22 03:54:15 +02:00
cketti
eb987d5f37 Upgrade Okio to 2.10.0 2021-04-22 03:54:15 +02:00
cketti
ded264953d Upgrade FastAdapter to 5.4.1 2021-04-22 03:54:15 +02:00
cketti
727f0505ea Upgrade Material Components to 1.3.0 2021-04-22 03:54:15 +02:00