Commit Graph

1409 Commits

Author SHA1 Message Date
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
Stefan Ceriu
ad70ea96e8 Remove pinned views from the home screen room list header, potential fix for various layout issues. 2024-03-21 13:36:17 +02:00
Doug
0ccaa6180b Final changes for Room Moderation (#2576)
* Add confirmation that the user would like to discard unsaved changes.

* Update string on permissions screen.

* Fix UI tests and update snapshots.

* Fix integration tests.

* Run periphery for Moderation feature.
2024-03-15 13:41:23 +00:00
Mauro
d34b932e89 Send UTD occurences to Posthog (#2575)
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2024-03-15 00:42:44 +01:00
Doug
e9fa51b665 Add analytics for Room Moderation. (#2571)
* Add an option to use analytics locally.

* Add analytics for Room Moderation.

* Update tests.

* Include the role in the event where appropriate.

* Update the AnalyticsEvents package.
2024-03-14 15:55:37 +00:00
Doug
3868052e17 Fix some preview snapshot tests. (#2574)
* Fix RoomRolesAndPermissionsScreen preview snapshot setup.

* Fix reference snapshot.
2024-03-14 13:47:26 +00:00
Doug
3d78eecf3c Revert "Show room member role changes in the timeline." (#2573)
Until we can handle filtering Rust side, this causes more issues than its worth.
2024-03-14 11:01:23 +00:00
Mauro
331d2b6d5a Typing notifications string fix (#2572) 2024-03-14 11:14:49 +01:00
Mauro
f7579003d2 Possible fix for filters view sticking in the middle of the room list (#2570) 2024-03-13 16:21:39 +00:00
Doug
4fd3e09809 More Moderation tweaks (#2566)
* Show room member role changes in the timeline.

* Fix a bug in room flow coordinator.

* Tidy up roles and permissions flow.

* Refresh the power levels in the room details screen.

* Automatically update permissions after saving.

* Remove extra button.

* Add a short delay to the roles and permissions screen snapshots.
The permissions rows are now in a loading state initially.
2024-03-13 15:36:38 +00:00
Doug
dc74a1b132 Pull renamed strings and fix compilation errors. (#2560)
* Pull renamed strings and fix compilation errors.

* Including all languages of course 🤦‍♂️
2024-03-13 10:15:54 +00:00
Stefan Ceriu
f1440e884a In preparation of FTUE changes... (#2556)
* Remove the welcome screen

* Allow the UserSessionFlowCoordinator to control the whole app hierarchy, not only its splitView

* Start using the new verification state listener

* Rename Onboarding to AuthenticationStart in preparation for the new OnboardingFlowCoordinator; update snapshots and tests

* Make the AuthenticationCoordinator a proper FlowCoordinator

* Add some padding around the authentication start screen report a problem button

* Bump the RustSDK to v1.1.49

* Only add bottom padding on the authentication start screen report a problem button
2024-03-13 11:24:48 +02:00
Stefan Ceriu
2f68703517 Prefire multiple devices (#2543)
* Update Prefire, setup multiple snapshot devices and languages
Squashed commits:
[28cb4ae6d] Switch to macos-14, iOS 17 and the iPhone 15 simulator
[080fc82cb] Update snapshots
[c874ca9c7] Bump Compound and Prefire, reduce perceptual precission to 0.98
[a59b8a54c] Update snapshots after adding iPad and pseudolanguage snapshotting
[f30cc3277] Setup multi-language snapshotting
[aeb11c7e7] Update prefire template, setup multiple snapshot devices

* Update ruby dependencies and fastlane plugins

* Bump Compound, switch back to the original prefire - version 2.0.4

* Remove preview test simulator version specifiers
2024-03-12 13:08:54 +02:00
Velin92
ff0403ba51 Translations update 2024-03-12 08:31:00 +02:00
Doug
25c74a6bd6 Moderation tweaks (#2548)
* Only allow admins to see the roles and permissions screen.

* Hide the selection checkbox on Admins when changing roles.

* Show an empty state for banned users.

* Add separate actions for ban and remove.

* Implement reset permissions and demote self alerts.

* Add tests for resetting permissions and demoting self.

* Add a warning when promoting someone to administrator.
2024-03-11 14:19:53 +00:00
Stefan Ceriu
3715a0ea3f Fix crashes when blocking/unblocking users
- SwiftUI crashes when mutating optional state properties in place
- workaround it buy mutating a local reference first
2024-03-11 15:53:19 +02:00
Benjamin Bouvier
e659cbfb37 Disable trace logs for read receipts
Read receipts have been considered quite stable over the last few weeks, so
there's no need to keep the trace level for the associated logs for the time
being.
2024-03-08 17:47:45 +02:00
Doug
4a074e4967 Update the SDK adopting new power levels APIs. (#2545)
* Update the SDK adopting new power levels APIs.

* Fix test compilation error.
2024-03-08 15:26:15 +00:00
Doug
2efc1ce671 Add RoomRolesAndPermissionsFlowCoordinator. (#2539) 2024-03-08 12:25:43 +00:00
Mauro
459fc77557 Filters, Mark Unread/Read/Favourites FF removals + code and tests clean up (#2541) 2024-03-07 17:56:09 +01:00
Doug
1a605807ec Prevent the sync service from looping so tightly on failure (#2540)
Add a delay when restarting the sync service and prevent the service from restarting when stopped.
2024-03-07 16:27:33 +00:00
Doug
ad2de36f5a Add RoomChangeRolesScreen. (#2534)
Not part of a flow yet, just the screen.
2024-03-07 16:24:05 +00:00
Stefan Ceriu
b2409c80f5 Fixes #1837 - Add support for m.call.invite events in the timeline, room list and notifications 2024-03-07 18:23:22 +02:00
Mauro
4130e6fdf1 New filters ordering and faster animation (#2536) 2024-03-07 10:13:34 +01:00
Doug
0d1dc4bf01 Fix for a potential crash when building a removed timeline item. (#2533) 2024-03-06 12:33:32 +00:00
Mauro
b81b9237e6 Searching disables the filters (#2530) 2024-03-06 11:02:30 +01:00
Doug
da710aa2cb Update the SDK. (#2529) 2024-03-05 16:31:27 +00:00
Mauro
4dc8364a63 Room List Filters Empty State View (#2522) 2024-03-05 15:15:07 +01:00
Doug
ec1e72c5ea Update the SDK and handle breaking changes. (#2527) 2024-03-05 15:08:34 +01:00
Mauro
1137f80c19 Filters UI Update and ordering (#2521) 2024-03-04 18:32:59 +01:00
Velin92
75ed119146 Translations update 2024-03-04 09:50:31 +02:00