645 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
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
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
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
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
3887403150 Fixes #2221 - Change Confirm recovery key copy to Enter recovery key 2024-02-19 17:36:38 +02:00
Stefan Ceriu
023e10edf2 Fixes #2470 - Allow verifiying a session through entering the recovery key 2024-02-19 17:36:38 +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
Mauro
99d6babc30
Fixed the link color and improved link dection in code blocks (#2466) 2024-02-14 17:45:23 +01:00
Stefan Ceriu
2019984918 Replace emoji detection implementation with a simpler one 2024-02-13 18:57:31 +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
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
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
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
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
197b088662
Add support for quick room search through the Cmd+K shortcut (#2363) 2024-01-29 14:55:11 +02:00
Stefan Ceriu
d8b9d5938a Fix unit test screenshots 2024-01-26 16:13:40 +02:00
Stefan Ceriu
f0d971c1ab Move the account migration screen to within the room list 2024-01-26 15:35:05 +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
550db5e377
Fix: Grey dot appears when you have unread messages that do not trigger a notification (#2371) 2024-01-23 15:14:53 +00:00
Stefan Ceriu
31286c75fc
Fixes #734 - Add a "View logs" option to the report a problem screen
Move bug report and log viewer responsibility to a separate flow coordinator. Reuse it as a child coordinator in the authentication, userSessionFlow and settings flow coordinators.
2024-01-23 10:13:48 +02:00
Mauro
dd28261e1f
Bump SDK + Mention Badge fix (#2367) 2024-01-22 17:43:39 +00:00
Stefan Ceriu
0fe52fe54b Allow reporting a problem from the onboarding screen 2024-01-22 14:17:36 +02:00
Mauro
3ae33f1309
Lock screen rotation for the camera (#2353) 2024-01-18 13:24:15 +00:00
Mauro
5ff575eb4a
User ID is shown also in the room members list (#2332) 2024-01-12 17:13:00 +00:00
Doug
01f42546e1
Enable database encryption for new logins on Nightly/PR builds. (#2328)
- Slightly reworks where the pusher client ID is generated.
2024-01-12 16:45:59 +00:00
Mauro
1001b5dc33
Reverting RTE to use SDK markdown when in markdown mode (#2327) 2024-01-12 11:58:36 +00:00
Mauro
e51e2ac2af
updateMembers now is chain of membersNoSync + membersWithSync (#2324) 2024-01-12 09:46:51 +01:00
Stefan Ceriu
90eb426832
UI test fixes (#2309)
* Fix settings screen screenshots

* Fix user session test snapshots

* Fix poll creation form UI test after moving to textViews instead of textFields

* Add missing room member details snapshot

* Update the home screen avatar snapshot as the badge is not shown anymore

* Dismiss the keyboard on the poll form when inserting a new line on a poll option
2024-01-08 16:02:29 +00:00
Stefan Ceriu
2a33ee1f63 Make timeline reactions and reaction senders identifiable 2024-01-08 12:04:29 +02:00
Stefan Ceriu
d338fd0e05 Fixes #2269 - Wrong text color on the server confirmation screen subtitle 2024-01-08 11:48:28 +02:00
Mauro
f844cd1a2f
MentionBadge FF (#2281) 2023-12-22 17:57:07 +01:00
Mauro
b4538b759f
Revert "Mention badge + badge behaviour redesign" (#2283) 2023-12-22 09:44:10 +00:00
Stefan Ceriu
0ae71f740d
Secure backup tweaks (#2277)
* Use a custom SDK build that might fix incomplete recovery state false positives. Enable chat backup by default

* Get rid of the chat backup feature flag

* Fix force unwrap warning

* Fix long line warning

* Prevent the recovery key confirmation banner popping up before the verification state is fetched. Stop showing secure backup user avatar and menu badges while the session is not verified.

* Switch back to the release version of the SDK

* Fix inconsistent session verification states, improve/simplify how to deal with it

* Fix unit tests

* Cleanup and hopefully simplify home screen banner presentations
2023-12-21 17:08:29 +02:00
Mauro
d148827eae
Mention badge + badge behaviour redesign (#2276) 2023-12-21 15:05:39 +00:00