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/tests/php
AgeCommit message (Collapse)Author
2022-06-02Add a capability for the unified-searchJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-16Cache display name of owner as wellJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-22Add a unit test for getParticipantsByNotificationLevelJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14Fix 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-02-07Add a capability for conversation permissionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-24Recognize voice messages, object and file shares as unread messagesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-24Don't force signaling mode when HPB trial is usedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-15Make it explicit when the participant list changedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-15Only for guests and self-joined users disconnecting is "leaving"Joas Schilling
So only trigger a disinvite in those cases Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-10Merge pull request #6427 from nextcloud/integration-tests-for-invitesJoas Schilling
Start with integration tests for invites
2021-11-03Use public API of trusted domain helperJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-03Fix protocol handling (should this really be done here?)Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-03Add parsing of "end call for everyone" summaryJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-27Always allow guests to start a call in video verificationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-26Limit URLs to trusted domains for nowJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-25Merge pull request #6338 from ↵Joas Schilling
nextcloud/feature/noid/allow-to-opt-out-of-call-notifications Allow to opt out of call notifications
2021-10-22Use typed eventJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-21Introduce event so other apps can override the list of TURN servers.Joachim Bauch
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2021-10-18Replace old type constants with new onesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13Replace deprecated method and remove double to nonexistent methodVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-11Add API to opt out of call notificationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07Move PERMISSIONS_MOFIDY_* constants to Attendee classJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07Split publishing media into audio and video after clarifying with the HPBJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07Remove moderator option and clear custom permissions when setting the ↵Joas Schilling
conversation permissions Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07Fix permission handling in unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07Introduce different layers for permissionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07Rename and extend constants and methods for the new permissionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07Allow setting publishing permissions for all usersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-06Merge pull request #6308 from ↵Joas Schilling
nextcloud/feature/1328/job-to-remove-file-room-of-removed-file Implement remove file room of removed file
2021-10-05Remove property of class to prevent maintain stateVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio> Question Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-04Merge pull request #6105 from nextcloud/enh/5723/sending-sharesJoas Schilling
Add sending room shares support
2021-10-04Merge pull request #6300 from ↵Joas Schilling
nextcloud/bugfix/noid/ignore-timed-out-sessions-on-notifications Ignore sessions older than 30 seconds on notifications again
2021-10-04Implement tests and fix code after test implementationVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-09-30Fix CSJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-30Ignore sessions older than 30 seconds on notifications againJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-29TestsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio> Update tests/php/Chat/ChatManagerTest.php Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2021-09-21Review fixesGary Kim
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-09-20Set share owner properlyGary Kim
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-09-20Add sending room shares supportGary Kim
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-09-20Add a counter for the direct mentionsJoas Schilling
This allows the UI can show the user bubble depending on user vs. all mentions Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-17Merge pull request #6234 from nextcloud/fix-remove-warnings-on-phpunit9.5.6Joas Schilling
Fix: remove warnings on phpunit9.5.6
2021-09-17Change from willReturnCallback to willReturnMapVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-09-17Add unit tests for parsing geo location system messagesDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-09-15Fixes to remove warnings when use phpunit 9.5.6Vitor Mattos
Replace method at by withConsecutive and willReturnOnConsecutiveCalls and test the count total call times Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-09-15Fixes to remove warnings when use phpunit 9.5.6Vitor Mattos
Replace method at by withConsecutive and willReturnOnConsecutiveCalls Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-09-15Fixes to remove warnings when use phpunit 9.5.6Vitor Mattos
Replace method at by withConsecutive and use a condition to prevent error when not has expected message. Removed the expects because the test already validates the input parameters and the expected result Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-09-15Fixes to remove warnings when use phpunit 9.5.6Vitor Mattos
Replace method at by withConsecutive and use a condition to prevent error when not has expected message Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-09-15Replace deprecated function by other aproachVitor Mattos
Fixes to remove warnings when use phpunit 9.5.6 Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-09-14Unify handling of deleted usersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>