Commit graph

10987 commits

Author SHA1 Message Date
cketti
4d0bbd1e8a Remove rows from 'notifications' table when clearing notifications 2022-02-10 01:49:53 +01:00
cketti
c61b097f8b
Merge pull request #5902 from k9mail/convert_to_kotlin
Convert some classes to Kotlin
2022-02-09 20:26:38 +01:00
cketti
d087fde125 Change NotificationSettings into a data class 2022-02-09 19:36:33 +01:00
cketti
0fb6bd9198 Add a proper type for the vibration pattern the user can select 2022-02-09 19:36:33 +01:00
cketti
c58e357030 Convert 'NotificationSettings' to Kotlin 2022-02-09 19:36:33 +01:00
cketti
6256ec6d89 Rename .java to .kt 2022-02-09 19:36:33 +01:00
cketti
b91c902247 Rename class NotificationSetting to NotificationSettings 2022-02-09 19:36:33 +01:00
cketti
f923da4487 Convert 'Account' to Kotlin 2022-02-09 19:36:33 +01:00
cketti
2dbdca0fc4 Rename .java to .kt 2022-02-09 19:36:33 +01:00
cketti
f196b8ca5e Convert 'SearchAccount' to Kotlin 2022-02-09 19:36:33 +01:00
cketti
566be079c9 Rename .java to .kt 2022-02-08 17:07:38 +01:00
cketti
dee2ca345d Convert 'BaseAccount' to Kotlin 2022-02-08 16:54:15 +01:00
cketti
4583218750 Rename .java to .kt 2022-02-08 16:54:15 +01:00
cketti
388222a74b
Merge pull request #5901 from k9mail/account_display_name
Improve support for empty account name
2022-02-08 16:37:23 +01:00
cketti
8124a78fb6
Merge pull request #5900 from k9mail/logging_account_name
Use `Account.toString()` in log messages
2022-02-08 02:26:40 +01:00
cketti
eff9f1bf5e Improve support for empty account name 2022-02-08 02:23:04 +01:00
cketti
bfc708df19 Use Account.getDisplayName() when appropriate 2022-02-08 02:05:05 +01:00
cketti
19829eb2a2 Rename Account.getDescription() to Account.getName() 2022-02-08 01:13:30 +01:00
cketti
1d601c5c59 Rename Account.getName() to Account.getSenderName() 2022-02-08 00:50:26 +01:00
cketti
ff97264c08 Use Account.toString() in log messages
Have Account.toString() only return the account name when sensitive debug logging is enabled. Otherwise return the account UUID.
2022-02-08 00:16:33 +01:00
cketti
94bee8199b
Merge pull request #5899 from k9mail/fix_notification_channel_recreation
Fix NotificationChannel recreation avoidance logic
2022-02-07 23:06:28 +01:00
cketti
deecc9ea16 Fix NotificationChannel recreation avoidance logic 2022-02-07 19:22:03 +01:00
cketti
d161f7972d
Merge pull request #5895 from k9mail/vibration_pattern
Unify settings to configure notification vibration
2022-02-07 18:29:52 +01:00
cketti
173dded6b0
Merge pull request #5896 from k9mail/keep_doctype
Retain doctype when sanitizing HTML
2022-02-07 17:43:31 +01:00
cketti
dcb6981668
Merge pull request #5893 from k9mail/duplicate_notifications
Crash app when trying to add duplicate notification on debug builds
2022-02-07 17:42:08 +01:00
cketti
d4d3fe2a98 Retain doctype when sanitizing HTML 2022-02-05 17:34:32 +01:00
cketti
64c6bcd48f Unify settings to configure notification vibration 2022-02-04 06:52:52 +01:00
cketti
4c875027a6 Crash app when trying to add duplicate notification on debug builds
This is not a critical error. So we're not crashing release builds. We could skip the duplicate notification in release builds. But the hope is that users will notice them and report a bug, allowing us to find and fix the root cause rather than the symptom.
2022-02-03 02:16:06 +01:00
cketti
5c0b99fbdc
Merge pull request #5891 from k9mail/mockito-inline
Switch to mockito-inline
2022-02-03 01:43:00 +01:00
cketti
a4e1a77892 Switch to mockito-inline 2022-02-03 01:10:52 +01:00
cketti
979a9b4968
Extract string resource (#5888) 2022-01-28 19:08:08 +01:00
cketti
587e964e87
Merge pull request #5885 from k9mail/html_cleaner_cli
Add command line application to sanitize HTML files
2022-01-28 16:53:10 +01:00
cketti
7f686cb5da Create new Gradle task so the Android CI GitHub action can easily run all tests 2022-01-28 04:46:31 +01:00
cketti
3c9dd17ff7 Add command line application to sanitize HTML files
This can be used to test what HTML messages will look like after K-9 Mail's sanitization process.
2022-01-28 04:46:31 +01:00
cketti
362ecae297 Fix HtmlProcessor/HtmlSanitizer parameter types 2022-01-28 04:40:30 +01:00
cketti
6e9a8f9559 Move HtmlProcessor into a separate module 2022-01-28 04:40:30 +01:00
parkerfath
1265d0724b
Open Outbox from 'send failed' notification (#5887) 2022-01-28 03:33:06 +01:00
cketti
f74d1c0fee Change HtmlProcessor to retrieve custom <head> contents from an interface 2022-01-26 03:19:48 +01:00
cketti
7c05ec5b21 Don't use dependency injection for HtmlSanitizer 2022-01-26 03:12:11 +01:00
cketti
013e0dc788 Convert 'HtmlProcessor' to Kotlin 2022-01-26 03:05:42 +01:00
cketti
f84ebecd73 Rename .java to .kt 2022-01-26 02:57:01 +01:00
cketti
4f7bda0c29 Convert 'HeadCleaner' to Kotlin 2022-01-26 02:44:57 +01:00
cketti
2dd2b7492c Rename .java to .kt 2022-01-26 02:44:04 +01:00
cketti
cfc4c0bb71 Prepare for version 5.911 2022-01-25 19:41:32 +01:00
cketti
5c35d08f93 Version 5.910 2022-01-25 19:29:44 +01:00
cketti
f60dd4b0df
Merge pull request #5881 from k9mail/fix_pop3_get_capabilities
Stop using AUTH without arguments (POP3)
2022-01-25 19:12:35 +01:00
cketti
251a221b3b Stop using AUTH without arguments (POP3)
At least one server software closes the connection right away after receiving the AUTH command without arguments. Since using the AUTH command without arguments never made it into a standard, I decided to completely remove this functionality.
2022-01-25 17:41:48 +01:00
cketti
de15580e40
Merge pull request #5872 from k9mail/remove_jmap_app
Remove JMAP app
2022-01-24 09:56:54 +01:00
cketti
262f97812f Remove JMAP app
The JMAP backend is still part of the repository. Only currently unused.
2022-01-20 00:28:01 +01:00
parkerfath
fda4e8243a
Allow remote search by default (#5867) 2022-01-20 00:20:22 +01:00