Commit graph

2590 commits

Author SHA1 Message Date
cketti
a0edf47b2b Simplify SwipeResourceProvider code that returns the action background color 2022-10-28 22:28:44 +02:00
cketti
367948ac7a Only hide the "reply to" field if it doesn't contain content 2022-10-28 22:08:48 +02:00
cketti
c25972cccb Don't tie requesting focus to changing visibility of the "reply to" input
The "reply to" input field should not be focused when restoring the instance state, i.e. the visibility of the view.
2022-10-28 22:08:48 +02:00
cketti
d21fb83289 Change ReplyToPresenterTest to not extend K9RobolectricTest 2022-10-28 22:08:48 +02:00
cketti
d7f4ab88ea Use container view when determining visibility of "reply to" input 2022-10-28 22:08:48 +02:00
cketti
ee608a6201 Change ThunderbirdDiscovery to support all specified autoconfig URLs 2022-10-27 11:02:49 +02:00
cketti
880b4d88b1 Remove DiscoveryTarget 2022-10-26 18:48:52 +02:00
cketti
e91e1e49bf Ignore page change events to an item that is no longer in the adapter 2022-10-26 12:09:31 +02:00
cketti
4b528fc8b4 Don't use smooth scrolling when moving to previous/next message
This seems to work around a bug where sometimes the scroll operation isn't completed and the `MessageViewFragment` being scrolled to is never marked as active. See #6346.
2022-10-25 17:36:04 +02:00
cketti
a7fcf9f607 Only let the active message view update the toolbar menu 2022-10-25 13:23:49 +02:00
cketti
e251ec7f57 Add more logging for creating/removing notifications 2022-10-25 11:30:20 +02:00
cketti
893a6900dd Don't throw when calling MessageStore.getMessageServerId()
Return `null` when the message can no longer be found in the message store.
2022-10-25 10:59:52 +02:00
cketti
aeb20e20c7 Ignore clicks on views for messages that have been removed from the list 2022-10-24 19:09:13 +02:00
cketti
a51795c5e8 Prepare for version 6.311 2022-10-24 14:35:30 +02:00
cketti
2d9be7a0b6 Version 6.310 2022-10-24 14:14:41 +02:00
cketti
29652d9cbe Update translations 2022-10-24 13:33:28 +02:00
cketti
be8bb25874 Keep <kbd>, <samp>, and <var> tags when sanitizing HTML 2022-10-24 12:12:15 +02:00
cketti
863222f658 Keep <tt> tags when sanitizing HTML 2022-10-23 23:09:48 +02:00
cketti
7274d7790c Add log entry when creating MessageBuilder has failed 2022-10-22 19:35:37 +02:00
cketti
c5361e9329 Only disable clicks on send button if MessageBuilder was successfully created 2022-10-22 19:35:37 +02:00
cketti
2f3ac6ba94 Don't launch a crypto provider activity until MessageViewFragment becomes active 2022-10-22 18:35:26 +02:00
cketti
f0b369711b Remove support for old launcher shortcuts 2022-10-22 18:20:34 +02:00
cketti
957c6dc43a Don't put serialized LocalSearch instance in account shortcut Intent 2022-10-22 18:20:34 +02:00
cketti
5b448e5c69 Improve loading layouts of the message list widget 2022-10-20 13:20:39 +02:00
cketti
86ae99dd6e Fix size of ListView in message list widget 2022-10-20 12:08:36 +02:00
cketti
da283a7c32 Change the way the message list widget listens to changes
Also change the code to only listen for message list changes when the message list widget has been added to the home screen.
2022-10-19 18:38:03 +02:00
cketti
186a1eda16 Load Unified Inbox when opening a message from the message list widget 2022-10-19 10:47:36 +02:00
cketti
b028c86397 Add thread count to message list widget layout 2022-10-19 10:47:36 +02:00
cketti
98b75c01b2 Simplify intent to start MailListWidgetService 2022-10-18 15:20:28 +02:00
cketti
0482b93071 Simplify the code to notify the message list widget of changes 2022-10-18 15:19:02 +02:00
cketti
343ed16ae0 Update the message list widget on app start
Now that we've changed the component name of `MessageListWidgetService` this is necessary so widget hosts learn of the new name. It's also a good idea in general to update all RemoteViews on app startup (since the app might have been updated).
2022-10-18 15:16:36 +02:00
cketti
2640c0e0a7 Retain fully-qualified name of MessageListWidgetProvider in the manifest 2022-10-17 20:31:32 +02:00
cketti
c9d89657b0 Create a separate Gradle module for the message list widget 2022-10-17 19:15:17 +02:00
cketti
af11ca5e4e Remove now unused MessageProvider 2022-10-17 11:37:57 +02:00
cketti
e75d15d7e6 Don't use MessageProvider for message list widget 2022-10-17 11:37:57 +02:00
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
c8ff69ba9a Remove unused code 2022-10-12 17:36:16 +02:00
cketti
1f2e6fb171 Remove inappropriate use of lateinit var from MessageListFragment
- Restructure the code so `MessageListAdapter` is only created once and initialized early.
- Remove view references in `onDestroyView()`
2022-10-12 17:32:37 +02:00
cketti
de27506761 Update translations 2022-10-12 16:09:33 +02:00
cketti
a833cd5b08 Stop using white-space: pre-wrap for the HTML signature
Line breaks display inconsistently across browser implementations when using both `<br>` and the CSS rule.
2022-10-12 15:49:27 +02:00
cketti
511af40dc3 Use proper API to set SNI server name on API 24+ 2022-10-12 15:32:43 +02:00
cketti
e9bd127e45 Change how LinearLayoutManager decides how to anchor the list
If the list is scrolled to the top and items are inserted before the previously first list item, `RecyclerView` is "scrolled" to to show the new first item at the top.
2022-10-11 18:10:11 +02:00
cketti
fbd7f5c53b Import a copy of RecyclerView.LinearLayoutManager
Based on RecyclerView 1.2.1
2022-10-11 18:10:11 +02:00