Commit Graph

999 Commits

Author SHA1 Message Date
Mauro Romito
f35decc556 feat: decline and block screen
fix

improvement

fix conflict

fix tests

tests
2025-04-07 18:52:56 +02:00
Mauro Romito
58a3d0a7f3 feat: report a room
updated tests

updated tests

added a feature flag to report room

removed delay

rename
2025-04-07 17:17:08 +02:00
Doug
586a62fef6 Add a Compound hook. (#3979)
* Rename AppHooksProtocol.configure() to .setUp().

* Add a CompoundHook.
2025-04-04 17:46:31 +01:00
Stefan Ceriu
881017f97a Bump the RustSDK to v25.04.02 2025-04-03 18:08:34 +03:00
Mauro Romito
4f75900b57 updated EC to 0.9.0 2025-04-01 16:34:41 +02:00
Stefan Ceriu
c392c57c25 Bump the RustSDK to v25.03.31
- adopt new async throwing methods
- use the sdk side TimelineStart virtual timeline item
- remove async from `directRoomForUserID` as it's not async on the rust side
- remove async from `retryDecryption` as it's spawning not blocking on the rust side
2025-04-01 13:12:29 +03:00
Doug
2a146ca022 Allow the services that are configured by secrets to be disabled. (#3961)
* Make the map tiler key optional.

* Make the bug report URL optional.

* Make the sentry URL optional.

* Make the analytics configuration optional and handle consent taking Sentry into account.

* Stop prompting users to report crashes when Sentry is disabled.
2025-04-01 09:24:12 +01:00
Mauro Romito
46ef4502ac fix: update compound to fix pickers and toggles
in list forms
2025-03-28 10:12:18 +01:00
Element CI
fbcce5bda0 Prepare next release 2025-03-27 06:53:19 -07:00
Doug
b6e5fe7015 Refactor the MapTiler configuration into a single place. (#3944)
* Refactor the MapTiler configuration into a single place.

* Merge the MapAssets catalog into the normal one.
2025-03-26 14:39:09 +00:00
Element CI
aa0d2efa32 Prepare next release 2025-03-26 05:47:53 -07:00
Mauro Romito
4c09dde58d EC update and improvements
Use .startCall intent, and always pass rageshakeURL to the widget

Updated EC to 0.9.0-rc.4

rageshakeURL is now a parameter
2025-03-26 13:13:28 +01:00
Element CI
4e206e8a8d Prepare next release 2025-03-25 09:46:52 -07:00
Mauro
5262d78747 Embed element call (#3939)
* it works but only with the baseURL for now

* works but strings are not referenced properly

and we are using a dummy config.json which maybe is not required at all?

* test with EmbeddedElementCall repo

* updated the version

* ignore our own package

* updated version

removed using EC through the well known URL

* fix for remote URL overriding

* updated version

* fix for microphone and camera using local URL

* better solution

* Use version 0.9.0-release-test.3

* fix project

* removed workaround for emebedded EC url generation

* updated EC

* pr suggestions

* fix

* removed unnecessary configuration flag

---------

Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2025-03-25 16:14:23 +00:00
Mauro Romito
0ee2199645 updated the SDK to 25.03.24 2025-03-25 12:17:11 +01:00
Doug
0badcd1303 Add developer options for Rust's Trace Log Packs. (#3929)
* Add support for configuring log packs.

* Update call widget parameters.

* Update the SDK.
2025-03-21 19:00:13 +00:00
Mauro Romito
edcc5d17c8 UserPreference now can have published defaultValue
better approach

improved and added tests
2025-03-21 15:41:39 +01:00
Mauro Romito
f7c7cf23ed UserPreference now supports closure based default
and you can also force the defaults to be always used through a subscription
2025-03-21 15:41:39 +01:00
Element CI
b91d1ea19e Prepare next release 2025-03-21 03:29:55 -07:00
Element CI
4afb98941c Prepare next release 2025-03-20 11:56:21 -07:00
Element CI
3883ed4229 Prepare next release 2025-03-20 09:10:41 -07:00
Doug
0126932df0 Update the SDK to 25.03.20. (#3925) 2025-03-20 13:18:06 +00:00
Doug
7b2d7652d8 Remove the unused TestMeasurementParser and lint integration tests again. (#3918) 2025-03-19 12:52:07 +00:00
Doug
69e908ee16 Add overrides for OIDC configuration. (#3910)
* Add overrides for OIDC configuration.

* Make sure we're linting more than just the main app.

* Fix the bundle command.
2025-03-19 11:18:20 +00:00
Mauro Romito
81031b12a7 added tests
improvement

improved

improvement

fixed
2025-03-17 16:21:09 +01:00
Mauro Romito
4843bf0f01 phishing alert implementation
we now check when building the string through the `AttributedStringBuilder` if a URL is actually hiding a different link, if so, we create a custom URL that contains both the external and the internal URL to advise the user through an Alert about the risk
2025-03-17 16:21:09 +01:00
Mauro Romito
0c7707a57c removed images in pills in favour of text decos
FIX

fix
2025-03-17 14:45:23 +01:00
Stefan Ceriu
1ae6fc67c4 SDK update (#3891)
* Bump the RustSDK to v25.03.11

* Replace oidc login prompt with nil following the changes from https://github.com/matrix-org/matrix-rust-sdk/pull/4761

```
/// * `prompt` - The desired user experience in the web UI. No value means
///   that the user wishes to login into an existing account, and a value of
///   `Create` means that the user wishes to register a new account.
```

* Fix trailing closure warnings

* Update the client proxy after making `getNotificationSettings()` and  `cachedAvatarUrl()` async (they used to be blocking on the rust side).

* Move `Room.isEncrypted` to the info publisher and manually update the encryption state when creating the room.

* Bump the SDK again to v25.03.12 - This introduces a new way to configure the tokio runtime that we can use to have extensions use less memory
- introduce a new Target struct that takes care of setting up rust services (tracing and tokio) for our various targets
- cleanup MXLog and friends

* Address PR comments

* Bump the SDK again, switch back to using `.consent` as the OIDC login prompt (which was reintroduced in matrix-org/matrix-rust-sdk/pull/4791)
2025-03-13 11:17:37 +02:00
Mauro Romito
f80398677e update sentry 2025-03-11 15:16:56 +01:00
Mauro Romito
832f66b26d update sentry
8.30+ has a bug and 8.35 is considered stable
2025-03-11 15:10:32 +01:00
Stefan Ceriu
78b162bea7 Fixes #3867 - Change bage label colors to blue when not highlighted
- bumps compound to get new semantic tokens
- updates related snapshots
- the composer updates have already been handled separately
2025-03-10 16:30:32 +02:00
Element CI
7058334614 Prepare next release 2025-03-06 04:16:14 -08:00
Mauro Romito
8c45e8e61b always enabled event cache and updated the SDK
Revert "always enabled event cache and updated the SDK"

This reverts commit 2f27370eeef327c3271b0cf6797288b01ced160b.

fixup

event cache key update
2025-03-06 12:44:20 +01:00
Stefan Ceriu
7a13ecb167 Bump the RustSDK to v25.03.05
- adopt the new timeline configuration which now exposes read receipts tracking. For now it should be set to `false` for all timelines except the live one, which still gets configured properly on the rust side through `init_timeline`. Eventually we will converge on this configuration API for all of them.
- also adopt the new rust side cache clearing method and remove our own
2025-03-05 14:24:44 +02:00
Stefan Ceriu
1dcf19092d Converge on same naming convention for snapshots in the preview tests as in the UI tests. 2025-03-05 11:43:08 +02:00
Stefan Ceriu
65bf02b70d Revamp the UI test snapshot naming convention to make them easier to organize and find. 2025-03-05 11:43:08 +02:00
Stefan Ceriu
1b1864c878 Bump the RustSDK to v25.02.28 2025-02-28 15:38:32 +02:00
Mauro
861d30c727 Join room by address (#3840)
* Implemented join room by address

* improved the text field typing

* some improvements to how the text is edited

* remove navigation link

* moved room directory search to the start chat flow

* updated preview tests

* added unit tests and improved the code

* updated strings

* some pr suggestions:

- moving the file
- changing the name of the action
- reintroduce the debounce text queries
- add comments

* renamed the auth text field style to Element

updated tests
2025-02-28 12:35:15 +00:00
Doug
0c8333cb35 Set APP_GROUP_IDENTIFIER directly. (#3847)
The base one wasn't really very useful.
2025-02-27 12:38:02 +00:00
Doug
fa73f1992a Project updates. (#3837)
* Don't use the AppIdentifierPrefix as it breaks when re-signing.

* Generate entitlements using XcodeGen.

* Ignore Xcode Archives.

* Remove the (unused) NCE.

* Update submodule.
2025-02-26 18:29:20 +00:00
Element CI
ce169458fc Prepare next release 2025-02-26 03:50:53 -08:00
Doug
3c36d0cb95 Update the SDK. (#3829) 2025-02-26 09:23:57 +00:00
Element CI
5bb018286b Prepare next release 2025-02-25 06:14:37 -08:00
Stefan Ceriu
d7535d4618 Bump the RustSDK to v25.2.25, address breaking changes from matrix-org/matrix-rust-sdk/pull/4674 2025-02-25 12:40:56 +02:00
Doug
b249f0449a Configure diagnostics (and MapLibre) using Pkl. (#3820)
* Bump the version for the next release.

* Ignore all generated sources.

* Use Pkl+XcodeGen to inject secrets instead of the project.

* Inject the PostHog/Sentry/Rageshake configuration from the environment.

* Fix bad unicode.

* Fix unit tests.
2025-02-24 18:36:08 +00:00
Doug
772e754773 Update Compound (#3803) 2025-02-20 14:15:26 +00:00
Doug
74511e0570 Update the SDK.
Handles changes that removed support for the sliding sync proxy.
2025-02-18 11:55:20 +00:00
Stefan Ceriu
1e58795a65 User verification state indicators (#3793)
* Introduce a `UserIdentityProxy` and have it combine upstream methods into an easy to digest  `UserIdentityVerificationState`. Use it in a dedicated `VerificationBadge` UI component

* Show a DMs counterpart verification state in the room header

* Show a warning on the room details `People` entry when there are identity verification state violations on any of the members.

* Show verification badges in the room member list

* Show a withdraw verification section on the room member details for users that have pinning violations.

* Remove the verification section from the profile screen as there's no reliable way to keep it up to date
- the underlying Rust SDK Olm Machine can be rebuilt without notice which would break any existing user identity change streams.

* Update preview test snapshots
2025-02-18 08:37:34 +02:00
Stefan Ceriu
443447231d Add support for initiating and responding to user verification requests (#3759) 2025-02-10 18:07:11 +00:00
Stefan Ceriu
75c156cbf2 Bump the RustSDK to v25.02.06 2025-02-06 21:28:26 +02:00