Commit Graph

4165 Commits

Author SHA1 Message Date
Doug e235e3ba81 Link new device with QR code tweaks. (#5563)
* Hook up Rust's InvalidCheckCode failure to the right state when linking a new device.

* Automatically regenerate a new QR code instead of ending the flow when it expires.
2026-05-11 14:22:34 +01:00
Stefan Ceriu ded86dd66e Fix settings UI test by making sure the analytics button is visible before attempting to tap it. 2026-05-11 15:37:38 +03:00
Stefan Ceriu a5d07cf1f3 Fix start chat UI flow after allowing avatars to be selected from files too 2026-05-11 15:37:38 +03:00
Stefan Ceriu 80385bbc1e Fix start chat flow UI test snapshots after enabling the room directory by default 2026-05-11 15:37:38 +03:00
Stefan Ceriu 42d726cd50 Fix room roles and permissions UI test snapshots after adding live location sharing 2026-05-11 15:37:38 +03:00
Valere Fedronic ba23153ab4 feat: Render declined calls in DM timeline (#5512)
* feat: Render declined calls in DM timeline

* Record preview snapshots

* review: Use CallIntent constant

* review: clean-up

* Record preview snapshots

* review: Move private field to the bottom with MARK: - Private

* review: Male CallIntent a string enum to use rawValue

---------

Co-authored-by: Element CI <ci@element.io>
2026-05-11 14:51:30 +03:00
ElementRobot 2b3cd27129 Translations update (#5569)
Co-authored-by: Element CI <ci@element.io>
2026-05-11 11:43:18 +01:00
Doug bd2c775ff7 Fix an accessibility test failure. (#5571) 2026-05-11 11:28:37 +01:00
Michael 3b1f5cca94 Add editorconfig to enforce style guides naturally in the editor (#5564)
add editorconfig to enforce style guides naturally in the editor
2026-05-11 11:10:03 +01:00
renovate[bot] 70d47f1169 Update actions/add-to-project action to v2 2026-05-11 09:59:07 +03:00
Doug 091ff8a35f Use onScrollGeometryChange to hide the scrollable media caption fade. (#5559)
Fixes a hang on macOS and more closely aligns with Android.
2026-05-07 13:17:49 +01:00
renovate[bot] 367c7da7ce Update dependency MapLibre to v6.26.0 (#5549) 2026-05-07 13:33:32 +03:00
Doug 05e7ad52f7 Update the Enterprise submodule. (#5554) 2026-05-06 14:12:42 +00:00
Element CI 34e96aee26 Prepare next release 2026-05-06 05:48:43 -07:00
Stefan Ceriu d6a8bcf24c Remove the RoomDirectorySearch feature flag and enable the feature by default. 2026-05-06 15:12:59 +03:00
Mauro Romito 6d71a3efe5 updated preview tests 2026-05-06 13:53:36 +02:00
Mauro Romito 53669a606c Add the setting to change live location permissions to the change permissions screen. 2026-05-06 13:53:36 +02:00
Mauro Romito d5170ae4cc Revert "use isDm from the SDK to determine if a room is a direct one to one room."
This reverts commit 58d0841bedb9cc40bd5880a76f3cc1f56c3b8bdb.
2026-05-06 13:04:11 +02:00
Mauro Romito b5d9f03ad0 use isDm from the SDK to determine if a room is a direct one to one room. 2026-05-06 13:04:11 +02:00
Mauro Romito 2ce32d00ef update SDK to 26.05.06 2026-05-06 13:04:11 +02:00
Doug 0355e9f708 Add an OAuthPresenterHook. (#5545)
* Add an OAuthPresenterHook.

* Update the enterprise submodule.
2026-05-06 10:29:25 +01:00
Stefan Ceriu 5e95bd6531 Move verification request acceptance confirmation to method call response instead of delegate callback
This because the Rust side verification state machine doesn't wait for the request
to be sent and acknowledged before changing its inner state and with the automatic
starting of SAS in https://github.com/element-hq/element-x-ios/pull/5116 that creates
race conditions between `m.key.verification.ready` and `m.key.verification.start`.
2026-05-06 11:11:38 +03:00
Mauro Romito 680a9a587c Show alert if user has not beacon and beaconInfo permissions in the room. 2026-05-05 15:10:38 +02:00
Doug 0acbc41432 Rename OIDC to OAuth. (#5525)
* Rename OIDC to OAuth.

* Update the enterprise submodule.
2026-05-05 14:07:06 +01:00
Stefan Ceriu e371903204 Switch the xcodegen renovate schedule to fortnightly
Also remove broken/incorrect `ignoreDeps` rule
2026-05-05 15:15:54 +03:00
Doug fef942f529 Restore the .oidcCallback route for external authentication. (#5391)
* Restore the .oidcCallback route (partially reverts #3461) for external authentication.

* Make sure OIDC also works for non-http URLs.

* Remove oidcAuthentication from the state machine.

There isn't a reliable way to detect failure/cancellation when e.g. the user returns from an external app without interacting with the MAS page.
2026-05-05 12:47:07 +01:00
renovate[bot] aaf81e00f3 Update dependency PostHog to v3.57.2 (#5540) 2026-05-05 14:32:58 +03:00
Daniel Anderson 4188a10ea9 Fix a crash on iOS 26 when the scene's keyWindow is nil at cold start.
On iOS 26, `UIWindowScene.keyWindow` can be nil during scene connection
until the scene becomes active. The implicitly-unwrapped `mainWindow`
then crashes on the next line. Fall back to `scene.windows.first`, which
is the SwiftUI WindowGroup's window and is already attached to the scene
at this point.
2026-05-05 12:08:30 +02:00
renovate[bot] d3b24a63b5 Update EmbeddedElementCall and PostHog 2026-05-05 08:44:45 +03:00
Element CI f0aac9295b Translations update 2026-05-04 15:28:22 +03:00
Mauro Romito d02459d9b8 limit knock FF only room creation and access type changes
# Conflicts:
#	ElementX/Sources/Screens/RoomScreen/RoomScreenViewModel.swift
2026-05-04 14:12:31 +03:00
renovate[bot] 272c8ca764 Update dependency PostHog to v3.57.0 (#5532)
* Update dependency PostHog to v3.57.0

* Run XcodeGen, update Package.resolved and Settings.bundle
2026-05-04 14:10:32 +03:00
Doug af44833850 Show which test suite failed in the UnitTest logs. 2026-05-04 14:03:28 +03:00
Doug 8a6bd920a6 Re-enable the AppLock UI tests on iPhone only.
It was only iPad that had an issue.
2026-05-04 13:14:33 +03:00
renovate[bot] 5f5fc15c11 Update dependency element-hq/compound-design-tokens to v10.1.1 (#5526)
* Update dependency element-hq/compound-design-tokens to v10.1.1

* Fix Compound workflow.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2026-05-01 23:52:06 +01:00
renovate[bot] d1ac160e7b Update dependency PostHog to v3.56.0 (#5529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Element CI <ci@element.io>
2026-05-01 17:56:57 +01:00
Doug 9015c3e483 Fixes for multi-window support. (#5528)
* Correctly handle the re-opening of the main window.

Add an additional safe-guard to ensure only one main window exists.
Make sure all secondary windows use the correct tint colour.

* Fix a bug where the settings screen isn't shown on macOS when the AppLock feature is enabled.
2026-05-01 14:44:04 +01:00
renovate[bot] c1184b748d Update XcodeGen (#5520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Element CI <ci@element.io>
2026-04-30 16:10:14 +01:00
Mauro 76f744b9c4 Live Location Sharing - handle server echoes (#5514)
* Track active live location sessions by ID instead of timeout.

# Conflicts:
#	ElementX/Sources/Services/Location/LiveLocationManager.swift

* implemented a system to promote starting session to active sesessions to send locations at the right time, and a system to remove a local session if it's handled by an external device.

* pr suggestions

---------

Co-authored-by: Doug <douglase@element.io>
2026-04-30 13:18:36 +00:00
Stefan Ceriu 53a54c1b90 Allow the mac app to chose room avatars directly from files instead of the photo library 2026-04-30 14:58:08 +03:00
Stefan Ceriu 0ec114d2f3 #5504 - Add logs around route handling and the global search window presentation 2026-04-30 13:00:35 +03:00
ElementRobot 0502df0a85 Translations update (#5516)
Co-authored-by: Element CI <ci@element.io>
2026-04-29 21:01:54 +01:00
Doug 8f815aafb2 Update TimelineMediaPreviewDetailsView to match the latest design. (#5513)
Update the TimelineMediaPreviewDetailsView design.
2026-04-29 19:34:22 +01:00
Doug 63592e48c1 Remove support for handling SPA calls within the app. (#5515)
* Remove support for handling SPA call links.

They were a stop-gap solution whilst we were building support for embedded room calling.

* Simplify ElementCallConfiguration now that there is only 1 type of call to handle.

* Remove the unused overlayModule from NavigationRoomCoordinator.
2026-04-29 19:32:38 +01:00
Mauro Romito dc26e9eb5c update sdk to 26.04.28 2026-04-29 10:28:21 +02:00
ElementRobot 434cc2d9d4 Bump the calendar version ready for the next release (#5505)
Co-authored-by: Element CI <ci@element.io>
2026-04-29 08:01:03 +01:00
Doug 2cee290827 Replace ​Combine throttle with backpressure​-aware location send loop. 2026-04-28 18:02:22 +02:00
Mauro Romito 8a5e364c7c only stop the session when receiving a not live error 2026-04-28 18:02:22 +02:00
Stefan Ceriu 0bdde39274 Move integration test flows that don't require a backend to the UI tests
In an attempt to make them faster and less flakey.
2026-04-28 17:37:50 +03:00
Stefan Ceriu 3a8e6ea0f7 Avoid logouts when resetting the caches
The SDK is reporting a `Failed to run migrations: locking protocol` but in practice
we tear down the session before using said session to access the `clearCaches` method
on its client, which is obviously wrong.

This patch removes that step and the delay as everything seems to work properly
without them.
2026-04-28 13:16:07 +03:00