summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #25036 from nextcloud/fix/noid/limitied-allowed-items-db-in_2blizzz2021-01-141-0/+30
|\ | | | | respect DB restrictions on number of arguments in statements and queries
| * DB: warn on parameter number constraintsArthur Schiwon2021-01-111-0/+30
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | [tx-robot] updated from transifexNextcloud bot2021-01-132-4/+36
| |
* | Merge pull request #25089 from nextcloud/enhancement/ocp-db-typesblizzz2021-01-123-0/+115
|\ \ | | | | | | Add our own db column types via the public API
| * | Add our own constants for db column typesChristoph Wurst2021-01-123-0/+115
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #25088 from nextcloud/fix/allow_app_updates_againRoeland Jago Douma2021-01-123-13/+19
|\ \ \ | |/ / |/| | Allow installing/updating of apps again
| * | Fix option in the client code itself as wellRoeland Jago Douma2021-01-122-12/+18
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Allow installing/updating of apps againRoeland Jago Douma2021-01-121-1/+1
| | | | | | | | | | | | | | | | | | The Guzzle API changed. We shall now use sink Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add 'allow Symlinks' as an option to config.phpJohannes Leuker2021-01-121-3/+2
|/ / | | | | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | [tx-robot] updated from transifexNextcloud bot2021-01-122-0/+6
| |
* | Merge pull request #25038 from nextcloud/bugfix/noid/install-mysql8-with-php8blizzz2021-01-111-2/+7
|\ \ | | | | | | Don't try a transaction for the migrator on MySQL
| * | Don't try a transaction for the migrator on MySQLJoas Schilling2021-01-081-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As per https://dev.mysql.com/doc/refman/8.0/en/implicit-commit.html CREATE TABLE statements automatically commit always. The only reason this worked in the past was that PHPs PDO connection didn't check the actual state on commit, but only checked their internal state. But in PHP8 this was fixed: https://github.com/php/php-src/blob/PHP-8.0/UPGRADING#L446-L450 So now commit() fails because the internal PDO connection implicitly commited already. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #25039 from ↵Roeland Jago Douma2021-01-111-3/+9
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/libxml-use-internal-errors-deprecated Only use libxml_disable_entity_loader on php older than 8
| * | | 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 #25034 from ↵Morris Jobke2021-01-111-2/+2
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/load-authentication-for-app-upgrades Make sure to do priority app upgrades first
| * | | Make sure to do priority app upgrades firstJulius Härtl2021-01-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise those apps might not be loaded when the others app migrations are running. The previous loading of authentication apps in the upgrade step never worked as it just returns in maintenance mode Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #25073 from nextcloud/psalm/24521/remove-unneeded-castsMorris Jobke2021-01-1114-70/+70
|\ \ \ \ | | | | | | | | | | Remove unneeded casts that were found by Psalm
| * | | | Remove unneeded casts that were found by PsalmMorris Jobke2021-01-1114-70/+70
| | |_|/ | |/| | | | | | | | | | | | | | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #25070 from nextcloud/feature/noid/card-ros-definitionsRoeland Jago Douma2021-01-111-0/+62
|\ \ \ \ | | | | | | | | | | Deck Rich-Object-String definitions for deck boards and cards
| * | | | Deck Rich-Object-String definitions for deck boards and cardsJoas Schilling2021-01-111-0/+62
| |/ / / | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* / / / Bump scssphp/scssphp from 1.0.3 to 1.4.0Christoph Wurst2021-01-111-8/+5
|/ / / | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | [tx-robot] updated from transifexNextcloud bot2021-01-112-0/+4
| | |
* | | [tx-robot] updated from transifexNextcloud bot2021-01-094-0/+4
| |/ |/|
* | Merge pull request #24948 from nextcloud/dependabot/composer/doctrine/dbal-3.0.0Christoph Wurst2021-01-0851-508/+888
|\ \ | | | | | | 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-0850-507/+879
| | | | | | | | | | | | 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-082-3/+8
|\ \ \ | | | | | | | | Replace patchwork/utf8 with symfony-polyfill-*
| * | | Replace patchwork/utf8 with symfony-polyfill-*Christoph Wurst2021-01-072-3/+8
| | | | | | | | | | | | | | | | 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>
* | | | [tx-robot] updated from transifexNextcloud bot2021-01-082-0/+2
| | | |
* | | | 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>
* | | | | Merge pull request #24934 from nextcloud/max_file_uploadsRoeland Jago Douma2021-01-071-5/+0
|\ \ \ \ \ | |_|/ / / |/| | | | Remove useless ini_set calls
| * | | | Remove useless ini_set functionsCarlos Ferreira2021-01-071-5/+0
| | |_|/ | |/| |
* / | | 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>
* | Merge pull request #24317 from SMillerDev/app_password_commandRoeland Jago Douma2021-01-062-0/+2
|\ \ | |/ |/| App password command
| * Command: Add app password generationSean Molenaar2021-01-052-0/+2
| | | | | | | | Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
* | 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>
* [tx-robot] updated from transifexNextcloud bot2021-01-052-0/+8
|
* Merge pull request #24907 from nextcloud/fix/license-headers-21-IIChristoph Wurst2021-01-0430-20/+59
|\ | | | | Update license headers