1683 Commits

Author SHA1 Message Date
Doug
c92c6a28ae
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
c164e47ea4
Handle renamed PIN alert string. (#3024) 2024-07-11 09:18:32 +01:00
Doug
84e785367b
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
fe5cea15d5
Make sure Element Call uses the correct theme and language. (#3017) 2024-07-09 12:07:13 +01:00
Mauro
dbdea337ca
Restore Mentions in plain text mode (#3018) 2024-07-09 13:02:46 +02:00
Mauro
b07d85cd06
FIX: saving draft did not save the pill markdown content (#3003) 2024-07-08 15:55:13 +02:00
Doug
74a078b871
Make sure the BugReportScreen allows the user to retry if sending fails. (#3012) 2024-07-08 14:32:36 +01:00
Doug
a1329d9d54
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
25dc96040c
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
7ca8faeb4e
Translations update (#3011) 2024-07-08 08:32:58 +01:00
Mauro Romito
7a09be192e fix 2024-07-05 12:56:02 +02:00
Stefan Ceriu
d71c8c4e83
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
Mauro
94f98345b0
Volatile draft to restore the composer after an edit. (#2996) 2024-07-02 14:48:50 +00:00
Doug
457bd3160a
Add a missing scheme when getting the Element .well-known file. (#2995) 2024-07-02 11:27:07 +01:00
Mauro
dac363c8c5
Edit by timeline item only if the event id is missing (#2989) 2024-07-02 11:14:15 +02:00
Stefan Ceriu
b2c9878df6
Make Element Call widget URL configurable (#2971) 2024-07-02 08:35:05 +00:00
Doug
78b0c7068d
Add a bug report hook. (#2988) 2024-07-01 13:53:24 +01:00
Doug
1178561853
Setup unit tests for Enterprise. (#2984)
* Fix Analytics on Enterprise.
2024-07-01 12:34:47 +01:00
ElementRobot
cf50b0be61
Translations update (#2986) 2024-07-01 10:10:29 +01:00
Stefan Ceriu
3c500887ab
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
b7fcb76094 Remove redundant remove failed sent message menu 2024-06-28 14:28:33 +03:00
Stefan Ceriu
ab299ab3de Add support for editing local echoes. 2024-06-28 14:28:33 +03:00
Doug
3cc4145a4c
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
b7345aafca
Remove layout styling abstraction (#2982) 2024-06-27 18:25:25 +02:00
Mauro
064b1bf224
Remove plain style layout (#2980) 2024-06-27 16:53:19 +02:00
Doug
d977efdf31
Stop the timeline from requesting back pagination whilst loading existing items. (#2969)
* Handle Rust error "can't subscribe to the back-pagination status on a focused timeline"

* Fix a bug where the timeline was attempting to paginate before adding the items.

* Stop the timeline from paginating whilst loading existing items.
2024-06-27 14:20:44 +01:00
Stefan Ceriu
41d40d8de0
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
Mauro
342cfc0d3f
Hide timeline style selection (#2968) 2024-06-26 12:42:12 +02:00
Mauro
fa22b98b3f
Improve UX when answering EL-Call through the notification (#2965) 2024-06-24 16:51:43 +00:00
Doug
3465ea4cc1
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
ElementRobot
fc0573a41d
Translations update (#2963) 2024-06-24 09:35:03 +01:00
Mauro
ef482e6b54
Fix ui tests that use the composer draft service (#2956) 2024-06-21 14:34:16 +02:00
Stefan Ceriu
341b6df70a Avoid races between enabling the send queue and receiving back a status update, stop dropping duplicates both here and on reachability status printing. 2024-06-21 13:29:11 +03:00
Mauro
6655833719
Enable draft restore (#2943) 2024-06-19 16:05:38 +02:00
Mauro
b94111af26
fix (#2942) 2024-06-19 15:30:27 +02:00
Stefan Ceriu
bbf5b91675 Ignore punctuation characters at the end of detected links
- fixes permalink handling when that's the case
- prevents deep linking loops between nightly and the main app
2024-06-19 16:10:31 +03:00
Mauro
f16b9aad0a
Update SDK (#2941) 2024-06-19 12:24:22 +00:00
Stefan Ceriu
4a9de65030 Fixes #2679 - Timestamps in room list inconsistently use absolute and relative formatting 2024-06-19 14:38:00 +03:00
Doug
834260c144
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
Stefan Ceriu
75e8bbd67c
Handle sending queue recoverable errors the same way as unsent messages. (#2939) 2024-06-18 17:06:05 +01:00
Stefan Ceriu
63524bff62 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
261cb366a7 Fix interminable room directory search next page loading loops when results don't fill the screen 2024-06-18 11:52:00 +03:00
Stefan Ceriu
3bb8d668bf Bump the RustSDK to v1.0.14 2024-06-17 17:37:13 +03:00
Stefan Ceriu
b614f43d00 Add a feature flag for fuzzy room list searching 2024-06-17 15:21:12 +03:00
Velin92
1ebe2438ec Translations update 2024-06-17 09:20:41 +03:00
Stefan Ceriu
0967bb43b4 Avoid passing the whole unsafe display name to the rich text editor for generating mention pill permalinks 2024-06-14 17:33:22 +03:00
Stefan Ceriu
2dccfff3e8 Fixes #2924 - Allow timeline messages text selection on both the Mac and on iOS (not on long press but a double tap)
- remove double tap to show the emoji picker as it clashes with the selection and was introduced before the rich timeline item menu was introduced
2024-06-14 17:33:11 +03:00
Stefan Ceriu
63a474bb3f Stop showing "Preview unavailable" while loading room preview details on the JoinRoomScreen 2024-06-14 17:33:02 +03:00
Mauro
cefa38049f
Store and restore drafts (#2898) 2024-06-13 12:19:38 +00:00
Stefan Ceriu
b8dea8ac4e Handle multithreaded access crashes on unit tests using generated mocks
- always dispatch receivedInvocations mutations on the main queue
2024-06-13 14:38:33 +03:00