Commit Graph

1661 Commits

Author SHA1 Message Date
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
352f6095a9 Remove layout styling abstraction (#2982) 2024-06-27 18:25:25 +02:00
Mauro
2ccf11618d Remove plain style layout (#2980) 2024-06-27 16:53:19 +02:00
Doug
5231a92dc4 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
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
Mauro
60d4fccc07 Hide timeline style selection (#2968) 2024-06-26 12:42:12 +02:00
Mauro
4ffdfcf1ce Improve UX when answering EL-Call through the notification (#2965) 2024-06-24 16:51:43 +00: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
ElementRobot
468b14ff77 Translations update (#2963) 2024-06-24 09:35:03 +01:00
Mauro
77c8d22396 Fix ui tests that use the composer draft service (#2956) 2024-06-21 14:34:16 +02:00
Stefan Ceriu
0ec6fba2ba 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
df3ad87748 Enable draft restore (#2943) 2024-06-19 16:05:38 +02:00
Mauro
0b08285990 fix (#2942) 2024-06-19 15:30:27 +02:00
Stefan Ceriu
1456c57da0 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
c4baa988d9 Update SDK (#2941) 2024-06-19 12:24:22 +00:00
Stefan Ceriu
f2503f252d Fixes #2679 - Timestamps in room list inconsistently use absolute and relative formatting 2024-06-19 14:38:00 +03: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
Stefan Ceriu
a88391bacf Handle sending queue recoverable errors the same way as unsent messages. (#2939) 2024-06-18 17:06:05 +01: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
5a6c2cd03b 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
c88e82a2b8 Bump the RustSDK to v1.0.14 2024-06-17 17:37:13 +03:00
Stefan Ceriu
25b41e420c Add a feature flag for fuzzy room list searching 2024-06-17 15:21:12 +03:00
Velin92
4ebd8c8d83 Translations update 2024-06-17 09:20:41 +03:00
Stefan Ceriu
d7986ee6bd 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
2326c1c45c 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
4111e5618d Stop showing "Preview unavailable" while loading room preview details on the JoinRoomScreen 2024-06-14 17:33:02 +03:00
Mauro
8b8cee0a78 Store and restore drafts (#2898) 2024-06-13 12:19:38 +00:00
Stefan Ceriu
d8e7585354 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
Stefan Ceriu
c6a20ce6a5 Bump the SDK and handle breaking changes on timeline diffing
- avoid race conditions between when a timeline listener starts publishing to the `updatePublisher` and when they are consumed (and in which order)
- subscribe to the timeline directly in the TimelineProvider and correctly process updates serially
- update the AutoUpdatingRoomTimelineProviderMock to use an SDK TimlineMock and listener to publish updates
2024-06-13 14:38:33 +03:00
Stefan Ceriu
95ad55f43c Prioritise joining rooms by alias if available and letting the homeserver do the right thing 2024-06-13 14:38:18 +03:00
Stefan Ceriu
98e804f489 Allow showing the developer options on any build type by tapping the settings screen version footer 7 times (a la android) 2024-06-12 13:07:00 +03:00
Stefan Ceriu
e77329664e Bump the RustSDK to v1.0.11 2024-06-11 18:46:43 +03:00
Mauro Romito
f4f5e6ce27 room membership change states will use displayName
changelog

code improvement
2024-06-11 18:09:59 +03:00
Stefan Ceriu
5cf3a4477e Fix various swiftlint and swiftformat warnings 2024-06-11 18:09:43 +03:00
Stefan Ceriu
e5bcc34a24 Introduce mock SDK timeline items and a live, lorem ipsum based, timeline provider 2024-06-11 18:09:43 +03:00
Velin92
8eed26ba4b Translations update 2024-06-11 18:09:29 +03:00
Stefan Ceriu
4a56fa75ad Cleanup dead code after Periphery run 2024-06-11 14:38:08 +03:00
Doug
80b4a2a8c9 Update Compound. (#2906)
* Update Compound.

* Remove LFS hack from the docs.

* Fix preview tests

---------

Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-06-07 12:25:24 +03:00
Doug
3f57668f56 Adopt Rust's new sessionPath that replaces the basePath (#2903) 2024-06-06 18:35:57 +01:00
Stefan Ceriu
059061b995 Debounce message sending queue re-enabling requests 2024-06-06 18:32:08 +03:00
Stefan Ceriu
425f4bd45f Fixes #2842, fixes #2841 - Adopt new message sending queue API
- automatically retry failed requests as soon as the network is availble again
- remove manual retry options
2024-06-06 12:59:03 +03:00
Stefan Ceriu
4d6f5d91a8 Generate mocks for all SDK classes and introduce a simple TimelineItemFactory test to try them out 2024-06-05 17:51:45 +03:00
Doug
dc42647740 SwiftLint fixes. (#2899)
non_optional_string_data_conversion and static_over_final_class

* Revert Data -> String changes for upcoming rule change.
2024-06-05 07:31:49 +01:00
Velin92
b122222858 Translations update 2024-06-03 13:31:41 +03:00
Mauro
6192576bff updated strings for the dclined state of qr code (#2895) 2024-06-03 11:52:16 +02:00
Doug
691640e80e Add a flag to disable hidden profiles for ignored users. (#2892) 2024-05-31 13:37:59 +01:00
Stefan Ceriu
1d5429f0fc Remove manually set envars as they're handled rust side now 2024-05-31 13:32:47 +03:00
Stefan Ceriu
3993ab0ebf element-hq/element-x-ios/issues/2876 - Add support for showing call notifications in the timeline 2024-05-31 13:32:47 +03:00
Stefan Ceriu
04ae8b0b7f Decouple the bug report service from the analytics one 2024-05-30 15:42:26 +03:00
Stefan Ceriu
6004bb7de8 Track when the user starts a room call and when they enable formatting options on the message composer 2024-05-30 15:42:26 +03:00