Commit Graph

742 Commits

Author SHA1 Message Date
manuroe 736cde698b VB: Make the view model aware of every chunk new coming
this reactive approach will help to cache and reorder them by sequence
2022-10-20 01:45:57 +02:00
manuroe 78c162b6b6 Expose better broadcast details to the view
Starting from the sender name but we can add more things. This is up to the design expectation
2022-10-20 01:45:57 +02:00
manuroe f9ee000cbb VB: Improve playback states 2022-10-20 01:45:57 +02:00
manuroe ff0032d3e5 VB: Playback starts to work but only the first chunk if it is ogg 2022-10-20 01:45:57 +02:00
manuroe 91ae3b2a98 VB: Move view logic to the view model 2022-10-20 01:45:57 +02:00
manuroe 7c78e8ef04 Renamed back to VoiceBroadcastPlaybackCoordinator
The logic will be moved to the view model. This file will just serve the SwiftUI view
2022-10-20 01:45:57 +02:00
manuroe c5e38ae76e Rename some existing voice broadcast files to VoiceBroadcastPlayback
Record will happen in separate files
2022-10-20 01:45:57 +02:00
manuroe b131c5308b Simplify TimelineVoiceBroadcastDetails struct 2022-10-20 01:45:57 +02:00
manuroe 228580610d Removed VoiceBroadcastProtocol
We do not need to abstract it
2022-10-20 01:45:57 +02:00
manuroe 893a7efae1 Rename TimelineVoiceBroadcastCoordinator to controller
It has nothing todo with a coordinator. Start to follow the same naming as VoiceMessage.

Remove SwiftUI VoiceBroadcastChunk to make it build
2022-10-20 01:45:57 +02:00
yostyle 5e4271cb24 Check user id to prevent fake ckunk 2022-10-20 01:45:57 +02:00
yostyle 6712e1c6c9 Add chunks in TimelineVoiceBroadcastDetails 2022-10-20 01:45:57 +02:00
yostyle 6a3fce34ec Add some comments 2022-10-20 01:45:57 +02:00
yostyle db461cf867 Init voice broadcast playing service 2022-10-20 01:45:57 +02:00
Giom Foret 16f57eaf3e Display info dialogs when we prevent the user from starting a new voice broadcast
- Update the existing implementation used to start/stop a voice broadcast in order to handle the different cases where voice broadcast is denied
- Add the optional Voice broadcast action to the new wysiwyg composer
2022-10-20 00:38:42 +02:00
Stefan Ceriu b4f18eeb6e Check and mark the received MSK as trusted before locally verifying the existing device 2022-10-18 12:15:47 +03:00
Stefan Ceriu 5a0969086c Fix incorrect Task creation for processing scanned qr codes 2022-10-18 12:13:14 +03:00
Hugh Nimmo-Smith 2d97215aee Use unstable prefixes for QR code login 2022-10-18 09:13:21 +03:00
Velin92 038b503c73 Merge pull request #6901 from vector-im/mauroromito/wysiwyg_toolbar_design_improvements
WYSIWYG design improvements
2022-10-17 21:10:44 +02:00
Alfonso Grillo b3daf92965 Merge pull request #6898 from vector-im/alfogrillo/fix_session_details
Filter out application section in session details (PSG-898)
2022-10-17 19:49:47 +02:00
Mauro Romito ba08458cd1 spacing improved further 2022-10-17 19:25:17 +02:00
Yoan Pintas 58551e04c1 [Voice Broadcast] Aggregate the chunks of voice messages in room timeline (#6891) 2022-10-17 18:23:47 +02:00
Mauro Romito ff9da7413a Merge branch 'develop' into mauroromito/wysiwyg_toolbar_design_improvements
# Conflicts:
#	Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	project.yml
2022-10-17 18:13:12 +02:00
Mauro Romito 8c0e4b061f updated the swiftpm 2022-10-17 18:11:19 +02:00
Mauro Romito ef5043baf0 designs are perfect now 2022-10-17 17:03:43 +02:00
Mauro Romito 7e54214ea3 design improvements! 2022-10-17 16:39:42 +02:00
David Langley b1651a330e Merge pull request #6897 from vector-im/langleyd/6896_focus_taps_inside_border
Fix tap area being too small on composer
2022-10-17 15:02:09 +01:00
Velin92 b85780949e Merge pull request #6895 from vector-im/mauroromito/wysiwyg_bottom_action_sheet_design_improvements
wysiwyg bottom action sheet design improvements
2022-10-17 15:43:19 +02:00
Alfonso Grillo 191861657e Filter out application section if needed 2022-10-17 15:38:54 +02:00
David Langley 2e6e909d47 Update Wysiwyg dep and use new focused param on WysiwygComposerView 2022-10-17 14:10:02 +01:00
Mauro Romito 1ba961aaa0 better padding 2022-10-17 13:47:33 +02:00
Mauro Romito 434f5e4ff5 Revert "ios 16 custom detent"
This reverts commit 758dacc00e77c57b787aae71405a1f90c03c3666.
2022-10-17 13:46:13 +02:00
Mauro Romito b24fd35f27 ios 16 custom detent 2022-10-17 12:35:47 +02:00
Mauro Romito 8ba61e6c1f the right corner radius value 2022-10-17 11:22:16 +02:00
Aleksandrs Proskurins 6238f75609 Merge pull request #6882 from vector-im/aleksandrs/6881_identify_inactive_sessions
Device manager: Identify inactive sessions.
2022-10-17 11:38:48 +03:00
Mauro Romito 64d5ddc1cd added the grabber and the corner radius 2022-10-14 18:50:43 +02:00
Mauro Romito a8173b9097 updated UI tests 2022-10-14 13:04:32 +02:00
Mauro Romito 663ae6f9cc 0.15 animation 2022-10-14 12:53:33 +02:00
Mauro Romito 9747a77cc4 opacity transition implemented 2022-10-14 12:49:13 +02:00
Velin92 991708f106 Merge pull request #6880 from vector-im/mauroromito/wysiwyg_custom_tint
WYSIWYG: Custom Tint + FIX blinking text when typing very fast in dark mode
2022-10-14 11:47:57 +02:00
Aleksandrs Proskurins 281f8b5804 Identify inactive sessions 2022-10-14 12:16:12 +03:00
Mauro Romito fa46f5d3bb custom tint + blinking dark theme text color issue fix 2022-10-14 10:45:24 +02:00
Aleksandrs Proskurins 0be57c5541 Merge pull request #6878 from vector-im/aleksandrs/6877_navigation_fix
Device Manager: Navigating to session overview goes to session details
2022-10-14 11:01:42 +03:00
David Langley 562cfaf6c1 Merge pull request #6875 from vector-im/langleyd/6873_accessibility_labels
WYSIWYG: Accessibility labels
2022-10-14 08:49:20 +01:00
Aleksandrs Proskurins 5d217e5ba3 Navigating to session overview goes to session details 2022-10-14 09:21:17 +03:00
Stefan Ceriu f5833fa8d6 Login against the homeserver provided through the QR code 2022-10-13 20:49:32 +03:00
Stefan Ceriu a17c9b72e7 Check login intents match between QR code and current flow 2022-10-13 20:49:32 +03:00
Stefan Ceriu c98e80269a Remove unnecessary private key requests as it already happens automatically when marking the existing device as verified 2022-10-13 20:49:32 +03:00
Stefan Ceriu 515d07e1f1 Fixed various SwiftFormat warnings 2022-10-13 20:49:32 +03:00
Stefan Ceriu 4f5c49f005 Added E2EE support on sessions created through QR code login 2022-10-13 20:49:32 +03:00