852 Commits

Author SHA1 Message Date
Stefan Ceriu
905b21e0a8
Fixes #2808 - Switch the message sending failure options from a dialog to an alert
* Fixes #2808 - Switch the message sending failure options from a dialog to an alert
- this prevents it from showing up as a popup on the room list on an iPad
- it used to be set on the timeline and not on the timeline item because of our use of a UITableView
* Cleanup room screen action names
2024-05-09 14:35:47 +03:00
Doug
e1a2c5e599 Update the SDK. 2024-05-08 11:33:37 +01:00
Valere
bd4fae6086
Posthog: report SessionSecurityState (#2795)
* Posthog: report SessionSecurityState

* Review quick change

---------

Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
2024-05-07 14:31:12 +00:00
Element CI
bb58f3840d Prepare next release 2024-05-07 04:53:22 -07:00
Valere
176abd5841
Bump posthog SDK version to 3.2.0 (#2788)
Co-authored-by: Mauro <34335419+Velin92@users.noreply.github.com>
2024-05-06 15:07:05 +00:00
Doug
11557e4879
Update the SDK. (#2776)
Handle async FFI changes.

Fix flakey unit test.
2024-05-03 12:00:05 +01:00
Stefan Ceriu
38416dbb5c
Plain composer suggestions and pills (#2751)
* Move ComposerToolbar files to withing the RoomScreen folder (as it's not a screen on its own)

* Switch the plain composer to NSAttributedStrings

* Enable suggestions on the plain composer

* Introduce a new `MatrixUserDisplayName` attributed string attributed and use it for mention building

* Implement mention pill rendering and sending on the plain message composer

* Fix plain composer snapshot tests

* Fix broken formatting options layout

* Add clarifying comment.
2024-05-03 10:06:16 +01:00
Valere
ec19b5a0c4
Support for posthog super properties (#2774)
* Support for posthog super properties

* Use typed SuperProperties and add tests

* update superProperty in AppCoordinator
2024-05-02 16:21:09 +01:00
Doug
e511ac3cb2
Update SwiftOGG to fix bug with case-sensitive file systems. (#2770) 2024-05-01 12:06:36 +01:00
Mauro
18dc9cd20f
Account URL is now fetched async (#2769) 2024-04-30 19:08:32 +02:00
Doug
f688d2eda4
Permalink Tweaks (#2768)
* Revert back to creating a new flow when re-selecting the same room.

Fix the composer bug by adding IDs to the all of the module AnyViews.

* Don't show the live timeline when starting with a focussed event.
2024-04-30 17:25:32 +01:00
Doug
7c94ed98a5
Permalink Tweaks 2 (#2766)
* Missing changelog.

* Parse bare room aliases as permalinks.

Update the SDK.

* Fix tapping the same permalink twice.

Add a test.

Don't clear the focussed item when reaching the bottom of the timeline.

* Make sure sending a message returns to live.
2024-04-29 17:32:16 +01:00
Valere
bd9a171c7c
Add specific UX for Expected UTDs due to membership (#2740)
* Add specific UX for Expected UTDs due to membership

* Update analytics package and snapshots.

* Add changelog
2024-04-26 17:22:01 +01:00
Doug
df6cf25524
Update the SDK and enable event permalinks. (#2748) 2024-04-26 09:59:01 +01:00
Doug
76e7de40b5
Prepare for event focus and forward pagination (#2745)
Neither are available yet.
2024-04-25 18:32:33 +01:00
Doug
f9163094ba
Update compound. (#2733) 2024-04-23 12:34:54 +01:00
Stefan Ceriu
8ba544bc44
Cleanup following the AppMediator introduction (#2723)
- stop using multiple background task, the appCoordinator sync one is enough for the whole app
- move the AppMeditor to the MainActor
- expose the WindowManager through the AppMediator
- hide sensitive WindowManager API behind a different protocol
- remove the now unnecessary `BackgroundTaskService`
2024-04-22 18:10:24 +03:00
Stefan Ceriu
9a172df7fd Introduce an AppMediator which will:
- combine multiple services to handle app wide requests
- remove direct UIApplication access from everywhere
- fix #2703 by combining UIApplication.applicationState with the WindowManager's main window appearance
- leave the door open for more app control in the future (especiall for the mac)
2024-04-19 15:43:56 +03:00
Stefan Ceriu
bdacea10a2 Bump the RustSDK to v.1.1.60 2024-04-19 14:40:31 +03:00
Stefan Ceriu
20d57e4998 Bump the RustSDK to v1.1.59, regenerated the SDK mocks 2024-04-18 15:01:31 +03:00
Doug
4075c4486c
Update compound (#2704)
Makes the _bgBubbleHighlighted colour available.
2024-04-17 14:28:41 +01:00
Stefan Ceriu
43c132720d
Bring back the original native MessageComposerTextField, use it whe… (#2696)
* Bring back the original native `MessageComposerTextField`, use it when the Rich Text Editor one is disabled (advanced settings)
- this basically reverts parts of https://github.com/element-hq/element-x-ios/pull/1703
2024-04-15 15:41:34 +00:00
Element CI
493763b17e Prepare next release 2024-04-15 04:06:42 -07:00
Doug
e7af7fb59c
Handle external links to a user. (#2690) 2024-04-15 11:08:00 +01:00
Stefan Ceriu
4d513f9ed1 Stop relying on the NotificationCenter for removing delivered push notifications:
- this will improve the architecture but more importantly will remove some very flakey unit tests
2024-04-12 19:18:00 +03:00
Stefan Ceriu
fcc25dd441 Adop the new SDK permalink detector and user builder 2024-04-12 18:04:41 +03:00
Doug
f8920d4d11
Initial implementation of the JoinRoomScreen. (#2684)
* Update Compound and use super button for room directory.
2024-04-12 13:13:22 +01:00
Doug
5c9d0975ce
Add a UserProfileScreen for profiles of non-members. (#2687) 2024-04-12 09:54:14 +01:00
Doug
47912d999b Update the SDK. 2024-04-11 17:33:41 +01:00
Doug
eda7d59518
Update strings and add productionAppName value for the new placeholder. (#2677)
* Update strings and add productionAppName value for the new placeholder.

* Fix snapshots.

* Fix more snapshots.
2024-04-10 16:58:00 +01:00
Stefan Ceriu
e3bf8b83fd Bump compound in an attempt to fix ever changing .resolved files 2024-04-10 18:00:18 +03:00
Mauro
bcd7e2254c
QR Code scan view (#2674) 2024-04-10 10:47:23 +00:00
Stefan Ceriu
064626fbbe element-hq/element-x-ios/issues/2670 - Show invites as part of the room list 2024-04-09 18:18:11 +03:00
Element CI
d34ec30ca6 Prepare next release 2024-04-09 04:42:04 -07:00
Doug
0856891733
Final design for pending members when changing roles. (#2668)
* Final design for pending users when changing role.

* Remove room moderation feature flag.

* Fix tests.

* Run periphery.

* Update snapshots.
2024-04-09 12:00:11 +01:00
Mauro
c61135f88c
QR Code Login Initial view state (#2667) 2024-04-09 12:21:14 +02:00
Doug
181753e43d
Update appearance of admins when changing moderators. (#2654) 2024-04-05 12:19:46 +01:00
Mauro
023b7fc608
Reset Recovery Key Screen (#2648)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-04-04 16:14:22 +00:00
Stefan Ceriu
97d9189077 Fixes #2624, fixes #2625 - Add user suggestions in the create room flows. 2024-04-04 16:45:10 +03:00
Doug
ec69b29c58
Fix RTE recognising when the content is empty. (#2631) 2024-04-03 13:04:23 +01:00
Doug
8cdee0f22d Update the SDK too. 2024-04-02 14:27:57 +01:00
Doug
52fc9d5c22 Use the new RTE package repo. 2024-04-02 14:27:57 +01:00
Stefan Ceriu
183a559e10 Bump the RustSDK to v 1.1.54 2024-03-28 15:15:48 +02:00
Doug
b37dca253b
Update RTE allowing Xcode 15.3 to be used. (#2614)
* Update RTE allowing Xcode 15.3 to be used.

* Don't actually use Xcode 15.3 yet, it isn't supported on GitHub 🤦‍♂️

* Revert Xcode 15.3 format changes.
2024-03-28 08:46:13 +00:00
Doug
144f3a7fc4
Hard code the room flow to a single room proxy. (#2599)
* Don't give the room flow a split coordinator any more.
2024-03-27 10:56:58 +00:00
Doug
e424a02a2b
Fix various bugs in the moderation feature. (#2608)
* Fix search field string.

* Show your own user as an Admin when changing roles.

* Also show invited users when changing roles.

* Don't allow admin's to kick/ban other admins or themselves.

* Fix a bug when left members were counted as admins/moderators.

* Show when a member is pending.

* Add sections to the change role screen.
2024-03-27 10:33:40 +00:00
Element CI
189d081da0 Prepare next release 2024-03-25 09:30:21 -07:00
Doug
7df207c4eb
Update the SDK. (#2605) 2024-03-25 16:14:22 +00:00
Stefan Ceriu
92eaa7075a
UI test cleanup (#2598)
* Stop running the UI tests on the double localized pseudolanguage

* Fix UI tests signalling comms problem because the json key ordering wasn't defined and the messages wouldn't match.

* Remove UI tests that are now the same as preview tests (i.e. non flow based, only screen based), fixed the rest so they run on iOS 17.2, the iPhone 15 and iPad 10th gen simulators.

* Remove unnecessary gitignore instructions, change UI test snapshot naming convention to be more similar to the unit test ones

* Enable derived data and spm checkout caching for UI tests

* Switch UI tests back to the perf-only runner, moved the integration tests to the iPhone 15 Pro simulator.

* Address PR comments
2024-03-25 17:34:11 +02:00
Element CI
0a6c49ca36 Prepare next release 2024-03-22 07:31:46 -07:00