Commit graph

498 commits

Author SHA1 Message Date
David Baker
446fd9c7c0 Make tsc happy with the js-sdk 2022-05-07 19:02:54 +01:00
David Baker
adc7892d8c Enable type checking & disable lint warning 2022-05-06 22:55:47 +01:00
David Baker
00ffa1b6cd Add types from merge & fix import order 2022-05-06 22:43:22 +01:00
David Baker
055fbe786d Merge remote-tracking branch 'origin/main' into dbkr/typescript_round_1 2022-05-06 21:41:14 +01:00
David Baker
5fb1f556d5 Prettier 2022-05-06 21:34:58 +01:00
David Baker
f4ba315cef Add more hook dependencies 2022-05-06 21:33:49 +01:00
David Baker
9ba12da544
Merge branch 'main' into dbkr/fix_lint_errors 2022-05-06 21:31:35 +01:00
David Baker
9374900ce0
Merge pull request #313 from vector-im/dbkr/fix_time_limit
Return to normal state when time limit reached
2022-05-06 21:28:40 +01:00
David Baker
7e5610eb36 Prettier 2022-05-06 21:27:07 +01:00
David Baker
1253638861 Store unmuteError in main state 2022-05-06 21:23:29 +01:00
David Baker
5422cb76f1
Merge branch 'main' into dbkr/license_headers 2022-05-06 21:18:45 +01:00
David Baker
4488947eed Initial round of typescripting 2022-05-06 11:32:09 +01:00
David Baker
bf8f164f55 Fix lint errors
Various hooks either missing dependencies or with extra ones.

Two remaining errors are from the recapcta code where I can't
work out if the extra dependency is intentional or not.
2022-05-05 13:15:07 +01:00
David Baker
a70dbb130f Run prettier 2022-05-05 12:26:30 +01:00
David Baker
7edf544d73 Return to normal state when time limit reached 2022-05-05 12:22:51 +01:00
David Baker
ad3bde9920 Undo unintentionally commented line 2022-05-04 17:36:35 +01:00
David Baker
85a98b3706 Remove onWindowBlur
we already do this in usePTT
2022-05-04 17:35:43 +01:00
David Baker
85e3f3761a Add all the license headers 2022-05-04 17:09:48 +01:00
David Baker
f0b116714b Fix mouseup/down behaviour of PTT button
Handle mouseup events anywhere so the button releases if you move
the cursor out of the button & release. Likewsie for window losing
focus.
2022-05-04 16:52:45 +01:00
David Baker
0136fd3cab Run prettier 2022-05-04 11:24:25 +01:00
Robert Long
d930ab869a
Merge pull request #308 from vector-im/dbkr/ptt_enable_flag
Put PTT behind 'feature flag'
2022-05-03 10:34:01 -07:00
Robert Long
dbdb82bd74 Switch to useShouldShowPtt hook 2022-05-03 10:32:06 -07:00
David Baker
be01a4bd81 Commit missed file 2022-05-03 12:05:40 +01:00
Robert Long
c7dd2e2093
Merge pull request #307 from vector-im/dbkr/fix_toggle
Fix toggle button toggling
2022-05-02 11:30:05 -07:00
David Baker
43d579744f Put PTT behind 'feature flag'
AKA does the URL hash start with '#ptt'

This will let us merge PTT back to the main branch
2022-04-29 19:25:00 +01:00
David Baker
48a008093b Fix toggle button toggling
Just use isSelected directly rather than makking the button have its
own state. Also, the isPressed from useToggleButton looks like its
whether the user has the mouse button down on it or not rather than
whether the toggle switch is on, which was making the state wrong.
2022-04-29 19:08:32 +01:00
David Baker
70c099c4b5 Wire up pressing the PTT button to unmute as well as spacebar 2022-04-29 18:56:17 +01:00
Robert Long
363f2340a0 Finish basic ptt implemenation 2022-04-28 17:44:50 -07:00
Robert Long
3a6346aa63 Create a voice group call when using ptt 2022-04-28 11:13:20 -07:00
Robert Long
9ef9680e07 Fix PTT button alignment 2022-04-28 11:13:01 -07:00
Robert Long
e3cec93669 Add basic mobile styling 2022-04-27 17:19:58 -07:00
Robert Long
b6c926d2c8 Additional in-room PTT styling 2022-04-27 16:47:23 -07:00
Robert Long
c430ebb3a3 Finish first pass at PTT lobby UI 2022-04-27 15:18:55 -07:00
Robert Long
7a9ff98550 Add OLM_OPTIONS global TODO 2022-04-27 13:51:08 -07:00
Robert Long
3d54047f87 Fix Olm import 2022-04-27 13:38:16 -07:00
Robert Long
e2aee0be81 Fix olm import 2022-04-26 16:28:21 -07:00
Robert Long
a0e4de73cc Add support for to-device messages via OLM 2022-04-26 15:20:06 -07:00
Robert Long
38f9a79bd3 Initial PTT designs 2022-04-22 18:05:48 -07:00
Robert Long
72197c1a0a Remove dependency on matrix-react-sdk 2022-04-07 14:22:36 -07:00
Robert Long
2457476bae Still capitalize words in snake case room ids 2022-03-03 17:09:31 -08:00
Robert Long
35fb1e710b Create room when not found and lowercase name 2022-03-03 16:56:45 -08:00
Robert Long
014b740e47 Update logo 2022-03-03 16:14:07 -08:00
Robert Long
2b3c04592b Only show remove button when there is an avatar to remove 2022-03-02 19:18:23 -08:00
Robert Long
ae50d57814 Set display name after interactive registration 2022-03-02 19:12:18 -08:00
Robert Long
9900d661be Fix avatar background when bgKey undefined 2022-03-01 11:37:45 -08:00
Robert Long
369b59a203 Fix ordering in 1-1 calls 2022-02-25 16:26:21 -08:00
Robert Long
6a18ba0110 Use raw display names for members 2022-02-23 16:41:12 -08:00
Robert Long
0a49ddb31e Fix input prefix 2022-02-23 16:34:11 -08:00
Robert Long
25385edf12 Use a textarea in the feedback modal 2022-02-23 16:07:14 -08:00
Robert Long
721cccf152 Disable speaking indicator in 1-1 calls 2022-02-23 15:59:16 -08:00
Robert Long
3b017eb92b Add room_id and display_name to rageshakes 2022-02-23 15:52:53 -08:00
Robert Long
641b82dc45 Fix creating rooms from not found screen 2022-02-23 15:36:38 -08:00
Robert Long
42e2041d6f Fix media handler device changes 2022-02-23 15:07:51 -08:00
Robert Long
2c3ebd4c03 Add audio output setting when available 2022-02-22 18:32:51 -08:00
Robert Long
81a763f17f Avoid duplicate sessions across devices/browsers 2022-02-18 16:23:37 -08:00
Robert Long
1ab7d27ba9 Finish user avatars 2022-02-18 16:02:27 -08:00
Robert Long
e76a805c8f Better logging of to device events / usernames 2022-02-17 14:08:53 -08:00
Robert Long
9fc4af2bd7 Add version to console, rageshake, and settings modal 2022-02-16 11:29:43 -08:00
Robert Long
0f3a7f9fd9 Prevent scroll in call view 2022-02-16 11:17:33 -08:00
Robert Long
1cc634509b Add protocol to copied room url 2022-02-16 10:52:07 -08:00
Robert Long
cb07ce32cb Fix room not found view 2022-02-15 15:00:06 -08:00
Robert Long
6866d662f7 Automatically switch to spotlight layout on screenshare 2022-02-15 14:49:50 -08:00
Robert Long
51a2027d64 Fix screenshare button styling 2022-02-15 12:58:55 -08:00
Robert Long
0f6b8f9bb1 New incremental auth 2022-02-15 12:46:58 -08:00
Robert Long
63229ce2d7 Fix video grid story 2022-02-14 14:49:19 -08:00
Robert Long
1d620910c5 Only show name when focused or more than 2 participants 2022-02-14 14:48:12 -08:00
Robert Long
47357b3fc6 Add room not found view 2022-02-14 13:53:19 -08:00
Robert Long
3ed35f9477 Fix deprecated usage of substr 2022-02-14 12:35:39 -08:00
Robert Long
a369444b62 Convert room id to lowercase 2022-02-14 12:35:07 -08:00
Robert Long
742d658021 Center align call tile contents 2022-02-14 12:19:54 -08:00
Robert Long
681c24a0ca Fix focusing in freedom layout 2022-02-14 11:14:09 -08:00
Robert Long
fc057bf988 Prevent opening multiple tabs of the same account 2022-02-10 17:10:36 -08:00
Robert Long
4168540017 Added group_call_rageshake_request_id for rageshake grouping 2022-02-07 15:24:43 -08:00
Robert Long
9251cd9964
Revert "Rename groupcall.txt -> groupcall.json." 2022-02-07 15:23:00 -08:00
Michael Kaye
5e42881c5c Rename groupcall.txt -> groupcall.json.
This will stop groupcall.txt being handled as a 'log file' and instead
indicate it's an artifact to be stored alongside the rageshake.

The file will still be stored on the rageshake server but the extension
will indicate it's not a log file.
2022-02-07 15:28:46 +00:00
Robert Long
0824bfb4ed Update copy and feedback icon 2022-02-04 17:00:58 -08:00
Robert Long
6ec9e4b666 Add rageshake request modal 2022-02-04 16:55:57 -08:00
Robert Long
ec447429c5 Autofocus join call button when ready 2022-02-04 12:38:40 -08:00
Robert Long
9c3e4907c8 Move join room button 2022-02-04 12:31:59 -08:00
Robert Long
cde352bcae Merge branch 'main' of github.com:vector-im/matrix-video-chat 2022-02-03 17:28:13 -08:00
Robert Long
2d2400edae Fix active speaker focusing 2022-02-03 17:28:10 -08:00
Matthew Hodgson
7c80682b08 quick hack to improve ILAG copy 2022-02-04 01:24:05 +00:00
Robert Long
1d8cd8c3c8 Add useLocationNavigation to fix navigation during browser media prompts 2022-02-03 16:56:13 -08:00
Robert Long
a33d1364b6 Fix null recaptcha target 2022-02-03 14:18:34 -08:00
Robert Long
a189f3ad98 Fix page titles 2022-02-02 21:48:44 -08:00
Robert Long
f3cee359c0 Update VideoGrid story 2022-02-02 18:32:23 -08:00
Robert Long
be45c0319e Fix InCallView 2022-02-02 16:05:15 -08:00
Robert Long
dec47d21c0 Merge branch 'main' into robertlong/spotlight-layout 2022-02-02 15:15:39 -08:00
Robert Long
c4f335ebb6 Prevent navigation from login / logout links in user menu in room 2022-02-02 15:09:16 -08:00
Robert Long
35c11660a3 Add configurable / dynamic page title 2022-02-02 15:02:40 -08:00
Robert Long
089c891a55 Fix TOS copy 2022-02-02 14:31:11 -08:00
Robert Long
3f60cd0386 Add feedback description input 2022-02-02 13:30:36 -08:00
Robert Long
ef8021e1a8 callId -> conf_id 2022-02-02 13:23:09 -08:00
Robert Long
8ab68ed8c8 Add rageshake submit state 2022-02-01 15:39:45 -08:00
Robert Long
76b2e8b29e Add debug log inspector / rageshake 2022-02-01 15:11:06 -08:00
Robert Long
21e4516bc3 Fix tab padding 2022-01-21 17:02:24 -08:00
Robert Long
f8b4331ec7 Use avatar component for rooms 2022-01-21 16:41:00 -08:00
Robert Long
f7cb015390 Add copyable User Id field 2022-01-21 16:36:21 -08:00
Robert Long
f2c3c82d3a Fix uploading avatars 2022-01-21 16:33:43 -08:00
Robert Long
48f3f430da Update tabs for mobile 2022-01-21 15:43:03 -08:00