summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Only use libxml_disable_entity_loader on php older than 8Christoph Wurst2021-01-081-3/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #24948 from nextcloud/dependabot/composer/doctrine/dbal-3.0.0Christoph Wurst2021-01-0845-476/+620
|\ | | | | Bump doctrine/dbal from 2.12.0 to 3.0.0
| * Remove "primary" option from schema builder argument $options as it is not ↵Morris Jobke2021-01-081-1/+9
| | | | | | | | | | | | | | | | used anymore and triggers an exception See https://github.com/doctrine/dbal/commit/138eb85234a1faeaa2e6a32cd7bcc66bb51c64e8#diff-300f55366adb50a32a40882ebdc95c163b141f64cba5f45f20bda04a907b3eb3L82 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-0844-475/+611
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #22992 from nextcloud/password-urlencodeMorris Jobke2021-01-081-0/+14
|\ \ | |/ |/| allow authenticating using urlencoded passwords
| * allow authenticating using urlencoded passwordsRobin Appelman2021-01-071-0/+14
| | | | | | | | | | | | this allows authenticating with passwords that contain non ascii-characters in contexts that otherwise do not allow it (http basic) Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #25015 from nextcloud/fix/no-double-intl-polyfillRoeland Jago Douma2021-01-081-1/+7
|\ \ | | | | | | Replace patchwork/utf8 with symfony-polyfill-*
| * | Replace patchwork/utf8 with symfony-polyfill-*Christoph Wurst2021-01-071-1/+7
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #25021 from nextcloud/enhancement/occ-install-exception-traceRoeland Jago Douma2021-01-084-4/+8
|\ \ \ | | | | | | | | Print an exception trace for setup exceptions
| * | | Add more previous exceptions to database setup codeMorris Jobke2021-01-073-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Print an exception trace for setup exceptionsChristoph Wurst2021-01-071-0/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Right now any setup error will just result in the exception message being printed. In some cases this doesn't give any insights into what went wrong. This adds some dedicated logic to print the exception trace and any previous exceptions to the CLI. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #24892 from nextcloud/fix/use-symfony-dispatcher-correctlyMorris Jobke2021-01-071-14/+22
|\ \ \ | | | | | | | | Use the Symfony dispatcher correctly
| * | | Use the Symfony dispatcher correctlyChristoph Wurst2021-01-051-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Event object as first arg (otherwise there is a notice in the logs) * `dispatch` MUST return the event object Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #24989 from nextcloud/scanner-ignore-non-readableMorris Jobke2021-01-071-0/+4
|\ \ \ \ | |_|/ / |/| | | ignore files that have no read permissions during scanning
| * | | ignore files that have no read permissions during scanningRobin Appelman2021-01-061-0/+4
| |/ / | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Catch throwable instead of exceptionRoeland Jago Douma2021-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | The error that gets thrown can also be a type error etc. So we should properly catch the Throwable. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #25003 from nextcloud/psalm/noid/phpdoc-fix-return-typeRoeland Jago Douma2021-01-073-3/+3
|\ \ \ | | | | | | | | Fix return types for Archive::getStream
| * | | Fix return types for Archive::getStreamMorris Jobke2021-01-073-3/+3
| | |/ | |/| | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / | Fix warning in PHP 8 about optional parameter before mandatory oneMorris Jobke2021-01-071-1/+1
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Set the JSCombiner cache if neededRoeland Jago Douma2021-01-061-0/+6
|/ | | | | | | | | | | | Found while debugging a customer setup. They had to flush their Redis. Hence the info was no longer there. Since they also used S3 this meant requesting the files over and over on template render. Which on S3 is not cheap. Now we just write it back if we can't get it from the cache in the first place. So that the next run has it cached properly again. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Properly handle result when copying with failure and throw in testsJulius Härtl2021-01-051-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headersChristoph Wurst2020-12-3018-3/+29
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* dont apply encryption wrapper for root mountRobin Appelman2020-12-291-1/+1
| | | | | | | the `shouldEncrypt` already disables encryption for anything thats not in the users data folder, however the encryption wrapper being applied anyway on the root folder breaks groupfolders Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #24874 from nextcloud/enh/exception_loggingRoeland Jago Douma2020-12-292-4/+22
|\ | | | | Avoid huge exception argument logging
| * Avoid huge exception argument loggingRoeland Jago Douma2020-12-292-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | In some cases it might happen that you have an argument that deep down somewhere has an array with a lot of entries (think thousands). Now before we would just happily print them all. Which would fill the log. Now it will just print the first 5. And add a line that there are N more. If you are on debug level we will still print them all. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Bump icewind/streams from 0.7.1 to 0.7.2Christoph Wurst2020-12-2910-58/+80
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move to single share event. Just emit more if neededRoeland Jago Douma2020-12-231-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* +ShareDeletedEventMaxence Lange2020-12-231-0/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-2211-78/+78
|\ | | | | Unify links to php.net
| * Unify links to php.netJ0WI2020-09-1711-78/+78
| | | | | | | | | | | | Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Merge pull request #24594 from kofemann/dcacheJulius Härtl2020-12-229-16/+20
|\ \
| * | storage: update IStorage#file_put_contents docs to match usageTigran Mkrtchyan2020-12-218-15/+19
| | | | | | | | | | | | | | | | | | | | | The current phpdoc of IStorage#file_put_contents doesnt corresponds to it's actual usage in code, e.g. Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
| * | files: Local#writeStream should use it's own file_put_contentsTigran Mkrtchyan2020-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OC\Files\Storage\Local#writeStream use system provided file_put_contents. However, it overrides file_put_contents, thus expects that the default behaviour can be different. Use Local#file_put_contents in writeStream to benefit from class specific functionality. Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
* | | Actually set the TTL on redis setRoeland Jago Douma2020-12-211-1/+7
| | | | | | | | | | | | | | | | | | Else well the keys remain for ever and ever. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #24730 from J0WI/fix-trusted-ipv6Julius Härtl2020-12-211-1/+1
|\ \ \ | | | | | | | | Fix IPv6 localhost regex
| * | | Fix IPv6 localhost regexJ0WI2020-12-161-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | | Merge pull request #24715 from nextcloud/bug/noid/limit-get-incomplete-to-1Roeland Jago Douma2020-12-211-1/+2
|\ \ \ \ | | | | | | | | | | Limit getIncomplete query to one row
| * | | | Limit getIncomplete query to one rowDaniel Kesselberg2020-12-151-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #24702 from nextcloud/enhancement/well-known-handler-apiChristoph Wurst2020-12-182-0/+148
|\ \ \ \ \ | | | | | | | | | | | | Add well known handlers API
| * | | | | Add well known handlers APIChristoph Wurst2020-12-162-0/+148
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | Also unset the other possible unused paramtersRoeland Jago Douma2020-12-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | Update all license headers for Nextcloud 21Christoph Wurst2020-12-16173-139/+187
| |_|/ / / |/| | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #24629 from nextcloud/enh/noid/optional-before-requiredChristoph Wurst2020-12-161-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Make $vars and $secureRandom required.
| * | | | | Make $vars and $secureRandom required.Daniel Kesselberg2020-12-101-2/+2
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | Merge pull request #24659 from ↵Roeland Jago Douma2020-12-162-3/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/enh/noid/dav-honour-sharing.maxAutocompleteResults dav principal search to honour sharing.maxAutocompleteResults setting
| * | | | | use a consistent default value for sharing.maxAutocompleteResultsArthur Schiwon2020-12-152-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | | Do not include non-required scripts on the upgrade pageJulius Härtl2020-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Merge pull request #24488 from zzkt/patch-1Julius Härtl2020-12-151-0/+13
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | repair text/org MIME typesnik gaffney2020-12-111-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: nik gaffney <nik@fo.am>
* | | | | | Merge pull request #24683 from doc75/federation_confidentialityJulius Härtl2020-12-151-1/+7
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |