Commit graph

3666 commits

Author SHA1 Message Date
Doug
99e160ddc4
Update dependencies. (#4940)
Some checks failed
Compound / tests (push) Has been cancelled
Unit Tests (Enterprise) / Tests (Enterprise) (push) Has been cancelled
Unit Tests / Tests (push) Has been cancelled
* Minor dependency updates.

Plus SwiftSyntax 509 → 601

* Update MapLibre to v6.

* Update Sentry to v9.
2026-01-09 16:48:03 +00:00
Mauro Romito
e2ecda5c60 update SDK to 26.1.9 2026-01-09 15:53:15 +01:00
Mauro
34123a4567
Empty spaces list screen (#4936)
* Added an FF to create spaces + empty spaces list state

* removed learn more button and improved spacing

* updated toolbar for chats and spaces to match ios 26 designs
2026-01-09 15:17:43 +01:00
Doug
a894da0903
Handle OIDC cancellation and workaround missing progress when linking a new device. (#4935)
* Fix a bug where the link device flow wasn't dismissed when complete.

* Listen for cancellation of the WAS when linking a device (dismissing the QR screen when it happens).

* Add CustomStringConvertible conformances to QRCodeLoginScreen actions.
2026-01-09 14:08:05 +00:00
Doug
7cb472a4f7
Add tests for linking a new device. (#4934)
* Replace GrantLoginWithQrCodeHandlerSDKMock with LinkNewDeviceServiceMock.

Add tests for all initial states on the QRCodeLoginScreen.

* Add tests for linking both mobile and desktop devices.

* Add UI tests for linking a new device.

* Don't show the Link Desktop Computer button when running on macOS.

This mirrors the decision to hide the Sign In With QR Code button on the start screen.
2026-01-09 13:10:14 +00:00
Skye Elliot
00dc901ce1
Bump the Rust SDK to v26.01.06 (#4933)
Some checks failed
Unit Tests / Tests (push) Has been cancelled
Unit Tests (Enterprise) / Tests (Enterprise) (push) Has been cancelled
2026-01-08 10:40:00 +00:00
Mauro Romito
8e0ccd0015 update the history visibility state, only if allowed, and also update the history visibility value
Some checks are pending
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
2026-01-08 10:13:29 +01:00
Mauro Romito
4a24db7758 check permissions and if a space before calling sec and privacy APIs 2026-01-08 10:13:29 +01:00
Doug
f765f6e755
Fix icon alignment on placeholder message items. (#4930)
Some checks failed
Compound / tests (push) Has been cancelled
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
2026-01-07 17:43:34 +00:00
Doug
0a749555a4
Update the font style for placeholder messages (redacted/encrypted/unsupported). (#4927) 2026-01-07 14:23:47 +00:00
renovate[bot]
1726ee24c1
Update dependency element-hq/compound-design-tokens to v6.6.0 (#4928)
* Update dependency element-hq/compound-design-tokens to v6.6.0

* Update Package.resolved files.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2026-01-07 14:07:12 +00:00
Doug
cb8604f0e3 Fix compile error. 2026-01-07 12:37:10 +00:00
Doug
c1bb838517
Add support for linking new devices in the QRCodeLoginScreen. (#4891)
* Adds the remaining parts for showing/scanning a QR code to link a new device.

* Refactor the QRCodeLoginService to work the same way as the LinkNewDeviceService.
2026-01-07 12:18:39 +00:00
Mauro Romito
9269f3057b fix for unbanning requiring both kick and ban permissions 2026-01-07 10:55:17 +01:00
renovate[bot]
1d23ea98fd
Update dependency element-hq/compound-design-tokens to v6.5.0 (#4920)
Some checks are pending
Compound / tests (push) Waiting to run
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
* Update dependency element-hq/compound-design-tokens to v6.5.0

* Update Package.resolved files.

* Use the new translate icon.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Doug <douglase@element.io>
2026-01-06 21:48:42 +00:00
Doug
dc29b5bc7e
Add a Log Files entry to the Usage sizes. (#4921) 2026-01-06 21:39:39 +00:00
Skye Elliot
2e09914cb7
Do not show history visible banner when the user cannot send messages. (#4892)
Some checks are pending
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
2026-01-06 16:36:19 +00:00
Doug
a53b9137ef Add a dedicated target for SDK mocks to avoid type name conflicts on the generated code. 2026-01-06 10:57:37 +00:00
Doug
44f88adfb0 Refactor SpaceServiceProxy.joinedSpaces to topLevelSpaces. 2026-01-06 10:57:37 +00:00
Doug
3cbeca82bd Update the SDK and handle the API breaks. 2026-01-06 10:57:37 +00:00
Doug
5bf9632112 Update snapshots.
Some checks are pending
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
2026-01-05 14:37:06 +00:00
Doug
2071a18102 Keep the natural size of the Translate action's SF symbol. 2026-01-05 14:37:06 +00:00
Lukas
ec97996a7c Add "Translate" to TimelineItemMenuActions (#4846)
* Add "Translate" to TimelineItemMenuActions

* Update TimelineView.swift

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

* Update strings using `download-strings`

* Update ElementX/Sources/Screens/Timeline/View/ItemMenu/TimelineItemMenuAction.swift

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

* Clear `textToBeTranslated` after translation was dismissed

* `swift run tools download-strings --all-languages`

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
# Conflicts:
#	ElementX/Resources/Localizations/et.lproj/Localizable.strings
#	ElementX/Resources/Localizations/fr.lproj/Localizable.strings
#	ElementX/Resources/Localizations/hr.lproj/Localizable.strings
2026-01-05 14:37:06 +00:00
Doug
784bc04237
Fix typo in CONTRIBUTING.md changelog section 2026-01-05 12:52:06 +00:00
ElementRobot
eda56cd486
Translations update (#4894)
* Translations update

* Fix (and disable) broken test.

* Update snapshots.

---------

Co-authored-by: Doug <douglase@element.io>
2026-01-05 12:43:05 +00:00
ElementRobot
46410adf41
Bump the calendar version ready for the next release (#4905) 2026-01-05 10:21:14 +00:00
Doug
478620c2f4
Fix the PR template's "contributing guide" link. 2026-01-05 10:15:49 +00:00
Skye Elliot
6153480d90
Add a banner to encrypted rooms with visible history. (#4851)
Some checks failed
Unit Tests / Tests (push) Has been cancelled
Unit Tests (Enterprise) / Tests (Enterprise) (push) Has been cancelled
* 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.

* fix: Condition banner visibility on feature flag state.

* fix: Prioritise identity violations over history visibility banner.

* tests: Add snapshots for history visible banner.

* tests: Use deferred failure timeout for improved test power.

* chore: Tweaks to spelling, simplify state logic.

* fix: Remove "g".

* fix: Show banner for shared/world-readable rooms, not invited.

* refactor: Use `else-if` instead of `if`.
2025-12-19 15:26:45 +00:00
Mauro Romito
88cd816392 implemented a way to filter out roles that can't be assigned to permission, and disable permissions that are above the current power level of the user. 2025-12-19 11:34:21 +01:00
Mauro Romito
f2fc164e2b tapping on the space title will open the settings (if permissions are available) 2025-12-19 11:20:06 +01:00
Stefan Ceriu
53a20f2a89 Display the store sizes under the developer options menu 2025-12-19 11:12:36 +02:00
Stefan Ceriu
8a1d0fe8b1 Perform client store optimizations when migrating versions. 2025-12-19 11:12:36 +02:00
Mauro Romito
57cd5dd794 fix for leaving a space with no joined rooms showing the incorrect subtitle
Some checks are pending
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
2025-12-18 13:21:01 +01:00
Mauro Romito
b1abb729aa better check if an user can edit addresses 2025-12-18 11:54:23 +01:00
Mauro Romito
45d09b5be5 use the right check to show sec n privacy section in space settings 2025-12-18 11:54:23 +01:00
renovate[bot]
2590a0e0d7 Update dependency apple/swift-argument-parser to from: "1.7.0"
Some checks are pending
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
2025-12-18 08:56:32 +02:00
Doug
1a62f2cca6
Final tweaks to the existing QR code screens to match the designs. (#4874)
Some checks failed
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
Compound / tests (push) Has been cancelled
* Simplify QR errors even more and use the correct error state for deviceAlreadySignedIn.

* Remove the pre-defined padding on TitleAndIcon and use it in the QRCodeLoginScreen too.

* Update FullscreenDialog to allow different horizontal padding in each section.
2025-12-17 17:23:55 +00:00
Mauro Romito
117185de87 unbanning is now dependant on the kick permission, and removed the change settings permission option in spaces. 2025-12-17 18:19:50 +01:00
Mauro Romito
581c82dd02 rte updated to 2.41.0
Some checks are pending
Compound / tests (push) Waiting to run
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
2025-12-17 15:17:57 +01:00
Stefan Ceriu
8164c88437
Update history visible settings (#4861)
* Fixes #4852 - Update history visible settings

* Address PR comments and move attributed strings to the view state
2025-12-17 15:04:02 +02:00
Doug
aa28ef3f19 Update Package.resolved file. 2025-12-17 12:58:05 +00:00
Doug
b9acfa5218
Update the foreground colour of BigIcon's default style. (#4871)
* Update the foreground colour of BigIcon's default style.

* Bump the design tokens and fix a bug in the inspector app.
2025-12-17 12:48:18 +00:00
Stefan Ceriu
4bf3d5099c Bump the RustSDK to v25.12.17 2025-12-17 13:57:25 +02:00
Stefan Ceriu
2b0bd08311 Remove now unnecessary screen creation UI tests copying step. 2025-12-17 11:45:11 +02:00
Stefan Ceriu
15126873f7 Use the quiet argument on Fastlane's xcbeautify output formatter
Some checks are pending
Compound / tests (push) Waiting to run
Unit Tests / Tests (push) Waiting to run
Unit Tests (Enterprise) / Tests (Enterprise) (push) Waiting to run
This should remove most of the noise and make it easier to spot issues.
2025-12-16 18:36:19 +02:00
Doug
8c74743e78 Add a missing import. 2025-12-16 16:22:21 +00:00
Doug
85ebf4d1ce
Move BigIcon into Compound and add a new TitleAndIcon component. (#4866)
* Move BigIcon into Compound.

* Replace the old server selection image asset with the \.host icon.

* Add a new TitleAndIcon component to Compound.

* Add the ability to override TitleAndIcon's padding.
2025-12-16 16:01:26 +00:00
Stefan Ceriu
b668de8908 Unpin the codecov-action version from renovate 2025-12-16 18:00:37 +02:00
Doug
841cdc291a
General tidy-up related to QR codes. (#4865)
* Tidy-up Rust to Swift mapping.

* Refactor out a dedicated QRCodeErrorView.

* Use the new QRCodeErrorView for most error state snapshots.

* Simplify QRCodeErrorView structure.

Also updates the background to match the designs.

* Fix a small compile error in the unit tests.
2025-12-16 15:59:59 +00:00
Stefan Ceriu
189da20419 Manually pass in the coverage and test result report files and disable automatic search. 2025-12-16 17:57:30 +02:00