Commit Graph

1225 Commits

Author SHA1 Message Date
Mauro
a705d18ba6 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
38fe44a50e Send html in plain text mode (#2246) 2023-12-15 10:04:51 +01:00
Doug
278cf06f44 Fix UI tests and Release builds. (#2248)
* Fix PollFormScreen UI tests.

* Fix compilation error on release builds.
2023-12-14 15:09:29 +00:00
Doug
a8a791186e Fix integration tests getting stuck in location error loop. (#2233) 2023-12-13 09:00:57 +00:00
Mauro
84b0f967e8 Removing Dead Code part 1 (#2234) 2023-12-13 09:51:57 +01:00
Doug
52b8cdad75 Update most references of vector-im to element-hq (#2231)
Sonarcloud and codecov will follow in a later PR when confirmed working. Changelog ignored as it isn't particularly important with the redirect.
2023-12-12 14:34:44 +00:00
Mauro
c14530d60b Remove Read Receipts Feature Flag (#2228) 2023-12-12 15:27:15 +01:00
Stefan Ceriu
3e465995bd Fix UI tests for AppLock flow and Start Chat flow. Regenerate outdated screenshots (#2226) 2023-12-12 14:08:27 +00:00
Stefan Ceriu
40b100d596 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
79447b1f25 Periphery to detect dead code (#2227) 2023-12-12 10:17:15 +00:00
Mauro
fc3ab429f9 Poll title is displayed multiline when creating a poll (#2225) 2023-12-11 18:31:21 +00:00
Mauro
3ebe757583 Fix for line breaks (#2224) 2023-12-11 15:43:31 +00:00
Stefan Ceriu
cc7ee40a88 Allow the recovery section to be shown when recovery is incomplete and key backup is stuck waiting for the secrets 2023-12-11 17:14:41 +02:00
Stefan Ceriu
b2f0a42b9a More secure backup tweaks (#2212)
* Make sure the indicator for disabling backups is dismissed together with the screen

* Get rid of the .disabled key backup state as it has no correspondant on the rust side and is confusing

* Remove superflous BackupState extensions, add more logs
2023-12-07 13:19:58 +02:00
Doug
722ad5b4e7 Replace searchable modifiers with a custom implementation using UISearchController. (#2209)
Unfortunately the introspection became unreliable from iOS 17.1 onwards.

* Replace disableInteractiveDismissOnSearch and dismissSearchOnDisappear.

These can be handled within our searchController implementation now.

* Fix preview snapshots.

Weirdly, the search field is bigger in these, although it hasn't changed in the UI tests or the app itself.
2023-12-06 17:43:55 +00:00
Stefan Ceriu
9db54f779a 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
2a2a9b6eae Add toggle not invite notifications. (#2207) 2023-12-06 09:53:10 +00:00
Doug
c40287ff1f Expand all sections on the view source screen by default. (#2203) 2023-12-05 15:35:51 +00:00
ElementRobot
5fa835b18d Translations update (#2201)
Co-authored-by: pixlwave <pixlwave@users.noreply.github.com>
2023-12-05 11:59:47 +00:00
Doug
9df3139ac7 Make the attachment menu an actual menu. (#2199)
There was a bug with the sheet/popover when overriding the colour scheme where the button renders in light mode when the app is in dark mode.
2023-12-05 11:14:16 +00:00
Doug
123b39e0ea Add an extra call to obscure the app on willEnterForeground. (#2202)
It shouldn't be necessary given the double call by the time the app is backgrounded, but we're still seeing occasional room list flashes.
2023-12-05 11:13:51 +00:00
Stefan Ceriu
caf540d3d8 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
Doug
76b04c48ec Use ListRow in InviteUsersScreen and MessageForwardingScreen. (#2196)
* Use ListRow in InviteUsersScreen and MessageForwardingScreen.

* Remove button styles and fix snapshots.
2023-12-04 14:47:43 +00:00
Stefan Ceriu
2a615efe7b Fix secure backup recovery badges not being show when incomplete 2023-12-04 14:01:52 +02:00
Mauro
b60b72452f Fix scrambled screen when searchinfg (#2191)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-11-30 17:47:44 +00:00
Nicolas Mauri
7fa9b8a348 Fixed some issues with voice messages when sent from a bridge. (#2190) 2023-11-30 17:39:54 +01:00
Stefan Ceriu
4048b47910 Reverse unwanted change 2023-11-29 18:31:29 +02:00
Stefan Ceriu
712f087b36 Switch all state machine route mappints from matching (event, fromState) to (fromState, event) 2023-11-29 18:31:29 +02:00
Stefan Ceriu
84ec5a37ff Fixes #2179 - Open direct chat directly from the room member details screen 2023-11-29 18:31:29 +02:00
Stefan Ceriu
67d30f490c Move presentation and coordination logic from the RoomDetailsScreenCoordinator and into the RoomFlowCoordinator 2023-11-29 18:31:29 +02:00
Mauro
b9db433590 Revert "Search bar new room invite screen now always shows the nav bar on top" (#2189) 2023-11-29 16:25:16 +00:00
Nicolas Mauri
167a7075e6 Fix: added sample rate conversion for recording voice messages (#2188) 2023-11-29 15:20:02 +00:00
Doug
69204bf824 Use ListRow on PollFormScreen. (#2183) 2023-11-29 09:57:35 +00:00
Alfonso Grillo
c9c429e159 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
Mauro
74724b245e Search bar new room invite screen now always shows the nav bar on top (#2182) 2023-11-28 16:54:47 +00:00
Nicolas Mauri
4e81a303b8 Fix the touch area size for the voice message button. (#2174) 2023-11-28 09:21:42 +00:00
Doug
2ffc18f90e App Lock: Don't rely on the app becoming active at startup. (#2175) 2023-11-27 16:52:33 +00:00
Mauro
e96fec4a52 Improved File and Audio timeline layout (#2176) 2023-11-27 16:18:40 +00:00
Nicolas Mauri
37c5b24576 Fix a rendering issue when a message starts with a list (#1915) (#2152) 2023-11-27 16:24:51 +01:00
Doug
82eb63b50b Remove the isPressed animation from the room attachment picker button. (#2173)
Fixes a bug where the presented sheet would show light mode buttons on a dark mode background when using the in-app appearance override.
2023-11-27 12:09:25 +00:00
Stefan Ceriu
af7dfd7997 Fixes #2005 - Remove rooms from the room list after leaving them 2023-11-24 19:30:11 +02:00
Alfonso Grillo
923c4bc671 Update poll form localization keys (#2167)
* Update poll form localisations

* Update localisation keys
2023-11-24 16:43:13 +00:00
Stefan Ceriu
5740b26d7f 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
6918613195 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
9dfc03ee3c Update polls icons (#2163)
* Add new polls icons

* Fix preview tests

* Update UI tests

* Add polls reply view test
2023-11-24 14:39:53 +00:00
Stefan Ceriu
90b1689949 vector-im/element-meta/issues/2213 - Automatically pop the invites list when acting on the last one. Coming back from the room will go directly back to the room list 2023-11-24 15:56:53 +02:00
Stefan Ceriu
8d1f44a0db Fixes #1950 - Show a loading indicator while searching for people to … (#2158)
* Fixes #1950 - Show a loading indicator while searching for people to invite

* Address PR comments
2023-11-23 19:56:49 +02:00
Mauro
60bb495b2d Fixing a crash that happened when leaving the room through the details screen (#2160) 2023-11-23 17:24:37 +00:00
Alfonso Grillo
4ab033191a Update rust sdk to 0.0.6-november23 (#2159)
* Update rust sdk to 0.0.6-november23

* Delete unused property
2023-11-23 16:26:44 +00:00
Alfonso Grillo
2e4b321ef2 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