Commit Graph

4590 Commits

Author SHA1 Message Date
ganfra
c08f4a183c Merge branch 'develop' into feature/fga/role_and_permissions_rework 2025-11-06 13:51:04 +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
Benoit Marty
0743b56bc4 Always use the handleEvent(s) function the same way. 2025-11-03 18:49:00 +01:00
Benoit Marty
2eeb5fe1cc Add test on forwarding from pinned event 2025-11-03 16:08:59 +01:00
Benoit Marty
c993506129 Code cleanup 2025-11-03 16:07:13 +01:00
Benoit Marty
5b18f6f93e Code cleanup 2025-11-03 15:53:31 +01:00
Benoit Marty
19b0e27ab2 Update notification sound 2025-11-03 14:58:40 +01:00
Jorge Martín
7421e6545c Pass around fromPinnedEvents so we can use it to decide whether to forward the event from the main timeline or the pinned events one 2025-11-03 14:43:57 +01:00
ElementBot
287a017739 Sync Strings from Localazy (#5662)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-03 10:58:12 +01:00
renovate[bot]
2f5d0c340c fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.31 (#5657)
* fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.31

* Fix API breaks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-11-03 10:48:06 +01:00
Benoit Marty
e6934aacfa Improve code. 2025-10-31 19:15:19 +01:00
Jorge Martin Espinosa
04f70c8130 Enable SyncNotificationsWithWorkManager by default in release mode apps too (#5646) 2025-10-31 16:25:36 +01:00
Benoit Marty
e70d767183 Remove context(parentNode: Node) and provide the parent Node as a parameter. 2025-10-31 12:04:57 +01:00
Benoit Marty
df4853e1f5 Fix test. 2025-10-31 10:10:00 +01:00
Benoit Marty
af2429d8ed Fix issue after rebase. 2025-10-31 10:09:24 +01:00
Benoit Marty
231077d94b Remove obsolete TODO 2025-10-31 09:32:41 +01:00
Benoit Marty
d5fdc5f8e6 Small cleanup 2025-10-31 09:32:40 +01:00
Benoit Marty
947347b3f1 Move call to setGroup to configureWith 2025-10-31 09:31:57 +01:00
Benoit Marty
31ff72b319 Use TestScope.backgroundScope 2025-10-31 09:29:48 +01:00