1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-14 04:35:57 +01:00
Commit graph

1267 commits

Author SHA1 Message Date
Juliusz Chroboczek
eefe763a9f Add omitted defer, remove debug statement. 2022-09-09 14:58:32 +02:00
Juliusz Chroboczek
74a1243947 Fix TestPermissions.
This was broken when we moved GetPermission to Group.
Thanks to kiufta.
2022-09-09 14:14:24 +02:00
Juliusz Chroboczek
6bdcd504a7 Make GetPermission a method of Group. 2022-09-08 20:55:35 +02:00
Juliusz Chroboczek
0fe3ed2e15 Fix chathistory and display of anonymous users.
Chathistory messages were formatted incorrectly.
We were also not formatting correctly messages from
anonymous users.
2022-09-06 19:03:50 +02:00
Juliusz Chroboczek
3a2efbcc7e Send chathistory messages in the client goroutine.
We used to send the chat history from the reader goroutine,
which would cause them to race with the join message.
2022-09-06 03:03:50 +02:00
Juliusz Chroboczek
533e4b9b32 Version the protocol.
The handshake message now contains a list of supported protocol
versions.  Version mismatch is currently a warning, but it will be a
hard error in the future.
2022-09-02 14:30:51 +02:00
Juliusz Chroboczek
b55e531aa5 Encode group location in the status.json file. 2022-09-01 15:38:29 +02:00
Juliusz Chroboczek
4bc873a574 Publish websocket endpoint in group status. 2022-09-01 14:55:52 +02:00
Juliusz Chroboczek
4e275a63b4 Derive group name from status
This avoids hard-wiring URLs in the client.
2022-09-01 14:37:42 +02:00
Juliusz Chroboczek
ceb82fcf05 Update CHANGES. 2022-08-31 17:39:19 +02:00
Juliusz Chroboczek
3d857120db Check for group existence on landing page. 2022-08-31 17:17:09 +02:00
Jeroen van Veen
a21134d310 Fix usage of serverConnection in protocol.js
serverConnection is the global value in galene.js.
2022-08-29 20:15:19 +02:00
Juliusz Chroboczek
c5e5455e47 Document file transfer javascript. 2022-08-04 19:14:35 +02:00
Juliusz Chroboczek
dcb370677f Allow running the web server on a Unix domain socket.
Thanks to Martin Pépin.
2022-08-04 18:36:07 +02:00
Juliusz Chroboczek
b821cd71a9 Check MIME type in auth server response. 2022-08-03 15:00:50 +02:00
Juliusz Chroboczek
d69c517137 Allow auth server to fallback to password auth.
The authorisation server can now reply with 204 (no content)
in order to request that the client should continue with password
authentication.
2022-08-02 18:12:17 +02:00
Juliusz Chroboczek
3bdd82f06d Rework file transfer.
Split into the protocol (in protocol.js) and the user interface
(in galene.js).  Make the state automaton explicit, and improve
error-handling.  The new protocol is incompatible with the old one.
2022-07-25 18:54:52 +02:00
Juliusz Chroboczek
7d4133d1c3 Update CHANGES for 0.5.5. 2022-07-23 20:42:20 +02:00
Juliusz Chroboczek
a8ce0b3f8c Update dependencies. 2022-07-23 20:38:51 +02:00
Juliusz Chroboczek
b4edb7c0c7 Avoid overflow in FromDuration and ToDuration.
Thanks to lamhai1401.
2022-07-22 21:24:36 +02:00
Juliusz Chroboczek
7d01f0339b Avoid re-reading descriptions
We used to avoid re-reading descriptions when joining a group,
but we used to re-read them when updating the list of groups.
2022-07-12 20:06:34 +02:00
Juliusz Chroboczek
19a2700322 Upgrade to go 1.16, update dependencies.
We already depend on jwt, which requires go 1.16.
2022-07-12 16:49:38 +02:00
Juliusz Chroboczek
96f39ca315 Change z-level of contextual menu 2022-05-29 01:50:17 +02:00
Juliusz Chroboczek
cf495d31b3 Remove dead CSS. 2022-05-29 01:26:55 +02:00
Juliusz Chroboczek
b55c9f7a92 Fix wording of Safari warning. 2022-05-19 15:24:15 +02:00
Juliusz Chroboczek
7f4ad6b1d8 Update dependencies. 2022-05-19 15:08:11 +02:00
Juliusz Chroboczek
3d807677a7 Make warning against Safari screensharing stronger. 2022-05-19 13:24:44 +02:00
Juliusz Chroboczek
7a52ffdca7 Update dependencies. 2022-05-11 03:16:28 +02:00
Juliusz Chroboczek
4c8fdb8ea8 Update CHANGES for 0.5.4. 2022-05-05 13:43:09 +02:00
Juliusz Chroboczek
40bf93cdd0 Consistently use SPS for detecting H.264 keyframes.
This was already the case for FU NALUs, but not for simple NALUs.
2022-05-04 18:26:22 +02:00
Juliusz Chroboczek
0d1b804ded Update srtp to 2.0.6.
This contains some important optimisations for CTR mode.
2022-05-01 21:35:08 +02:00
Juliusz Chroboczek
340c2900cc Move TURN server into structure. 2022-04-30 22:37:06 +02:00
Juliusz Chroboczek
fd228b09c2 Fix checking for username when token is present. 2022-04-29 01:36:02 +02:00
Juliusz Chroboczek
0416976e20 Update CHANGES for 0.5.3. 2022-04-25 13:13:54 +02:00
Juliusz Chroboczek
df675f532d Fix forgotten "replace" directive.
Thanks (and sorry) to Fabrice Rouillier.
2022-04-25 13:11:15 +02:00
Juliusz Chroboczek
fc9f28fd68 Minor cleanups. 2022-04-23 18:43:01 +02:00
Juliusz Chroboczek
9ab84741d9 Update dependencies.
Pion/ice v2.2.6 (included by webrtc v.3.1.34) fixes an issue
that could break connections when the peer implements aggressive
nomination.
2022-04-22 22:01:43 +02:00
Juliusz Chroboczek
8180d9bf50 Document jitter concurrency guarantees. 2022-04-21 01:39:05 +02:00
Juliusz Chroboczek
461c78b0e3 Fix race condition in estimator. 2022-04-21 01:28:41 +02:00
Juliusz Chroboczek
b5f8ea0e23 Fix rounding in estimator.
The test was buggy.
2022-04-20 21:15:01 +02:00
Juliusz Chroboczek
474c58cc7d Update CHANGES for 0.5.2. 2022-04-20 19:55:33 +02:00
Juliusz Chroboczek
547ff1e6c4 Revert "Don't break lines manually in chat messages."
This reverts commit 2eca0e44d5.
2022-04-20 17:38:55 +02:00
Juliusz Chroboczek
dd4ab058ef Update dependencies. 2022-04-20 12:53:41 +02:00
Juliusz Chroboczek
a95d77f53a Update dependencies. 2022-04-17 22:27:20 +02:00
Juliusz Chroboczek
694169a412 Update CHANGES. 2022-04-17 21:11:14 +02:00
Juliusz Chroboczek
db21575df3 Implement audio-video sync in diskwriter.
We used to simply synchronise on the first keyframe.  This
could lead to important time offets, since every audio frame
is a keyframe, while we only request video keyframes every
four seconds.

Fix that by parsing the RTCP synchronisation data and adjusting
timestamp offsets accordingly.  If we have no RTCP sync, we simply
assume that the first frames received are synchronised.
2022-04-17 21:07:49 +02:00
Juliusz Chroboczek
e3c8645897 Split reopen into close/open.
Only call close if there's already a writer, which avoids flushing
packets before the first call.
2022-04-17 18:24:08 +02:00
Juliusz Chroboczek
99055e5cae Make duration functions work with negative values. 2022-04-16 01:20:29 +02:00
Juliusz Chroboczek
d36111d9f9 Set keyframe flag on audio samples. 2022-04-16 01:19:12 +02:00
Juliusz Chroboczek
6669a93ae3 Don't use high-quality audio for screenshare.
We used to set high-quality audio by default for screenshare,
but that makes the video blurry under bad network conditions.
Obey the hqaudio setting for all streams.
2022-04-15 00:36:47 +02:00