Commit graph

795 commits

Author SHA1 Message Date
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