summaryrefslogtreecommitdiffstats
path: root/build/integration/features
Commit message (Collapse)AuthorAgeFilesLines
* Set the file's mtime from the headers in bulk uploadLouis Chemineau2022-01-112-1/+44
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Add integration tests for email completionJulius Härtl2021-12-082-2/+57
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Correctly set the response after a ClientException as wellJoas Schilling2021-11-251-6/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add an integration testJoas Schilling2021-11-251-0/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add integration tests for federated shares from unavailable serversDaniel Calviño Sánchez2021-11-051-0/+33
| | | | | | | | The federated server needs to be stopped during the tests, so it is now stopped in the FederationContext for each scenario instead of just once in the run.sh script. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for listing federated sharesDaniel Calviño Sánchez2021-11-051-0/+32
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for deleting federated sharesDaniel Calviño Sánchez2021-11-051-0/+14
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for user_status APIJonas Meurer2021-10-202-0/+92
| | | | Signed-off-by: Jonas Meurer <jonas@freesources.org>
* Add new account propertiesChristopher Ng2021-10-191-0/+15
| | | | | | | | | | | | | | - New properties - Organisation - Role - Headline - Biography - Profile Enabled property - Fix errors with building default account properties - Fix L10N factory method `getLanguage` not public error - Update tests Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Clean BulkUpload pluginLouis Chemineau2021-10-162-0/+62
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Test for transfer ownership with incoming sharesVincent Petry2021-08-272-2/+43
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* fix small issues in UsersController handlingArthur Schiwon2021-06-301-3/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix provisioning test checkArthur Schiwon2021-06-301-8/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api to be able to edit multivalue propertiesArthur Schiwon2021-06-302-4/+120
| | | | | | | - adding as usual - deleting and scope setting via additional endpoint Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* prov api reports multiple mail as editable fieldArthur Schiwon2021-06-301-1/+4
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Added tests for specifying custom display name during group creation.Dries Mys2021-06-052-0/+49
| | | | Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0431-74/+57
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add a trashbin for calendars and calendar objectsChristoph Wurst2021-05-311-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add integration tests for the editable fieldsJoas Schilling2021-05-272-0/+56
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Rename External storages to External storageszaimen2021-05-201-1/+1
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Merge pull request #26846 from ↵Morris Jobke2021-05-171-1/+1
|\ | | | | | | | | nextcloud/followup/26572/reply-with-json-when-not-accepting-html Reply with json when not accepting html on LoginException
| * Reply with UNAUTHORIZED like on APIs when login exception was thrownJoas Schilling2021-05-121-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix unauthorized OCS status in provisioningJoas Schilling2021-05-121-13/+14
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #26572 from ↵Joas Schilling2021-04-271-1/+7
|\ | | | | | | | | nextcloud/bugfix/noid/throw-401-when-authentication-is-provided-and-invalid Throw "401 Unauthenticated" when authentication is provided but invalid
| * Adjust integration testJoas Schilling2021-04-221-1/+7
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add integration tests for searching users in contacts menuDaniel Calviño Sánchez2021-04-233-0/+258
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Int tests for provisioning API scopesVincent Petry2021-03-262-2/+81
| | | | | | | Added integration tests for the scope attributes in the provisioning API. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix sharebymail testsJohn Molakvoæ (skjnldsv)2021-03-221-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Sharing link & mail parityJohn Molakvoæ (skjnldsv)2021-03-221-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #25331 from ↵Morris Jobke2021-03-181-0/+14
|\ | | | | | | | | nextcloud/fix-valid-storages-removed-when-cleaning-remote-storages Fix valid storages removed when cleaning remote storages
| * Add integration tests for "sharing:cleanup-remote-storages" OCC commandDaniel Calviño Sánchez2021-01-261-0/+14
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add a setting to restrict returning a full match unless in phonebook or same ↵Joas Schilling2021-03-101-0/+1
| | | | | | | | | | | | group Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add integration tests for autocomplete/get (similar to sharees API)Joas Schilling2021-03-102-0/+105
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
|/ | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2020-12-302-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make integration tests work with both PHP 7.3 and 7.4Daniel Calviño Sánchez2020-12-304-3/+5
| | | | | | | | | | | | | | | | The "Trashbin" and "WebDav" traits were using each other in a circular dependency ("WebDav" -> "Sharing" -> "Provisioning" -> "BasicStructure" -> "Trashbin" -> "WebDav"). In PHP 7.3 this worked fine, but in PHP 7.4 the fatal error "Trait 'WebDav' not found in .../Trashbin.php" was thrown. To solve this now the "TrashBin" trait no longer explicitly uses "WebDav". However, due to this change, the class using "TrashBin" is now expected to also use "WebDav". As the "Trashbin" trait was not needed by most contexts using the "BasicStructure" trait "Trashbin" was removed from it and added only to those contexts that actually need it. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-1612-9/+14
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #24486 from nextcloud/feature/noid/phone-number-validationJoas Schilling2020-12-082-4/+65
|\ | | | | Phone number validation and search
| * Unit tests for searching by phone numberJoas Schilling2020-12-071-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add a config for default region of phone numbersJoas Schilling2020-12-071-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add an integration test for the phone search APIJoas Schilling2020-12-072-4/+65
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add integration tests for getting guest avatarsDaniel Calviño Sánchez2020-12-072-0/+30
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add integration tests for resized user avatarsDaniel Calviño Sánchez2020-12-072-7/+88
| | | | | | | | | | | | | | | | Even on solid color images the resizing can cause some small artifacts that slightly modify the color of certain pixels. Due to this now the color comparison is no longer strict but fuzzy. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add integration tests for user avatarsDaniel Calviño Sánchez2020-12-073-0/+344
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Make possible to set body in requesttoken requests in integration testsDaniel Calviño Sánchez2020-12-071-7/+17
| | | | | | | | | | | | | | | | | | | | "sendingAToWithRequesttoken" needs to be used to test some non OCS endpoints which require the request token to be sent in the request. Now it is possible to specify the body (or, rather, additional contents beside the cookies and the request token) for those requests, as it will be needed for example to upload an avatar. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Make possible to send requests as anonymous users in integration testsDaniel Calviño Sánchez2020-12-071-2/+2
|/ | | | | | | | | Until now requests always had "auth" headers either for an admin or a regular user, depending on the value of "currentUser". Now, if "currentUser" starts by "anonymous" no "auth" header is sent, which makes possible to also test requests with users not logged in. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for creating shares with default expiration datesDaniel Calviño Sánchez2020-11-161-0/+6
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Reset app configs by deleting the values instead of setting the defaultsDaniel Calviño Sánchez2020-11-165-18/+31
| | | | | | | | This avoids the need to keep the default values in the integration tests in sync with the code, and also makes possible to reset values with "dynamic" defaults (defaults that depend on other values). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for default share permissionsDaniel Calviño Sánchez2020-11-111-0/+1
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix the expected outputJoas Schilling2020-10-271-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>