Commit Graph

3813 Commits

Author SHA1 Message Date
Stefan Ceriu 5224fd0818 Remove unnecessary Codecov CLI version argument 2025-12-16 17:57:30 +02:00
Stefan Ceriu 3e9a231443 Replace the now deprecated codecov/test-results-action
As per https://github.com/codecov/test-results-action/pull/129
2025-12-16 17:57:30 +02:00
Stefan Ceriu 65dd900a5e Have fastlane's xcbeautify use a special github actions formatter and reporter. 2025-12-16 12:16:53 +02:00
renovate[bot] 678649a09a Update codecov/test-results-action action to v1.2.1 2025-12-16 08:53:19 +02:00
Doug 93dfc84a57 Add a service and flow coordinator for the LinkNewDevice feature. (#4859)
* Add a LinkNewDeviceService that exposes the SDK's grant QR code login methods.

* Add a flow coordinator for linking a new device.

Changes the presentation too.
2025-12-15 14:44:26 +00:00
ElementRobot 27ca265991 Translations update 2025-12-15 09:58:47 +01:00
Milton Moura c5f6353769 fix: remove unused MatrixRustSDK imports
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2025-12-13 10:11:57 +02:00
Milton Moura b4268e0a88 fix: remove unused Kingfisher import
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2025-12-13 10:11:57 +02:00
renovate[bot] e81e6b8309 Update actions/upload-artifact action to v6 2025-12-13 09:41:59 +02:00
Stefan Ceriu b71e667e73 Fix #4837 - Make sure changing the screen mode in the bindings also updates the activeTimelineContext
The original viewState mapping just stopped working properly for some reason. Updating it to `observe()` on `StateStoreViewModelV2` worked properly but I liked the viewAction based solution better, felt more streamlined.
2025-12-12 17:23:58 +02:00
Stefan Ceriu 0e33480928 Switch the MediaEventsTimelineScreen to second iteration of the StateStoreViewModel 2025-12-12 17:23:58 +02:00
Stefan Ceriu 0fad733479 Add AsyncAlgorithms to the main app target. 2025-12-12 17:23:58 +02:00
Doug 2eb02cdbaf Revert "Add a banner to encrypted rooms with visible history. (#4738)" (#4850)
This reverts commit aa525a52b1.
2025-12-12 11:44:13 +00:00
Doug ca0797e968 Clarify product input requirements and how to add translations for contributions. (#4849) 2025-12-12 11:35:48 +00:00
Mauro Romito 55e88245f5 handle the case where a non parent joined space is already available in the existing restricted join rule 2025-12-12 12:13:58 +01:00
renovate[bot] 00b2895e25 Update actions/cache action to v5 2025-12-12 09:30:05 +02:00
Skye Elliot aa525a52b1 Add a banner to encrypted rooms with visible history. (#4738)
* feat: Add history visible alert.

- Adds a dismissable alert that is displayed whenever the user
  opens a room with `history_visibility` != `joined`. When cleared,
  this is recorded in the app's data store.
- When opening a room with `history_visibility` = `joined`, this
  flag is cleared.

Issue: element-hq/element-meta#2875

* tests: Add unit tests for history sharing in `RoomScreenFooterView`.

* feat: Rename flag to `hasSeenHistoryVisibleBannerRooms`, document.

* refactor: Merge enum variants, use function for banner description.

* feat: Use `AppSettings.historyVisibleDetailsURL` over hard-coded value.

* tests: Correct potential race condition with deferred assertion.

* chore: Use Localazy translation string over project-defined.

* fix: Final tweaks and review comments.

* chore: Checkout `Enterprise` submodule.

* tests: Final fixes.
2025-12-11 17:07:57 +00:00
Stefan Ceriu cdc77a0cd1 Tweakity tweak tweaks 2025-12-11 15:42:17 +02:00
Stefan Ceriu 8518e67426 Move the room list sending state icons to the front of the latest event. 2025-12-11 15:42:17 +02:00
Doug 4ea1aaecdd Add a Link New Device screen (behind a feature flag). (#4811) 2025-12-11 11:45:23 +00:00
Stefan Ceriu 9ffb9a22e3 Attempt to make the EncryptionSettings UI tests more resilient
The secure backup disabling sheet doesn't show up in the snapshots. No idea what the actual problem is though, completely unreproducible locally.
2025-12-11 11:56:26 +02:00
Stefan Ceriu bc7ced11cb Fix the login flow and how the integration tests interact with the web authentication session 2025-12-11 11:56:26 +02:00
Doug d130dffaf3 Remove eraseToStream now that any AsyncSequence is available to us. (#4836)
* Remove `eraseToStream` now that `any AsyncSequence` is available to us.

* Remove the now unnecessary backport of Mutex.

* Silence a couple more deprecation warnings.
2025-12-10 18:33:15 +00:00
Mauro Romito 13f04d76f7 the sec and privacy screen is only displayed if at least one available action can be displayed. 2025-12-10 17:22:29 +01:00
Element CI 9f6947dea9 Prepare next release 2025-12-10 08:01:06 -08:00
Doug 3f87b51e4c Fix a bug where removing reactions would wipe out the last message in the room list. (#4834)
Update the SDK.
2025-12-10 15:19:10 +00:00
renovate[bot] 2f83afdea9 Update peter-evans/create-pull-request action to v8 2025-12-10 08:32:31 +02:00
Stefan Ceriu 82ee555844 Bump the RustSDK to v25.12.09 2025-12-09 21:51:32 +02:00
ElementRobot 81a43048e4 Translations update (#4830) 2025-12-09 12:01:55 +00:00
Skye Elliot af2985c8ad Set trust requirement even if setEncryption is false. (#4823)
* fix: Set trust requirement even if `setEncryption` is `false`.

- Calls `builder.decryptionSettings` with sender trust requirement,
  even if `setEncryption` is false`.
- Fixes https://github.com/element-hq/element-x-ios/issues/4702

* docs: Add doc comment explaining necessity of fix.

* feat: Set `roomKeyRecipientStrategy` alongside trust requirement.
2025-12-09 09:17:50 +00:00
Stefan Ceriu ffb42752de Bump the RustSDK to v25.12.07 2025-12-07 12:39:00 +02:00
renovate[bot] fe9722a6bb Update GitHub Actions 2025-12-07 11:22:49 +02:00
Mauro 8b08d2e05e Use generic "update details..." copy when saving details change (#4818)
* added updating space copy when saving the edit of a space

* use the generic copy instead of both a space and a room specific one
2025-12-04 16:51:46 +00:00
Mauro Romito 81ac54d23a pr suggestions 2025-12-04 16:23:34 +01:00
Mauro Romito d9d9606765 implemented the ask to join restricted rule join UI, and added tests and previews for it. 2025-12-04 16:23:34 +01:00
Mauro Romito fe6b74d59a updated edit details screen copies to reflect the usage of spaces. 2025-12-03 17:42:57 +01:00
Element CI 8b42d2b3b2 Prepare next release 2025-12-02 09:41:55 -08:00
Mauro Romito d23846ef65 two more edge cases tests 2025-12-02 18:17:16 +01:00
Mauro Romito cf673173a8 pr suggestions and updated tests 2025-12-02 18:17:16 +01:00
Mauro Romito b6754a8594 added preview tests 2025-12-02 18:17:16 +01:00
Mauro Romito d77700b72a implemented a way to update the desired setting after pressing done, and added tests 2025-12-02 18:17:16 +01:00
Mauro Romito 0782faeadd implemented the UI to manage authorized spaces 2025-12-02 18:17:16 +01:00
Mauro Romito 0dcf1ffda2 implemented the navigation to the manage auth spaces screen
# Conflicts:
#	ElementX/Sources/FlowCoordinators/RoomFlowCoordinator.swift
#	ElementX/Sources/FlowCoordinators/SpaceSettingsFlowCoordinator.swift
#	ElementX/Sources/Screens/SecurityAndPrivacyScreen/SecurityAndPrivacyScreenCoordinator.swift
#	ElementX/Sources/Screens/SecurityAndPrivacyScreen/SecurityAndPrivacyScreenModels.swift
2025-12-02 18:17:16 +01:00
Doug 2556eccc29 Add a specific notification body for space invites. (#4808) 2025-12-02 17:07:03 +00:00
Doug d545a2b904 Fix missing read receipts in the timeline and edits in the room list. (#4807)
* Update the enterprise submodule.

* Update the SDK.
2025-12-02 15:49:23 +00:00
renovate[bot] bf7df1ec0a Update dependency element-hq/compound-design-tokens to v6.4.2 (#4806)
* Update dependency element-hq/compound-design-tokens to v6.4.2

* Update Package.resolved files and snapshots.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2025-12-02 14:32:04 +00:00
Doug 5f05a457e4 Favour network over homeserver reachability when computing the offline indicator. (#4805)
For a whole host of reasons we don't support air-gapped operation anyway and as the SDK is super slow to tell us about the homeserver's reachability the indicator wasn't really working.
2025-12-02 11:21:47 +00:00
Doug 3b42a784c8 Add accessibility hints for the send state in the room list. (#4804) 2025-12-01 13:28:48 +00:00
Mauro Romito 656648fc7c drop iOS 17 and removed all #available and #unavaible checks for 17 and 18 2025-12-01 14:19:52 +01:00
Doug 7496f30966 Add the same unsaved changes alerts that Android has. (#4803)
* Add an alert to Discard or Save when there are unsaved changes on the RoomDetailsEditScreen.

* Add an alert to Discard or Save when there are unsaved changes on the UserDetailsEditScreen.

* Add an alert to Discard or Save when there are unsaved changes on the SecurityAndPrivacyScreen.

* Update strings.
2025-12-01 13:02:50 +00:00