Commit graph

11360 commits

Author SHA1 Message Date
cketti
f63f69ce9a Update Robolectric to version 4.8.1 2022-08-05 19:09:17 +02:00
cketti
e1a9c4d9d9 Update AndroidX Navigation to version 2.5.1 2022-08-05 19:05:52 +02:00
cketti
2b3dabb20b Update AndroidX Activity and Fragment to version 1.5.1 2022-08-05 18:13:35 +02:00
cketti
5aa1d42e16 Update AndroidX Core to version 1.8.0 2022-08-05 16:59:16 +02:00
cketti
105bcbe407 Update AndroidX ConstraintLayout to version 2.1.4 2022-08-05 16:55:52 +02:00
cketti
fb8f7750b9 Update AndroidX Annotation to version 1.4.0 2022-08-05 16:46:53 +02:00
cketti
83c9a4d89e Update AndroidX Lifecycle to version 2.5.1 2022-08-05 16:46:04 +02:00
cketti
8a642ad3a6 Update AndroidX AppCompat to version 1.4.2 2022-08-05 16:40:49 +02:00
cketti
2bdc92b6df Update kotlinx.coroutines to version 1.6.4 2022-08-05 16:40:49 +02:00
cketti
d26921e99c Add manifest placeholder to :app:ui:legacy module 2022-08-05 15:59:16 +02:00
cketti
38019dc531
Merge pull request #6222 from thundernest/update_kotlin
Update Kotlin to version 1.7.10
2022-08-05 15:58:19 +02:00
cketti
cb9103448a
Merge pull request #6221 from thundernest/fix_onPendingIntentResult
Fix crash in `MessageViewContainerFragment.onPendingIntentResult()`
2022-08-05 15:57:56 +02:00
cketti
2e7b731531
Merge pull request #6220 from thundernest/update_clear_messages
Clear `folder_extra_values` when using "clear local messages"
2022-08-05 15:57:24 +02:00
cketti
f2ff826675 Update Kotlin to version 1.7.10 2022-08-05 14:19:17 +02:00
cketti
bf41af8cae Fix crash in MessageViewContainerFragment.onPendingIntentResult()
`onPendingIntentResult()` is called before the fragment is in the RESUMED state. This lead to an exception in the `messageViewFragment` property getter when it was checking the value of `isResumed`.
2022-08-05 13:52:10 +02:00
cketti
6ca6c32c91 Clear folder_extra_values when using "clear local messages" 2022-08-05 12:01:18 +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
1d10f76840
Merge pull request #6207 from thundernest/swipe_between_messages
Swipe between messages
2022-08-04 17:21:24 +02:00
cketti
8b546cadd6 Scroll message list to active message 2022-08-03 21:44:35 +02:00
cketti
6992cc732f Handle view pager swipe vs. WebView horizontal scrolling 2022-08-03 21:37:05 +02:00
cketti
3e90e92b2e Only mark a message as read when it is the active message
Previously we marked a message as read when loading it for viewing. But with swiping between messages we could now load a message before it is considered the active message.
2022-08-03 21:37:05 +02:00
cketti
de6d4197f2 Add basic support for swiping between messages 2022-08-03 21:37:05 +02:00
cketti
c1a97f2c97
Merge pull request #6211 from thundernest/fragments_commit_now
Fix initialization problems with `MessageListFragment` and `MessageViewFragment`
2022-08-03 21:34:42 +02:00
cketti
16ae99ac09 Fix initialization problems with MessageListFragment and MessageViewFragment 2022-08-03 17:30:07 +02:00
cketti
61ea841396
Merge pull request #6209 from thundernest/imap_body_params
IMAP: Fix creating header values from a BODYSTRUCTURE item
2022-08-03 13:15:24 +02:00
cketti
d82b462565 IMAP: Fix creating header values from a BODYSTRUCTURE item 2022-08-02 19:55:31 +02:00
cketti
b7435fa2ef
Merge pull request #6208 from thundernest/convert_to_kotlin
Convert `HtmlConverterTest` to Kotlin
2022-08-02 17:23:24 +02:00
cketti
114af53c84 Convert HtmlConverterTest to Kotlin 2022-08-02 16:47:22 +02:00
cketti
7bed9b05b6 Rename .java to .kt 2022-08-02 16:42:58 +02:00
cketti
0ddf3c76f0
Merge pull request #6204 from thundernest/fix_parameter_type
Fix nullability of parameter
2022-07-29 15:58:16 +02:00
cketti
d014c2f7f3 Fix nullability of parameter 2022-07-29 15:29:32 +02:00
cketti
8bdd808fd0
Merge pull request #6200 from thundernest/convert_to_kotlin
Convert `MessageContainerView` to Kotlin
2022-07-29 12:04:03 +02:00
cketti
bfdc0eb04c Convert MessageContainerView to Kotlin 2022-07-29 11:34:52 +02:00
cketti
87dbcfecc5 Rename .java to .kt 2022-07-28 18:44:34 +02:00
cketti
ec80646b6c Simplify message_container layout 2022-07-28 18:02:22 +02:00
cketti
66ebddbd1a Remove unused code 2022-07-28 17:41:16 +02:00
cketti
a35cca1b32
Merge pull request #6199 from thundernest/convert_to_kotlin
Convert `MessageWebView` to Kotlin
2022-07-28 17:39:29 +02:00
cketti
b05309f316 Convert MessageWebView to Kotlin 2022-07-28 16:05:32 +02:00
cketti
b35e6ac269 Rename .java to .kt 2022-07-28 16:05:32 +02:00
cketti
f16522cdc4 Remove unused code 2022-07-28 15:46:39 +02:00
cketti
4b2c1d9961
Merge pull request #6192 from thundernest/more_notification_fixes
Fix bug when tapping a single message notification
2022-07-27 22:25:27 +02:00
cketti
d11972231a
Merge pull request #6190 from thundernest/fix_duplicate_notifications
Fix removing multiple notifications at once
2022-07-27 22:11:16 +02:00
cketti
1c1dbfbb1e
Merge pull request #6187 from Croydon/url-updates
Update GitHub URLs to new location
2022-07-27 16:13:08 +02:00
cketti
f60f573f07 Don't auto-cancel new message notifications
On one of my test devices (Android 12), tapping a single message notification opens the message view, which leads to the notification being removed. If there's an inactive notification it will be promoted to an active notification and use the notification ID of the notification that was just removed. Due to auto-cancel being used, the delete intent of the first notification is then triggered. However, the system seems to use the notification ID to retrieve the delete intent. Because it will fetch the delete intent from the new notification, not the old one. (I made sure to check that it's not a PendingIntent reuse issue)

Since we remove the notification ourselves, we can simply stop using the (apparently buggy) auto-cancel mechanism.
2022-07-27 00:21:07 +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
7dbae49c8e Fix removing multiple notifications at once 2022-07-26 20:35:32 +02:00
cketti
b1083bef93 Merge branch '6.2-MAINT' into main 2022-07-26 17:15:54 +02:00
cketti
6454d350fb Version Version 6.202 2022-07-26 17:01:41 +02:00