Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #47852 from nextcloud/sharding-code-fixes | John Molakvoæ | 2024-09-16 | 1 | -2/+2 |
|\ | |||||
| * | fix: misc code fixes around db shardingsharding-code-fixes | Robin Appelman | 2024-09-09 | 2 | -14/+14 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | refactor: Add void return type to PHPUnit test methods | Christoph Wurst | 2024-09-15 | 7 | -87/+87 |
|/ | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | test(phpunit): skip sharding tests on 32bit | Arthur Schiwon | 2024-08-29 | 2 | -0/+6 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | chore: Apply php:cs recommendations | Louis Chemineau | 2024-08-28 | 2 | -3/+3 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | feat: implement distributing partitioned queries over multiple shards | Robin Appelman | 2024-08-28 | 2 | -1/+133 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | feat: add option to automatically partition queries by specific tables | Robin Appelman | 2024-08-28 | 2 | -0/+290 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | style: update codestyle for coding-standard 1.2.3 | Daniel Kesselberg | 2024-08-25 | 3 | -5/+5 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | fix(db): Deprecate `IExpressionBuilder::or()` and ↵ | Joas Schilling | 2024-07-19 | 1 | -1/+6 |
| | | | | | | `IExpressionBuilder::and()` without parameters Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | feat: allow running QueryBuilder queries on different connections | Robin Appelman | 2024-07-15 | 1 | -31/+58 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-13 | 5 | -84/+13 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | fix(tests): Make PostgreSQL unit tests less flacky by ordering | Joas Schilling | 2024-01-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | lazy AppConfig | Maxence Lange | 2024-01-15 | 1 | -0/+1 |
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> | ||||
* | tests(DB): Add test for date time comparisons in query builder | Julius Härtl | 2023-12-29 | 1 | -0/+86 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | 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> | ||||
* | 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> | ||||
* | add case statement to sql function builder | Robin Appelman | 2022-06-02 | 1 | -0/+17 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | 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> | ||||
* | 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> | ||||
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 | dependabot-preview[bot] | 2021-02-18 | 2 | -19/+19 |
| | | | | | | | | | | 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> | ||||
* | DB: warn on parameter number constraints | Arthur Schiwon | 2021-01-11 | 1 | -6/+82 |
| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | Bump doctrine/dbal from 2.12.0 to 3.0.0 | Christoph Wurst | 2021-01-08 | 3 | -18/+22 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | allow selecting multiple columns with SELECT DISTINCT | Robin Appelman | 2020-11-16 | 1 | -0/+38 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Don't leave cursors open when tests fail | Joas Schilling | 2020-11-09 | 2 | -16/+64 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵ | Morris Jobke | 2020-08-12 | 1 | -2/+2 |
| | | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Remove dropped " ON " when join has no condition | Joas Schilling | 2020-06-08 | 1 | -6/+6 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Merge pull request #17833 from nextcloud/propagator-no-negative-sizes | Roeland Jago Douma | 2019-12-04 | 1 | -0/+20 |
|\ | | | | | dont set folder size to negative values during propagation | ||||
| * | add LEAST and GREATER to db function builder | Robin Appelman | 2019-11-26 | 1 | -0/+20 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Mode to modern phpunit | Roeland Jago Douma | 2019-11-27 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | | Make phpunit8 compatible | Roeland Jago Douma | 2019-11-27 | 5 | -5/+5 |
|/ | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | add MAX and MIN to functionbuilder | Robin Appelman | 2019-09-06 | 1 | -0/+78 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Use the defined func()->count() instead of manual counting | Joas Schilling | 2018-11-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add count to function builder | Robin Appelman | 2018-06-14 | 1 | -0/+10 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | dont keep shared database locks when running cli scripts | Robin Appelman | 2018-04-11 | 1 | -0/+21 |
| | | | | | | 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> | ||||
* | Merge pull request #7419 from Abijeet/feature-7175 | Morris Jobke | 2018-03-06 | 2 | -1/+13 |
|\ | | | | | Fixes #7175 - Allow to search for email address in user management | ||||
| * | reuse query builder | Robin Appelman | 2018-01-12 | 1 | -1/+3 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
| * | refactor user searching | Robin Appelman | 2017-12-20 | 1 | -0/+10 |
| | | | | | | | | | | | | add additional user searching tests Signed-off-by: Robin Appelman <robin@icewind.nl> |