aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* refactor(PreviewManager): Property promotion and array of classesprevPropPromarrayClasGit'Fellow14 days1-44/+30
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* Merge pull request #53205 from nextcloud/fix/noid/get-preview-force-mimetypeJulien Veyssier14 days2-8/+12
|\ | | | | fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled
| * fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabledfix/noid/get-preview-force-mimetypeJulien Veyssier2025-06-022-8/+12
| | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | Merge pull request #53157 from nextcloud/chore/refactor-coreFerdinand Thiessen2025-06-027-10/+26
|\ \ | | | | | | refactor(core): migrate core application to `IBootstrap`
| * | fix: make core application bootstrapable by coordinatorchore/refactor-coreFerdinand Thiessen2025-06-027-10/+22
| | | | | | | | | | | | | | | | | | 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>
| * | refactor(core): migrate core application to `IBootstrap`Ferdinand Thiessen2025-06-022-0/+4
| |/ | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #52949 from nextcloud/fix/delete-legacy-autoloaderFerdinand Thiessen2025-06-022-195/+2
|\ \ | |/ |/| fix: Remove useless legacy autoloader
| * fix: Remove useless legacy autoloaderfix/delete-legacy-autoloaderCôme Chilliet2025-05-272-195/+2
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #52242 from nextcloud/artonge/fix/copy_subfolders_s3Louis2025-06-021-3/+3
|\ \
| * | perf: set the folder size in the same query as we create itRobin Appelman2025-05-281-7/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | fix(S3): Use original folder size during copyLouis Chemineau2025-05-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | This prevent having copied folders with a wrongly set size of 0KB. - Fix https://github.com/nextcloud/server/issues/51916 Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-06-022-0/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #53210 from ↵John Molakvoæ2025-06-011-0/+3
|\ \ \ | | | | | | | | | | | | nextcloud/bug/52977/opcache-reset-after-app-extract
| * | | fix: clear opcache after app extractionbug/52977/opcache-reset-after-app-extractDaniel Kesselberg2025-05-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clear opcache post app update extraction to prevent outdated files issues. opcache.validate_timestamps=0 disables automated file modification checks. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | fix(l10n): Update translations from TransifexNextcloud bot2025-06-016-186/+610
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-3112-28/+44
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-3014-0/+14
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | test: Mock ITaskManager to remove test interactionsJoas Schilling2025-05-291-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | chore(cs): Apply autofixestests/noid/migrate-federation-and-files_trashbinJoas Schilling2025-05-291-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-2934-68/+68
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | chore(i18n): Improved wordingrakekniven2025-05-291-1/+1
| | | | | | | | | Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | | chore(i18n): Add hint for translatorsrakekniven2025-05-291-0/+1
| | | | | | | | | Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* | | feat: add support for sensitive Declarative settings values encryptionAndrey Borysenko2025-05-282-4/+68
| | | | | | | | | | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* | | feat: move primary object store configuration to a single placeprimary-object-store-settingsRobin Appelman2025-05-286-146/+174
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #52996 from nextcloud/fix/emit_hooks_on_copyJonas2025-05-281-2/+2
|\ \ | | | | | | fix(node): emit hooks on `Node::copy()`
| * | fix(node): emit hooks on `Node::copy()`Jonas2025-05-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calling `Files\Node\Node::copy()`, `Files\View::copy()` gets called, but `Files\View::fakeRoot` is empty so the hooks are not emitted if no path is given to `Files\View::shouldEmitHooks()`. This results in node-related events like `NodeCopiedEvent` not being fired when copying files via `Files\Node\Node::copy()`. `Files\View::shouldEmitHooks()` is given a path as parameter in almost all places except when called from the `copy()` function. This commit changes it and passes the copy target path. Fixes: nextcloud/collectives#1756 Signed-off-by: Jonas <jonas@freesources.org>
* | | fix(l10n): Update translations from TransifexNextcloud bot2025-05-282-4/+4
| |/ |/| | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | chore: Remove useless legacy autoloader for testsfix/cleanup-test-legacy-autoloaderCôme Chilliet2025-05-272-7/+0
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Merge pull request #53130 from ↵Benjamin Gaussorgues2025-05-271-0/+5
|\ \ | | | | | | | | | nextcloud/artonge/fix/skip_blurhash_if_previews_are_disabled
| * | fix(blurhash): Skip generation the if previews are disabled.artonge/fix/skip_blurhash_if_previews_are_disabledLouis Chemineau2025-05-271-0/+5
| |/ | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* / fix(FileReferenceEventListener): Invalidate cache after node was renamedfix/file_reference_invalidate_renameJonas2025-05-271-0/+5
|/ | | | | | Fixes: nextcloud/collectives#1527 Signed-off-by: Jonas <jonas@freesources.org>
* fix(log): map all warnings to warn log level, notice to infoChristoph Wurst2025-05-271-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix(l10n): Update translations from TransifexNextcloud bot2025-05-272-0/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* docs(caldav): update documentation for calendar searchdocs/53002/calendar-searchDaniel Kesselberg2025-05-231-7/+65
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(autoloader): Fix location of class to be autoloadablebugfix/noid/fix-psr4-classJoas Schilling2025-05-232-0/+2
| | | | | | > Class FeedBackHandler located in ./core/ajax/update.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping. Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat(IUser): add `getQuotaBytes` method to get machine readable quotafeat/user-get-quota-bytesFerdinand Thiessen2025-05-226-4/+29
| | | | | | | | | | | Proper replacement for deprecated `OC_Util::getUserQuota`. Also we still use this in some cases we can now replace, moreover it just makes sense to have a machine readable format in the API instead of only the human readable format which is less precise. Alings also with `getQuota` of the quota storage, which already returned the machine readable format. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Merge pull request #52810 from ↵Louis2025-05-221-4/+4
|\ | | | | | | nextcloud/artonge/feat/do_not_require_samesite_strict_cookie_on_public.php
| * fix: Move CSRF check from base to PublicAuth for public.phpLouis Chemineau2025-05-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This currently prevent directly accessing a ressource when clicking on a link on a third party site. Example, clicking on `https://example.com/public.php/dav/files/pqLWcA269zfzXez/?accept=zip` in a GitHub comment. Skipping the check is an issue with password protected shares, as it allows third party sites to request the ressource when the user already entered the password, aka CSRF. So after removing the check from `base.php`, we need to add the it again in the `PublicAuth` plugin. We also add a redirect to be helpful to the user. **Warning**: this adds the limitation that clicking on a direct download link for password protected shares will redirect you to the password form, and then to the main share view. Fix #52482 Signed-off-by: Louis Chemineau <louis@chmn.me>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-05-222-0/+10
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | fix: Revert "fix(db): Store last insert id before reconnect"tests/noid/speed-up-comments-testJoas Schilling2025-05-214-43/+10
| | | | | | | | | | | | | | This reverts commit df94cceb7bc350da9860867c9aef7ba03dbb2b6c. There were records of some old IDs being read which is much worse Signed-off-by: Joas Schilling <coding@schilljs.com>
* | fix(l10n): Update translations from TransifexNextcloud bot2025-05-21186-1840/+178
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #52943 from nextcloud/feat/http/request-header-attributeKate2025-05-203-0/+52
|\ \
| * | feat(Http): Add RequestHeader attributefeat/http/request-header-attributeprovokateurin2025-05-203-0/+52
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #52972 from ↵Kate2025-05-202-57/+68
|\ \ \ | | | | | | | | | | | | nextcloud/fix/setupmanager/home-root-providers-register-mounts
| * | | fix(SetupManager): Include home and root providers when registering mountsfix/setupmanager/home-root-providers-register-mountsprovokateurin2025-05-202-57/+68
| | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | Merge pull request #52982 from nextcloud/chore/user-mount-events-sinceKate2025-05-203-3/+3
|\ \ \ \
| * | | | chore: Set correct version for new UserMount eventschore/user-mount-events-sinceprovokateurin2025-05-203-3/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | | | Merge pull request #52859 from Murena-SAS/dev/external-storage-previewsStephan Orbaugh2025-05-201-4/+4
|\ \ \ \ \ | |/ / / / |/| | | | fix: Throw exception in PreviewManager when preview is not available
| * | | | fix: Throw exception in PreviewManager when preview is not availableAkhil2025-05-201-4/+4
| |/ / / | | | | | | | | | | | | Signed-off-by: Akhil <akhil@e.email>
* / / / fix(throttler): Don't query bruteforce attempts twiceperf/noid/query-performanceJoas Schilling2025-05-201-12/+14
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>