aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use proc_open to avoid spawning a shellGlandos2023-02-151-10/+17
| | | | | | The use of `exec` will spawn a shell, using `/bin/sh` on POSIX platforms. But in restricted environment, such as AppArmor, this means giving execution to `/bin/sh`, which renders the execution restriction quite useless. Using an array with `proc_open` reduces this, and paved the way for file streaming instead of temporary file. Signed-off-by: Glandos <bugs-github@antipoul.fr>
* Merge pull request #36639 from nextcloud/userbackend-local-cacheChristoph Wurst2023-02-154-1/+58
|\ | | | | also cache backend for user in memory instead of always going to redis
| * also cache backend for user in memory instead of always going to redisRobin Appelman2023-02-104-1/+58
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #36698 from nextcloud/db-profile-start-timeChristoph Wurst2023-02-151-0/+1
|\ \ | | | | | | log start time of queries for profiler
| * | log start time of queries for profilerRobin Appelman2023-02-141-0/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #36691 from nextcloud/fix/25175/fix-config-truncatingSimon L2023-02-151-0/+7
|\ \ \ | | | | | | | | add a disk_free_space check before writing config
| * | | address review by JoasSimon L2023-02-151-2/+3
| | | | | | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
| * | | add a disk_free_space check before writing configSimon L2023-02-131-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | | Also copy bruteforce meta data when converting DataResponse to JSONResponseJoas Schilling2023-02-141-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #36603 from nextcloud/imagick-cache-formatsRobin Appelman2023-02-145-7/+53
|\ \ \ \ | |_|/ / |/| | | cache formats supported by imagick
| * | | cache formats supported by imagickRobin Appelman2023-02-135-7/+53
| | |/ | |/| | | | | | | | | | | | | turns out this can be quite slow Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #36656 from nextcloud/route-instrumentationJulius Härtl2023-02-144-28/+66
|\ \ \
| * | | DI for RouterRobin Appelman2023-02-133-20/+39
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | more routing performance instrumentationRobin Appelman2023-02-102-9/+28
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-142-2/+2
| |_|/ |/| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #36643 from nextcloud/fs-setup-instrimuntionRobin Appelman2023-02-134-27/+74
|\ \ \ | | | | | | | | more filesystem setup performance instrumentation
| * | | more filesystem setup performance instrumentationRobin Appelman2023-02-104-27/+74
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #36525 from nextcloud/fix/noid/params-putJulius Härtl2023-02-131-6/+12
|\ \ \ | | | | | | | | fix: Only get params from PUT content if possible
| * | | fix: Only get params from PUT content if possibleJulius Härtl2023-02-031-6/+12
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #36641 from nextcloud/instrument-app-registerCôme Chilliet2023-02-132-7/+26
|\ \ \ \ | | | | | | | | | | Add more profiler instrumentation to app loading
| * | | | instrumentation for app bootingRobin Appelman2023-02-092-10/+17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | add more performance instrumentation for app registeringRobin Appelman2023-02-091-2/+14
| | |/ / | |/| | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #36232 from nextcloud/enh/a11y-user-menuPytal2023-02-101-2/+2
|\ \ \ \ | | | | | | | | | | Port user menu to Vue
| * | | | Port user menu to VueChristopher Ng2023-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | | | Merge pull request #36610 from nextcloud/folder-lazy-submountsJulius Härtl2023-02-105-37/+50
|\ \ \ \ \
| * | | | | only fetch the data for mounts inside a folder when neededRobin Appelman2023-02-095-37/+50
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for most operations we don't actually care about any mounts inside a folder, only for metadata that needs to propagate across storage boundaries (size, etag, mtime) do we need all the submount info. By only loading this data when needed we can save a bunch of storage setup in a number of cases Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-102-2/+12
| |/ / / |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #36621 from ↵Joas Schilling2023-02-101-1/+30
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/perf/noid/only-check-for-token-when-it-can-actually-be fix(performance): Only search for auth tokens when the provided login…
| * | | | fix(authentication): Check minimum length when creating app tokensJoas Schilling2023-02-091-2/+10
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | fix(performance): Only search for auth tokens when the provided login is ↵Joas Schilling2023-02-081-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | long enough Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #36637 from nextcloud/fix/noid/file-ref-provider-safer-matchJoas Schilling2023-02-091-4/+4
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | safer URL match in FileReferenceProviderJulien Veyssier2023-02-091-4/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* | | | | fix(authtoken): Store only one hash for authtokens with the current password ↵Julius Härtl2023-02-092-1/+50
|/ / / / | | | | | | | | | | | | | | | | | | | | per user Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #36590 from nextcloud/enh/load-app-onceCôme Chilliet2023-02-091-1/+4
|\ \ \ \ | | | | | | | | | | Make sure application are only loaded once
| * | | | Make sure application are only loaded onceCôme Chilliet2023-02-071-1/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-094-0/+8
| |/ / / |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | Merge pull request #36566 from nextcloud/mount-find-by-numeric-idJulius Härtl2023-02-083-14/+23
|\ \ \ \ | |_|/ / |/| | |
| * | | fix testsRobin Appelman2023-02-072-5/+13
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | cache numeric id in mountpointRobin Appelman2023-02-061-1/+5
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | deduplicate getStorage() logic in Mount\ManagerRobin Appelman2023-02-061-9/+1
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | dont delegate Mount\Manager::getByNumericId to getByStorageIdRobin Appelman2023-02-061-2/+7
| | |/ | |/| | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #36546 from nextcloud/enh/36543/allow-further-previewsAnna2023-02-081-18/+45
|\ \ \ | | | | | | | | imaginary - fix generation of heif, pdf, illustrator and svg thumbnails
| * | | imaginary - allow to generate heif, pdf and svg thumbnailsSimon L2023-02-081-18/+45
| |/ / | | | | | | | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* | | Fix(l10n): 🔠 Update translations from TransifexNextcloud bot2023-02-08130-344/+254
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #36417 from nextcloud/fix/psr-containerJoas Schilling2023-02-076-3/+49
|\ \ \ | | | | | | | | Make the container fully fulfill PSR container interface
| * | | Update autoloadersFerdinand Thiessen2023-02-072-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
| * | | fix: Throw `NotFoundExceptionInterface` to fulfill PSR container interface ↵Ferdinand Thiessen2023-02-064-3/+47
| |/ / | | | | | | | | | | | | | | | if class not found Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
* | / Revert "disable upgrades to 26 for 32-bit"Côme Chilliet2023-02-071-3/+0
| |/ |/| | | | | | | | | This reverts commit faa747e44575269d9f4eb09d0a2c6aa3fe0501f8. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Respect OCP interface in private classesCôme Chilliet2023-02-079-9/+9
| | | | | | | | | | | | | | Because the parameter type was moved to phpdoc it needs to be removed from implementations Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Move back typing to phpdoc to keep backward compatibility in OCPCôme Chilliet2023-02-072-2/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>