summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
...
* fix(s3): treat empty sse_c_key as not setbackport/50514/stable29Richard Steinmetz2025-01-291-1/+1
| | | | | Co-authored-by: Christian Becker <christian@dabecka.de> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(files): Do not array access null valuebackport/50437/stable29Ferdinand Thiessen2025-01-291-1/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Correctly return app id and app version for `core` styles and imagesFerdinand Thiessen2025-01-292-8/+19
| | | | | | fix(TemplateLayout): `core` is not an app but the server itself Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(performance): use low resolution for blurhashbackport/50494/stable29Max2025-01-281-1/+1
| | | | | | | | Improve blurhash performance by using a low res image. The results are hard to destinguish visualy. It is a **blur** hash after all. Signed-off-by: Max <max@nextcloud.com>
* fix: Metadata field searchbackport/50273/stable29Louis Chemineau2025-01-271-6/+11
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: add sse_c_key from S3 object storage properties config to list of ↵backport/49681/stable29Robert Riemann2025-01-221-0/+1
| | | | | | sensitive values Signed-off-by: Robert Riemann <robert@riemann.cc>
* Merge pull request #49990 from nextcloud/backport/49887/stable29Kate2025-01-201-2/+9
|\
| * chore: psalm fixesRobin Appelman2025-01-201-0/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * fix: don't skip scanner users filesystem if they have a mountpoint at ↵Robin Appelman2025-01-201-2/+7
| | | | | | | | | | | | /<user>/files/ Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(TemplateManager): Remove warning messageGit'Fellow2025-01-201-1/+0
|/ | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Merge pull request #49675 from nextcloud/backport/49262/stable29Git'Fellow2025-01-091-1/+5
|\ | | | | [stable29] fix: don't do same-storage move optimization with encryption wrappers
| * fix: don't do same-storage move optimization with encryption wrappersRobin Appelman2025-01-091-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #49655 from nextcloud/backport/48769/stable29Git'Fellow2025-01-091-1/+8
|\ \ | | | | | | [stable29] Fix incorrect permissions when copying shared files
| * | fix: use scan_permissions when copying cache itemsRobin Appelman2024-12-091-1/+5
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | fix: store unmaked source permissions as scan_permissions when loading share ↵Robin Appelman2024-12-091-0/+3
| |/ | | | | | | | | | | cache items Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix(preview): Do not try to parse M3U files as MP3Pauli Järvinen2025-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | By default, the MP3 audio files get the mimetype `audio/mpeg` and the M3U and M3U8 playlist files get the mimetype `audio/mpegurl`. PreviewManager had such a problem that it registered the MP3 preview provider with a regular expression which matched also the M3U files. This caused an error message to be logged on the info (1) level for each M3U file every time a folder with such files was viewed: "Error while getting cover from mp3 file: File /path/to/some/playlist.m3u is not mpeg/audio!". Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
* | fix: Use getRelativePath method to check if node is inside folderCôme Chilliet2024-12-191-1/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Fix promotion of reshares from subsubfoldersCôme Chilliet2024-12-191-10/+17
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Add comment to make code clearerCôme Chilliet2024-12-191-0/+1
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | chore: Turn method description into phpdocCôme Chilliet2024-12-191-1/+1
| | | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
* | fix(shares): Promote reshares into direct shares when share is deletedCôme Chilliet2024-12-191-6/+13
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Tidy up code for reshare deletionCôme Chilliet2024-12-191-14/+16
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: delete re-shares when deleting the parent shareLuka Trovic2024-12-191-0/+69
| | | | | | | | | | | | | | | | Note: Removed part about fix command from original PR Signed-off-by: Luka Trovic <luka@nextcloud.com> Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> (cherry picked from commit 42181c2f490025860e22907255b6917583c798af)
* | fix: make sure we have a valid scheme when testing ocm urlsbackport/49900/stable29skjnldsv2024-12-171-0/+9
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(View): Catch exceptions when executing mkdir for non-existent parentsprovokateurin2024-12-171-4/+11
| | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | Merge pull request #49836 from nextcloud/backport/49822/stable29Kate2024-12-161-2/+4
|\ \ | | | | | | [stable29] fix(files_sharing): Fix error messages from password policy
| * | fix(shares): Wrap exceptions from password validation to set code to 400Côme Chilliet2024-12-121-1/+7
| | | | | | | | | | | | | | | | | | | | | This fixes a regression that bad password returned 403 instead of 400 because of previous changes. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix(files_sharing): Do not wrap password policy exception into a generic oneCôme Chilliet2024-12-121-6/+2
| | | | | | | | | | | | | | | | | | Let the controller access the HintException and show the error to the user. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | fix(TemplateManager): Make sure TemplateFolder is a Folderbackport/49451/stable29Git'Fellow2024-12-161-2/+6
| | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | Merge pull request #49668 from nextcloud/backport/47515/stable29Joas Schilling2024-12-161-13/+21
|\ \ \ | | | | | | | | [stable29] fix(migration): Correctly sort migrations by version number
| * | | fix(migration): Make compatible with PHP 8.0backport/47515/stable29Joas Schilling2024-12-051-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | fix(migration): Correctly sort migrations by version numberJoas Schilling2024-12-051-13/+21
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix: replace null character when serializingbackport/49528/stable29SebastianKrupinski2024-12-132-0/+70
| |/ |/| | | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* | Merge pull request #49654 from nextcloud/backport/49551/stable29John Molakvoæ2024-12-121-2/+9
|\ \ | | | | | | [stable29] fix: don't propagate future mtimes
| * | fix: don't propagate future mtimesbackport/49551/stable29Robin Appelman2024-12-041-2/+9
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* / fix: fix mimetype not being updated when changing file extention on object storebackport/40394/stable29Robin Appelman2024-12-111-9/+13
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #49536 from nextcloud/backport/49523/stable29Joas Schilling2024-11-281-3/+29
|\ | | | | [stable29] fix(migration): Decrypt ownCloud secrets v2
| * fix(migration): Decrypt ownCloud secrets v2Christoph Wurst2024-11-281-3/+29
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | fix: fix availability wrapper not applyingRobin Appelman2024-11-261-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | fix: throw correct exception type when we can't verify if an s3 bucket existsRobin Appelman2024-11-261-5/+6
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(OCMDiscoveryService): Also cache error results during discoverybackport/49311/stable29provokateurin2024-11-251-1/+9
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(BackgroundJobs): Adjust intervals and time sensitivitiesbackport/48600/stable29provokateurin2024-11-255-9/+10
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(storage): Try to delete existing targetbackport/49315/stable29Git'Fellow2024-11-212-10/+13
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix: remove superflous linebackport/48675/stable29georglauterbach2024-11-141-1/+0
| | | | Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
* fix: do not query CNAME if A succeeded alreadygeorglauterbach2024-11-141-1/+5
| | | | Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
* Merge pull request #49097 from nextcloud/backport/48933/stable29Richard Steinmetz2024-11-131-1/+7
|\ | | | | [stable29] Clear pending two factor tokens also from configuration
| * fix: Handle exception when clearing previously removed two factor tokensbackport/48933/stable29Daniel Calviño Sánchez2024-11-051-1/+5
| | | | | | | | | | | | | | | | If a token was already removed from the database but not from the configuration clearing the tokens will try to remove it again from the database, which caused a DoesNotExistException to be thrown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * fix: Clear pending two factor tokens also from configurationDaniel Calviño Sánchez2024-11-051-0/+2
| | | | | | | | | | | | | | | | | | Otherwise as the tokens were removed from the database but not from the configuration the next time that the tokens were cleared the previous tokens were still got from the configuration, and trying to remove them again from the database ended in a DoesNotExistException being thrown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | fix: Clean-up some remaining readdir calls with undesirable false evaluation ↵Josh Richards2024-11-132-2/+2
| | | | | | | | | | | | | | | | potential Signed-off-by: Josh Richards <josh.t.richards@gmail.com> [skip ci]
* | Merge pull request #49206 from nextcloud/backport/48736/stable29Andy Scherzinger2024-11-121-0/+1
|\ \ | | | | | | [stable29] fix: log a warning when we can't build a background job