- Jan 13, 2021
-
-
Nextcloud bot authored
-
- Jan 12, 2021
-
-
Christoph Wurst authored
Right now our API exports the Doctrine/dbal exception. As we've seen with the dbal 3 upgrade, the leakage of 3rdparty types is problematic as a dependency update means lots of work in apps, due to the direct dependency of what Nextcloud ships. This breaks this dependency so that apps only need to depend on our public API. That API can then be vendor (db lib) agnostic and we can work around future deprecations/removals in dbal more easily. Right now the type of exception thrown is transported as "reason". For the more popular types of errors we can extend the new exception class and allow apps to catch specific errors only. Right now they have to catch-check-rethrow. This is not ideal, but better than the dependnecy on dbal. Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Roeland Jago Douma authored
Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
Roeland Jago Douma authored
The Guzzle API changed. We shall now use sink Signed-off-by:
Roeland Jago Douma <roeland@famdouma.nl>
-
Johannes Leuker authored
Signed-off-by:
Johannes Leuker <j.leuker@hosting.de>
-
Nextcloud bot authored
-
- Jan 11, 2021
-
-
Arthur Schiwon authored
Signed-off-by:
Arthur Schiwon <blizzz@arthur-schiwon.de>
-
Morris Jobke authored
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>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Joas Schilling authored
Signed-off-by:
Joas Schilling <coding@schilljs.com>
-
Nextcloud bot authored
-
- Jan 09, 2021
-
-
Nextcloud bot authored
-
- Jan 08, 2021
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Joas Schilling authored
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>
-
Julius Härtl authored
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>
-
Morris Jobke authored
Remove "primary" option from schema builder argument $options as it is not used anymore and triggers an exception See https://github.com/doctrine/dbal/commit/138eb85234a1faeaa2e6a32cd7bcc66bb51c64e8#diff-300f55366adb50a32a40882ebdc95c163b141f64cba5f45f20bda04a907b3eb3L82 Signed-off-by:
Morris Jobke <hey@morrisjobke.de>
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Nextcloud bot authored
-
- Jan 07, 2021
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Morris Jobke authored
Signed-off-by:
Morris Jobke <hey@morrisjobke.de>
-
Christoph Wurst authored
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>
-
Carlos Ferreira authored
-
Roeland Jago Douma authored
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>
-
Morris Jobke authored
Signed-off-by:
Morris Jobke <hey@morrisjobke.de>
-
Morris Jobke authored
Signed-off-by:
Morris Jobke <hey@morrisjobke.de>
-
Robin Appelman authored
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>
-
- Jan 06, 2021
-
-
Robin Appelman authored
Signed-off-by:
Robin Appelman <robin@icewind.nl>
-
Roeland Jago Douma authored
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>
-
- Jan 05, 2021
-
-
Christoph Wurst authored
* 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>
-
Sean Molenaar authored
Signed-off-by:
Sean Molenaar <sean@seanmolenaar.eu>
-
Julius Härtl authored
Signed-off-by:
Julius Härtl <jus@bitgrid.net>
-
Nextcloud bot authored
-
- Jan 03, 2021
-
-
Nextcloud bot authored
-
- Jan 01, 2021
-
-
Nextcloud bot authored
-
- Dec 31, 2020
-
-
Nextcloud bot authored
-
- Dec 30, 2020
-
-
Christoph Wurst authored
Signed-off-by:
Christoph Wurst <christoph@winzerhof-wurst.at>
-
Nextcloud bot authored
-
- Dec 29, 2020
-
-
Robin Appelman authored
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>
-
Roeland Jago Douma authored
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>
-