Commit graph

452 commits

Author SHA1 Message Date
cketti
90e985f0c1 Prepare for version 5.904 2021-09-28 16:35:15 +02:00
cketti
9feddf7b09 Version 5.903 2021-09-28 16:00:53 +02:00
cketti
799917d5b8
Merge pull request #5697 from k9mail/demo_backend
Add "demo" backend
2021-09-28 15:28:35 +02:00
cketti
c6936043c6 Remove unused functionality from StorageManager and StorageProvider 2021-09-24 18:39:20 +02:00
cketti
eae910fe8f Add "demo" backend 2021-09-23 22:43:02 +02:00
cketti
51e6820d92
Merge pull request #5677 from k9mail/remove_Account_isAvailable
Remove Account.isAvailable()
2021-09-21 13:19:02 +02:00
cketti
8e002b7432 Prepare for version 5.903 2021-09-21 12:43:43 +02:00
cketti
602e509528 Version 5.902 2021-09-21 12:40:33 +02:00
cketti
128e06e42a Prepare for version 5.902 2021-09-17 12:04:30 +02:00
cketti
e4b585bcc2 Version 5.901 2021-09-17 11:47:20 +02:00
cketti
fb8f98486f Remove Account.isAvailable() 2021-09-17 10:47:03 +02:00
cketti
219648f142 Get rid of mount/unmount receivers for external storage
We no longer support storing the database on "external storage". Even when migrating old databases chances are very slim "external storage" actually is a removable storage device.
2021-09-17 10:01:14 +02:00
cketti
f52c1e332e Prepare for version 5.901 2021-09-09 13:48:54 +02:00
cketti
c4cac8c5e8 Version 5.900 2021-09-09 13:37:54 +02:00
cketti
f2f8e4d0f3 Remove FolderRepositoryManager
Instead we use one FolderRepository instance and pass Account as parameter to individual functions.
2021-08-26 22:34:57 +02:00
cketti
5bba535699 Convert notification classes to Kotlin 2021-08-26 01:36:25 +02:00
cketti
ed6cbe1c4b Rename .java to .kt 2021-08-26 01:35:18 +02:00
cketti
652d52b6a6 Add setting to suppress notifications for chat messages
Messages containing a 'Chat-Version' header field will not generate notifications when this setting is enabled.
2021-08-18 11:17:06 +02:00
cketti
6792f27127 Prepare for version 5.900 2021-08-12 13:17:04 +02:00
cketti
acbeff5b98 Version 5.803 2021-08-12 13:10:10 +02:00
cketti
3a6ca8dfd5 Prepare for version 5.803 2021-08-04 16:49:06 +02:00
cketti
7a36187170 Version 5.802 2021-08-04 16:08:58 +02:00
cketti
58a7b362ae Prepare for version 5.802 2021-07-30 19:49:32 +02:00
cketti
199db3141e Version 5.801 2021-07-30 19:18:17 +02:00
cketti
ac4cb37ea7 Add network security config to allow user-installed CAs 2021-07-29 11:45:17 +02:00
cketti
b8bfde6e06 Prepare for version 5.801 2021-07-29 11:44:34 +02:00
cketti
db79174527 Version 5.800 2021-07-24 14:43:46 +02:00
cketti
8038ef4514 Version 5.741 2021-07-22 21:10:23 +02:00
cketti
591af9cdd5 Version 5.740 2021-07-16 17:57:50 +02:00
cketti
26c64806f2 Add "Push Info" screen 2021-07-15 00:20:48 +02:00
cketti
da7c0b7cf9 Prepare for version 5.740 2021-07-10 16:01:43 +02:00
cketti
279b084f76 Version 5.739 2021-07-10 15:35:07 +02:00
cketti
ec1f3c3722 Prepare for version 5.739 2021-07-08 23:39:11 +02:00
cketti
069b357f95 Version 5.738 2021-07-08 23:19:03 +02:00
cketti
cac4874f25 Fix AndroidAlarmManager dropping alarms
It was possible that the 'callback' property was set to 'null' after another alarm was already scheduled. This meant the callback function wasn't called when the next alarm went off.
2021-07-08 18:49:30 +02:00
cketti
0073913279 Show snackbar in MessageList to get to "What's new" when the app was updated 2021-07-03 14:32:40 +02:00
cketti
4f7fb64117 Prepare for version 5.738 2021-06-26 23:57:28 +02:00
cketti
7b10d6bb3f Version 5.737 2021-06-26 23:53:30 +02:00
cketti
00f1d684e9 Prepare for version 5.737 2021-06-24 15:54:45 +02:00
cketti
eb8fa56860 Version 5.736 2021-06-24 15:46:42 +02:00
cketti
d410ad3576 Prepare for version 5.736 2021-06-24 14:01:36 +02:00
cketti
dfcea339a3 Version 5.735 2021-06-24 13:36:05 +02:00
cketti
ebbe02c057 Add ImapPushConfigProvider 2021-06-23 15:34:31 +02:00
cketti
190242943c
Merge pull request #5352 from k9mail/alarm_manager
Add implementation for AndroidAlarmManager
2021-06-19 16:06:37 +02:00
cketti
f7277c911e Add implementation for AndroidAlarmManager 2021-06-18 20:29:35 +02:00
cketti
7a940240c3 Add BootCompleteReceiver to start PushController on device boot 2021-06-18 19:34:28 +02:00
cketti
a74c206a0c Add implementation for BackendIdleRefreshManager 2021-06-16 15:04:01 +02:00
cketti
c8808ae447 Add ImapBackendPusher that manages multiple ImapFolderPusher instances 2021-06-13 00:51:23 +02:00
cketti
46a2c351d5 Add foreground service for Push 2021-06-12 17:04:45 +02:00
cketti
f3b7cd7d14 Add notification channel for a Push foreground service 2021-06-11 18:33:09 +02:00
cketti
296ba92221
Merge pull request #5333 from k9mail/imap_interfaces 2021-06-10 21:28:01 +02:00
cketti
94f630cf88 Introduce ImapStore interface 2021-06-10 21:00:58 +02:00
cketti
db0bd06f21 Re-apply the locale override to the configuration if necessary 2021-06-05 14:18:00 +02:00
cketti
2598d3e199 Remove "Notification opens unread messages" option 2021-06-01 09:45:12 +02:00
cketti
e32c497f8f Prepare for version 5.735 2021-05-01 00:14:06 +02:00
cketti
9c1c464dc3 Version 5.734 2021-04-30 23:54:36 +02:00
cketti
5444d8be3a Remove explicit dependency on Kotlin's standard library 2021-04-22 03:54:15 +02:00
cketti
632d8f3cb7 Upgrade Mockito-Kotlin to 3.1.0 2021-04-22 03:54:15 +02:00
cketti
0e7ec3846d Upgrade Koin to 2.2.2 2021-04-22 03:54:15 +02:00
cketti
a61429e8c5 Rewrite custom app language feature
Add AppLanguageManager that notifies listeners when the app language has been changed. K9Activity uses this mechanism to restart() on language changes. The Application object will update its configuration.

Instead of using the deprecated Resources.updateConfiguration() we now use LocaleContextWrapper (in combination with AppCompat) to override the locale in the configuration.
2021-04-20 21:41:18 +02:00
cketti
cc2413a180
Merge pull request #5209 from k9mail/convert_to_kotlin 2021-03-24 15:03:05 +01:00
cketti
b66662918c Prepare for version 5.734 2021-03-23 19:36:30 +01:00
cketti
967cc5684b Version 5.733 2021-03-23 19:23:59 +01:00
cketti
370481236a Convert 'Preferences' to Kotlin 2021-03-22 22:57:33 +01:00
cketti
374a96ec9e Prepare for version 5.733 2021-03-04 18:57:08 +01:00
cketti
4feb51278b Version 5.732 2021-03-04 17:58:03 +01:00
cketti
e642ff2896 Remove Kotlin Android extensions plugin
See https://youtrack.jetbrains.com/issue/KT-42121
2021-03-02 17:58:20 +01:00
cketti
9b53ae26d6 Rename 'NotificationDeleteConfirmation' to 'DeleteConfirmationActivity' 2021-03-01 22:21:50 +01:00
cketti
6c3d71c0fa Move 'NotificationDeleteConfirmation' to new package 2021-03-01 22:21:12 +01:00
cketti
b83686e760 Prepare for version 5.732 2021-02-23 16:45:18 +01:00
cketti
d3e881e032 Version 5.731 2021-02-23 16:16:41 +01:00
cketti
3cd28c5b2c
Merge pull request #5152 from ByteHamster/message-header-view
Show message headers in fragment
2021-02-23 14:25:10 +01:00
cketti
c296a0d8d0 Clean up code 2021-02-20 15:32:34 +01:00
ByteHamster
973c5ed02b Show message headers in fragment 2021-02-20 13:28:15 +01:00
cketti
b4f9ea29d8 Add Malayalam translation 2021-02-19 14:17:38 +01:00
cketti
68be2ba75e Prepare for version 5.731 2021-02-16 20:15:17 +01:00
cketti
c452e588af Version 5.730 2021-02-16 17:21:43 +01:00
cketti
17f447705e Update translations
Add languages: be, en_GB
2021-02-16 15:26:31 +01:00
cketti
1659363805 Prepare for version 5.730 2021-02-12 18:53:00 +01:00
cketti
eaa766a1a7 Version 5.729 2021-02-12 18:00:46 +01:00
cketti
06ae7cc9d4 Prepare for version 5.729 2021-02-10 15:10:06 +01:00
cketti
4d9c8e6b17 Version 5.728 2021-02-10 14:51:25 +01:00
cketti
08d6d9bebc Delete remaining store/transport URI functionality 2021-02-01 17:30:21 +01:00
cketti
de2560b90b Remove Account.storeUri and Account.transportUri
The URIs are still used as serialization format when saving settings
2021-02-01 12:54:02 +01:00
cketti
10dec2253a Prepare for version 5.728 2021-01-25 16:29:12 +01:00
cketti
56ce36167c Version 5.727 2021-01-25 16:17:58 +01:00
cketti
fae9255bca Update/fix notification icons 2021-01-23 04:26:39 +01:00
cketti
5eeb4b56be Unify icon vector drawables for dark and light themes 2021-01-23 04:26:39 +01:00
cketti
8b5ed91629 Prepare for version 5.727 2021-01-06 07:52:11 +01:00
cketti
d29085774d Version 5.726 2021-01-06 07:42:43 +01:00
cketti
babf305f92 Prepare for version 5.726 2020-11-18 19:57:43 +01:00
cketti
1f586eb1aa Version 5.725 2020-11-18 19:47:26 +01:00
cketti
1233675aa0 Prepare for version 5.725 2020-11-01 15:48:44 +01:00
cketti
ea01c92d1c Version 5.724 2020-11-01 15:44:13 +01:00
cketti
f672183bee Prepare for version 5.724 2020-10-31 19:16:27 +01:00
cketti
2f564e991b Version 5.723 2020-10-31 19:11:05 +01:00
cketti
fc67bc40b5 Prepare for version 5.723 2020-10-21 01:26:29 +02:00
cketti
78a70c305b Version 5.722 2020-10-21 01:11:58 +02:00
cketti
ba8834d3f7 Make using LeakCanary in debug builds optional 2020-10-18 16:27:14 +02:00
cketti
1873593dc5 Format Kotlin code 2020-10-16 16:41:19 +02:00
cketti
ed8009d9fa Update ktlint-gradle to 9.4.1, ktlint to 0.39.0
Apply ktlint-gradle plugin to all Gradle subprojects.
2020-10-16 14:27:23 +02:00
cketti
5f05b8bb07 Show sender/recipient name in message list based on folder
The recipient name is shown for messages in the Sent, Drafts, and Outbox folders. For messages in all other folders the sender name is shown.
2020-10-12 01:48:36 +02:00
cketti
8685da31d4 Prepare for version 5.722 2020-10-07 17:51:43 +02:00
cketti
e7bcfe7e3e Version 5.721 2020-10-07 17:07:23 +02:00
cketti
378c90b46e Prepare for version 5.721 2020-10-06 20:29:06 +02:00
cketti
6c097b47da Version 5.720 2020-10-06 20:21:55 +02:00
cketti
08b6952382 Only keep resources for languages supported in K-9 Mail
This will strip strings of unsupported languages provided by libraries.
2020-10-06 19:41:18 +02:00
cketti
3133573139 Rewrite Share functionality in message view screen
The shared text now contains subject, date, sender, and recipients in addition to the message body text.
2020-10-05 05:38:54 +02:00
cketti
d38dd84e88 Exclude 'DebugProbesKt.bin' from APK 2020-10-04 21:51:17 +02:00
cketti
145c048326 Prepare for version 5.720 2020-10-04 20:19:45 +02:00
cketti
d541eaef51 Version 5.719 2020-10-04 19:12:01 +02:00
Alex Dawson
c671c84191 Persist state in unread widget configuration during screen rotation 2020-10-03 18:11:14 +02:00
cketti
753e03aa22 Prepare for version 5.719 2020-08-18 16:49:52 +02:00
cketti
c82b2f827e Version 5.718 2020-08-18 16:27:19 +02:00
cketti
988966d190 Update Glide to 4.11.0 2020-07-17 23:37:17 +02:00
cketti
445cd12651 Remove unnecessary JDOM dependencies 2020-07-15 18:36:27 +02:00
cketti
d2f07e6ffe Update Leak Canary to 2.4 2020-07-15 17:51:31 +02:00
cketti
30eca8cc30 Update Android Gradle Plugin to 4.0.1 2020-07-15 01:51:13 +02:00
Tobias Preuss
117af49699 Keep cascaded if because code is easier to read. 2020-07-08 19:22:29 +02:00
Tobias Preuss
9c6d08142a Infer type. 2020-07-08 13:58:23 +02:00
cketti
ace8bc1244
Merge pull request #4847 from runningcode/no/api
Use api instead of implementation.
2020-06-24 03:22:35 +02:00
cketti
fbaa4ce037 Make openpgp-api module available for tests in app modules 2020-06-23 16:29:46 +02:00
cketti
fae2b54394 Prepare for version 5.718 2020-06-19 22:01:45 +02:00
cketti
4e35ad736d Version 5.717 2020-06-19 21:54:44 +02:00
cketti
1a96ef4641 Remove Folder.serverId property 2020-06-13 02:02:56 +02:00
cketti
e5d6bf1cc6 Change UnreadWidgetDataProvider to not get FolderDetails 2020-06-13 02:02:56 +02:00
cketti
00fc6708cc Change MessagingController.deleteMessagesSynchronous() to use folder ID 2020-06-12 18:53:11 +02:00
cketti
4976d4e178 Change MessagingListener.folderStatusChanged() to use folder ID 2020-06-12 18:53:11 +02:00
cketti
3ffa488e6c
Merge pull request #4823 from k9mail/always_notify_for_inbox
Don't skip notifications if the Inbox is configured as another special folder
2020-06-12 17:03:26 +02:00
NITIN DUDIA
32a6c8fde1
Update unread_widget_configuration.xml
Allow folder selection only after a account is selected.
2020-06-05 19:57:27 +05:30
cketti
20b473b4d8 Don't skip notifications if the Inbox is configured as another special folder 2020-06-05 01:39:44 +02:00
cketti
46747bf114 Prepare for version 5.717 2020-06-04 03:24:38 +02:00
cketti
fd59bee315 Version 5.716 2020-06-04 03:13:49 +02:00
cketti
f1a08e54f6 Add logging to K9NotificationStrategy 2020-06-02 13:21:32 +02:00
cketti
607d650bea Disable minify for debug builds
Hopefully this will make debug builds faster.
2020-05-29 21:35:41 +02:00
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