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

1170 commits

Author SHA1 Message Date
Juliusz Chroboczek
363a380b63 Update CHANGES for 0.8.3. 2024-05-26 20:13:48 +02:00
Juliusz Chroboczek
7a837624e3 Enforce clearchat permissions in the server.
It was only being enforced in the client.
2024-05-12 13:57:24 +02:00
Juliusz Chroboczek
ebfaeed05f Update CHANGES for 0.8.2. 2024-04-14 15:49:54 +02:00
Juliusz Chroboczek
42748d4ad8 Fix keyframe detection for VP8 and VP9. 2024-04-14 15:48:09 +02:00
Juliusz Chroboczek
8bbf9d16d0 Fix overflow in AV1 parser. 2024-04-14 15:48:09 +02:00
Juliusz Chroboczek
adf2ace0a4 Update dependencies.
This avoids a crash in the VP8 parser.
2024-04-14 15:48:09 +02:00
Juliusz Chroboczek
eb54f2a9bb Updated changes for 0.8.1. 2024-03-09 13:14:12 +01:00
Juliusz Chroboczek
de0c42faaf Implement "expires" and "not-before" for groups. 2024-03-03 16:45:54 +01:00
Juliusz Chroboczek
4fe31b4863 Update CHANGES. 2024-03-03 15:54:19 +01:00
Juliusz Chroboczek
b8f7c68338 Return correct error message for invalid tokens. 2024-03-03 15:42:46 +01:00
Juliusz Chroboczek
89f947df1f Rework handling of authorisation errors.
We'd sometimes return "Internal server error" on authentication
failures.  This should be gone now.
2024-03-03 13:43:50 +01:00
Juliusz Chroboczek
5fe578dcf5 Allow tokens with small expiration times.
There was a typo that prevented tokens with less than two days
validity.
2024-03-03 13:29:44 +01:00
Juliusz Chroboczek
0d7d54751a Update CHANGES. 2024-02-24 12:57:22 +01:00
Juliusz Chroboczek
29e006037c Allow proxyURL to contain a path.
We now support or reasonable values for proxyURL, such as "http:"
or "/galene".
2024-02-24 12:46:30 +01:00
Juliusz Chroboczek
6756e7f7cc Add test for groupBase. 2024-02-24 12:27:19 +01:00
Juliusz Chroboczek
017c004094 Update dependencies. 2024-02-23 00:22:38 +01:00
Juliusz Chroboczek
923d78eaa3 Fix handling of WHIP URLs.
We broke WHIP when we introduced splitPath.  Thanks to Tim Panton.
2024-02-22 23:31:03 +01:00
Juliusz Chroboczek
bfe83d1a27 Move description code into its own file. 2024-02-20 18:19:24 +01:00
Juliusz Chroboczek
3792800355 Make Update ignore directories starting with colon.
We were already ignoring files starting with colon.
2024-02-13 22:02:57 +01:00
Juliusz Chroboczek
0f53bf0373 More tweaks to webserver error handling. 2024-01-18 01:02:56 +01:00
Juliusz Chroboczek
3ad6f27b17 Move .status.json to .status.
Keep a redirect for backwards compatibility.
2024-01-18 00:39:32 +01:00
Juliusz Chroboczek
b92cf0480a Implement splitPath.
Use it for parsing special paths instead of ad hoc code.
2024-01-17 22:28:21 +01:00
Juliusz Chroboczek
6455ae3a4c Fix error handling in groupBase. 2024-01-17 22:22:47 +01:00
Juliusz Chroboczek
a612e4d869 Use httpError in groupHandler. 2024-01-11 23:10:15 +01:00
Juliusz Chroboczek
03038eaf45 Obfuscate WHIP ids.
If the WHIP session is not authenticated, then the only thing
preventing an attacker from DELETEing the session is the session
URL.  Since client ids are known, obfuscate the id before using
it in the session URL.
2024-01-11 22:05:07 +01:00
Juliusz Chroboczek
9f3bee8e37 Add missing omitempty to group description. 2024-01-07 00:26:36 +01:00
Juliusz Chroboczek
ad6db4c71b Upgrade dependencies. 2024-01-02 19:51:34 +01:00
Juliusz Chroboczek
5c491db9f5 Remove obsolete passage in documentation. 2024-01-02 18:45:04 +01:00
Juliusz Chroboczek
dc34350d8f Complete parsing of WHIP candidates. 2023-12-20 01:42:11 +01:00
Juliusz Chroboczek
be2d3ab4ca Fix error handing in WHIP resource handler. 2023-12-20 00:40:30 +01:00
Juliusz Chroboczek
27e502e63c Upgrade to go-jwt v5.
A token with no "sub" field is now treated just like one with an
empty "sub".  In addition, all times are treated with a slack of 5s.
2023-12-10 00:47:17 +01:00
Juliusz Chroboczek
002d519f91 Use a named type for trackAction kind. 2023-12-09 22:13:24 +01:00
Juliusz Chroboczek
5c2e5ee5c0 Add test for parsing bearer tokens. 2023-12-09 20:50:39 +01:00
Juliusz Chroboczek
f9ef43248b Use strings.Cut when parsing fmtp. 2023-12-09 18:23:06 +01:00
Juliusz Chroboczek
d2380f25b3 Fix incorrect comment in rtptime.go.
Also use Duration.Abs.
2023-12-09 17:45:30 +01:00
Juliusz Chroboczek
bee1c3d0c3 Use url.JoinPath in webserver. 2023-12-09 17:40:04 +01:00
Juliusz Chroboczek
1c042b55af Fix typo in error message. 2023-12-09 17:32:16 +01:00
Juliusz Chroboczek
00fbfafeeb Make unbounded channels explicit.
We used to have unbounded channels embedded within rtpconn
and webClient.  Make the structure explicit and testable.
2023-12-09 17:27:38 +01:00
Juliusz Chroboczek
dcde4562f5 Avoid code duplication in openDescriptionFile. 2023-12-09 16:17:48 +01:00
Juliusz Chroboczek
1f3b349ea2 Use MaxBytesReader in whip. 2023-12-09 16:17:48 +01:00
Juliusz Chroboczek
a283692584 Require Go 1.19. 2023-12-09 16:17:48 +01:00
Juliusz Chroboczek
0fc9136774 Allow HTML elements in addToChatbox. 2023-12-08 23:41:51 +01:00
Juliusz Chroboczek
96e2db0347 Protect against undefined navigator.mediaDevices.
This may happen if we're running over plain HTTP.
Thanks to kovmir.
2023-12-08 18:52:06 +01:00
Juliusz Chroboczek
c0214c3350 Fix typo in comment. 2023-12-08 18:39:08 +01:00
Juliusz Chroboczek
d16c680f99 Update CHANGES for 0.8. 2023-11-25 23:12:38 +01:00
Juliusz Chroboczek
36217b1093 Update dependencies.
gorilla/websocket is not updated, since 1.5.1 doesn't look good
to me.
2023-11-23 19:59:45 +01:00
Juliusz Chroboczek
bb0a949593 Update CHANGES. 2023-11-23 18:40:42 +01:00
Juliusz Chroboczek
8628344a6d Add support for hashing password with BCrypt. 2023-11-23 14:04:43 +01:00
Juliusz Chroboczek
2a32ac8f40 Update golang.org/x. 2023-11-05 00:06:38 +01:00
Juliusz Chroboczek
2ad6fc5b6e Constrain video aspect ratio rather than resolution. 2023-11-04 23:56:47 +01:00