Commit graph

4614 commits

Author SHA1 Message Date
Benoit Marty
c4e0370f41 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty
8769b98862
Merge pull request #5698 from element-hq/feature/bma/handleEvent
Code consistency around view event handling
2025-11-10 09:36:04 +01:00
Benoit Marty
3b6af9d25d
Merge pull request #5701 from element-hq/feature/bma/improveComposerAlertMolecule
Improve composer alert molecule
2025-11-10 09:22:26 +01:00
ElementBot
967f250e4b
Sync Strings from Localazy (#5704)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-10 09:21:00 +01:00
Benoit Marty
39aa79335b
Merge pull request #5691 from kaylendog/kaylendog/history-sharing/alert
Convert `ComposerAlertMolecule` to use alert levels.
2025-11-08 14:26:03 +01:00
Benoit Marty
77bc9b811a
Merge pull request #5692 from element-hq/feature/bma/loginFlow
Improve account provider selection during the login flow
2025-11-07 16:48:03 +01:00
Skye Elliot
d4dba4b0fc
chore: Remove unused import. 2025-11-07 15:24:24 +00:00
Skye Elliot
7595a0be35
fix: Use Icon(imageVector = icon) over rememberVectorPainter(icon) 2025-11-07 15:18:08 +00:00
Skye Elliot
b163959241
refactor: Extract ComposerAlertMoleculeParamsProvider to new file. 2025-11-07 15:15:00 +00:00
Skye Elliot
2f9bcde9fc
Merge branch 'develop' into kaylendog/history-sharing/alert 2025-11-07 15:10:29 +00:00
Benoit Marty
2d80e9c40d Rename parameter to event for code consistency 2025-11-07 12:28:16 +01:00
Benoit Marty
0cafe8fee0 Rename eventSink to handleEvent 2025-11-07 12:23:46 +01:00
Benoit Marty
7ad9c8f687 Rename handleEvents to handleEvent 2025-11-07 12:21:43 +01:00
Benoit Marty
cc01e19bf7 Use isNull() 2025-11-07 11:05:13 +01:00
Benoit Marty
70e3e768aa Avoid usage of not() and add unit tests. 2025-11-07 10:18:45 +01:00
Benoit Marty
98792c9562 Improve error mapping 2025-11-07 10:08:14 +01:00
Benoit Marty
e12726f405 Improve error mapping 2025-11-07 09:52:04 +01:00
Benoit Marty
fd0ef1ae7a Small cleanup 2025-11-06 15:38:41 +01:00
Benoit Marty
8fa2c6c85f 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
6617db0ce6 MatrixHomeServerDetails does not need to be Parcelable 2025-11-06 14:32:00 +01:00
Benoit Marty
4cc5cf0084 Fix test 2025-11-06 14:27:20 +01:00
ganfra
0cad4175fa Merge branch 'develop' into feature/fga/role_and_permissions_rework 2025-11-06 13:51:04 +01:00
Skye Elliot
5fe2c86e1d
feat: Convert ComposerAlertMolecule to use alert levels. 2025-11-06 12:44:02 +00:00
Benoit Marty
cee6475eb8 Do not override the value of url returned by the SDK 2025-11-06 12:29:08 +01:00
Benoit Marty
0be6d13025 MatrixAuthenticationService: remove fun getHomeserverDetails(): StateFlow<MatrixHomeServerDetails?>. The MatrixHomeServerDetails are now return by setHomeserver 2025-11-06 12:22:48 +01:00
ganfra
910bac9c4e misc: introduce @RoomCoroutineScope 2025-11-06 10:59:50 +01:00
ganfra
91c7b597ce design: improve PreferenceDropdown 2025-11-06 10:59:50 +01:00
Benoit Marty
c1da4820b1
Merge pull request #5679 from element-hq/feature/bma/saveChangeDialog
Extract save change dialog
2025-11-06 10:09:18 +01:00
Benoit Marty
4bb27a4ce4
Merge pull request #5686 from element-hq/feature/bma/userCertificate
Add the user certificate if any when creating Matrix Client.
2025-11-06 09:35:37 +01:00
Benoit Marty
06226c1052 Rename preview. 2025-11-06 09:33:43 +01:00
ganfra
83a4457d6e Merge branch 'develop' into feature/fga/role_and_permissions_rework 2025-11-05 20:29:04 +01:00
Benoit Marty
ba0c659df1
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
e9cab238be Add the user certificate if any when creating Matrix Client. 2025-11-05 18:05:11 +01:00
ganfra
fe7bc4fd9d change(roles and permissions): clean code 2025-11-05 15:40:34 +01:00
Benoit Marty
cf742b42d0 Fix test. 2025-11-05 11:47:51 +01:00
Benoit Marty
1d79ab88bd Do not use the bastDescription but the cation for image/video/sticker because else the filename will be rendered in the notification and for media we do not want that.
Also fixes the issue when images is not rendered on some system and so they can be empty notification.

Closes #3945
2025-11-05 11:00:13 +01:00
ganfra
8b60c8309c design: PreferenceDropdown now uses DropdownMenu 2025-11-05 10:21:09 +01:00
ganfra
3de8618c64 design: update DropdownMenu to better match figma 2025-11-05 10:16:51 +01:00
Benoit Marty
172d1ab9c4
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
af12ff3c9a Use new SessionStore API 2025-11-04 16:22:16 +01:00
Benoit Marty
1bba0d4dda Merge remote-tracking branch 'origin/develop' into feature/bma/mutliAccountNotification 2025-11-04 16:20:42 +01:00
Benoit Marty
d6360e82e0
Merge pull request #5678 from element-hq/feature/bma/countAccounts
Introduce new query to count accounts
2025-11-04 16:17:10 +01:00
Benoit Marty
d94e247404 Extract SaveChangesDialog to its own file 2025-11-04 15:58:59 +01:00
Benoit Marty
d968d5aff0 Remove unused property 2025-11-04 15:53:50 +01:00
Benoit Marty
be807f4b5c Revert "NotificationDataFactory: improve API"
This reverts commit 7d7ea5d67c.

# Conflicts:
#	libraries/push/impl/src/test/kotlin/io/element/android/libraries/push/impl/notifications/NotificationDataFactoryTest.kt
2025-11-04 15:43:23 +01:00
Jorge Martin Espinosa
7aa564e74d
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
85c9fd916b Session database: add count query. 2025-11-04 15:25:13 +01:00
Benoit Marty
ff67c8beef 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
2939878daa
Merge pull request #5673 from element-hq/feature/bma/notificationSoundOnNightlies
Use the new notification sound only on debug and nightly build
2025-11-04 11:56:20 +01:00
Jorge Martin Espinosa
d6e0489701
Try fixing 'Timeline Event object has already been destroyed' (#5675)
This will display a fallback notification. I don't see how the current code could cause it, but I tried to re-structure it a bit so we don't have nested `use` usages and `timestamp` is fetched ahead of time.
2025-11-04 11:36:17 +01:00