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
AgeCommit message (Collapse)Author
2019-12-20Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-20Allow to start conversations with circlesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-06Merge pull request #2502 from nextcloud/bugfix/noid/typed-eventsJoas Schilling
Typed events
2019-12-06Bump default Docker image used in helper script to run integration testsDaniel Calviño Sánchez
Support for PHP 7.1 was dropped in server. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-04Add a dedicated method to the modelJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-04Add a flag to messages if they can be replied toJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-04Add constants for event names and use patternJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-04Typed events for TalkJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-04Fix sharing integration tests and loading sharesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-28Fix warnings and errors with phpunit 8Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-28Update master php testing versionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-18Bump behat/behat from 3.3.1 to 3.5.0 in /tests/integrationdependabot-preview[bot]
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.3.1 to 3.5.0. - [Release notes](https://github.com/Behat/Behat/releases) - [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md) - [Commits](https://github.com/Behat/Behat/compare/v3.3.1...v3.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-07Update lobby acceptance testsIvan Sein
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2019-10-07Merge pull request #2275 from ↵Joas Schilling
nextcloud/adjust-integration-test-to-changes-in-access-to-shares-in-server Adjust integration test to changes in access to shares in server
2019-10-07Do not run tests when PHP files of other types of tests are modifiedDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-07Adjust integration test to changes in access to shares in serverDaniel Calviño Sánchez
Now a user with access to a file is able to get any of its shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-10-04Fix "MessageTooLongException" when mentioning someone in a long commentJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-02Merge pull request #2245 from nextcloud/bugfix/2237/fix-minor-php-issuesDaniel Calviño Sánchez
Fix minor php issues
2019-10-01Correctly set the unread counter when readding a user to a one-to-one ↵Joas Schilling
conversation Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-01More IShare::TYPE_* fixesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26Add integration tests for the "user_added" system messageDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add integration tests for getting the room for link share with passwordDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Correctly check if the share has a password and if it was entered correctly.Joas Schilling
This prevents joining the room for a file shared by link and protected by password if the password has not been entered yet. Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26Add acceptance tests for chats in a file shared by link with a passwordDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add acceptance tests for chats in a file shared by linkDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add acceptance tests for mentions in the public share pageDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add acceptance tests for mentioning users in the Files appDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add acceptance tests for registered users in the public share pageDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add basic acceptance tests for the Talk sidebar in the public share pageDaniel Calviño Sánchez
The "I see that the current page is the shared link I wrote down" step is defined in the server but needs to be extended in Talk to also set (in the tests) the Talk sidebar as the ancestor of the chat view. In order to extend a step the whole Context that it belongs to must be extended. Note, however, that the step in the child Context should not include any "Given", "When" or "Then" annotation, as it would clash with the step defined in the parent Context (the "Override" annotation is simply informative, as it is ignored by Behat); as long as the method has the same signature the step from the child Context will be used instead if the step from the parent Context. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add integration tests for mentions in a file shared by linkDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add integration tests for self-joined users in files shared by linkDaniel Calviño Sánchez
Self-joined users and guests can join the room for a file if the file is shared by link. In order to check that, however, the share token should have been previously stored in the session, as the room is linked to the file id and users without direct access to a file can not find out if the file is shared by link or not. Therefore self-joined users and guests must get the room for the share (which stores the share token in the session) before being able to join the room. Besides that, in the case of self-joined users they must be logged in too. Otherwise the session is regenerated on each new request, which prevents getting the share token stored in a previous request. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add integration tests for files shared by linkDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Add support for public shares to file roomsDaniel Calviño Sánchez
Until now file rooms were available only to users with direct access to the file. Now file rooms are available to any user or guest too if the link is publicly shared (with a link share, for example). Public shares are identified by a share token instead of a file id, so a new endpoint, which is a counterpart of FilesController but for share tokens, was added. The file room, however, is still associated to the file id like before. When checking if a participant can join a room if the current user is a user without direct access to the file or a guest it is not even possible to know if the file id belongs to a publicly shared file. Due to this when the room is got for a share token the share token is stored in the session and then used in following requests when checking whether the participant can join a room or not. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-19Populate the canStartCall value and add a capabilityJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-19Merge pull request #2197 from ↵Joas Schilling
nextcloud/bugfix/2194/unify-avatar-handling-of-guests Unify the handling of the guest avatars
2019-09-19Unify system messages with mentions of guest users in ordinary messagesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-13Unify lobby with mobile clientsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-05Bye Spreed, hello Talk!Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-05Update the master version and test appJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-04Merge pull request #2148 from ↵Joas Schilling
nextcloud/bugfix/2141/use-new-richobject-type-guest Use the new rich object type guest
2019-09-02Use the new rich object type guestJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-30Fix unit testsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-29Users are not automatically participants anymore when asking for a file ↵Joas Schilling
conversation Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Merge pull request #1926 from nextcloud/feature/382/lobbyJoas Schilling
⏳ Lobby
2019-08-28Merge pull request #2102 from ↵Joas Schilling
nextcloud/bugfix/2088/support-file-calls-in-groupfolders Support file calls in groupfolders
2019-08-28Add a unit test and fix an issue with foldersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Add acceptance tests for joining a room with a lobbyDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Rename lobby constantsDaniel Calviño Sánchez
The lobby constants were named from the point of view of the webinary (open to all participants, open to moderators only), but from the point of view of the lobby it is the opposite (no lobby, lobby for non moderators). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Use a different status code for lobby blocked requestsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Add capabilityJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>