Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-22remove undefined parameter, add descriptionArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-22Make psalm happyRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-01-14Merge pull request #25091 from ↵Christoph Wurst
nextcloud/enhancement/ocp-db-exception-abstraction Add our own DB exception abstraction
2021-01-12Add our own DB exception abstractionChristoph Wurst
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>
2021-01-12Add our own constants for db column typesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-08Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-30Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-22Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma
Unify links to php.net
2020-12-16Update all license headers for Nextcloud 21Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-16Add types to function builderJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-07Update parametersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30Psalm fixesRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-06Merge pull request #23144 from nextcloud/enh/noid/update-param-for-psalmMorris Jobke
Less psalm warnings
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-03Add explicit typecast for $value.Daniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-02Update signature for setDaniel Kesselberg
also ILiteral and IQueryFunction are valid. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-02Update signature for in/notInDaniel Kesselberg
$y is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-02Update signature for like/notLike/in/notInDaniel Kesselberg
$x is always passed to quoteColumnName hence ILiteral|IParameter|IQueryFunction are supported. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-17Unify links to php.netJ0WI
Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-08-26Merge pull request #22432 from nextcloud/enh/phpdocRoeland Jago Douma
Add php docs build script
2020-08-26Remove @package annotations from public namespaceJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-24Update the license headers for Nextcloud 20Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-14Update documentation for QueryBuilder::setDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-04-29Update license headers for 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Add visibility to all constantsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Use exactly one empty line after the namespace declarationChristoph Wurst
For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-31Update the license headers for Nextcloud 19Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Use the short array syntax, everywhereChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05Update license headersChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-26add LEAST and GREATER to db function builderRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-22Some php-cs fixesRoeland Jago Douma
* Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-13add count() as shortcut for count('*') in FunctionBuilderRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-13return from QueryBuilder instead of IQueryBuilderRobin Appelman
this make the type hints work properly with querybuilder subclasses Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-06add MAX and MIN to functionbuilderRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-08Use the defined func()->count() instead of manual countingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-06-14Add count to function builderRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-04-11dont keep shared database locks when running cli scriptsRobin Appelman
For cli scripts we don't have the assumption that the universe will be cleaned up soon Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-03-13Made IExpressionBuilder varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Made orHaving varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Made addHaving varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Make having varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Made addGroupBy varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Made groupBy varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Made orWhere varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Made andWhere varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Made where varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Made AddSelect varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-13Made select varadicRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-03-06Fix PHPDoc for public APIMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-03-06Merge pull request #7419 from Abijeet/feature-7175Morris Jobke
Fixes #7175 - Allow to search for email address in user management