4476 Commits

Author SHA1 Message Date
ElementRobot 2bb53d9d40 Translations update (#2551) 2024-03-11 15:17:00 +00: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
Stefan Ceriu 9ce12e6e16 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
Doug b0f109a023 Only install imagemagick when needed.
Workaround for issues installing python from brew on a runner right now.
2024-03-11 12:16:09 +00:00
Doug 2062b8c999 Update the SDK. 2024-03-11 12:16:09 +00:00
Mauro 7a508ea919 Disable auto completion (#2547) 2024-03-08 17:57:34 +01:00
Benjamin Bouvier 23f553070b 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 e36db7dd66 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 5ec63e901d Add RoomRolesAndPermissionsFlowCoordinator. (#2539) 2024-03-08 12:25:43 +00:00
Doug b54d87efd5 Zip results from Unit Test failures (#2542)
* Zip uploaded unit test results on failure.

Add a failure to test.

Revert "Add a failure to test."
2024-03-07 18:55:02 +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 da0fcfe052 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 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 82a5d34dd7 New filters ordering and faster animation (#2536) 2024-03-07 10:13:34 +01:00
Doug 129b898f4f Fix for a potential crash when building a removed timeline item. (#2533) 2024-03-06 12:33:32 +00:00
Mauro 7754b9b8dc Searching disables the filters (#2530) 2024-03-06 11:02:30 +01:00
Doug 7f3451216d Update the SDK. (#2529) 2024-03-05 16:31:27 +00:00
Mauro 8c68f5a591 Room List Filters Empty State View (#2522) 2024-03-05 15:15:07 +01:00
Doug 1b5db6c63d Update the SDK and handle breaking changes. (#2527) 2024-03-05 15:08:34 +01:00
Mauro 4320e5c9e0 Filters UI Update and ordering (#2521) 2024-03-04 18:32:59 +01:00
Velin92 5427fbe129 Translations update 2024-03-04 09:50:31 +02:00
Doug bd15190b23 Add RoomChangePermissionsScreen (#2513) 2024-03-01 16:11:22 +00:00
Doug ce667eab13 Update Compound. (#2514)
Fixes a bug with placeholder avatar rendering in Notifications.
2024-03-01 13:14:52 +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
Doug b3e6fdc503 Update the SDK. (#2512) 2024-02-29 11:42:09 +00:00
Stefan Ceriu 932ba75550 Replace the existing RoomSummaryProviderMock with a generated one 2024-02-29 10:14:37 +02:00
Doug 5f0c782ce2 Use xcresultparser in all workflows. (#2510)
* Fix integration tests.
2024-02-28 18:01:20 +00:00
Stefan Ceriu c8f728ca23 Replace the existing MockClientProxy with a generated one + special configuration options 2024-02-28 17:18:01 +02:00
Matthew Hodgson 14d76d9860 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 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
Element CI 40a8c80f56 Prepare next release 2024-02-27 08:37:31 -08:00
Element CI b17fa5056a Prepare next release 2024-02-27 07:10:40 -08: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 1afde10ce2 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
Stefan Ceriu 2cf427f715 Attempt to fix multiline Testflight changelog... again 2024-02-27 08:16:20 +02:00
Doug 873438b29d Update translations (#2499)
* Update translations

* Fix snapshots are changes to base strings.
2024-02-26 17:00:51 +00:00
Mauro dc7f45a77f removed unused button check (#2498) 2024-02-26 14:00:43 +01:00
Doug ff35688088 Handover log file management to Rust. (#2495)
* Handover log file management to Rust.

Fix all the tests, disabling the logging ones for now.

* Merge logging tests into a single case 😬

Not ideal but at least they're now running.

* Move TracingConfiguration into its own file.

* Split up the tests into smaller functions instead of writing code like a caveman.
2024-02-23 18:29:13 +00:00
Doug c573b7caa1 Update DeviceKit and tweak user agent string on mac. (#2496) 2024-02-23 11:26:01 +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
Stefan Ceriu 6d7471e161 Attempt to fix multiline Testflight changelog 2024-02-22 12:00:50 +02:00
Doug 730d099a76 Add RoomDetails for use (with RoomMemberDetails) in AvatarHeaderView. (#2490)
* Add RoomDetails and refactor AvatarHeaderView to use it.
* Remove old displayName property and use RoomDetails in the RoomDetailsScreenViewState
2024-02-21 14:19:05 +00:00
Mauro 9b949ce84e Configure SDK to use the global/OS proxy (#2493) 2024-02-21 15:17:23 +01:00
Mauro d380c2de56 Removed unused context menu + some unused code cleaning (#2487) 2024-02-20 14:36:04 +01:00
Mauro 6f0dd83b1e improved workflow (#2488) 2024-02-20 13:05:31 +01:00
Doug 76231286ab Add accessibility label to the add reaction button. (#2485) 2024-02-19 17:45:23 +00:00
Mauro 1f389ed008 Bump sdk + Favourites filters implementation (#2484) 2024-02-19 17:53:57 +01:00