Benoit Marty
bee56c83ae
Merge pull request #2273 from element-hq/feature/bma/roomListRoomSummaryCleanup
...
Room list room summary cleanup
2024-01-22 15:08:22 +01:00
Benoit Marty
bbd871031a
Fix detekt issue:
...
Use `?.let {}` instead of if/else with a null block when checking for nullable values [UseLet]
2024-01-22 14:21:49 +01:00
Benoit Marty
473922240e
Fix compilation of sample app.
2024-01-22 14:04:57 +01:00
ElementBot
9460bcdeb6
Update screenshots
2024-01-22 10:36:08 +00:00
Benoit Marty
5caebaaa1b
Introduce RoomListRoomSummaryFactory and remove RoomListRoomSummaryPlaceholders.
2024-01-22 11:29:54 +01:00
Benoit Marty
7832eb74b9
Remove default value for constructor of RoomListRoomSummary.
2024-01-22 11:11:44 +01:00
Benoit Marty
8eba12593b
Ensure there is no timestamp in RoomListRoomSummary if lastMessage is null.
2024-01-22 11:05:25 +01:00
Benoit Marty
ed1112f09b
Ensure roomId are unique in the list.
2024-01-22 11:02:45 +01:00
Benoit Marty
7fee884677
Use aRoomListRoomSummary function instead of invoking the constructor.
2024-01-22 11:02:13 +01:00
Benoit Marty
579f4d6a4e
fun aRoomListRoomSummary: make internal, add all fields and reorder to match RoomListRoomSummary constructor order.
2024-01-22 10:59:42 +01:00
Benoit Marty
4924f86d3b
Do not use the function for preview in test.
2024-01-22 10:49:19 +01:00
Benoit Marty
c3538e500d
Merge pull request #2130 from element-hq/feature/bma/roomListBadge
...
Some rework on the codebase
2024-01-22 10:17:38 +01:00
Benoit Marty
f64c32e9d3
Merge pull request #2269 from element-hq/misc/jme/fix-nightly-build-ci
...
Fix nightly build in CI
2024-01-22 10:00:53 +01:00
Benoit Marty
f13eef99ae
Merge pull request #2271 from element-hq/sync-localazy
...
Sync Strings
2024-01-22 09:58:59 +01:00
renovate[bot]
42c8e11707
Update dependency com.google.truth:truth to v1.3.0 ( #2266 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 07:54:18 +01:00
bmarty
4914c512fe
Sync Strings from Localazy
2024-01-22 00:10:44 +00:00
Jorge Martín
28549068ae
Fix nightly build in CI
2024-01-20 16:11:35 +01:00
ElementBot
ec7badfb29
Update screenshots
2024-01-19 20:13:41 +00:00
Benoit Marty
bb822a5042
Merge pull request #1867 from element-hq/renovate/kotlin
...
Update kotlin
2024-01-19 18:38:06 +01:00
Benoit Marty
cf6bcca9cd
Preview with a last message by default.
2024-01-19 17:59:18 +01:00
Benoit Marty
5e359a4e73
Merge pull request #2221 from element-hq/feature/bma/displayNameAmbiguous
...
Display name disambiguation
2024-01-19 17:42:32 +01:00
Benoit Marty
b4773d541f
Merge pull request #2244 from element-hq/feature/bma/encryptedDb2
...
Encrypted db
2024-01-19 17:40:23 +01:00
Jorge Martin Espinosa
5d462d5ba9
Remove some state events at the start of DMs ( #2252 )
...
* Remove some initial events for DMs
2024-01-19 17:34:27 +01:00
Jorge Martin Espinosa
69b290f6fd
Make the room settings screen update automatically ( #2197 )
...
* Make the room settings screen update automatically
2024-01-19 17:34:06 +01:00
Benoit Marty
9d586bf2bb
Improve aRoomListRoomSummary method.
2024-01-19 16:51:05 +01:00
Benoit Marty
f8f100ccc8
Remove default value of RoomSummaryDetails constructor, and iterate on fixture functions.
2024-01-19 16:46:42 +01:00
Benoit Marty
b58ac4b02f
Remove dead code.
2024-01-19 16:46:42 +01:00
Benoit Marty
782f73fb7c
Remove notificationMode to userDefinedNotificationMode to match SDK name.
2024-01-19 16:46:42 +01:00
Benoit Marty
ecb000b8ed
Remove hasOngoingCall to hasRoomCall to match SDK name.
2024-01-19 16:16:57 +01:00
Benoit Marty
2c691d527b
Remove RoomSummaryDetails.lastMessageTimestamp and replace by a getter on lastMessage
2024-01-19 16:11:10 +01:00
Benoit Marty
be0da18a7b
Rename userAvatarURLString to userAvatarUrl
2024-01-19 15:59:50 +01:00
Benoit Marty
d1c7520065
Rename avatarURLString to avatarUrl
2024-01-19 15:58:37 +01:00
Benoit Marty
4c86126eae
Rename aRoomSummaryDetail to aRoomSummaryDetails
2024-01-19 15:55:26 +01:00
Benoit Marty
35e5df04f5
Add tombstoned to the shared dict.
2024-01-19 15:54:06 +01:00
Benoit Marty
72253c081b
Merge pull request #2255 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
...
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.84
2024-01-19 14:48:45 +01:00
Benoit Marty
ea90b2b833
Remove obsolete comment.
2024-01-19 13:24:50 +01:00
Jorge Martín
48b90fd317
Adapt changes from SDK 0.1.84
2024-01-19 13:20:13 +01:00
renovate[bot]
27ed057475
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.84
2024-01-19 09:00:32 +00:00
Benoit Marty
81f840f86f
Merge pull request #2254 from element-hq/renovate/com.google.firebase-firebase-bom-32.x
...
Update dependency com.google.firebase:firebase-bom to v32.7.1
2024-01-19 10:00:25 +01:00
Benoit Marty
57fcd8e228
Merge pull request #2249 from element-hq/renovate/dependencyanalysis
...
Update dependencyAnalysis to v1.29.0
2024-01-19 09:59:50 +01:00
renovate[bot]
e2614318f4
Update dependency com.squareup:kotlinpoet to v1.16.0 ( #2253 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-19 08:39:39 +01:00
renovate[bot]
d9b0f8a252
Update kotlin
2024-01-19 00:33:08 +00:00
renovate[bot]
4c51609be3
Update dependency com.google.firebase:firebase-bom to v32.7.1
2024-01-18 19:37:23 +00:00
Benoit Marty
53fce3e148
Apply the plugin com.autonomousapps.dependency-analysis only to the root project.
2024-01-18 17:40:08 +01:00
Jorge Martin Espinosa
6ecce81f45
Try mitigating unexpected logouts ( #2251 )
...
* Try mitigating unexpected logouts.
Try making getting/storing session data use a Mutex for synchronization.
Also added some more logs so we can understand exactly where it's failing.
2024-01-18 16:22:25 +01:00
Benoit Marty
e00d1abe44
Merge pull request #2248 from element-hq/feature/bma/pushProviderSelection
...
Ensure that a PushProvider is available on a device before using it.
2024-01-18 14:46:05 +01:00
Benoit Marty
877ed3c7ac
Fix test.
2024-01-18 12:44:20 +01:00
Benoit Marty
3a91f830da
Encrypt databases used by the Rust SDK.
...
The passphrase is stored in the SessionData, so that a Session created by Element Android can be restored.
Existing sessions will have a null passphrase and will continue to work.
New session will use a passphrase, only on Nightly and Debug build for now.
2024-01-18 12:07:42 +01:00
Benoit Marty
f9c1892f2f
SessionData: add the passphrase.
2024-01-18 11:50:05 +01:00
Jorge Martin Espinosa
56990e5e5b
Upgrade Material3 Compose to 1.2.0-beta02 ( #2247 )
...
* Upgrade Material3 Compose to `1.2.0-beta02`.
There is also a constraint on a transitive Compose Foundation dependency version (1.6.0-beta02) that fixes the timeline scrolling issue.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-18 08:49:55 +01:00