Commit Graph

4952 Commits

Author SHA1 Message Date
Doug 1b12955fa6 Handle unexpected user status emoji values gracefully. 2026-09-24 20:56:25 +03:00
renovate[bot] c2f1dcc024 Update codecov/codecov-action action to v7.1.1 2026-09-24 15:50:34 +03:00
Stefan Ceriu 12d937a5a8 TabRail layout fixes (#6172)
* Attempt another TabRail layout fix by just keeping it visible all the time
* Move one of the sidebar dividers to the tab rail.
2026-09-24 15:47:46 +03:00
Stefan Ceriu 5e56bf3468 Enable the search index store for the authentication client too 2026-09-23 18:37:42 +03:00
Stefan Ceriu df3bdb992a Share the test passphrase through a RestorationTokenFixtures enum.
The legacy restoration token formats store the passphrase as a base64 string
whereas the current one exposes Data, so keep both representations of the
same value in one place instead of repeating the conversions in every test.
2026-09-23 18:37:42 +03:00
Stefan Ceriu b1923b418f Expose the store passphrase as Data instead of a base64 string. 2026-09-23 18:37:42 +03:00
Stefan Ceriu 18201ac248 Switch all clients to the new .highEntropyPassphrase mechanism.
Which will automatically migrate the existing passphrase and allow us to later
switch directly to the raw key everywhere.

More details on https://github.com/matrix-org/matrix-rust-sdk/pull/6878
2026-09-23 18:37:42 +03:00
Stefan Ceriu c8250f6aa4 Tweak the BuildSDK command line tool now that ElementCall also links the SDK 2026-09-23 18:01:39 +03:00
Stefan Ceriu 8572150b70 Remove the room list notification count feature flag.
The room list now always shows the unread notification count for highlighted rooms
and the app icon badge always uses the SDK's own unread notification count, both in
the app and in the NSE. The push payload's unread count is no longer used, so its
UNNotificationContent helper and user info key have been removed along with the
setting, its developer options toggle and the feature-disabled unit test.
2026-09-23 17:57:42 +03:00
Stefan Ceriu 2e7d78ea01 Remove the automatic back pagination feature flag.
Automatic back pagination is now always enabled when building the client, so the
setting and its developer options toggle have been removed.
2026-09-23 17:57:42 +03:00
Stefan Ceriu 8f4a0322b7 Update project and package.resolved following dependency updates and failed CI step 2026-09-23 15:46:25 +03:00
renovate[bot] 5811f38357 Update Project Dependencies (#6185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-23 12:41:09 +01:00
renovate[bot] f77d4fe04a Update dependency pointfreeco/swift-snapshot-testing to v1.19.5 (#6184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-23 12:32:34 +01:00
renovate[bot] 0462cb4df0 Update dependency swiftlang/swift-syntax to v604 (#6186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-23 12:31:33 +01:00
Doug 7c758df208 Show the call buttons on macOS when the experimental native calling feature is enabled. (#6183)
* Show the call buttons on macOS when the experimental native calling feature is enabled.

* Start native calls in their own window on macOS.

* Update the Enterprise submodule.
2026-09-23 12:24:54 +01:00
Element CI 27ffd4f3d5 Prepare next release 2026-09-23 04:02:24 -07:00
Doug 47f881c507 Only make toolbar buttons prominent when tinted. (#6188) 2026-09-23 11:21:47 +01:00
Doug 550b14718b Update the SDK. (#6182) 2026-09-22 18:01:02 +01:00
Valere Fedronic a236cca24e Bump element-call native to 0.1.0-rc.8 (#6181) 2026-09-22 17:59:41 +01:00
Stefan Ceriu 379a5cd1bc Drop Intel device support from the build scripts and project 2026-09-22 19:56:06 +03:00
Doug 223ddeae22 Fix the split view layout on iOS 27. (#6180) 2026-09-22 17:41:23 +01:00
Doug 8ba47a333a Update the Start Chat button's icon. (#6179) 2026-09-22 17:40:59 +01:00
Doug 375d98e0b5 Fix HDR UI bugs on iOS 27.0. (#6177) 2026-09-22 13:27:08 +01:00
renovate[bot] cfeb38aee9 Update dependency siteline/SwiftUI-Introspect to v27 2026-09-22 09:16:59 +03:00
renovate[bot] a3d72aba1f Update codecov/codecov-action action to v7.1.0 2026-09-22 08:33:05 +03:00
Valere 6b7ac797d4 logs: Add specific prefix for native call logs 2026-09-21 16:49:28 +03:00
Valere 7e68e2cd49 chore: Bump element-call-ios to 0.1.0-rc.7 2026-09-21 15:32:58 +03:00
Element CI 0745a28e57 Translations update 2026-09-21 13:33:01 +03:00
Valere Fedronic fb49f5b83b Add experimental native calls behind a developer flag (#6159)
Add the element-call-ios dependency and a developer option for native calls

The package carries the call UI and the matrix-rust-rtc media stack, pinned by
exact version the way the SDK is, with the local path kept commented out for
working against a checkout. Its media xcframework has no Intel simulator slice
and a package cannot say so for the projects that consume it, hence the
excluded architecture at the project level.

The developer option is off by default and nothing reads it yet. It is placed
next to the Element Call URL override, which only applies to the web view that
native calls replace.
2026-09-17 19:42:18 +03:00
Stefan Ceriu fe18472556 Bump the RustSDK to v26.09.17 2026-09-17 19:34:15 +03:00
Ghazi Tozri 5741290471 Cancel message edit if content remains unchanged 2026-09-17 16:56:14 +03:00
Stefan Ceriu de13fa5438 Fix some warnings 2026-09-16 11:37:11 +03:00
Stefan Ceriu eaa6a5ce25 Dismiss the whole search tab and move back to the previous when when tapping the search field dismissal button. 2026-09-16 11:37:11 +03:00
Stefan Ceriu b8a867bbb4 Dismiss the keyboard on drag 2026-09-16 11:37:11 +03:00
Stefan Ceriu e6cffcba3f Clear the search query when leaving the search tab
Switching away from the search tab now resets the query, so returning to
it shows the recent searches instead of the previous results. The search
field no longer focuses itself on appearance.
2026-09-16 11:37:11 +03:00
Stefan Ceriu 82e666bfe1 Only show joined rooms in the search results
Rooms the user is invited to, or has knocked on, are handled by the chats
list and aren't somewhere search should lead. The search screen now asks
the room summary provider for joined rooms only.
2026-09-16 11:37:11 +03:00
Stefan Ceriu 482cc0fee8 Show recent searches on the search screen
The search screen's empty state now lists the queries the user searched
for and the rooms they opened from the results, newest first, capped at 25
and stored in AppSettings. Tapping a query fills the search field, tapping
a room opens it, and both are reachable with a hardware keyboard.

Rooms are resolved from their identifiers as the room list loads, and
those the user has left or is only invited to are dropped. The history is
cleared on logout.
2026-09-16 11:37:11 +03:00
Stefan Ceriu 9bff070648 Hide the search mode picker until there's a query
The chats/messages picker has nothing to switch between before a query is
entered, so it only shows once the user starts searching.
2026-09-16 11:37:11 +03:00
Stefan Ceriu af202f3466 Add a joined only option to the room list search filter
The search filter now takes a joinedOnly flag, which appends the SDK's
joined filter so that invited and knocked rooms are excluded. It defaults
to false, leaving the existing callers unchanged.
2026-09-16 11:37:11 +03:00
renovate[bot] 942535e4fa Update zizmorcore/zizmor-action action to v0.6.4 2026-09-16 10:22:35 +03:00
Doug 64aae09c6d Add an AccountProvider type and use it within the authentication flow. (#6103)
* Add an AccountProvider type and use it within AppSettings.

* Use the AccountProvider type within the Authentication flow too.

* Fix unit test compilation with Swift 6.4

* Make sure defaultAccountProvider takes allowOtherAccountProviders into account.

* Document a caveat on using AuthenticationService.homeserver.value.accountProvider.
2026-09-14 15:25:33 +01:00
ElementRobot 26fddb8aa2 Translations update (#6151)
Co-authored-by: Element CI <ci@element.io>
2026-09-14 08:44:14 +01:00
Doug 5d050f6dfc Fix some SwiftLint warnings. 2026-09-11 08:56:37 +03:00
renovate[bot] 268ed62af9 Update Project Dependencies (#6136)
* Update Project Dependencies

* Run XcodeGen, update Package.resolved and Settings.bundle

* Run XcodeGen, update Package.resolved and Settings.bundle

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Element CI <ci@element.io>
2026-09-10 16:23:40 +01:00
Doug 4608a63e29 Fix some isolation errors when compiling with Swift 6.4. (#6148)
* Fix some isolation errors when compiling with Swift 6.4.

* Update the Design Tokens dependency to include Sendable conformances.
2026-09-10 15:22:53 +01:00
Doug a150df584d Update the read marker colour to match the Figma. (#6146) 2026-09-10 13:26:10 +00:00
Stefan Ceriu 58628bd7c5 Introduce a local mechanism for managing the app's badge count 2026-09-10 13:03:10 +03:00
Element CI 7be93f8da8 Prepare next release 2026-09-10 02:19:03 -07:00
Mauro e57d872fc8 Scope dark mode change only to the presenting sheet (#6144)
* Scope dark mode change only to the presenting sheet, instead of the whole window

* Apply review suggestions to the presentation colour scheme modifier

API:
- Take a `ColorScheme?` at the SwiftUI level instead of a `UIUserInterfaceStyle`
  and map it once inside the representable (`nil` means no override).
- Rename to `presentationColorScheme` and the file to match.
- Restore the `preferredColorScheme` property on the media preview details and
  redact confirmation views, and the `nil` at the media timeline call site, so
  no UIKit types leak into the views.

Cleanup:
- Walk the responder chain with `sequence(first:next:)` instead of a while loop.

* Re-record the media upload preview iPad snapshots

The Cancel button no longer has an explicit tint, so its label colour changed
very slightly from `textActionPrimary` to the default. Only the iPad references
include the toolbar, which is why the iPhone ones were unaffected.
2026-09-10 10:23:56 +02:00
Doug 9fe64b7cd4 Update the SDK. 2026-09-10 08:27:08 +03:00