Robert Spencer
b083bb0173
Round contact images in message view and message list view
...
This commit has `ContactBadge` extend `CircleImageView` instead
of `ImageView`, thus rounding all the contact badges. It introduces
the dependency `de.hdodenhof:circleimageview:3.0.0`.
2019-07-11 19:19:02 +01:00
cketti
ee8ac78bf6
Create FUNDING.yml
2019-07-09 18:27:19 +02:00
cketti
678cee8df3
Merge pull request #4073 from k9mail/dark_mode
...
Add support for following the system theme
2019-07-04 16:18:19 +02:00
cketti
119dea66cc
Base startup theme on dark theme
2019-05-28 03:54:17 +02:00
cketti
cddf57d62e
Restart activities if theme or language settings have changed
2019-05-28 03:51:56 +02:00
cketti
ec9d82dd90
Make "composer theme" setting not override action bar theme
2019-05-28 03:33:01 +02:00
cketti
f15d43d0bb
Add import/export support for new theme setting
2019-05-28 02:41:48 +02:00
cketti
e7adf0b5ef
Add migration to rewrite theme setting from LIGHT to FOLLOW_SYSTEM
2019-05-28 02:41:48 +02:00
cketti
2d0c698774
Switch to "use system default" theme option as default
...
On pre-API 28 Android versions hide the the "use system default" option
in settings. But we use the value AppTheme.FOLLOW_SYSTEM when the light
theme is selected. This way users who selected the light theme (or never
changed the setting at all) will get the "use system default" behavior
when they upgrade to Android 9+.
2019-05-28 02:41:48 +02:00
cketti
0bf59cf615
Add support to follow system default for night mode/dark theme
2019-05-28 02:41:48 +02:00
cketti
9bfc810257
Use AppCompat's DayNight theme for dark mode support
2019-05-28 02:41:48 +02:00
cketti
f08bd42c8a
Rename theme properties in 'K9'
2019-05-28 02:41:48 +02:00
cketti
4bbc8c5486
Use different enums for app theme and "sub themes"
2019-05-28 02:41:48 +02:00
cketti
58371be677
Properly support different themes for message viewing and composing
...
Previously the quoted HTML in the compose screen was formatted using
the message view theme.
2019-05-28 02:41:48 +02:00
cketti
0b097d2acd
Pass configuration to 'MessageWebView' instead of having it query 'K9'
2019-05-28 02:41:48 +02:00
cketti
be124ec896
Introduce ThemeManager to group theme-related logic
2019-05-28 02:41:48 +02:00
cketti
6257efa007
Make 'K9ActivityCommon' usable by all activities
2019-05-28 02:41:48 +02:00
cketti
8910fdf8c1
Change the way 'K9ActivityCommon' is initialized
2019-05-28 02:41:48 +02:00
cketti
2c17c25938
Convert 'K9ActivityCommon' to Kotlin
2019-05-28 02:41:48 +02:00
cketti
ab1c4fdb43
WIP: Renaming file 'K9ActivityCommon' with Kotlin extension
2019-05-28 02:41:48 +02:00
cketti
96aa479355
Merge pull request #4068 from k9mail/htmlconverter_refactoring
...
HtmlConverter refactoring
2019-05-28 02:41:26 +02:00
cketti
2d746e64ce
Remove unused code from HtmlConverterTest
2019-05-24 14:05:35 +02:00
cketti
3e0855c5e1
Extract code to create HTML for use in a WebView to class 'DisplayHtml'
2019-05-24 14:05:35 +02:00
cketti
e6d35d85af
Extract 'HTML to Spanned' functionality to separate class
2019-05-24 14:05:35 +02:00
cketti
eddd6827a4
Convert 'HtmlConverter' to Kotlin
2019-05-24 14:05:35 +02:00
cketti
e7b6d6b5d3
WIP: Renaming file 'HtmlConverter' with Kotlin extension
2019-05-24 14:05:35 +02:00
cketti
ed662eb72c
Merge pull request #4069 from k9mail/fix_test
...
Fix test in 'SmtpTransportTest'
2019-05-24 14:05:01 +02:00
cketti
6f0bae80b9
Fix test in 'SmtpTransportTest'
...
We tested whether the connection was still open. But we should test
whether the connection was closed. The test passed most of the time
because closing a connection takes some time.
2019-05-24 13:45:29 +02:00
cketti
d19f1e46b9
Merge pull request #4065 from k9mail/general_settings_migration
...
General settings migration
2019-05-24 03:34:55 +02:00
cketti
3db836ee21
Don't use enum ordinals when saving general settings
2019-05-22 20:07:21 +02:00
cketti
38c3e26921
Move legacy migrations from 'K9' to 'StorageMigrations'
2019-05-22 20:07:21 +02:00
cketti
c053964fef
Merge pull request #4063 from k9mail/kotlin_conversion
...
Convert class 'K9' to Kotlin
2019-05-22 20:06:58 +02:00
cketti
e3e057d465
Fix ActivityListenerTest and remove unused strings
2019-05-22 01:52:37 +02:00
cketti
dd5e12e779
Rename debug logging property
2019-05-22 01:42:52 +02:00
cketti
113f51df94
Naming cleanup
2019-05-22 01:42:52 +02:00
cketti
871abe54ec
Remove "showContactPicture" methods from 'K9'
2019-05-22 01:42:52 +02:00
cketti
1420214e04
Remove "useBackgroundAsUnreadIndicator" methods from 'K9'
2019-05-22 01:42:52 +02:00
cketti
71cd03ab57
Remove "hideTimeZone" methods from 'K9'
2019-05-22 01:42:50 +02:00
cketti
bcb2f72354
Remove "hideUserAgent" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
ec2b9a3772
Remove "wrapFolderNames" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
6d75e5abdd
Remove "confirmMarkAllRead" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
9f6d717af0
Remove "confirmDeleteFromNotification" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
c0fcb634e8
Remove "confirmDiscardMessage" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
dbb2e64afa
Remove "confirmSpam" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
acff9d7c62
Remove "confirmDeleteStarred" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
1a06188e7c
Remove "confirmDelete" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
acd437c791
Remove "countSearchMessages" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
4d74ef39d0
Remove "measureAccounts" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
4dedf1b795
Remove "messageViewShowNext" methods from 'K9'
2019-05-22 01:13:51 +02:00
cketti
516aec77e0
Remove "messageViewReturnToList" methods from 'K9'
2019-05-22 01:13:51 +02:00