Commit Graph

725 Commits

Author SHA1 Message Date
Valere
6b8d440be6 Show Encryption Authenticity warnings on messages in the timeline. (#3051)
* Initial implementation.

* Add developer option for showing timeline item authenticity.

* Refactor code to use new SendInfo.Status.

---------

Co-authored-by: Doug <douglase@element.io>
2024-08-05 11:15:38 +00:00
Stefan Ceriu
9a28682a35 Crypto identity reset (#3107)
* Add EncryptionReset password entry screen

* Expose client proxy identity reset method

* Update the IdentityConfirmationScreen to the latest designs

* Replace the old recovery key reset screen with a new EncryptionReset one

* Fixes #3102 - Add support for resetting the user's whole crypto identity

* Address review comments

* Bump the SDK to v1.0.30
2024-08-05 09:35:18 +03:00
Element CI
8e3055f786 Prepare next release 2024-07-30 01:56:57 -07:00
Doug
987aa63eb9 Refactor TimelineItemSendInfo out of the styler. (#3100)
* Reorder some properties.

No code changes.

* Refactor TimelineItemSendInfo out of the styler.

* Add (unused) examples of encryption shields.

* Rename file.
2024-07-30 09:43:17 +01:00
Doug
778e06b1fa Add the inviter to JoinRoomScreen when it's an invite. (#3093)
* Add inviter property to RoomProxyProtocol.

* Extract the room cell inviter label into it's own view.

* Use the new RoomInviterLabel in the JoinRoomScreen.

* Fix bug with invite to a public room.
2024-07-29 09:57:49 +01:00
Mauro
30351a7712 Pin/Unpin Logic (#3084) 2024-07-26 20:41:00 +02:00
Element CI
91483fb44f Prepare next release 2024-07-26 01:33:08 -07:00
Doug
fac2e03258 Update Compound and handle API breaks in Introspect. (#3083) 2024-07-24 17:09:11 +00:00
Doug
94c9a04474 Automatically sign out when toggling the SSS feature flag. (#3071) 2024-07-23 11:55:51 +01:00
Element CI
48abc44fc2 Prepare next release 2024-07-22 08:45:57 -07:00
Mauro
07ee0e4082 Set version to 1.7.0 (#3076) 2024-07-22 17:12:34 +02:00
Mauro
ef4bbb9f6b Pinned Items Banner UI (#3072) 2024-07-22 12:57:04 +00:00
Mauro
d3952cf501 Fix editing items not in the timeline failing (#3075) 2024-07-22 13:15:57 +02:00
Doug
17a86a2066 Add a certificate validator hook. (#3069)
* Add a certificate validator hook.

* General tidy up of AppHooks.

* Don't worry about the generic call links.
2024-07-19 17:05:54 +01:00
Mauro
d8b9700566 Removed RTE script (#3067) 2024-07-19 10:09:57 +02:00
Mauro
27df9b1ae0 Update RTE to 2.37.7 (#3064) 2024-07-18 18:28:48 +02: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
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
Stefan Ceriu
7e14540287 Fixes #3042 - Cancel ElementCall ringing as soon as the call ends 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
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
Doug
72a4df20a3 Fix an App Store error due to an RTE version mismatch. (#3029) 2024-07-12 17:01:59 +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
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
Doug
79734ad4a8 Make sure the BugReportScreen allows the user to retry if sending fails. (#3012) 2024-07-08 14:32:36 +01:00
Doug
93ab2f6f8b Follow-up for translations PR. 2024-07-08 13:09:22 +01: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
Stefan Ceriu
1bf13aadb2 Make Element Call widget URL configurable (#2971) 2024-07-02 08:35:05 +00:00
Doug
c1f60b36e3 Update the SDK. (#2987) 2024-07-01 12:16:46 +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
Doug
0c8c0ce9b6 Use XcodeGen files for app variants and setup Enterprise submodule. (#2976)
- Create an app.yml with the base app variant.
- Override app.yml contents on Nightly/PR builds.
- Add AppHooks mechanism.
- Add Enterprise submodule.
- Conditionally import Enterprise/fastlane/Fastfile if available.
2024-06-27 18:18:17 +01:00
Mauro
2ccf11618d Remove plain style layout (#2980) 2024-06-27 16:53:19 +02:00
Stefan Ceriu
90a22ce5c9 Cleanup how we setup the CallKit provider and have it be used for outgoing calls as well (#2967)
- tear down ElementCall screens when ending the call from the CXCallController
- make the call UI available in the task manager and lock screen
- Fix broken hang up widget message format
2024-06-27 14:07:44 +03:00
Element CI
839d5b52df Prepare next release 2024-06-25 01:31:41 -07:00
Doug
99309ddfd2 Use a Client in AuthenticationService now that the Rust one has been removed. (#2954)
* Replace Rust's Authentication service by building a Client.

* Drop the Proxy from AuthenticationServiceProxy[Protocol].

* Make sure to call abortOIDCLogin.

* Centralise common ClientBuilder code.

* Update the SDK.
2024-06-24 15:05:00 +01:00
Mauro
77c8d22396 Fix ui tests that use the composer draft service (#2956) 2024-06-21 14:34:16 +02:00
Mauro
c4baa988d9 Update SDK (#2941) 2024-06-19 12:24:22 +00:00
Doug
6e834e7f8b Use the room heroes when computing a DM avatar. (#2900)
* Use room heroes for DM avatar content ID.

* Use RoomAvatar.heroes for the DM Details stack.
2024-06-19 10:27:10 +00:00
Element CI
4509aa3a9b Prepare next release 2024-06-18 09:23:34 -07:00
Doug
710163dc0a Update the SDK. (#2938) 2024-06-18 15:56:07 +00:00
Element CI
65eefd6268 Prepare next release 2024-06-18 04:12:08 -07:00
Stefan Ceriu
4bd330647f Bring back failed message state rendering and a redaction option. Bump the RustSDK to 1.0.15 2024-06-18 13:07:16 +03:00
Stefan Ceriu
c88e82a2b8 Bump the RustSDK to v1.0.14 2024-06-17 17:37:13 +03:00