aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/Sharing.php
Commit message (Collapse)AuthorAgeFilesLines
* feat(files_sharing): add config option for extending link-share permissionsFerdinand Thiessen4 days1-0/+2
| | | | | | | | This allows the admin to control the behavior whether link shares with READ permissions should be extended to also gain SHARE permissions, allowing users (public share receivers) to add the share to their cloud. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: apply new CSFixer rulesFerdinand Thiessen2025-07-011-7/+8
| | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> # Conflicts: # apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
* fix(files_sharing): expireDate null testsskjnldsv2025-04-141-1/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: adjust code to adhere to coding standardAnna Larch2024-09-051-1/+1
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-29/+29
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(files_sharing): adjust IAttributes API and files_versionsskjnldsv2024-07-121-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* test(Sharing): Integration test for no expiration set date for sharefenn-cs2024-05-231-2/+6
| | | | | | | | | - Verify that explicitly sending empty `expireDate` param to server overwrite default and sets not expiry date, if non is enforced. - Update tests to avoid converting empty string to date. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-05-131-30/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: public dav and files_sharing testing fixesJohn Molakvoæ2024-01-091-2/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-7/+7
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Fix check in integration testsCôme Chilliet2023-01-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix copy in view-only modeVincent Petry2022-08-261-1/+1
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add int test for view-only downloadVincent Petry2022-08-261-7/+20
| | | | | | Asserts that downloading a view-only document returns 403. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix PHP Notices in build/integration/features/bootstrapCôme Chilliet2022-01-251-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Generalize integration test steps to download last shareDaniel Calviño Sánchez2020-05-291-2/+16
| | | | | | | Note that the "last link share can be downloaded" step was kept as it tests the "url" property specific of link shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Remove unused variablesDaniel Calviño Sánchez2020-05-291-7/+4
| | | | | | The step names were adjusted accordingly. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-55/+44
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make sure every file ends with an empty newlineChristoph Wurst2020-04-091-1/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-15/+15
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use lowercase true, false and null constantsChristoph Wurst2020-03-251-12/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Accept incoming shares in integration testsDaniel Calviño Sánchez2019-11-201-0/+33
| | | | | | | | | Now all incoming shares need to be explicitly accepted before being able to use the shared file or get information about a reshare (although getting the information of the incoming share is possible before accepting it). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add integration tests for getting shares including subfilesDaniel Calviño Sánchez2019-10-251-0/+108
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Replace fully qualified name with aliasDaniel Calviño Sánchez2019-10-251-10/+11
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Do not expect a 200 HTTP status code when updating a shareDaniel Calviño Sánchez2019-10-041-2/+0
| | | | | | | | | | | | | This will be needed to test scenarios in which updating a share return a different HTTP status code, like 401. The assertion for the 200 HTTP status code was added in those scenarios that tested updating a share (that is, those that were also checking the OCS status code), but not in those in which updating a share was just a preparatory step for the actual test (in the same way that the HTTP status code is not checked in those tests when creating a share). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* add LDAP integr. test for receiving share candidates with group limitationArthur Schiwon2019-06-141-19/+47
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add integration tests for updating folder sharesJulius Härtl2019-04-161-0/+17
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed phpunit Test classJohn Molakvoæ (skjnldsv)2018-06-131-13/+14
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Adjust integration tests to new guzzleRobin Appelman2018-02-091-20/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Integration test check download without saving file locallyVincent Petry2017-03-161-17/+25
| | | | | | | Use Guzzle stream mode to download the contents instead of using a temporary local file. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make OCS intergration tests check for CSPRoeland Jago Douma2016-09-151-0/+23
| | | | * Very hacky in simple test but at least we test
* Add OCS-APIREQUEST header to intergration test callsRoeland Jago Douma2016-08-051-3/+23
|
* Add integration tests for merging received sharesVincent Petry2016-08-031-12/+12
|
* Update with robinJoas Schilling2016-07-211-1/+26
|
* Split the context so we don't reset the config on each testJoas Schilling2016-03-151-57/+0
|
* Add tests for user enumeration and sharing in group onlyJoas Schilling2016-03-151-1/+7
|
* Merge pull request #23091 from ↵Thomas Müller2016-03-131-0/+51
|\ | | | | | | | | owncloud/issue-23085-csae-insensitive-group-search Return the correct group casing in sharee api
| * Add integration tests for sharee APIJoas Schilling2016-03-111-0/+51
| |
* | Merge pull request #23141 from owncloud/behat-code-styleThomas Müller2016-03-111-12/+28
|\ \ | | | | | | Fix all the yellow, orange and red errors in integration tests
| * | Fix inheritance of membersJoas Schilling2016-03-111-4/+3
| | |
| * | Fix type in class nameJoas Schilling2016-03-111-1/+1
| | |
| * | Remove hardcoded api versionsJoas Schilling2016-03-111-3/+3
| | |
| * | asCreatingAShareWith has no returnJoas Schilling2016-03-111-1/+1
| | |