aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
...
* | feat(router): Cache routes in local cache if possibleCôme Chilliet2025-06-051-0/+59
| | | | | | | | | | | | | | | | | | This is not ideal because serializing the routecollection is not easy. It seems Symfony has its own way of doing things by dumping routes to a PHP file, maybe that would be better, but it would mean pulling a new symfony dependency and maybe refactor our Router. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Throw AppNotFoundException from installer when application is not foundCôme Chilliet2025-06-052-2/+17
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix: Do not enable applications which are not installed yetCôme Chilliet2025-06-051-0/+9
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | fix(dav): file drop nicknameskjnldsv2025-06-052-0/+12
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* | fix(notifications): Fix check for hasNotifiers when all apps use ↵bugfix/53157/fix-hasNotifier-checkJoas Schilling2025-06-041-1/+3
| | | | | | | | | | | | RegistrationContext Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #53205 from nextcloud/fix/noid/get-preview-force-mimetypeJulien Veyssier2025-06-021-7/+9
|\ \ | | | | | | fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled
| * | fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabledfix/noid/get-preview-force-mimetypeJulien Veyssier2025-06-021-7/+9
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | fix: make core application bootstrapable by coordinatorchore/refactor-coreFerdinand Thiessen2025-06-024-6/+18
|/ / | | | | | | | | | | 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>
* | 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: 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>
* | | 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>
* | | 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-281-4/+67
| | | | | | | | | | | | Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
* | | feat: move primary object store configuration to a single placeprimary-object-store-settingsRobin Appelman2025-05-284-146/+172
|/ / | | | | | | 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>
* | | 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>
* | feat(IUser): add `getQuotaBytes` method to get machine readable quotafeat/user-get-quota-bytesFerdinand Thiessen2025-05-225-4/+20
| | | | | | | | | | | | | | | | | | | | | | 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>
* | 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>
* 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 #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>
* feat: only load template fields when requestedElizabeth Danzberger2025-05-191-2/+63
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* Merge pull request #52879 from nextcloud/bug/noid/clear-dav-photo-cacheChristoph Wurst2025-05-192-15/+12
|\ | | | | Add command to clear dav's photo cache
| * refactor(dav): replace IAppData with IAppDataFactory for PhotoCachebug/noid/clear-dav-photo-cacheDaniel Kesselberg2025-05-152-15/+12
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #50157 from nextcloud/feat/mountmanager/emit-eventsKate2025-05-191-7/+24
|\ \
| * | feat(UserMountCache): Emit events for added, removed and updated mountsfeat/mountmanager/emit-eventsprovokateurin2025-05-191-7/+24
| | | | | | | | | | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* | | Merge pull request #52930 from nextcloud/chore/depreate-oc-helper-roKate2025-05-192-2/+4
|\ \ \ | |/ / |/| |
| * | chore: deprecate `OC_Helper::isReadOnlyConfigEnabled`chore/depreate-oc-helper-roFerdinand Thiessen2025-05-172-2/+4
| | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | Merge pull request #52848 from nextcloud/fix/cleanup-servercontainerKate2025-05-192-634/+35
|\ \ \ | |/ / |/| |
| * | fix: Do not use circle provider class constantCôme Chilliet2025-05-161-2/+1
| | | | | | | | | | | | | | | | | | | | | This is to avoid issues if the circles app is disabled but you still have circles shares in your DB Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Count on the circles application to register its share providerCôme Chilliet2025-05-161-40/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Remove deprecated getters from Server that were previously removed from ↵Côme Chilliet2025-05-161-461/+0
| | | | | | | | | | | | | | | | | | public interface Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | fix: Cleanup share ProviderFactory to correctly use DI instead of deprecated ↵Côme Chilliet2025-05-162-143/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | getters Ideally circles and talk should migrate to calling registerProvider and core would not need to use their OCA classes like currently. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #52890 from nextcloud/chore/move-stream-copy-implementationFerdinand Thiessen2025-05-177-31/+17
|\ \ \ | | | | | | | | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`
| * | | chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`Ferdinand Thiessen2025-05-167-31/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function was already there but called the legacy version. So moved the implementation and migrated all usages of it. Sadly the interface was slightly different so adjusted it to be compatible with both legacy and the OCP one. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | chore!: remove legacy functions from `OC_Helper` deprecated before v10Ferdinand Thiessen2025-05-161-101/+4
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | chore: deprecate OC_Helper::copyrchore/deprecate-ochelper-copyrFerdinand Thiessen2025-05-162-5/+43
|/ / / | | | | | | | | | | | | | | | Inline it into Installer as needed. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* / / chore: move implementation to non-deprecated OCP\Util from OC_Helperchore/move-impl-utilFerdinand Thiessen2025-05-161-48/+14
|/ / | | | | | | | | | | | | | | Only moves the implementation where it was already existing and adds more helpful deprecation messages. This way we can in the future just remove the OC_Helper variants. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #52871 from AndyXheli/patch-2Christoph Wurst2025-05-161-1/+1
|\ \ | | | | | | fix(previews): lower log level when cached preview isn't found
| * | fix(previews): lower log level when cached preview isn't foundAndyXheli2025-05-151-1/+1
| |/ | | | | | | | | | | | | | | Since this PR #52221 was implemented, the log file has been flooded with warnings stating, "Cached preview not found for file; generating a new preview." This appears to be more of an informational message rather than a warning. This PR will change it from warning to debug Original PR #52221 Signed-off-by: AndyXheli <andyxheli@gmail.com>