Commit Graph

850 Commits

Author SHA1 Message Date
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
Doug 873438b29d Update translations (#2499)
* Update translations

* Fix snapshots are changes to base strings.
2024-02-26 17:00:51 +00: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 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 d380c2de56 Removed unused context menu + some unused code cleaning (#2487) 2024-02-20 14:36:04 +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
Stefan Ceriu 6d9271ce59 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 023e10edf2 Fixes #2470 - Allow verifiying a session through entering the recovery key 2024-02-19 17:36:38 +02:00
Stefan Ceriu 939c4e7b33 Fix timeline scroll to top crash after introducing the typing notification section 2024-02-16 21:04:46 +02:00
Mauro 548fd27d6a Replace share location icon with the iOS share location icon (#2474) 2024-02-16 15:35:22 +00:00
Doug 9d1d5e43a9 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
Stefan Ceriu db05540cc5 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 c9f79806ff Add back horizontal typing indicator cell margins, fix horizontal padding. 2024-02-14 13:31:59 +02:00
Stefan Ceriu 5cb5862e5e 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 f2e9c32e8d Fixes #2347, #2348, #2349 - Add support for typing notifications 2024-02-13 15:27:52 +02:00
Mauro 2b2accaca6 Fix filters being jumpy when scrolling them (#2459) 2024-02-13 02:09:55 +01:00
Mauro 50e6220076 Fix for isSearchFieldFocus not always updating properly (#2456) 2024-02-12 16:56:53 +01:00
Doug c1aaf331a3 Sort members in the member list by power level and show mods and admins. (#2448) 2024-02-12 10:39:06 +00:00
Mauro 316e351dbb Restored Link long pressing (#2449) 2024-02-12 10:42:45 +01:00
Mauro e0309d9a84 Removed the 50ms delay from updating the filters. (#2447) 2024-02-09 17:12:35 +01:00
Mauro 6a7ad6ccac RTE Update (#2446) 2024-02-09 16:00:32 +00:00
Stefan Ceriu d7a190ba23 Fix room list cell highlighting issues, add unit tests 2024-02-09 14:05:12 +02:00
Mauro 60ba71c727 Fixing Tests and deleting dead code (#2444) 2024-02-09 12:24:01 +01:00
Doug cc1d9cad58 Use new decorative colours for avatars and displaynames. (#2438) 2024-02-09 11:15:57 +00:00
Mauro 2597f6db41 Sending all RR when the app is active client side. (#2443) 2024-02-09 11:43:01 +01:00
Mauro 4ba7aa9e9d Fix for the RTE not mantaining content when transitioning from a split navigation to a stack navigation (#2435) 2024-02-08 17:07:14 +00:00
Mauro 224e4e4881 Room List Filters implementation (#2423) 2024-02-08 16:50:44 +01:00
Stefan Ceriu c32015278e Infer joined and active member count from the member list
* Infer joined and active member count from the member list, default the members to all mock members

* Address PR comments, fix some tests and screenshots
2024-02-07 19:10:15 +02:00
Doug d0c835a9bf Add a setting to hide unread messages badges. (#2412)
* Add a setting to hide grey unread messages badges.

* Move room badge logic to be built in the view model instead of in the view.

* Move setting into DeveloperOptions.
2024-02-07 13:00:35 +00:00
Stefan Ceriu b075ddb047 Fixes #2414 - Move member loading to the room member detail screen, avoid blocking the whole application 2024-02-07 07:31:25 +00:00
Stefan Ceriu a27213e393 Fix small VStack spacing warning 2024-02-06 11:50:24 +02:00
Stefan Ceriu 98892c0bf4 Fixes #2416 - Allow text selection on the timeline item menu header 2024-02-05 18:07:04 +02:00
Stefan Ceriu 9915a33964 Fixes #2360 - Add support for manually marking rooms as unread (#2408)
* Fixes #2360 - Add support for manually marking rooms as unread

* Add analytics for marking rooms as (un)read

* Remove unnecessary analytics abstraction levels

* Fix breaking API changes following SDK bump

* Add changelog

* Handle PR comments

* Fix unit tests
2024-02-05 18:06:50 +02:00
Doug e80612b968 Update compound and remove all of the temporary icons (#2419)
* Update compound and fix breaking changes.

* Replace a lot of temporary icon assets with Compound versions.

* Replace temporary composer icon assets with Compound versions.

* Remove old icon asset from EI.

* Use Compound icons where possible for hero images.

* Snapshots
2024-02-05 16:03:13 +00:00
Stefan Ceriu d6b7212b5a Remove unused SwiftUI timeline version 2024-02-02 18:20:14 +02:00
Stefan Ceriu 31ca8ed7f2 Prevent unnecessary backpagination requests from running every time a room is entered
- related to #1760 which moved initial timeline item computations to a serial queue
2024-02-02 18:20:14 +02:00
Stefan Ceriu 7aa81f542c Base ElementCall encryption on the room encryption state, remove developer options setting 2024-02-01 17:18:17 +02:00
Mauro 1a8fd7d8ff Download SAS Strings Tool + Localised SAS emojis (#2409) 2024-01-31 13:29:52 +01:00
Stefan Ceriu 197b088662 Add support for quick room search through the Cmd+K shortcut (#2363) 2024-01-29 14:55:11 +02:00
Stefan Ceriu d911e4fb06 Fix the room list spasming when reaching the top after having scrolled down 2024-01-26 20:57:47 +02:00
Stefan Ceriu ffbfdfa96e Fix flakey app lock setup pin screen pin entry typing 2024-01-26 17:59:58 +02:00
Stefan Ceriu f0d971c1ab Move the account migration screen to within the room list 2024-01-26 15:35:05 +02:00
Mauro 33a81989b0 Bump SDK to 1.1.35 (#2388) 2024-01-26 14:32:02 +01:00
Stefan Ceriu 119fa09617 #2380 - Add simple call screen UI test 2024-01-26 11:48:48 +02:00
Mauro 25ec8d2dcb UI POC for room list filters (#2382)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-01-26 09:43:05 +00:00
Mauro e755be4cda Settings to enable and disable sending public RRs (#2384) 2024-01-25 15:47:33 +01:00
Stefan Ceriu 29c8049559 Fixes #2378 - Allow partial text selection in the timeline item view source menu 2024-01-25 14:40:03 +02:00
Mauro 99a31cab00 Failure when finding a refresh token in a non OIDC login (#2377)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2024-01-25 12:35:26 +00:00