Commit Graph

2757 Commits

Author SHA1 Message Date
renovate[bot]
a515b993bd Update apple-actions/import-codesign-certs digest to cfd6eb3 2025-03-25 08:58:15 +02:00
Stefan Ceriu
c57ff34b13 Revert codecov/codecov-action changes and add allowedVersions renovate rule. 2025-03-24 13:37:17 +02:00
renovate[bot]
4552e9ba3f Update GitHub Actions to v5 2025-03-24 13:37:17 +02:00
ElementRobot
0dc30f91e4 Translations update (#3932)
* Translations update

* Update preview snapshots

---------

Co-authored-by: pixlwave <6060466+pixlwave@users.noreply.github.com>
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2025-03-24 11:42:26 +02:00
Mauro Romito
9fe547fa65 fix: DM invites now correctly render the avatar 2025-03-21 20:27:04 +01:00
Doug
0badcd1303 Add developer options for Rust's Trace Log Packs. (#3929)
* Add support for configuring log packs.

* Update call widget parameters.

* Update the SDK.
2025-03-21 19:00:13 +00:00
Mauro Romito
edcc5d17c8 UserPreference now can have published defaultValue
better approach

improved and added tests
2025-03-21 15:41:39 +01:00
Mauro Romito
d9196b2fa1 pr suggestions 2025-03-21 15:41:39 +01:00
Mauro Romito
d3fd1e9b55 updated test for hidden avatars in invites 2025-03-21 15:41:39 +01:00
Mauro Romito
f7c7cf23ed UserPreference now supports closure based default
and you can also force the defaults to be always used through a subscription
2025-03-21 15:41:39 +01:00
Mauro Romito
208e7de3ee hide invite avatars when such flag is on
This affects:
- Invited room preview inviter avatar
- Invited room preview room avatar
- Invited room cell inviter avatar in the room list
- Invited room cell room avatar in the room list
- Push notification for an invite
2025-03-21 15:41:39 +01:00
Element CI
b91d1ea19e Prepare next release 2025-03-21 03:29:55 -07:00
Doug
41072de1bc Fix rebase take II. 2025-03-21 10:11:56 +00:00
Element CI
4afb98941c Prepare next release 2025-03-20 11:56:21 -07:00
Doug
3981a79829 Discard any changes before rebasing main. (#3927) 2025-03-20 18:05:43 +00:00
Element CI
3883ed4229 Prepare next release 2025-03-20 09:10:41 -07:00
Doug
0126932df0 Update the SDK to 25.03.20. (#3925) 2025-03-20 13:18:06 +00:00
Doug
c1707d36d2 Stop CI from uploading Codecov results when a PR comes from a fork. (#3917)
Also fix the condition used on the Enterprise tests.
2025-03-20 08:45:38 +00:00
Stefan Ceriu
77bb839140 Attempt to fix the wrong timeline start display by defaulting the backwards publisher to .idle
The default values shouldn't matter as they should be updated when calling subscribeToPagination
but empirically we randomly see the timeline start virtual item when we shouldn't.
We believe there's a race condition between the default values the status publisher
so we're going to default the backwards one to .idle.
Worst case it's going to do one extra back pagination.
2025-03-19 20:10:58 +02:00
Doug
7b2d7652d8 Remove the unused TestMeasurementParser and lint integration tests again. (#3918) 2025-03-19 12:52:07 +00:00
Robin
bb8b9d8967 Run the 'prevent blocked' workflow even if PR has conflicts (#3914)
See the description of pull_request versus pull_request_target documented at https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request.
2025-03-19 11:44:41 +00:00
Doug
69e908ee16 Add overrides for OIDC configuration. (#3910)
* Add overrides for OIDC configuration.

* Make sure we're linting more than just the main app.

* Fix the bundle command.
2025-03-19 11:18:20 +00:00
renovate[bot]
6825e21e0f Update codecov/codecov-action action to v3.1.6 2025-03-19 08:39:11 +02:00
Stefan Ceriu
a6daebfe59 Pin all 3rd party github actions to their full length commit SHA
- this is the recommended security practice as per https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions
2025-03-19 08:22:09 +02:00
Doug
84535ecb8b Fix an issue rendering pills in some forks. (#3913) 2025-03-18 16:36:45 +00:00
Mauro Romito
195621906d fix: completion service matches now any character
also added a test for it
2025-03-18 13:06:18 +01:00
Mauro Romito
ef4e6b062f added a test to check if URLs work with RTL 2025-03-17 17:04:07 +01:00
Mauro Romito
81031b12a7 added tests
improvement

improved

improvement

fixed
2025-03-17 16:21:09 +01:00
Mauro Romito
4843bf0f01 phishing alert implementation
we now check when building the string through the `AttributedStringBuilder` if a URL is actually hiding a different link, if so, we create a custom URL that contains both the external and the internal URL to advise the user through an Alert about the risk
2025-03-17 16:21:09 +01:00
Mauro Romito
0c7707a57c removed images in pills in favour of text decos
FIX

fix
2025-03-17 14:45:23 +01:00
Stefan Ceriu
fba644fc0c Fix #3881, fix #3893 - Delay the presentation of the share extension room selection screen until the currently presented room is correctly torn down
If QuickLook is presented (e.g. a timeline media is being viewed in full screen) then its animated dismissal will
interfere with presenting other screens and break the state machine. Unfortunately I wasn't able to find any
reasonable way to have the QuickLook dismiss itself without an animation

On the other hand, we can fix both this issue and improve #3893 by just delaying the presentation of the room
selection list, which is what this patch does.
2025-03-17 14:46:43 +02:00
pixlwave
8b33071ba0 Translations update 2025-03-17 09:08:26 +02:00
Doug
730d6a4f69 Update the Enterprise submodule. (#3899) 2025-03-14 11:41:56 +00:00
renovate[bot]
3154cb1133 Update dependency fastlane to v2.227.0 (#3900)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-14 08:53:41 +00:00
Stefan Ceriu
1ae6fc67c4 SDK update (#3891)
* Bump the RustSDK to v25.03.11

* Replace oidc login prompt with nil following the changes from https://github.com/matrix-org/matrix-rust-sdk/pull/4761

```
/// * `prompt` - The desired user experience in the web UI. No value means
///   that the user wishes to login into an existing account, and a value of
///   `Create` means that the user wishes to register a new account.
```

* Fix trailing closure warnings

* Update the client proxy after making `getNotificationSettings()` and  `cachedAvatarUrl()` async (they used to be blocking on the rust side).

* Move `Room.isEncrypted` to the info publisher and manually update the encryption state when creating the room.

* Bump the SDK again to v25.03.12 - This introduces a new way to configure the tokio runtime that we can use to have extensions use less memory
- introduce a new Target struct that takes care of setting up rust services (tracing and tokio) for our various targets
- cleanup MXLog and friends

* Address PR comments

* Bump the SDK again, switch back to using `.consent` as the OIDC login prompt (which was reintroduced in matrix-org/matrix-rust-sdk/pull/4791)
2025-03-13 11:17:37 +02:00
Mauro Romito
8dcd2b6906 added @room to suggestion view for room mentions 2025-03-12 18:55:59 +01:00
Doug
efd776605c Prefix our release tags with release/ (#3894) 2025-03-12 16:47:01 +00:00
Mauro Romito
f80398677e update sentry 2025-03-11 15:16:56 +01:00
Mauro Romito
832f66b26d update sentry
8.30+ has a bug and 8.35 is considered stable
2025-03-11 15:10:32 +01:00
Stefan Ceriu
78b162bea7 Fixes #3867 - Change bage label colors to blue when not highlighted
- bumps compound to get new semantic tokens
- updates related snapshots
- the composer updates have already been handled separately
2025-03-10 16:30:32 +02:00
ElementRobot
5781f15d73 Translations update (#3885) 2025-03-10 10:20:09 +00:00
Doug
bee7635537 Rename the Enterprise variant to Pro. (#3877) 2025-03-07 13:47:11 +00:00
Mauro Romito
6e7ab7e586 fetch unshallow only in post-clone 2025-03-07 10:56:02 +01:00
Mauro Romito
3d4c36e0bc check if the git is shallow before fetching 2025-03-07 10:22:32 +01:00
Mauro Romito
8f3d7d2908 fastlane: rebase main with develop after a release
moved the git fetch into the setup of xcode cloud

fix
2025-03-06 17:05:22 +01:00
Mauro Romito
32036e5b66 refactored the ClientProxy to:
- throw an error during the init
- to have its init directly instantiate the sync service and the providers

Update ElementX/Sources/Services/UserSession/UserSessionStore.swift

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

renamed
2025-03-06 14:13:55 +01:00
Element CI
7058334614 Prepare next release 2025-03-06 04:16:14 -08:00
Mauro Romito
8c45e8e61b always enabled event cache and updated the SDK
Revert "always enabled event cache and updated the SDK"

This reverts commit 2f27370eeef327c3271b0cf6797288b01ced160b.

fixup

event cache key update
2025-03-06 12:44:20 +01:00
Hugh Nimmo-Smith
1677c20d31 Re-enable error screens in group calls (#3856)
This reverts commit 99141735c8.
2025-03-06 10:40:06 +00:00
Mauro
3d856ce205 Room mentioning in the composer (#3868)
* refactored the suggestion item structure

to scale with the room pill

* Implemented a way for the rooms

to appear in the suggestions view for the RTE, however I need to add the pills to the composer and the compatibility with the plain text composer

* small code correction

* fix

* fixed a bug where the suggestion wasn't returning

the right suggestion type and the suggestion text properly

* implementation done!

also updated some tests, but we need more of them

* updated toolbar view model tests

* updated tests

* updated preview tests

* renamed the Avatars case for the suggestions
2025-03-06 11:32:37 +01:00