Commit Graph

1374 Commits

Author SHA1 Message Date
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
Doug
5bdfcc58c1 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
83aba56d12 Update DeviceKit and tweak user agent string on mac. (#2496) 2024-02-23 11:26:01 +00:00
Doug
0399af52d9 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
dc14accbef Configure SDK to use the global/OS proxy (#2493) 2024-02-21 15:17:23 +01:00
Mauro
b328fda9c4 Removed unused context menu + some unused code cleaning (#2487) 2024-02-20 14:36:04 +01:00
Doug
28981f2eac Add accessibility label to the add reaction button. (#2485) 2024-02-19 17:45:23 +00:00
Mauro
75ae8c2fbd Bump sdk + Favourites filters implementation (#2484) 2024-02-19 17:53:57 +01:00
Stefan Ceriu
98702d1af1 Fixes #2320 - Implement support for (un)marking rooms as favourite from the room list and room detail screens 2024-02-19 17:51:43 +02:00
Stefan Ceriu
196299b7f2 Fixes #2221 - Change Confirm recovery key copy to Enter recovery key 2024-02-19 17:36:38 +02:00
Stefan Ceriu
59cfb0ff1a Fixes #2470 - Allow verifiying a session through entering the recovery key 2024-02-19 17:36:38 +02:00
Doug
26e309bd62 Fix a retain cycle on MessageText.
This was generating warnings about an excessive number of gesture recognisers.
2024-02-16 22:06:56 +02:00
Stefan Ceriu
b52a3176e1 Fix timeline scroll to top crash after introducing the typing notification section 2024-02-16 21:04:46 +02:00
Mauro
c5f5d3d880 Replace share location icon with the iOS share location icon (#2474) 2024-02-16 15:35:22 +00:00
Doug
50e98aa174 Show banned members in the members list. (#2460)
Only shown to users with enough power to ban.
2024-02-16 12:49:35 +00:00
Doug
c67a75996c Bump the SDK to v1.1.40. (#2473) 2024-02-16 11:40:13 +00:00
Stefan Ceriu
42b1b7c96f Show recovery instead of verification if this is the last session and recovery is set up
* Show recovery instead of verification if this is the last session and recovery is set up

* Rename `recoveryKeyState` to `recoveryState`

* Remove duplicates on session security state changes.

* Fix missing "Save recovery key" button

* Fix unit tests

* Rename `isLastDevice` to `isOnlyDeviceLeft`

* Address PR comments
2024-02-16 11:38:49 +02:00
Stefan Ceriu
21c3ab12c7 Fix localization bundle and attributed string builder crashes on unsynchronised access to their internal caches 2024-02-15 12:20:37 +02:00
Mauro
47e419a6a6 Fixed the link color and improved link dection in code blocks (#2466) 2024-02-14 17:45:23 +01:00
Stefan Ceriu
22cdc1dba6 Add back horizontal typing indicator cell margins, fix horizontal padding. 2024-02-14 13:31:59 +02:00
Stefan Ceriu
8107d12844 Bump the RustSDK, adopt new marking/flagging rooms as (un)read API and fix sending read receipts when entering rooms or making the app active again 2024-02-14 12:33:19 +02:00
Stefan Ceriu
6210c7b478 Replace emoji detection implementation with a simpler one 2024-02-13 18:57:31 +02:00
Stefan Ceriu
2c4a12da4b Fixes #2347, #2348, #2349 - Add support for typing notifications 2024-02-13 15:27:52 +02:00