Commit graph

12382 commits

Author SHA1 Message Date
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
a82c916ca9 Create specific errors for Invalid or Unsupporte homeserver. 2025-11-07 09:42:06 +01:00
ElementBot
3c3c81622f Update screenshots 2025-11-06 14:58:50 +00:00
Benoit Marty
8e72ea4e7c Use presenter test extension 2025-11-06 15:38:43 +01:00
Benoit Marty
0c5912ded4 Small cleanup 2025-11-06 15:38:41 +01:00
Benoit Marty
bb93d6ff06 Always let the user try what they have entered, to get an explicit error if they continue 2025-11-06 15:38:40 +01:00
Benoit Marty
c397c8e2c3 Ensure user cannot select unsupported homeserver. In this case show the appropriate error (parity with iOS) 2025-11-06 15:38:39 +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
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
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
renovate[bot]
28514e88ff fix(deps): update dependency androidx.core:core-splashscreen to v1.2.0 (#5687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-06 09:02:28 +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
a33d4e8b42 Merge pull request #5668 from element-hq/feature/fga/space_settings
Space : prepare Space Settings screen
2025-11-05 16:18:09 +01:00
ganfra
f4ef9a0545 quality: use callback() method in nodes 2025-11-05 15:42:59 +01:00
Benoit Marty
cdd6744135 Changelog for version 25.11.2 2025-11-05 12:49:26 +01:00
Benoit Marty
fb79421f4d Adding fastlane file for version 25.11.2 2025-11-05 12:49:25 +01:00
Benoit Marty
36a2ecff66 Setting version for the release 25.11.2 2025-11-05 12:49:24 +01:00
Benoit Marty
c6c13bc7eb Merge pull request #5684 from element-hq/feature/bma/notificationCaption
Do not use the bestDescription but the caption for images, when available
2025-11-05 12:40:11 +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
82babb9a60 Merge pull request #5683 from element-hq/renovate/metro
fix(deps): update metro to v0.7.4
2025-11-05 10:42:18 +01:00
renovate[bot]
09aaab89d0 fix(deps): update metro to v0.7.4 2025-11-05 02:42:27 +00:00
renovate[bot]
cf011795bf fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.11.4 (#5681)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-04 20:25:56 +00: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
ElementBot
0d055c3cd9 Update screenshots 2025-11-04 15:31:36 +00: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
fad10f5756 Use SaveChangesDialog 2025-11-04 16:03:33 +01:00
Benoit Marty
57f3182e7d Use SaveChangesDialog 2025-11-04 15:59:00 +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
0367ae610c Session database: use the new count API. 2025-11-04 15:30:29 +01:00
ElementBot
604d091dbc Update screenshots 2025-11-04 14:28:16 +00:00
Benoit Marty
9070420860 Session database: add count query. 2025-11-04 15:25:13 +01:00
Benoit Marty
0061b625f1 Merge pull request #5676 from element-hq/renovate/roborazzi
Update roborazzi to v1.51.0
2025-11-04 15:15:27 +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
ganfra
aba7b1195d Merge pull request #5598 from element-hq/renovate/io.element.android-element-call-embedded-0.x
Update dependency io.element.android:element-call-embedded to v0.16.1
2025-11-04 12:01:57 +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