aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | [Fix #24682]: ensure federation cloud id is retruned if FN property not foundGuillaume Virlet2020-12-131-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Guillaume Virlet <github@virlet.org>
* | | | | | Merge pull request #23017 from nextcloud/enh/distinguish-usersJulius Härtl2020-12-143-1/+10
|\ \ \ \ \ \
| * | | | | | Show unique displayname context in the sharing inputJulius Härtl2020-12-143-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | Merge pull request #24631 from ↵Joas Schilling2020-12-141-0/+21
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/prevent-select-asterix-and-specifics Prevent * and other things in the same query for Oracle
| * | | | | | Prevent * and other things in the same query for OracleJoas Schilling2020-12-141-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | Add sanitizers for JSON outputLukas Reschke2020-12-112-0/+3
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those functions set proper content-types that prevent rendering of data. Therefore it's safe to mark them as sanitizers. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | | Merge pull request #24416 from nextcloud/fix/app-store-check-php-compatRoeland Jago Douma2020-12-101-7/+25
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Check php compatibility of app store app releases
| * | | | | Check php compatibility of app store app releasesChristoph Wurst2020-12-041-7/+25
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apps might increase the minimum php version requirement, in which case an update could break the app or even the whole instance. We must not install those releases, or better, don't even show them for update/installation. This extends the app fetcher code to filter out the releases that are not installable. The filter respects minimum and maximum requirements. E.g. apps that are still only released for php7.3 won't show up for php7.4 instances. This behavior is new but if an app lists an explicit version requirement, then we ought to repect that. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #23044 from nextcloud/migration-10.5Roeland Jago Douma2020-12-1011-2/+603
|\ \ \ \ \ | | | | | | | | | | | | Handle owncloud migration to latest release
| * | | | | Make sure the migrations table schema is always checkedJulius Härtl2020-12-092-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Revert "Make sure the migrations table schema is always checked" This reverts commit 258955ef738a52d9da2ac2fe59466e6093d7e9bc. Set current vendor during upgrade and perform migrations table change if needed Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | | Properly migrate from new owncloud avatar locationJulius Härtl2020-12-091-73/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as the files are not scanned we cannot use the OCP\Files api Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | | Readd repair steps that are relevant when migrating from ownCloudJulius Härtl2020-12-097-0/+615
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d9b1492e03ab9fe58bb87baaeba745790ca15c53. Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | | Allow major/minor match for owncloud versionJulius Härtl2020-12-091-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | | Avoid checking for brute force protection capabilities when upgradingJulius Härtl2020-12-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This might happen a releases that doesn't have this table yet Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | | | | Drop fk constraints on locks tableJulius Härtl2020-12-091-0/+9
| | |/ / / | |/| | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Address minor commentsJulius Härtl2020-12-091-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Introduce deck share type to ShareAPIControllerJulius Härtl2020-12-091-0/+11
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Dummy general share checks for deckJulius Härtl2020-12-091-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Let sharees endpoint properly handle deck sharesJulius Härtl2020-12-091-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Add share type for deckJulius Härtl2020-12-091-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Allow apps to register their share providers from outsideJulius Härtl2020-12-092-0/+27
|/ / / / | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #24398 from nextcloud/fix/do-not-update-incompatible-appJoas Schilling2020-12-092-1/+10
|\ \ \ \ | | | | | | | | | | Do not update incompatible apps
| * | | | Do not update incompatible appsChristoph Wurst2020-12-042-1/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously there was no (platform) dependency check for an app that was installed before. So Nextcloud happily upgraded an app that now requires a php version newer than the current one. Which means in the lucky case you see a failing upgrade due to the language incompatibility, or in the unlucky case you see unexpected errors later in production. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>