Commit Graph

4607 Commits

Author SHA1 Message Date
Benoit Marty
bdc72f40ec 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
3e567d9b5a 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
400db77e46 chore: Remove unused import. 2025-11-07 15:24:24 +00:00
Skye Elliot
ec3103b788 fix: Use Icon(imageVector = icon) over rememberVectorPainter(icon) 2025-11-07 15:18:08 +00:00
Skye Elliot
ef56d15ef4 refactor: Extract ComposerAlertMoleculeParamsProvider to new file. 2025-11-07 15:15:00 +00:00
Skye Elliot
7abbb1bb19 Merge branch 'develop' into kaylendog/history-sharing/alert 2025-11-07 15:10:29 +00:00
Benoit Marty
3e60c71701 Use isNull() 2025-11-07 11:05:13 +01:00
Benoit Marty
a7f3fb9c38 Avoid usage of not() and add unit tests. 2025-11-07 10:18:45 +01:00
Benoit Marty
9e8fe55a90 Improve error mapping 2025-11-07 10:08:14 +01:00
Benoit Marty
a39b675cc1 Improve error mapping 2025-11-07 09:52:04 +01:00
Benoit Marty
0c5912ded4 Small cleanup 2025-11-06 15:38:41 +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
47f7eeff07 MatrixHomeServerDetails does not need to be Parcelable 2025-11-06 14:32:00 +01:00
Benoit Marty
04584412f9 Fix test 2025-11-06 14:27:20 +01:00
ganfra
c08f4a183c Merge branch 'develop' into feature/fga/role_and_permissions_rework 2025-11-06 13:51:04 +01:00
Skye Elliot
87ef2179a1 feat: Convert ComposerAlertMolecule to use alert levels. 2025-11-06 12:44:02 +00:00
Benoit Marty
786d6f5642 Do not override the value of url returned by the SDK 2025-11-06 12:29:08 +01:00
Benoit Marty
6d252c0b20 MatrixAuthenticationService: remove fun getHomeserverDetails(): StateFlow<MatrixHomeServerDetails?>. The MatrixHomeServerDetails are now return by setHomeserver 2025-11-06 12:22:48 +01:00
ganfra
ca1f799983 misc: introduce @RoomCoroutineScope 2025-11-06 10:59:50 +01:00
ganfra
de4f0e7ce3 design: improve PreferenceDropdown 2025-11-06 10:59:50 +01:00
Benoit Marty
c0800e102a Merge pull request #5679 from element-hq/feature/bma/saveChangeDialog
Extract save change dialog
2025-11-06 10:09:18 +01:00
Benoit Marty
acd3fba49e 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
f8d8830194 Rename preview. 2025-11-06 09:33:43 +01:00
ganfra
79cf41d59c Merge branch 'develop' into feature/fga/role_and_permissions_rework 2025-11-05 20:29:04 +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
89afa3ba47 Add the user certificate if any when creating Matrix Client. 2025-11-05 18:05:11 +01:00
ganfra
fca62a333e change(roles and permissions): clean code 2025-11-05 15:40:34 +01:00
Benoit Marty
baa6dbd0c4 Fix test. 2025-11-05 11:47:51 +01:00
Benoit Marty
f9f056bf85 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
849dfa4a5e design: PreferenceDropdown now uses DropdownMenu 2025-11-05 10:21:09 +01:00
ganfra
fb1e83fdf9 design: update DropdownMenu to better match figma 2025-11-05 10:16:51 +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
dd328c5a08 Use new SessionStore API 2025-11-04 16:22:16 +01:00
Benoit Marty
e96cd9e28f Merge remote-tracking branch 'origin/develop' into feature/bma/mutliAccountNotification 2025-11-04 16:20:42 +01:00
Benoit Marty
c800f86b7c 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
bfc13c37a9 Extract SaveChangesDialog to its own file 2025-11-04 15:58:59 +01:00
Benoit Marty
16fcc12e93 Remove unused property 2025-11-04 15:53:50 +01:00
Benoit Marty
fb4114adad Revert "NotificationDataFactory: improve API"
This reverts commit b0e5e6cc61.

# 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
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
9070420860 Session database: add count query. 2025-11-04 15:25:13 +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
b7f1f720dd 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
8d529849e8 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
Benoit Marty
a1e270578a Merge pull request #5672 from element-hq/feature/bma/handleEvents
Always use the handleEvent(s) function the same way.
2025-11-04 11:20:22 +01:00
Benoit Marty
c13fafd836 Merge pull request #5669 from element-hq/fix/forward-events-from-pinned-media-timeline
Fix forward events from media viewer from pinned media timeline
2025-11-04 09:52:01 +01:00
Benoit Marty
f1ad56bef1 Move dependencies block out of the android block. 2025-11-03 22:29:38 +01:00
Benoit Marty
7a7a625676 Need to provide matchingFallbacks 2025-11-03 22:18:50 +01:00
ganfra
08227d4403 change(roles and permissions): update change permission design 2025-11-03 21:40:42 +01:00
Benoit Marty
3ab67bf421 Use the new notification sound only on debug and night 2025-11-03 19:08:49 +01:00
Benoit Marty
18e46644ba Revert "Update notification sound" 2025-11-03 18:53:30 +01:00