Commit graph

11139 commits

Author SHA1 Message Date
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
r.zarchi
8fc3e4b1b9 Cc and Bcc text fields checked when handling hide empty field 2022-07-26 16:26:47 +02:00
r.zarchi
f45c5024ca searchEnabled set to false when expanding the search view after the rotate 2022-07-26 16:26:42 +02:00
cketti
33e4d081eb Merge branch 'allow_all_schemes_in_links' into 6.2-MAINT 2022-07-26 16:26:13 +02:00
cketti
ffe7e04b40 Merge branch 'send_message_timeout' into 6.2-MAINT 2022-07-26 16:25:26 +02:00
cketti
8c4d822399
Merge pull request #6189 from thundernest/add_western_frisian
Add Western Frisian translation
2022-07-26 14:23:43 +02:00
cketti
fd006bdb2f Add Western Frisian translation 2022-07-26 12:51:17 +02:00
Croydon
c8db3b350a Update GitHub URLs to new location 2022-07-25 20:07:23 +02:00
cketti
351874b9b0
Merge pull request #6185 from arissystem/Issue-6184
Cc and Bcc text fields checked when handling hide empty field
2022-07-25 11:03:56 +02:00
cketti
3ba8a2b3a5
Merge pull request #6183 from arissystem/Issue-6182
searchEnabled set to false when expanding the search view after the rotate
2022-07-25 10:43:48 +02:00
r.zarchi
d27a566a32 Cc and Bcc text fields checked when handling hide empty field 2022-07-25 13:06:03 +04:30
r.zarchi
70f5a589fa searchEnabled set to false when expanding the search view after the rotate 2022-07-25 10:27:40 +04:30
cketti
d3afad0040
Merge pull request #6178 from thundernest/more_menu_cleanup
More menu cleanup
2022-07-21 17:02:23 +02:00
cketti
cc5fc8e2b0 Remove unused code 2022-07-21 13:23:23 +02:00
cketti
3fce00902a Don't invalidate the menu in MessageList 2022-07-21 13:23:23 +02:00
cketti
8214ef3fb7 Move code to disable the delete menu item to MessageViewFragment 2022-07-21 12:21:46 +02:00
cketti
1cb0d15398 Move "search everywhere" menu handling to MessageListFragment 2022-07-21 12:03:53 +02:00
cketti
213cda8881 Rename MessageListFragment.onListVisible() to isActive
Use the same name for the same concept in `MessageListFragment` and `MessageViewFragment`.
2022-07-21 11:50:26 +02:00
cketti
479e1688f3
Merge pull request #6175 from thundernest/message_view_menu_cleanup
Clean up message view menu code
2022-07-21 11:34:16 +02:00
cketti
17c51a4900 Remove next/previous entries from message view menu 2022-07-21 11:11:22 +02:00
cketti
995703cc5f Set the "message list visible" flag when the back stack has changed 2022-07-21 11:11:22 +02:00
cketti
d9803c5987 Fix visibility of compose action during transitions 2022-07-21 11:11:22 +02:00