528 Commits

Author SHA1 Message Date
Ingo Oppermann
c3b604cda2
Fix nil pointer dereference 2023-06-30 11:41:47 +02:00
Ingo Oppermann
d6a88cb0c5
Add /v3/cluster/healthy endpoint 2023-06-29 22:08:47 +02:00
Ingo Oppermann
d66bd61746
Fix tests and lint errors 2023-06-29 21:58:30 +02:00
Ingo Oppermann
6e156d0f3a
Allow to acquire certificates in multi-node cluster 2023-06-29 21:15:04 +02:00
Ingo Oppermann
2b58c11bb1
Fix cluster process update on metadata change 2023-06-28 16:26:36 +02:00
Ingo Oppermann
a6d454b03f
Add CORE_TLS_STAGING
Set this value to true in order to use the Let's Encrypt staging CA,
otherwise the production CA will be used, which is the default.
2023-06-28 11:55:56 +02:00
Ingo Oppermann
72a0566bc6
Add CORE_CLUSTER_STARTUP_TIMEOUT_SEC configuration value 2023-06-28 11:41:24 +02:00
Ingo Oppermann
64112ca2b0
Print log message if cluster is degraded 2023-06-28 11:32:13 +02:00
Ingo Oppermann
a86dc5c920
Fix make autocert manager available to followers 2023-06-28 10:47:07 +02:00
Ingo Oppermann
fff7f986a0
Merge HTTP and HLS middleware into session middleware 2023-06-28 10:41:29 +02:00
Ingo Oppermann
6c6fa33903
Add experimental unified session middleware 2023-06-27 22:17:58 +02:00
Ingo Oppermann
b6f7dae2f5
Show order for processes in the cluster DB 2023-06-27 21:17:56 +02:00
Ingo Oppermann
57c1e50d60
Don't collect sessions coming from other nodes in the cluster 2023-06-27 21:11:29 +02:00
Ingo Oppermann
89379b2acd
Add /v3/cluster/snapshot endpoint 2023-06-27 15:11:31 +02:00
Ingo Oppermann
dd128ac99b
Fix gathering of hostnames, add /v3/cluster/db/kv endpoint 2023-06-27 14:52:32 +02:00
Ingo Oppermann
4560b1a6ca
Add referrer check with glob pattern and . (dot) as separator 2023-06-27 11:03:21 +02:00
Ingo Oppermann
20b3f2af5e
Add test for encodec username in basic auth 2023-06-27 11:02:14 +02:00
Ingo Oppermann
ad53f3ab68
Fix missing unescape of basic auth username 2023-06-27 10:15:49 +02:00
Ingo Oppermann
9202f93bc2
Fix IAM user update when changing username 2023-06-27 10:14:22 +02:00
Ingo Oppermann
b78a2368b3
Add experimental challenge forwarder 2023-06-26 22:16:32 +02:00
Ingo Oppermann
7fc58454e4
Allow to cancel core startup 2023-06-26 21:02:31 +02:00
Ingo Oppermann
a4b0c4fc36
Add experimental LE certificate retrieval for cluster 2023-06-26 20:38:16 +02:00
Ingo Oppermann
ddb18a8c3c
Return error on reload on encountering an invalid identity 2023-06-26 14:05:22 +02:00
Ingo Oppermann
abfe4918b4
Loosen restrictions for IAM user names
The only restriction for an IAM username is that it cannot start with
a '$'. An username that contains a ':' must escape it with another ':'
for use in a token for RTMP or SRT.
2023-06-26 13:49:53 +02:00
Ingo Oppermann
6f47f96f6e
Get peer config via cluster API 2023-06-26 10:35:00 +02:00
Ingo Oppermann
7bb4103c00
Fix double close file in GetFile handler 2023-06-23 21:49:02 +02:00
Ingo Oppermann
37cac48223
Adjust returned API errors 2023-06-23 21:42:01 +02:00
Ingo Oppermann
f37896a1e3
Implement certmagic.Storage on cluster 2023-06-23 21:00:45 +02:00
Ingo Oppermann
fc49c97a9f
Fix tests 2023-06-22 22:02:59 +02:00
Ingo Oppermann
944d487730
Allow to send command to process on the cluster 2023-06-22 21:43:51 +02:00
Ingo Oppermann
f965d106d3
Add /v1/core/config endpoint to cluster API client 2023-06-22 20:30:35 +02:00
Ingo Oppermann
cbe6754b2f
Add /v1/core/config endpoint to cluster API 2023-06-22 16:33:06 +02:00
Ingo Oppermann
faf0aab53a
Update cluster API documentation 2023-06-22 16:21:13 +02:00
Ingo Oppermann
e5f0b3a57f
Add KV store in cluster DB 2023-06-22 16:20:09 +02:00
Ingo Oppermann
db00144cab
Clear locks only if not in emergency mode 2023-06-22 15:12:44 +02:00
Ingo Oppermann
a4d59a04b5
Add leader task to clear the expired locks 2023-06-22 14:12:02 +02:00
Ingo Oppermann
dc3e7afc52
Add locks on the cluster DB 2023-06-22 12:22:25 +02:00
Ingo Oppermann
b8a975b7c7
Add logging HTTP requests as single session 2023-06-21 16:46:35 +02:00
Ingo Oppermann
6826a0b22d
Only accept log commands 2023-06-21 16:37:57 +02:00
Ingo Oppermann
69e264f22c
Don't expose Stop() on collector, allow to close a session explicitely 2023-06-21 13:21:25 +02:00
Ingo Oppermann
b35ac9ccc3
Allow proxied range requests, /cluster/process mimic /process 2023-06-21 13:14:27 +02:00
Ingo Oppermann
a9b92e7f9a
Fix re-emitting Content-Length header if file doesn't exceed the minimum length 2023-06-21 12:04:36 +02:00
Ingo Oppermann
1f55c7d07e
Set default IAM domain if none provided 2023-06-21 09:08:25 +02:00
Ingo Oppermann
f0957e2815
Clarify log message 2023-06-20 22:51:11 +02:00
Ingo Oppermann
435adfb6ea
Return error if iam wants to be modified in cluster mode via non-cluster API 2023-06-20 22:40:36 +02:00
Ingo Oppermann
8283815dec
List anonymous user in GET /v3/cluster/iam/user 2023-06-20 20:31:23 +02:00
Ingo Oppermann
7565427f9a
Add GET /v3/iam/user endpoint 2023-06-20 20:27:51 +02:00
Ingo Oppermann
ee45c85c29
Fix logging, add json tags, fix create directories before copy/rename a file 2023-06-20 16:14:24 +02:00
Ingo Oppermann
694f51d566
Update API docs 2023-06-20 15:36:40 +02:00
Ingo Oppermann
9fc0bb0a64
Fix env variable for session log path pattern 2023-06-20 15:26:08 +02:00