215 Commits

Author SHA1 Message Date
Ingo Oppermann
d101a76e9e
Change anon user to localhost user only if DisableLocalhost is set 2023-03-08 15:21:55 +01:00
Ingo Oppermann
41eab6f40a
Use own type as context key 2023-03-08 14:24:53 +01:00
Ingo Oppermann
c60327c61d
WIP: group API 2023-03-08 09:19:48 +01:00
Ingo Oppermann
8755117e92
Add /api/v3/iam/user endpoints 2023-03-07 16:31:58 +01:00
Ingo Oppermann
b006840002
Merge branch 'dev' into iam 2023-03-06 10:24:56 +01:00
Ingo Oppermann
f345707c63
Update README 2023-02-23 10:23:32 +01:00
Ingo Oppermann
cbf15c7f2f
Merge branch 'main' into dev 2023-02-23 10:18:58 +01:00
Jan Stabenow
31dce12b8e
Mod updates build-files 2023-02-23 10:17:39 +01:00
Ingo Oppermann
f3de5a338b
Merge branch 'dev' into iam 2023-02-22 11:57:56 +01:00
Ingo Oppermann
5ad5edef73
Upgrade golang.org/x/net 2023-02-22 11:54:39 +01:00
Ingo Oppermann
1c04961fc1
Fix tests 2023-02-21 12:57:33 +01:00
Ingo Oppermann
d77e4d7160
Bump version to 16.12.0 2023-02-20 17:31:29 +01:00
Ingo Oppermann
469bc4ea26
Remove fmt.Printf 2023-02-20 17:19:12 +01:00
Ingo Oppermann
9c2691e8d0
Fix basic auth behaviour 2023-02-20 17:05:30 +01:00
Ingo Oppermann
8215c20ae6
Fix basic auth, disable localhost, replace template func 2023-02-17 17:27:39 +01:00
Ingo Oppermann
2df83c8032
Fix linter warnings 2023-02-17 10:37:22 +01:00
Ingo Oppermann
ad4f392bd0
user only for api: 2023-02-17 10:30:38 +01:00
Ingo Oppermann
1e74f11f5e
WIP: policy update 2023-02-16 21:47:56 +01:00
Ingo Oppermann
ca2fc5fe26
WIP: identity management and testing 2023-02-16 21:10:35 +01:00
Ingo Oppermann
acc4d7ec5a
WIP: verify policies for processes, rtmp, and srt. rewriter for local urls 2023-02-15 21:43:37 +01:00
Ingo Oppermann
74d0a96e1c
Merge branch 'dev' into iam 2023-02-14 19:08:37 +01:00
Ingo Oppermann
05a176370a
Fix missing filesystem metadata and middlewares 2023-02-14 16:16:35 +01:00
Ingo Oppermann
a9459bda7c
WIP enforcing policies on process level 2023-02-14 15:23:50 +01:00
Ingo Oppermann
a186307746
Add policy enforcer for SRT connections 2023-02-13 09:51:26 +01:00
Ingo Oppermann
eac49ad11a
Define default policies to mimic current behaviour 2023-02-10 15:14:30 +01:00
Ingo Oppermann
312f65d110
WIP: add verfiers, fix bugs, implement middleware, support rtmp 2023-02-09 21:33:45 +01:00
Ingo Oppermann
11e55fc2c7
WIP: add casbin to access manager, allow to persist identities 2023-02-06 17:07:20 +01:00
Ingo Oppermann
8f1ff2d1a2
WIP: designing interfaces, detecting identity, enforcing policies 2023-02-03 17:43:06 +01:00
Ingo Oppermann
e9caa1b033
Merge branch 'dev' into casbin 2023-02-02 09:51:58 +01:00
Ingo Oppermann
1d30d9eecd
Fix use of deprecated function 2023-02-01 16:24:57 +01:00
Ingo Oppermann
2a3288ffd0
Use abstract filesystem for stores 2023-02-01 16:09:20 +01:00
Ingo Oppermann
49b16f44a8
Add templates for s3 filesystems 2023-01-31 15:54:40 +01:00
Ingo Oppermann
e3d25b1bdd
Add check for duplicate filesystem names 2023-01-31 15:53:48 +01:00
Ingo Oppermann
f519acfd71
Add S3 storage support 2023-01-31 14:45:58 +01:00
Ingo Oppermann
c05e16b6a0
Add tests 2023-01-24 21:04:24 +01:00
Ingo Oppermann
8c0f2ebabc
Add tests 2023-01-24 16:45:28 +01:00
Ingo Oppermann
a8e86a7111
Add tests 2023-01-24 16:08:11 +01:00
Ingo Oppermann
ad3538d224
Add tests 2023-01-24 13:40:36 +01:00
Ingo Oppermann
59b7978470
Add tests 2023-01-24 11:22:31 +01:00
Ingo Oppermann
b2cd8f7133
Allow probe with individual timeout 2023-01-23 17:09:55 +01:00
Ingo Oppermann
505fbff03f
Add tests 2023-01-23 11:42:17 +01:00
Ingo Oppermann
0147651de6
Extend placeholders
1. Allow variables in placeholders for parameter values, e.g.
   {rtmp,name=$processid}. The variable starts with a $ letter.
   The recognized variables are provided with the Replace func.

2. The template func recieves the process config and the name of
   the section where this placeholder is located, i.e. "global",
   "input", or "output".
2023-01-20 13:38:33 +01:00
Ingo Oppermann
e374f83377
Fix config timestamps
created_at represents the time when the configuration has been persisted to disk.
loaded_at represents the time when the configuration has actually been used.

If created_at is larger than loaded_at, then the Core needs a reload in order
to apply the latest configuration.

if created_at is lower than laoded_at, then the Core applied the latest
configuration.

The value of updated_at is irrelevant and shouldn't be used.
2023-01-19 16:13:53 +01:00
Ingo Oppermann
5b01fb55ef
Remove dependencies from core 2023-01-19 11:54:59 +01:00
Ingo Oppermann
311defb27c
Fix /config/reload return type 2023-01-19 11:46:45 +01:00
Ingo Oppermann
f0ff3b89c1
Allow RTMP token as stream key in the path 2023-01-13 11:12:21 +01:00
Ingo Oppermann
05cc764ded
Change names of struct fields in adaptor 2023-01-13 10:19:41 +01:00
Ingo Oppermann
c9c965b38e
Merge branch 'dev' into casbin 2023-01-11 21:10:31 +01:00
Ingo Oppermann
ea79b87236
Add format annotation for integer types for swagger documentation 2023-01-11 21:05:40 +01:00
Ingo Oppermann
1ab66bf636
merge 2023-01-11 20:37:47 +01:00