369 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
f0d971c1ab Move the account migration screen to within the room list 2024-01-26 15:35:05 +02:00
Mauro
e755be4cda
Settings to enable and disable sending public RRs (#2384) 2024-01-25 15:47:33 +01: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
Mauro
dd28261e1f
Bump SDK + Mention Badge fix (#2367) 2024-01-22 17:43:39 +00:00
Mauro
3ae33f1309
Lock screen rotation for the camera (#2353) 2024-01-18 13:24:15 +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
2a33ee1f63 Make timeline reactions and reaction senders identifiable 2024-01-08 12:04:29 +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
Mauro
09fb5461e6
Removing dead code part 3 (#2264) 2023-12-19 12:12:16 +01:00
Nicolas Mauri
72a84badcb
Polls history (#2244) 2023-12-18 15:38:39 +00:00
Mauro
123164f398
Removing dead code part 2 (#2235)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-12-15 20:16:16 +01:00
Mauro
2f88d39789
Send html in plain text mode (#2246) 2023-12-15 10:04:51 +01:00
Mauro
d99d26fcdc
Removing Dead Code part 1 (#2234) 2023-12-13 09:51:57 +01:00
Stefan Ceriu
9ff1deaf73
Detect links in room detail topics and make it more obvious when the text is truncated (#2213) 2023-12-12 13:52:10 +00:00
Mauro
a248bdbd95
Fix for line breaks (#2224) 2023-12-11 15:43:31 +00:00
Stefan Ceriu
6cd25fac50
Element Call permission tweaks (#2187)
* vector-im/element-meta/issues/2230 - Specify `call.member` default power levels when creating a room

* vector-im/element-meta/issues/2229 - Take into account permissions when configuring the room screen call button
2023-12-06 13:14:23 +02:00
Doug
c7531be44c
Add toggle not invite notifications. (#2207) 2023-12-06 09:53:10 +00:00
Stefan Ceriu
e5bd194d06 Specify default timelineProxy actions and fix unit tests 2023-12-05 12:42:38 +02:00
Stefan Ceriu
8189b0a471 Fixes #2147 - Scroll the timeline to the bottom when sending message as well as media, polls and locations. 2023-12-04 17:32:26 +02:00
Nicolas Mauri
edbac5fe85
Fixed some issues with voice messages when sent from a bridge. (#2190) 2023-11-30 17:39:54 +01:00
Alfonso Grillo
e7494164b2
Add TimelineProxy (update sdk to 0.0.7-november23) (#2178)
* Refactor RoomProxy

* Refactor paginateBackwards

* Refactor sendReadReceipt

* Refactor messageEventContent APIs

* Refactor sendMessage

* Refactor toggleReaction

* Refactor send attachments

* Refactor sendLocation

* Refactor cancel/retry send

* ⚠️ Fix encryption build errors

* Refactor editMessage

* Refactor retryDecryption

* Refactor fetchDetails

* Refactor polls APIs

* Refactor fetchMembers

* Refactor RoomTimelineProviderProtocol

* Update sdk to 0.0.7-november23

* Fix UTs

* Fix comment

* Delete old workaround

* Move TimelineProxyError

* Delete queue warnings

* Fix key listener

* Add pollHistory timeline property

* Refactor room/timeline subscriptions

* Delete unused code
2023-11-28 19:01:35 +00:00
Stefan Ceriu
4447829618 vector-im/element-meta/issues/2206 - Fix room avatars not showing up on the message forwarding screen 2023-11-24 18:13:36 +02:00
Doug
9a52dcf9ac
Add a state machine to AppLockFlowCoordinator. (#2166)
Fixes a bug when cancelling Face ID would loop back round to presenting Face ID.
2023-11-24 16:03:38 +00:00
Alfonso Grillo
e583f52c65
Edit poll UX (#2151)
* Add edit poll on room proxy

* Add CreatePollMode

* Add “edit poll” presentation flow

* Add delete poll section

* Inject editing poll

* Add submit action

* Refactor validation logic

* Add edit/delete actions

* Fix bubble timestamp for polls

* Update localisations

* Refactor CreatePoll -> PollForm

* Refactor tests

* Update rust sdk to 0.0.5-november23

* Update confirmation alerts

* Add edit support in TimelineItem menu

* Refactor a11y id

* Cleanup

* Fix failing tests

* Add tests

* Refine isEditable workaround

* Refactor timestamp in TimelineItemBubbledStylerView
2023-11-23 11:19:15 +00:00
Doug
d03c97a02a
Switch to Xcode 15 (with the iOS 16.4 Simulator for tests still) (#2113)
* Use Xcode 15 in GitHub actions.

Use iOS 16.4 simulators from Xcode 14 as iOS 17.0.1 simulators are **super** slow.

* Fix failing preview snapshots.

Snapshot fix.

* Improve setup

* Regenerate snapshots that had a conflict.

---------

Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
2023-11-21 16:25:18 +00:00
Mauro
7b812a45c3
Read Receipts sheet + enabled RR by default (#2123) 2023-11-21 12:38:39 +00:00