Commit graph

267 commits

Author SHA1 Message Date
cketti
b9eba6971f Prepare for version 5.716 2020-05-27 02:01:47 +02:00
cketti
405b207449 Version 5.715 2020-05-27 01:24:35 +02:00
cketti
ccfbc6e8eb Exclude more things via packagingOptions 2020-05-27 00:42:38 +02:00
cketti
21c14c49bd Add :app:ui:base module and move K9Activity to it 2020-05-19 18:16:15 +02:00
cketti
dc82a53713 Rename :app:ui to :app:ui:legacy
The goal is to split this module into smaller, more focused modules.
2020-05-19 18:16:15 +02:00
cketti
c0b9db4643
Merge pull request #4769 from k9mail/fix_special_local_folders
Fix special local folders
2020-05-19 18:15:43 +02:00
cketti
451a2b2d03 Add LeakCanary 2020-05-16 21:06:06 +02:00
cketti
981e12965a Add isLocalOnly property to Folder 2020-05-15 19:55:26 +02:00
cketti
23fb90605c Prepare for version 5.715 2020-05-14 00:12:55 +02:00
cketti
842ee9ed2a Version 5.714 2020-05-13 23:50:45 +02:00
cketti
f5eb16c844 Use AppCompat's 'srcCompat' attribute to reference drawables
This way AppCompat's VectorDrawable implementation will be used. It works
around a couple of platform bugs.
We can't use this mechanism in layouts that we don't inflate ourselves,
e.g. the message list widget layout.
2020-05-09 17:16:26 +02:00
cketti
5d6d64f00b Prepare for version 5.714 2020-05-08 23:24:34 +02:00
cketti
03369f3c27 Version 5.713 2020-05-08 23:18:57 +02:00
cketti
5a4a269926 Prepare for version 5.713 2020-05-08 15:03:49 +02:00
cketti
a236c35621 Version 5.712 2020-05-08 14:58:03 +02:00
cketti
c966b7d49d Prepare for version 5.712 2020-05-08 11:07:03 +02:00
cketti
04e9714284 Version 5.711 2020-05-08 10:39:57 +02:00
cketti
5857f18203 Fix displaying the folder name in unread widget title 2020-05-07 17:10:12 +02:00
cketti
d15bfab01c Rewrite unread widget configurations created by old app versions 2020-05-07 17:10:10 +02:00
cketti
8b5055ec40 Update unread widgets from a background thread 2020-05-07 11:36:08 +02:00
cketti
7f80947740 Replace Account.getSentFolder() with Account.getSentFolderId() 2020-05-04 16:31:00 +02:00
cketti
253f4c85ff Replace Account.getSpamFolder() with Account.getSpamFolderId() 2020-05-04 16:31:00 +02:00
cketti
c943c03879 Replace Account.getDraftsFolder() with Account.getDraftsFolderId() 2020-05-04 16:31:00 +02:00
cketti
c56ae6dcab Replace Account.getTrashFolder() with Account.getTrashFolderId() 2020-05-04 16:31:00 +02:00
cketti
c6d96b2b34 Replace Account.getInboxFolder() with Account.getInboxFolderId()
In some instances the check for the Inbox folder could be removed.
We no longer allow one folder to have multiple roles, e.g. Inbox + Drafts.
2020-05-04 16:31:00 +02:00
cketti
010c0b42ef Remove folderServerId from MessageReference 2020-05-04 16:31:00 +02:00
cketti
9291881b6b Switch LocalSearch and everything connected to it to using folder IDs 2020-05-04 16:31:00 +02:00
cketti
dde0ef9820 Change MessageProvider delete URI to use folder ID instead of server ID 2020-05-04 15:01:29 +02:00
cketti
70841e40d7 Change K-9 Mail message URI to use folder ID instead of server ID 2020-05-04 15:01:29 +02:00
cketti
1c55ffda51 Change MessageReference to also store folder database ID 2020-05-04 15:01:29 +02:00
cketti
767f7e0efe Remove StoreConfig 2020-05-01 05:42:50 +02:00
cketti
02049c5882 Create DraftsFolderProvider 2020-05-01 05:38:37 +02:00
cketti
82db38bd08 Create ImapStoreConfig 2020-05-01 05:30:34 +02:00
cketti
60f4c60ae0 Prepare for version 5.711 2020-04-24 05:49:59 +02:00
cketti
fa8b8dbdc3 Version 5.710 2020-04-24 05:49:27 +02:00
cketti
c8a2319699 Prepare for version 5.710 2020-04-18 18:00:29 +02:00
cketti
ec0ce5ed1d Version 5.709 2020-04-18 17:38:07 +02:00
cketti
e0b1d77650 Remove BootReceiver 2020-04-06 19:22:19 +02:00
cketti
2a78418911 Remove old Push code 2020-04-05 20:08:29 +02:00
cketti
89fc8b966d Prepare for version 5.709 2020-03-20 00:28:23 +01:00
cketti
b558dc855f Version 5.708 2020-03-20 00:02:38 +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
84558bd2d7 Add UnreadWidgetConfigurationFragment 2020-03-12 03:54:26 +01:00
cketti
c4ab630161 Remove 'androidTest' tests
We don't regularly run them and most of them don't even compile anymore.
2020-03-11 18:01:41 +01:00
cketti
33282c0895 Prepare for version 5.708 2020-03-06 15:57:27 +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
00086bd15e Update Koin to 2.1.1 2020-03-04 14:39:30 +01:00
cketti
9d536163e0 Prepare for version 5.707 2020-03-03 19:46:54 +01:00
cketti
d83d63663d Version 5.706 2020-03-03 19:27:11 +01:00
cketti
085332896e
Merge pull request #4556 from ByteHamster/metrics-opt-out
Opt out of WebView metrics
2020-02-21 15:07:15 +01:00
ByteHamster
f8cf52a59c Opt out of WebView metrics 2020-02-20 21:58:26 +01:00
cketti
99b5f38a9c Make SizeFormatter.formatSize() an instance method 2020-02-09 00:20:49 +01:00
cketti
add8a88b87 Prepare for version 5.706 2020-02-06 23:18:23 +01:00
cketti
af7887d20d Version 5.705 2020-02-06 23:02:59 +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
9845b76338 Only use K9 themes in AndroidManifest.xml 2020-01-27 02:39:28 +01:00
cketti
aeef338efd Remove unread count from MessagingListener.folderStatusChanged() 2020-01-22 17:02:16 +01:00
cketti
0cd7164c2e Remove MessagingListener.messageDeleted()
Only home screen widgets used the callback to update themselves. But
they're also updating when folderStatusChanged() is invoked. So we can
safely get rid of messageDeleted().
2020-01-22 16:52:25 +01:00
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
9b2b82eee6 Update Mockito to 3.2.4 and Mockito-Kotlin to 2.2.0 2020-01-19 16:27:53 +01:00
cketti
5870861b6b Rename styles.xml to unread_widget_styles.xml 2020-01-12 23:28:59 +01:00
cketti
95c927b9f7 Remove Theme.K9Dialog 2020-01-12 19:37:41 +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
13bc16caf8 Remove Message.getFolder() 2020-01-08 23:30:03 +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
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
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
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
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
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
c015b1e22a Create new package for 'ManageFoldersActivity' 2019-12-13 14:30:43 +01:00
cketti
df2711d520 Add DefaultFolderProvider to decide which folder to display by default 2019-12-12 00:47:58 +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
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
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
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
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
9655216606 Update to Koin 2.0.1 2019-11-20 15:38:11 +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
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
57ff989edd Add kotlinOptions.jvmTarget to Gradle projects using Kotlin 2019-11-17 14:45:05 +01:00
cketti
7f9b8678a1 Use build script variable for targetSdkVersion 2019-11-17 01:28:52 +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