227 Commits

Author SHA1 Message Date
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
Doug
bb725db6bb
Fix ReplyView when its content has been redacted. (#2606) 2024-03-27 10:16:26 +00:00
Stefan Ceriu
be9cf8713e
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
d72fa02ac6
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
Mauro
562e5e739d
Public Search View (#2585)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-03-21 14:34:35 +00:00
Stefan Ceriu
a62c96f1c5
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
Doug
3ba34c0704
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
Doug
d2a9db874d
Fix some preview snapshot tests. (#2574)
* Fix RoomRolesAndPermissionsScreen preview snapshot setup.

* Fix reference snapshot.
2024-03-14 13:47:26 +00:00
Mauro
f4734a44d1
Typing notifications string fix (#2572) 2024-03-14 11:14:49 +01:00
Stefan Ceriu
5944550721
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
83f5ae9192
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
Doug
71721f01b1
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
Doug
5ec63e901d
Add RoomRolesAndPermissionsFlowCoordinator. (#2539) 2024-03-08 12:25:43 +00:00
Mauro
c66ddfb71e
Filters, Mark Unread/Read/Favourites FF removals + code and tests clean up (#2541) 2024-03-07 17:56:09 +01:00
Doug
046f1dd533
Add RoomChangeRolesScreen. (#2534)
Not part of a flow yet, just the screen.
2024-03-07 16:24:05 +00:00
Stefan Ceriu
063b3732b1 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
7754b9b8dc
Searching disables the filters (#2530) 2024-03-06 11:02:30 +01:00
Mauro
8c68f5a591
Room List Filters Empty State View (#2522) 2024-03-05 15:15:07 +01:00
Mauro
4320e5c9e0
Filters UI Update and ordering (#2521) 2024-03-04 18:32:59 +01:00
Doug
bd15190b23
Add RoomChangePermissionsScreen (#2513) 2024-03-01 16:11:22 +00:00
Stefan Ceriu
d304d98c85 Fixes #2516 - Hide the blocked users section in settings if there aren't any. 2024-03-01 14:00:27 +02:00
Stefan Ceriu
f5c43ed68f Fix flakiness for tests that rely on room members loading quickly. 2024-02-28 14:19:17 +02:00
Stefan Ceriu
7615e97c7f
Fixes #2486 - Implement blocked users management in the app settings 2024-02-28 13:21:54 +02:00
Doug
a0b510cb6b
Add roles and permissions screen (#2505)
The screen hasn't been added to the flows yet.
2024-02-27 17:06:39 +00:00
Doug
fdbaef5aee
Kick/ban room members (#2501)
* Add a temporary membershipChangePublisher on the timeline.

* Kick/Ban users from a room.

* Unit tests.

* Disable autocorrection on the members list search field.
2024-02-27 13:02:35 +00:00
Doug
873438b29d
Update translations (#2499)
* Update translations

* Fix snapshots are changes to base strings.
2024-02-26 17:00:51 +00:00
Doug
a3b3aa8517
Move PreviewTests into their own scheme. (#2492)
* Use xcresultparser for coverage as there are 2 schemes now.
2024-02-22 15:13:52 +00:00