summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)Author
2023-04-03fix(CI): Disable rate limiting protectionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-31fix(conversation-avatars): Fix integration test after renaming of the system ↵Joas Schilling
message Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-31fix(CI): Force enable 3rdparty apps in integration testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-20Remove unused propertyVitor Mattos
The property config isn't used at this class Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-17Merge pull request #9066 from ↵Joas Schilling
nextcloud/feature/noid/mark-notifications-as-read-in-receive-messages Allow to receive messages without marking notifications as unread
2023-03-16Allow to retrieve messages without marking notifications as readMarcel Müller
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-03-14fix(mentions): Only allow to mention groups which are members of the ↵Joas Schilling
conversation Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-14Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-13fix(notifications): Only send reply notification when also mentioningJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-13Implement tests on method searchGroupsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-13Suggest group mentions as wellJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-11chore(deps-dev): Bump phpunit/phpunit in /tests/integrationdependabot[bot]
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.4 to 9.6.5. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.4...9.6.5) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08Merge pull request #8846 from ↵Joas Schilling
nextcloud/feature/send-notification-when-get-upload-problem Send notification when get upload problem
2023-03-07fix(polls): Remove polls also when deleting the chat historyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-06fix(dashboard): Filter out breakout rooms from the Dashboard API listJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-05Bump phpunit/phpunit from 9.6.3 to 9.6.4 in /tests/integrationdependabot[bot]
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.3 to 9.6.4. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/main/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.3...9.6.4) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03chore: Add Nextcloud 27 support on masterJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-03Merge pull request #8907 from nextcloud/feature/document-commandsJoas Schilling
Document occ commands
2023-03-02Add message to notificationVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-02* Convert arguments and options to table formatVitor Mattos
* 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>
2023-03-01Document commandsVitor Mattos
* created developer command to document commands Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-01Test to verify if a command is documentedVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-03-01Remove Windows supportVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-28Replace linux command by PHP native implementationVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-28Remove unecessary request to mock serverVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-28Wait by mock serverVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-28fix(reactions): Fix reacting to people that leftJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-27Change type of notificationVitor Mattos
Change type of notification Add the new type to be deleted Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-27Fix typoVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-27fix(CI): Adjust unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-27Fix message type of files shared from mobile clientsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-24fix(CI): Also use unordered comparison for the automatic assignmentJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-24Send notification when get upload problemVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-24Restrict available APIs for breakout roomsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-24Merge pull request #8838 from ↵Joas Schilling
nextcloud/bugfix/noid/make-breakout-room-tests-more-reliable fix(CI): Make the breakout room tests more reliable by ordering locally
2023-02-24Merge pull request #8836 from nextcloud/feature/remove-no-more-necessary-methodJoas Schilling
Remove isSignalingDev method
2023-02-24fix(CI): Make the breakout room tests more reliable by ordering locallyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-24feat(recording): Add a shorter subject for the call recording notificationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23Remove isSignalingDev methodVitor Mattos
Replaced by a mock/fake server Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-23Extend integration testJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-23Merge pull request #8805 from nextcloud/bugfix/8760/remove-avatar-capabilityJoas Schilling
Remove avatar capability
2023-02-22Return error when trying to stop an unknown recordingDaniel Calviño Sánchez
The Nextcloud server expects a notification to be sent by the recording server once a recording is stopped. However, if the recording server does not know about certain recording the Nextcloud server did not change the recording status, and the recording was kept active (even if it was not). To solve that now the recording server returns a 404 when trying to stop an unknown recording (although not if the recording is being stopped), and in that case the Nextcloud server updates the recording status to "failed". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-22Add failed status to recordingsDaniel Calviño Sánchez
Although recordings should not fail in some cases they could (for example, if the configuration is wrong, the disk is full...). A new recording status, "failed", has been added to notify that situation to the Nextcloud server from the recording server. Typically call participants will not be able to do anything about the failure, so the clients can just show a notification to the moderators and hint about asking the system administrators. In any case, even if the recording status is "failed" further recordings can be started, which will behave as if the recording was started from the "none" status. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-22Add "starting" values for recording statusDaniel Calviño Sánchez
As starting the recording can take some time "starting" values were added to signal that an audio or video recording is starting. The status will be changed from NONE to STARTING_VIDEO/AUDIO by the Nextcloud server when the request to start the recording succeeds, and then the recording status will be set to VIDEO or AUDIO by the recording server once the recording actually started. Stopping the recording, on the other hand, should be quite fast, so no STOPPING status were added. The system messages were also adjusted to be sent only once the recording really started or stopped. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-22Include participant in start/stop requests to the recording serverDaniel Calviño Sánchez
The participant will be in turn forwarded again to the Nextcloud server once notified that the recording started or stopped so it retains the proper participant (for example, in system messages) rather than using the recording server. The actor is optional when stopping the recording, as the recording could be implicitly stopped when the last participant leaves the call. Nevertheless, this causes the system message to be assigned to a guest (as the request comes from the recording server), which is unexpected, so this may need to be adjusted. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-22Add optional participant parameter to the "callRecording" change eventDaniel Calviño Sánchez
This makes possible to set a different participant than the current user as the participant who started or stopped the recording, which is needed now that the recording status is changed in a request from the recording server. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-22Change recording status when notified by the recording serverDaniel Calviño Sánchez
Before the recording status was immediately changed by the Nextcloud server when a recording was started or stopped. However starting or stopping (but mostly starting) can take some time due to the initialization of the display and audio device, starting the browser, joining the call... so the recording status did not match the actual status. To address that now the recording server sends a notification back to the Nextcloud server when the recording actually started or stopped, and only then the Nextcloud server changes the recording status. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-22Replace hardcoded URL with variableDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-22Prefix fake endpoint to be used from integration testsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-21Merge pull request #8806 from ↵Joas Schilling
nextcloud/bugfix/8759/change-recording-notification-object-type Change notification object type for call recordings to allow better handling in mobile clients