1
Fork 0
Commit Graph

982 Commits

Author SHA1 Message Date
Juliusz Chroboczek 797f9f5430 Update CHANGES. 2022-02-20 20:11:27 +01:00
Juliusz Chroboczek 298a4639f4 Update dependencies. 2022-02-20 18:16:35 +01:00
Juliusz Chroboczek de3a016f4d Set the username in the server when using tokens.
This avoids the need to pass the username in the URL without
requiring the client to parse tokens.
2022-02-20 15:33:11 +01:00
Juliusz Chroboczek c4d46d20aa Add the galene-link utility. 2022-02-20 01:16:26 +01:00
Juliusz Chroboczek 37ef768ac0 Fix token parsing when aud is an array. 2022-02-20 01:05:21 +01:00
Juliusz Chroboczek a9c9581465 Implement authPortal. 2022-02-19 23:58:31 +01:00
Juliusz Chroboczek a86fb08f6c Replace ClientPermissions with a list of strings.
Now that we support external auth, the permissions list is
open-ended.  Make it a list for simplicity.
2022-02-19 23:44:57 +01:00
Juliusz Chroboczek 439dbabaa5 Replace custom SVG with icon. 2022-02-19 03:50:30 +01:00
Juliusz Chroboczek 4ce9a91c40 Implement passing tokens in URL search parameters.
It is now possible to autojoin by going to a URL such as

  https://galene.example.org/group/test?username=jch&token=...
2022-02-18 20:27:53 +01:00
Juliusz Chroboczek 1d583e5367 Don't verify token issuer.
This makes it possible to use token authentication without
an authentication server.
2022-02-18 19:21:02 +01:00
Juliusz Chroboczek 7784a2ac96 Add more tests for token auth. 2022-02-18 16:08:44 +01:00
Juliusz Chroboczek 947eb71328 Used named errors in token code. 2022-02-18 15:59:59 +01:00
Juliusz Chroboczek 9141d9eccb Update jwt to v4.3.0. 2022-02-18 15:55:08 +01:00
Juliusz Chroboczek dbc8d11f83 Update CHANGES. 2022-02-18 14:38:08 +01:00
Juliusz Chroboczek 03811db37d Implement token authentication. 2022-02-18 13:35:17 +01:00
Juliusz Chroboczek b4d1ef398f Fix typo in mute menu entry. 2022-02-16 23:10:43 +01:00
Juliusz Chroboczek 997806ec52 Add contextual menu in user list. 2022-02-16 20:52:23 +01:00
Juliusz Chroboczek 7cbc516679 Import Contextual.js.
https://github.com/LucasReade/Contextual.js
2022-02-16 20:34:20 +01:00
Juliusz Chroboczek 968390942c Keep self at top of user list. 2022-02-16 20:34:20 +01:00
Juliusz Chroboczek d2dff184d1 Move fontawesome to external, upgrade to 6.0.0. 2022-02-16 19:24:32 +01:00
Juliusz Chroboczek 62fb6d853c Move toastify into separate dir, upgrade. 2022-02-16 18:56:21 +01:00
Juliusz Chroboczek db4eb6fc5c Update dependencies.
Nice DTLS fixes in pion/dtls v2.1.2.
2022-02-07 17:25:12 +01:00
Juliusz Chroboczek 14ca47651b Fix data parameter of ServerConnection.join.
This was broken when we renamed status to data.  Thanks to
Sylvie Tissot.
2022-02-05 13:48:05 +01:00
Juliusz Chroboczek 5444aa9089 Update CHANGES. 2022-02-01 20:29:51 +01:00
Juliusz Chroboczek 97541ea9ae Merge branch 'galene-0.4-branch' 2022-02-01 20:28:48 +01:00
Juliusz Chroboczek 6634b7c1e8 Update CHANGES for 0.4.4. 2022-02-01 20:18:44 +01:00
Juliusz Chroboczek dc50104467 Update pion/webrtc to v3.1.19.
This fixes an issue with non-simulcast tracks being discarded
when bundled with simulcast tracks.
2022-02-01 20:15:17 +01:00
Juliusz Chroboczek 6b54f14dfe Display correct maxBitrate in statistics. 2022-02-01 20:12:31 +01:00
Juliusz Chroboczek 66e5d2951d Rework file transfer code.
More explicit data structures, better error handling.
2022-02-01 18:46:51 +01:00
Juliusz Chroboczek 0ef5d10744 Display correct maxBitrate in statistics. 2022-02-01 15:20:43 +01:00
Juliusz Chroboczek 60ba4aa727 Fix file transfer for Firefox.
Firefox implements the spec correctly by encapsulatings received
data in a blob by default.  Handle both blobs and ArrayBuffers.

Also improve error handling.
2022-02-01 13:36:16 +01:00
Juliusz Chroboczek 6d250bfa98 Add warnings about disclosing IP addresses. 2022-01-30 19:22:43 +01:00
Juliusz Chroboczek c38c5555b0 Ensure buttons are removed after a transfer is cancelled. 2022-01-30 18:28:35 +01:00
Juliusz Chroboczek c535f67246 Implement peer-to-peer file transfer. 2022-01-30 17:43:19 +01:00
Juliusz Chroboczek 24187430e8 Rename client status to data, add group data.
We now distinguish between status, which is maintained by the server,
and data, which is provided by the client.  In addition to client data,
we now support group data.
2022-01-29 23:28:08 +01:00
Juliusz Chroboczek 710cc3cc14 Add ability to set initial user status.
Setting the status after joining (using the "setstatus" action)
may cause multiple "user" messages to be sent to clients.  Add
the ability to set the initial status at join time.
2022-01-28 22:21:19 +01:00
Juliusz Chroboczek 0b5e40bc7f Set user-status-raisehand when adding user.
Commit 993d66 addes support for displaying raised hands, but it
failed to take into account the possibility that the hand is already
raised when the user is first added.
2022-01-28 22:13:14 +01:00
Juliusz Chroboczek c1eb8a9cb5 Update CHANGES for 0.4.3. 2022-01-27 14:22:43 +01:00
Juliusz Chroboczek 1fb4288630 Don't send NACKs from disk writer.
We're already doing it in the receiver loop.
2022-01-26 02:31:34 +01:00
Juliusz Chroboczek 564dcd4167 Move keyframe handling back to the packet level.
Doing that at the sample level suffers from too much delay
due to buffering in the samplebuilder.
2022-01-25 23:11:03 +01:00
Juliusz Chroboczek d47c6834dc Update samplebuilder.
This fixes an issue with out-of-order packet's start flag not
being correctly set in all cases.
2022-01-25 22:24:59 +01:00
Juliusz Chroboczek 0cbfa7b0ca Write out disk writer packets unconditionally.
If the stream was very short, we may not have created
a writer yet.  Write out packets even in that case.
2022-01-25 22:04:57 +01:00
Juliusz Chroboczek e8fbfcb9ba Avoid overflow in bitrate computation. 2022-01-25 20:11:28 +01:00
Juliusz Chroboczek 0d8fdc5c20 Update dependencies. 2022-01-25 16:55:08 +01:00
Juliusz Chroboczek a5aad53e7c Update CHANGES. 2022-01-25 16:45:38 +01:00
Juliusz Chroboczek 6bb1ed7ab7 Use playsInline instead of playsinline.
Apparently the field has a different name than the HTML attribute.
2022-01-25 01:28:18 +01:00
Juliusz Chroboczek 29b4734bc4 Adapt typing to TypeScript 4.5.4. 2022-01-25 01:22:59 +01:00
Juliusz Chroboczek 221ed44538 Fix joining in frontend documentation. 2022-01-24 19:59:45 +01:00
Juliusz Chroboczek 6fbdf0eab2 Use the new MIME type for AV1.
Chromium 91 and later uses "AV1" instead of "AV1X".  Simulcast is
still broken.
2022-01-04 13:09:07 +01:00
Sascha Silbe 993d664ba2 frontend: add support for showing raised hand
Show the "hand-paper" symbol instead of the "circle" symbol while a
user is raising their hand.
2022-01-04 12:56:05 +01:00