Commit Graph

3651 Commits

Author SHA1 Message Date
Doug
afe6ce2bbd Add a Log Files entry to the Usage sizes. (#4921) 2026-01-06 21:39:39 +00:00
Skye Elliot
6117ee3a2b Do not show history visible banner when the user cannot send messages. (#4892) 2026-01-06 16:36:19 +00:00
Doug
a78a923b0d 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
9304c3cc65 Refactor SpaceServiceProxy.joinedSpaces to topLevelSpaces. 2026-01-06 10:57:37 +00:00
Doug
5d57b21222 Update the SDK and handle the API breaks. 2026-01-06 10:57:37 +00:00
Doug
e9b728f1fe Update snapshots. 2026-01-05 14:37:06 +00:00
Doug
27fd4dd07c Keep the natural size of the Translate action's SF symbol. 2026-01-05 14:37:06 +00:00
Lukas
83594b4d2f 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
616fd09b34 Fix typo in CONTRIBUTING.md changelog section 2026-01-05 12:52:06 +00:00
ElementRobot
e95b00746b 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
e64f5006c0 Bump the calendar version ready for the next release (#4905) 2026-01-05 10:21:14 +00:00
Doug
85445ead06 Fix the PR template's "contributing guide" link. 2026-01-05 10:15:49 +00:00
Skye Elliot
ae38dc54d4 Add a banner to encrypted rooms with visible history. (#4851)
* 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
3626f94289 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
e95d0531fb tapping on the space title will open the settings (if permissions are available) 2025-12-19 11:20:06 +01:00
Stefan Ceriu
79b8db8db2 Display the store sizes under the developer options menu 2025-12-19 11:12:36 +02:00
Stefan Ceriu
2880ee9135 Perform client store optimizations when migrating versions. 2025-12-19 11:12:36 +02:00
Mauro Romito
b08d4c9457 fix for leaving a space with no joined rooms showing the incorrect subtitle 2025-12-18 13:21:01 +01:00
Mauro Romito
ea8b2b16f9 better check if an user can edit addresses 2025-12-18 11:54:23 +01:00
Mauro Romito
8e594807f5 use the right check to show sec n privacy section in space settings 2025-12-18 11:54:23 +01:00
renovate[bot]
2c8c027b2f Update dependency apple/swift-argument-parser to from: "1.7.0" 2025-12-18 08:56:32 +02:00
Doug
10bd3015ee Final tweaks to the existing QR code screens to match the designs. (#4874)
* 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
ec03a0a1bd 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
182a700c41 rte updated to 2.41.0 2025-12-17 15:17:57 +01:00
Stefan Ceriu
b762ce4fc0 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
d792f9a9a9 Update Package.resolved file. 2025-12-17 12:58:05 +00:00
Doug
9d75c21deb 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
ccc86f25ee Bump the RustSDK to v25.12.17 2025-12-17 13:57:25 +02:00
Stefan Ceriu
ee52d8d11a Remove now unnecessary screen creation UI tests copying step. 2025-12-17 11:45:11 +02:00
Stefan Ceriu
cf7d154550 Use the quiet argument on Fastlane's xcbeautify output formatter
This should remove most of the noise and make it easier to spot issues.
2025-12-16 18:36:19 +02:00
Doug
9f591537cb Add a missing import. 2025-12-16 16:22:21 +00:00
Doug
b9c121db82 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
155d054be7 Unpin the codecov-action version from renovate 2025-12-16 18:00:37 +02:00
Doug
046cf6c120 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
0287611333 Manually pass in the coverage and test result report files and disable automatic search. 2025-12-16 17:57:30 +02:00
Stefan Ceriu
2714edf3d6 Stop running the coverage upload steps on failed or cancelled (i.e. non-successful) runs 2025-12-16 17:57:30 +02:00
Stefan Ceriu
89ba878ca6 Bump the codecov action from 3.1.6 to 5.5.2 2025-12-16 17:57:30 +02:00
Stefan Ceriu
16b5f7adca Converge on same comments and behaviours for forks and cancelled runs. 2025-12-16 17:57:30 +02:00
Stefan Ceriu
cc88353384 Remove unnecessary Codecov CLI version argument 2025-12-16 17:57:30 +02:00
Stefan Ceriu
9dc0b513c6 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
584e04e505 Have fastlane's xcbeautify use a special github actions formatter and reporter. 2025-12-16 12:16:53 +02:00
renovate[bot]
b66f7ff040 Update codecov/test-results-action action to v1.2.1 2025-12-16 08:53:19 +02:00
Doug
8df57abc1e 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
2de55f98b0 Translations update 2025-12-15 09:58:47 +01:00
Milton Moura
184726ac28 fix: remove unused MatrixRustSDK imports
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2025-12-13 10:11:57 +02:00
Milton Moura
443607d46c fix: remove unused Kingfisher import
Signed-off-by: Milton Moura <miltonmoura@gmail.com>
2025-12-13 10:11:57 +02:00
renovate[bot]
e23d6f2526 Update actions/upload-artifact action to v6 2025-12-13 09:41:59 +02:00
Stefan Ceriu
e48f947f74 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
fd5f288143 Switch the MediaEventsTimelineScreen to second iteration of the StateStoreViewModel 2025-12-12 17:23:58 +02:00
Stefan Ceriu
dab166ee9f Add AsyncAlgorithms to the main app target. 2025-12-12 17:23:58 +02:00