skalidindi53
34f46f67b0
fix: duplicate stun and turn servers cannot be added
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
1 year ago
Joas Schilling
1ccbf67da2
chore: Run SPDX convertor
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
f28f7e6354
fix(tests): Clean up unit test code
- static data providers
- typed methods that consume data providers
- type intersection with MockObject
- move away from deprecated methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Vitor Mattos
8ca055cc68
* Convert arguments and options to table format
* Add the markdown occ to mkdocs
* Add GitHub Action to check if the documentation is up to date
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
0b5268ebdc
Document commands
* created developer command to document commands
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
e088fcf40b
Test to verify if a command is documented
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Joas Schilling
a22a546401
Adjust coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Daniel Calviño Sánchez
b00cf0e38c
Add schemes to turn:delete OCC command
As no scheme could be set when deleting a TURN server all TURN servers
matching the server and protocols were deleted regardless of their
scheme.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago
Daniel Calviño Sánchez
4d3dcf866d
Add schemes to turn:add OCC command
Although it was possible to add TURN servers with OCC commands they had
no scheme set, so in practice they always used "turn". If a different
scheme had to be set that had to be done afterwards from the UI.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago
Vitor Mattos
4b1afac376
Replace deprecated method and remove double to nonexistent method
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Joas Schilling
164da758ee
Remove talk:room:* unit tests as they don't work anymore and should be integration tests mostly anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
71caa05f1c
Import exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
9357f4672d
Move the validation and preparation of the name to the RoomService
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
31c20949b4
Introduce a RoomService to handle creation of Rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Daniel Rudolf
0b13f861f8
Move talk:room:* command and unit test DI to traits
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
6 years ago
Daniel Rudolf
dd1e5c5be5
Fix PHPUnit test of talk:room:remove command
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
6 years ago
Daniel Rudolf
df3d03c4ab
Fix PHP code styling using `composer run cs:fix`
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
6 years ago
Daniel Rudolf
5cb784bde7
Add PHPUnit tests for talk:room:* commands
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
6 years ago
Joas Schilling
84d42604e6
Run cs:fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
80357681e6
Update master php testing versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
d4fc586f1a
Bye Spreed, hello Talk!
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Denis Mosolov
5fd613c7ba
Add occ commands to work with TURN/STUN/Signaling servers
Signed-off-by: Denis Mosolov <denismosolov@gmail.com>
7 years ago