Commit Graph

1511 Commits

Author SHA1 Message Date
Doug
ec4aa4300a Fix a crash when blocking/unblocking a user (#2143)
The view state doesn't like mutating an optional when built in release mode.
2023-11-22 13:13:59 +00:00
Mauro Romito
6c52b16a89 Revert "mentioned you improvement"
This reverts commit 9c801759ae.
2023-11-22 13:49:56 +01:00
Mauro Romito
9c801759ae mentioned you improvement 2023-11-22 13:48:45 +01:00
Mauro
e3effeadff Using thumbnails for notification icons (#2142) 2023-11-22 13:06:54 +01:00
Doug
a551add266 Update CONTRIBUTING.md (#2135) 2023-11-22 08:54:17 +00:00
Doug
b45fdf54ca 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
Element CI
efef5444b5 Prepare next release 2023-11-21 06:50:44 -08:00
Stefan Ceriu
eb9f607536 Prevent the composer from jumping when in reply to mode and reaching the end of the line 2023-11-21 16:34:28 +02:00
Nicolas Mauri
d02901e72f Fix: Long replies overlay the replied message (#1832) (#2131) 2023-11-21 13:50:15 +00:00
Mauro
7d45bae25a Read Receipts sheet + enabled RR by default (#2123) 2023-11-21 12:38:39 +00:00
Mauro
305aff20bd remove @ if not needed (#2126) 2023-11-21 10:02:23 +00:00
Stefan Ceriu
c6a6a4b127 Secure backup tweaks (#2122)
* Show the recovery section if key backup is anything **but** disabled

* Don't show an action on secure backup if its current state is unknown

* Do not show a badge on the home screen avatar while the recovery state is unknown

* Do not assume key backup is disabled when its state is unknown. If the state is unknown, check if a backup exists remotely.

* Dedupe remote backup state requests and handle task cancellations
2023-11-21 10:59:10 +02:00
Mauro
e4c7acbe47 Bump SDK (#2121) 2023-11-20 13:20:12 +00:00
ElementRobot
b422b82edf Translations update (#2118)
* Translations update

* Fix strings

---------

Co-authored-by: Velin92 <Velin92@users.noreply.github.com>
Co-authored-by: Stefan Ceriu <stefan.ceriu@gmail.com>
2023-11-20 14:51:00 +02:00
Stefan Ceriu
b372714d73 Fixes #2117 - Disable underlining for links defined in the html body:
- https://github.com/Cocoanetics/DTCoreText/issues/898
2023-11-20 13:46:40 +02:00
Doug
48c3379b1d Cherry pick some missed Compound/layout changes that ended up in the Xcode 15 PR. (#2120)
Fix broken Settings screen snapshots.
2023-11-20 11:06:24 +00:00
Mauro
c3590d261d Fix: RTE Speech to Text suddenly stops working (#2114) 2023-11-20 09:46:42 +01:00
Doug
6f2fb4a7f6 Use Compound List in more screens. (#2099)
* Use Compound List in room member details, secure backup, notification settings.

* Use ListRow in CreateRoomScreen.

* Fix ListRow layout when isWaiting && !isSelected.
2023-11-17 17:07:27 +00:00
Stefan Ceriu
b9081f02ea Fix room list search bar focus glitches (#2112)
* Fixes #2112 - Room list search bar focus glitches

* Address PR comments
2023-11-17 18:08:29 +02:00
Stefan Ceriu
eecc59d6f4 Secure backup tweaks (#2095)
* Show a loading indicator when confirming the recovery key

* Hide the passphrase characters when confirming the recovery key

* Don't show the settings security section until session verification state is retrieved (async)

* Fix preview screenshots
2023-11-17 12:06:36 +02:00
Doug
4945f505f3 Fix an animation glitch when signing in on iOS 16. (#2098) 2023-11-17 09:19:18 +00:00
Mauro
142757bbf9 Accessibility on RRs (#2094)
* added accessibility on the read receipts but there is something wrong in the generation

* voice over implementation for RRs

* Update ElementX/Sources/Screens/RoomScreen/View/Supplementary/TimelineReadReceiptsView.swift

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>

* done

* changelog

---------

Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
2023-11-16 16:51:25 +00:00
Doug
a367322b04 Compound icons part III - Revenge of the SF Symbol (#2093)
* Use Compound in StartChat screen.

* Update location sharing icons.
2023-11-16 15:50:06 +00:00
Stefan Ceriu
110918f7db Exclude service proxies from code coverage 2023-11-16 17:49:47 +02:00
Stefan Ceriu
05d55d1381 Add back automatic unit test retrying 2023-11-16 17:23:13 +02:00
Stefan Ceriu
c1b56fc3e6 Fixes #2001 - Simplify room and user avatar preview screens 2023-11-16 16:23:59 +02:00
Mauro
29f5bd0d42 Artificial delay when a message fails to send (#2091) 2023-11-16 10:09:29 +01:00
Alfonso Grillo
3fcbf12796 Reply to a poll (#2087)
* Refactor TimelineItemReplyDetails for polls

* Fix reply for polls

* Update reply details factory

* Revert Poll Hashable conformance

* PR comments
2023-11-15 15:57:34 +00:00
Doug
f7be3b5121 Show the lock screen placeholder on willResignActive. (#2086) 2023-11-15 15:31:35 +00:00
Mauro
a9700851fe Added a disclaimer in Notification Settings for "Mentions Only" (#2081) 2023-11-15 14:57:17 +00:00
Stefan Ceriu
a846c30305 Fixes #2083 - Expose options for overriding the system appearance in the advanced settings menu 2023-11-15 14:23:11 +02:00
Doug
0cbba1b04c Use more Compound icons (part 2!) (#2082)
* Use Compound icons in ListRow.

* Add CompoundIcon(asset:) convenience initialiser.
2023-11-15 09:54:43 +00:00
Doug
052db0d1f0 Add SwiftLint rule to enforce stack spacing. (#2080)
Xcode 15 changes the default behaviour and given we're always working from designs, we shouldn't rely on it for our layout.
2023-11-14 12:38:38 +00:00
Alfonso Grillo
2c33f9c5d5 Add scaledFrame/scaledPadding APIs (#2079)
* Add scaled frame and padding modifiers

* Refactor AppLockScreen

* Refactor FormattingToolbar

* Refactor RoomAttachmentPicker

* Refactor ComposerToolbar

* Refactor VoiceMessageRecordingButton

* More refactors

* Refine ScaledPaddingModifier

* Cleanup

* Fix preview tests

* Fix preview test

* Use CompoundIcon for custom image

* Add .scaledFrame(size:) overload

* Set fallback style to .body
2023-11-14 12:20:34 +01:00
Doug
9749b77a92 First round of icon updates. (#2076)
Update Compound too.
2023-11-13 16:44:29 +00:00
Nicolas Mauri
619e781a7f Display voice message progress cursor if progress is greater than zero (#2077) 2023-11-13 16:41:38 +01:00
Stefan Ceriu
037ada0d3d Update room summary provider mock room details and snapshots 2023-11-13 17:02:02 +02:00
Stefan Ceriu
03b73a1605 Display whether a call is ongoing in any particular room on the room list 2023-11-13 17:02:02 +02:00
Stefan Ceriu
5727f91aca Fixes #2058 - Prevent QuickLook from breaking media uploading on Mac, replace the preview with a plain filename label 2023-11-13 13:52:55 +02:00
Stefan Ceriu
aaca79279d Fix drag and dropping files onto the timeline on Mac 2023-11-13 13:52:55 +02:00
Stefan Ceriu
0ed753982d Fix new swiftformat warnings: convert types used for hosting only static members into enums. 2023-11-13 13:47:14 +02:00
Stefan Ceriu
5e3944c512 Fixes #1619 - Remove push notification registration on logout 2023-11-13 13:47:14 +02:00
Stefan Ceriu
c438cde085 Use the unread count to update the application badge on all flow branches 2023-11-13 13:44:39 +02:00
Stefan Ceriu
7e47273134 Fixes 2070 - Prevent crashes when inserting mention pills in the composers on Mac 2023-11-13 13:32:38 +02:00
Doug
90e69ce886 Update the welcome screen with the latest designs. (#2067) 2023-11-13 09:42:43 +00:00
Doug
1afa300aa6 Don't show the call button on macOS (#2064)
Calls don't work in the web view on macOS.
2023-11-13 07:32:42 +00:00
Doug
6edef42c1e Fix for UI tests now showing the status bar. (#2065) 2023-11-13 07:30:41 +00:00
Doug
3a623915b9 Fix a regression where the forced logout indicator was presented on the hidden overlay window. (#2063) 2023-11-10 17:21:02 +00:00
Stefan Ceriu
2e5e797d63 Fixes #660 - Expose message actions to voice over rotor (#2061)
* Fixes #660 - Expose message actions to voice over rotor

* Expose "message actions" accessibility action on polls and voice messages too.
2023-11-10 18:32:15 +02:00
Doug
871726aacc Add UI tests for AppLockFlowCoordinator. (#2055)
* Add UITests for the App Lock flow.

* Add Notification Signal

Fix unwanted imports in UITests.
2023-11-10 15:38:54 +00:00