summaryrefslogtreecommitdiffstats
path: root/build/integration
Commit message (Collapse)AuthorAgeFilesLines
* fix(logger): Prevent infinite recursion with log.condition => matchesbackport/50026/stable29Joas Schilling2025-04-021-0/+39
| | | | | | | | | | When we need to check the log condition for a user matches, there is a risk that something on the way checks the log level and would result in an infinite loop. So we simply check if it's a nested call and use the default warning level in that case. Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(Share20): Convert broken hooks to IEventListenerprovokateurin2025-03-041-0/+23
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* Revert "fix(dav): Always respond custom error page on exceptions"Daniel Kesselberg2025-02-152-11/+22
| | | | | | This reverts commit 9992e7d4395a773fec7148cf5b4111f894cb40b7. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* test(ExternalStorage): Send basic auth during integrations testsLouis Chemineau2025-02-112-19/+38
| | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> [skip ci]
* fix(settings): Also sanitize fediverse and twitter handle in the frontendFerdinand Thiessen2025-02-091-1/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(provisioning_api): Correct limit for `editUser`Ferdinand Thiessen2025-02-093-1/+20
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: explicitly ignore nested mounts when transfering ownershipRobin Appelman2025-02-051-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(sharing): Ensure download restrictions are not droppedbackport/50642/stable29Ferdinand Thiessen2025-02-041-0/+73
| | | | | | | | When a user receives a share with share-permissions but also with download restrictions (hide download or the modern download permission attribute), then re-shares of that share must always also include those restrictions. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Reset sharing app config after testbackport/50270/stable29Ferdinand Thiessen2025-01-311-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Respect permissions passed when creating link sharesFerdinand Thiessen2025-01-311-0/+58
| | | | | | | | | | | | | | | | | Given: User creates a link or email share with permissions=4 (create only = file drop). Problem: Currently the permissions are automatically extended to permissions = 5 (READ + CREATE). Work around was to create the share and directly update it. Solution: Respect what the user is requesting, create a file drop share. Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(dav): default calendar and address book not created on first loginbackport/50369/stable29Richard Steinmetz2025-01-232-0/+9
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix: block moving files to it's own parent with davbackport/49966/stable29Robin Appelman2025-01-092-0/+20
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #48473 from nextcloud/backport/47846/stable29Benjamin Gaussorgues2024-10-301-6/+6
|\
| * fix: provision api's status codesbackport/47846/stable29Hamza Mahjoubi2024-10-091-6/+6
| | | | | | | | Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
* | fix(dav): Public WebDAV endpoint should allow `GET` requestsbackport/dav-getFerdinand Thiessen2024-10-098-6/+130
|/ | | | | | | `GET` should be allowed even without Ajax header to allow downloading files, or show files in the viewer. All other requests could be guarded, but this should not. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): adjust permissions from custom edit and delete check methodsbackport/47339/stable29skjnldsv2024-09-111-0/+83
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(dav): Always respond custom error page on exceptionsLouis Chemineau2024-09-052-22/+11
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: Fix unmodified placeholder replacing the actual value when updatingDaniel Calviño Sánchez2024-09-041-0/+32
| | | | | | | | | | | | | | When updating global storages and user storages a property is not updated by "StoragesService::updateStorage()" if the value matches the unmodified placeholder. However, userglobal storages are not updated through the "StoragesService"; as only the authentication mechanism is updated it is directly done with "saveBackendOptions()" in "IUserProvided" or "UserGlobalAuth". Due to this the unmodified placeholder value needs to be explicitly checked in those cases and replaced by the actual value (note that in this case it is not possible to just skip updating a specific property). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* test: Add integration tests for saving external userglobal storagesDaniel Calviño Sánchez2024-09-045-2/+136
| | | | | | | | | As the external storage uses the Nextcloud server itself the number of workers of the PHP process running the Nextcloud server had to be increased. Otherwise if a request is sent for the external storage while handling a request from the integration tests a deadlock would occur. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* test(Sharing): Integration test for no expiration set date for sharefenn-cs2024-05-292-2/+24
| | | | | | | | | | - 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>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-042-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* build(deps-dev): bump phpunit/phpunit in /build/integrationdependabot[bot]2024-03-231-62/+68
| | | | | | | | | | | | | | | Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.17 to 9.6.18. - [Release notes](https://github.com/sebastianbergmann/phpunit/releases) - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.18/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.17...9.6.18) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* feat(dav): update a principal's schedule-default-calendar-URLRichard Steinmetz2024-02-282-0/+159
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* chore(deps-dev): bump phpunit/phpunit in /build/integrationdependabot[bot]2024-02-241-12/+12
| | | | | | | | | | | | | | Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.16 to 9.6.17. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.17/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.16...9.6.17) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* enh(sharing): enable unsharing for sharees for DAV shares (addressbooks and ↵Anna Larch2024-02-151-2/+2
| | | | | | calendars) Signed-off-by: Anna Larch <anna@nextcloud.com>
* fix(tests): Ensure ldap server can be reached in integration tests on GitHub ↵Ferdinand Thiessen2024-01-264-1/+24
| | | | | | | | | | | | Actions and other improvments * Run integration tests for every pull request * Also print docker logs of service containers (ldap, redis) * Ensure consistent `datadir` for test assertions * Test openldap features separatly * Only the LDAP tests rely on `/dev/shm` while `federated.feature` rely on real directory access Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix "Creation of dynamic property CommandLineContext::$…BaseUrl is ↵Joas Schilling2024-01-261-0/+2
| | | | | | deprecated in CommandLineContext.php on line 41" Signed-off-by: Joas Schilling <coding@schilljs.com>
* Reduce the output on github CIJoas Schilling2024-01-261-1/+7
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Ensure the testing app is enabledJoas Schilling2024-01-261-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove library that is unmaintained since 2015 and was merged in the behat coreJoas Schilling2024-01-263-353/+230
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix "Creation of dynamic property FeatureContext::$parts is deprecated in ↵Joas Schilling2024-01-261-4/+6
| | | | | | WebDav.php line 757" Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore: Move integration tests from drone to githubJoas Schilling2024-01-2615-0/+80
| | | | | | * Improve grouping as setting up CI took 3* the time of the test in average Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(deps-dev): Bump phpunit/phpunit in /build/integrationdependabot[bot]2024-01-201-42/+44
| | | | | | | | | | | | | | Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.13 to 9.6.16. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.16/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.13...9.6.16) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* fix: public dav and files_sharing testing fixesJohn Molakvoæ2024-01-094-10/+12
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* chore(deps-dev): Bump sabre/dav in /build/integrationdependabot[bot]2023-12-162-8/+8
| | | | | | | | | | | | | | | Bumps [sabre/dav](https://github.com/sabre-io/dav) from 4.5.1 to 4.6.0. - [Release notes](https://github.com/sabre-io/dav/releases) - [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md) - [Commits](https://github.com/sabre-io/dav/compare/4.5.1...4.6.0) --- updated-dependencies: - dependency-name: sabre/dav dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* chore(deps-dev): Bump sabre/dav in /build/integrationdependabot[bot]2023-12-102-40/+40
| | | | | | | | | | | | | | | Bumps [sabre/dav](https://github.com/sabre-io/dav) from 4.4.0 to 4.5.1. - [Release notes](https://github.com/sabre-io/dav/releases) - [Changelog](https://github.com/sabre-io/dav/blob/4.5.1/CHANGELOG.md) - [Commits](https://github.com/sabre-io/dav/compare/4.4.0...4.5.1) --- updated-dependencies: - dependency-name: sabre/dav dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* chore(deps-dev): Bump guzzlehttp/guzzle in /build/integrationdependabot[bot]2023-12-092-33/+33
| | | | | | | | | | | | | | | Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.8.0 to 7.8.1. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/7.8/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/7.8.0...7.8.1) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* enh(LDAP): implement IIsAdmin interfaceArthur Schiwon2023-12-011-0/+28
| | | | | | | | - add configuration to specify one LDAP group acting as admin group (CLI) - implement `isAdmin()` method, basically relying on inGroup against the configured group Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* confirm content on dav-v2 testMaxence Lange2023-11-242-18/+69
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-233-9/+9
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #41668 from nextcloud/enh/noid/test-dav-favorite-searchMaxence Lange2023-11-232-0/+26
|\ | | | | test boolean favorite
| * test boolean favoriteMaxence Lange2023-11-222-0/+26
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fixing testMaxence Lange2023-11-231-2/+34
|/ | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fix(autocomplete): Fix missing user status on autocomplete endpointJoas Schilling2023-09-283-4/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #39720 from ↵Ferdinand Thiessen2023-09-191-13/+13
|\ | | | | | | | | nextcloud/dependabot/composer/build/integration/symfony/event-dispatcher-5.4.26 chore(deps-dev): Bump symfony/event-dispatcher from 5.4.22 to 5.4.26 in /build/integration
| * chore(deps-dev): Bump symfony/event-dispatcher in /build/integrationdependabot[bot]2023-09-191-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 5.4.22 to 5.4.26. - [Release notes](https://github.com/symfony/event-dispatcher/releases) - [Changelog](https://github.com/symfony/event-dispatcher/blob/6.3/CHANGELOG.md) - [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.22...v5.4.26) --- updated-dependencies: - dependency-name: symfony/event-dispatcher dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | chore(deps-dev): Bump phpunit/phpunit in /build/integrationdependabot[bot]2023-09-191-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.10 to 9.6.11. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.11/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.11) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | chore(deps-dev): Bump phpunit/phpunit in /build/integrationdependabot[bot]2023-09-161-25/+26
|/ | | | | | | | | | | | | | Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.10 to 9.6.12. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.12/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.12) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* chore(deps-dev): Bump guzzlehttp/guzzle in /build/integrationdependabot[bot]2023-09-022-30/+30
| | | | | | | | | | | | | | | Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.6.1 to 7.8.0. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/7.8/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/7.6.1...7.8.0) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* fix(ci): add to enabled appsChristopher Ng2023-08-031-0/+1
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>