Commit graph

1178 commits

Author SHA1 Message Date
Philippe Loriaux
4e60ddee39 Replace the player timeline 2022-12-14 17:36:46 +01:00
Phl-Pro
34159cb63a
Merge pull request #7146 from vector-im/phlpro/voice_broadcast_backward_forward
VoiceBroadcast: Add backward and forward buttons for playback
2022-12-14 17:34:49 +01:00
Mauro Romito
7e23acd37c inline code added 2022-12-14 17:12:06 +01:00
Velin92
a484c283cb
Merge pull request #7158 from vector-im/mauroromito/rich_text_editor_links
Rich Text Editor: Adding/Editing Links feature
2022-12-14 13:31:15 +01:00
Mauro Romito
501eb8d1ed tests completed 2022-12-13 18:12:47 +01:00
Mauro Romito
a7ed706d99 view model fully tested 2022-12-13 17:06:12 +01:00
Mauro Romito
461a621097 editing that highlights the textfield behaviour added 2022-12-13 16:58:26 +01:00
Mauro Romito
78cb6fb29a some tests 2022-12-13 15:58:33 +01:00
Alfonso Grillo
a3c72ca9b3 Refine UTs 2022-12-13 15:45:37 +01:00
Alfonso Grillo
ad64be29a3 Add UTs 2022-12-13 15:35:18 +01:00
Philippe Loriaux
b579ad639f Fix PR comments 2022-12-13 15:07:21 +01:00
Mauro Romito
9204ad1713 removed autocapitalization and improved the animation 2022-12-13 15:00:46 +01:00
Alfonso Grillo
80d5ba4ffb Delete old devices in account data 2022-12-13 14:19:55 +01:00
Mauro Romito
5782a983ac localisation added 2022-12-13 13:56:49 +01:00
Mauro Romito
8ee18454ff fix 2022-12-12 19:09:22 +01:00
Mauro Romito
a7a575dec1 fix 2022-12-12 19:09:15 +01:00
Mauro Romito
b12244338f implementation done, only tests, localisation and design feedback are left 2022-12-12 18:29:13 +01:00
Mauro Romito
b0439872ec view is created and responsive, I need now to implement the result processing of the actions 2022-12-12 17:34:06 +01:00
Mauro Romito
57a7a0ea87 changed name 2022-12-12 15:40:21 +01:00
Mauro Romito
ef1b189813 WIP 2022-12-12 15:39:57 +01:00
Philippe Loriaux
c97ca80250 Add Voice Broadcast backward and forward buttons for playback 2022-12-08 14:54:13 +01:00
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