summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2023-02-02Merge pull request #8660 from ↵Joas Schilling
nextcloud/feature/8610/add-endpoint-to-return-all-participants Add an endpoint to return all participants
2023-02-01Fix potential guest supportJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-01Merge pull request #8651 from ↵Vitor Mattos
nextcloud/bugfix/noid/only-filter-attendees-when-being-a-member Only filter mentions for conversation members
2023-02-01Merge pull request #8656 from ↵Joas Schilling
nextcloud/bugfix/noid/notify-participants-about-conversation-changes fix(conversations): Notify participants about conversation changes so…
2023-02-01Merge pull request #8477 from ↵Joas Schilling
nextcloud/send-signaling-messages-when-starting-and-stopping-breakout-rooms Send signaling messages when starting and stopping breakout rooms
2023-02-01Add an endpoint to return all participants of a room with its breakout roomsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-31fix(conversations): Notify participants about conversation changes so they ↵Joas Schilling
refresh the list Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-31fix(polls): Don't allow to create polls in changelog conversationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-31Only filter mentions for conversation membersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-31Clean breakout room state after stopping themDaniel Calviño Sánchez
When the breakout rooms are stopped the lobby is enabled again in them. However, as it was first enabled and then the breakout rooms were stopped if the participants updated the room data before switching back to the parent room the lobby was briefly shown. To prevent that the breakout rooms should be stopped and, then, the lobby should be enabled again. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-01-31Add "switchto" to the required signaling server featuresDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.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-30Return the rooms when possibleJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30Extract the formatter into a separate classJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-26Merge pull request #8602 from nextcloud/feature/stop-recording-after-end-callJoas Schilling
Stop recording after end call
2023-01-25Stop recording after end callVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-25Introduce a "former one-to-one" conversation typeJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24Merge pull request #8550 from nextcloud/feature/notify-recording-storedJoas Schilling
Notify recording stored
2023-01-24Log the exceptionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24Only kick the session we want to remove, not anyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24Only do previous participant work when we actually have a sessionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24Don't load any session when we don't have oneJoas Schilling
Previously this loaded a random/parallel session, which meant we would kick that session (parallel mobile client) etc. while joining. If you had timing luck, the session would be reused and then when you leave the conversation on either device the other device would loose it's session as well. Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24Merge pull request #8587 from ↵Joas Schilling
nextcloud/bugfix/noid/only-register-maps-interaction-when-allowed Only register Maps plugin when allowed to use Talk
2023-01-24Don't break the maps app with talks files sidebarJoas Schilling
Unsure why, but for now it might be easier to just disable it Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-23Only register Maps plugin when allowed to use TalkJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-23Fixes after code reviewVitor Mattos
https://github.com/nextcloud/spreed/pull/8550#discussion_r1084214748 https://github.com/nextcloud/spreed/pull/8550#discussion_r1084202960 https://github.com/nextcloud/spreed/pull/8550#discussion_r1084201311 Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-23Convert permission from public page to no admin requiredVitor Mattos
https://github.com/nextcloud/spreed/pull/8550#discussion_r1084196825 Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-23Notify alwaysVitor Mattos
https://github.com/nextcloud/spreed/pull/8550#discussion_r1084194777 Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-20perf(PHP): Use static closures for registrationsChristoph Wurst
Micro performance optimization as it allows PHP to GC the surrounding class earlier when `$this` isn't bound to the closure. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-20Don't throw/error when the recording was stopped in parallelJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-19fix(test): Don't require a specific order of breakout rooms on the APIJoas Schilling
Breakout rooms are created all within one second, and all their last activity is the same second, so the list might be wrongly ordered in postgres. Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-19fix(CI): More sorting for postgresJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-18Fix share idVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-18Prevent duplicate shareVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-18Fixes to share stored recordingVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-17CHange to more specific textVitor 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-17Fix share file to roomVitor 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-16Fix room name and integration testVitor 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-14Refactors after code reviewVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-14Parse stored recording notificationVitor 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-06Merge pull request #8527 from nextcloud/techdebt/noid/hello-php8Joas Schilling
Use PHP8 constructor promotion in breakout rooms code
2023-01-05Use PHP8 constructor promotionVitor Mattos
Close #8522 Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-05refactor(breakout): Use PHP8 constructor promotionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-05Create the Room object from available dataJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-05Merge pull request #8525 from nextcloud/feature/move-recording-methodsJoas Schilling