Commit Graph

2134 Commits

Author SHA1 Message Date
Stefan Ceriu
e51d47537b Fix broken ElementCall UI test, add missing deviceID to the ClientProxyMock 2024-07-19 09:51:50 +03:00
Stefan Ceriu
22e622bd79 Fixes #2840 - Use both the room list room and the room preview details to populate the join room screen
- the room summary API is indeed enabled on matrix.org and working fine for most rooms
- it is not however capable of giving us data about non-joined + private rooms
- the SDK addresses that by first trying to use known rooms before resorting to the preview endpoint
- that fails if it's a brand new room that the client doesn't know about yet i.e. a sync hasn't ran, which is exactly what's happening here
- the ClientProxy instead does wait for the room list to go into the first loaded before returning the room
2024-07-18 20:11:54 +03:00
Mauro
27df9b1ae0 Update RTE to 2.37.7 (#3064) 2024-07-18 18:28:48 +02:00
Mauro
fee3d3c8c0 Pinning items Feature Flag (#3063) 2024-07-18 18:28:30 +02:00
Doug
84d76a8dde Use the same UI as Android when tapping a link to a private room. (#3044)
* Use the same UI as Android when tapping a link to a private room.

* Fix preview of knocking.

* Fix snapshots.
2024-07-18 15:58:17 +01:00
Doug
5370ba1658 Fix a potential race condition when redacting a message. (#3061)
* Refactor the timeline item menu action provider.

- Move it into its own struct.
- Use an item, not an ID so it doesn't randomly change.
- Move permissions into the room screen view model.

* Use the stable ID when redacting/editing/forwarding a message.

Just like we do when fetching the item in the actions menu.
2024-07-18 15:14:38 +01:00
Doug
a141532355 Add a feature flag for Simplified Sliding Sync. (#3057)
* Disable SSS when logging out.

* Bump the SDK.
2024-07-18 10:16:51 +01:00
Doug
de07f441f0 Add a ClientBuilder hook. (#3056) 2024-07-18 09:47:37 +01:00
Stefan Ceriu
536d6a1567 Simplify how we setup Sentry to make sure it's configured before any spans get created - they don't get reported otherwise 2024-07-18 08:58:20 +03:00
Doug
af32b84826 Update the SDK fixing a few room list bugs. (#3054)
* Update the SDK.

* Handle API break for editing timeline items.

* Handle API break for Element Call
2024-07-17 15:48:32 +01:00
Doug
af7cba5b46 Run the integration tests on GitHub again. (#3052) 2024-07-17 10:16:43 +01:00
Stefan Ceriu
7e14540287 Fixes #3042 - Cancel ElementCall ringing as soon as the call ends 2024-07-17 10:24:30 +03:00
Stefan Ceriu
94b8b150ab Hook up CallKit lock screen muting controls to the ElementCall widget 2024-07-17 10:24:30 +03:00
Stefan Ceriu
d8321fdc40 Fixes #3041 - Video not rendering after starting or joinng a call
- not completely sure why this happens but `reportOutgoingCall` interferes with how the WebView gets access to video streams
- the call itself isn't really necessary so removing it is the simplest way forward
2024-07-17 10:24:30 +03:00
Doug
2bfa407689 Upgrade Compound. (#3039)
Remove conflicting Introspect package dependency.
2024-07-16 09:22:53 +01:00
Doug
6f2b3ad241 Fix the string used for encrypted events in the room list. (#3030)
I don't think its actually meant to be shown but this should still be correct if it is.
2024-07-16 09:22:20 +01:00
Mauro
b90a0a3854 Update RTE with inline prediction working (#3043) 2024-07-15 19:14:52 +02:00
Doug
564c66220c Fix RTE framework signature error when building DEBUG builds for a device. (#3040) 2024-07-15 13:59:11 +01:00
ElementRobot
eb44afcf28 Translations update (#3038) 2024-07-15 09:46:36 +01:00
Matthew Hodgson
c8043acae0 fix copyright 2024-07-13 12:50:44 +01:00
Doug
72a4df20a3 Fix an App Store error due to an RTE version mismatch. (#3029) 2024-07-12 17:01:59 +01:00
Doug
47d94501c7 Upgrade the project to use Xcode 15.4 (#3027)
* Update snapshots for Xcode 15.4

* Update CI.

* Fix crashing UI test.

* Fix compile error in Integration Tests.

* Try putting UI tests on GH runners again.
2024-07-11 17:38:32 +01:00
Doug
c0e704ce1d Handle renamed PIN alert string. (#3024) 2024-07-11 09:18:32 +01:00
renovate[bot]
ae797a0c59 Update dependency jpsim/Yams to from: "5.1.3" (#3022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 18:49:51 +01:00
Doug
8eae8decaf Fix stuck unread indicators. (#3023)
* Update the SDK (fixes stuck unread indicators).

* Use the SDK's cached server versions too.
2024-07-10 16:54:10 +00:00
Doug
01e3010b49 Make sure Element Call uses the correct theme and language. (#3017) 2024-07-09 12:07:13 +01:00
Mauro
4de7a88848 Restore Mentions in plain text mode (#3018) 2024-07-09 13:02:46 +02:00
Doug
3cea287348 Update the SDK (fixes unnecessary encryption state requests in the room list). (#3016) 2024-07-08 15:41:24 +01:00
Mauro
6d473ced5b Update RTE to 2.37.5 (#3015) 2024-07-08 15:55:28 +02:00
Mauro
9743ac60ab FIX: saving draft did not save the pill markdown content (#3003) 2024-07-08 15:55:13 +02:00
Doug
79734ad4a8 Make sure the BugReportScreen allows the user to retry if sending fails. (#3012) 2024-07-08 14:32:36 +01:00
Doug
8922fa0ab3 Replace old visible rooms range with subscriptions in the room list. (#3014)
* Add a SubscriptionTracker actor to RoomProxy.

* Request subscriptions when scrolling rooms.

* Stop unsubscribing in preparation for Simplified Sliding Sync.
2024-07-08 14:32:13 +01:00
Doug
93ab2f6f8b Follow-up for translations PR. 2024-07-08 13:09:22 +01:00
Doug
35c38583fc Potential fix for a crash when 2 present room events are sent in quick succession. (#3001) 2024-07-08 09:44:15 +01:00
ElementRobot
130ace1dad Translations update (#3011) 2024-07-08 08:32:58 +01:00
Mauro Romito
85cfa50dc8 fix 2024-07-05 12:56:02 +02:00
Stefan Ceriu
bc7c76cf3a Use local room list sorting from Rust. (#2978)
* Switch to the new local room list sorting API

* Get rid of the RoomSummary enum, replace it by the inner RoomSummaryDetails

* And finally, rename RoomSummaryDetails to RoomSummary

* Fix a bunch of warnings

* Small tidy up post rebase/review.

- Remove unused invalidated property.
- Rename some RoomSummary instances to summary instead of details.
- Fix tests with missing roomListItem's.

* Update snapshots

---------

Co-authored-by: Doug <douglase@element.io>
2024-07-05 10:10:53 +01:00
Element CI
9e8a9eef0c Prepare next release 2024-07-04 03:41:31 -07:00
Doug
b00bda81af Update the SDK ready for release. (#2999) 2024-07-04 11:06:27 +01:00
Mauro
ef465d3004 Volatile draft to restore the composer after an edit. (#2996) 2024-07-02 14:48:50 +00:00
Doug
c0c98ef542 Add a missing scheme when getting the Element .well-known file. (#2995) 2024-07-02 11:27:07 +01:00
Doug
b54f935522 Use the same format as Ruby's YAML output. (#2992)
(But leave the whitespace/comments in place).
2024-07-02 11:26:45 +01:00
Mauro
19ae202db7 Edit by timeline item only if the event id is missing (#2989) 2024-07-02 11:14:15 +02:00
Stefan Ceriu
1bf13aadb2 Make Element Call widget URL configurable (#2971) 2024-07-02 08:35:05 +00:00
Doug
9bd3040e75 Add a bug report hook. (#2988) 2024-07-01 13:53:24 +01:00
Doug
daf7a04535 Setup unit tests for Enterprise. (#2984)
* Fix Analytics on Enterprise.
2024-07-01 12:34:47 +01:00
Doug
c1f60b36e3 Update the SDK. (#2987) 2024-07-01 12:16:46 +01:00
ElementRobot
b277c4b88f Translations update (#2986) 2024-07-01 10:10:29 +01:00
Stefan Ceriu
fa15335b9b Setup Sentry instrumentation on top of the existing Signposter (#2985)
* Move Sentry setup outside of the BugReportService

* Setup Sentry SwiftUI tracing for the homeScreen and roomScreen roots

* Setup Sentry instrumentation on top of the existing Signposter

* Various tweaks
2024-06-28 18:15:57 +03:00
Stefan Ceriu
7c8c121da3 Bump the RustSDK to v1.0.19 2024-06-28 14:28:33 +03:00