Commit Graph

4464 Commits

Author SHA1 Message Date
ElementRobot 4fd883ed6b Translations update (#3799) 2025-02-17 11:46:55 +00:00
Stefan Ceriu e8786be6cd Fix #3794 - Stop the message composer from randomly changing the cursor position 2025-02-17 12:28:43 +02:00
Mauro Romito 323df6f1c5 updated dev options screen 2025-02-17 12:16:53 +02:00
renovate[bot] f149a40def Update dependency jpsim/Yams to from: "5.3.0" 2025-02-17 08:38:57 +02:00
Doug 9f0f664179 Update string after resolving some duplicities. (#3791) 2025-02-14 11:34:49 +00:00
renovate[bot] 61321288a7 Update dependency jpsim/Yams to from: "5.2.0" (#3788)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 15:32:59 +00:00
Vickcoo 4b43d901f8 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 8ee1427809 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
Stefan Ceriu 567c52d562 Fix UI test snapshots following session verification screen changes. 2025-02-11 12:12:07 +02:00
Doug f6a1d38972 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 8680d8437b Add support for initiating and responding to user verification requests (#3759) 2025-02-10 18:07:11 +00:00
Mauro 22d0fae423 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
Stefan Ceriu 34d8adcf09 Refactor how notifications are preprocessed and be explicit about which ones are supposed to be displayed or discarded. 2025-02-10 12:28:17 +02:00
pixlwave 90b4c84ec5 Translations update 2025-02-10 08:15:34 +02:00
Doug b284aa8a07 Fix a bug where the preview controller breaks when swiping quickly. (#3750) 2025-02-07 10:48:09 +00:00
Doug ddaf41cfca Delete dependabot.yml - it doesn't work for Xcode projects (or XcodeGen). (#3757)
https://github.com/dependabot/dependabot-core/issues/7694
2025-02-07 10:47:00 +00:00
Doug 7784d4677b Update dependabot.yml 2025-02-07 10:37:03 +00:00
Doug ffb72a3ee6 Add a test dependabot.yml file and see to see what it picks up. (#3756)
Might need to add the project file manually?
2025-02-07 10:29:09 +00:00
Mauro ac34f9f208 change applied and updated tests (#3751) 2025-02-07 10:08:35 +01:00
Mauro b9e6a3328f Updated Bottom Sheet message string (#3743)
* updated bottom sheet string

* updated pseudo language tests
2025-02-07 10:08:10 +01:00
Stefan Ceriu d374fb63e0 Removed now unused secrets 2025-02-07 10:49:26 +02:00
Stefan Ceriu 2515cdeb15 Bump the RustSDK to v25.02.06 2025-02-06 21:28:26 +02:00
Mauro 7560f2c5f1 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 b900eec5a2 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 922ebf47e6 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 f86a5a2bb9 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 3839025caa 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 cfaa1b455a 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 921d1c627d 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
Stefan Ceriu 42257a18db Revert "Disable continueAfterFailure for the AppLock UI tests"
This reverts commit 63b819e125.
2025-02-05 14:04:01 +02:00
Stefan Ceriu 56bede2404 Revert "Attempt to fix the every flakey app lock setup test"
This reverts commit 59cc9c27ec.
2025-02-05 14:04:01 +02:00
Mauro 6c190cf735 updated the SDK (#3737) 2025-02-04 16:57:39 +00:00
Stefan Ceriu f0b8775701 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 bad4a8f9c8 Refactor Rust timeline identifiers into our own. (#3731)
* Refactor eventOrTransactionID.

* Refactor uniqueID.
2025-02-04 09:50:46 +00:00
Stefan Ceriu 54dbb33ad5 Switch the ElementCall UI test to call.element.io for stability 2025-02-04 11:17:17 +02:00
Mauro 5d785b38ae some iOS bugfixes (#3732)
Co-authored-by: Element CI <ci@element.io>
2025-02-04 01:15:31 +01:00
Element CI 10d39257f0 pr suggestions 2025-02-03 16:44:12 +01:00
Element CI 14e5d1aa94 added a small delay in the loading 2025-02-03 16:44:12 +01:00
Element CI 7f04c8841f added an alert before creating a new DM 2025-02-03 16:44:12 +01:00
Doug d195e603c9 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 9df5a8fddb 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
ElementRobot d7ac9e9b3a Translations update (#3727) 2025-02-03 08:47:29 +00:00
Doug 6cd583d904 Revert back to UIKit for the presentation of the timeline media preview. (#3719)
* Revert back to UIKit for the presentation of the timeline media preview.

* Fix a presentation issue where the media is clipped until the animation finishes.

* Workaround for the preview controller replacing the info button when swiping.

* Use a self-sizing detent on the media info sheet.
2025-01-31 17:28:14 +00:00
Doug ef340fb70f Fix missing user ID. (#3725) 2025-01-31 16:59:06 +00:00
Element CI 342f25296d updated the notification string 2025-01-31 17:28:25 +01:00
Stefan Ceriu 97069850f5 Ensure multiple mandatory verification flows can be ran consecutively (e.g. following encryption resets) (#3722)
* Ensure multiple mandatory verification flows can be ran consecutively (e.g. following encryption resets)

* Disabled the back button on the verification screen only when verified and waiting for the security state publisher
2025-01-31 17:31:21 +02:00
Element CI 4856ffd3b2 Prepare next release 2025-01-31 07:00:01 -08:00
Mauro 5cffad937e Fastlane calendar versioning check and increase (#3721)
* update fastfile

* original comment

---------

Co-authored-by: Element CI <ci@element.io>
2025-01-31 13:34:25 +01:00
Mauro d5fb72c16c Do not handle offline mode yet (#3715)
* do not handle offline mode yet

* fix brew

* updated sdk
2025-01-31 11:23:38 +00:00
Stefan Ceriu 63b819e125 Disable continueAfterFailure for the AppLock UI tests 2025-01-31 11:31:31 +02:00