Commit graph

11834 commits

Author SHA1 Message Date
cketti
863222f658 Keep <tt> tags when sanitizing HTML 2022-10-23 23:09:48 +02:00
cketti
3dfa1ccb07
Merge pull request #6418 from thundernest/fix_disable_send_button
Fix code to disable send button
2022-10-22 21:01:47 +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
908e65d835
Merge pull request #6416 from thundernest/fix_decrypt_during_swipe
Don't launch a crypto provider activity until `MessageViewFragment` becomes active
2022-10-22 19:35:24 +02:00
cketti
2f3ac6ba94 Don't launch a crypto provider activity until MessageViewFragment becomes active 2022-10-22 18:35:26 +02:00
cketti
34676f0991
Merge pull request #6415 from thundernest/fix_accounts_shortcut
Fix "K-9 Accounts" shortcuts
2022-10-22 18:34:45 +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
f742ddb499
Merge pull request #6413 from thundernest/message_list_widget_layout
Small improvements to the message list widget layout
2022-10-22 17:24:59 +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
bab62efe27
Merge pull request #6410 from thundernest/message_list_widget_update
Change the way the message list widget listens to changes
2022-10-20 11:52:57 +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
eaa88f3c47
Merge pull request #6408 from thundernest/message_list_widget_threads
Fix opening messages in a thread from the message list widget
2022-10-19 18:30:14 +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
8db1cd3a24
Merge pull request #6405 from thundernest/message_list_widget_module
Move the message list widget to its own module
2022-10-19 10:46:56 +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
cb64dd5953
Merge pull request #6403 from thundernest/remove_MessageProvider
Remove `MessageProvider`
2022-10-17 19:12:52 +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
a5f8b096d9
Merge pull request #6401 from thundernest/convert_to_kotlin
Convert message list widget to Kotlin
2022-10-17 11:33:13 +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
f1400a4293 Merge branch 'main' into message-view-redesign 2022-10-13 12:21:54 +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
3b506146f3
Merge pull request #6384 from thundernest/MessageListFragment_fixes
Small `MessageListFragment` cleanup
2022-10-12 19:19:52 +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
42d10b7b65
Merge pull request #6383 from thundernest/update_translations
Update translations
2022-10-12 16:34:11 +02:00
cketti
de27506761 Update translations 2022-10-12 16:09:33 +02:00
cketti
facf9a34f9
Merge pull request #6382 from thundernest/fix_html_signature
Stop using `white-space: pre-wrap` for the HTML signature
2022-10-12 16:08:34 +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
8797004566
Merge pull request #6380 from thundernest/fix_DefaultTrustedSocketFactory
Use proper API to set SNI server name on API 24+
2022-10-12 15:49:10 +02:00
cketti
511af40dc3 Use proper API to set SNI server name on API 24+ 2022-10-12 15:32:43 +02:00
cketti
f5ccf96595
Merge pull request #6379 from thundernest/MessageListLayoutManager
Change anchor behavior of the message list
2022-10-12 15:32:24 +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
cketti
70ec438d82
Merge pull request #6378 from thundernest/update_about_screen
Update URL for AndroidX Preference eXtended
2022-10-10 21:29:22 +02:00
cketti
bacf652e3e Update URL for AndroidX Preference eXtended 2022-10-10 21:16:27 +02:00