Commit Graph

5457 Commits

Author SHA1 Message Date
Benoit Marty
2acd00bcd8 Introduce RoomListRoomSummaryFactory and remove RoomListRoomSummaryPlaceholders. 2024-01-22 11:29:54 +01:00
Benoit Marty
5bcef21154 Remove default value for constructor of RoomListRoomSummary. 2024-01-22 11:11:44 +01:00
Benoit Marty
3ec86f9b5f Ensure there is no timestamp in RoomListRoomSummary if lastMessage is null. 2024-01-22 11:05:25 +01:00
Benoit Marty
e72b5c4614 Ensure roomId are unique in the list. 2024-01-22 11:02:45 +01:00
Benoit Marty
9a9beeb532 Use aRoomListRoomSummary function instead of invoking the constructor. 2024-01-22 11:02:13 +01:00
Benoit Marty
0334da7a14 fun aRoomListRoomSummary: make internal, add all fields and reorder to match RoomListRoomSummary constructor order. 2024-01-22 10:59:42 +01:00
Benoit Marty
ca5850e0e5 Do not use the function for preview in test. 2024-01-22 10:49:19 +01:00
Benoit Marty
f42e220d55 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
52818e9d46 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
c9d1c11f4e Merge pull request #2271 from element-hq/sync-localazy
Sync Strings
2024-01-22 09:58:59 +01:00
renovate[bot]
4e0880a1b2 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
d2a4c737a6 Sync Strings from Localazy 2024-01-22 00:10:44 +00:00
Jorge Martín
2e2d4ae42c Fix nightly build in CI 2024-01-20 16:11:35 +01:00
ElementBot
710f0eb8df Update screenshots 2024-01-19 20:13:41 +00:00
Benoit Marty
815dfc298f Merge pull request #1867 from element-hq/renovate/kotlin
Update kotlin
2024-01-19 18:38:06 +01:00
Benoit Marty
846fd0106e Preview with a last message by default. 2024-01-19 17:59:18 +01:00
Benoit Marty
32dc7bca23 Merge pull request #2221 from element-hq/feature/bma/displayNameAmbiguous
Display name disambiguation
2024-01-19 17:42:32 +01:00
Benoit Marty
5e5eddd537 Merge pull request #2244 from element-hq/feature/bma/encryptedDb2
Encrypted db
2024-01-19 17:40:23 +01:00
Jorge Martin Espinosa
ac3201b317 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
854622b85f 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
ccec00515d Improve aRoomListRoomSummary method. 2024-01-19 16:51:05 +01:00
Benoit Marty
31b2c55bee Remove default value of RoomSummaryDetails constructor, and iterate on fixture functions. 2024-01-19 16:46:42 +01:00
Benoit Marty
49abbfce7f Remove dead code. 2024-01-19 16:46:42 +01:00
Benoit Marty
82a3750cd8 Remove notificationMode to userDefinedNotificationMode to match SDK name. 2024-01-19 16:46:42 +01:00
Benoit Marty
9b3a0c1f08 Remove hasOngoingCall to hasRoomCall to match SDK name. 2024-01-19 16:16:57 +01:00
Benoit Marty
371aec4427 Remove RoomSummaryDetails.lastMessageTimestamp and replace by a getter on lastMessage 2024-01-19 16:11:10 +01:00
Benoit Marty
0e57fbf352 Rename userAvatarURLString to userAvatarUrl 2024-01-19 15:59:50 +01:00
Benoit Marty
603b10264b Rename avatarURLString to avatarUrl 2024-01-19 15:58:37 +01:00
Benoit Marty
47a5c74129 Rename aRoomSummaryDetail to aRoomSummaryDetails 2024-01-19 15:55:26 +01:00
Benoit Marty
fae2450675 Add tombstoned to the shared dict. 2024-01-19 15:54:06 +01:00
Benoit Marty
3c4c9fa92b 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
347cbb9c35 Remove obsolete comment. 2024-01-19 13:24:50 +01:00
Jorge Martín
f4f2f50047 Adapt changes from SDK 0.1.84 2024-01-19 13:20:13 +01:00
renovate[bot]
78dc9d79e3 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.84 2024-01-19 09:00:32 +00:00
Benoit Marty
0e52529de6 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
2090389333 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]
96db7426f2 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]
66bddf5357 Update kotlin 2024-01-19 00:33:08 +00:00
renovate[bot]
61199c1095 Update dependency com.google.firebase:firebase-bom to v32.7.1 2024-01-18 19:37:23 +00:00
Benoit Marty
cd71c4b7e4 Apply the plugin com.autonomousapps.dependency-analysis only to the root project. 2024-01-18 17:40:08 +01:00
Jorge Martin Espinosa
b755a2584b 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
e6d2e1af72 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
95e228a993 Fix test. 2024-01-18 12:44:20 +01:00
Benoit Marty
4e232f6e41 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
d04f76e8cf SessionData: add the passphrase. 2024-01-18 11:50:05 +01:00
Jorge Martin Espinosa
27ddc4ec74 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
renovate[bot]
3d5cfe881b Update dependencyAnalysis to v1.29.0 2024-01-18 03:10:45 +00:00
renovate[bot]
7a852f57ca Update plugin dependencycheck to v9.0.9 (#2243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 18:25:25 +01:00
renovate[bot]
d695d872ca Update dependency com.google.testparameterinjector:test-parameter-injector to v1.15 (#2246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 18:25:03 +01:00
Benoit Marty
5a3e0b8c73 Better log. 2024-01-17 18:12:57 +01:00