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
2022-01-21Merge pull request #30379 from nextcloud/feature/add-comments-reactionsJoas Schilling
Add comments reactions
2022-01-21Remove order from groupConcat as it is not working everywhereJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21Fix groupConcat and ordering on OracleVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21Prevent query error when use subqueryVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-20Merge pull request #30471 from nextcloud/enh/cast-char-mysqlJoas Schilling
Explicitly cast char in the query builder
2022-01-06Accept multipe args on concatVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-04Explicitly cast char in the query builderJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-04Use quote functionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-04Add a test with integerJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-04Add unit testVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-03Add unit test and orderBy parameterVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-03Add group_concat aggregator functionVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-11-23Fix default value for $type in ↵Côme Chilliet
OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::literal This fixes PHP errors about passing null to PDO::quote second parameter. We may want to change IExpressionBuilder as well? Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-15Allow NULL as well for limit, not integer onlyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-22Bump doctrine/dbal from 3.0.0 to 3.1.3Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-08disable path prefix index on postgresql for nowRobin Appelman
having the index work properly for the queries we need it for requires some additional options which dbal does not support at the momement. to prevent making it harder to add the correct index later on we don't create the index for now on postgresql Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-07Allow casting query functions as wellJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-04Update php licensesJohn Molakvoæ (skjnldsv)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-25executeUpdate is also deprecatedLukas Reschke
Ref https://github.com/nextcloud/server/blob/1089ad5d9e74a0cfd3b48ed1514f23be40fe6d45/lib/private/DB/QueryBuilder/QueryBuilder.php#L312-L323 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-05Rename IQueryBuilder::executeUpdate to IQueryBuilder::executeStatementChristoph Wurst
Because executeUpdate wasn't a great name. And in DBAL they also use executeStatement more consistently now. Ref https://github.com/doctrine/dbal/issues/4607 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-22remove undefined parameter, add descriptionArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-05Merge pull request #25929 from nextcloud/techdept/psalm/25839/redundantcastsRoeland Jago Douma
Remove Redundantcasts
2021-03-04Type CompositeExpression and ICompositeExpressionRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04Remove RedundantcastsRoeland Jago Douma
For #25839 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04Add executeQuery and executeUpdateRoeland Jago Douma
Names shamelessly copied from Doctrine itself. Internally it is still using the same flow. But I added some checks around it. This should make static analysis a bit more happy. Which in turn makes me more happy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03Merge pull request #25656 from nextcloud/enh/type/expressionbuilderJoas Schilling
Type the experssionbuilders
2021-03-03Type the experssionbuildersRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03allow non string join conditions in query builderRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-17Add expression taint source and sanitizerLukas Reschke
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
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>