Commit graph

220 commits

Author SHA1 Message Date
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
cketti
347d33849c Remove AccountStats 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
0168789047
Merge pull request #4235 from k9mail/remove_folder_list_activity
Remove 'FolderList' activity
2019-11-06 15:49:37 +01:00
cketti
570c478dd4 Fix activity-alias so there aren't two launcher entries 2019-11-06 04:31:26 +01:00
cketti
828e851dc6 Rename 'FolderList' to 'ManageFoldersActivity' 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
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
79301489e9 Convert AboutActivity to a fragment 2019-10-20 05:08:41 +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
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
9f6d717af0 Remove "confirmDeleteFromNotification" methods from 'K9' 2019-05-22 01:13:51 +02:00
cketti
9db23ba7de Remove "showContactName" methods from 'K9' 2019-05-22 01:13:51 +02:00
cketti
596d5af260 Remove "messageListSenderAboveSubject" methods from 'K9' 2019-05-22 01:13:51 +02:00
cketti
55f4484e15 Remove "backgroundOps" methods from 'K9' 2019-05-21 23:52:38 +02:00
cketti
030f858e91 Convert 'K9' to Kotlin 2019-05-21 23:31:29 +02:00
NITIN DUDIA
3e218dcecc
Update AndroidManifest.xml
android:usesCleartextTraffic="true" as it is required to show complete mail view  , otherwise some html images will show broken .

SDK targeting 28+
2019-05-15 13:42:09 +05:30
ByteHamster
6745553394 Flat icons in message list 2019-04-06 19:54:06 +02:00
cketti
c306c0ef6b Remove unused Activity 'EmailAddressList' 2019-04-02 04:05:26 +02:00
Wiktor Kwapisiewicz
b7652205ae Add Thunderbird autodiscovery code (part 1) 2019-03-20 17:27:44 +01:00
Wolfgang Grossinger
c179ace548 Upgrade to Kotlin version (3.20) and fix any issues.
- Migrate to Kotlin 3.11
- Remove Kotlin Experimentals
- Migrate Kotlin Coroutines
2019-02-13 20:53:44 +01:00
cketti
47deb4e5ba Switch to androidx artifacts 2019-02-09 22:08:25 +01:00
Wolfgang Grossinger
374717dcab Fix build problems with a fresh forked k-9 (#3874)
Update build tools
2019-01-22 17:16:07 +01:00
Sujan Kota
64971007f5 Make notification for new messages as an interface and move the implementation to the K9NotificationStrategy.kt 2019-01-14 09:56:13 -08:00
cketti
59edfb59f5 Add "remove account" action to account settings screen 2018-12-20 23:50:31 +01:00
cketti
957b18fd5b Move StoragePersister implementation to :app:storage module 2018-12-17 17:31:47 +01:00
cketti
b5588a8d02 Remove compatibility code for pre-API 19 versions 2018-12-16 02:49:49 +01:00
cketti
2798a13669 Remove storage permission 2018-12-14 01:59:52 +01:00
Vincent Breitmoser
75c4b9ff73 revert accidental changes 2018-12-10 13:06:52 +01:00
Vincent Breitmoser
f7faccf5d9 extract persistence logic from Storage into StoragePersister 2018-12-10 13:06:52 +01:00
cketti
2f8778be33
Merge pull request #3763 from ojiofong/oji_mail_sync
Change mail sync to work with background execution limits
2018-12-06 19:57:00 +01:00
Vincent Breitmoser
c06e1a9d9b always just send IP instead of hostname in SMTP EHLO message
Clients are very often behind NATs, which makes the hostname in
HELO/EHLO messages virtually useless these days. Attempting to figure
out a hostname we could use also led to issues with some strict Postfix
configurations (see https://github.com/k9mail/k-9/issues/3387). This
commit changes our behavior to simply send the local IP always, getting
rid of this metadata.

Fixes #3387
2018-12-05 14:36:06 +01:00
Oji Ofong
c3fcf5986d Change mail sync to work with background execution limits 2018-12-02 08:52:46 -05:00
Vincent Breitmoser
df85d7b0f3 Clean up TrustManager, KeyStore and SocketFactory use 2018-11-30 15:47:57 +01:00
Vincent Breitmoser
47767b9e3f small code cleanup 2018-11-29 18:23:30 +01:00
Vincent Breitmoser
583c5b0432 extract Account.getLocalStore into LocalStoreProvider 2018-11-29 18:22:12 +01:00
Vincent Breitmoser
86bc5ed823 extract "save" method from Account (and fix unit tests) 2018-11-29 18:19:07 +01:00
Vincent Breitmoser
912b5d70a4 extract AccountSearchConditions and LocalKeyStoreManager from Account 2018-11-29 18:19:07 +01:00
Vincent Breitmoser
7819045e1b Extract deletion and saving of accounts into AccountManager 2018-11-29 18:19:07 +01:00