Commit graph

11701 commits

Author SHA1 Message Date
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
3f067b2edb
Merge pull request #6543 from thundernest/compose_fab
Add floating action button for compose action
2023-01-04 11:25:26 +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
cketti
f79e2dd93b
Merge pull request #6537 from schlagi123/remove_drafts_instead_of_moving_them_to_the_trash_on_sending
After sending, delete the draft message immediately, skipping the Trash folder
2022-12-27 20:46:32 +01:00
Bastian Wilhelm
ad5f87519c Don't move draft to Trash folder after sending 2022-12-27 20:36:28 +01:00
cketti
6e68cb0bf5
Merge pull request #6536 from thundernest/filter_folder_list
Ignore extraneous spaces when filtering the folder list
2022-12-22 15:08:49 +01:00
cketti
bdf0e3899b Ignore extraneous spaces when filtering the folder list 2022-12-21 17:24:51 +01:00
cketti
34be0134f5
Merge pull request #6532 from thundernest/remove_font_size_settings
Remove unused font size settings
2022-12-15 13:00:30 +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
f90aad63f8
Merge pull request #6522 from thundernest/dir_auto
Add `dir="auto"` to HTML when composing messages
2022-12-13 14:22:05 +01:00
cketti
a0ae7bd820 Add dir="auto" to HTML when composing messages 2022-12-13 14:07:10 +01:00
cketti
ca2637ed92
Merge pull request #6526 from thundernest/snackbar_behavior
Use CoordinatorLayout for better SnackBar behavior
2022-12-12 18:26:12 +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
942eca1393
Merge pull request #6524 from thundernest/swipe_gesture_outside_webview
Ignore WebView's scroll state when swipe gesture started in other view
2022-12-12 16:33:44 +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
dc3857a91c
Merge pull request #6525 from thundernest/codestyle
Update code style config
2022-12-12 15:33:15 +01:00
cketti
d0f7649f5b Update code style config 2022-12-12 15:31:50 +01:00
cketti
abeff8e126
Merge pull request #6521 from thundernest/sort_folders_in_settings
Sort list of folders in account settings
2022-12-12 15:30:00 +01:00
cketti
e71b4bcb90 Sort list of folders in account settings 2022-12-12 15:02:22 +01:00
cketti
3665deef61
Merge pull request #6516 from thundernest/fix_dismissing_notifications
Fix notification reappearing shortly after it was dismissed
2022-12-12 15:01:13 +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
cketti
de62a17ca1
Merge pull request #6513 from Goooler/modernize
Modernize a bit
2022-12-07 19:49:40 +01:00
Goooler
323c99b81c Add an icon for IDEA to display 2022-12-07 19:21:12 +01:00
Goooler
4b0567744d Cleanup 2022-12-07 19:21:12 +01:00
Goooler
ac8b71df43 Replace Kapt with Ksp 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
9424de9f8f Declare maven repos in dependencyResolutionManagement 2022-12-07 19:04:23 +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
Goooler
6c887d02b0 AGP 7.3.1 & Kotlin 1.7.22 2022-12-07 19:04:23 +01:00
Goooler
dda4d4db37 Bump Gradle to 7.6
https://docs.gradle.org/7.6/release-notes.html
2022-12-07 19:04:23 +01:00
Goooler
2e9569b66a Update .gitattributes rules 2022-12-07 18:15:20 +01:00
Goooler
0476f1da17 Update .editorconfig rules 2022-12-07 18:15:20 +01:00
cketti
27f3ac9e8e
Merge pull request #6502 from thundernest/NotificationActionService_background_thread
`NotificationActionService` fixes
2022-12-06 19:14:21 +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
b862a271d1
Merge pull request #6508 from utzcoz/dependabot-for-github-actions
Enable dependabot for github-actions
2022-12-06 18:56:28 +01:00
cketti
e359d22583
Merge pull request #6512 from thundernest/ci
Use gradle-build-action for CI builds
2022-12-06 18:55:27 +01:00
cketti
4c648ecd75 Add GitHub workflow to update the Gradle build cache
When `gradle-build-action` is run for pull requests, it will only read from, but never write to the build cache. To make the cache actually useful, we build the `main` branch (but don't run the tests).
2022-12-06 16:34:02 +01:00
Goooler
b0c1085f1f Optimize CI a bit
https://github.com/actions/checkout/releases/tag/v3.0.0
https://github.com/actions/setup-java/releases/tag/v3.0.0
https://github.com/gradle/gradle-build-action
2022-12-06 21:29:37 +08:00
utzcoz
eba3d634e2 Enable dependabot for github-actions
Signed-off-by: utzcoz <utzcoz@outlook.com>
2022-12-06 12:50:59 +08:00
cketti
399ff52840
Merge pull request #6497 from thundernest/mdc_theme
Switch to MaterialComponents themes
2022-11-28 19:00:23 +01:00