19 Commits

Author SHA1 Message Date
d384b73c6e Sandbox (#1444)
* Add "isInDirectory"
* Process stream sources must be located in sandbox_dir
2025-09-17 21:28:58 +02:00
37984c16a1 Librespot stream sources can be added via RPC 2025-09-11 21:24:36 +02:00
0d32b5864b Add Parameter and Result struct 2025-06-06 10:21:48 +02:00
65cc47c1af Add RPC description 2025-06-06 10:21:48 +02:00
70d7b97026 Fix warnings 2025-06-06 10:21:48 +02:00
92cc5d4e10 Log auth error 2025-06-06 10:21:48 +02:00
035867d809 Authentication for streaming clients 2025-06-06 10:21:48 +02:00
e480268097 Add "requiresAuthx" functions 2025-06-06 10:21:48 +02:00
a72c6948b1 Add "General.GetRPCCommands" RPC command 2025-06-06 10:21:48 +02:00
42f4c39e6c Read users and roles, remove JWT 2025-06-06 10:21:48 +02:00
8e9806f35c controlscript must be located in plugin_dir 2025-01-21 22:25:04 +01:00
be266c07ce Add white list for "Stream.AddStream" 2025-01-20 12:29:51 +01:00
61bda79158 Reformat code 2025-01-19 22:09:17 +01:00
9254be1a8f Add back restricted Stream.AddStream functionality (#1331)
* Allow back Stream.AddStream but don't allow a process stream type

* Don't allow controlscript parameters when creating streams through RPC

* Added back documentation for Straem.AddStream and Stream.removeStream

* Fixed checking controlscript parameter

It is actually a property of the streamUri URI instead of a separate parameter

* Small doc update to clarify things

* Fixed missing doc delimiter

* Removed unused checkParamsNotAllowed method
2025-01-19 21:57:25 +01:00
ea07cb715d Fix RPC error results 2025-01-15 22:41:46 +01:00
9e6009cad0 Fix CVE-2023-36177 2025-01-15 21:51:54 +01:00
8ea1667331 Remove "ressource" parameter 2025-01-06 20:47:35 +01:00
cfe309087e Fix compile error 2024-12-19 22:44:51 +01:00
a0d88e8856 Move control requests into Request factory 2024-12-19 22:44:51 +01:00