Commit graph

2648 commits

Author SHA1 Message Date
cketti
996f7e28ef Disable more Android components by default
Only enable launcher shortcuts and home screen widgets after an account has been set up.
2023-01-06 16:08:56 +01:00
klemens
6d528918a1 spelling fixes 2023-01-04 21:00:41 +01:00
cketti
7963c3562d Remove RecyclerView padding when floating action button is disabled 2023-01-04 13:19:27 +01:00
Goooler
280ec9ccb1 Remove unnecessary "enabled" attributes in manifests 2023-01-04 13:03:33 +01:00
cketti
c444be48d7 Add a UriParser for generic URIs
This isn't actually a proper parser for the URI generic syntax. But it is good enough to linkify URIs.
2023-01-04 11:49:46 +01:00
cketti
8485395205 Remove support for linkifying bitcoin: and ethereum: URIs 2023-01-04 11:49:46 +01:00
cketti
86012f81d0 Refactor TextPartFinder 2023-01-04 11:37:20 +01:00
cketti
5206e76641 Convert TextPartFinder to Kotlin 2023-01-04 11:37:20 +01:00
cketti
05809b9280 Rename .java to .kt 2023-01-04 11:37:20 +01:00
cketti
6c7174dc78 Convert TextPartFinderTest to Kotlin 2023-01-04 11:37:20 +01:00
cketti
294a8cb840 Rename .java to .kt 2023-01-04 11:37:20 +01:00
cketti
74146c5f35 Remove mocking from EncryptionDetectorTest 2023-01-04 11:37:20 +01:00
cketti
ec6be782cf Hide floating action button when ViewSwitcher is animating
Currently, animating between message list and message view is a lot like switching tabs. The guidelines state that a floating action button should not move in unison with the content.

See https://m2.material.io/components/buttons-floating-action-button#behavior
2023-01-04 11:14:57 +01:00
cketti
0cad7f3b47 Add setting to show floating action button on top of the message list 2023-01-04 11:14:57 +01:00
cketti
28907c5c13 Set colorOnSecondary to white in light theme 2023-01-04 11:14:57 +01:00
cketti
1409ee000f Add floating action button to message list screen 2023-01-04 11:14:57 +01:00
Bastian Wilhelm
ad5f87519c Don't move draft to Trash folder after sending 2022-12-27 20:36:28 +01:00
cketti
bdf0e3899b Ignore extraneous spaces when filtering the folder list 2022-12-21 17:24:51 +01:00
cketti
431c3fd6ca Remove font size settings from GeneralSettingsDescriptions 2022-12-15 12:14:19 +01:00
mhfarzaneganbb
75e4be161a Remove font size settings for account list and folder list 2022-12-15 12:06:12 +01:00
cketti
a0ae7bd820 Add dir="auto" to HTML when composing messages 2022-12-13 14:07:10 +01:00
cketti
dc7c5e8018 Use CoordinatorLayout for better SnackBar behavior
Anchoring the SnackBar to the CoordinatorLayout gives us:
- swipe to dismiss
- drawer being drawn on top of the SnackBar
2022-12-12 16:41:02 +01:00
cketti
462d64b6b8 Ignore WebView's scroll state when swipe gesture started in other view
We only consider a gesture as swipe gesture for moving to the previous or next message when the WebView can't be scrolled further in that direction. This is the correct behavior when the swipe gesture was started inside the WebView. However, the WebView's scroll state should be ignored when the swipe gesture was started e.g. in the message header. In those cases we always want to swipe to the next/previous message.
2022-12-12 15:55:14 +01:00
cketti
e71b4bcb90 Sort list of folders in account settings 2022-12-12 15:02:22 +01:00
cketti
4b5df5ade0 Make sure operations in NewMailNotificationController are executed atomically 2022-12-07 20:20:11 +01:00
cketti
627bcf850e Make sure notifications have been restored before performing any operation 2022-12-07 20:20:11 +01:00
Goooler
4b0567744d Cleanup 2022-12-07 19:21:12 +01:00
Goooler
65e07cba13 Disable buildFeatures by default to speed up builds 2022-12-07 19:21:11 +01:00
Goooler
d4055ea252 Configure java extensions in allprojects 2022-12-07 19:04:23 +01:00
Goooler
be9b4ef4aa Configure android extensions in subprojects 2022-12-07 19:04:23 +01:00
cketti
932e3caabe Stop NotificationActionService after work is done 2022-12-06 18:58:00 +01:00
cketti
71d6a4f52e Perform NotificationActionService actions in background thread
Updating notifications involves disk I/O.
2022-12-06 18:58:00 +01:00
cketti
399ff52840
Merge pull request #6497 from thundernest/mdc_theme
Switch to MaterialComponents themes
2022-11-28 19:00:23 +01:00
cketti
77756e56da Add support for search in recipient addresses 2022-11-28 18:16:45 +01:00
cketti
07a23d41b9 Tweak section headers in about screen
Use same style that is used in the settings screens.
2022-11-28 17:37:59 +01:00
cketti
72da6f8005 Tweak section headers in settings list screen
Use same style that is used in general/account settings screen.
2022-11-28 17:37:59 +01:00
cketti
ca77057ab3 Prepare for version 6.500 2022-11-28 14:35:25 +01:00
cketti
bf5a03089f Version 6.400 2022-11-28 14:29:35 +01:00
cketti
d3658804c6 Switch to MaterialComponents themes 2022-11-22 16:05:41 +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
e2672cb0dd Update translations 2022-11-15 13:33:49 +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
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
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