Commit Graph
100 Commits
Author SHA1 Message Date
Robin Townsend b7be3011da Add widget actions for joining and leaving calls and switching layouts
These actions are processed lazily to ensure that even if the app takes a while to start up, they won't be missed.
2022-09-09 02:14:12 -04:00
Robin Townsend f0045c9406 Initialize all widget-related things at the top level 2022-09-09 02:09:12 -04:00
Robin Townsend 3186b5f24b Add a URL parameter for hiding the room header 2022-09-09 02:04:53 -04:00
Robin 3406b46db5 Merge pull request #535 from robintown/fix-call-type-dropdown
Fix the call type selector
2022-08-19 09:09:32 -04:00
Robin Townsend 2b45cf1f67 Convert UnauthenticatedView to TypeScript 2022-08-18 18:48:24 -04:00
Robin Townsend ba4258aa89 Fix the call type selector 2022-08-18 18:48:17 -04:00
Robin 8f95da4b07 Merge pull request #518 from robintown/logout-lost-sessions
Log out lost sessions
2022-08-13 09:38:40 -04:00
Robin 102bde65ba Merge pull request #517 from robintown/fix-imports
Remove top level matrix-js-sdk imports
2022-08-13 09:38:11 -04:00
Robin Townsend 3d5421819f Stop the temporary client 2022-08-12 20:13:52 -04:00
Robin Townsend 5167cacee8 Log out lost sessions
To prevent sessions from piling up quite as much
2022-08-12 17:58:29 -04:00
Robin Townsend 882eed0737 Remove top level matrix-js-sdk imports 2022-08-12 16:46:53 -04:00
Robin a17b62b14c Merge pull request #516 from robintown/missing-audio
Fix a case where someone's audio could be missing if the audio track arrived late
2022-08-12 14:28:12 -04:00
Robin Townsend 88cffdb70e Fix a case where someone's audio could be missing if the audio track
arrived late
2022-08-12 14:24:19 -04:00
Robin 1dfffce606 Merge pull request #416 from robintown/matroska
Matroska mode
2022-08-09 10:01:05 -04:00
Robin Townsend 7e98b19587 Update matrix-js-sdk 2022-08-09 09:53:45 -04:00
Robin Townsend 2a1689009a Extract state event capabilities into a variable 2022-08-09 09:43:12 -04:00
Robin Townsend 5ef3b055ff Merge branch 'main' into matroska 2022-08-09 09:03:02 -04:00
Robin Townsend f9a41be530 Merge branch 'main' into matroska 2022-08-08 14:46:24 -04:00
Robin Townsend eb43b96a1b Merge branch 'main' into matroska 2022-08-05 16:16:59 -04:00
Robin Townsend a2963adbee Upgrade matrix-widget-api 2022-08-05 15:41:25 -04:00
Robin c3c2f409e7 Merge pull request #495 from robintown/fix-crash
Fix a crash
2022-08-02 13:34:32 -04:00
Robin Townsend 89312ceb58 Fix types 2022-08-02 13:31:11 -04:00
Robin Townsend 9b915d289b Fix a crash
CallEvent.SendVoipEvent is sent with a raw dictionary, not an actual
MatrixEvent.
2022-08-02 13:21:44 -04:00
Robin Townsend 69f19d24a3 Merge branch 'main' into matroska 2022-07-28 16:27:04 -04:00
Robin Townsend 549c54e311 Request fewer permissions 2022-07-28 16:26:14 -04:00
Robin Townsend cf56b24dda Add a URL param for room ID
And consolidate our URL params logic
2022-07-27 16:31:48 -04:00
Robin Townsend 2a8cb3c4e2 Merge branch 'main' into matroska 2022-07-26 14:58:40 -04:00
Robin Townsend 689835cc17 Merge branch 'main' into matroska 2022-07-15 16:56:52 -04:00
Robin 6456a6b0c0 Merge pull request #471 from robintown/await-room-creation
Make room setup more reliable
2022-07-15 16:17:55 -04:00
Robin Townsend 996c5f86c1 Refactor to use fewer else's 2022-07-15 16:08:26 -04:00
Robin Townsend 3fc8fe505b Merge branch 'main' into matroska 2022-07-15 14:38:12 -04:00
Robin Townsend daeecc9b68 Add a missing type 2022-07-15 13:07:19 -04:00
Robin Townsend 982398b32f Remove unnecessary complexity from createRoom
With fae4c504c9, the changes from
b4a56f6dd7 are no longer necessary.
2022-07-15 13:05:06 -04:00
Robin Townsend fae4c504c9 Consolidate all group call creation into useLoadGroupCall
This enables us to automatically create a group call in rooms that
exist, but contain no calls.
2022-07-15 12:59:54 -04:00
Robin Townsend b4a56f6dd7 Wait for the created room to come down sync before placing a group call 2022-07-15 11:31:52 -04:00
Robin Townsend fc26bef80a Make Vite work with matrix-widget-api 2022-07-15 11:24:38 -04:00
Robin Townsend 7fab4ca1ba Merge branch 'main' into matroska 2022-07-13 15:54:06 -04:00
Robin 631e63a0b5 Merge pull request #444 from robintown/wt-small
Adapt walkie-talkie layout to hide controls at small sizes
2022-07-05 16:07:55 -04:00
Robin Townsend 4cb2306de0 Make button be constrained primarily by width rather than height 2022-07-05 15:49:48 -04:00
Robin Townsend f15ee439a9 Fix page layout 2022-07-05 15:41:57 -04:00
Robin Townsend b9a2473d19 Adapt walkie-talkie layout to hide controls at small sizes 2022-07-05 13:47:53 -04:00
Robin 8380894692 Merge pull request #436 from robintown/update-js-sdk
Update matrix-js-sdk
2022-07-03 16:56:00 -04:00
Robin 94f16b986a Merge pull request #435 from robintown/insecure-context
Produce a more informative error when running in an insecure context
2022-07-03 16:55:43 -04:00
Robin Townsend 2928df8b8c Update matrix-js-sdk 2022-07-03 10:52:49 -04:00
Robin Townsend 71a819fcf0 Produce a more informative error when running in an insecure context 2022-07-03 10:38:03 -04:00
Robin a31fcd7346 Merge pull request #433 from robintown/update-js-sdk
Update matrix-js-sdk
2022-07-01 13:55:46 -04:00
Robin Townsend 4a1a53d3ab Run prettier 2022-07-01 12:34:57 -04:00
Robin Townsend be173a838d Update matrix-js-sdk 2022-07-01 12:08:15 -04:00
Robin 831e49919b Merge pull request #427 from robintown/issue-templates
Add some issue templates
2022-06-29 13:03:15 -04:00
Robin Townsend 6d90586aee Add some issue templates 2022-06-29 11:10:52 -04:00
Robin 5ced94755b Merge pull request #413 from robintown/update-js-sdk
Update matrix-js-sdk
2022-06-28 08:56:38 -04:00
Robin Townsend d5e638c8f7 WIP 2022-06-27 17:41:07 -04:00
Robin Townsend 122ffeeab5 Update matrix-js-sdk 2022-06-21 11:32:07 -04:00
Robin 1448eac7c1 Merge pull request #399 from robintown/chrome-spatial-aec
Make AEC work with spatial audio on Chrome
2022-06-16 10:45:23 -04:00
Robin Townsend f2dbd5ff96 Move MediaElement interface to the global types file 2022-06-16 10:01:52 -04:00
Robin Townsend dcae5ad5f2 Merge branch 'main' into chrome-spatial-aec 2022-06-16 09:56:27 -04:00
Robin 9bd3ade93d Merge pull request #404 from robintown/waiting-spacebar
Make the 'waiting for network' state work with spacebar
2022-06-16 09:41:49 -04:00
Robin Townsend 22dcb883b3 Fix waiting state not disappearing after the 20 second timeout 2022-06-14 23:38:40 -04:00
Robin Townsend 2e945780de Make the 'waiting for network' state work with spacebar 2022-06-14 16:53:56 -04:00
Robin 9033b688ab Merge pull request #403 from robintown/preload
Preload PTT sounds correctly
2022-06-14 14:19:47 -04:00
Robin Townsend 1d4ed6609d Preload PTT sounds correctly 2022-06-14 14:15:52 -04:00
Robin b0269e310f Merge pull request #401 from robintown/network-waiting
Add a 'waiting for network' state to walkie-talkie mode
2022-06-14 12:14:23 -04:00
Robin Townsend 74ccf7d820 Clean up useDelayedState 2022-06-14 12:13:59 -04:00
Robin Townsend 2eae6243bb Add a comment 2022-06-14 12:10:17 -04:00
Robin Townsend 276532e2e1 Add a 'waiting for network' state to walkie-talkie mode 2022-06-14 12:00:26 -04:00
Robin Townsend fc07dd2af9 Convert useMediaStream to TypeScript 2022-06-13 17:24:25 -04:00
Robin Townsend 989712c2d5 Fix lints 2022-06-13 13:34:45 -04:00
Robin Townsend ee43fcc91f Make AEC work with spatial audio on Chrome 2022-06-13 13:31:44 -04:00
Robin 21ec08ffbd Merge pull request #378 from robintown/lint-shortcut
Add a shortcut lint script
2022-06-07 09:26:28 -04:00
Robin 1a7211198b Merge pull request #377 from robintown/spatial-audio-copy
Tweak spatial audio copy
2022-06-07 09:25:56 -04:00
Robin Townsend 2667e78b43 sound → seem 2022-06-06 11:26:48 -04:00
Robin Townsend 878b48aa7a Add a shortcut lint script 2022-06-06 11:21:51 -04:00
Robin Townsend b314e047c1 Tweak spatial audio copy 2022-06-06 11:19:40 -04:00
Robin 69cfa1db6d Merge pull request #372 from robintown/organize-colors
Organize colors
2022-06-06 09:03:53 -04:00
Robin Townsend 977016fbb2 Merge branch 'main' into organize-colors 2022-06-06 09:03:40 -04:00
Robin fb3d9e2a16 Merge pull request #374 from robintown/fix-warning
Fix warning
2022-06-03 08:24:40 -04:00
Robin Townsend 8da492d00d Fix warning 2022-06-02 16:30:35 -04:00
Robin 9676014120 Merge pull request #373 from robintown/camera
'Webcam' → 'Camera'
2022-06-02 14:06:58 -04:00
Robin Townsend 7d87b8d1e5 'Webcam' → 'Camera' 2022-06-02 13:53:31 -04:00
Robin Townsend aa45261b0d Organize colors 2022-06-01 11:48:17 -04:00
Robin bab5c9aa42 Merge pull request #367 from robintown/vu-animation
Add a VU meter-style animation to radio mode
2022-06-01 10:42:07 -04:00
Robin Townsend d680a36cab Bump the animation size up a little bit more 2022-06-01 10:41:49 -04:00
Robin Townsend 25bde3560b Use color variables 2022-06-01 10:41:12 -04:00
Robin Townsend ddac2ba5ef Merge branch 'main' into vu-animation 2022-06-01 10:31:04 -04:00
Robin cd55098921 Merge pull request #365 from robintown/spatial-audio
Spatial audio
2022-06-01 09:17:04 -04:00
Robin f1bdad0d7f Merge pull request #366 from robintown/chrome-android-sink
Fix crash when setting audio output on Chrome for Android
2022-06-01 09:14:41 -04:00
Robin 9fac2c95e5 Merge pull request #368 from robintown/radio-button-cursor
Make PTTButton feel more clickable
2022-06-01 09:13:04 -04:00
Robin Townsend 641e6c53b6 Make the animation smaller 2022-05-31 23:41:05 -04:00
Robin Townsend 14fbddf780 Make PTTButton feel more clickable 2022-05-31 18:08:42 -04:00
Robin Townsend 2a69b72bed Add a VU meter-style animation to radio mode 2022-05-31 18:01:34 -04:00
Robin Townsend e21094b525 Fix crash when setting audio output on Chrome for Android 2022-05-31 16:21:35 -04:00
Robin Townsend da3d038547 Make it work on Chrome 2022-05-31 16:11:39 -04:00
Robin Townsend c6b90803f8 Add spatial audio capabilities 2022-05-31 13:36:15 -04:00
Robin 9444f43c72 Merge pull request #357 from robintown/ts-auth
TypeScriptify the auth directory
2022-05-31 10:35:39 -04:00
Robin Townsend 26251e1e60 Don't abuse useMemo for creating a MatrixClient 2022-05-31 10:33:10 -04:00
Robin Townsend 5b3183cbd3 Make eslint config stricter
now that we can
2022-05-31 10:32:54 -04:00
Robin Townsend e6960a1e15 TypeScriptify RegisterPage 2022-05-27 16:55:50 -04:00
Robin Townsend c057713004 TypeScriptify useInteractiveRegistration 2022-05-27 16:55:50 -04:00
Robin Townsend 35e2135e3c TypeScriptify useInteractiveLogin 2022-05-27 14:52:32 -04:00
Robin Townsend af74228f8e TypeScriptify useRecaptcha 2022-05-27 10:37:27 -04:00