Commit graph

195 commits

Author SHA1 Message Date
Wolf-Martell Montwé
6b51d63c7a
Bump Gradle Plugins
- Dependency Check 0.50.0 -> 0.51.0
- Dependency Guard 0.4.3 -> 0.5.0
- Detekt 1.23.4 -> 1.23.5
- Detetk Plugin Compose 0.3.9 -> 0.3.11
- Ktlint 1.0.1 -> 1.1.1
- Spotless 6.23.3 -> 6.25.0
2024-02-21 14:22:23 +01:00
Wolf-Martell Montwé
69010f478f
Rename isSameAs/isNotSameAs to isSameInstanceAs/isNotSameInstanceAs 2024-01-03 15:02:15 +01:00
Wolf-Martell Montwé
7565bb8e66
Fix max-line-length issues manually as auto format does fail 2023-11-07 10:40:08 +01:00
Wolf-Martell Montwé
0333e4714e
Enable OptionalUnit rule 2023-10-10 13:34:45 +02:00
Wolf-Martell Montwé
b970e2f90f
Enable AlsoCouldBeApply rule 2023-10-10 13:34:45 +02:00
cketti
a75c7abbdf Combine settings for navigation action after removing a message
After the user deletes or moves a message in the message view screen, the available navigation options are:
- Return to message list
- Show previous message
- Show next message

We get rid of the "magic" mode that tries to keep going in the direction in which the user was moving previously.
2023-10-06 11:03:28 +02:00
cketti
67839f3f14 Extract SettingsUpgrader implementations to separate files 2023-10-05 18:40:09 +02:00
Wolf-Martell Montwé
9e0f1bd815
Resolve app.core dependency blocking oauth extraction 2023-06-20 15:17:45 +02:00
cketti
ef498c60e4 Update assertk to version 0.26 2023-05-16 17:20:25 +02:00
cketti
5498567bf2 Switch assertions to assertk 2023-05-14 13:00:28 +02:00
cketti
b5964f32f2 Change DefaultMessageCountsProvider to support LocalSearch.conditions = null 2023-03-21 18:34:21 +01:00
Wolf Montwé
a2af0c7bf3
Change :app:storage module to assertk 2023-03-21 14:14:19 +01:00
cketti
f17fb9fe17 Remove unused method 2023-03-15 17:28:58 +01: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
Wolf Montwé
532642d8db
Remove Preconditions 2023-03-09 14:02:02 +01:00
Wolf Montwé
3ed19f0011
Move CursorExtensions to :core:android:common module 2023-03-09 12:14:28 +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
cketti
1cbdde5bfd Add database migration to fix stored identity values 2023-02-21 17:59:49 +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
Wolf Montwe
0d030aab6d
Remove trimTrailingWhitespace as not needed for ktlint 2023-02-06 10:49:21 +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
ef583ba620 Rewrite MessageCountsProvider to use MessageStore 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
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
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
Goooler
be9b4ef4aa Configure android extensions in subprojects 2022-12-07 19:04:23 +01: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
affe83a9b9 Remove trimIndent() from production code 2022-09-22 15:47:53 +02:00
cketti
66739b4b70 Switch to using 'namespace' property in build.gradle 2022-09-20 14:53:19 +02:00
cketti
2c94dc6d08 Use proper table name in SqlQueryBuilder 2022-09-07 17:10:05 +02:00
cketti
034eac8847 Add fast path to MessageListRepository to bypass an empty cache 2022-09-01 16:12:25 +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
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
29a530a6fb Remove unused method 2022-08-09 17:36:20 +02:00
cketti
aed6b6bb7f Code style fixes 2022-08-08 13:23:15 +02:00
啊o额iu鱼
7783cc3074
move fulltext entry when message moving
Otherwise, the moved messages cannot be searched,
2022-08-08 16:24:23 +08:00
cketti
be649e3ba0 Update Koin to version 3.2.0 2022-08-05 23:51:32 +02:00
cketti
9a9c781eaa Flag existing Gmail accounts for OAuth upgrade 2022-06-17 14:40:23 +02:00