Commit Graph

2181 Commits

Author SHA1 Message Date
ElementRobot
3ed22f27a1 Translations update (#3984) 2025-04-07 09:43:59 +01:00
Doug
586a62fef6 Add a Compound hook. (#3979)
* Rename AppHooksProtocol.configure() to .setUp().

* Add a CompoundHook.
2025-04-04 17:46:31 +01:00
Doug
8448e79c19 Update the app icon. (#3977) 2025-04-04 17:08:59 +01:00
Doug
946a72ceff Add the build number to rageshakes. (#3978) 2025-04-04 10:36:52 +00:00
Stefan Ceriu
346e4adde3 Remove the event cache feature flag, it's enabled by default on the SDK and we haven't had any bug reports for it. 2025-04-03 18:08:34 +03:00
Stefan Ceriu
881017f97a Bump the RustSDK to v25.04.02 2025-04-03 18:08:34 +03:00
Doug
24a487ba82 Allow overriding the push gateway. (#3970) 2025-04-03 10:42:09 +01:00
Doug
4e7742572e Allow overriding the bug report app ID and analytics cookies URL. (#3969) 2025-04-02 08:41:02 +00:00
Mauro
302bc6c415 Add alerts with reason for kick and ban (#3967)
* feat: added alerts with reason for kick and ban

in the room members list screen

* fix tests
2025-04-01 16:06:40 +00:00
Doug
ee0d054ee1 Make the secrets optional. (#3966) 2025-04-01 16:14:05 +01:00
Stefan Ceriu
fb83dbffdb Bring back the background refresh stop sync crash fix, this time with a forced conformance to the main actor.
- follow up to https://github.com/element-hq/element-x-ios/pull/3942 and https://github.com/element-hq/element-x-ios/pull/3946
2025-04-01 17:22:16 +03: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
ElementRobot
e75ea701fd Translations update (#3959) 2025-03-31 10:11:29 +01:00
Mauro Romito
d76f58372b a11y: better voice over for voice messages 2025-03-28 10:15:30 +01:00
Mauro Romito
ad27e6c743 a11y: add profile picture accessibility label 2025-03-28 10:13:23 +01:00
Mauro Romito
6c97b89205 a11y: accessibility labels for calls 2025-03-28 10:01:39 +01:00
Stefan Ceriu
ee9bfdd5a0 Revert "Attempt to prevent crashes after expiring background refreshes."
This reverts commit 418daaa90fd9ed6a9fbcdd9d03ee4cde7888c3cd.
2025-03-27 13:42:26 +02: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
Stefan Ceriu
be108b0cfe Attempt to prevent crashes after expiring background refreshes. 2025-03-26 14:24:38 +02: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
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
53bff8d945 reply view will now render as plain pills
instead of rendering nothing
2025-03-25 14:00:29 +01:00
Doug
beb08bf7b8 Add NSPrivacyTracking and NSPrivacyCollectedDataTypes to PrivacyInfo.xcprivacy (#3935)
Nothing has changed, this PR simply moves the existing values from App Store Connect into the app itself.
2025-03-25 11:47:46 +00:00
Mauro Romito
0ee2199645 updated the SDK to 25.03.24 2025-03-25 12:17:11 +01:00
Andy Balaam
92a033c2c4 Use 'Dismiss' to close pinned identity changes, instead of 'Ok' (#3936)
* Use 'Dismiss' to close pinned identity changes, instead of 'Ok'

* Update snapshots.
2025-03-25 10:36:34 +00:00
ElementRobot
0dc30f91e4 Translations update (#3932)
* Translations update

* Update preview snapshots

---------

Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2025-03-24 11:42:26 +02:00
Mauro Romito
9fe547fa65 fix: DM invites now correctly render the avatar 2025-03-21 20:27:04 +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
d9196b2fa1 pr suggestions 2025-03-21 15:41:39 +01:00
Mauro Romito
d3fd1e9b55 updated test for hidden avatars in invites 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
Mauro Romito
208e7de3ee hide invite avatars when such flag is on
This affects:
- Invited room preview inviter avatar
- Invited room preview room avatar
- Invited room cell inviter avatar in the room list
- Invited room cell room avatar in the room list
- Push notification for an invite
2025-03-21 15:41:39 +01:00
Doug
0126932df0 Update the SDK to 25.03.20. (#3925) 2025-03-20 13:18:06 +00:00
Stefan Ceriu
77bb839140 Attempt to fix the wrong timeline start display by defaulting the backwards publisher to .idle
The default values shouldn't matter as they should be updated when calling subscribeToPagination
but empirically we randomly see the timeline start virtual item when we shouldn't.
We believe there's a race condition between the default values the status publisher
so we're going to default the backwards one to .idle.
Worst case it's going to do one extra back pagination.
2025-03-19 20:10:58 +02: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
Doug
84535ecb8b Fix an issue rendering pills in some forks. (#3913) 2025-03-18 16:36:45 +00:00
Mauro Romito
195621906d fix: completion service matches now any character
also added a test for it
2025-03-18 13:06:18 +01: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
fba644fc0c Fix #3881, fix #3893 - Delay the presentation of the share extension room selection screen until the currently presented room is correctly torn down
If QuickLook is presented (e.g. a timeline media is being viewed in full screen) then its animated dismissal will
interfere with presenting other screens and break the state machine. Unfortunately I wasn't able to find any
reasonable way to have the QuickLook dismiss itself without an animation

On the other hand, we can fix both this issue and improve #3893 by just delaying the presentation of the room
selection list, which is what this patch does.
2025-03-17 14:46:43 +02:00
pixlwave
8b33071ba0 Translations update 2025-03-17 09:08:26 +02: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
8dcd2b6906 added @room to suggestion view for room mentions 2025-03-12 18:55:59 +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
ElementRobot
5781f15d73 Translations update (#3885) 2025-03-10 10:20:09 +00:00
Mauro Romito
32036e5b66 refactored the ClientProxy to:
- throw an error during the init
- to have its init directly instantiate the sync service and the providers

Update ElementX/Sources/Services/UserSession/UserSessionStore.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

renamed
2025-03-06 14:13:55 +01: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