Commit Graph

1458 Commits

Author SHA1 Message Date
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
Stefan Ceriu
00f4d71978 Add .xcprivacy info files to the main app and the notification service extension 2024-03-18 17:31:46 +02:00
Velin92
de7d194d20 Translations update 2024-03-18 08:51:47 +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
ElementRobot
6cf28c5229 Translations update (#2551) 2024-03-11 15:17:00 +00: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
Doug
3dba6387d0 Add RoomChangePermissionsScreen (#2513) 2024-03-01 16:11:22 +00:00
Doug
4728179f8e Update Compound. (#2514)
Fixes a bug with placeholder avatar rendering in Notifications.
2024-03-01 13:14:52 +00:00
Stefan Ceriu
676f32ef87 Fixes #2516 - Hide the blocked users section in settings if there aren't any. 2024-03-01 14:00:27 +02:00
Stefan Ceriu
eee9858c53 Replace the existing RoomSummaryProviderMock with a generated one 2024-02-29 10:14:37 +02:00
Stefan Ceriu
56e124d88f Replace the existing MockClientProxy with a generated one + special configuration options 2024-02-28 17:18:01 +02:00
Matthew Hodgson
f9cca9fb5d Don't pass a URL as a log destination to rust (#2506)
On macOS (catalyst) URL.appGroupContainerDirectory returns:

/Users/matthew/Library/Group%20Containers/group.io.element/

So you need to strip the %20 out into a space, otherwise logging
fails with a permissions error.

* Use path(percentEncoded:)
2024-02-28 14:28:17 +02:00
Stefan Ceriu
79397ab2c8 Fix flakiness for tests that rely on room members loading quickly. 2024-02-28 14:19:17 +02:00
Stefan Ceriu
c55dddc081 Fixes #2486 - Implement blocked users management in the app settings 2024-02-28 13:21:54 +02:00
Doug
93de35a772 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
5ec121cff3 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
5175f6e94b Add a couple more error messages during authentication. (#2497)
* Add copy for error when signing in with refresh tokens enabled.

* Show an error when a server's well-known file is invalid.

* Changelog.

* Fix wrong alert.
2024-02-27 08:48:21 +00:00
Doug
938d3a9582 Update translations (#2499)
* Update translations

* Fix snapshots are changes to base strings.
2024-02-26 17:00:51 +00:00
Mauro
663f34b831 removed unused button check (#2498) 2024-02-26 14:00:43 +01:00