Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adapt tests to config value typing | Côme Chilliet | 2023-04-05 | 1 | -3/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | tests(db): Add test case to ensure column comments work | Ferdinand Thiessen | 2023-02-28 | 1 | -0/+24 |
| | | | | Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> | ||||
* | tests(oci): Test where statement on longtext column | Julius Härtl | 2023-01-31 | 1 | -0/+18 |
| | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> test: try with just passing the type to eq which should also cast Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | composer run cs:fix | Côme Chilliet | 2023-01-20 | 1 | -1/+0 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Fix dynamic properties and other problems in tests for PHP 8.2 | Côme Chilliet | 2022-11-14 | 1 | -1/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Migrate Migrator::executeSql to OCP\EventDispatcher\Event | Côme Chilliet | 2022-08-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Revert "add case statement to sql function builder" | Robin Appelman | 2022-08-16 | 1 | -17/+0 |
| | | | | | | This reverts commit 2a68819a67045d87a369a8a6413f153b3b2bea5f. Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Remove some more at matchers in tests/lib | Côme Chilliet | 2022-06-20 | 1 | -6/+6 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | add case statement to sql function builder | Robin Appelman | 2022-06-02 | 1 | -0/+17 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Add a metadata service to store file metadata | Carl Schwan | 2022-04-13 | 1 | -0/+2 |
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | Merge pull request #31679 from ↵ | Côme Chilliet | 2022-03-31 | 1 | -0/+40 |
|\ | | | | | | | | | nextcloud/bugfix/noid/ensure-string-columns-to-be-maximum-of-4000 Ensure string column limit of 4.000 characters | ||||
| * | Ensure string column limit of 4.000 characters | Joas Schilling | 2022-03-25 | 1 | -0/+40 |
| | | | | | | | | | | | | 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> | ||||
* | | Merge pull request #31609 from nextcloud/fix/migrate-away-from-ilogger | Côme Chilliet | 2022-03-29 | 1 | -16/+16 |
|\ \ | | | | | | | Migrate from ILogger to LoggerInterface in lib/private | ||||
| * | | Migrate from ILogger to LoggerInterface where needed in the tests | Côme Chilliet | 2022-03-24 | 1 | -16/+16 |
| |/ | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | Avoid select with no FROM clause for Oracle in tests | Côme Chilliet | 2022-03-24 | 1 | -0/+4 |
| | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | | Add octetLength and charLength to function builder, and tests | Côme Chilliet | 2022-03-24 | 1 | -0/+46 |
|/ | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Test disabled for now due to multiple reasons | Joas Schilling | 2022-03-22 | 1 | -0/+1 |
| | | | | | | see https://github.com/nextcloud/server/pull/31580#issuecomment-1069182234 for details Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add a test for primary keys | Joas Schilling | 2022-03-10 | 1 | -1/+43 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix column size to work with Oracle. Add unit tests | Vitor Mattos | 2022-01-21 | 1 | -2/+9 |
| | | | | Signed-off-by: Vitor Mattos <vitor@php.rio> | ||||
* | Prevent query error when use subquery | Vitor Mattos | 2022-01-21 | 1 | -1/+8 |
| | | | | Signed-off-by: Vitor Mattos <vitor@php.rio> | ||||
* | Merge pull request #30508 from nextcloud/fix/psaml-bin | Carl Schwan | 2022-01-13 | 1 | -2/+1 |
|\ | | | | | Fix psalm not running | ||||
| * | Check style update | Carl Schwan | 2022-01-13 | 1 | -2/+1 |
| | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | | Unit tests | Vitor Mattos | 2022-01-07 | 1 | -6/+54 |
|/ | | | | Signed-off-by: Vitor Mattos <vitor@php.rio> | ||||
* | Add a test with integer | Joas Schilling | 2022-01-04 | 1 | -4/+90 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Test with real data | Joas Schilling | 2022-01-03 | 1 | -7/+12 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add unit test | Vitor Mattos | 2022-01-03 | 1 | -7/+33 |
| | | | | Signed-off-by: Vitor Mattos <vitor@php.rio> | ||||
* | Add unit test and orderBy parameter | Vitor Mattos | 2022-01-03 | 1 | -0/+26 |
| | | | | Signed-off-by: Vitor Mattos <vitor@php.rio> | ||||
* | Bump doctrine/dbal from 3.0.0 to 3.1.3 | Christoph Wurst | 2021-10-22 | 1 | -7/+3 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Add a unit test to check for casting a IQueryFunction | Joas Schilling | 2021-07-07 | 1 | -0/+34 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Integer 0 is not stored as Null and therefor works | Joas Schilling | 2021-04-16 | 1 | -1/+3 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Test that oracle throws on EmptyValues in a NotNull columns | Joas Schilling | 2021-04-16 | 1 | -14/+28 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Run migrator tests on OCI | Joas Schilling | 2021-04-16 | 1 | -3/+33 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Rename the method to match what it does | Joas Schilling | 2021-03-31 | 1 | -22/+22 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Don't allow Notnull for boolean columns | Joas Schilling | 2021-03-31 | 1 | -0/+41 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Cleanup unneeded code around database.xml | Morris Jobke | 2021-03-24 | 17 | -2823/+29 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Skip db migration simulation for core schema changes | Julius Härtl | 2021-03-17 | 1 | -53/+0 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 | dependabot-preview[bot] | 2021-02-18 | 3 | -24/+24 |
| | | | | | | | | | | 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> | ||||
* | Add test for dbal exception wrapping | Daniel Kesselberg | 2021-02-03 | 1 | -0/+87 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Merge pull request #25036 from nextcloud/fix/noid/limitied-allowed-items-db-in_2 | blizzz | 2021-01-14 | 1 | -6/+82 |
|\ | | | | | respect DB restrictions on number of arguments in statements and queries | ||||
| * | DB: warn on parameter number constraints | Arthur Schiwon | 2021-01-11 | 1 | -6/+82 |
| | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | | Only rollback when not MySQL | Joas Schilling | 2021-01-11 | 1 | -2/+10 |
|/ | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Bump doctrine/dbal from 2.12.0 to 3.0.0 | Christoph Wurst | 2021-01-08 | 12 | -62/+58 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Add temporary test for migrating int to string | Julius Härtl | 2020-12-08 | 1 | -0/+49 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | allow selecting multiple columns with SELECT DISTINCT | Robin Appelman | 2020-11-16 | 1 | -0/+38 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix unique key in test table | Joas Schilling | 2020-11-10 | 1 | -4/+8 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Skip the insertIfNotExists() tests on Oracle because it doesn't work with clob | Joas Schilling | 2020-11-10 | 1 | -0/+20 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Easier debugging and spell fix | Joas Schilling | 2020-11-10 | 1 | -6/+9 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Use a different column for the primary key as we can not insert it on oracle | Joas Schilling | 2020-11-10 | 2 | -12/+36 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add github action for oci8 | Julius Härtl | 2020-11-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Don't leave cursors open when tests fail | Joas Schilling | 2020-11-09 | 4 | -20/+92 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> |