Commit graph

1357 commits

Author SHA1 Message Date
Mauro Romito
9398240c18 boilerplate setup completed 2022-12-07 19:22:33 +01:00
Mauro Romito
bb1155b9f1 creating the coordinator for the link action view 2022-12-07 18:17:28 +01:00
Hugh Nimmo-Smith
a6d31882eb Download device keys for self prior to verification checks 2022-12-07 15:39:35 +00:00
Alfonso Grillo
3a45ba4d01 Fix test 2022-12-05 19:43:29 +01:00
Alfonso Grillo
d7054511d4 Update copies 2022-12-05 17:20:20 +01:00
Phl-Pro
0a7ed2787b
Merge pull request #7131 from vector-im/phlpro/localize_authentication_errors
Add localization mechanism for authentication errors
2022-12-05 10:44:46 +01:00
Philippe Loriaux
bd09dcb763 Add the last sequence number in the paused/stopped state event 2022-12-02 16:26:34 +01:00
Philippe Loriaux
906ca97dee Remove useless dependency with avatar service 2022-12-01 16:36:24 +01:00
Philippe Loriaux
798c8135cc Prompt the user before ending a voice broadcast 2022-12-01 16:36:04 +01:00
Phl-Pro
1ee120cb85
Merge pull request #7125 from vector-im/phlpro/voicebroadcast_pause_playback_buffering
VoiceBroadcast: Be able to pause the playback when it is buffering
2022-12-01 08:36:38 +01:00
Philippe Loriaux
f80518065f Add localization for authentication errors 2022-11-30 15:51:05 +01:00
Philippe Loriaux
dfae570be4 Add guard for audio player instanciation 2022-11-30 15:14:32 +01:00
Mauro Romito
24b387c37d reversed unused hunk 2022-11-30 15:09:05 +01:00
Mauro Romito
0f1c810b58 toggle now uses iOS style 2022-11-30 14:34:21 +01:00
Mauro Romito
1b6cabf2a7 fix for iOS 15 fullscreen mode not working 2022-11-30 13:27:07 +01:00
Mauro Romito
a5dc378cd7 all the row is tappable and fixed an issue with the tests 2022-11-30 11:37:12 +01:00
Philippe Loriaux
330f8cd85e Refactor audio layer part in playback view model 2022-11-30 11:14:25 +01:00
Philippe Loriaux
3031f2fb49 Fix PR comments 2022-11-30 11:13:47 +01:00
Mauro Romito
e7b9b2e8d7 scrolling disabled, better intrinsic size, changed asset 2022-11-30 11:11:00 +01:00
Mauro Romito
84c9c7fa50 spacing improvement from bottom in plain text mode 2022-11-29 19:13:49 +01:00
Mauro Romito
ae603b2883 centring the toggle button when the corner radius is half 2022-11-29 18:52:19 +01:00
Philippe Loriaux
19a30cb567 Fix lost line break 2022-11-29 16:27:04 +01:00
Philippe Loriaux
5cd54d6858 Be able to pause the playback when it is buffering 2022-11-29 16:21:00 +01:00
Yoan Pintas
7e52aebac2
VoiceBroadcast: Fix chunk processing (#7113) 2022-11-29 13:34:44 +01:00
Alfonso Grillo
985d9a911c Debounce poll messages more 2022-11-29 07:14:43 +01:00
Philippe Loriaux
24f5fece19 Update from latest PR changes requests 2022-11-28 15:41:40 +01:00
Philippe Loriaux
c7318a46d6 Fix PR comments 2022-11-28 14:41:49 +01:00
Philippe Loriaux
6c00bff074 Fix build after automatic rebase from GH 2022-11-28 09:20:44 +01:00
Phl-Pro
52e90aa507
Merge branch 'develop' into phlpro/voicebroadcast-display-playback-duration 2022-11-28 09:12:03 +01:00
Yoan Pintas
17b45aa79b
Support voice broadcast live playback (#7094) 2022-11-25 20:59:34 +01:00
Philippe Loriaux
03f0769690 Add missing buffering state 2022-11-25 16:35:53 +01:00
Philippe Loriaux
6b620f779d Remove useless check condition 2022-11-25 15:22:58 +01:00
Philippe Loriaux
89050758ee Display the playback duration in the default state 2022-11-25 14:25:23 +01:00
Phl-Pro
11e39db7ab
Merge pull request #7103 from vector-im/phlpro/voicebroadcast_left_time
Add the left time in the Voice Broadcast tile recorder
2022-11-25 09:28:21 +01:00
yostyle
39e6b87576 Update live indicator 2022-11-25 08:56:28 +01:00
Giom Foret
ce459ba1e3 Fix the live icon must be displayed (in grey) if the record is paused - It is hidden currently 2022-11-25 08:56:28 +01:00
yostyle
2b3586188f Fix PR comments 2022-11-25 08:56:28 +01:00
Giom Foret
ca4f111b69 update comments 2022-11-25 08:56:28 +01:00
yostyle
3a366cbaba Support live playback 2022-11-25 08:56:28 +01:00
Alfonso Grillo
802cad1cff Refactor InfoSheet presentation 2022-11-23 16:00:59 +01:00
Mauro Romito
91ba86db33 fixing tests 2022-11-23 13:54:15 +01:00
Philippe Loriaux
61073ed257 Update on VoiceBroadcast currentRecordingState creation 2022-11-23 13:46:30 +01:00
Mauro Romito
23ee663dba better naming 2022-11-23 13:40:15 +01:00
Mauro Romito
9dc4b8df82 suggest PR changes 2022-11-23 13:35:05 +01:00
Philippe Loriaux
341b9bd6b8 Add Voice Broadcast left time countdown 2022-11-23 10:17:32 +01:00
Mauro Romito
aa8231cde1 fix to make the function run on RiotSwiftUI 2022-11-22 18:44:17 +01:00
Mauro Romito
54e5753a21 hide button and revert state when rotating on an iPhone, also fixed the positioning of the strikethrough and underline, and the maxCompressed size in landscape mode is always adapted to be visible. 2022-11-22 18:21:59 +01:00
Alfonso Grillo
89fc973dc0
Merge pull request #7083 from vector-im/alfogrillo/sessions_without_encryption_support
Sessions without encryption support (PSG-1003)
2022-11-18 11:48:27 +01:00
Alfonso Grillo
6b01a7236c Add VerificationState.isUnverified 2022-11-18 10:50:53 +01:00
Mauro Romito
18f6597a11 Merge branch 'develop' into mauroromito/7082_fix_scrollable_bottom_sheet 2022-11-16 17:30:14 +01:00
Mauro Romito
4e37034fba scrollable bottom sheet, with custom size on iOS 16 2022-11-16 17:23:32 +01:00
Alfonso Grillo
c413391fc1 Improve unit tests 2022-11-16 11:52:22 +01:00
Alfonso Grillo
501f06279e Add tests 2022-11-16 11:18:03 +01:00
Alfonso Grillo
a86a4c640c Add localisation for UserSessionCardViewData 2022-11-16 10:42:08 +01:00
Alfonso Grillo
3a2d55641c Fix verification state algorithm 2022-11-16 10:29:04 +01:00
Mauro Romito
7cf73c19e0 first type of fix 2022-11-15 15:27:43 +01:00
Mauro Romito
1e7013a44a Merge branch 'develop' into mauroromito/fullscreen_mode_2
# Conflicts:
#	Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	RiotSwiftUI/Modules/Room/Composer/View/Composer.swift
#	project.yml
2022-11-15 11:03:28 +01:00
Velin92
602cf76208
Merge pull request #7073 from vector-im/mauroromito/6945_voice_dictation
Rich Text Editor: Fixing Voice Dictation not working
2022-11-15 10:25:40 +01:00
Yoan Pintas
11bdddc8c0
Add voice broadcast slider (#7010) 2022-11-14 17:16:14 +01:00
Mauro Romito
94c9075985 voice dictation now works 2022-11-14 16:25:09 +01:00
Aleksandrs Proskurins
2630bbfe32
Merge pull request #7072 from vector-im/aleksandrs/7070_poll_no_usable
Poll not usable after logging out and back in
2022-11-14 15:32:52 +02:00
paleksandrs
d769f016be Removed init 2022-11-14 10:48:15 +02:00
paleksandrs
cb5014c39b Poll not usable after logging out and back in 2022-11-14 10:43:31 +02:00
Alfonso Grillo
01326dc10a
Merge pull request #7065 from vector-im/alfogrillo/increase_dm_code_coverage
Increase dm code coverage (PSG-925)
2022-11-11 18:46:02 +01:00
Mauro Romito
69239f927e fixing a bad indentation 2022-11-11 17:10:30 +01:00
Alfonso Grillo
f575c977b5 Fix accessibility id in UserOtherSessions 2022-11-11 16:18:27 +01:00
Mauro Romito
c3b50d3d6f improving animations 2022-11-11 10:24:14 +01:00
paleksandrs
f1135767a8 Fixup session list item is not tappable everywhere 2022-11-11 09:55:33 +02:00
paleksandrs
669ebe8e3f Revert "Device Manager: Session list item is not tappable everywhere"
This reverts commit e6367cba4c.
2022-11-11 09:29:55 +02:00
Mauro Romito
75d1e1a0ae swipe animation improvements 2022-11-10 18:13:22 +01:00
Mauro Romito
c958418cac this works but we need to expose also the maxCompressed height and the minHeight 2022-11-10 15:41:36 +01:00
Mauro Romito
688b2a74d7 Merge branch 'develop' into mauroromito/fullscreen_mode_2
# Conflicts:
#	RiotSwiftUI/Modules/Room/Composer/View/Composer.swift
2022-11-10 14:29:08 +01:00
Mauro Romito
bee78eed7c keyboard dismissal issue fixed 2022-11-10 13:46:41 +01:00
Alfonso Grillo
92fc0e5146 Cleanup unused code 2022-11-10 12:12:32 +01:00
Alfonso Grillo
f7f9204818 Fix typo 2022-11-10 11:29:36 +01:00
Alfonso Grillo
6ccbd9abe9 Test empty state for UserOtherSessions 2022-11-10 11:16:02 +01:00
Alfonso Grillo
070404a4f4 Improve UserSessionNameViewModelTests 2022-11-10 10:57:14 +01:00
Alfonso Grillo
1e7e70868e Cleanup tests 2022-11-10 10:35:10 +01:00
Alfonso Grillo
48740ba2ec Improve UserSessionNameUITests 2022-11-10 10:31:32 +01:00
Alfonso Grillo
7ec2644dfe Add UserSessionDetailsUITests 2022-11-10 10:31:32 +01:00
Alfonso Grillo
47310b1a73 Move Move UserAgentParserTests 2022-11-10 10:31:32 +01:00
aringenbach
3329bae7bf
Merge pull request #7062 from vector-im/aringenbach/7061_enable_markdown
Rich-text editor: enable translations between Markdown and HTML when toggling text formatting
2022-11-10 10:25:43 +01:00
aringenbach
c7824e28ad
Merge pull request #7055 from vector-im/aringenbach/7054_fix_lost_content_text_formatting_switch
Labs: Rich-text editor - Fix text formatting switch losing the current content of the composer
2022-11-10 10:25:26 +01:00
aringenbach
bfd573553c
Merge pull request #7060 from vector-im/aringenbach/fix_composer_view_model_tests
Fix composer view model tests
2022-11-10 10:16:36 +01:00
Alfonso Grillo
5b334906d2
Merge pull request #6992 from vector-im/alfogrillo/learn_more_sheet
Add informational sheet for sessions (PSG-714)
2022-11-09 17:49:15 +01:00
Mauro Romito
2bd7232a3f improved the pan animation to be as the designs 2022-11-09 17:07:05 +01:00
aringenbach
b76edecb65 Rich-text editor: enable translations between Markdown and HTML when toggling text formatting 2022-11-09 16:43:58 +01:00
aringenbach
487724df6f Fix composer view model tests 2022-11-09 15:23:43 +01:00
Alfonso Grillo
794a071ac0 Add intrinsic sized bottom sheet 2022-11-09 12:05:47 +01:00
aringenbach
46c3dc4417 Re-order View computed properties and move to private mark 2022-11-09 11:49:03 +01:00
aringenbach
41b23e1c85 Labs: Rich-text editor - Fix text formatting switch losing the current content of the composer 2022-11-09 11:41:42 +01:00
aringenbach
f611351e70 Rich-text editor: Fix text formatting enabled inconsistent state 2022-11-09 10:26:48 +01:00
Alfonso Grillo
ab00c7e400 Refine bottom sheet layout 2022-11-08 18:04:42 +01:00
Alfonso Grillo
d5c3bd2e48 Merge branch 'develop' into alfogrillo/learn_more_sheet 2022-11-08 17:04:20 +01:00
Mauro Romito
0e00b30f8d full screen improvements 2022-11-08 16:50:44 +01:00
aringenbach
37355b0976 Merge branch 'develop' into resilience-rc
# Conflicts:
#	Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	RiotSwiftUI/Modules/Room/Composer/View/Composer.swift
#	project.yml
2022-11-07 15:05:25 +01:00
Aleksandrs Proskurins
475e887463
Merge pull request #7023 from vector-im/aleksandrs/7022_hide_push
Hide push toggles for http pushers when there is no server support
2022-11-07 15:24:25 +02:00
paleksandrs
e6367cba4c Device Manager: Session list item is not tappable everywhere 2022-11-04 15:50:37 +02:00
Alfonso Grillo
5b7343853b Amend title font 2022-11-04 11:06:01 +01:00
Alfonso Grillo
455118d22b Merge branch 'develop' into alfogrillo/learn_more_sheet
# Conflicts:
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/UserOtherSessionsModels.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/UserOtherSessionsViewModel.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/UserSessionOverviewModels.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/UserSessionOverviewViewModel.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/View/UserSessionOverview.swift
2022-11-03 18:25:06 +01:00
Alfonso Grillo
09e9f3e176 Merge branch 'develop' into alfogrillo/learn_more_sheet 2022-11-03 17:29:01 +01:00
Alfonso Grillo
3678a522db Fix failing test 2022-11-03 15:30:13 +01:00
Alfonso Grillo
4a98acda3c Add animations 2022-11-03 14:55:33 +01:00
Alfonso Grillo
164e1d103d Cleanup merge leftovers 2022-11-03 14:50:46 +01:00
Alfonso Grillo
110dfbc2ba Fix UTs 2022-11-03 14:47:09 +01:00
Alfonso Grillo
5e143ed0ef Inject setting service in UserSessionOverviewViewModel 2022-11-03 14:47:09 +01:00
Alfonso Grillo
765a3590a2 Add settings service in UserOtherSessionsViewModel 2022-11-03 14:47:09 +01:00
Alfonso Grillo
18e9783a64 Mock settings in UserSessionsOverviewViewModel 2022-11-03 14:47:09 +01:00
Alfonso Grillo
1221b0f874 Refine settings logic 2022-11-03 14:47:08 +01:00
Alfonso Grillo
c7ee0b2deb Add location info in UserOtherSessions 2022-11-03 14:47:08 +01:00
Alfonso Grillo
01b6b12752 Add show/hide ip persistency 2022-11-03 14:47:08 +01:00
Alfonso Grillo
70a03ec0cd Cleanup 2022-11-03 14:47:08 +01:00
Alfonso Grillo
fec6c33bef Cleanup code 2022-11-03 14:47:08 +01:00
Alfonso Grillo
7934403d92 Cleanup merge leftovers 2022-11-03 14:47:08 +01:00
Alfonso Grillo
1c5ff99d2c Add “show location“ feature in session overview 2022-11-03 14:46:19 +01:00
Alfonso Grillo
bae2856418 Add “show location” feature in other sessions list 2022-11-03 14:46:19 +01:00
Alfonso Grillo
cd5ce7ea72 Add location feature in UserSessionsOverview 2022-11-03 14:46:19 +01:00
Alfonso Grillo
aa9a4cd752 Map location info 2022-11-03 14:46:19 +01:00
Aleksandrs Proskurins
848a6db0ec
Merge pull request #7015 from vector-im/aleksandrs/7014_sign_out_of_other_sessions
Device Manager: Sign out of other sessions.
2022-11-03 14:32:11 +02:00
paleksandrs
4639782521 Code review fixes 2022-11-03 13:38:23 +02:00
paleksandrs
0bc0011ebe Code review fixes, created DestructiveButton 2022-11-03 10:49:02 +02:00
Alfonso Grillo
d0056edd7a Cleanup 2022-11-03 09:40:00 +01:00
Alfonso Grillo
24ed60c2e8 Merge branch 'develop' into alfogrillo/learn_more_sheet
# Conflicts:
#	RiotSwiftUI/Modules/UserSessions/Coordinator/UserSessionsFlowCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/Coordinator/UserOtherSessionsCoordinator.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/Test/UI/UserOtherSessionsUITests.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/UserOtherSessionsModels.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/UserOtherSessionsViewModel.swift
#	RiotSwiftUI/Modules/UserSessions/UserOtherSessions/View/UserOtherSessions.swift
#	RiotSwiftUI/Modules/UserSessions/UserSessionOverview/Test/UI/UserSessionOverviewUITests.swift
2022-11-03 09:22:47 +01:00
Velin92
70ae9d6e03
Merge pull request #7027 from vector-im/mauroromito/6946_custom_emojis
Labs: Rich text-editor fix for "does not support inserting custom iOS emojis"
2022-11-02 17:31:19 +01:00
Mauro Romito
d42828d741 fix for 6946 2022-11-02 16:45:40 +01:00
aringenbach
514ec10450 Synchronise composer and toolbar resizing animation duration 2022-11-02 16:40:57 +01:00
paleksandrs
bf7deaf582 Merge branch 'develop' into aleksandrs/7014_sign_out_of_other_sessions 2022-11-02 15:07:17 +02:00
Aleksandrs Proskurins
b99a33b42c
Merge pull request #6998 from vector-im/aleksandrs/6963_multi_session_logout
Device Manager: Multi session sign out.
2022-11-02 15:05:34 +02:00
paleksandrs
96f5f862e2 Code review fixes 2022-11-02 14:09:26 +02:00
Velin92
c7f23f8a40
Merge pull request #7007 from vector-im/mauroromito/7005_fix_missing_keystrokes
Rich Text Composer: Fixing missing keystrokes + fixing long press backspace not deleting all the text
2022-11-02 13:03:12 +01:00
paleksandrs
484cab4451 Merge branch 'develop' into aleksandrs/6963_multi_session_logout 2022-11-02 14:02:52 +02:00
paleksandrs
0ed9f9b91f Hide push toggles for http pushers when there is no server support 2022-11-02 13:36:58 +02:00
Mauro Romito
f1c784eed8 test may fail on CI 2022-11-02 11:58:55 +01:00
Mauro Romito
f63090da03 test improvement 2022-11-02 11:58:19 +01:00
Mauro Romito
bfcf5206f0 tests may fail on CI 2022-11-02 11:57:16 +01:00
Alfonso Grillo
171a8ddebd
Merge pull request #7001 from vector-im/alfogrillo/improve_kebab_menu
Improve kebab menu in session overview (PSG-832)
2022-11-02 11:35:36 +01:00
Mauro Romito
85a4dbdc85 the test may fail on CI without blocking the task/check 2022-11-02 11:23:19 +01:00
Aleksandrs Proskurins
fee2d06f79
Update RiotSwiftUI/Modules/UserSessions/UserOtherSessions/Test/UI/UserOtherSessionsUITests.swift
Co-authored-by: aringenbach <80891108+aringenbach@users.noreply.github.com>
2022-11-02 11:43:03 +02:00
Aleksandrs Proskurins
5b99d7f339
Update RiotSwiftUI/Modules/UserSessions/UserOtherSessions/Test/UI/UserOtherSessionsUITests.swift
Co-authored-by: aringenbach <80891108+aringenbach@users.noreply.github.com>
2022-11-02 11:42:55 +02:00
Anderas
5450a68576
Merge pull request #6985 from vector-im/andy/complete_crypto
Complete MXCryptoV2 implementation
2022-10-31 17:56:05 +00:00
paleksandrs
f8a9107c2b Sign out of all other sessions 2022-10-31 17:21:53 +02:00
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
manuroe
b8bc97a15e Removed VoiceBroadcastProtocol
We do not need to abstract it
2022-10-20 01:45:57 +02:00
manuroe
9bfd655a5b 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
6e828b55d4 Check user id to prevent fake ckunk 2022-10-20 01:45:57 +02:00
yostyle
68adfe32f2 Add chunks in TimelineVoiceBroadcastDetails 2022-10-20 01:45:57 +02:00
yostyle
73fa0f22b6 Add some comments 2022-10-20 01:45:57 +02:00
yostyle
99b50d2c2a Init voice broadcast playing service 2022-10-20 01:45:57 +02:00
Giom Foret
080acb3628 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
manuroe
e92bb7926e VB: Support multi chunks playback 2022-10-19 23:09:48 +02:00
manuroe
85f2076be8 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-19 17:28:08 +02:00
Mauro Romito
656510946a added a simple test 2022-10-19 16:40:07 +02:00
Aleksandrs Proskurins
ae48d6ffb0 Session selection state 2022-10-19 17:02:48 +03:00
manuroe
261f477127 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-19 15:32:03 +02:00
Mauro Romito
0f6d6f1cf5 added placeholder to the viewModel 2022-10-19 15:08:12 +02:00
manuroe
4757cf5a67 VB: Improve playback states 2022-10-19 15:01:43 +02:00
Aleksandrs Proskurins
4d85d2a97d Edit mode 2022-10-19 15:43:43 +03:00
manuroe
c90b0459ab VB: Playback starts to work but only the first chunk if it is ogg 2022-10-19 14:23:09 +02:00
manuroe
1c048b5901 VB: Move view logic to the view model 2022-10-19 13:00:35 +02:00
manuroe
0dcc39037c Renamed back to VoiceBroadcastPlaybackCoordinator
The logic will be moved to the view model. This file will just serve the SwiftUI view
2022-10-19 10:20:38 +02:00
manuroe
c96485a46f Rename some existing voice broadcast files to VoiceBroadcastPlayback
Record will happen in separate files
2022-10-19 10:13:07 +02:00
manuroe
4efcd62519 Simplify TimelineVoiceBroadcastDetails struct 2022-10-19 09:42:00 +02:00
manuroe
1c4c3033a0 Removed VoiceBroadcastProtocol
We do not need to abstract it
2022-10-19 09:38:36 +02:00
manuroe
195c6b2e3a 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-19 09:34:58 +02:00
yostyle
318f40817e Check user id to prevent fake ckunk 2022-10-19 09:09:57 +02:00
yostyle
fc7d37a273 Add chunks in TimelineVoiceBroadcastDetails 2022-10-18 23:36:21 +02:00
yostyle
fb41abbcb0 Add some comments 2022-10-18 17:32:40 +02:00
yostyle
7d94e98140 Init voice broadcast playing service 2022-10-18 16:36:02 +02:00
Stefan Ceriu
a7931e8406 Check and mark the received MSK as trusted before locally verifying the existing device 2022-10-18 12:15:47 +03:00
Stefan Ceriu
b240cfb5e3 Fix incorrect Task creation for processing scanned qr codes 2022-10-18 12:13:14 +03:00
Hugh Nimmo-Smith
e6d61c826b Use unstable prefixes for QR code login 2022-10-18 09:13:21 +03:00
Velin92
0f631aa123
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
8e7a08b2e6
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
9338790e63 spacing improved further 2022-10-17 19:25:17 +02:00
Yoan Pintas
c8ceb52287
[Voice Broadcast] Aggregate the chunks of voice messages in room timeline (#6891) 2022-10-17 18:23:47 +02:00
Mauro Romito
a3a7c5b1d6 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
453456d89a updated the swiftpm 2022-10-17 18:11:19 +02:00
Mauro Romito
379e9ee9b3 designs are perfect now 2022-10-17 17:03:43 +02:00
Mauro Romito
06d54913d6 design improvements! 2022-10-17 16:39:42 +02:00
David Langley
5f6baa73e2
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
3000112ae2
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
72ea4c6f33 Filter out application section if needed 2022-10-17 15:38:54 +02:00
David Langley
01cd42a701 Update Wysiwyg dep and use new focused param on WysiwygComposerView 2022-10-17 14:10:02 +01:00
Mauro Romito
d59a6ecf54 better padding 2022-10-17 13:47:33 +02:00
Mauro Romito
36f3584ffc Revert "ios 16 custom detent"
This reverts commit 758dacc00e.
2022-10-17 13:46:13 +02:00
Mauro Romito
758dacc00e ios 16 custom detent 2022-10-17 12:35:47 +02:00
Mauro Romito
d3f106b899 the right corner radius value 2022-10-17 11:22:16 +02:00
Aleksandrs Proskurins
bd9d6cf691
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
d5d3ad1c34 added the grabber and the corner radius 2022-10-14 18:50:43 +02:00
Doug
5e69f76349 Update tools.
• Un-pin versions to update tools on each release.
• Switch to SwiftFormat as a pod.
2022-10-14 14:15:23 +01:00
Mauro Romito
34404156bb updated UI tests 2022-10-14 13:04:32 +02:00
Mauro Romito
295bf5c420 0.15 animation 2022-10-14 12:53:33 +02:00
Mauro Romito
44297dd89d opacity transition implemented 2022-10-14 12:49:13 +02:00
Velin92
928b5f3592
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
fb7a3683fc Identify inactive sessions 2022-10-14 12:16:12 +03:00
Mauro Romito
91c9c78b97 custom tint + blinking dark theme text color issue fix 2022-10-14 10:45:24 +02:00
Aleksandrs Proskurins
b4af93c22b
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
597f0950a6
Merge pull request #6875 from vector-im/langleyd/6873_accessibility_labels
WYSIWYG: Accessibility labels
2022-10-14 08:49:20 +01:00
Aleksandrs Proskurins
10862996f9 Navigating to session overview goes to session details 2022-10-14 09:21:17 +03:00
Stefan Ceriu
83c9e617ae Login against the homeserver provided through the QR code 2022-10-13 20:49:32 +03:00
Stefan Ceriu
36e4d3be2e Check login intents match between QR code and current flow 2022-10-13 20:49:32 +03:00