Commit graph

720 commits

Author SHA1 Message Date
cketti
2e640de324 Upgrade to AndroidX Preference 1.1.1 2020-04-15 23:32:23 +02:00
cketti
65f162299a Upgrade to CircleImageView 3.1.0 2020-04-15 23:32:23 +02:00
cketti
bfca413cab Upgrade to Groupie 2.8.0 2020-04-15 23:32:23 +02:00
cketti
b99c1b5f59 Use FolderSettingsProvider when exporting settings 2020-04-13 01:05:31 +02:00
cketti
ad3c40195d Refactor 'SettingsExporter' 2020-04-09 00:19:58 +02:00
cketti
308917e6fd
Merge pull request #4649 from k9mail/folder_database_id
Make "manage folders" screens use database ID to refer to folders
2020-04-08 18:33:00 +02:00
cketti
fb4ebf7acb
Merge pull request #4645 from k9mail/message_view_attachment_boxes
Change appearance of attachment boxes in message view screen
2020-04-08 18:11:06 +02:00
cketti
43130437ef Make 'FolderSettingsDataStore' use 'FolderRepository' instead of 'LocalFolder' 2020-04-08 04:00:56 +02:00
cketti
3eb70c6e27 Make "manage folders" screens use database ID to refer to folders 2020-04-08 01:28:35 +02:00
cketti
084396c369 Refresh image preview when attachment has been downloaded 2020-04-07 15:33:59 +02:00
cketti
ae0606b5dc Change appearance of attachment boxes in message view screen 2020-04-07 15:33:59 +02:00
cketti
61f3f06ba7
Merge pull request #4641 from k9mail/remove_old_push_code
Remove old push code
2020-04-06 19:21:53 +02:00
cketti
eed9daa020 Remove Push state from database 2020-04-06 04:19:29 +02:00
cketti
59630fb13b Change appearance of attachment boxes in message compose screen 2020-04-05 03:40:24 +02:00
cketti
e46c5bd966 Don't crash when startActivityForResult() throws 2020-04-03 23:53:16 +02:00
cketti
b558dc855f Version 5.708 2020-03-20 00:02:38 +01:00
cketti
6c508e339a Add "edit as new message" action to message view 2020-03-19 20:49:58 +01:00
cketti
2bb57e6b0e
Merge pull request #4618 from k9mail/fix_address_autocomplete
Fix address auto-complete when composing messages
2020-03-19 20:15:31 +01:00
cketti
defb055472 Remove code to mark contacts as read and WRITE_CONTACTS permission
See https://source.android.com/devices/tech/config/contacts-affinities
2020-03-19 17:31:14 +01:00
cketti
06ea59d816 Don't check for WRITE_CONTACTS permission in RecipientLoader 2020-03-19 16:57:57 +01:00
cketti
5bdc8cc5f1 Click on contact picture (de)selects a message 2020-03-18 17:54:16 +01:00
cketti
86c3af8892 Use CircleImageView instead of ContactBadge view in message list 2020-03-17 19:19:37 +01:00
cketti
fa97981282 Clean up message flag listener in message list 2020-03-17 01:19:51 +01:00
cketti
19310314c5 Remove unused "Gestures" setting and unused code 2020-03-15 17:22:09 +01:00
cketti
e461f734eb
Merge pull request #4611 from k9mail/fix_theme_issue
Never follow system theme on Android versions prior to Android 9
2020-03-15 17:08:52 +01:00
cketti
035dd848ca Never follow system theme on Android versions prior to Android 9 2020-03-15 02:09:27 +01:00
cketti
0961e330c9 Long-press on message list item (de)selects a message 2020-03-14 18:55:05 +01:00
cketti
fa45a11858 Don't show context menu when long-pressing message list item 2020-03-14 18:43:00 +01:00
cketti
09f6fa5943 Remove K9PreferenceActivity 2020-03-12 03:55:16 +01:00
cketti
0ee6592b0b Change code to resolve theme attributes
This way doesn't produce Lint errors.
2020-03-10 21:57:34 +01:00
cketti
9909e8f290 Version 5.707 2020-03-06 15:50:07 +01:00
cketti
17967c1af9
Merge pull request #4590 from k9mail/integrate_font_size_settings
Integrate font size settings into general_settings.xml
2020-03-06 15:45:48 +01:00
cketti
3a4d170755 Integrate font size settings into general_settings.xml 2020-03-05 15:19:17 +01:00
cketti
0e13c58550 Extract 'folder settings' screen to FolderSettingsFragment 2020-03-04 21:49:10 +01:00
cketti
1bd52ae417 Extract 'manage folders' screen to ManageFoldersFragment 2020-03-04 17:19:26 +01:00
cketti
0e1804ff3e Remove keyboard bindings from ManageFoldersActivity 2020-03-04 16:30:01 +01:00
cketti
2cf4274700 Remove "compact account" from 'Manage folders' screen 2020-03-04 16:28:29 +01:00
cketti
66ac63500a
Merge pull request #4587 from k9mail/fix_ghost_message_list
Fix another ghost message list bug
2020-03-04 15:59:48 +01:00
cketti
c87af0e391 Try to avoid introducing "ghost message list" bugs in the future 2020-03-04 13:36:23 +01:00
cketti
44d3932651 Fix another ghost message list bug
When using the back button only open the default folder when the back stack
is empty.
2020-03-04 13:36:00 +01:00
cketti
c1af18fb69 Add missing methods to AppCompatPreferenceActivity 2020-03-04 04:40:30 +01:00
cketti
d83d63663d Version 5.706 2020-03-03 19:27:11 +01:00
cketti
93fccaf0c3
Merge pull request #4583 from k9mail/whats_new_dialog
Remove "What's new" dialog from MessageList
2020-03-03 19:03:19 +01:00
cketti
f353c9db96
Merge pull request #4581 from k9mail/back_button_opens_default_folder
Back button opens default folder
2020-03-03 19:03:02 +01:00
cketti
b23251f0e2
Merge pull request #4580 from k9mail/default_to_unified_inbox
Open Unified Inbox by default
2020-03-03 19:01:01 +01:00
cketti
485e1bd589
Merge pull request #4578 from k9mail/update_translations
Update translations
2020-03-03 18:57:45 +01:00
cketti
c041a2e0ef
Merge pull request #4577 from k9mail/message_compose_expanding_text
Fix bug where EditText for message body wasn't growing properly
2020-03-03 18:57:00 +01:00
cketti
325d9a1cc3 Remove "What's new" dialog from MessageList
See #4517
2020-03-03 15:03:50 +01:00
cketti
90f7703773 Back button opens default folder 2020-03-03 14:54:46 +01:00
cketti
26571af2d0 Open Unified Inbox by default 2020-03-02 18:50:27 +01:00
cketti
5eceb0d682 Update translations 2020-03-02 16:28:02 +01:00
cketti
6bcc419e4e Fix bug where EditText for message body wasn't growing properly 2020-03-02 16:09:33 +01:00
cketti
e8d297a8fa Keep read position when switching apps
The bug seems to have been caused by a behavior change in LoaderManager.
Previously, onLoadFinished() wasn't called when the Loader returned the
same object as before. We now emulate this behavior by adding our own
checks.
2020-03-02 15:51:08 +01:00
cketti
916015b1f0 Convert 'MimeHeader' to Kotlin 2020-02-29 21:29:46 +01:00
cketti
b1c6a55115 Fix "Bcc all messages to" when switching accounts 2020-02-22 22:28:32 +01:00
Maurizio Pasquinelli
34373622ac Fix overlapping bcc and date 2020-02-19 19:57:39 +01:00
cketti
520eb13dc0
Merge pull request #4536 from k9mail/fix_memory_leaks
Fix some Activity leaks
2020-02-16 18:38:29 +01:00
cketti
ce7b59addf Clean up code in K9WebViewClient 2020-02-16 18:21:31 +01:00
FliegendeWurst
1a413e4a5c
Never open external links in our WebView (API level < 24) 2020-02-16 14:44:55 +01:00
cketti
d85e581485 Don't use GeneralSettingsDataStore as singleton
It holds a reference to the Activity that it was last used from.
2020-02-14 02:25:57 +01:00
cketti
caa7b6d797 Don't load 'hasMoreMessages' data in main thread 2020-02-12 23:22:57 +01:00
Meteor0id
cd21fb23eb
autodownload_message_size as base2 Bytes
Max message size is compared directly with message size, which is retrieved in the case of POP3 by a list command. List returns a size in bytes.

Out of that follows that the values for max download size are actually expressed as kibibytes and mebibytes
2020-02-11 03:38:14 +01:00
cketti
129cc2f32d Change SizeFormatter to properly use SI units 2020-02-09 01:10:17 +01:00
cketti
99b5f38a9c Make SizeFormatter.formatSize() an instance method 2020-02-09 00:20:49 +01:00
cketti
bee39ec03f Convert 'SizeFormatter' to Kotlin 2020-02-08 22:15:04 +01:00
cketti
de39ad28c5 WIP: Renaming file 'SizeFormatter' with Kotlin extension 2020-02-08 22:13:36 +01:00
ByteHamster
7fb6c4bfd8 Do not try to close search in onSaveInstanceState 2020-02-08 11:19:08 +01:00
ByteHamster
cdd7fdead2 Upgraded SearchPreference library to version 2.0.0 2020-02-07 18:31:58 +01:00
cketti
af7887d20d Version 5.705 2020-02-06 23:02:59 +01:00
cketti
96e76949a8 Update translations 2020-02-06 22:03:55 +01:00
cketti
9e06676d33 Update AndroidX Fragment to 1.2.1 2020-02-06 17:24:49 +01:00
cketti
c1c57cfd8d Update AndroidX Lifecycle to 2.2.0 2020-02-06 16:22:51 +01:00
cketti
68e8bed15d Update AndroidX AppCompat to 1.1.0 2020-02-06 15:59:22 +01:00
cketti
b5cfb4c02c Fix message lists being displayed on top of each other 2020-02-06 15:07:18 +01:00
cketti
67e2029d56 Never open external links in our WebView 2020-02-06 13:51:37 +01:00
cketti
86326ea0b9 Remove unused folder name from MessagingListener callbacks 2020-02-05 01:25:24 +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
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
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
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
ByteHamster
745708649c Make default progress 0% 2020-01-26 16:24:19 +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
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
d0bb3a0524 Remove MessagingController.listFolders() and associated callbacks
We now use FolderRepository to retrieve the folder list. listFolders()
was only used to refresh the folder list from the server.
2020-01-21 14:45:55 +01:00