summaryrefslogtreecommitdiffstats
path: root/tests/php
AgeCommit message (Collapse)Author
2023-02-02fix(CI): Creation of dynamic property is deprecatedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-31Do not send "switchto" messages for breakout rooms without sessionsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-01-31Send signaling message when starting or stopping breakout roomsDaniel Calviño Sánchez
When the breakout room status changes a "switchto" message is sent to all the active sessions in either the parent or the breakout rooms (depending on whether they are being started or stopped) with the token of the room that they have to switch to. When the breakout rooms are started the message is sent only to non moderators, as moderators do not have a single breakout room assigned. On the other hand, when the breakout rooms are stopped the message is also sent to all moderators (who are in a breakout room and not already in the parent room), as all participants need to switch to the parent room. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-01-31Ignore messages in other rooms when asserting that a message was sentDaniel Calviño Sánchez
When asserting that a message was sent to the signaling server all the requests were validated before looking for the expected one. As the requests include the token of the room all the requests were expected to be sent to the same room; otherwise any request sent to other room would make the assert fail. Now the requests to other rooms than the room of the actual message being asserted are ignored, which will make possible to sent messages to different rooms in the same test. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-01-31Extract expected URL to its own variableDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-01-25Introduce a "former one-to-one" conversation typeJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24Log the exceptionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-18Fix unit testsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-17Move dismiss stored notification to specific endpointVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-16Add dismiss recording notificationVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-14Fix unit testsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-14Notify recording storedVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-05Merge pull request #8525 from nextcloud/feature/move-recording-methodsJoas Schilling
2023-01-04Move methods of Recording from RoomService to RecordingServiceVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-04Allow to apply a new attendee map later onJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04Merge pull request #8492 from nextcloud/feature/store-recordingJoas Schilling
2023-01-04Also check the expiration on all other renderingsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04Fixes after code reviewVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-03Changes after code reviewVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-03Remove the possibility to change the allowed mime types by settingVitor Mattos
https://github.com/nextcloud/spreed/pull/8492#discussion_r1058561108 Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-02Merge pull request #8494 from nextcloud/feature/expose-avatar-versionJoas Schilling
2023-01-02Merge pull request #7939 from nextcloud/bugfix/7238/dont-return-deleted-fileJoas Schilling
2023-01-02Update tests/php/Service/AvatarServiceTest.phpJoas Schilling
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-12-30Add more tests and describe the datasetsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-29Add unit testVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-28Cover method with unit testVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-28Move default mimes to configVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-27Test get content from file arrayVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-27Test validate file formatVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-27Test sanitize file nameVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-27Moved store to RecordingServiceVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-26Fix file headerVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-26Fix unit testsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-26Rename file to be equals to service classVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-23Move SIPBridge validator to serviceVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-21* Remove duplicated codeVitor Mattos
* Rename method * Remove unused property Signed-off-by: Vitor Mattos <vitormattos@users.noreply.github.com>
2022-12-21Increase the test coverage and fix return of methodVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-21Moved tests from MessageParser to ChatManager test classVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-21Implement unit test and make fixes after thisVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-16Merge pull request #8446 from nextcloud/feature/toggle-call-recording-statusJoas Schilling
2022-12-12Moved the logic to check if recording is enabled to service methodsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-12Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09Toggle call recording statusVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-08Split record capability in feature and configVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-08Split recording capabilityVitor Mattos
Now we have a hard capability called recording-v1 and a switable capability by config called recording Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-08Add capability to toggle recordingVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-07Add a config to disable breakout roomsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-07Fix unit testJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-07Simplify the complexity of the deleting methodsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-07Remove importsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>