Commit graph

1066 commits

Author SHA1 Message Date
Henry
28b8cabb2c
Add intent filter to main activity to provide default email application setting.
Adds intent filter [`CATEGORY_APP_EMAIL`] in order to provide the app's activity as possible default email application. This must be interpreted by Android and [set by the user outside of the application][1].

The new intent-filter for `APP_EMAIL` was added to activity `MessageList`.

[`CATEGORY_APP_EMAIL`]: https://developer.android.com/reference/android/content/Intent.html#CATEGORY_APP_EMAIL
[1]: https://github.com/k9mail/k-9/issues/3231#issuecomment-515759615
2020-01-21 17:14:10 +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
cketti
2fcaa8e16c Merge ActivityListener into MessageListActivityListener 2020-01-20 16:54:36 +01:00
cketti
37845d751a Remove unused functionality from ActivityListener 2020-01-20 16:43:33 +01:00
cketti
3dbdfb8882 Remove usage of ActivityListener in ManageFoldersActivity 2020-01-20 15:59:52 +01:00
cketti
9a04de0d00 Remove unused android-job library 2020-01-19 17:02:40 +01:00
cketti
e16c3ff21f Update Material Components to 1.1.0-rc02 2020-01-19 16:45:42 +01:00
cketti
0de96b6592 Update FastAdapter to 4.1.2 2020-01-19 16:27:53 +01:00
cketti
582eb27dd3 Update Material Drawer to 7.0.0 2020-01-19 16:27:53 +01:00
cketti
c2f518f8e2 Update kotlinx-coroutines to 1.3.2 and kotlinx-coroutines-android 1.3.0 2020-01-19 16:27:53 +01:00
cketti
dd99636fa8 Update Truth to 1.0.1 2020-01-19 16:27:53 +01:00
cketti
9b2b82eee6 Update Mockito to 3.2.4 and Mockito-Kotlin to 2.2.0 2020-01-19 16:27:53 +01:00
cketti
28f411f3d4 Update Moshi to 1.9.2 2020-01-19 16:19:20 +01:00
cketti
320cc8b40b Add UI to add a JMAP account to the app 2020-01-18 21:14:57 +01:00
cketti
148af8aae8 Add k9mail-jmap app for JMAP development 2020-01-15 16:14:16 +01:00
cketti
6e7f7549f8 Revert "Add NavController to MessageList"
This reverts commit ac94879c
2020-01-15 16:10:55 +01:00
cketti
f98d6c95b3
Merge pull request #4446 from k9mail/navigation_main
Add NavController to MessageList
2020-01-14 16:34:54 +01:00
cketti
a873a1c41f
Merge pull request #4442 from k9mail/bye_CursorLoader
Switch MessageListFragment away from CursorLoader
2020-01-14 16:20:37 +01:00
cketti
a939eca6d5 Fix deleting a message when there's no Trash folder 2020-01-13 16:14:49 +01:00
cketti
ac94879c98 Add NavController to MessageList 2020-01-13 01:21:41 +01:00
cketti
5870861b6b Rename styles.xml to unread_widget_styles.xml 2020-01-12 23:28:59 +01:00
cketti
53e3604274 Remove unread widget styles from styles.xml in 'ui' module 2020-01-12 23:28:59 +01:00
cketti
95c927b9f7 Remove Theme.K9Dialog 2020-01-12 19:37:41 +01:00
cketti
5b7738fc7f Stop using Holo context menu styles 2020-01-12 19:31:53 +01:00
cketti
ab61e80bc3 Switch MessageListFragment away from CursorLoader 2020-01-12 15:58:15 +01:00
cketti
4fa2fd7094
Merge pull request #4438 from k9mail/bye_CursorAdapter
Switch MessageListAdapter away from CursorAdapter
2020-01-12 13:59:52 +01:00
cketti
41bc3e10e9
Merge pull request #4440 from k9mail/improve_FoldersLiveData
Make MessageListViewModel only expose one LiveData for the folder list
2020-01-12 13:53:36 +01:00
cketti
b5be183eda Switch MessageListAdapter away from CursorAdapter 2020-01-12 13:44:19 +01:00
cketti
848b87c996 Make MessageListViewModel only expose one LiveData for the folder list 2020-01-11 01:48:12 +01:00
cketti
16d4e5dfc2 Replace CoroutineScopeViewModel with lifecycle-viewmodel-ktx library 2020-01-11 00:43:20 +01:00
cketti
f68da8fe04
Merge pull request #4432 from k9mail/message_list_item_data_class
Create MessageListExtractor to read from Cursor
2020-01-10 22:51:21 +01:00
cketti
d4df9274bb Extract code to read from Cursor to MessageListExtractor 2020-01-10 20:07:19 +01:00
cketti
cbe0f30a24 Prepare for version 5.705 2020-01-09 17:47:07 +01:00
cketti
57ef94ccd5 Version 5.704 2020-01-09 17:37:16 +01:00
cketti
ed77c652e6
Merge pull request #4434 from k9mail/remove_wrap_long_folder_names
Remove setting "Wrap long folder names"
2020-01-09 17:29:08 +01:00
cketti
b40a5f1ffd
Merge pull request #4433 from k9mail/string_constants
Move URLs from strings.xml to constants.xml
2020-01-09 17:23:53 +01:00
cketti
e0ba03c74b Remove unused setting "Wrap long folder names" 2020-01-09 17:02:33 +01:00
cketti
8955de30eb Move URLs from strings.xml to constants.xml 2020-01-09 16:40:24 +01:00
cketti
aab4ca78fc Refactor code in MessageListAdapter 2020-01-09 14:50:22 +01:00
cketti
67468687e5 Simplify LocalFolder.open() 2020-01-09 14:14:52 +01:00
cketti
2d470c73a0 Move FolderType and FolderClass out of Folder 2020-01-09 14:08:41 +01:00
cketti
ef2862b443 Remove unused code from LocalFolder 2020-01-09 14:08:41 +01:00
cketti
5f9999e173 Change LocalFolder to no longer extend Folder 2020-01-09 14:08:41 +01:00
cketti
13bc16caf8 Remove Message.getFolder() 2020-01-08 23:30:03 +01:00
cketti
0d303c8740
Merge pull request #4429 from k9mail/LocalFolder
Use LocalFolder instead of Folder in MessagingController
2020-01-08 21:30:35 +01:00
cketti
b336ad283f
Merge pull request #4046 from ByteHamster/mark-as-read-on-delete
Mark messages read when deleting
2020-01-08 19:00:38 +01:00
ByteHamster
7b9f44ca1e Added function to move to trash and read to backend 2020-01-08 18:48:28 +01:00
ByteHamster
1bac17d244 Added setting to mark messages read when deleting 2020-01-08 18:44:46 +01:00
cketti
d4d2758a8a Use LocalFolder instead of Folder in MessagingController 2020-01-08 01:42:57 +01:00
cketti
aaaf75dc6f
Merge pull request #4421 from k9mail/special_folders
Properly configure special folders during (initial) folder sync
2020-01-08 00:39:46 +01:00
cketti
ad39ac2c5f
Merge pull request #4419 from k9mail/fix_reply_to_encrypted_message
Fix reply to encrypted message that couldn't be decrypted
2020-01-08 00:33:23 +01:00
cketti
495d8c0521 Move code to configure special folders to SpecialFolderUpdater 2020-01-02 22:07:40 +01:00
cketti
b504e6a83a Move special folder handling out of FolderRepository 2020-01-02 20:33:17 +01:00
cketti
d937113b6b Add subject to MessageViewInfo in case of errors 2020-01-02 16:55:14 +01:00
cketti
303148ab3a Create empty root part when loading message with crypto error
Some parts of the code depend on MessageViewInfo.rootPart not being null.
2020-01-02 16:54:15 +01:00
Marcus Hoffmann
c1bdd9ee09 add background color to adaptive icons
This adds a desaturated version of K9-Mails envelope color as the
adaptive icon background color.

This should look a lot better than a plain white background.

Also slightly enlarge the icon shape.
2020-01-02 16:19:39 +01:00
cketti
0aac541c27 Prepare for version 5.704 2019-12-22 20:26:49 +01:00
cketti
2791ef9920 Version 5.703 2019-12-22 20:05:06 +01:00
cketti
7095cdee6f Update translations from Transifex 2019-12-22 19:27:22 +01:00
cketti
b5df3191b0
Merge pull request #4396 from k9mail/drawer_update
Use sticky footer in drawer
2019-12-22 18:42:21 +01:00
cketti
39b286bddd Update MaterialDrawer library 2019-12-22 04:23:07 +01:00
cketti
593408d485 Simplify code to add/remove folders to drawer 2019-12-22 04:23:07 +01:00
cketti
270aa7082f Use sticky footer in drawer 2019-12-22 04:11:07 +01:00
cketti
d80cb6f614 EmailAddressValidator doesn't need to implement Validator 2019-12-19 14:45:03 +01:00
cketti
617624c84e
Merge pull request #4390 from k9mail/keep_message_list_state
Remove launchMode attribute from 'MessageList'
2019-12-19 14:07:06 +01:00
cketti
a946523161
Merge pull request #4389 from k9mail/choose_folder
Update "Choose Folder" screen
2019-12-19 14:00:25 +01:00
cketti
97a75a54ef Remove launchMode attribute from 'MessageList'
Without this change backgrounding the app and then going back to it will
call onNewIntent(), which in turn will open the default folder.
2019-12-18 18:34:07 +01:00
cketti
3b63b4f7bf Save state across configuration changes in 'ChooseFolderActivity' 2019-12-18 15:29:52 +01:00
cketti
c1a301523d Honor 'scrollToFolder' argument in 'ChooseFolderActivity' 2019-12-18 15:17:45 +01:00
cketti
8325d2b532 Honor 'showDisplayableOnly' argument in 'ChooseFolderActivity' 2019-12-18 15:00:34 +01:00
cketti
399f0bab41 Add method to build 'ChooseFolderActivity' launch intent 2019-12-18 14:50:17 +01:00
cketti
a7510bcec5 Clean up 'ChooseFolderActivity' 2019-12-18 04:33:16 +01:00
cketti
e2dfc05f60 Fix filtering folders by display mode in 'ChooseFolderActivity' 2019-12-18 04:06:34 +01:00
cketti
198b1bcd6e Fix filtering the folder list in 'ChooseFolderActivity' 2019-12-18 03:39:49 +01:00
cketti
d7b19a1ba7 Use RecyclerView in 'ChooseFolderActivity' 2019-12-18 03:32:10 +01:00
cketti
af304dbd6a Use 'FoldersLiveData' in 'ChooseFolderActivity' 2019-12-18 03:18:14 +01:00
cketti
04734e7055 Create new package for 'ChooseFolderActivity' 2019-12-18 02:44:24 +01:00
cketti
8e0f6fa8c2 Convert 'ChooseFolder' to Kotlin 2019-12-18 02:43:12 +01:00
cketti
a64556eb79 WIP: Renaming file 'ChooseFolder' with Kotlin extension 2019-12-18 02:24:52 +01:00
cketti
40127d512b Remove hungarian notation in 'ChooseFolder' 2019-12-18 02:23:28 +01:00
cketti
84327e085d Don't pass Folder instance to Backend 2019-12-18 01:21:12 +01:00
cketti
aa13a46e3e Don't pass Folder instance to PushReceiver 2019-12-18 01:05:28 +01:00
cketti
d72b30e82c Fix implementation in 'K9BackendStorage' to store extra values 2019-12-17 15:09:57 +01:00
cketti
615cad7414
Merge pull request #4375 from k9mail/fix_add_identity_crash
Fix crash when trying to create a new identity
2019-12-17 02:34:59 +01:00
cketti
a4b4edcbaa Fix crash when trying to create a new identity 2019-12-14 15:29:31 +01:00
cketti
7327dd1cde Fix crash when changing focus using hardware keyboard 2019-12-13 15:55:06 +01:00
cketti
1940d0c31b Prepare for version 5.703 2019-12-13 15:29:12 +01:00
cketti
45dcbc90ee Version 5.702 2019-12-13 15:21:40 +01:00
cketti
abb137d71d
Merge pull request #4366 from k9mail/backend_storage_fixes
BackendStorage fixes
2019-12-13 15:11:05 +01:00
cketti
5346c08ba3 Clean up 'ManageFoldersActivity' 2019-12-13 14:41:24 +01:00
cketti
b0d105b01c Convert 'ManageFoldersActivity' to use RecyclerView 2019-12-13 14:41:24 +01:00
cketti
5a6fb46343 Update 'FoldersLiveData' when accounts change
This is so we update folder lists when the display mode is changed.
2019-12-13 14:41:24 +01:00
cketti
b793f48afe Use 'FoldersLiveData' in 'ManageFoldersActivity' 2019-12-13 14:41:24 +01:00
cketti
bdb244badf Remove unused functionality from 'ManageFoldersActivity' 2019-12-13 14:30:43 +01:00
cketti
c015b1e22a Create new package for 'ManageFoldersActivity' 2019-12-13 14:30:43 +01:00
cketti
303c7a6e95 Convert 'ManageFoldersActivity' to Kotlin 2019-12-13 14:30:07 +01:00
cketti
4aa54baf8e WIP: Renaming file 'ManageFoldersActivity' with Kotlin extension 2019-12-13 14:30:07 +01:00
cketti
da692ce447 Avoid name conflicts with fields in base class 2019-12-13 14:30:07 +01:00
cketti
f68df72b89 Use Cursor.getLongOrNull() from core-ktx 2019-12-13 13:22:54 +01:00
cketti
4951386858 Inline extension functions that only had one caller 2019-12-13 13:21:15 +01:00
cketti
bc97920f70 Add missing folder constraints to database query/update commands 2019-12-13 13:11:51 +01:00
cketti
a084e8e0db
Merge pull request #4362 from k9mail/back_button_closes_drawer
Close drawer when back button is pressed
2019-12-13 00:43:02 +01:00
cketti
ff138be49a Close drawer when back button is pressed 2019-12-12 15:11:36 +01:00
cketti
0a7cd31741 Don't export "inboxFolderName" anymore; it's not a setting 2019-12-12 00:47:58 +01:00
cketti
059d0ed7cb Set "inboxFolderName" and "autoExpandFolderName" to null by default 2019-12-12 00:47:58 +01:00
cketti
df2711d520 Add DefaultFolderProvider to decide which folder to display by default 2019-12-12 00:47:58 +01:00
cketti
3125d5b343 Reset auto-expand folder when it was removed from the server 2019-12-11 19:30:37 +01:00
cketti
3037b54dd6 Extract logic to update special folders to a BackendStorageListener 2019-12-11 19:10:36 +01:00
cketti
fb567f5fe3 Use proper FolderType in comparison 2019-12-11 18:18:40 +01:00
cketti
15a0bed5c8
Merge pull request #4353 from ByteHamster/fix-crash-theme-change
Fixed crash when changing theme
2019-12-10 12:11:29 +01:00
ByteHamster
a1c3ae6d0e Fixed crash when changing theme 2019-12-09 23:51:43 +01:00
cketti
21231bc964 Clean up code in 'AccountSetupAccountType' 2019-12-03 20:31:33 +01:00
cketti
59dc541591 Convert 'AccountSetupAccountType' to Kotlin 2019-12-03 20:10:41 +01:00
cketti
da6ea3daf9 WIP: Renaming file 'AccountSetupAccountType' with Kotlin extension 2019-12-03 20:07:50 +01:00
cketti
163df4b209 Prepare for version 5.702 2019-12-02 03:13:55 +01:00
cketti
33c875e725 Version 5.701 2019-12-02 03:03:57 +01:00
cketti
837e11ef53 Update translations 2019-12-02 02:08:12 +01:00
cketti
dad7f1963b
Merge pull request #4322 from k9mail/account_defaults
Change some account defaults
2019-12-02 01:57:06 +01:00
cketti
f443835c7a
Merge pull request #4320 from k9mail/GH-4301_no_folders_in_unified_inbox
Fix "folders displayed when Unified Inbox is selected" bug
2019-12-02 01:55:33 +01:00
cketti
4d91d8eafc
Merge pull request #4317 from k9mail/GH-4296_removing_messages
Remove LocalFolder.purgeToVisibleLimit()
2019-12-02 01:54:20 +01:00
cketti
b38583a374 Change default sync interval to 1 hour 2019-12-01 18:37:51 +01:00
cketti
755d47a247 Disable sync notifications by default
Also remove the option to configure the sync notification during account
setup.
2019-12-01 18:30:26 +01:00
cketti
b23be23efb Never display folders when showing the Unified Inbox 2019-12-01 18:05:16 +01:00
cketti
814e25eeb4 Code cleanup 2019-12-01 16:37:49 +01:00
ByteHamster
72d7602944 Use account color as accent color in drawer
Use slightly different dark theme highlight colors
Chose the colors so they have WCAG AA contrast on #333333 background
2019-12-01 16:18:46 +01:00
cketti
b1faba725f Remove LocalFolder.purgeToVisibleLimit()
The method was only called at the end of a mailbox sync. But during sync
another mechanism already destroyed messages outside of the sync window.
2019-12-01 15:06:27 +01:00
Vincent Breitmoser
6a73e7e3ea Update FastAdapter and MaterialDrawer libraries 2019-11-29 16:31:12 +01:00
cketti
93d0e14b68 Fix code style issues found by ktlint 2019-11-29 13:44:00 +01:00
cketti
88d863c4c2 Add ktlint and Kotlin code style settings for Android Studio 2019-11-29 13:39:16 +01:00
cketti
a6af0469f4 Coroutine fixes 2019-11-29 13:26:05 +01:00
Vincent Breitmoser
6136926451 Move some async jobs into background thread
Fixes issues from c179ace548
2019-11-28 22:48:04 +01:00
Dominik Schürmann
a97b38643d update preferenceFix library to 1.1.0 2019-11-28 18:12:12 +01:00
cketti
66ae90c11d
Merge pull request #4290 from k9mail/remove_start_in_unified_inbox_setting
Remove "Start in Unified Inbox" setting
2019-11-26 17:08:35 +01:00
Vincent Breitmoser
ac85f8af54 remove hungarian notation from EditIdentity 2019-11-26 16:32:56 +01:00
Vincent Breitmoser
85a0c1af4d use Parcelize instead of manual Parcelable implementation 2019-11-26 16:31:09 +01:00
Vincent Breitmoser
2296c6f757 convert Identity to Kotlin 2019-11-26 15:56:28 +01:00
cketti
d6d8ccdf66 Remove "Start in Unified Inbox" setting 2019-11-26 15:52:19 +01:00
Vincent Breitmoser
0aec40bf21 convert EditIdentity to Kotlin 2019-11-26 15:32:56 +01:00
cketti
f60477cba6 Preparing for version 5.701 2019-11-24 01:34:08 +01:00
cketti
6ff1b67a7f Version 5.700 2019-11-23 21:04:28 +01:00
cketti
0e911d0ad5
Merge pull request #4284 from k9mail/fix_app_update_issues
Fix launcher shortcuts and home screen widgets
2019-11-23 20:55:30 +01:00
cketti
c50fa472ba
Merge pull request #4283 from k9mail/changelog
Update changelog
2019-11-23 20:50:23 +01:00
cketti
60e6850b97 Add changelog for 5.700 2019-11-23 20:35:49 +01:00
cketti
455162a8c6 Add support for old account shortcut intents 2019-11-23 03:10:42 +01:00
cketti
60377c1285 Update PendingIntent used when clicking the unread widget 2019-11-22 17:09:21 +01:00
cketti
6c96642dba Move UnreadWidgetProvider back to old location 2019-11-22 16:22:29 +01:00
cketti
53c6e54caa Copy changelog entries from 5.6-MAINT branch 2019-11-22 14:15:12 +01:00
cketti
bd6561191d Update translations from Transifex 2019-11-22 13:27:30 +01:00
cketti
5948191b56
Merge pull request #4281 from k9mail/startup_theme
Startup theme
2019-11-22 13:21:42 +01:00
cketti
ff44def285
Merge pull request #4275 from k9mail/account_colors
Change account color picker
2019-11-22 13:20:34 +01:00
cketti
c01ec3a9bf Optimize startup theme for users not overriding the system theme
This will bring back the "white flash" for users on Android 9+ who
use a light theme for the system UI but configured K-9 Mail to use its
dark theme. But it gives a much better user experience when using the
default theme setting ("Use system default").
2019-11-22 04:29:30 +01:00
cketti
11d556c21a Merge 'values-v21' folder contents into 'values' folder 2019-11-22 04:10:27 +01:00
cketti
ba9a107884
Merge pull request #4278 from k9mail/remove_remote_control
Remove "remote control" functionality
2019-11-22 04:04:49 +01:00
cketti
c548a8074f
Merge pull request #4277 from k9mail/storage_location
Remove option to store database on "external storage"
2019-11-22 04:03:50 +01:00
cketti
4b1488c41a Define the first three account colors to use 2019-11-22 00:29:48 +01:00
ByteHamster
09b4fbdd34 Use material colors for account colors 2019-11-21 23:54:18 +01:00
cketti
b67bfe00a6 Use pen icon for 'compose' action 2019-11-21 23:37:24 +01:00
cketti
4f2e199267 Don't send broadcast Intents for new/deleted messages 2019-11-21 18:31:39 +01:00
cketti
3030d0ec0e Remove 'RemoteControlService' 2019-11-21 18:26:45 +01:00
cketti
59244f52ff Remove ability to store database on "external storage"
If an account database is currently stored on "external storage" we
move it back to internal storage.
2019-11-21 16:43:20 +01:00
cketti
a64f90cd68 Read account colors from resource array 2019-11-21 02:17:43 +01:00
cketti
b7e8200f06 Use 'AccountCreator' instances instead of object 2019-11-21 02:14:32 +01:00
cketti
89f604357b Convert 'AccountCreator' to Kotlin 2019-11-21 01:48:30 +01:00
cketti
45b9a7bd91 WIP: Renaming file 'AccountCreator' with Kotlin extension 2019-11-21 01:34:07 +01:00
cketti
3ea938de34 Remove HoloColorPicker 2019-11-21 01:33:57 +01:00
cketti
11c9657b56 Switch from HoloColorPicker to "default" ColorPickerPreference 2019-11-21 01:33:57 +01:00
cketti
3272dc46fe Remove 'settings' action from message list toolbar 2019-11-20 20:38:59 +01:00
cketti
c3496f4bdf Hide 'expunge' action unless expunge policy is set to manual 2019-11-20 20:38:59 +01:00
cketti
a3dee1180e Remove 'check mail' button in message list toolbar
"Pull down to refresh" is now the only way to update the message list.
2019-11-20 20:38:59 +01:00
cketti
91e43fbbfb Remove unused resources 2019-11-20 17:25:25 +01:00
cketti
6dfe707858
Merge pull request #4269 from k9mail/update_koin
Update to Koin 2.0.1
2019-11-20 16:09:49 +01:00
cketti
9655216606 Update to Koin 2.0.1 2019-11-20 15:38:11 +01:00
cketti
cb84cbfcff
Merge pull request #4268 from k9mail/disable_push_in_setup
Remove Push setting from 'AccountSetupOptions'
2019-11-20 02:40:17 +01:00
cketti
92f095a244 Remove Push setting from 'AccountSetupOptions' 2019-11-19 15:56:11 +01:00
cketti
1d781b93eb Switch to using safe-content-resolver-v21 2019-11-19 15:27:04 +01:00
cketti
a097c7761a Remove version checks for API 21 devices 2019-11-19 15:24:17 +01:00
cketti
316ea451b1 Remove conditional code regarding lock screen notifications 2019-11-19 15:22:07 +01:00
cketti
3b9d973091 Remove 'RigidWebView' which is no longer necessary 2019-11-19 15:19:12 +01:00
cketti
3a3c6e8332 Remove now unused code in 'K9WebViewClient' and simplify implementation 2019-11-19 15:15:13 +01:00
cketti
7a4bc94dc5 Update OkHttp to latest version 2019-11-19 15:02:42 +01:00
cketti
1303430e73
Merge pull request #4263 from k9mail/remove_unused_code
Remove unused code
2019-11-18 16:55:06 +01:00
cketti
ee7921053e
Merge pull request #4262 from k9mail/message_list_widget
Fix issue in message list widget layout
2019-11-18 16:54:46 +01:00
cketti
1398532e92 Remove unused ContactItem 2019-11-18 02:58:48 +01:00
cketti
c630b4deaf Remove empty file 2019-11-18 02:52:04 +01:00
cketti
b7127168a0 Remove unused ColorChip(Provider) 2019-11-18 02:46:28 +01:00
cketti
1335296b65 Replace color references for layout preview 2019-11-18 02:41:39 +01:00
cketti
18c62f15af Don't use theme attribute in layout used by message list widget 2019-11-18 02:09:23 +01:00
cketti
bbbec7bf3d Switch from android-job to workmanager 2019-11-17 17:03:30 +01:00
cketti
57ff989edd Add kotlinOptions.jvmTarget to Gradle projects using Kotlin 2019-11-17 14:45:05 +01:00
cketti
1294726667
Merge pull request #4259 from k9mail/targetSdkVersion_28
Set targetSdkVersion to 28
2019-11-17 13:49:05 +01:00
cketti
36da0b79a7 Disable Koin logging 2019-11-17 02:04:50 +01:00
cketti
8dc3fd4ebb Set compileSdkVersion to 29 2019-11-17 01:41:46 +01:00
cketti
7f9b8678a1 Use build script variable for targetSdkVersion 2019-11-17 01:28:52 +01:00
cketti
4f0e90a417 Don't refresh Pusher via JobManager 2019-11-15 03:37:30 +01:00
cketti
dd0c25d9f5 Rewrite "poll folders" settings to include "push folders" 2019-11-15 03:17:44 +01:00
cketti
d67aa773e6 Hide Push-related options in folder settings 2019-11-14 19:34:10 +01:00
cketti
5b2edcf9fb Hide Push-related options in account settings 2019-11-14 19:02:23 +01:00
cketti
3470ee8774 Update Robolectric to 4.2.1
Not going directly to 4.3.1 because of this issue:
https://github.com/robolectric/robolectric/issues/5245
2019-11-13 17:37:37 +01:00
cketti
e3973096d3 Remove Checkstyle 2019-11-13 16:51:52 +01:00
cketti
56a37d9e14 Remove FindBugs
It's not maintained anymore and we're not currently using it.
2019-11-13 16:41:51 +01:00
cketti
105622a999 Use variable for 'sourceCompatibility' and 'targetCompatibility' values 2019-11-13 16:26:29 +01:00
cketti
347d33849c Remove AccountStats 2019-11-06 17:59:31 +01:00
cketti
f0dabcc516 Rename AccountStatsCollector to UnreadMessageCountProvider 2019-11-06 17:59:31 +01:00
cketti
3114c6ef90 Replace MessagingController.getSearchAccountStatsSynchronous()…
…with getUnreadMessageCount()
2019-11-06 17:59:04 +01:00
cketti
24a22beccc Replace MessagingController.getAccountStats() with getUnreadMessageCount() 2019-11-06 17:59:04 +01:00
cketti
c41382e3d4 Remove MessagingListener.searchStats() 2019-11-06 17:59:04 +01:00
cketti
7f02272ae0 Remove unused MessagingListener.accountStatusChanged() 2019-11-06 17:59:04 +01:00
cketti
8831923477
Merge pull request #4242 from k9mail/remove_unused_settings
Remove unused options from general settings
2019-11-06 17:58:41 +01:00
cketti
e42c8d4c50
Merge pull request #4236 from k9mail/change_settings_screen
Move "About" to the bottom of the settings screen
2019-11-06 15:50:14 +01:00
cketti
0168789047
Merge pull request #4235 from k9mail/remove_folder_list_activity
Remove 'FolderList' activity
2019-11-06 15:49:37 +01:00
cketti
52f930135c Remove "Show account size" setting 2019-11-06 15:34:11 +01:00
cketti
e1cc1760f5 Remove "Count search results" setting 2019-11-06 15:30:13 +01:00
cketti
570c478dd4 Fix activity-alias so there aren't two launcher entries 2019-11-06 04:31:26 +01:00
cketti
e3c6b7df34 Launch 'OnboardingActivity' when no account exists yet 2019-11-06 04:29:35 +01:00
cketti
cee4a4fe46 Move "About" to the bottom of the settings screen 2019-11-05 23:26:41 +01:00
cketti
818239fa12 Clean up names 2019-11-05 23:08:08 +01:00
cketti
828e851dc6 Rename 'FolderList' to 'ManageFoldersActivity' 2019-11-05 23:08:08 +01:00
cketti
82d46b2880 Don't launch 'FolderList' from 'MessageList'
…except when selecting "Manage folders".
2019-11-05 23:08:08 +01:00
cketti
8b7a5a80c7 Don't launch 'FolderList' from 'LauncherShortcuts' 2019-11-05 23:08:08 +01:00
cketti
c1d338e213 Don't launch 'FolderList' from 'UnreadWidgetDataProvider' 2019-11-05 23:08:08 +01:00
cketti
2fcef664aa Remove 'Accounts' activity 2019-11-03 18:23:09 +01:00
cketti
5aa3afc5e8 Change 'K9NotificationActionCreator' to always launch 'MessageList' 2019-11-03 18:23:09 +01:00
cketti
8df81ab202 Never start 'Accounts' from 'MessageCompose' 2019-11-03 17:57:09 +01:00
cketti
b482e9a0ba Never start 'Accounts' from 'FolderList' 2019-11-03 17:53:41 +01:00
cketti
93fe0b0b54 Never start 'Accounts' from 'MessageList' 2019-11-03 17:51:41 +01:00
cketti
ce562e4938 Launch 'MessageList' instead of 'Accounts' from 'AccountSetupNames' 2019-11-03 17:47:54 +01:00
cketti
336542daa5 Use NavController in 'WelcomeFragment' to start 'MessageList' 2019-11-03 17:43:03 +01:00
cketti
7c40f0f3d2 Open default account if no Intent extras have been supplied 2019-11-03 17:39:27 +01:00
cketti
2a96e5d339
Merge pull request #4232 from k9mail/remove_all_messages_account
Remove special account "All messages"
2019-11-03 17:05:14 +01:00
cketti
99b44bd5ca Remove special account "All messages" 2019-11-01 03:21:43 +01:00
cketti
9a197840e2 Replace WelcomeMessage with OnboardingActivity
Make use of new SettingsImportFragment from WelcomeFragment.
2019-11-01 01:58:22 +01:00
cketti
457f27e154
Merge pull request #4225 from k9mail/fix_fallback_image_loading
Fix contact picture flickering in message list
2019-10-28 14:19:02 +01:00
cketti
d1aa8da309
Merge pull request #4223 from k9mail/about_fragment
Convert AboutActivity to a fragment
2019-10-28 14:18:39 +01:00
cketti
2adac1d353
Merge pull request #4224 from k9mail/deprecate_webdav
Don't allow users to create new WebDAV accounts
2019-10-28 14:16:39 +01:00
cketti
e7d8cda043 Fix contact picture flickering in message list
Change the way we try to load contact pictures and generate contact
letter fallback images afterwards, so Glide caches the result.
2019-10-22 03:40:58 +02:00
cketti
04756c1d10 Don't allow users to create new WebDAV accounts 2019-10-21 01:35:02 +02:00
cketti
79301489e9 Convert AboutActivity to a fragment 2019-10-20 05:08:41 +02:00
cketti
5bdbd8b962 Add 'SettingsImportFragment' 2019-10-19 23:05:01 +02:00
ByteHamster
b981cd0efd Fix crash when enabling openpgp
In onDismiss, getActivity returns null if the fragment is covered by the
chooser intent (F-Droid vs Google Play).
2019-10-13 11:48:40 +02:00
cketti
bc713807cd Don't fetch list of folders from adapter in worker thread 2019-10-04 00:10:34 +02:00
cketti
1005f5e300 Retain filter when updating the folder list 2019-10-04 00:04:51 +02:00
cketti
b7f4ab9a70 Simplify FolderListFilter 2019-10-03 23:57:01 +02:00
cketti
9df97445c2 Rename fields in FolderListFilter 2019-10-03 23:57:01 +02:00
cketti
80c2d20c9b Clean up comments in FolderListFilter 2019-10-03 23:57:01 +02:00
cketti
f2bf8a9fda Port item ID fix from PR #4180 2019-10-03 23:57:01 +02:00
ByteHamster
88edc080b5 Make ChooseFolder use new FolderListFilter 2019-10-03 23:57:01 +02:00
ByteHamster
6550a5662f Using interface in FolderListFilter 2019-10-03 22:40:20 +02:00
ByteHamster
e32a8ca486 Added icons to ChooseFolder 2019-10-03 22:40:20 +02:00
cketti
be43277b4d
Merge pull request #4189 from k9mail/bold_sender_name
Show sender name in bold for unread messages
2019-10-03 22:35:11 +02:00
tobiasKaminsky
6083945b86
fix direct share: wrong package name specified
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-09-27 13:58:28 +02:00