4456 Commits

Author SHA1 Message Date
Stefan Ceriu de723853e3 Make the room power levels optional as they can be missing depending on what state events are requested 2025-06-25 17:23:22 +03:00
Stefan Ceriu c7ff6c019d Adopt new canOwnUser* power level methods instead of the throwing ones. 2025-06-25 17:23:22 +03:00
Doug 374fb722c6 Fix media previews in private room notifications and pagination on upgraded rooms. 2025-06-24 20:12:20 +03:00
Stefan Ceriu 5ac6ec28d5 Adopt room info power levels (#4245)
* Use the newly RoomInfo published PowerLevels; update permissions at the same time as the room info and avoid unnecessary async calls.

* Introduce a RoomInfoProxyProtocol and associated mock and move away from mocked SDK RoomInfos

* Bump the SDK to v25.06.23

* Expose new non-throwing methods for checking one's own user permissions

* Fix the unit and preview tests (except the TimelineMediaPreviewDetails for which simplified snapshots were generated)

* Converge on one single implementation for computing a room's avatar.

* Fix more unit tests

* Fix the TimelineMediaPreviewDetailsView snapshot tests

This reverts commit 9b6c819e611ad2fa3de2c34a4a7aa556fc9faadd.

---------

Co-authored-by: Doug <douglase@element.io>
2025-06-24 17:48:00 +01:00
Doug 0f9d700c99 Fix a crash when attempting to send a bug report with excessively large logs. (#4243)
* Alert the user when there are excessively large log files.
2025-06-24 09:47:20 +01:00
renovate[bot] 0bf6ed1c63 Update dependency jpsim/Yams to from: "6.0.2" 2025-06-24 09:35:21 +03:00
Doug 5b3e045e3c Expose isLiveKitRTCSupported on the ClientProxy. (#4238) 2025-06-23 11:21:36 +01:00
ElementRobot 5579f97886 Translations update 2025-06-23 09:43:31 +03:00
Mauro 0c8a401b4d EC Timeout if it doesn't respond after 30 seconds (#4237)
* basic implementation

* using a decodable struct to interpret the widget message

* small code refactor/improvement
2025-06-20 18:21:31 +02:00
Stefan Ceriu cbf405a67e Better integrate RoomPowerLevelsProxyMock's own Configuration struct. 2025-06-20 18:10:45 +03:00
Stefan Ceriu f522e15dac Adopt the lastest SDK APIs and refactor how we deal with user permissions.
This patch introduces a new RoomPowerLevelsProxy and its associated mock and adopts newer Rust APIs to make working with user power levels and permissions easier.
2025-06-20 18:10:45 +03:00
Doug 96e5ed06f5 Advertise support for matrix as a URL scheme. (#4236)
Internally everything is already in place to handle Matrix URIs as we support them within the app.
2025-06-20 13:59:25 +01:00
Mauro Romito c8fc4174a6 pr suggestion 2025-06-20 10:07:58 +02:00
Mauro Romito ec2a30c492 show alert when trying to accept invalid invites 2025-06-20 10:07:58 +02:00
Element CI 6bf26ce389 Prepare next release 2025-06-19 06:52:31 -07:00
Stefan Ceriu daf4aa9239 Move all Introspect VersionPredicates into Compound to have them all in the same place. 2025-06-19 15:06:16 +03:00
Stefan Ceriu f4333ba683 Fix MediaTimeline screen header iOS 26 crash, update remaining version predicates. 2025-06-19 14:29:49 +03:00
Stefan Ceriu 087a07c01b Fix thread summaries being shown when the thread feature flag was disabled. 2025-06-19 14:01:06 +03:00
Stefan Ceriu 712e1f59a7 Fix the MockImageCache and the unit tests following the Kingfisher update. 2025-06-18 19:50:06 +03:00
Stefan Ceriu 7ed806535a Bump Version to v2.2.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu 5c320e02e6 Bump Posthog to v3.27.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu eedccef50e Bump Kingfisher to v8.3.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu 63991aa776 Bump KeychainAccess to v4.2.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu 133fb4c4fb Bump DeviceKit to v5.6.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu da11755f3d Bump Swift Algorithms to v1.2.1 and Collections to 1.2.0 2025-06-18 19:50:06 +03:00
Stefan Ceriu 400cff1e69 Bump Emojibase to v1.4.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu 0eb8b1ecae Bump AnalyticsEvents to v0.29.2 2025-06-18 19:50:06 +03:00
Stefan Ceriu effd805901 Bump Sentry to v8.52.1 2025-06-18 19:50:06 +03:00
Doug 5f621411b2 Run Xcode select on the Translations and CalVer workflows. (#4224)
* Run Xcode select on the Translations and CalVer workflows.

* Use ci_common.sh for xcode-select instead.
2025-06-18 16:53:32 +01:00
Stefan Ceriu ccb0fc7de0 Fixes #4222 - Hide timeline item actions that the user's power level does not allow 2025-06-18 17:39:45 +03:00
Mauro Romito f04f3e74a7 update ui tests for the poll form screen 2025-06-18 16:36:37 +02:00
ElementRobot 872a51a4d3 Translations update (#4225) 2025-06-18 15:00:25 +01:00
Doug 4739d1139f Add a section for pr-a11y in the release notes. (#4223) 2025-06-18 14:38:14 +01:00
Doug 2d926f446a Refactor reportUrl to reportURL. 2025-06-18 14:32:26 +01:00
Doug d2562b1b7e Don't check the report URL's contents before clearing the lastCrashEventID.
If we reached it this far, the server has indicated that the submission was successful.
2025-06-18 14:32:26 +01:00
Nicolas Buquet dd20823240 Make BugReportService reportUrl optional (#4195) 2025-06-18 14:32:26 +01:00
Element CI 8b53ff2f37 Prepare next release 2025-06-18 04:31:21 -07:00
Doug 6d2fdb81e4 Update the SDK. (#4220)
* Update the SDK.

* Remove unnecessary function from the AppHooks protocol.
2025-06-18 12:01:23 +01:00
Mauro Romito 5c4fc49763 pr suggestion: use computed var for scaleY 2025-06-18 11:47:56 +02:00
Mauro Romito 5e342a91dd unflip timeline table view in voice over mode only 2025-06-18 11:47:56 +02:00
Mauro Romito 12e55d6c28 improved reactions a11y 2025-06-18 11:23:45 +02:00
Stefan Ceriu 28038adc0d Fixes #4204, #4180 - Fix OS 26 crashes when not running a development build. 2025-06-18 11:54:00 +03:00
Mauro Romito 5b6f4a30f0 updated strings 2025-06-17 12:56:19 +02:00
Mauro Romito b164f872eb updated tests 2025-06-17 12:56:19 +02:00
Mauro Romito 6c5813b534 improved a11y in CollapsibleRoomTimelineView 2025-06-17 12:56:19 +02:00
Mauro Romito 7e801c3e58 focus voice over automatically when focussing a timeline event 2025-06-17 11:58:07 +02:00
Stefan Ceriu b605717cfc Bump Compound and prevent Introspect from breaking on newer OS versions. 2025-06-16 12:56:29 +03:00
Mauro Romito 670bb3a2f3 improved the accessibility labels for the view
also added copies for the section headers, and fixes an issue where the move action voice over was not reading the option
2025-06-16 11:31:17 +02:00
Stefan Ceriu 93cd1401cf Fix preview test crashes when accessing misconfigured draft service mocks 2025-06-13 17:42:40 +03:00
Stefan Ceriu 6fc6df9375 Refactor how drafts are handled on a coordinator level and add support for them on thread timelines. 2025-06-13 16:56:13 +03:00