Commit graph

11580 commits

Author SHA1 Message Date
cketti
c2eb4ff0a2 Add proguard rule that allows to further optimize custom views
`View.isInEditMode()` will always be `false` when the app is run on the device.
2022-12-05 22:19:27 +01:00
cketti
039cc957f4 Add RecipientNamesView to display the recipient names 2022-12-05 21:11:43 +01:00
cketti
a1a1a1d4fb Add DisplayRecipientsExtractor to extract recipient names from a message 2022-12-05 16:41:09 +01:00
cketti
85d9dc813c Create AddressFormatter to build the display name of an email address 2022-12-05 16:11:35 +01:00
cketti
e8e1b3c044
Merge pull request #6490 from thundernest/show_remote_images_button
Message View Redesign: Change appearance of "show pictures" button
2022-11-25 16:58:22 +01:00
cketti
1a34e49e91 Change appearance of "show remote images" button 2022-11-23 21:01:50 +01:00
cketti
3047360916
Merge pull request #6489 from thundernest/fix_message_header_background
Fix message header background color
2022-11-23 21:00:20 +01:00
cketti
5a43ff6607 Fix message header background color 2022-11-23 19:40:21 +01:00
cketti
715728bf47
Merge pull request #6484 from thundernest/mdc_theme
Switch to MaterialComponents themes
2022-11-23 19:26:08 +01:00
cketti
d2946c1b1d
Merge pull request #6485 from thundernest/message_header_menu_tooltips
Message View Redesign: Display tooltips when long-pressing the menu actions
2022-11-23 18:06:51 +01:00
cketti
85762d5ec7 Display tooltips when long-pressing the menu actions 2022-11-22 17:30:46 +01:00
cketti
59e0658299
Merge pull request #6482 from thundernest/reply_actions_in_message_view
Message View Redesign: Reply actions in message view
2022-11-22 17:12:55 +01:00
cketti
53aeb4224a Add functionality for primary reply action in message view 2022-11-22 17:03:37 +01:00
cketti
b2eb9fbbc9 Add ReplyActionStrategy to figure out which reply actions are available to the user 2022-11-22 17:03:37 +01:00
cketti
6be4051006
Merge pull request #6481 from thundernest/line_of_death
Message View Redesign: Add "line of death"
2022-11-22 16:57:44 +01:00
cketti
d3658804c6 Switch to MaterialComponents themes 2022-11-22 16:05:41 +01:00
cketti
047ef2db50 Add "line of death" 2022-11-21 14:28:32 +01:00
cketti
42d99739b5 Merge branch 'main' into message-view-redesign 2022-11-18 17:13:48 +01:00
cketti
6d2c1df6e3
Merge pull request #6474 from thundernest/respect-font-size-settings
Message view redesign: Respect font size settings
2022-11-16 11:43:39 +01:00
cketti
7bcb1bc9fe Prepare for version 6.313 2022-11-15 15:49:02 +01:00
cketti
4a7ac29657 Version 6.312 2022-11-15 15:35:05 +01:00
cketti
56b012aa4b
Merge pull request #6475 from thundernest/update_translations
Update translations
2022-11-15 15:28:06 +01:00
cketti
e2672cb0dd Update translations 2022-11-15 13:33:49 +01:00
cketti
3ef9ba3260
Merge pull request #6473 from thundernest/swipe_ux_fixes
Various swipe fixes
2022-11-15 13:06:36 +01:00
cketti
017fc8e59f Respect font size settings in message view
- Remove now unnecessary settings.
- Rearrange items in the settings screen to match the display order in the message view screen.
- Change setting name from "To" to "Recipients".
2022-11-14 17:54:20 +01:00
cketti
be17b94cf4 Don't enable archive swipe action in archive folder 2022-11-14 14:28:52 +01:00
cketti
97ec70a631 Reset swiped view when moving an item 2022-11-14 14:24:05 +01:00
cketti
e17459f210 Reset swiped views when canceling a swipe action in the confirmation dialog 2022-11-14 14:18:21 +01:00
cketti
30a2126fcb Mark view when swipe starts so ItemAnimator doesn't interfere 2022-11-14 13:28:31 +01:00
cketti
23b68555fb
Merge pull request #6470 from thundernest/swipe_select_state
Deselect message during swipe
2022-11-14 12:59:23 +01:00
cketti
789fbe4d43 Deselect message during swipe
When swiping a selected message we remove the selection state at the start and restore it afterwards if the list item isn't removed. Except when the swipe action is "toggle selection". Then we keep the current selection state while the list item is dragged.
2022-11-11 14:00:11 +01:00
cketti
273d0b433d Handle animating a swiped view back to its start position inside ItemTouchHelper 2022-11-10 21:03:38 +01:00
cketti
e5f5744186
Merge pull request #6462 from thundernest/limit_swipe_distance
Swipe actions: Limit how far list items can be dragged
2022-11-09 12:06:25 +01:00
cketti
ecdffa15a4 Avoid crash when one of the swipe actions is "None" 2022-11-09 11:48:42 +01:00
cketti
ebb54c26cd Use width of swipe action text to calculate maximum swipe distance 2022-11-09 11:48:42 +01:00
cketti
f75101dfc1 Add support for swipe actions not animating the view all the way off the screen 2022-11-09 11:48:42 +01:00
cketti
944595f905 Use our own copy of ItemTouchHelper 2022-11-09 11:48:42 +01:00
cketti
d63eda9b07 Import a copy of ItemTouchHelper
Based on RecyclerView 1.2.1
2022-11-09 11:48:42 +01:00
cketti
b0636a32c7
Merge pull request #6464 from thundernest/fix_cancel_account_creation_bug
Fix bug when account setup is canceled
2022-11-08 12:22:17 +01:00
cketti
04d97b4e2e Don't crash when trying to remove certificates for incomplete accounts 2022-11-07 17:03:49 +01:00
cketti
73d9100087 Make AccountManager.getAccountsFlow() only return fully set up accounts 2022-11-07 16:39:03 +01:00
cketti
a2867e1baa
Merge pull request #6455 from thundernest/hide_contact_picture_in_message_view
Message View Redesign: Respect setting to hide contact picture
2022-11-03 14:04:20 +01:00
cketti
14693afd94
Merge pull request #6456 from thundernest/swipe_action_text
Swipe actions: Display action name next to the icon
2022-11-02 15:50:36 +01:00
cketti
647340e1e8 Swipe actions: Display action name next to the icon 2022-11-02 11:57:38 +01:00
cketti
154b526fbd Prepare for version 6.312 2022-11-01 12:34:54 +01:00
cketti
bcf89ed0c3 Version 6.311 2022-11-01 12:19:51 +01:00
cketti
7ec2a0b955
Merge pull request #6454 from thundernest/fix_connect_errors
Don't wrap exceptions when trying to connect to IMAP/SMTP servers
2022-11-01 11:56:17 +01:00
cketti
1570c2389f SMTP: Don't treat all TLS errors as certificate error 2022-11-01 11:47:05 +01:00
cketti
05d0038a67 Don't wrap exceptions when trying to connect to IMAP/SMTP servers 2022-11-01 11:47:05 +01:00
cketti
c3b25d5140
Merge pull request #6453 from thundernest/fix_pop3_connect
Try all IP addresses when connecting to a POP3 server
2022-11-01 11:46:52 +01:00