Commit Graph

2116 Commits

Author SHA1 Message Date
Stefan Ceriu
bd0359c76f Show DM recipient verification badges on the room details screen profile button (#3824) 2025-02-26 13:55:59 +02:00
Stefan Ceriu
0067fee640 Fixes #3830 - Editing messages not placing the cursor at the end of the text 2025-02-26 10:56:15 +02:00
Mauro
958f0d59a1 Cache account management URL (#3826)
* cache account management URL

when sync starts

* better documentation
2025-02-25 17:51:28 +01:00
Mauro
431828828d Render Room and Message Pills (#3809)
* added a way to render the room and the message

pills, but is WIP

* permalinks now get converted into pills!

* fixed an issue where room address mentions

were not adding a URL properly but a string

* updated tests

* c

* Revert "c"

This reverts commit 5c80252fa23dba7e4d44f2a07fbf1e9500e37c82.

* updated tests

* more tests

* created APIs to get a specific RoomSummary

given the id or the alias

* small mention builder improvement

* pr suggestions
2025-02-25 13:46:01 +00:00
Doug
67342c38d7 Don't set the room topic when creating a room if it is blank. (#3821)
* Don't set the room topic when creating a room if it is blank.

Also fix the styling on the room name text field.

* Snapshots

* Add a test for the empty topic.
2025-02-25 11:10:59 +00:00
Stefan Ceriu
21223b2492 Show the timeline kind in the process_timeline_list_diffs tracing span. 2025-02-25 12:40:56 +02:00
Stefan Ceriu
d7535d4618 Bump the RustSDK to v25.2.25, address breaking changes from matrix-org/matrix-rust-sdk/pull/4674 2025-02-25 12:40:56 +02:00
Doug
b249f0449a Configure diagnostics (and MapLibre) using Pkl. (#3820)
* Bump the version for the next release.

* Ignore all generated sources.

* Use Pkl+XcodeGen to inject secrets instead of the project.

* Inject the PostHog/Sentry/Rageshake configuration from the environment.

* Fix bad unicode.

* Fix unit tests.
2025-02-24 18:36:08 +00:00
Hugh Nimmo-Smith
99141735c8 Revert "Show error screens in group calls (#3813)" (#3819)
This reverts commit e9fa0ce5f2.
2025-02-24 18:03:16 +00:00
Mauro
ecc82f1acb use the alternative summary provider (#3817) 2025-02-24 16:42:24 +01:00
Doug
3e2de3b303 Update translations (manually). (#3815) 2025-02-24 11:02:39 +00:00
Robin
e9fa0ce5f2 Show error screens in group calls (#3813)
Element Call now sends a 'close' widget action when the widget is ready to close. Usually this will be sent immediately after the 'hangup' action, but it could be sent later if the widget wants to present an error screen before closing. So by listening to the 'close' action rather than the 'hangup' action, we get to see these error screens.
2025-02-24 10:09:30 +00:00
Doug
eada88030c Rename a couple of missed isEncryptedOneToOneRoom properties. (#3804) 2025-02-20 14:15:49 +00:00
Doug
772e754773 Update Compound (#3803) 2025-02-20 14:15:26 +00:00
Doug
442b4cc46b Use the placeholder added to the force logout alert. (#3802) 2025-02-18 13:11:46 +00:00
Doug
6deaa26e8e Hide the unread dot after previewing an invite. (#3800)
* Hide the unread dot when previewing an invite.

* Remove an invited room ID when accepting/rejecting.

* Remove the unread badge from knocked room cells.

* Update snapshots.

* Address PR comments.

Refactor KnockRequestType to JoinRequestType.
2025-02-18 12:22:13 +00:00
Doug
74511e0570 Update the SDK.
Handles changes that removed support for the sliding sync proxy.
2025-02-18 11:55:20 +00:00
Stefan Ceriu
1e58795a65 User verification state indicators (#3793)
* Introduce a `UserIdentityProxy` and have it combine upstream methods into an easy to digest  `UserIdentityVerificationState`. Use it in a dedicated `VerificationBadge` UI component

* Show a DMs counterpart verification state in the room header

* Show a warning on the room details `People` entry when there are identity verification state violations on any of the members.

* Show verification badges in the room member list

* Show a withdraw verification section on the room member details for users that have pinning violations.

* Remove the verification section from the profile screen as there's no reliable way to keep it up to date
- the underlying Rust SDK Olm Machine can be rebuilt without notice which would break any existing user identity change streams.

* Update preview test snapshots
2025-02-18 08:37:34 +02:00
ElementRobot
f5b0141260 Translations update (#3799) 2025-02-17 11:46:55 +00:00
Stefan Ceriu
fba04ffdf5 Fix #3794 - Stop the message composer from randomly changing the cursor position 2025-02-17 12:28:43 +02:00
Mauro Romito
8098e2b057 updated dev options screen 2025-02-17 12:16:53 +02:00
Doug
802120d722 Update string after resolving some duplicities. (#3791) 2025-02-14 11:34:49 +00:00
Vickcoo
617d1f67b2 Fix message completion trigger to work anywhere in the message (#3696)
* Fix message completion trigger to work anywhere in the message

* Add tests for display suggestion in difference message positions

* Fix suggestion trigger could support multiple mention symbol

* Remove optional parameter type and tweak argument name to hide

* Optimize the suggestions trigger using regex

* Fix the cursor at wrong position after selected suggestion

* Modify the rawSuggestionText pass data in right way

* Modify mention symbol to use regex type

* Update ElementX/Sources/Screens/RoomScreen/ComposerToolbar/CompletionSuggestionService.swift

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

* Update generated mock

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2025-02-13 15:13:09 +00:00
Doug
1b68801f66 Update our development assets. (#3783)
* Replace downloaded test assets with original content.

* Replace AI generated assets with original content.

* Update preview tests snapshots

* Update UI test snapshots.

---------

Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2025-02-11 11:53:35 +00:00
Doug
6c51cc4b61 Log whether a notification is expected to make a noise. (#3782)
* Log whether a notification is expected to make a noise.

* Also log the system notification sound setting too.
2025-02-11 09:59:46 +00:00
Stefan Ceriu
443447231d Add support for initiating and responding to user verification requests (#3759) 2025-02-10 18:07:11 +00:00
Mauro
c0dd301fdb Knock Polishing part 4 (#3779)
* added decline and block and inviter redesign

* improved testing

* improved testing

* code improvement

* code improvement

* improved the code
2025-02-10 17:31:12 +00:00
pixlwave
5e420bb767 Translations update 2025-02-10 08:15:34 +02:00
Doug
97129b8405 Fix a bug where the preview controller breaks when swiping quickly. (#3750) 2025-02-07 10:48:09 +00:00
Mauro
fc00b33054 change applied and updated tests (#3751) 2025-02-07 10:08:35 +01:00
Mauro
823945a7dc Updated Bottom Sheet message string (#3743)
* updated bottom sheet string

* updated pseudo language tests
2025-02-07 10:08:10 +01:00
Stefan Ceriu
9674128cff Removed now unused secrets 2025-02-07 10:49:26 +02:00
Stefan Ceriu
75c156cbf2 Bump the RustSDK to v25.02.06 2025-02-06 21:28:26 +02:00
Mauro
b649cdc440 Added a delayed loading when opening a room (#3748)
* added a delayed loader

* fixed an issue where the loading was not stopped

* pr suggestions
2025-02-06 17:55:46 +01:00
Doug
dd53f776f9 Fix a crash in the media events screen by storing the active timeline context. (#3746) 2025-02-06 12:27:39 +00:00
Stefan Ceriu
6f05a08694 Fix some concurrency warnings, update missed licence headers. (#3741)
* Switch the TimelineController to an async sequence and fix the warnings on the UserIndicatorController
2025-02-06 11:35:23 +02:00
Mauro
bd930d6762 Added the banned room proxy (#3744)
* added the banned room proxy

and a way to have a consistent loading + a retry alert

* trailing closure

* indent a comment

* push package.resolved

* updated test case
2025-02-06 10:15:36 +01:00
Mauro
de8117ea93 Knocking feature polishing part 2 (#3738)
* improved implementation of the unknown state

* forget button in the banned state

* error handling for forbidden access

* added the forget function

fixed DMs, and updated preview tests

* removed banned room proxy

* code polishing and test improvement
2025-02-05 14:48:24 +01:00
Doug
bacaf5df8d Use the new preview screen when tapping media on the room and pinned events screens. (#3736)
* Use the new TimelineMediaPreview modifier on the room and pinned timeline screens.

* Use the same presentation logic for all timeline media previews.

* Fix a bug with the detection of the timeline end.

* Send pagination requests from the media preview screen.

* Add SwiftLint to the Danger workflow (it is no longer installed on the runner).

* Put SwiftLint back on all of the GitHub runners too.

* Set the function_parameter_count lint rule to 10.

* Make sure to clean-up any previews when the coordinator is done.

* Handle the viewInRoomTimeline action more appropriately.
2025-02-05 13:27:23 +00:00
Mauro
aa9aec7d07 Bottom Sheet to confirm DM creation (#3739)
* created the view to hold the bottom sheet

* added the sheet to the start chat screen

* switched the alert with the bottom sheet

in the room member details

* add a small delay to not always show the loader

* suggested PR changes

* pr suggestions and updated tests
2025-02-05 12:28:00 +00:00
Mauro
63d059b342 updated the SDK (#3737) 2025-02-04 16:57:39 +00:00
Stefan Ceriu
437d16792d Add back verbose logging for the timeline provider to help debug the event cache and lazy loading. 2025-02-04 15:29:41 +02:00
Doug
61ca5c35f7 Refactor Rust timeline identifiers into our own. (#3731)
* Refactor eventOrTransactionID.

* Refactor uniqueID.
2025-02-04 09:50:46 +00:00
Stefan Ceriu
fade5f0760 Switch the ElementCall UI test to call.element.io for stability 2025-02-04 11:17:17 +02:00
Mauro
c7d51719ad some iOS bugfixes (#3732)
Co-authored-by: Element CI <ci@element.io>
2025-02-04 01:15:31 +01:00
Element CI
472f765f72 pr suggestions 2025-02-03 16:44:12 +01:00
Element CI
4266c92e42 added a small delay in the loading 2025-02-03 16:44:12 +01:00
Element CI
b9b6e7b791 added an alert before creating a new DM 2025-02-03 16:44:12 +01:00
Doug
4312a604c1 RoomTimeline… refactor (drop the Room). (#3728)
* Add the timeline controller factory to the timeline view model.

In preparation for building a timeline to swipe through media in QuickLook.

* Refactor RoomTimelineControllerFactory.

* Refactor RoomTimelineController.

* Refactor RoomTimelineProvider.
2025-02-03 14:14:01 +00:00
Stefan Ceriu
494e4f9b1f Fix flakey room member details screen snapshot test
- needs to wait for the call button to appear i.e. dmRoomID
2025-02-03 12:41:24 +02:00