Commit graph

571 commits

Author SHA1 Message Date
cketti
dfef2d9ece Convert MessageListRemoteViewFactory to Kotlin 2022-10-14 14:34:45 +02:00
cketti
2015fe7905 Rename .java to .kt 2022-10-14 14:33:54 +02:00
cketti
6ad7d022fe Convert MessageListWidgetProvider to Kotlin 2022-10-14 13:58:50 +02:00
cketti
ee98a96cba Rename .java to .kt 2022-10-14 13:58:50 +02:00
cketti
f464b3be6d Convert MessageListWidgetService to Kotlin 2022-10-14 13:37:02 +02:00
cketti
755885bb2b Rename .java to .kt 2022-10-14 13:37:02 +02:00
cketti
243fbcfd5a Prepare for version 6.310 2022-10-12 20:03:48 +02:00
cketti
2641a85443 Version 6.309 2022-10-12 19:49:37 +02:00
cketti
1690781e7a Merge WebDavTransport into WebDavStore 2022-10-10 16:45:16 +02:00
cketti
142124c19a Prepare for version 6.309 2022-10-06 19:38:46 +02:00
cketti
f7f0f02aa6 Version 6.308 2022-10-06 19:21:44 +02:00
cketti
88d3f8b828 Change minimum size for message list widget to 2x2 cells
See https://developer.android.com/guide/practices/ui_guidelines/widget_design.html#anatomy_determining_size
2022-10-06 11:31:18 +02:00
cketti
a0a1ea9d57 Prepare for version 6.308 2022-09-26 19:46:58 +02:00
cketti
f0bdda63ff Version 6.307 2022-09-26 18:50:23 +02:00
cketti
3dc9dd2629 Enable nonTransitiveRClass=true 2022-09-26 16:51:50 +02:00
cketti
ecf52376ec Prepare for version 6.307 2022-09-23 13:54:37 +02:00
cketti
ee3094d7fe Version 6.306 2022-09-23 11:11:32 +02:00
cketti
66739b4b70 Switch to using 'namespace' property in build.gradle 2022-09-20 14:53:19 +02:00
cketti
443807f32a Prepare Prepare for version 6.306 2022-09-17 12:22:47 +02:00
cketti
f6d819761a Version 6.305 2022-09-17 12:14:15 +02:00
cketti
293af97d1f Prepare for version 6.305 2022-09-16 13:43:00 +02:00
cketti
54052990a8 Version 6.304 2022-09-16 13:33:01 +02:00
cketti
1766bbe2ce Remove direct share support
We (can) no longer use the contacts database to keep track on how often someone has been contacted. Without that information we can't make meaningful automatic suggestions for share targets.
In the future we want to add support for app shortcuts to create a new message to a specific contact (see issue #2145).
2022-09-15 17:49:50 +02:00
cketti
df50ff5033 Prepare for version 6.304 2022-09-08 13:01:30 +02:00
cketti
6d904b6647 Version 6.303 2022-09-08 12:08:11 +02:00
cketti
cd95aa233b Prepare for version 6.303 2022-09-05 13:58:22 +02:00
cketti
0286afa6c8 Version 6.302 2022-09-05 13:33:10 +02:00
cketti
7ea928bba5 Finally get rid of EmailProvider 2022-08-31 17:50:00 +02:00
cketti
72e3ee3a21 Clean up DependencyInjectionTest 2022-08-09 18:43:00 +02:00
cketti
03189fae46 Replace usages of the deprecated RuntimeEnvironment.application 2022-08-09 18:33:18 +02:00
cketti
46ca47facd Remove unused parameter 2022-08-09 18:18:31 +02:00
cketti
713082fe55 Remove unnecessary elvis operator 2022-08-09 17:50:46 +02:00
cketti
9800f8e933 Prepare for version 6.302 2022-08-09 12:14:05 +02:00
cketti
77f9404c47 Version 6.301 2022-08-09 11:59:35 +02:00
cketti
9eb081e51b Update LeakCanary to version 2.9.1 2022-08-07 20:10:29 +02:00
cketti
be649e3ba0 Update Koin to version 3.2.0 2022-08-05 23:51:32 +02:00
cketti
853c07e8f2 Prepare for version 6.301 2022-08-04 17:40:15 +02:00
cketti
ee7dcd07c6 Version 6.300 2022-08-04 17:27:43 +02:00
cketti
bc7758b9cf Remove notificationId parameters from methods in NotificationActionCreator 2022-07-26 23:31:20 +02:00
cketti
147945f757 Make sure Intents used by K9NotificationActionCreator are unique 2022-07-26 23:31:20 +02:00
cketti
fd006bdb2f Add Western Frisian translation 2022-07-26 12:51:17 +02:00
cketti
4371972654 Prepare for version 6.300 2022-07-18 19:39:53 +02:00
cketti
74a58345d8 Version 6.201 2022-07-15 18:38:36 +02:00
cketti
923453ad3f Don't remove OAuth state on temporary errors 2022-07-14 17:06:31 +02:00
cketti
1c66f29afa
Merge pull request #6155 from thundernest/update_microsoft_oauth_config
Change the OAuth client ID used for Microsoft accounts
2022-07-13 10:59:26 +02:00
cketti
1ff327eda8 Display an error notification when creating a notification fails
When importing settings from another device, we could end up with a notification channel that references a non-existing notification sound. In that case creating a notification for a new message will lead to a `SecurityException`. We catch this case and display an error notification instead. This is fine because we create the "Miscellaneous" notification channel without a notification sound.
2022-07-11 18:06:22 +02:00
cketti
cf4c1f973c Change the OAuth client ID used for Microsoft accounts 2022-07-09 01:41:55 +02:00
cketti
465be90a5a Version 6.200 2022-07-08 11:01:13 +02:00
cketti
3805bcd7f1 Prepare for version 6.102 2022-07-06 14:44:55 +02:00
cketti
f8573017c4 Version 6.101 2022-07-06 14:28:30 +02:00
cketti
c64d10a00b Remove shared debug keystore 2022-07-05 17:33:33 +02:00
cketti
7d69ada798
Merge pull request #6115 from thundernest/oauth_outlook
Add OAuth support for Microsoft accounts
2022-07-05 17:19:35 +02:00
cketti
f96154f0b0 Display "authentication failed" notification when OAuth sign-in is required 2022-06-16 14:55:34 +02:00
cketti
c9cec0ceb8 Prepare for version 6.101 2022-06-15 16:26:18 +02:00
cketti
06a537b16d Version 6.100 2022-06-15 15:39:13 +02:00
cketti
598a171464 Add OAuth support for Microsoft accounts 2022-06-15 13:02:50 +02:00
cketti
6290e9b2a6 Add OAuth support for AOL accounts 2022-06-08 20:28:08 +02:00
cketti
79dd0fe1b2 Add OAuth support for Yahoo accounts 2022-06-08 20:28:08 +02:00
Olivier Blin
4c937ad7a6 Move redirectUri in OAuthConfiguration
Not all providers accept the redirect URI Google requires Android apps to use.
2022-06-08 20:28:08 +02:00
cketti
d08aa55853 Add proper way to retrieve OAuth credentials 2022-06-05 16:35:39 +02:00
cketti
d4883d1921 Add "Sign in with Google" button
This flow is not a great user experience. But it's the fastest way I could think of to add the button that was requested by Google.
2022-06-03 23:25:58 +02:00
cketti
14a7f1b0d3 Add support for OAuth 2.0 (Gmail) 2022-05-23 22:26:49 +02:00
cketti
7f343e4fd1 Move DefaultTrustedSocketFactory 2022-04-28 22:18:14 +02:00
cketti
4ad2e04cff Decouple WebDavSocketFactory from DefaultTrustedSocketFactory 2022-04-28 22:02:48 +02:00
cketti
7be4ea62fe Remove ImapStore's dependency on ConnectivityManager 2022-04-12 21:58:15 +02:00
cketti
a796b1d941 Change IMAP code to use single compression setting 2022-04-12 21:58:15 +02:00
cketti
903d0f43c4 Change Account to use a single setting for IMAP compression 2022-04-12 21:58:15 +02:00
cketti
9b9b3d8f69 Prepare for version 6.100 2022-04-11 15:09:42 +02:00
cketti
d9153f4c20 Version 5.915 2022-04-06 17:39:51 +02:00
cketti
0e78b8aae6 Version 5.914 2022-03-24 18:41:05 +01:00
cketti
372252710d Update name/description of notification channels when app locale changes 2022-03-17 18:35:59 +01:00
cketti
47441a9837 Prepare for version 5.914 2022-03-11 19:30:13 +01:00
cketti
40e446c442 Version 5.913 2022-03-11 19:30:13 +01:00
cketti
51457a6859 Simplify LocalStore.searchForMessages() 2022-02-24 20:28:03 +01:00
cketti
3a98e7b0ec Prepare for version 5.913 2022-02-22 21:47:45 +01:00
cketti
b165aeaf81 K-9 Mail 5.912 2022-02-22 21:47:45 +01:00
cketti
5d102ec610 Set targetSdkVersion to 31 2022-02-21 18:43:01 +01:00
cketti
13b57b7eba Use android:exported="false" when possible 2022-02-21 18:42:27 +01:00
cketti
8847e30cb7 Add appropriate mutability flags to PendingIntents 2022-02-21 18:42:27 +01:00
cketti
f6e03ff040 Don't expose MessageProvider to third-party apps
If this was an important feature to you, please contact us and tell us a little bit about your use case.
2022-02-17 20:56:31 +01:00
cketti
4270e398e8 Prepare for version 5.912 2022-02-12 00:52:02 +01:00
cketti
49ceab2b6f Version 5.911 2022-02-12 00:35:19 +01:00
cketti
dee2ca345d Convert 'BaseAccount' to Kotlin 2022-02-08 16:54:15 +01:00
cketti
bfc708df19 Use Account.getDisplayName() when appropriate 2022-02-08 02:05:05 +01:00
cketti
19829eb2a2 Rename Account.getDescription() to Account.getName() 2022-02-08 01:13:30 +01:00
cketti
1d601c5c59 Rename Account.getName() to Account.getSenderName() 2022-02-08 00:50:26 +01:00
cketti
a4e1a77892 Switch to mockito-inline 2022-02-03 01:10:52 +01:00
cketti
cfc4c0bb71 Prepare for version 5.911 2022-01-25 19:41:32 +01:00
cketti
5c35d08f93 Version 5.910 2022-01-25 19:29:44 +01:00
cketti
343ead3fda Prepare for version 5.910 2022-01-12 16:33:30 +01:00
cketti
0269cd5df7 Version 5.909 2022-01-12 16:24:24 +01:00
cketti
91c0787fa5 Open message from notification in Unified Inbox if possible 2022-01-09 23:10:04 +01:00
cketti
b05c0ea5c4 Prepare for version 5.909 2022-01-06 00:08:41 +01:00
cketti
aa560736a6 Version 5.908 2022-01-05 23:56:41 +01:00
cketti
8bf1eb72a5 Prepare for version 5.908 2021-12-27 20:16:45 +01:00
cketti
cbd2ded456 Version 5.907 2021-12-27 20:06:15 +01:00
cketti
8e12d05a1d Update summary notification click behavior
Open "New messages" view when tapping the summary notification and not all messages either belong to the Unified Inbox or to a single folder.
2021-12-11 15:41:15 +01:00
cketti
c289c74238 Update summary notification click behavior
When tapping the summary notification and all new messages belong to folders that are included in the Unified Inbox, we display the Unified Inbox.
2021-12-09 22:21:55 +01:00
cketti
514802e010 Make sure the message list widget reuses an existing MessageList activity 2021-12-09 02:01:40 +01:00
cketti
6c54b324d6 Switch back to using launchMode="singleTop" for MessageList
We previously removed it because using the default launcher intent would open the default folder instead of just bringing the app to the foreground. We now handle that case by ignoring the default launcher intent in MessageList.onNewIntent().

See 97a75a54ef
2021-12-09 01:50:56 +01:00
cketti
57d7616d5a Create public version for certificate error notifications
Don't expose account name or error details when Android is configured to hide sensitive information on the lock screen.
2021-12-08 02:37:21 +01:00
cketti
5d6f0fe8f5 Prepare for version 5.907 2021-12-07 21:07:24 +01:00
cketti
30cdcd5943 Version 5.906 2021-12-07 21:00:41 +01:00
cketti
981e7fbe70 Improve support for RTL languages in layouts 2021-11-26 22:45:48 +01:00
cketti
1071f3b9dd Fix warnings in AndroidManifest.xml 2021-11-26 16:11:39 +01:00
cketti
9074d6c570 Remove unused strings 2021-11-26 15:23:57 +01:00
cketti
230d0f4a84 Remove unused code (K9.Intents.Share.EXTRA_FROM) 2021-11-26 02:46:58 +01:00
cketti
3754e1a971 Prepare for version 5.906 2021-11-24 22:05:20 +01:00
cketti
a5fa2ddcb4 Version 5.905 2021-11-24 21:45:19 +01:00
cketti
b7526588c7 Separate notification UI/UX logic from notification creation 2021-11-24 17:49:14 +01:00
cketti
dc27893631 Update Android Gradle Plugin to version 7.0.3 2021-10-30 05:32:51 +02:00
cketti
80f29f9b3b Update Koin to version 3.1.3 2021-10-30 05:32:51 +02:00
cketti
086ce98f44 Add sample data and various tools attributes to layouts 2021-10-27 14:38:18 +02:00
cketti
7209dc0ff2 Set theme in ui-legacy module so the IDE preview picks it up 2021-10-27 04:37:51 +02:00
cketti
1a853c67f3 Prepare for version 5.905 2021-10-05 18:07:40 +02:00
cketti
179128a4d8 Version 5.904 2021-10-05 18:01:15 +02:00
cketti
e1aef32042
Merge pull request #5703 from k9mail/choose_folder_ui
Tweak toolbar in 'choose folder' screen
2021-09-30 14:11:14 +02:00
cketti
8ae5378942 Remove Flag from MessageReference 2021-09-29 15:27:45 +02:00
cketti
4eb0c692d3 Change title of ChooseFolderActivity for copy/move operations 2021-09-28 18:48:53 +02:00
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