Commit Graph

26250 Commits

Author SHA1 Message Date
Nextcloud bot d8b0c75cfb fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-03-23 00:19:42 +00:00
Andy Scherzinger fa9266e584 Merge pull request #59081 from nextcloud/backport/59015/stable32
[stable32] feat(taskprocessing): add worker command for synchronous task processing
2026-03-20 13:56:45 +01:00
Louis 09a464dfd0 Merge pull request #59084 from nextcloud/backport/59057/stable32
[stable32] fix: Move hasAnnotationOrAttribute to the reflector
2026-03-20 12:30:58 +01:00
Git'Fellow 8d397818a3 Merge pull request #58815 from nextcloud/s32ValidatePrevMime
fix(preview): Validate preview MIME type
2026-03-20 11:25:24 +01:00
Côme Chilliet 841a3c4045 chore: Un-deprecate IControllerMethodReflector as it’s now useful for attributes as well
It should be extended later to add methods to get attributes from
 reflection, and maybe a getter to the reflectionMethod object to avoid
 middlewares building their own.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-03-20 11:00:58 +01:00
Côme Chilliet a5e79add44 fix(tests): Adapt Middleware tests to API change
Removed a few tests rendered obsolete by the refactoring.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-03-20 11:00:58 +01:00
Andy Scherzinger 9a7037f446 Merge pull request #59051 from nextcloud/backport/58724/stable32
[stable32] fix(files_sharing): respect config to skip certificate verification
2026-03-19 17:53:45 +01:00
Côme Chilliet 36a6227a5f fix: Remove code duplication by using the new method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-03-19 15:46:18 +01:00
Côme Chilliet c30ad63d48 fix: Move hasAnnotationOrAttribute to the reflector
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2026-03-19 15:46:01 +01:00
copilot-swe-agent[bot] e1208cad4c fix: Fix Task mock error: use real Task instances; run autoloaderchecker
Co-authored-by: marcelklehr <986878+marcelklehr@users.noreply.github.com>
2026-03-19 14:33:30 +00:00
David Dreschner bfe9e36a64 feat(CalDAV): Add function to get the token of a publicly shared calendar
Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
2026-03-19 13:26:05 +00:00
Salvatore Martire 97b3812983 fix(files_sharing): respect config to skip certificate verification
This is important especially for local development, as certificate are

self-signed.

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2026-03-19 12:39:04 +01:00
Maksim Sukharev 7e2cad0545 chore: recompile autoload files
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2026-03-19 11:38:40 +01:00
Maksim Sukharev 96e24b3da0 fix(bg_jobs): store job argument as a text, increase length cap from 4000 to 32000
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2026-03-19 11:38:40 +01:00
Louis fdd2e624ac Merge pull request #58659 from nextcloud/backport/58057/stable32
[stable32] perf(sharing): Avoid loading all shares from all users when unsharing
2026-03-18 18:22:47 +01:00
Kate bbea92d4aa Merge pull request #58885 from nextcloud/backport/58798/stable32 2026-03-18 11:29:19 +01:00
Ferdinand Thiessen 254401c190 chore: adjust version comment
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-03-17 23:00:36 +01:00
Ferdinand Thiessen 25d7d96bc1 feat(share): provide canDownload getter on the share
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-03-17 21:57:28 +00:00
Simon L. 0d2229b518 fix(initializeSession): only log HMAC problem to critical logs if indeed critical
Signed-off-by: Simon L. <szaimen@e.mail.de>
2026-03-17 18:20:39 +00:00
Benjamin Frueh b99323eb54 feat(dav): allow extending propfind properties via event
Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>

Update lib/public/Files/Events/BeforePropfindEvent.php

Co-authored-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Benjamin Früh <134610227+benjaminfrueh@users.noreply.github.com>

Update lib/public/Files/Events/BeforePropfindEvent.php

Co-authored-by: Julius Knorr <jus@bitgrid.net>
Signed-off-by: Benjamin Früh <134610227+benjaminfrueh@users.noreply.github.com>

refactor: rename BeforePropfindEvent to BeforeRemotePropfindEvent

Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>

chore: update composer autoloader for new event class

Signed-off-by: Benjamin Frueh <benjamin.frueh@gmail.com>

Update lib/public/Files/Events/BeforeRemotePropfindEvent.php

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Benjamin Früh <134610227+benjaminfrueh@users.noreply.github.com>
2026-03-17 10:11:34 +01:00
Joas Schilling 7a1c67fc20 fix(apporder): Load custom app order before resolving closures
Signed-off-by: Joas Schilling <coding@schilljs.com>
2026-03-16 16:53:54 +01:00
ailkiv dd16f6c592 fix: PostgreSQL transaction aborts when caching user mounts
Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com>
2026-03-12 12:25:42 +01:00
Ferdinand Thiessen 77dc78855f fix(SecurityMiddleware): return header to distinguish error type
Currently we return a 403 (Forbidden) when the password confirmation
failed - which itself seems to be inappropriate as its basically a login
failing so a 401 (not authorized) is more appropriate.

This is especially a problem because APIs might return 403 internally
for good reason (e.g. user missing permission) but 401 would not be a
problem.

But as this is a breaking change so my solution to be able to
distinguish API error from password confirmation error is:

Add a header inside the response that marks failed password confirmation
`X-NC-Auth-NotConfirmed`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-03-12 08:54:39 +00:00
Carl Schwan 7f53bfae6c Merge pull request #58847 from nextcloud/backport/53733/stable32
[stable32] fix: give target file all permissions on copy
2026-03-12 09:45:05 +01:00
Kate 1c5dfe0326 Merge pull request #58844 from nextcloud/backport/58733/stable32 2026-03-11 18:10:28 +01:00
Nextcloud bot a32b8a2c57 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-03-11 00:26:57 +00:00
Robin Appelman 40c5f0e51e fix: make objectstore copy consistent with changed local storage behavior
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-03-10 18:17:20 +01:00
Robin Appelman 0f04a40479 fix: give target file all permissions on copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-03-10 18:14:28 +01:00
Robin Appelman 5b231e76c0 fix: fix updating cached mounts with multiple entries for root id
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-03-10 16:33:28 +00:00
Raphael Gradenwitz a643150cb3 Merge branch 'stable32' into backport/58648/stable32 2026-03-10 17:15:37 +01:00
ernolf 1640d3d649 feat(routing): add files_sharing_raw to rootUrlApps
- Registers the files_sharing_raw app as a root-URL app so that its routes are served under /raw/{token} and /rss instead of the default /apps/files_sharing_raw/... prefix.
  This is required for the files_sharing_raw app to generate correct canonical raw URLs via PublicUrlBuilder.

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
2026-03-10 14:31:35 +00:00
Anna Larch 447c77e23e fix: add fallback to raw path info
Follow up to https://github.com/nextcloud/server/pull/56843

The raw path info method has no fallback for an empty array parameter

Signed-off-by: Anna Larch <anna@nextcloud.com>
2026-03-10 12:52:15 +00:00
Nextcloud bot f5dc198349 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-03-10 00:19:35 +00:00
Git'Fellow 1d932cfa4a fix(previex): Validate preview MIME type
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2026-03-09 18:25:26 +01:00
Nextcloud bot 50f27f3d89 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-03-09 00:20:07 +00:00
Nextcloud bot 384388a587 fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2026-03-08 00:19:26 +00:00
Cristian Scheid a553bdf071 feat: set creation_time on file creation and render recently created icon
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-03 15:09:28 +00:00
Stephan Orbaugh b822bb0dd2 Merge pull request #58563 from nextcloud/backport/58327/stable32
[stable32] feat: add upload_time support to file search and recent files
2026-03-03 16:08:34 +01:00
Ferdinand Thiessen cfa95919ee test(preview): properly test postscript preview provider
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-03-03 02:19:02 +01:00
Salvatore Martire 30d644a5a5 Merge pull request #58672 from nextcloud/backport/58660/stable32
[stable32] fix: check source and target when emitting copy event
2026-03-02 18:25:21 +01:00
Salvatore Martire da0a830500 fix: check source and target when emitting copy event
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2026-03-02 15:51:27 +00:00
Carl Schwan c3a15af538 perf: Perform share path validation early
Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-03-02 16:08:46 +01:00
Josh 0ad8a342a0 chore: fixup/ revert cast in S3ObjectTrait
Signed-off-by: Josh <josh.t.richards@gmail.com>
2026-03-02 13:36:34 +00:00
Josh bb0aa30870 fix(S3ObjectTrait): cast $urn to a string until typing adding elsewhere
Signed-off-by: Josh <josh.t.richards@gmail.com>
2026-03-02 13:36:34 +00:00
Josh 298b81f087 fix(ObjectStorage): fix 0 folder handling in Primary Storage
Signed-off-by: Josh <josh.t.richards@gmail.com>
2026-03-02 13:36:34 +00:00
Carl Schwan 3e8f02308a perf(sharing): Avoid loading all shares from all users when unsharing
First check which users have a shares and for which providers and then
only load these shares.

Avoid doing at most 5 SQL queries for each users a share was shared with if
there are no shares.

Signed-off-by: Carl Schwan <carlschwan@kde.org>
2026-03-02 11:25:52 +00:00
Marcel Müller 008249440a fix: Use configured loglevel even when log.condition matches is set
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2026-02-27 15:02:30 +00:00
Salvatore Martire 122b019f5c fix(L10N): stop stripping _ from language codes
Stripping the underscore breaks support for all languages like de_AT,
de_DE and so on...

Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2026-02-25 15:55:06 +00:00
Cristian Scheid d487ad2d5f feat: add upload_time support to file search and recent files
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-02-25 11:46:52 +00:00
Robin Appelman 32299a8113 fix: correctly return false for filesize on non-existing file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-02-24 18:08:43 +01:00