1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-23 09:05:59 +01:00
Commit graph

1050 commits

Author SHA1 Message Date
Juliusz Chroboczek
f9ec0f9b43 Implement empty VP8 headers.
According to RFC 7741 Section 4.4, a packetizer may ignore VP8
partition boundaries.  In that case, it might generate VP8
packets with S=0 and no data at all in the header.
2023-01-06 22:59:20 +01:00
Juliusz Chroboczek
260b80fe93 Implement MapContinuation.
This is used to map a continuation packet in VP8, which does
not necessarily carry a valid PID.
2023-01-06 22:43:21 +01:00
Juliusz Chroboczek
41c7114387 Add more packetmap tests. 2023-01-06 10:51:48 +01:00
Juliusz Chroboczek
774432bd5e Don't pass pid to addMapping.
addMapping assumes the piddelta is constant, so it doesn't need
the pid.
2022-12-30 20:56:50 +01:00
Juliusz Chroboczek
f0bb45e6f4 Don't update packetmap for non-increasing seqnos.
When using an identity packetmap, we used to update the next seqno
even when packets were not increasing.  Not a big deal, we'd still
recover at the next sequential packet.
2022-12-30 19:32:16 +01:00
Juliusz Chroboczek
cc52e39ce4 Make some errors non-fatal.
Don't disconnect the client for some more errors.
2022-12-17 01:00:49 +01:00
Juliusz Chroboczek
056f98604a Simplify checking for privileged user messages. 2022-12-17 00:15:07 +01:00
Juliusz Chroboczek
fae045fb61 Client-side support for protocol version 2.
This does not yet support the new 'need-username' error.
2022-12-16 18:38:30 +01:00
Juliusz Chroboczek
397892d906 Add forgotten time field to message typedef. 2022-12-16 17:56:41 +01:00
Juliusz Chroboczek
4cdeb1778f Disable ulimit checking on non-Linux unices.
The code turned out not to port to FreeBSD.  Disable the check,
and assume that FreeBSD admins read the docs.

Thanks to Amatis-51.
2022-11-12 12:26:21 +01:00
Juliusz Chroboczek
d99efe4dff Require Go 1.17 or later.
Pion is unfortunately breaking Go 1.16.
2022-11-04 01:16:39 +01:00
Juliusz Chroboczek
56baddc948 Make groupAction take an arbitrary parameter. 2022-10-23 16:04:10 +02:00
Juliusz Chroboczek
1eb7716766 Simplify group expiration. 2022-10-23 16:04:10 +02:00
Juliusz Chroboczek
be0f05dac8 Fix incorrect formatting of error message. 2022-10-21 19:05:37 +02:00
Juliusz Chroboczek
10c57c7596 Don't use url.JoinPath.
It was introduced in Go 1.19.
2022-10-21 19:03:42 +02:00
Juliusz Chroboczek
5d220f59ee Add section about using a reverse proxy. 2022-10-21 14:33:49 +02:00
Juliusz Chroboczek
526ec594b5 Tweak installation instructions. 2022-10-21 13:56:11 +02:00
Juliusz Chroboczek
16e2888d56 Add new configuration directive proxyURL.
The strategy of computing the base URL from the request doesn't
necessarily work if we're behind a reverse proxy.  proxyURL
can be set in cases where our guess is incorrect.

Thanks to Dianne Skoll.
2022-10-21 13:28:11 +02:00
Juliusz Chroboczek
31ed146a95 Fix computation of group URL in webserver.
We were computing the scheme incorrectly, which caused us
to compute the wrong websocket URL when -insecure is set.
Thanks to Fabien de Montgolfier.
2022-10-09 12:37:13 +02:00
Juliusz Chroboczek
6e7a5f8cc6 Update CHANGES for 0.6.1. 2022-10-07 14:38:49 +02:00
Juliusz Chroboczek
193441eceb Update CHANGES. 2022-10-07 11:43:12 +02:00
Juliusz Chroboczek
249c1c1132 Don't notify clients when description is unchanged.
When we fixed the handling of autolocked groups, we introduced
a bug where we spuriously notify clients even when the description
didn't change.
2022-10-07 03:02:35 +02:00
Juliusz Chroboczek
8a2357de21 Only send chat history when joining.
When we moved the chat history to the client goroutine back in 0.6,
we started sending the history whenever the group configuration changed.
Only send it when first joining the group.  Thanks to Rémi Nollet.
2022-10-07 00:22:03 +02:00
Juliusz Chroboczek
62517844a5 Ensure autolocked groups are locked on creation.
We used to autolock groups when the last user left, but not
when creating a group that was not in memory yet.  Ensure that
groups are autolocked in all cases.

Thanks to Michael Ströder.
2022-09-22 17:32:55 +02:00
Juliusz Chroboczek
b20cb0e523 Simplify the interface to autoLockKick.
This just removes a minor optimisation.
2022-09-22 17:21:49 +02:00
Juliusz Chroboczek
bf142c41a0 Fix status generation for remote groups. 2022-09-16 20:45:54 +02:00
Juliusz Chroboczek
4f83de3335 Use status URL when checking group existence.
This avoids issues with redirects.
2022-09-16 20:31:46 +02:00
Juliusz Chroboczek
d2a34cc4b5 Update CHANGES. 2022-09-16 19:43:42 +02:00
Juliusz Chroboczek
1bce623080 Hide peers with no video by default.
Now that we have an indicator in the users list, it is reasonable
to hide audio-ony peers by default.
2022-09-16 19:43:35 +02:00
Juliusz Chroboczek
db30b052f9 Include camera indicator in users list. 2022-09-16 19:14:29 +02:00
Juliusz Chroboczek
ae782f5d00 Remove isUp parameter from setMedia.
It's redundant, the data is already in the stream.
2022-09-16 19:13:55 +02:00
Rémi Nollet
1f3328b441
Update required Go version in INSTALL to 1.16 2022-09-12 08:57:35 +02:00
Juliusz Chroboczek
c67a9307da Update CHANGES for 0.6. 2022-09-10 14:27:58 +02:00
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