Juliusz Chroboczek
9d07dd27ad
Add unit test for makePassword.
2024-10-25 16:11:34 +02:00
Juliusz Chroboczek
3f24625fe0
API client functions.
2024-10-25 16:11:34 +02:00
Juliusz Chroboczek
8d3302506a
Configuration file and networking options.
2024-10-25 16:11:34 +02:00
Juliusz Chroboczek
e33029072b
Factor out setUsage.
2024-10-25 16:11:34 +02:00
Juliusz Chroboczek
ece4929111
Initial version of galenectl.go.
2024-10-25 16:11:34 +02:00
Juliusz Chroboczek
b5f937b8ab
Remove galene-password-generator.
2024-10-25 16:11:34 +02:00
Juliusz Chroboczek
86fac519a5
Fix handling of subgroups in GetDescriptionNames.
2024-10-25 16:10:39 +02:00
Juliusz Chroboczek
1db15045a3
Fix incorrect parsing of wildcard user password.
2024-10-25 15:41:05 +02:00
Juliusz Chroboczek
df274ad6ea
Split out SDP fragment parsing, add test.
2024-09-30 00:24:12 +02:00
Juliusz Chroboczek
45bbb138c6
Use bytes.Clone in codecs_test.
2024-09-09 17:48:19 +02:00
Juliusz Chroboczek
54c5d040d1
Require Go 1.20, update dependencies.
...
Recent versions of Pion have removed support for 1.19.
2024-09-09 17:25:21 +02:00
Juliusz Chroboczek
123d51e011
Implement selective clearchat.
2024-08-17 16:56:06 +02:00
Juliusz Chroboczek
eb72069c9b
Add id to chat messages.
2024-08-17 16:56:06 +02:00
Juliusz Chroboczek
4fb0b3334a
Simplify peer-to-peer file transfer.
2024-08-17 16:56:06 +02:00
Juliusz Chroboczek
cb7a087ea2
Use mime.ParseMediaType instead of our version.
2024-08-15 00:41:27 +02:00
Juliusz Chroboczek
1bb7172515
Fix api_test.go under Go 1.20.
2024-08-13 16:26:08 +02:00
Juliusz Chroboczek
dd979652c2
Handle cancelled file transfer in initial callback.
...
If the client cancelled a file upload in the initial callback,
we would incorrectly proceed with the handshake.
2024-08-11 17:38:55 +02:00
Juliusz Chroboczek
ccb7cb9127
Update dependencies.
2024-08-01 11:01:27 +02:00
Juliusz Chroboczek
73a47de281
Update CHANGES.
2024-07-15 14:20:49 +02:00
Juliusz Chroboczek
33eaa5e794
Update README.FRONTEND.
2024-06-23 13:16:00 +02:00
Juliusz Chroboczek
8fe2e9ca5f
Force a user interaction before token login.
...
This avoids issues with autoplay being disabled.
2024-06-11 11:59:51 +02:00
Juliusz Chroboczek
14aeb125be
Update CHANGES.
2024-06-10 21:39:16 +02:00
Juliusz Chroboczek
242875e55c
Implement a client-side timeout.
...
We already had a server-side timeout, but it didn't prevent
a client from hanging when it lost connectivity with the server.
2024-06-10 21:33:31 +02:00
Juliusz Chroboczek
ee18b60226
Reduce server-side timeout.
2024-06-10 21:32:11 +02:00
Juliusz Chroboczek
7151fad149
Simplify the initial connection protocol.
...
The ServerConnection.connect method is no longer async,
we rely on the onconnected callback only. The onconnected
callback is now only called after the initial handshake
completes. There is a new onerror callback.
2024-06-10 21:12:47 +02:00
Juliusz Chroboczek
58934a1a46
Call reflectSettings synchronously.
...
We could previously attempt to display a remote stream before
reflectSetting initialised the settings.
2024-06-10 16:08:36 +02:00
Juliusz Chroboczek
e7af7cbed4
Add receive support to example client.
2024-06-10 15:58:30 +02:00
Juliusz Chroboczek
6a55139c94
Fix typo in ondowntrack callback.
...
Fortunately we're not using the mistyped arguments.
2024-06-10 15:38:44 +02:00
Juliusz Chroboczek
45ae8c5339
Minor fixes to example.
2024-06-08 18:30:14 +02:00
Juliusz Chroboczek
ac47a82e2f
Add minimal client example.
2024-06-08 15:05:00 +02:00
Juliusz Chroboczek
bc512462c7
Fix parsing of AddClient error.
...
NotAuthorisedError may unwrap to os.ErrNotExist.
2024-06-08 14:52:14 +02:00
Juliusz Chroboczek
3e5b5c3033
Remove left over debugging message.
2024-06-08 14:34:51 +02:00
Juliusz Chroboczek
ddcb9ed0cc
Simplify syntax of permissionsMap.
2024-06-02 01:45:51 +02:00
Juliusz Chroboczek
8db2e92cb9
More API tests.
2024-06-01 17:04:28 +02:00
Juliusz Chroboczek
cf2dc406d5
Remove dead function SetWildcardUser.
2024-06-01 17:04:06 +02:00
Juliusz Chroboczek
f802075aa8
Use errors.Is in Password.Match.
2024-05-27 23:00:45 +02:00
Juliusz Chroboczek
90a0a2e318
Don't attempt to set file descriptor limit.
...
Recent versions of Go do it at startup, so only print
a warning if the limit is too low.
2024-05-27 00:02:31 +02:00
Juliusz Chroboczek
82de29b6d0
Update CHANGES for Galene 0.9.
2024-05-26 20:17:34 +02:00
Juliusz Chroboczek
27153cc2fe
Update CHANGES for 0.8.3.
2024-05-26 20:15:32 +02:00
Juliusz Chroboczek
d9e956be48
More JWT paranoia.
2024-05-11 22:45:52 +02:00
Juliusz Chroboczek
4eaf6d058a
Remove obsolete ErrAnonymousNotAuthorised.
2024-05-11 13:39:50 +02:00
Juliusz Chroboczek
969354e9e5
Honour the kid field in JWT if present.
2024-05-11 12:29:30 +02:00
Juliusz Chroboczek
6c01925342
Ensure that keys can be parsed in SetKeys.
2024-05-09 18:54:03 +02:00
Juliusz Chroboczek
3a6d924374
Attempt all keys when validating stateless tokens.
2024-05-09 18:40:50 +02:00
Juliusz Chroboczek
f3ceb05033
Add Accept header to 415 replies.
...
Also fix return code in WHIP.
2024-05-09 17:48:17 +02:00
Juliusz Chroboczek
47528949e5
Update CHANGES.
2024-05-09 12:27:27 +02:00
Juliusz Chroboczek
9b9021b873
Update dependencies.
2024-05-09 12:25:20 +02:00
Juliusz Chroboczek
c1915cf3fc
Don't include group and name in token API.
...
The group and name are in the path, this avoids redundancies.
2024-05-09 00:46:52 +02:00
Juliusz Chroboczek
ea4086243b
Use UTC dates in token issuedAt field.
2024-05-08 17:25:28 +02:00
Juliusz Chroboczek
b925bae5de
Assume browsers support showModal.
2024-05-08 17:19:41 +02:00