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
Nicolas Mauri
fcaed76494
Fix: added sample rate conversion for recording voice messages ( #2188 )
2023-11-29 15:20:02 +00: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
026afed54a
Fixes #2005 - Remove rooms from the room list after leaving them
2023-11-24 19:30:11 +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
058429b637
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
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
Mauro
a21bc2cdd3
Handle Room Routing using the membership state ( #2154 )
2023-11-22 17:37:26 +00:00
Mauro
a7c194198d
Using thumbnails for notification icons ( #2142 )
2023-11-22 13:06:54 +01:00
Stefan Ceriu
bec6cdac05
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
Alfonso Grillo
9f1092b0b6
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
0b9da83470
Show the lock screen placeholder on willResignActive. ( #2086 )
2023-11-15 15:31:35 +00:00
Mauro
342feb4113
Added a disclaimer in Notification Settings for "Mentions Only" ( #2081 )
2023-11-15 14:57:17 +00:00
Doug
2c1e61a1bc
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
Nicolas Mauri
acd079199a
Display voice message progress cursor if progress is greater than zero ( #2077 )
2023-11-13 16:41:38 +01:00
Stefan Ceriu
bc46c48b2e
Update room summary provider mock room details and snapshots
2023-11-13 17:02:02 +02:00
Stefan Ceriu
5c4e0bd76d
Display whether a call is ongoing in any particular room on the room list
2023-11-13 17:02:02 +02:00
Doug
b5cc2cbf61
Fix a regression where the forced logout indicator was presented on the hidden overlay window. ( #2063 )
2023-11-10 17:21:02 +00:00
Doug
37d88e622c
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
Nicolas Mauri
da831f6725
New voice message recording mode ( #2051 )
...
* Lock voice message recording
* Use the VoiceMessageCache to store the recording file
* Rework on some composer toolbar buttons
* Update accessibility labels for voice message recording button
* PreviewTests
2023-11-10 15:32:22 +00:00
Mauro
a4bc7b8e36
Custom copy for notifications that contain mentions ( #2050 )
2023-11-09 18:12:11 +00:00
Stefan Ceriu
019ca625ab
Group together voice message and poll actions ( #2054 )
...
* Group together voice message and poll actions
* Extract nested switches into separate methods
2023-11-09 19:16:42 +02:00
Stefan Ceriu
abe2080ee2
Extract room screen action handling into separate component ( #2045 )
...
* Extract room screen action handling into separate component
* Fix tracing configuration unit tests
* Move the custom reactionsCollapsedBinding to the TimelineReactionsView
* Move voice message playback handling from the timelineController to the room view model
* Reorder methods
* Remove the need for a media player provider in the timeline controller
* Move room attachments opening to the view model, remove the need for a media provider in the timeline controller
* Rename RoomScreenActionsHandler -> RoomScreenInteractionHandler
* Move message sending retry and cancellation to the timeline controller.
* Move audio playback, attachment loading and user tapping handling into the InteractionHandler
* Fix unit tests
* Switch back swiftlint file_length rule error to 1000 lines
2023-11-08 18:31:39 +02:00
Doug
07313926c9
Add UI tests for optional app lock setup. ( #2046 )
2023-11-08 15:33:40 +00:00
Nicolas Mauri
e04a55eaef
Voice message recording enhancements ( #2042 )
...
* Use Combine to report AudioRecorder state changes
* AudioRecorder is now using AVAudioEngine instead of AVAudioRecorder
* Stop recording when audio configuration changes
* AudioRecorder error handling
* UnitTests
* Use Accelerate to calculate RMS
2023-11-08 10:19:28 +01:00
Stefan Ceriu
5dcb24add7
Expose Element Call settings in the developer options. Start using th… ( #2039 )
...
* Expose Element Call settings in the developer options. Start using the encryption widget parameter.
* Remove the Element Call feature flag
2023-11-07 16:12:03 +02:00
Mauro
ce72a9b5f2
Fix NSE Leak ( #2022 )
2023-11-03 20:30:58 +00:00
Alfonso Grillo
4985d410b3
Add voice message analytics
2023-11-03 12:44:52 +01:00
Alfonso Grillo
530985e674
Add deferred spinner for voice messages ( #2018 )
...
* Add delayedLoaderPlaybackState
* Add more tests
* Fix Xcode 14 build error
* Refactor delayedLoaderPlaybackState -> playerButtonPlaybackState
* Fix runtime issue
2023-11-03 10:39:22 +00:00
Alfonso Grillo
4d3cb97fbb
Voice message record button hapitcs ( #2013 )
...
* Move tooltip logics in VoiceMessageRecordingButton
* Add hapitc feedback when recording a voice message
* Cleanup
2023-11-02 12:58:19 +01:00
Alfonso Grillo
4af8ef2a5f
Voice message UI polish (part 2) ( #1995 )
...
* Update compund
* Fix create poll screen bin button style
* Fix timeline menu description for voice messages
* Fix bin button in ComposerToolbar
* Add VoiceMessageButtonStyle
* Update compound & fix breaking changes
* Fix voice message bin size
* Refactor VoiceMessageRecordingButton
* Fix preview tests
2023-11-01 10:03:35 +01:00
Doug
4af881a20f
Update the SDK, minor version, handle API breaks ( #1994 )
2023-10-31 14:56:23 +00:00
Nicolas Mauri
8253920648
Fix: release audio session after playback ends ( #1992 )
2023-10-31 13:13:50 +00:00
Doug
af3732541e
Enable the App Lock feature. ( #1990 )
2023-10-31 08:55:30 +00:00
Nicolas Mauri
4f0ed94eaa
Fix the delay when switching between voice messages ( #1985 )
2023-10-30 19:44:59 +00:00
Alfonso Grillo
7ba2e4f9f5
Set voice messages max width ( #1980 )
2023-10-30 12:09:10 +01:00
Alfonso Grillo
5439b650a0
Remove forward action for polls ( #1973 )
2023-10-27 20:35:18 +00:00
Stefan Ceriu
a837ce5cff
Key backup Rust API adoption ( #1952 )
...
* Adopt Rust side secure backup APIs (incomplete, based on poljar/backup-pr)
* Implement the home screen recovery key confirmation banner.
* Update with the latest Rust changes.
The loading button for .unknown was incorrect. It should be treated as disabled.
---------
Co-authored-by: Doug <douglase@element.io >
2023-10-27 20:16:51 +01:00
Stefan Ceriu
4077f5f4bb
Session verification fixes and bump SDK to v0.0.1-october23 ( #1954 )
...
* Fixes vector-im/element-x-ios/issues/1868 Incorrect `is_verified` flag after successfully running verification flow
- the inner user_identity isn't automatically updated when the flow finishes, needs to be fetched again from encryption
- also replaces `UserIdentity.is_verified` with `Device.is_cross_signed_by_owner`
- depends on matrix-org/matrix-rust-sdk/pull/2775
---------
Co-authored-by: Doug <douglase@element.io >
2023-10-27 19:39:21 +01:00
Nicolas Mauri
a32a7c8f2c
Fix: Keep the progress indicator visible after pausing or scrubbing a voice message. ( #1969 )
2023-10-27 15:24:22 +00:00
Mauro
0b31446817
Resizable Composer With Completion Suggestion View ( #1971 )
...
* resizable composer with suggestions view
* FF cleanup
* removing the view when the vertical size is compact
* merge conflict fix
* done
* solving a conflict
* Update ElementX/Sources/Screens/ComposerToolbar/View/CompletionSuggestionView.swift
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
* pr suggestion
---------
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com >
2023-10-27 13:54:30 +00:00
Doug
84a16091b2
Handle invalid PIN input in the settings flow. ( #1972 )
2023-10-27 14:08:06 +01:00
Alfonso Grillo
acfc564490
Remove feature flag for voice messages ( #1964 )
...
* Delete voice messages feature flag
* Fix preview tests
* Update snapshots
2023-10-27 13:45:15 +02:00
Alfonso Grillo
adfe855b99
Refactor voice messages touch interaction ( #1970 )
...
* Remove enable/disable long press actions
* Working poc
* Refactor interaction in VoiceMessageRoomPlaybackView
* Cleanup DateFormatter
* Fix VoiceMessagePreviewComposer
* Cleanup
* Delete WaveformViewDragState
* Refactor WaveformCursorView
* Cleanup
* Add WaveformInteractionModifier
* Add selection hapitc feedback
* Fix ComposerToolbar ZStack alignment
* Refine cursor size
* Remove haptic feedback
* Fix preview test
* Delete longPressDisabledItemID
* Remove progress animation
* Project file
2023-10-27 10:08:30 +00:00
Doug
11563c6297
Add support for Face ID/Touch ID to app lock. ( #1966 )
...
* Fix biometrics with low grace period and backgrounding before unlocked.
* Trigger permissions alert when enabling Face ID.
2023-10-27 09:09:12 +00:00
Nicolas Mauri
aa766f2eac
Add some logs to allow debugging of voice messages in rageshake ( #1967 )
2023-10-26 17:22:41 +02:00
Nicolas Mauri
8a5986f9b0
Fix: Always detach voice message audio player state before playing another one ( #1965 )
2023-10-26 14:12:21 +02:00
Alfonso Grillo
a1bbc7ecce
Voice messages UI polish ( #1959 )
...
* Add VoiceMessageButton
* Add VoiceMessageRecordBadge
* Make composer transition faster
* Use VoiceMessageButton
* Adjust recording badge
* Update localisation key
* Remove animation in VoiceMessageButton
* Fix preview tests
* Cleanup
* Update preview tests
2023-10-26 09:05:42 +00:00
Mauro
d457736673
Check Application state before sending RR ( #1960 )
...
* check the state
* better handling
* protocol to mock the application state
* test improvement
2023-10-25 19:16:37 +02:00