renovate[bot]
7b3f082eb3
fix(deps): update kotlin to 2.3.0 ( #5917 )
...
* fix(deps): update kotlin to 2.3.0
* Cleanup - remove `datetime` compat version
* Fix several lint issues caused by the Kotlin compiler inference working better (checks in nullables, vars, etc.)
* Fix tests by removing mock in `File.readBytes`, it seems like it's no longer allowed. Using a tmp file works well enough.
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org >
Co-authored-by: Jorge Martín <jorgem@element.io >
2025-12-22 14:28:15 +01:00
Jorge Martin Espinosa
0b5c4fc8bb
Add threadInfo field to message like timeline events ( #5930 )
...
* Add `threadInfo` field to message like timeline events:
- Polls
- Stickers
- UTDs
* Add missing cases for `EventTimeline.threadInfo()`
2025-12-19 09:43:40 +00:00
Benoit Marty
65c17eacc6
Merge pull request #5909 from element-hq/feature/bma/qrCodeLogin
...
Link new device using QrCode - First version
2025-12-18 16:08:21 +01:00
Jorge Martín
dc0b508b08
Add MatrixClient.getDatabaseSizes
...
This returns a `SdkStoreSizes` object, with the possible SDK database sizes.
2025-12-18 14:08:38 +01:00
Benoit Marty
fd446e98dd
Link new device using QrCode.
2025-12-16 16:14:04 +01:00
ganfra
591eac83bd
Merge branch 'develop' into feature/fga/space_settings_iteration
2025-12-15 16:06:06 +01:00
ganfra
5c8fd831e3
misc(power level) : update tests following api change
2025-12-12 11:52:24 +01:00
ganfra
2dc8018c37
misc(power level) : introduce RoomPermissions
2025-12-12 11:26:54 +01:00
ganfra
03dd89a77f
change(room permissions): support space management
2025-12-10 15:29:50 +01:00
Jorge Martín
482d7e0648
Add a periodic DB vacuuming task
2025-12-10 15:22:16 +01:00
ganfra
0befce4743
misc(power level) : clean up code
2025-12-10 11:26:07 +01:00
ganfra
b32157f99e
misc(power level) : update tests following api change
2025-12-09 22:38:30 +01:00
ganfra
9b056f8aec
misc(power level) : introduce RoomPermissions
2025-12-05 12:53:58 +01:00
ganfra
07d02fd076
Merge branch 'develop' into feature/fga/space_invite_notification
2025-12-04 15:53:49 +01:00
ganfra
a27e31b01b
change(notification): handle invite notification for spaces
2025-12-04 12:25:30 +01:00
Jorge Martín
739f12d603
Replace AnalyticsSdkSpanFactory with AnalyticsSdkManager.
...
`AnalyticsSdkManager` also enables and disables Sentry logging in the SDK based on analytics user content.
2025-12-04 12:17:52 +01:00
ganfra
ca526580fd
misc : use new_latest_event api (+ some renaming)
2025-11-26 10:58:16 +01:00
ganfra
8a599a1e51
deps(sdk) : add fallbackToServer on userIdentity api.
2025-11-24 20:22:11 +01:00
Benoit Marty
966eab8796
Fix roleOf extension. Creator are Owner Role only if privilegedCreatorRole is true.
2025-11-20 17:41:01 +01:00
ganfra
f5d450e68b
deps(sdk): fix api usages
2025-11-19 13:07:59 +01:00
Benoit Marty
d8cacba43a
Improve API: use RoomId instead of String.
2025-11-19 10:14:03 +01:00
Benoit Marty
88f0111137
Ensure in test that rooms are sorted.
2025-11-19 10:14:03 +01:00
Benoit Marty
de2ab5a557
Merge pull request #5722 from element-hq/feature/bma/moduleCleanup
...
Module cleanup
2025-11-18 16:14:10 +01:00
ganfra
fbb906fd64
Merge branch 'develop' into feature/fga/members_improvements
2025-11-13 14:30:29 +01:00
Benoit Marty
6284753e59
Fix tests
2025-11-12 23:04:55 +01:00
ganfra
a3c81d5f25
change(room members): makes sure to subscribe to timeline items changes
2025-11-12 17:53:52 +01:00
Benoit Marty
1292da2a72
Copyright: Add Element Creations Ltd. copyright
2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631
Copyright: Add final period
2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586
Copyright: run command uv run license-editor --repository ../element-x-android
2025-11-10 10:09:26 +01:00
Benoit Marty
a7f3fb9c38
Avoid usage of not() and add unit tests.
2025-11-07 10:18:45 +01:00
Benoit Marty
6006537bdc
Remove A_HOMESERVER and A_HOMESERVER_OIDC from TestData and replace by local fun aMatrixHomeServerDetails().
2025-11-06 15:38:37 +01:00
Benoit Marty
04584412f9
Fix test
2025-11-06 14:27:20 +01:00
Benoit Marty
37f10ced4a
Merge pull request #5645 from element-hq/feature/bma/mutliAccountNotification
...
Improve rendering notification for multi account
2025-11-05 18:08:20 +01:00
Benoit Marty
7d696d542c
Merge pull request #5677 from element-hq/feature/bma/loadingVerificationAction
...
Make sure we know the session verification state before showing the options to verify the session
2025-11-04 16:32:17 +01:00
Benoit Marty
e96cd9e28f
Merge remote-tracking branch 'origin/develop' into feature/bma/mutliAccountNotification
2025-11-04 16:20:42 +01:00
Jorge Martin Espinosa
015b497d5a
Use the SDK Client to check whether a homeserver is compatible ( #5664 )
...
* Use the SDK `Client` to check whether a HS is compatible
* Remove usage of unused `WellKnown`, keep `ElementWellKnown`
* Make `HomeServerLoginCompatibilityChecker.check` return `true/false` values to distinguish non-valid homeservers from a failed check
* Use `inMemoryStore` and `serverNameOrHomeserverUrl`
* Do some cleanup of `isValid` and `isWellknownValid`
* Make the debounce for starting the search a bit higher, as checking for the homeservers seems more resource-intensive now
2025-11-04 15:43:00 +01:00
Benoit Marty
a2b6561009
Make sure we know the session verification state before showing the option to verify the session. #5521
2025-11-04 12:19:09 +01:00
Benoit Marty
031ca4f333
Notification: show userId in notification when several accounts are configured.
2025-10-31 09:25:01 +01:00
Jorge Martin Espinosa
1f5f6896c6
Fix marking a room as read re-instantiates its timeline ( #5628 )
...
* Add `Timeline.markAsRead` to avoid reinstantiating the timeline using `Room.markAsRead`
* Mark as read when exiting the room screen, destroy the timeline when fully closed
* Ensure `MarkAsFullyReadAndExit` event can only be processed once
* Fix `DelayedVisibility` not being displayed in previews
2025-10-30 08:39:06 +01:00
Benoit Marty
e9cfce915a
Extract code for forwarding Event to its own modules.
2025-10-28 15:42:39 +01:00
Benoit Marty
d8129e72bc
Let notifications uses the brandColor.
2025-10-24 17:04:48 +02:00
Jorge Martin Espinosa
7491b5479a
Allow uploading notification push rules in bug reports ( #5538 )
...
* Allow uploading push rules in bug reports
* Improve bug report screen previews
* Update screenshots
---------
Co-authored-by: ElementBot <android@element.io >
2025-10-15 11:45:04 +02:00
Benoit Marty
e6cd8d5fb5
Remove useless Immutable annotation
2025-10-09 18:22:33 +02:00
Benoit Marty
8f703c2aa7
Rename RoomDirectoryList.State to RoomDirectoryList.SearchResult to avoid this class to be checked for stability.
2025-10-09 18:22:27 +02:00
Benoit Marty
da78386d25
Add Konsist test to check that toPersistentList() is not used.
...
Same for `toPersistentSet()` and `toPersistentMap()`.
Fix existing issues.
2025-10-08 15:51:18 +02:00
Benoit Marty
40e3ba8d56
Use base type.
2025-10-06 15:13:44 +02:00
Benoit Marty
cabeb19ae1
Naming convention and use MatrixMediaLoader instead of MatrixClient for Coil factories.
2025-10-06 15:13:41 +02:00
Benoit Marty
67c6a1bd5f
Let MatrixClient exposes val instead of fun for the services.
2025-10-06 15:12:35 +02:00
Hubert Chathi
7c61c70b62
Only offer to verify if a cross-signed device is available ( #5433 )
...
* Only offer to verify if a cross-signed device is available
* Fix tests
* use the right exception mapper
* adjust flag name and logic in ChooseSelfVerificationState
* add comment
* switch order of states to match previous logic
2025-10-06 12:40:52 +02:00
Benoit Marty
acc18fc081
Merge pull request #5451 from element-hq/feature/bma/spaceAnnoucement
...
Space annoucement
2025-10-03 16:48:49 +02:00