Commit Graph

1520 Commits (b95e31be8666a4b79653d6546dbd4e10ffc41dc6)

Author SHA1 Message Date
skjnldsv cccf5a29ad fix(dav): file drop nickname
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 09:58:05 +07:00
nextcloud-command 77b739cdbc fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-05-21 02:37:30 +07:00
provokateurin 0a9e6374bd
chore: Add nix flake with development shell
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-19 12:01:40 +07:00
Joas Schilling b6a8287ce1 fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlist
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-15 17:52:02 +07:00
Louis Chemineau a7dcc5ce33
fix(blurhash): Use preview API to generate the previews
This allows to benefit from all the checks done by the preview API.

This also use the newly introduced `cacheResult` argument to limit disk usage.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-06 14:58:12 +07:00
dependabot[bot] 58eb0071e9
build(deps-dev): bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.22 to 9.6.23.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.23/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.22...9.6.23)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 9.6.23
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-03 20:17:18 +07:00
Ferdinand Thiessen 3cc70aa887
chore: update psalm baseline
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:05:00 +07:00
Ferdinand Thiessen 832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +07:00
Ferdinand Thiessen 744a4394fe fix(dav): allow uploading of files with long filenames
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>
2025-04-23 15:19:36 +07:00
dependabot[bot] 6d71a685c7
Merge pull request #52306 from nextcloud/dependabot/composer/build/integration/stable30/symfony/event-dispatcher-5.4.45 2025-04-23 07:55:21 +07:00
dependabot[bot] b30758e8c2
Merge pull request #52305 from nextcloud/dependabot/composer/build/integration/stable30/guzzlehttp/guzzle-7.9.3 2025-04-22 23:08:33 +07:00
dependabot[bot] 9767aec442
build(deps-dev): bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.19 to 9.6.22.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.22/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.19...9.6.22)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-version: 9.6.22
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:56:34 +07:00
dependabot[bot] 78e8bbbb23
build(deps-dev): bump symfony/event-dispatcher in /build/integration
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 5.4.34 to 5.4.45.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/7.2/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.34...v5.4.45)

---
updated-dependencies:
- dependency-name: symfony/event-dispatcher
  dependency-version: 5.4.45
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:56:26 +07:00
dependabot[bot] 7aa15a717a
build(deps-dev): bump guzzlehttp/guzzle in /build/integration
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-version: 7.9.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:56:22 +07:00
skjnldsv 224cc58ec7
fix(files_sharing): expireDate null tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-22 11:17:58 +07:00
skjnldsv a221f720c7 test: enable rate limiting for ratelimiting.feature
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-15 11:01:18 +07:00
Joas Schilling c1e3beaead test: Disable ratelimit as tests trigger it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-15 08:58:03 +07:00
Ferdinand Thiessen 1ab680ae69 chore: lint files_reminders using psalm
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-07 09:39:15 +07:00
provokateurin 8a8d6addfb fix(settings): Handle email change restriction separately from display name change restriction
Co-authored-by: provokateurin <kate@provokateurin.de>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 16:12:55 +07:00
Ferdinand Thiessen c0003fbd9c
fix(lookup-server): disable lookup server for non-global scale setups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-11 21:52:07 +07:00
Louis Chemineau 009a7a3368 feat: Support deleting metadata from WebDAV
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>
2025-03-05 13:39:40 +07:00
Stephan Orbaugh 34bd751923
Merge pull request #51202 from nextcloud/backport/51194/stable30
[stable30] refactor(TempManager): Simplify and unify implementations and remove legacy behavior
2025-03-04 10:20:00 +07:00
provokateurin 7b5c9feca1
fix(Share20): Convert broken hooks to IEventListener
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:58:21 +07:00
provokateurin 552eb2678f
refactor(TempManager): Simplify and unify implementations and remove legacy behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-03-04 07:49:20 +07:00
nextcloud-command 6bb0db88ca fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-02-26 02:31:16 +07:00
Joas Schilling 03b3773c91
ci(autochecks): Run some autochecks also on non-PHP files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-21 13:48:48 +07:00
Daniel Kesselberg e8a5e0c392 Revert "fix(dav): Always respond custom error page on exceptions"
This reverts commit 9992e7d439.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-02-15 14:42:51 +07:00
Andy Scherzinger 6964531134
Merge pull request #50704 from nextcloud/backport/50660/stable30
[stable30] fix: make sure we process mime extensions as string
2025-02-13 16:42:50 +07:00
Ferdinand Thiessen 422655bf1e
fix(provisioning_api): Correct limit for `editUser`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:42:23 +07:00
Ferdinand Thiessen 96384cd950
fix(FediverseAction): Ensure valid fediverse links are generated
Harden also for existing values of the profile.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-07 12:41:49 +07:00
skjnldsv 80a4cb586f fix: make sure we process mime extensions as string
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-06 15:15:41 +07:00
Robin Appelman 5d094feee0
fix: explicitly ignore nested mounts when transfering ownership
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-02-05 09:09:04 +07:00
Ferdinand Thiessen f9bd0ed462
fix(sharing): Ensure download restrictions are not dropped
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>
2025-02-04 16:22:11 +07:00
Ferdinand Thiessen 922b12452c
test: Reset sharing app config after test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-31 18:21:26 +07:00
Ferdinand Thiessen ee5f5bc159
fix(files_sharing): Respect permissions passed when creating link shares
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>
2025-01-31 18:21:26 +07:00
Ferdinand Thiessen 87b1f41e0d
chore(deps): Bump phpseclib/phpseclib from 2.0.47 to 2.0.48
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-30 00:53:59 +07:00
Andy Scherzinger 6a4f14bb29
Merge pull request #50316 from nextcloud/chore/stable30-doctrine
[stable30] chore(3rdParty): Bump doctrine/dbal from 3.9.1 to 3.9.4
2025-01-26 18:52:41 +07:00
Richard Steinmetz 8fb04cd4d5
fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:29:07 +07:00
Ferdinand Thiessen 598589e617
chore: Update psalm baseline
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-22 16:16:48 +07:00
Robin Appelman 910d25ed5e
chore: update baseline
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-20 14:49:37 +07:00
Robin Appelman c6e68988d2 fix: block moving files to it's own parent with dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-07 09:26:05 +07:00
provokateurin 8b322ff12c fix(HTTP): Adjust JSONResponse data type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 05:41:45 +07:00
Joas Schilling b9493cc12d fix(logger): Prevent infinite recursion with log.condition => matches
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>
2025-01-03 11:12:48 +07:00
nextcloud-command 821c4bfe1a fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-01-01 02:33:11 +07:00
Louis Chemineau d3274bc6d2
test(ExternalStorage): Send basic auth during integrations tests
Signed-off-by: Louis Chemineau <louis@chmn.me>

[skip ci]
2024-11-28 13:03:52 +07:00
nextcloud-command dbd6456c1f fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-11-27 02:34:26 +07:00
skjnldsv bf728f9d51 fix(dav): file request guest nickname encoding
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-13 09:05:17 +07:00
Benjamin Gaussorgues 8af1e9f82d
Merge pull request #48474 from nextcloud/backport/47846/stable30 2024-10-30 09:29:20 +07:00
Ferdinand Thiessen b0ddaaddc0
fix: Shipped apps should include the Nextcloud version in the cache buster
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 00:02:45 +07:00
Joas Schilling 99eb553a33 build: Show the actual string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-23 11:43:37 +07:00