Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-03-21Do not load the session in getParticipantByActor() as no caller needs itJoas Schilling
Also fixes a problem with MariaDB ONLY_FULL_GROUP_BY and Oracle Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21Do not load the session in getParticipantByAttendeeId() as no caller needs itJoas Schilling
Also fixes a problem with MariaDB ONLY_FULL_GROUP_BY and Oracle Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21Group on PHP level as MariaDB can not handle this correctly:Joas Schilling
MySQL docs: Reject queries for which the select list, HAVING condition, or ORDER BY list refer to nonaggregated columns that are neither named in the GROUP BY clause nor are functionally dependent on (uniquely determined by) GROUP BY columns. MariaDB docs: For SELECT ... GROUP BY queries, disallow SELECTing columns which are not referred to in the GROUP BY clause, unless they are passed to an aggregate function like COUNT() or MAX(). Produce a 1055 error. Ref https://jira.mariadb.org/browse/MDEV-11588 Similarly Oracle seems to fail with the query before Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-17Fix participant list not refreshed when general permissions changeDaniel Calviño Sánchez
When the room or call permissions are set the permissions of all participants could be modified. However, without HPB the participant list was not updated in this case, so the participants may not be aware of the change until up to 30 seconds, when the participant list was automatically fetched again. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-03-17Fix permissions not updated in HPB when general permissions changeDaniel Calviño Sánchez
When the room or call permissions are set the permissions of all participants could be modified. However, in this case the signaling permissions were not updated, so the signaling server could allow or reject media from participants that were already in the room when the permissions changed. Now a message to update all the participants currently in the room is sent to the signaling server when the room or call permissions are set. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-03-15Inject the attendee as well when loaded alreadyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-15Inject the room instead of querying it over and over againJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14Merge pull request #6992 from ↵Joas Schilling
nextcloud/fix-permissions-not-honoured-if-updated-right-before-joining-a-call Fix permissions not honoured if updated right before joining a call
2022-03-14Merge pull request #6985 from ↵Joas Schilling
nextcloud/feature/6971/change-returns-of-reaction-api Feature/6971/change returns of reaction api
2022-03-14Fix permissions not honoured if updated right before joining a callfix-permissions-not-honoured-if-updated-right-before-joining-a-callDaniel Calviño Sánchez
When the local participant joins a call the sent media is based on the last fetched permissions. However, once the call is joined the sent media is based on the participant permissions updates notified by the signaling messages. When the HPB is used the "participantPermissions" property of the "participants->update" signaling messages is used. Those messages are sent when the permissions are modified and also when a participant joins a call, but in this last case it did not include the expected property. Due to this, if the permissions of the local participant were updated right before the participant joined the call and the participant data was not fetched again yet the previous permissions would be used. If the message sent when the permissions were updated was received before actually joining the call then it would be ignored, and although the message sent due to joining the call would be processed the WebUI would not notice the permission change, as the message did not provide them. To solve that now the "participants->update" message sent when joining a call also includes the permissions. This way, even if the previous permissions are initially used when joining the call as soon as the signaling message sent due to joining the call is received the WebUI will adjust the sent media to the new permissions. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-03-11Use 2 different system messages for the deleted reaction and the action of ↵Joas Schilling
deleting Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10Fix system messages about reaction deletionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10Add a system messageJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10Move validate logic to inside of methodsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-10Change returns of reaction APIVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-08Emit a event so the HPB can send the update to the participantsbugfix/noid/combine-multiple-system-messages-updatesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-08Combine last_activity and last_message update where possibleJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-08Only update the last_message and last_activity onceJoas Schilling
Especially when adding multiple system messages we updated the room data way too often. Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-04Deduplicate getting the room and participant in case some annotations are ↵Joas Schilling
combined Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-03Return empty array when comment haven't reactionsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-02Merge pull request #6932 from ↵Joas Schilling
nextcloud/techdebt/noid/use-transaction-for-internal-signaling Use transactions for internal signaling
2022-03-02cs:fixtechdebt/noid/use-transaction-for-internal-signalingVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-02Reset all in_call flags in one gobugfix/noid/reset-in_call-flag-in-one-queryJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-01Merge pull request #6945 from ↵Joas Schilling
nextcloud/techdebt/noid/improve-activity-generation Only calculate the room name once instead of loading all participants
2022-02-28Only calculate the room name once instead of loading all participantstechdebt/noid/improve-activity-generationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-25Handle all user status changes in case of "End meeting for all" in 1 executionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-25Use transactions for internal signalingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-24Wrap notification generation in a transactionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-23Merge pull request #6913 from ↵Joas Schilling
nextcloud/feature/6874/define-if-job-is-time-sensitive Define if job is time sensitive
2022-02-22Define if job is time sensitiveVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-22Merge pull request #6912 from nextcloud/feature/remove-unused-app-configJoas Schilling
Remove unused app config
2022-02-18Remove unused app configVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-17Return the remote token and server so we can compare in testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17Add an API endpoint to get all invitesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17Change database structureJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15Change return formatVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15Make the status code more specificVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15Fix typo and changes to use ReactionManagerVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15Fix parsing of notificationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15Fix notification handling to notify about reactions in case of "Always notify"Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15Fix error log spam when running integration testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15Implement tests to validate notify reacted messageVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15NotifyVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15Add capabilitiesVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15Method moved to reactionManager and small fixesVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15Update lib/Controller/ReactionController.php Vitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-02-15Update lib/Controller/ReactionController.php Vitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio> Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-02-15Api changes to react to a message: reactions retrieveVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15Api changes to react to a message: reactions deleteVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15Api changes to react to a message: reactions addVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>