Wolf Montwé
e98ceb70a5
Change UriMatcherTest to Kotlin
2023-03-21 14:14:23 +01:00
Wolf Montwé
66e0424fdf
Rename UriMatcherTest.java to UriMatcherTest.kt
2023-03-21 14:14:23 +01:00
cketti
f17fb9fe17
Remove unused method
2023-03-15 17:28:58 +01:00
Wolf-Martell Montwé
9900fd4394
Merge pull request #6757 from thundernest/change_truth_to_legacy
...
Change truth testing library to legacy
2023-03-14 12:38:32 +00:00
Wolf Montwé
00b7bf45d7
Change truth testing library to legacy and only allow usage in old modules
2023-03-14 12:20:55 +01:00
cketti
23981c1af7
Add font size setting for account name in message view
2023-03-13 18:26:59 +01:00
Wolf-Martell Montwé
d88ea3752d
Merge pull request #6732 from thundernest/remove_precondition
...
Remove Preconditions
2023-03-09 14:03:28 +00:00
Wolf Montwé
532642d8db
Remove Preconditions
2023-03-09 14:02:02 +01:00
Wolf Montwé
9cdf3e2b7a
Add ContactRepository
2023-03-09 13:48:06 +01:00
Wolf Montwé
3ed19f0011
Move CursorExtensions to :core:android:common
module
2023-03-09 12:14:28 +01:00
Wolf Montwé
8b049982a9
Add ContactDataSource and Contact entity
2023-03-09 12:10:25 +01:00
Wolf Montwé
5e09e067b0
Add email value type
2023-03-07 18:12:38 +01:00
Wolf Montwé
979240b6e1
Remove getInstance as instance should be controlled by dependency injection
2023-03-07 13:18:08 +01:00
Wolf Montwé
264deb98f2
Change MessageHelperTest to Kotlin
2023-03-07 09:40:32 +01:00
Wolf Montwé
5c7ede27ca
Rename MessageHelperTest.java to MessageHelperTest.kt
2023-03-07 09:40:32 +01:00
Wolf Montwé
b7bfb4006f
Remove unused context property and toMe method
2023-03-07 09:40:32 +01:00
Wolf Montwé
9fe1983c1a
Change MessageHelper to Kotlin
2023-03-07 09:40:32 +01:00
Wolf Montwé
0c299aeb7d
Rename MessageHelper from .java to .kt
2023-03-07 09:40:31 +01:00
Wolf Montwé
5699ecadb7
Remove getInstance as instance should be controlled by dependency injection
2023-03-06 16:19:37 +01:00
Wolf Montwé
0780c423fb
Change Contacts to Kotlin
2023-03-06 13:16:44 +01:00
Wolf Montwé
38cb881377
Rename Contacts to .kt
2023-03-06 11:31:12 +01:00
Wolf Montwé
be5894e743
Move EmptyCursor to core:android:common
2023-03-02 14:44:53 +01:00
Wolf Montwé
58e6f97580
Add common Android module to core
2023-03-02 14:38:43 +01:00
Wolf Montwé
59541c0d6b
Move Cache to core common module
2023-03-02 14:38:43 +01:00
Wolf Montwé
28e3f62a4e
Change Clock to kotlinx.datetime.Clock
2023-03-02 11:21:32 +01:00
Wolf Montwé
dd5d550c58
Change EmptyCursor to Kotlin
2023-03-01 15:47:06 +01:00
Wolf Montwé
0d19bcee9a
Rename EmptyCursor from .java to .kt
2023-03-01 15:43:54 +01:00
cketti
30c4f94b30
Add setting for message list density
2023-02-27 18:27:20 +01:00
Wolf Montwé
22d8e4b924
Change build files from Groovy to Kotlin
2023-02-23 14:52:16 +01:00
Wolf Montwé
96e2784b22
Rename build.gradle files to build.gradle.kts
2023-02-23 14:52:15 +01:00
Wolf Montwé
cab1c71524
Cleanup remaining code style issues for Kotlin sources
2023-02-17 16:14:14 +01:00
Wolf Montwé
29d5220995
Add trailing comma allowance to code style
2023-02-17 16:14:13 +01:00
Wolf Montwé
f88613bf23
Change to Android library build plugin
2023-02-16 15:58:43 +01:00
cketti
caa6a848ff
Limit summary notification actions to active notifications
2023-02-14 11:48:11 +01:00
Wolf-Martell Montwé
90539b5e48
Merge pull request #6655 from thundernest/add_cache
...
Add Cache
2023-02-14 10:56:57 +01:00
Wolf Montwé
77a295f7ed
Remove doubled test
2023-02-14 10:45:28 +01:00
Wolf Montwe
7a77fc43b8
Add Cache
2023-02-13 16:22:41 +01:00
Wolf Montwé
f46b754373
Add ContactIntentHelper
and remove functionality from Contacts
2023-02-10 17:48:55 +01:00
cketti
836fb7dc69
Rename (and move) AddressFormatter
to MessageViewRecipientFormatter
...
The way recipient names are displayed in the message view screen is subtly different from the other places where we display recipient names. Now the name reflects that.
2023-02-08 12:45:13 +01:00
Wolf Montwe
1854a2c911
Change Kotlin code format
2023-02-03 17:23:57 +01:00
cketti
e826ed8db7
Merge pull request #6618 from thundernest/message-view-redesign
...
Add the redesigned message view screen
2023-02-01 18:51:05 +01:00
cketti
c93f5ea799
Merge pull request #6612 from thundernest/message_counts
...
Refactoring: Message counts
2023-02-01 17:36:59 +01:00
cketti
dd89dee489
Convert methods in AccountSearchConditions
to extension functions
2023-02-01 14:40:00 +01:00
cketti
ef583ba620
Rewrite MessageCountsProvider
to use MessageStore
2023-02-01 14:40:00 +01:00
cketti
adabe43efe
Remove unused SearchField.SEARCHABLE
2023-02-01 14:40:00 +01:00
cketti
5e17829436
Rewrite MessageCountsProvider.getUnreadMessageCount()
to not use LocalStore
2023-02-01 14:40:00 +01:00
cketti
4cc1643643
Remove message count functionality from MessagingController
2023-02-01 14:39:59 +01:00
cketti
3e90f8b85e
Remove unused methods
2023-01-27 19:50:46 +01:00
cketti
2df7c3301d
Remove unused classes
2023-01-27 19:20:29 +01:00
cketti
d90800886d
Merge pull request #6604 from thundernest/more_MessageStore
...
Rewrite `MessagingController.loadMoreMessages()` to not use `LocalStore`
2023-01-27 14:02:34 +01:00
cketti
b1426e5e84
POP3: Fix logic to delete messages on the server
2023-01-26 12:22:37 +01:00
cketti
5220c66d61
Remove Backend.isDeleteMoveToTrash()
...
This property is confusing and basically unused right now.
2023-01-26 12:08:26 +01:00
cketti
4dbaf4aba0
Access database in background thread when loading more messages
2023-01-24 20:34:09 +01:00
cketti
f6de845801
Rewrite MessagingController.loadMoreMessages()
to not use LocalStore
2023-01-24 20:25:29 +01:00
cketti
9cb6859ad6
Load message details
2023-01-24 18:21:51 +01:00
cketti
78d6e23362
Tweak the way messages are marked as read on opening
...
Update the message object and cache right away. Do the rest in a single background operation.
2023-01-19 12:17:52 +01:00
cketti
3f1911783e
Fix queue*()
methods
...
Change methods to only add a pending command, but not process the pending commands immediately.
Also, don't defer adding the pending command by using `putBackground()`. This can mess with the execution order of remote commands.
2023-01-19 12:17:52 +01:00
cketti
ccc5223e67
Use single queue for handling commands modifying messages
...
We want to use a single queue so commands are not sent to the server out of order.
2023-01-19 12:17:52 +01:00
cketti
3a04190aa2
Fix logic to skip the trash folder when deleting messages
2023-01-19 11:37:47 +01:00
cketti
7dd0ed79c4
Merge branch 'main' into message-view-redesign
2023-01-18 12:56:25 +01:00
cketti
ddd464cffb
Update Apache James Mime4J to version 0.8.8
2023-01-17 14:55:25 +01:00
cketti
1052bd07c7
Rename some Gradle version catalog entries
2023-01-16 14:49:14 +01:00
Bastian Wilhelm
a3f6995a2e
Migrate to Gradle's version catalog
2023-01-16 14:49:14 +01:00
cketti
388d1690f3
Don't crash when K9WorkerFactory gets called for an unknown class
2023-01-13 11:07:14 +01:00
Bastian Wilhelm
82eec20492
delete spam messages immediately without moving to trash folder
2023-01-07 13:29:41 +01:00
cketti
9b4941c67d
Move manifest entry so we don't get a RemoveWorkManagerInitializer lint error
2023-01-06 18:39:46 +01:00
cketti
fe9b6d4862
Switch to a WorkerFactory
that is using Koin to create workers
2023-01-06 16:29:23 +01:00
cketti
8108787957
Change the way WorkManager
is initialized
2023-01-06 16:29:23 +01:00
klemens
6d528918a1
spelling fixes
2023-01-04 21:00:41 +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
0cad7f3b47
Add setting to show floating action button on top of the message list
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
ef111af4ee
Merge branch 'main' into message-view-redesign
2022-12-15 16:02:10 +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
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
65e07cba13
Disable buildFeatures by default to speed up builds
2022-12-07 19:21:11 +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
85d9dc813c
Create AddressFormatter
to build the display name of an email address
2022-12-05 16:11:35 +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
42d99739b5
Merge branch 'main' into message-view-redesign
2022-11-18 17:13:48 +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
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
73d9100087
Make AccountManager.getAccountsFlow()
only return fully set up accounts
2022-11-07 16:39:03 +01:00
cketti
e251ec7f57
Add more logging for creating/removing notifications
2022-10-25 11:30:20 +02:00
cketti
893a6900dd
Don't throw when calling MessageStore.getMessageServerId()
...
Return `null` when the message can no longer be found in the message store.
2022-10-25 10:59:52 +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
186a1eda16
Load Unified Inbox when opening a message from the message list widget
2022-10-19 10:47:36 +02:00
cketti
af11ca5e4e
Remove now unused MessageProvider
2022-10-17 11:37:57 +02:00
cketti
dfef2d9ece
Convert MessageListRemoteViewFactory
to Kotlin
2022-10-14 14:34:45 +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
511af40dc3
Use proper API to set SNI server name on API 24+
2022-10-12 15:32:43 +02:00
cketti
c145fe03ea
Add settings to configure swipe actions
2022-10-06 17:49:36 +02:00
cketti
ac99032d3c
Add support for swipe actions to the message list screen
2022-10-06 17:49:36 +02:00
cketti
6d16698eeb
Read account default colors from resources
2022-10-05 15:59:29 +02:00
cketti
d82bc5844e
Create resource file for material colors
2022-10-05 15:59:29 +02:00
cketti
44f9efdfd5
Change 'background sync' default value to 'always'
2022-10-05 15:23:20 +02:00
cketti
6db5f09ddf
Set app theme before the first Activity is started
2022-10-05 12:15:53 +02:00
cketti
c7c0b0aa23
Update the message list when the "more messages" value of a folder changes
2022-09-26 17:03:51 +02:00
cketti
b3c8e85918
Remove volume key navigation for list views
2022-09-22 12:30:24 +02:00
cketti
66739b4b70
Switch to using 'namespace' property in build.gradle
2022-09-20 14:53:19 +02:00
cketti
8b21092cc2
Convert :backend:* to JVM modules
2022-09-17 14:53:04 +02:00
cketti
8a73c93134
Move code to select message list items to MessageListAdapter
2022-09-12 13:51:47 +02:00
cketti
cd621d047f
Rewrite MessagingController.deleteDraft()
to not use LocalStore
2022-09-10 01:53:53 +02:00
cketti
0591ff7822
Rewrite MessagingController.loadMessageRemoteSynchronous()
to not use LocalStore
2022-09-10 01:42:04 +02:00
cketti
95cfc85858
Use MessageStore
to set folder status
2022-09-10 00:57:38 +02:00
cketti
0e56eb8072
Merge pull request #6283 from thundernest/outbox_logging
...
Fix error reporting for send failures
2022-09-08 11:57:29 +02:00
cketti
5e977f3aeb
Merge pull request #6282 from thundernest/fix_search_bug
...
Fix bug in SQL query used for search
2022-09-08 11:56:22 +02:00
cketti
c80254f3a5
Remove unnecessary code
2022-09-07 17:45:21 +02:00
cketti
53a08bcdee
Fix mechanism to notify about messages that failed to send
2022-09-07 17:44:08 +02:00
cketti
2c94dc6d08
Use proper table name in SqlQueryBuilder
2022-09-07 17:10:05 +02:00
cketti
2fe289875e
Add support for removing K-9 Mail signatures from HTML message parts
2022-09-07 16:29:15 +02:00
cketti
451f4df4b2
Convert HtmlSignatureRemoverTest
to Kotlin
2022-09-07 13:37:34 +02:00
cketti
13a83d0be0
Rename .java to .kt
2022-09-07 13:36:33 +02:00
cketti
e74f0a5780
Convert HtmlSignatureRemover
to Kotlin
2022-09-07 13:07:44 +02:00
cketti
fb44ff8f1f
Rename .java to .kt
2022-09-07 13:07:44 +02:00
cketti
034eac8847
Add fast path to MessageListRepository
to bypass an empty cache
2022-09-01 16:12:25 +02:00
cketti
5418f71fc5
Change API of MessageListCache
to better match how it is used
2022-08-31 17:50:00 +02:00
cketti
cfa01261ae
Rename EmailProviderCache
to MessageListCache
2022-08-31 17:50:00 +02:00
cketti
7ea928bba5
Finally get rid of EmailProvider
2022-08-31 17:50:00 +02:00
cketti
6be1eb11dc
Use MessageRepository
instead of EmailProvider
in MessageListLoader
2022-08-31 17:50:00 +02:00
cketti
dabb398e65
Add MessageListRepository.getThread()
2022-08-31 17:50:00 +02:00
cketti
4b03f99ff7
Add MessageListRepository.getThreadedMessages()
2022-08-31 17:50:00 +02:00
cketti
170f0dbecc
Add MessageListRepository.getMessages()
2022-08-31 17:50:00 +02:00
cketti
b89f8c0e57
Convert EmailProviderCache
to Kotlin
2022-08-31 17:50:00 +02:00
cketti
3345701471
Rename .java to .kt
2022-08-31 17:50:00 +02:00
cketti
a9d03a147d
Fix EmailProviderCacheTest
2022-08-31 17:50:00 +02:00
cketti
4210237dff
Rename .java to .kt
2022-08-31 17:50:00 +02:00
cketti
e9b91f3654
Add MessageListRepository
...
Remove the "message list changed" notification mechanism provided by `EmailProvider` and use a simple callback mechanism instead.
2022-08-31 17:50:00 +02:00
cketti
e14ce585a5
Add MessageStore.getThread()
...
This is more or less a copy of `EmailProvider.getThread()`.
2022-08-30 14:49:30 +02:00
cketti
9b90d18051
Add MessageStore.getMessages()
...
This is more or less a copy of `EmailProvider.getMessages()`.
2022-08-30 13:43:30 +02:00
cketti
be5867de83
Add MessageStore.getThreadedMessages()
...
This is more or less a copy of `EmailProvider.getThreadedMessages()`.
2022-08-30 12:39:57 +02:00
cketti
77396629cb
Add MessageStore.hasMoreMessages()
2022-08-29 16:40:49 +02:00
cketti
03189fae46
Replace usages of the deprecated RuntimeEnvironment.application
2022-08-09 18:33:18 +02:00
cketti
46ca47facd
Remove unused parameter
2022-08-09 18:18:31 +02:00
cketti
997d993413
Remove unnecessary safe calls
2022-08-09 17:33:54 +02:00
cketti
9328bd5dc7
Switch from using declaringClass
to declaringJavaClass
2022-08-09 13:37:31 +02:00
cketti
1a27cfa475
Merge pull request #6231 from thundernest/autodiscovery_jvm_modules
...
Convert most of :app:autodiscovery to JVM projects
2022-08-09 11:34:11 +02:00
cketti
8156a3832b
Move EmailHelper
from :app:core to :mail:common
2022-08-08 20:58:54 +02:00
cketti
2d896196ad
Add support for converting consecutive spaces to HTML
...
We use non-breaking space characters when necessary.
2022-08-08 11:56:20 +02:00