Alessandro Ros and GitHub
5b9b6afcb8
replace errors.As with modern errors.AsType ( #5834 )
2026-06-05 09:56:06 +02:00
Alessandro Ros and GitHub
111302f9e3
use file name suffix for OS-specific code wherever possible ( #5787 )
2026-05-19 11:48:05 +02:00
Alessandro Ros and GitHub
e6c20adf28
prevent code injection in case of MTX_QUERY in hooks ( #5707 )
...
When MTX_QUERY is used explicitly in hooks, for instance "curl
http://something/?$MTX_QUERY ", it can be used to inject arbitrary
commands. MTX_QUERY is now url-encoded to prevent any abuse regardless
of the configuration.
2026-04-29 22:59:40 +02:00
Alessandro Ros and GitHub
679925484f
use cmd.Start instead of NewCmd ( #5706 )
2026-04-29 13:29:33 +02:00
Alessandro Ros and GitHub
c4fdd7c23a
use cmd.Start instead of NewCmd ( #5705 )
2026-04-29 12:53:27 +02:00
Alessandro Ros and GitHub
d423a71aaa
update linter settings ( #4790 )
2025-07-26 16:44:32 +02:00
Alessandro Ros and GitHub
81af4075f0
fix crash when ConfWatcher fails to initialize ( #4689 )
2025-07-05 10:59:57 +02:00
Alessandro Ros and GitHub
b329c4bbe8
replace New* with Initialize() ( #4345 )
2025-03-16 15:34:53 +01:00
8c1ed7254f
fix closing some custom commands on Windows ( #3981 )
...
* Bugfix: Rewrote addProcessToGroup. Fixed possible invalid process handle by using windows.OpenProcess instead. Fixes issue: 3980
* run gofumpt
---------
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com >
2025-01-11 20:40:25 +01:00
Alessandro Ros and GitHub
716660217d
remove deprecated build flags syntax ( #3930 )
2024-11-06 15:07:33 +01:00
Alessandro Ros and GitHub
44918fce0d
when stopping hooks, stop all their subprocesses too ( #3004 ) ( #3087 )
2024-02-29 22:42:11 +01:00
Dan Bason and GitHub
e8b19b82d5
in hooks, allow replacing placeholders with environment ( #3044 )
2024-02-19 09:00:58 +01:00
Alessandro Ros and GitHub
7437ee7a09
update golangci-lint ( #2868 )
2024-01-03 21:13:20 +01:00
3ecd79f076
RunOn.. commands - Propagate errors in restart configurations ( #2828 )
...
* RunOnX commands - Propagate errors in restart configurations
* apply gofmt
---------
Co-authored-by: James Bohnert <jbohnert@haivision.com >
Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com >
2023-12-26 13:06:58 +01:00
Alessandro Ros and GitHub
bedfa9651a
fix windows build ( #2360 )
2023-09-16 23:21:10 +02:00
Alessandro Ros and GitHub
ed77560811
add runOnDisconnect, runOnNotReady, runOnUnread ( #1464 ) ( #2355 )
2023-09-16 19:21:48 +02:00
Alessandro Ros and GitHub
659f19f8bb
enable errcheck ( #2201 )
2023-08-13 16:38:23 +02:00
Alessandro Ros and GitHub
128f2d3e20
print error that caused an external command to exit ( #1869 )
2023-05-27 19:28:07 +02:00
Alessandro Ros and GitHub
a0b973963d
allow using special characters in external commands ( #1652 ) ( #1868 )
...
on Windows, when using cmd.exe or a bat file as external command.
2023-05-27 18:20:06 +02:00
aler9
f1fb00b80f
update golangci-lint
2022-09-17 21:19:45 +02:00
aler9
3a81728096
on Linux/macOS, launch external commands directly without using the shell
2022-01-25 14:55:50 +01:00
aler9
1617d07ba3
do not wait for external commands to exit during runtime
...
wait for them during shutdown.
2021-12-21 12:43:45 +01:00
aler9
84735426eb
print a message when a custom command exits suddently
2021-12-08 21:23:45 +01:00
aler9
ebc201bda2
make regexp groups available to custom commands ( #642 )
2021-12-08 20:50:09 +01:00
aler9
76eb2c2c2b
fix lint errors
2021-11-22 15:09:03 +01:00
aler9
5ea4fdb764
run gofumpt
2021-11-15 20:09:07 +01:00
aler9
0d15e2772a
close custom commands with SIGINT again ( #495 )
2021-10-03 16:09:40 +02:00
aler9
d7f1c04711
close custom commands with SIGQUIT instead of SIGINT ( #495 )
2021-08-12 15:16:39 +02:00
aler9 and Alessandro Ros
ed375583d0
Implement an HTTP API to query and control the server
2021-08-07 19:20:39 +02:00
aler9
90e24b79cb
cleanup
2021-08-01 16:58:46 +02:00
aler9
6e64b4be22
update gortsplib
2021-03-14 17:27:04 +01:00
aler9
4f7daacdda
cleanup
2020-11-21 13:35:33 +01:00
aler9
7dc72f4490
fix compilation on windows
2020-11-11 10:56:18 +01:00
aler9
2c9e07376c
fix execution of external commands with quotes on Windows ( #113 )
2020-11-08 23:12:43 +01:00
aler9
58fe1cfe77
add docs
2020-11-05 12:37:16 +01:00
aler9
5facab1a48
move subpackages into internal/
2020-11-01 22:56:56 +01:00