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-04-13Add a metadata service to store file metadataCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-31Merge pull request #31679 from ↵Côme Chilliet
nextcloud/bugfix/noid/ensure-string-columns-to-be-maximum-of-4000 Ensure string column limit of 4.000 characters
2022-03-29Merge pull request #31609 from nextcloud/fix/migrate-away-from-iloggerCôme Chilliet
Migrate from ILogger to LoggerInterface in lib/private
2022-03-25Ensure string column limit of 4.000 charactersJoas Schilling
https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/datatype-limits.html#GUID-963C79C9-9303-49FE-8F2D-C8AAF04D3095 Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24Avoid select with no FROM clause for Oracle in testsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24Add octetLength and charLength to function builder, and testsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24Migrate from ILogger to LoggerInterface where needed in the testsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-22Test disabled for now due to multiple reasonsJoas Schilling
see https://github.com/nextcloud/server/pull/31580#issuecomment-1069182234 for details Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10Add a test for primary keystechdebt/noid/enforce-primary-keysJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21Fix column size to work with Oracle. Add unit testsVitor 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-13Merge pull request #30508 from nextcloud/fix/psaml-binCarl Schwan
Fix psalm not running
2022-01-13Check style updateCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-07Unit testsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-04Add a test with integerJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-04Test with real dataJoas 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>
2021-10-22Bump doctrine/dbal from 3.0.0 to 3.1.3Christoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-07-07Add a unit test to check for casting a IQueryFunctionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16Integer 0 is not stored as Null and therefor worksJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16Test that oracle throws on EmptyValues in a NotNull columnsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16Run migrator tests on OCIJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31Rename the method to match what it doesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31Don't allow Notnull for boolean columnsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-25Cleanup unneeded code around database.xmlMorris Jobke
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-17Skip db migration simulation for core schema changesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-02-18Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-03Add test for dbal exception wrappingDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-01-14Merge pull request #25036 from nextcloud/fix/noid/limitied-allowed-items-db-in_2blizzz
respect DB restrictions on number of arguments in statements and queries
2021-01-11Only rollback when not MySQLJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-11DB: warn on parameter number constraintsArthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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-08Add temporary test for migrating int to stringJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-16allow selecting multiple columns with SELECT DISTINCTRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-10Fix unique key in test tableJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10Skip the insertIfNotExists() tests on Oracle because it doesn't work with clobJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10Easier debugging and spell fixJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10Use a different column for the primary key as we can not insert it on oracleJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-10Add github action for oci8Julius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-09Don't leave cursors open when tests failJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-05Format code to a single space around binary operatorsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-12Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke
\PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23Remove deprecated test of internal attributes via assertAttributeEqualsMorris Jobke
See https://github.com/sebastianbergmann/phpunit/issues/3339#issuecomment-428843322 It is seen as bad practice to test internal stuff of objects instead of the actual input and output of mathod calls. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-01Replace TYPE with TYPESDaniel Kesselberg
As TYPE::* is deprecated. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-06-24Update share type constant usageJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-08Remove dropped " ON " when join has no conditionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-10Use elseif instead of else ifChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-04-09Remove trailing and in between spacesChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>