Commit Graph

1439 Commits

Author SHA1 Message Date
Stefan Ceriu
4b4c43ba06 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
44e1d234a4 Remove now unused room and event matrix entity regexes 2024-04-12 18:04:41 +03:00
Stefan Ceriu
8be236883d Adop the new SDK permalink detector and user builder 2024-04-12 18:04:41 +03:00
Doug
54c0ed0816 Initial implementation of the JoinRoomScreen. (#2684)
* Update Compound and use super button for room directory.
2024-04-12 13:13:22 +01:00
Doug
25e94d9d7f Fix a bug where the view state is being modified during an update. (#2686) 2024-04-12 10:45:29 +01:00
Mauro
46d5057f8e QR Code, verification code views (#2685) 2024-04-12 09:29:14 +00:00
Doug
ac4784d6da Add a UserProfileScreen for profiles of non-members. (#2687) 2024-04-12 09:54:14 +01:00
Mauro
392019c61c QR Code error views (#2678)
Co-authored-by: Doug <douglase@element.io>
2024-04-11 08:32:56 +00:00
Doug
37a8c8988b 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
c6a4caf493 Attempt to improve unit test reliability:
- synchronize mock properties on the main queue
- sleep for longer when processing routes
- finish encoding before deallocating the keyed archiver
- wait for NotificationCenter notifications to be delivered
- change were we process remote notification permissions
2024-04-10 17:40:47 +03:00
Doug
c03db40859 Add more flexible background support to FullscreenDialog (#2675)
Hide the background when the main content extends underneath the bottom content.
2024-04-10 14:56:41 +01:00
Mauro
9c59039789 QR Code scan view (#2674) 2024-04-10 10:47:23 +00:00
Stefan Ceriu
b4f653d6d8 element-hq/element-x-ios/issues/2670 - Show invites as part of the room list 2024-04-09 18:18:11 +03:00
Doug
32ab65a10f 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
86c155e767 QR Code Login Initial view state (#2667) 2024-04-09 12:21:14 +02:00
Doug
0ff1c123aa Fix child presentation of the same room. (#2669) 2024-04-09 11:11:14 +01:00
Doug
aa15452d5d Tweak internal/external deeplink handling (#2664)
* Add a childRoom AppRoute.

* Add a tests for child room routes.
2024-04-08 16:44:03 +01:00
Stefan Ceriu
617f0f155c Fixes ELEMENT-97277 - Be less aggressive on recovery key states 2024-04-08 18:30:16 +03:00
Stefan Ceriu
a28f417202 Tone down new onboarding flow recovery fatal error after a lot of crash reports on sentry 2024-04-08 18:30:16 +03:00
Stefan Ceriu
47841d25ff element-hq/element-x-ios/issues/2395 - Slightly tweak the unread invites logic, add more logs 2024-04-08 14:56:02 +03:00
Stefan Ceriu
a36cf11029 Small recently visited room tweaks following PR review 2024-04-08 14:56:02 +03:00
Velin92
ac9716957b Translations update 2024-04-08 08:04:11 +03:00
Doug
c4c8716da2 Update appearance of admins when changing moderators. (#2654) 2024-04-05 12:19:46 +01:00
Mauro
4c47d5277e 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
0cfca0ad3a Fixes #2624, fixes #2625 - Add user suggestions in the create room flows. 2024-04-04 16:45:10 +03:00
Stefan Ceriu
77e28df1a8 Cleanup proxy errors
- proxy errors have been getting repetitive and not particularly useful
- differentiate between sdk and client errors and keep what provides value
- add error logs everywhere a failure occurs
2024-04-04 14:22:56 +03:00
Doug
7aba0216bc Allow RoomFlowCoordinator to start a child flow. (#2644) 2024-04-04 11:30:38 +01:00
Mauro
c0ec137303 FF for QR code login + Login with qr code button (#2643) 2024-04-04 08:37:42 +00:00
Stefan Ceriu
435b739a41 Attempt to fix the test on CI 2024-04-03 20:31:29 +03:00
Mauro
efef079e8a Prevent crashes when mentioning users on macOS (#2630)
Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
2024-04-03 12:18:43 +02:00
Stefan Ceriu
471d75d7e6 Fixes #2618 - Allow dashes in room identifiers 2024-04-02 14:19:35 +03:00
Stefan Ceriu
431019ade9 Use RustSDK permalink builders:
- replace event permalinks on the room screen interaction handler
- replace the one use don the room details screen
- deprecate previous AttributedStringBuilder methods
- there's more work required on the AttributedStringBuilder mentions handler before we can completely drop the iOS implementations
2024-04-02 14:19:35 +03:00
Stefan Ceriu
6ec59fdc48 FIxes #2602 - Fix pushers not being registered on re-login after recent Onboarding changes 2024-04-02 13:26:03 +03:00
Stefan Ceriu
d71092585a Fix secure backup recovery key screen snapshots following translation update. 2024-04-01 13:35:55 +03:00
Velin92
9b8c35a709 Translations update 2024-04-01 11:36:51 +03:00
Stefan Ceriu
85fd8f7710 Bump the RustSDK to v 1.1.54 2024-03-28 15:15:48 +02:00
Doug
d3a10f6b7e 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
Stefan Ceriu
5c8cb16e33 Fix RoomDetailsEditScreen snapshot rendering issues by switching their order. The root problems seems to be async related but we couldn't get to the bottom of it. Take this opportunity to refactor the snapshots. 2024-03-27 15:32:14 +02:00
Stefan Ceriu
21a4d6c471 Reduce reply view snapshot precision because of random imageSource rendering 2024-03-27 15:32:14 +02:00
Doug
915f0b55c3 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
9e523d2587 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
Doug
9d30b6e7e7 Fix ReplyView when its content has been redacted. (#2606) 2024-03-27 10:16:26 +00:00
Stefan Ceriu
ba86a38cf9 Fixes #2518, fixes #2590 - Implement public room search list paginati… (#2607)
* Fixes #2518, fixes #2590 - Implement public room search list pagination and room joining

* Address PR comments
2024-03-27 10:50:53 +02:00
Stefan Ceriu
d7a3fa18ca Fixes #2609 - Add trophy icon next to the winning poll option (#2610)
* Fixes #2609 - Add trophy icon next to the winning poll option

* Address PR comments
2024-03-27 10:50:32 +02:00
Stefan Ceriu
30c2796372 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
Velin92
9275de4d18 Translations update 2024-03-25 10:45:09 +02:00
Stefan Ceriu
1495d1c19c Bump the RustSDK to v1.1.52 2024-03-22 16:12:24 +02:00
Doug
655e9bb3b3 Don't require verification on debug builds. (#2596)
* Don't require verification on debug builds.

* Add a skip button in debug builds instead.

* Fix preview tests.
2024-03-22 10:31:32 +00:00
Mauro
aa0eceeaef Public Search View (#2585)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-03-21 14:34:35 +00:00
Stefan Ceriu
fd0eb78dbe Onboarding flow coordinator and FTUE changes (#2578)
Fixes #2595, fixes #2594, fixes #2593, fixes #2592, fixes #2591
2024-03-21 14:01:23 +02:00