Commit graph

1016 commits

Author SHA1 Message Date
paleksandrs
4e79da8f5f Renamed sign out to logout 2022-10-31 14:44:03 +02:00
paleksandrs
dc5652217e Renamed sign out to logout 2022-10-31 14:36:14 +02:00
paleksandrs
1b559eea74 Renamed sign out to logout 2022-10-31 14:26:22 +02:00
Giom Foret
67453cb0cb Voice broadcast - Disable the sleep mode during the recording until we are able to handle it
Currently go to "sleep mode" pauses the voice broadcast recording
2022-10-31 11:42:51 +01:00
paleksandrs
c02f144314 Merge branch 'develop' into aleksandrs/6963_multi_session_logout 2022-10-31 11:30:12 +02:00
Mauro Romito
b0adf3c496 removing a test that can't pass on the CI due to its speed 2022-10-28 19:27:25 +02:00
Mauro Romito
26cfa3493b test improvements 2022-10-28 17:42:36 +02:00
Mauro Romito
8a93711581 tests updated for the CI 2022-10-28 17:41:38 +02:00
Mauro Romito
1c92373e75 improving tests for the CI 2022-10-28 17:08:30 +02:00
Alfonso Grillo
3b8e8d12a7 Cleanup UI tests 2022-10-28 17:00:30 +02:00
Alfonso Grillo
9b8f158941 Fix memory leak 2022-10-28 16:44:34 +02:00
Mauro Romito
91e80597b5 simplify the test to make it pass on the CI 2022-10-28 16:30:20 +02:00
Alfonso Grillo
ebd30b1304 Add InfoSheet SwiftUI preview 2022-10-28 16:29:49 +02:00
Aleksandrs Proskurins
f1a6abbda0 Refresh fix 2022-10-28 17:26:22 +03:00
Aleksandrs Proskurins
09338d86a0 UI and unit tests 2022-10-28 17:25:56 +03:00
Alfonso Grillo
6d7c53da03 Show rename sheet 2022-10-28 16:17:19 +02:00
Alfonso Grillo
7ab8038ac4 Delete bottom sheet modifier 2022-10-28 15:56:19 +02:00
Alfonso Grillo
acd58d7500 Show bottom sheet in rename session screen 2022-10-28 15:55:46 +02:00
Alfonso Grillo
6cb07dd309 Show bottom sheet in other sessions screen 2022-10-28 15:50:35 +02:00
Mauro Romito
6cf2d84025 test improvements for slow ci 2022-10-28 15:44:05 +02:00
Mauro Romito
aa4f20bf65 removing comment 2022-10-28 15:37:40 +02:00
Mauro Romito
5ab8121972 improving UI tests for slow CI 2022-10-28 15:36:07 +02:00
Alfonso Grillo
93c24dd11d Add MVVM-C for InfoSheet 2022-10-28 15:14:42 +02:00
Giom Foret
e8c8323655 Bug Fix : Crash if the room has avatar and voice broadcast tiles 2022-10-28 14:54:50 +02:00
Mauro Romito
f59172dfff updated package + tests 2022-10-28 14:15:18 +02:00
giomfo
58042e7562
Voice Broadcast - BugFix - send the last chunk (#7002)
* Voice Broadcast - BugFix - send the last chunk with the right sequence number

- we reset now and teardown the service only after the last chunk is sent
2022-10-28 12:46:08 +02:00
Alfonso Grillo
a9a7b112d1 Add .viewSessionInfo view action 2022-10-28 12:06:56 +02:00
Alfonso Grillo
7cd944e8ff Hide keyboard in UserSessionName 2022-10-28 11:38:09 +02:00
Alfonso Grillo
8c041fa273 Fix failing UTs 2022-10-28 11:38:09 +02:00
Alfonso Grillo
ca446d3e5a Improve InlineTextButton API 2022-10-28 11:38:09 +02:00
Alfonso Grillo
8948f00c58 Improve UserOtherSessionsUITests 2022-10-28 11:38:09 +02:00
Alfonso Grillo
e2f4fdeb67 Add UI tests 2022-10-28 11:38:09 +02:00
Alfonso Grillo
f73a187dfb Refine InfoView 2022-10-28 11:38:09 +02:00
Alfonso Grillo
a6b35c7ead Add iOS 15- fallback 2022-10-28 11:38:09 +02:00
Alfonso Grillo
8fec660f7e Refine UX 2022-10-28 11:38:09 +02:00
Alfonso Grillo
5504a160d2 Show rename info alert 2022-10-28 11:38:09 +02:00
Alfonso Grillo
55ab2ab14f Show bottom sheet in user other sessions 2022-10-28 11:38:09 +02:00
Alfonso Grillo
8ababcf52e Add “learn more” button in UserOtherSessions 2022-10-28 11:38:09 +02:00
Alfonso Grillo
c6342a3ea2 Improve UserSessionCardView 2022-10-28 11:38:09 +02:00
Alfonso Grillo
57717ac6c3 Fix bug in InlineTextButton 2022-10-28 11:38:09 +02:00
Alfonso Grillo
0210dccdc6 Add inactive sessions copy 2022-10-28 11:38:09 +02:00
Alfonso Grillo
a28de2b8b8 Localise content 2022-10-28 11:38:09 +02:00
Alfonso Grillo
6058149d93 Add bottom sheet modifier 2022-10-28 11:38:09 +02:00
Alfonso Grillo
87d642d689 Style info view 2022-10-28 11:38:09 +02:00
Alfonso Grillo
ce61fc127f Add UserSessionOverviewViewBindings 2022-10-28 11:38:09 +02:00
Alfonso Grillo
503db0ad43 Add InfoView skeleton 2022-10-28 11:38:09 +02:00
Alfonso Grillo
f2e5506a97 Add empty onLearnMoreAction closure 2022-10-28 11:38:09 +02:00
Aleksandrs Proskurins
0fec3325f8 Fixed unit tests 2022-10-28 10:59:00 +03:00
Aleksandrs Proskurins
f4f988d503 Padding fix 2022-10-28 10:46:19 +03:00
Aleksandrs Proskurins
ea107bdf8a PSG-976 Exclude current session from security recommendations and other sessions 2022-10-28 10:14:19 +03:00
Alfonso Grillo
99bfa3394f Add UI tests 2022-10-27 17:29:29 +02:00
Alfonso Grillo
bea790a6d3 Improve kebab menu in UserSessionOverview 2022-10-27 17:29:29 +02:00
Yoan Pintas
3d855db758
Avoid simultaneous state changes (#6986) 2022-10-27 17:15:18 +02:00
Aleksandrs Proskurins
ddac7d0151 Sing out filtering 2022-10-27 17:35:39 +03:00
Aleksandrs Proskurins
86bddebe8d Removed warnings 2022-10-27 16:00:58 +03:00
Aleksandrs Proskurins
2c5446df88 Separator fix 2022-10-27 15:57:10 +03:00
Stefan Ceriu
ee43a271b7 Fixes #6988 - Prevent actor switching when tearing down the rendezvous 2022-10-27 15:10:35 +03:00
Stefan Ceriu
10bfa581b4 Fixes #6987 - Prevent ZXing from unnecessarily requesting camera access 2022-10-27 15:10:35 +03:00
Stefan Ceriu
6c1cf5a7e2 Switch the CI to code 14 and the iOS 14 simulator, fix UI tests 2022-10-27 11:41:32 +03:00
Aleksandrs Proskurins
d2cde943de Multi session logut 2022-10-27 10:04:42 +03:00
Andy Uhnak
ba175027e3 Complete MXCryptoV2 implementation 2022-10-26 17:00:43 +01:00
Mauro Romito
19939ae420 fixed a test 2022-10-26 17:35:59 +02:00
Mauro Romito
8044724f82 Merge branch 'resilience-rc' into mauroromito/6954_wysiwyg_max_min_toggle 2022-10-26 17:19:19 +02:00
manuroe
601cb1a56e
Merge branch 'develop' into resilience-rc 2022-10-26 17:13:56 +02:00
Mauro Romito
26caa7ed48 removed RiotSettings a non RiotSwiftUI reference from the ViewState code 2022-10-26 17:09:26 +02:00
aringenbach
9b1c3bd53e Enable WYSIWYG plain text support 2022-10-26 16:20:45 +02:00
Mauro Romito
b998dfe051 Merge branch 'resilience-rc' into mauroromito/6954_wysiwyg_max_min_toggle 2022-10-26 15:51:02 +02:00
Aleksandrs Proskurins
1a6486a41c Sing out bottom bar 2022-10-26 16:07:01 +03:00
Anderas
065e74b94d
Merge pull request #6974 from vector-im/andy/crypto_methods
Curate MXCrypto protocol methods
2022-10-26 09:56:34 +01:00
Yoan Pintas
b26fdd974e
Add voice broadcast initial state in bubble data (#6972)
- Add voice broadcast initial state in bubble data
- Remove the local record after sending
2022-10-26 08:51:41 +02:00
Andy Uhnak
4210821ab7 Curate MXCrypto protocol methods 2022-10-25 18:11:13 +01:00
Velin92
0a6f5395c2
Merge pull request #6971 from vector-im/mauroromito/6954_wysiwyg_max_min_toggle
Rich Text Composer - Maximise/Minimise toggle
2022-10-25 19:04:12 +02:00
Yoan Pintas
745429089a
Avoid unnecessary send state request (#6970) 2022-10-25 16:51:03 +02:00
Mauro Romito
2fcceaa8fc removed unused code 2022-10-25 16:47:48 +02:00
Mauro Romito
672bc39951 fix 2022-10-25 16:44:27 +02:00
Mauro Romito
8d89b662a6 tests and identifier improvements 2022-10-25 16:32:21 +02:00
Mauro Romito
be08438b63 speeding the animation a bit 2022-10-25 16:24:56 +02:00
Yoan Pintas
b97e10cb66
Update voice broadcast tiles UI (#6965) 2022-10-25 15:58:06 +02:00
Mauro Romito
40942b119f minor adjustments 2022-10-25 11:22:16 +02:00
Giom Foret
12fc751980 Voice Broadcast - Fix the chunk sequence number index
Bug: The first chunk index was 2 instead of 1
2022-10-25 09:56:02 +02:00
Aleksandrs Proskurins
af0a868d7a Merge branch 'develop' into aleksandrs/6963_multi_session_logout 2022-10-25 10:43:34 +03:00
Aleksandrs Proskurins
3cb257751c
Merge pull request #6953 from vector-im/aleksandrs/6928_multi_session_selection
Device Manager: Multi-session selection
2022-10-25 10:39:48 +03:00
Aleksandrs Proskurins
9d89906a86 Code review fixes 2022-10-25 09:17:58 +03:00
Aleksandrs Proskurins
bfbcc3c066 Sign out menu button 2022-10-25 08:41:05 +03:00
Mauro Romito
254dfb64ed improving anim, however it only works with swiftui build 2022-10-24 17:17:55 +02:00
Aleksandrs Proskurins
d08b715c38 More UI tests 2022-10-24 12:15:43 +03:00
Mauro Romito
63fbbcefda animation 2022-10-21 18:18:21 +02:00
Mauro Romito
a5b128c31e reimplemented but the animation and the spacing needs some fixing 2022-10-21 15:51:51 +02:00
Velin92
8e1bf4f681
Merge pull request #6952 from vector-im/mauroromito/6941_wysiwyg_voice_message_support
Rich Text Composer - Voice Message Support
2022-10-21 14:38:13 +02:00
Mauro Romito
75855b21c2 should fix the CI UI tests failing 2022-10-21 13:35:10 +02:00
Aleksandrs Proskurins
bff4eeaaf3 Merge branch 'develop' into aleksandrs/6928_multi_session_selection 2022-10-21 14:21:59 +03:00
Aleksandrs Proskurins
45f26dfca6 Unit tests 2022-10-21 14:21:06 +03:00
Mauro Romito
182f2b9a1d fix for tests 2022-10-21 11:26:53 +02:00
Aleksandrs Proskurins
d5a3af2d8a Select All 2022-10-21 11:49:33 +03:00
Mauro Romito
4c0821dc20 voice message support added to the rich text composer 2022-10-21 10:33:23 +02:00
manuroe
b9ebb7dded VB: Move VoiceBroadcastRecorderService into a MatrixSDK
to make pure SwiftUI projects build
2022-10-20 20:10:41 +02:00
Philippe Loriaux
2fa1ebef25 Enhance chunk sending mecanism in recorder service 2022-10-20 20:02:39 +02:00
Philippe Loriaux
e7216538a5 Clean code 2022-10-20 19:53:47 +02:00
Mauro Romito
4f495c4f9c voice messages implemented 2022-10-20 19:41:02 +02:00
Philippe Loriaux
48fe6c4565 Remove useless imports 2022-10-20 19:39:51 +02:00
Philippe Loriaux
766579340d Update record UI to be in sync with other platforms 2022-10-20 19:39:51 +02:00
Philippe Loriaux
e3d46f9ac3 Fix API change for VectorHostingController 2022-10-20 19:39:51 +02:00
Philippe Loriaux
91268af136 Add missing update state after switching to resumed state 2022-10-20 19:39:51 +02:00
Philippe Loriaux
36c0a83542 Set voice broadcast recording to pause when the app goes in background and when the RVC will disappear 2022-10-20 19:39:51 +02:00
Philippe Loriaux
75f195f319 Fix a potential crash when trying to send a nil chunk file (in case of stop immediately after pause) 2022-10-20 19:39:51 +02:00
Philippe Loriaux
9686d843c0 Remove useless log in VoiceBroadcastRecorderService 2022-10-20 19:39:51 +02:00
Philippe Loriaux
e67323212e Add AAC to M4A converter and now convert chunks before sending them 2022-10-20 19:39:51 +02:00
Philippe Loriaux
8a6ed94705 Update sequence number associated to chunk file sending 2022-10-20 19:39:51 +02:00
Philippe Loriaux
0cf3528276 Update first chunk number 2022-10-20 19:39:50 +02:00
Philippe Loriaux
f30c4b53e9 Update recording state after stopping voice broadcast on every cases 2022-10-20 19:39:50 +02:00
Philippe Loriaux
b2aa401804 Send the last chunk file after stopping or pausing a record 2022-10-20 19:39:50 +02:00
Philippe Loriaux
eedfc637e9 Fix UI status at record startup and depending on the recording status 2022-10-20 19:39:50 +02:00
Philippe Loriaux
62b4e822ff Fix recorder service for audio node after stopping a record 2022-10-20 19:39:50 +02:00
Philippe Loriaux
48f340b509 Update recorder service 2022-10-20 19:39:50 +02:00
Philippe Loriaux
75f9e9ad32 Add sequence value when sending chunk files 2022-10-20 19:39:50 +02:00
Philippe Loriaux
838b180a2d Update recorder view and content 2022-10-20 19:39:50 +02:00
Philippe Loriaux
d2fd2269fc Fix missing parts on Voice broadcast recorder service 2022-10-20 19:39:50 +02:00
Philippe Loriaux
95abf4bbed First part of the voice broadcast recording feature 2022-10-20 19:39:50 +02:00
Mauro Romito
5719ca27e5 the voice message toolbar now appears 2022-10-20 19:18:50 +02:00
manuroe
0738b75e22 VB: Moved the VM temporary under a MatrixSDK
to avoid to use it on the SwiftUI build
2022-10-20 18:58:16 +02:00
yostyle
3908d62fe0 Update UI 2022-10-20 18:48:20 +02:00
manuroe
590228c834 VB: Hack to make the project build for SwiftUI tests
We need to rework the view model to remove its dependency on MatrixSDK
2022-10-20 18:33:04 +02:00
manuroe
efc9ed1fdf Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-20 17:51:46 +02:00
yostyle
a367d40e92 Fixes after rebase from develop 2022-10-20 17:51:02 +02:00
yostyle
7c0ea5adc4 Merge branch 'develop' into yostyle/voice_broadcast_playing 2022-10-20 17:45:41 +02:00
manuroe
c8a1358170 VB: Fix playLive after pause 2022-10-20 17:24:46 +02:00
yostyle
b1cde5f719 Display live voice broadcast 2022-10-20 16:48:20 +02:00
manuroe
0690f9ac65 VB: Remove a done TODO 2022-10-20 16:10:29 +02:00
ismailgulek
a30cc92e24
Fix infinite layout loops on timeline (#6942)
* Remove `forceZeroSageAreaInsets` from `VectorHostingController`

* Fix layout issues when adding hosting views into the content view

* Use the new api when adding views into the content

* Add changelog
2022-10-20 15:55:07 +03:00
Aleksandrs Proskurins
dcbf750f78 UI fixes 2022-10-20 15:35:46 +03:00
manuroe
caea678d74 VB: Own code review 2022-10-20 13:39:27 +02:00
manuroe
b4f6f74d5e VB: Support live playback
from the beginning or with go live
2022-10-20 12:25:40 +02:00
manuroe
83eff0e9ad VB: Started live playback 2022-10-20 11:33:17 +02:00
Aleksandrs Proskurins
8a3ce2d7e1 Removed sections 2022-10-20 12:07:55 +03:00
manuroe
93611e1e8b VB: Introduce VoiceBroadcastState for the UI 2022-10-20 10:37:35 +02:00
Velin92
00cf240388
Merge pull request #6938 from vector-im/mauroromito/6935_wysiwyg_placeholder
Rich Text Composer Placeholder Text
2022-10-20 10:04:33 +02:00
manuroe
4990653de3 Merge remote-tracking branch 'origin/yostyle/voice_broadcast_playing' into yostyle/voice_broadcast_playing 2022-10-20 09:48:50 +02:00
manuroe
43b2e489b3 VB: Manage playback completion properly
Make VoiceManager audioPlayerDidFinishPlaying called when the last item of the playlist has been played
2022-10-20 09:38:14 +02:00
yostyle
832505fafa Remove matrixsdk import 2022-10-20 09:18:32 +02:00
yostyle
43b7c30737 Add voice broadcast error view 2022-10-20 02:36:27 +02:00
yostyle
04de23fce7 Fixes after rebase on develop
Update voice broadcast playback UI
2022-10-20 02:01:01 +02:00
manuroe
565a28fb82 VB: Support multi chunks playback 2022-10-20 01:45:57 +02:00
manuroe
b6b5168089 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
f482d1a832 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
e202561734 VB: Improve playback states 2022-10-20 01:45:57 +02:00
manuroe
d04c2ea704 VB: Playback starts to work but only the first chunk if it is ogg 2022-10-20 01:45:57 +02:00
manuroe
7ae507fc09 VB: Move view logic to the view model 2022-10-20 01:45:57 +02:00
manuroe
2e35895576 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
2f09856fc3 Rename some existing voice broadcast files to VoiceBroadcastPlayback
Record will happen in separate files
2022-10-20 01:45:57 +02:00
manuroe
3d26a113c3 Simplify TimelineVoiceBroadcastDetails struct 2022-10-20 01:45:57 +02:00