Commit Graph

3753 Commits

Author SHA1 Message Date
Stefan Ceriu 08546d7adb Fix #4853 - Unable to open rooms because of missing bug reporting completion handling. 2026-02-03 13:06:42 +02:00
Doug 3e43ba42d4 Fix notification delivery after powering on a device. (#5035)
* Debugging with Notifications.

* Don't run the NSE until the device is unlocked.

* Let the NSE run long enough to deliver the default notification content.

Turns out that exit(0) results in the notification be discarded when you have the notification filtering entitlement.

* Remove debugging notifications.

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2026-02-03 11:04:32 +00:00
Stefan Ceriu 35daa017bf Fix call service completion handler calls. (#5026)
* Rewrite the CallService's incoming push handling to async

* Revert "Rewrite the CallService's incoming push handling to async"

* Make sure to call the completion blocks on all branches after delivering incoming pushes

Fixes `Killing app because it never posted an incoming call to the system after receiving a PushKit VoIP push` crashes
Initially tried replacing the callback based API with the async one but notifications stopped coming in. See associated PR for commits and details.
2026-02-02 17:43:03 +02:00
Stefan Ceriu 37ee5c9c7e Fix a couple of warnings 2026-02-02 10:37:21 +02:00
ElementRobot c18b4b4f70 Translations update 2026-02-02 10:37:21 +02:00
Mauro Romito deb6e9b285 ui tests updated 2026-01-30 17:33:24 +01:00
Mauro Romito 20657de097 Updated compound icons to match ios 26 designs 2026-01-30 17:33:24 +01:00
Stefan Ceriu e48fb52701 Add a search bar to the space filters screen 2026-01-30 17:17:49 +02:00
Skye Elliot 955ec0c8a9 Display an icon in the room header for rooms with shared history (#5016)
* feat: Display an icon in the room header for rooms with shared history

* fix: Apply suggestions from code review

- Simplifies `isRoomHistoryShared` expressions using type inferrence.
- Adds failure messages to unit test.

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

* fix: Remove extension method in favour of field on configuration.

* fix: Distinguish between `shared` and `worldReadable` icons.

* refactor: Use `RoomHistorySharingState` enum with extension methods

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2026-01-30 13:11:10 +00:00
Stefan Ceriu 26cb30c614 Allow redacting the collocutor's messages in DMs (again)
This reverts https://github.com/element-hq/element-x-ios/pull/2368 as the behavior didn't make it to any of our other clients.
2026-01-30 15:07:44 +02:00
Stefan Ceriu a2a8527ffc Clean up the Signposter implementation and align on new metrics 2026-01-30 13:19:05 +02:00
Stefan Ceriu 8b768f74f8 Align with android on sentry settings. 2026-01-30 13:19:05 +02:00
Stefan Ceriu 5c609566a8 Bump the SentrySDK to v9.2.0 2026-01-30 13:19:05 +02:00
Doug 1c738c4457 Fix a bug where the app wouldn't retry when the server rate-limits its requests. (#5022)
Change the retry limit to 3.

Without this the SDK immediately fails when rate-limited instead of waiting and trying again.
2026-01-30 10:37:23 +00:00
Doug 7fbb0bb86c Tidy-up FormattedBodyText and MessageBubbleLayout. (#5019)
* Tidy-up FormattedBodyText.

* Switch TimelineBubbleLayout.Priority from .layoutPriority to .layoutValue.

* Rename TimelineBubbleLayout.Priority to TimelineBubbleLayout.Size
2026-01-30 10:26:36 +00:00
Stefan Ceriu 39be9c4908 Reduce the default number of room list items to 100
.. because really, that's more than enough.
2026-01-29 21:10:27 +02:00
Doug 347873576a Don't bother compressing really large log files just to throw them away. (#5021) 2026-01-29 12:20:31 +00:00
Mauro Romito 9edb7fd7ff pr suggestions 2026-01-28 15:42:17 +01:00
Mauro Romito 8f6506ced0 refactored the flows to use a state and an event for the transfer ownership screen 2026-01-28 15:42:17 +01:00
Mauro Romito 9999cd24b8 implemented the presentation of transfer ownership screen from the space flow and update UI and preview tests 2026-01-28 15:42:17 +01:00
Mauro Romito 9de49bad9e implemented the logic to transfer ownership from a space 2026-01-28 15:42:17 +01:00
Doug b903658975 Fix to changelog. 2026-01-28 12:48:22 +00:00
Element CI bda395bf0c Prepare next release 2026-01-28 04:16:24 -08:00
Doug fa200cfedb Fix inline code being rendered as blocks. (#5017)
* Fix inline code being rendered as blocks.

And make blocks non-greedy as well as only scrolling when needed.

* Rename the bubble layout priorities.

* Add an InlineCode attribute so that the builder also strips links from these too.

* Split up the snapshot tests into individual cases.

This should make it much easier to see *what* has changed when regenerating.
2026-01-28 11:46:13 +00:00
renovate[bot] 3d5269fa19 Update dependency element-hq/compound-design-tokens to v6.9.0 (#5011)
* Update dependency element-hq/compound-design-tokens to v6.9.0

* Update Package.resolved files.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2026-01-27 14:14:16 +00:00
Doug 4431925ba3 Update the SDK. (#5015) 2026-01-27 14:13:47 +00:00
Doug e06baf6f32 Update the crypto strings. (#5009) 2026-01-27 11:32:52 +00:00
Stefan Ceriu 23062901c0 Update files following swiftformat upgrade 2026-01-27 12:50:57 +02:00
Stefan Ceriu fe189fcfed Disable swiftformat emptyExtensions rule as it clashes with Sourcery's AutoMockables 2026-01-27 12:50:57 +02:00
Stefan Ceriu b90fd5d8d9 Fix incorrect empty lines in doc comments 2026-01-27 12:50:57 +02:00
ElementRobot 6f66e01164 Bump the calendar version ready for the next release 2026-01-27 08:11:22 +02:00
Skye Elliot 2d5a86f161 Remove "history may be shared banner" (#4999)
* Revert "Do not show history visible banner when the user cannot send messages. (#4892)"

This reverts commit 2e09914cb7.

* Revert "Add a banner to encrypted rooms with visible history. (#4851)"

This reverts commit 6153480d90.
2026-01-26 14:59:48 +00:00
Stefan Ceriu cf79cb9b01 Horizontally scrollable code blocks (#5001)
* Remove attributed string backed codeblock background color

* Add code block support to attributed string componentization

* Render code blocks within their own custom horizontal scroll view within the timeline

* Update preview test snapshots

* Introduce a attributed string component type instead of a 2 different booleans.
2026-01-26 12:39:55 +02:00
ElementRobot bb801d0be1 Translations update (#5008) 2026-01-26 09:54:00 +00:00
Doug 06f37dacae Remove the protocol for SpaceServiceRoom given its a struct type. (#5000)
* Remove the protocol for SpaceServiceRoom given its a struct type.

* Fix a few missed mocks in the unit tests.
2026-01-26 09:45:46 +00:00
Doug 3b231339cd Make sure the selected/available rooms are updated when adding space children fails part way through. (#4997)
* Make sure the available rooms are updated if adding space children fails part way through.

* Additionally handle the case where removing rooms fails part way through.
2026-01-23 17:36:26 +00:00
Mauro Romito a3683ea996 updated the SDK and included the fix for leaving a space when the last owner of a non empty space 2026-01-23 17:49:07 +01:00
Mauro Romito 8f8ea473f5 pr suggestions 2026-01-23 15:18:55 +01:00
Mauro Romito ab1ed9e671 added the create button in the empty state of the space screen and refactored some code 2026-01-23 15:18:55 +01:00
Mauro Romito d012380b01 implemented the flow to create room in a selected space 2026-01-23 15:18:55 +01:00
Mauro Romito 8b38c2874a Implemented adding the room to the space after selection, and the editableSpace proxied API. Also updated and added tests. 2026-01-23 15:18:55 +01:00
Mauro Romito 51c7466fdf implemented the logic that displays the space selection CTA 2026-01-23 15:18:55 +01:00
Doug 5a0dd23cb4 Update the enterprise submodule. (#4989) 2026-01-23 11:24:59 +00:00
Stefan Ceriu 40b655bde6 Fix #4856, fix #4431 - Normalise HTML whitespaces using SwiftSoup's own text()/TextNode.normaliseWhitespace methods 2026-01-22 20:11:45 +02:00
Mauro Romito 7d47a290ee pr suggestion rename isPrivate to isVisibilityPrivate 2026-01-22 16:40:25 +01:00
Mauro Romito 4852c88617 update xcodeproj 2026-01-22 16:40:25 +01:00
Mauro Romito 5fd32ec67e pr suggestions + await PLs of the room to be ready before adding it to the space 2026-01-22 16:40:25 +01:00
Mauro Romito d4ec756fe3 log errors when add child and remove child fail 2026-01-22 16:40:25 +01:00
Mauro Romito 9dead7ed55 Implemented adding the room to the space after selection, and the editableSpace proxied API. Also updated and added tests. 2026-01-22 16:40:25 +01:00
Mauro Romito 07243be949 implemented the space selection list and the selection logic
# Conflicts:
#	ElementX/Sources/Screens/CreateRoomScreen/View/CreateRoomScreen.swift
2026-01-22 16:40:25 +01:00