aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* fix: Fix several side effects of lazy ghostsCôme Chilliet13 days1-0/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Only use Lazy objects if PHP is 8.4 or higherCôme Chilliet13 days1-34/+42
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore: Suppress psalm errorCôme Chilliet14 days1-2/+3
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat: Use Lazy ghosts for Dependency injectionCôme Chilliet14 days1-36/+37
| | | | | | This will only work with PHP 8.4, so we’ll need to put it behind a version check later. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #52479 from ↵Stephan Orbaugh14 days1-1/+1
|\ | | | | | | | | RobertZenz/bugfix/fix-jsresourcelocator-incorrect-parameter fix(JSResourceLocator) fix incorrect parameter being used.
| * fix(JSResourceLocator) fix incorrect parameter being used.Robert Zenz2025-04-261-1/+1
| |
* | Merge pull request #52402 from nextcloud/fix/32bit-packKate2025-04-281-1/+8
|\ \
| * | fix(32bit): use `PHP_INT_MAX` where neededfix/32bit-packFerdinand Thiessen2025-04-281-1/+8
| |/ | | | | | | | | | | | | | | | | * Typo from https://github.com/nextcloud/server/pull/52392 `0xFFFF` is only 2 bytes, but we need either `0xFFFFFFFF` or maybe a bit easier to read `PHP_INT_MAX`. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Merge pull request #52434 from nextcloud/bugfix/52420/closure-as-default-appJoas Schilling2025-04-282-11/+13
|\ \ | |/ |/| fix(navigation): Fix default app entry registered as closure
| * fix(navigation): Fix absolute URLs from default appsbugfix/52420/closure-as-default-appJoas Schilling2025-04-251-0/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(navigation): Fix default app entry registered as closureJoas Schilling2025-04-251-11/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #52424 from nextcloud/bugfix/noid/censor-more-app-configsAndy Scherzinger2025-04-251-3/+9
|\ \ | | | | | | fix(config): Censor more app configs in system report
| * | fix(config): Censor more app configs in system reportbugfix/noid/censor-more-app-configsJoas Schilling2025-04-251-3/+9
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #51355 from AIlkiv/refactor/rollback-hook-usageStephan Orbaugh2025-04-253-23/+15
|\ \ | |/ |/| refactor: cleanup rollback hook usage
| * refactor: cleanup rollback hook usageailkiv2025-04-253-23/+15
| | | | | | | | Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com>
* | Merge pull request #52079 from ↵Andy Scherzinger2025-04-241-4/+9
|\ \ | | | | | | | | | | | | IONOS-Productivity/fix/s3_traffic_on_video_thumbnails fix(previews): avoid large file downloads for remote movie storage
| * | fix(previews): avoid large file downloads for remote movie storageMisha M.-Kupriyanov2025-04-231-4/+9
| | | | | | | | | | | | | | | | | | | | | Prevent downloading entire movie files from remote storage (e.g., S3) when the 'moov atom' is located at the end of the file. Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
* | | Merge pull request #52276 from nextcloud/feat/noid/log-query-parametersKate2025-04-241-3/+8
|\ \ \
| * | | feat: Add option to also log parameters to query logMarcel Müller2025-04-191-3/+8
| | | | | | | | | | | | | | | | Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
* | | | Merge pull request #52392 from nextcloud/fix/32bit-supportCôme Chilliet2025-04-241-2/+6
|\ \ \ \ | | | | | | | | | | fix(32bit): make `pack` compatible with 32bit PHP
| * | | | fix(32bit): make `pack` compatible with 32bit PHPfix/32bit-supportFerdinand Thiessen2025-04-231-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `P` formatter is 64bit only - we need to manually pack the 64bit. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | | Merge pull request #52299 from nextcloud/refactor/preview-testsFerdinand Thiessen2025-04-241-1/+1
|\ \ \ \ \ | | | | | | | | | | | | refactor: Thumbnail Generator logging and tests
| * | | | | refactor: Thumbnail Generator logging and testsrefactor/preview-testsnfebe2025-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* | | | | | Merge pull request #52391 from nextcloud/fix/harden-template-functionsFerdinand Thiessen2025-04-241-8/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | fix(Template): harden enabled-theme logic
| * | | | | | fix(Template): harden enabled-theme logicfix/harden-template-functionsFerdinand Thiessen2025-04-231-8/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* / | | | | docs(dispatcher): Correct described return valuesjtr-docs-dispatcher-returnJosh2025-04-231-3/+5
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Josh <josh.t.richards@gmail.com>
* | | | | Merge pull request #51994 from ↵Ferdinand Thiessen2025-04-231-1/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/noid/allows-some-char-from-federationid fix(federation): allows equal signs in federation id
| * | | | | fix(federation): allows equal signs in federation idfix/noid/allows-some-char-from-federationidMaxence Lange2025-04-221-1/+4
| | |_|/ / | |/| | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | Merge pull request #52361 from nextcloud/fix/51833/add-retries-to-s3-clientFerdinand Thiessen2025-04-231-0/+4
|\ \ \ \ \ | |_|/ / / |/| | | | fix(objectstorage): add retry attempts to S3 connection
| * | | | fix(objectstorage): add retry attempts to S3 connectionfix/51833/add-retries-to-s3-clientAnna Larch2025-04-231-0/+4
| |/ / / | | | | | | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* / / / feat(profile): Add an API to get the profile field datafeat/noid/profile-data-apiJoas Schilling2025-04-231-1/+5
|/ / / | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #52099 from nextcloud/perf/excimerJulius Knorr2025-04-221-0/+95
|\ \ \ | | | | | | | | Built in profiling capabilities with excimer
| * | | perf: Add config options to trigger individual and sample profiling using ↵perf/excimerJulius Knorr2025-04-221-0/+95
| |/ / | | | | | | | | | | | | | | | excimer Signed-off-by: Julius Knorr <jus@bitgrid.net>
* | | Merge pull request #52221 from ↵F. E Noel Nfebe2025-04-222-25/+34
|\ \ \ | |/ / |/| | | | | | | | nextcloud/feat/no-issue/add-logging-preview-generation feat: add logging to preview generation
| * | feat: add logging to preview generationfeat/no-issue/add-logging-preview-generationnfebe2025-04-172-25/+34
| | | | | | | | | | | | Signed-off-by: nfebe <fenn25.fn@gmail.com>
* | | Merge pull request #52224 from ↵Arthur Schiwon2025-04-172-3/+22
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/dont-break-when-checking-if-too-long-user-exists fix(usermanager): Don't throw when checking if a too long user id is an existing user
| * | | fix(user): Introduce a public constant for max length of user idbugfix/noid/dont-break-when-checking-if-too-long-user-existsJoas Schilling2025-04-172-9/+5
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | fix(usermanager): Don't throw when checking if a too long user id is an ↵Joas Schilling2025-04-162-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | existing user Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #52178 from nextcloud/fix/remove-app.php-loadingCôme Chilliet2025-04-172-48/+7
|\ \ \ \ | |_|/ / |/| | | fix: Remove support for app.php loading
| * | | fix: Remove support for app.php loadingCôme Chilliet2025-04-142-48/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has been deprecated for a long time, and the last known active application to use it (user_saml) is now migrated the modern API. Presence of the file is still checked in order to log an error. This behavior may be removed as well in a few versions. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | fix(Log): revert swich to ?? operatorfix/noid/log-false-userArthur Schiwon2025-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | false is expected, not null. The changed caused "user" in the log files to be false instead of "--", which is breaking behaviour. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | fix(mail): use matching text color for primary elementsfix/use-also-default-textFerdinand Thiessen2025-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | when we use the default primary as background color we have to use the default primary text color as well. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | | | Merge pull request #50465 from nextcloud/zorn-v-patch-1John Molakvoæ2025-04-171-1/+1
|\ \ \ \
| * | | | Check that user actually can validate password for jszorn-v-patch-1zorn-v2025-04-161-1/+1
| | |/ / | |/| | | | | | Signed-off-by: zorn-v <zorn7@yandex.ru>
* / | | feat(ip): add configurable IPv6 subnet for BFP and throttlingfeat/add-configurable-ipv6-subnetBenjamin Gaussorgues2025-04-171-4/+11
|/ / / | | | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* | | Merge pull request #51020 from nextcloud/artonge/fix/transfer_ownershipLouis2025-04-141-1/+12
|\ \ \
| * | | fix: Transfer ownership with S3 as primaryartonge/fix/transfer_ownershipLouis Chemineau2025-04-011-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using S3 as primary storage, transferring ownership with the `--move` option fail with the following error: `SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '8-45b963397aa40d4a0063e0d85e4fe7a1' for key 'fs_storage_path_hash'` The `--move` option moves the entire home folder from one account to another. The error means that the move failed because the destination folder already exist in `oc_filecache`. - With S3 as primary storage, folders only exists as entries in `oc_filecache`. - With S3 as primary storage, `moveFromStorage(...)` only moves the cache entry, as nothing needs to be moved on disk. This cache move does not delete potentially pre-existing destination folder. - With Local storage, `moveFromStorage(...)` calls `rename(...)` which delete pre-existing folder. - `transfer(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/apps/files/lib/Service/OwnershipTransferService.php#L112 - `oneTimeUserSetup(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/lib/private/Files/SetupManager.php#L261-L262 - `mkdir(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/lib/private/Files/ObjectStore/ObjectStoreStorage.php#L91-L135 - `moveFromStorage(...)`: https://github.com/nextcloud/server/blob/687a4d9ac7fcdbd935f81a0def567a1092306f7a/lib/private/Files/ObjectStore/ObjectStoreStorage.php#L635-L636 Delete pre-existing folder in `moveFromStorage(...)` Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | Merge pull request #52086 from nextcloud/fix/cleanup-user-backendsCôme Chilliet2025-04-142-37/+18
|\ \ \ \ | |_|/ / |/| | | Cleanup user backends related methods
| * | | fix: Deprecate OC_User methods related to user backendsCôme Chilliet2025-04-102-37/+18
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | fix(setup): ignore missing theming appupstream/52135/52135-masterMaxence Lange2025-04-121-2/+7
| | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>