aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration
Commit message (Collapse)AuthorAgeFilesLines
* feat(files_sharing): add config option for extending link-share permissionsFerdinand Thiessen4 days2-0/+3
| | | | | | | | 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>
* Revert "perf(base): Stop setting up the FS for every basic auth request"John Molakvoæ10 days4-9/+174
|
* Merge pull request #53141 from nextcloud/perf/files/setup-fs-basic-auth-requestJohn Molakvoæ11 days4-174/+9
|\
| * fix(core): Stop abusing the cache for avatar uploadprovokateurin14 days4-174/+9
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix: Fix theming for disabled accountsfix-theming-for-disabled-accountsDaniel Calviño Sánchez12 days4-0/+191
|/ | | | | | | | | | | | | | | | | | | | | | The Theming app injects the stylesheets for the different themes in the "<header>" element of the page, and those stylesheets are then loaded by the browser from a "Controller" (a plain "Controller", not an "OCSController"). The stylesheets, in turn, may also get some images (like the background) also from the "Controller". When handling a request to "index.php" it is checked whether the user is logged in and, if not, a login is tried. A disabled user is explicitly seen as not logged in, so a login is always tried in that case, but disabled users are also explicitly prevented to log in, so the login also fails. Due to that trying to get any of the themed stylesheets or images with a disabled account (to be able to show the "Account disabled" error page) fails with an HTTP status 401. To solve that, and to avoid touching this basic logic as much as possible, the login exception is now ignored (if the user is disabled) for some specific requests to the Theming app. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* chore: apply new CSFixer rulesFerdinand Thiessen2025-07-0136-18/+54
| | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> # Conflicts: # apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
* Merge pull request #53671 from nextcloud/fix/read-only-share-downloadJohn Molakvoæ2025-07-012-3/+32
|\
| * feat(files_sharing): allow viewing files with download disabledskjnldsv2025-06-262-3/+32
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(files): Always transfer incoming shares when doing ownership transfer to ↵provokateurin2025-07-012-49/+15
| | | | | | | | | | | | prevent broken reshares Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge branch 'master' into remove-x-xss-protectionJoas Schilling2025-06-305-1/+169
|\|
| * fix: revive always storing lowercased email addressesRichard Steinmetz2025-06-241-0/+12
| | | | | | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
| * fix(FilenameValidator): use `_` as default replacement for invalid charsfix/validation-defaultsFerdinand Thiessen2025-06-181-1/+1
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
| * test(dav): add integration test for principal property searchbug/noid/principal-guest_app-not-foundDaniel Kesselberg2025-06-174-0/+156
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Fix: Remove X-XSS-Protection use, check and recommendationinvario2025-06-133-4/+0
|/ | | | | Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: invario <67800603+invario@users.noreply.github.com>
* Merge pull request #53287 from nextcloud/feat/test-app-routesStephan Orbaugh2025-06-063-1/+81
|\ | | | | feat(tests): Test application enabling/disabling and routes
| * feat(tests): Test application enabling/disabling and routesfeat/test-app-routesCôme Chilliet2025-06-053-1/+81
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Disable appstore from integration testsCôme Chilliet2025-06-051-0/+2
| | | | | | | | | | | | This avoids spamming the appstore server and getting banned from CI runs Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(dav): file drop nicknameskjnldsv2025-06-051-4/+43
|/ | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Revert "fix(files_sharing): Filter own shares that are reshares"revert-52503-fix/files_sharing/filter-own-reshared-sharesJoas Schilling2025-05-191-0/+9
|
* fix(files_sharing): Filter own shares that are resharesfix/files_sharing/filter-own-reshared-sharesprovokateurin2025-05-191-9/+0
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(dav): correctly handle uploading folders with same name as a filefix/file-dropFerdinand Thiessen2025-05-161-0/+41
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(IAccountManager): remove deprecated visibility constantschore/drop-deprecated-account-scopesFerdinand Thiessen2025-05-142-34/+14
| | | | | | | Those constants are not used anywhere anymore and are deprecated for more than ten versions. So its time to cleanup the interface. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(dav): allow uploading folders to public sharesJohn Molakvoæ (skjnldsv)2025-05-133-16/+97
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* build(deps-dev): bump behat/behat in /build/integrationdependabot/composer/build/integration/behat/behat-3.22.0dependabot[bot]2025-05-101-108/+58
| | | | | | | | | | | | | | | | Bumps [behat/behat](https://github.com/Behat/Behat) from 3.21.1 to 3.22.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.21.1...v3.22.0) --- updated-dependencies: - dependency-name: behat/behat dependency-version: 3.22.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* feat(files): add command to automatically rename filenamesFerdinand Thiessen2025-04-301-0/+68
| | | | | | 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>
* build(deps-dev): bump behat/behat in /build/integrationdependabot/composer/build/integration/behat/behat-3.21.1dependabot[bot]2025-04-261-6/+6
| | | | | | | | | | | | | | | | Bumps [behat/behat](https://github.com/Behat/Behat) from 3.21.0 to 3.21.1. - [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.21.0...v3.21.1) --- updated-dependencies: - dependency-name: behat/behat dependency-version: 3.21.1 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* feat(profile): Add an API to get the profile field datafeat/noid/profile-data-apiJoas Schilling2025-04-232-23/+73
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* build(deps-dev): bump behat/behat in /build/integrationdependabot/composer/build/integration/behat/behat-3.21.0dependabot[bot]2025-04-221-7/+7
| | | | | | | | | | | | | | | | Bumps [behat/behat](https://github.com/Behat/Behat) from 3.20.0 to 3.21.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.20.0...v3.21.0) --- updated-dependencies: - dependency-name: behat/behat dependency-version: 3.21.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* fix(dav): allow uploading of files with long filenamesfix/path-lengthFerdinand Thiessen2025-04-221-0/+29
| | | | | | | | | | A filename must be less or equal 255 characters, but when adding the `.part` and `.ocfiletransfer` extensions we might overflow this limit. So we should also use filename hashes for uploading when the file has a long filename, similar like when we are uploading to the user storage directly. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #50905 from nextcloud/fix/rate-limit-share-creationJohn Molakvoæ2025-04-154-0/+44
|\
| * test: enable rate limiting for ratelimiting.featureskjnldsv2025-04-153-0/+42
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
| * test: Disable ratelimit as tests trigger itfix/rate-limit-share-creationJoas Schilling2025-04-151-0/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(files_sharing): expireDate null testsskjnldsv2025-04-142-3/+45
|/ | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* build(deps-dev): bump behat/behat in /build/integrationdependabot[bot]2025-04-021-53/+60
| | | | | | | | | | | | | | | Bumps [behat/behat](https://github.com/Behat/Behat) from 3.19.0 to 3.20.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.19.0...v3.20.0) --- updated-dependencies: - dependency-name: behat/behat 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/composer/build/integration/guzzlehttp/guzzle-7.9.3dependabot[bot]2025-03-291-18/+18
| | | | | | | | | | | | | | | Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.9.2 to 7.9.3. - [Release notes](https://github.com/guzzle/guzzle/releases) - [Changelog](https://github.com/guzzle/guzzle/blob/7.9/CHANGELOG.md) - [Commits](https://github.com/guzzle/guzzle/compare/7.9.2...7.9.3) --- updated-dependencies: - dependency-name: guzzlehttp/guzzle dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* fix(tests): Sort activities by id to get the last onefix/fix-public-download-activityCôme Chilliet2025-03-252-1/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Add context and test steps for activity in sharingCôme Chilliet2025-03-254-4/+45
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: add integration test for sharing activityCôme Chilliet2025-03-251-0/+36
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(test): use consistent tabs for indention in behat testschore/behat-indentionFerdinand Thiessen2025-03-192-38/+38
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Support deleting metadata from WebDAVartonge/feat/allow_deleting_metadataLouis Chemineau2025-03-043-0/+145
| | | | | | The `$value` will be `null` if the update is wrapped inside a `<d:remove>...</d:remove>` block. Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge pull request #51000 from nextcloud/fix/federatedfilesharing/group-cleanupStephan Orbaugh2025-03-031-0/+23
|\ | | | | fix(FederatedShareProvider): Delete external shares when groups are deleted or users removed from a group
| * fix(Share20): Convert broken hooks to IEventListenerprovokateurin2025-03-031-0/+23
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | build(integration): Disable password_policy appbuild/integration/disable-password_policy-appprovokateurin2025-03-031-0/+2
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | fix: Fix test by scanning group before using itbug/noid/weird-ldap-cachingCôme Chilliet2025-02-271-1/+1
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* bump behat/behat from 3.18.1 to 3.19.0 in /build/integrationdependabot/composer/build/integration/behat/behat-3.19.0dependabot[bot]2025-02-181-15/+15
| | | | | | | | | | --- updated-dependencies: - dependency-name: behat/behat dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* fix(provisioning_api): Correct limit for `editUser`Ferdinand Thiessen2025-02-063-1/+19
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(sharing): Ensure download restrictions are not droppedfix/proper-download-checkFerdinand 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>
* Merge pull request #50137 from ↵dependabot[bot]2025-01-301-84/+233
|\ | | | | | | nextcloud/dependabot/composer/build/integration/behat/behat-3.18.1
| * build(deps-dev): bump behat/behat in /build/integrationdependabot/composer/build/integration/behat/behat-3.18.1dependabot[bot]2025-01-111-84/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [behat/behat](https://github.com/Behat/Behat) from 3.16.0 to 3.18.1. - [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.16.0...v3.18.1) --- updated-dependencies: - dependency-name: behat/behat dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | test: Reset sharing app config after testfix/share-api-create--permissionsFerdinand Thiessen2025-01-281-0/+1
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>