Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | instead of upsert, fallback to default query on PgSQL <= 9.4 | Arthur Schiwon | 2019-08-14 | 1 | -1/+22 |
| | | | | | | because there is no upsert yet Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | Add event dispatcher to OCP | Christoph Wurst | 2019-06-25 | 1 | -4/+4 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | No need for platform hacks anymore | Roeland Jago Douma | 2019-05-14 | 1 | -22/+0 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Remove the custom prefix from the table name length when checking on the ↵ | Joas Schilling | 2019-04-30 | 1 | -1/+1 |
| | | | | | | default primary index Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Allow to use Subqueries in from | Joas Schilling | 2019-04-16 | 1 | -0/+4 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Indeces, columns and sequences don't have the table prefix | Joas Schilling | 2019-03-28 | 1 | -6/+6 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix PHPDoc | Morris Jobke | 2019-03-21 | 2 | -2/+2 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Code cleanup. | Ole Ostergaard | 2019-03-21 | 3 | -10/+8 |
| | | | | Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com> | ||||
* | Add supression of SqlInjectionChecker. | Ole Ostergaard | 2019-03-21 | 2 | -0/+6 |
| | | | | Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com> | ||||
* | Add PostgreSQL specific implementation for includeIgnoreConflict. | Ole Ostergaard | 2019-03-21 | 1 | -0/+12 |
| | | | | Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com> | ||||
* | Add insertIgnoreConflict to Adapter and use it for for executing the file ↵ | Ole Ostergaard | 2019-03-21 | 2 | -0/+17 |
| | | | | | | locking. Signed-off-by: Ole Ostergaard <ole.c.ostergaard@gmail.com> | ||||
* | add casting to string for postgresql query builder | Robin Appelman | 2019-03-14 | 1 | -5/+7 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Only check the Oracle schema conditions if the app supports it | Joas Schilling | 2018-12-17 | 1 | -2/+23 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Only check changed items | Joas Schilling | 2018-12-17 | 1 | -13/+18 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Merge pull request #11942 from nextcloud/techdebt/noid/use-count-function | Morris Jobke | 2018-11-12 | 1 | -2/+3 |
|\ | | | | | Use the defined func()->count() instead of manual counting | ||||
| * | Use the defined func()->count() instead of manual counting | Joas Schilling | 2018-11-08 | 1 | -2/+3 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | Add deprecation message ofr insertIfNotExist | Morris Jobke | 2018-11-09 | 3 | -0/+3 |
| | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Catch UniqueConstraintViolationException inside insertIfNotExist | Morris Jobke | 2018-11-09 | 3 | -5/+31 |
|/ | | | | | | | | This is the most common case for the usage of this method. See also https://github.com/nextcloud/server/issues/12369 and the linked tickets. Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Use const for dbname and dbtableprefix defaults | Daniel Kesselberg | 2018-09-23 | 1 | -2/+8 |
| | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de> | ||||
* | Disable Oracle enforcement for now until the following issues are solved: | Joas Schilling | 2018-08-06 | 1 | -1/+2 |
| | | | | | | | * Only apps should be checked which say they support oracle * Only check newly added items, to allow forward migration from an existing database structure Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix primary key handling on postgres | Joas Schilling | 2018-07-27 | 1 | -3/+4 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Ignore custom prefixes which are longer | Joas Schilling | 2018-07-27 | 1 | -9/+9 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Ignore automatic generated sequences | Joas Schilling | 2018-07-27 | 1 | -1/+10 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix calculation of default name | Joas Schilling | 2018-07-27 | 1 | -3/+23 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Prevent too long identifier names | Joas Schilling | 2018-07-27 | 1 | -1/+41 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Only create the schema when moving between databases | Joas Schilling | 2018-07-19 | 1 | -9/+15 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | MySQL 8.0+ and MariaDB 10.3+ are large prefix and barracuda by default | Joas Schilling | 2018-07-09 | 1 | -4/+23 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add count to function builder | Robin Appelman | 2018-06-14 | 1 | -0/+4 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Fix wrong hint about missing indexes | Morris Jobke | 2018-06-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Add a hint that some indexes are not added yet | Morris Jobke | 2018-06-06 | 1 | -0/+39 |
| | | | | | | | | | * gives the admin a chance to discover the missing indexes and improve the performance of the instance without digging through the manual * nicely integrated in the setup checks where this kind of hints belong to * also adds an option to integrate this from an app based on events * fix style of setting warnings Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Merge pull request #9425 from nextcloud/db-reconnect-timeout | Morris Jobke | 2018-06-04 | 2 | -1/+53 |
|\ | | | | | Check connection status and attempt to reconnect each each minute | ||||
| * | Check connection status and attempt to reconnect each each minute | Robin Appelman | 2018-05-08 | 2 | -1/+53 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Add human readable description to migration steps | Robin Appelman | 2018-05-30 | 1 | -4/+23 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Move regex to a function and add tests | Joas Schilling | 2018-04-19 | 1 | -11/+24 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Allow IPv6 database hosts | Joas Schilling | 2018-04-18 | 1 | -6/+7 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | dont keep shared database locks when running cli scripts | Robin Appelman | 2018-04-11 | 1 | -0/+8 |
| | | | | | | 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> | ||||
* | Fix Array to String conversion in QueryBuilder | Roeland Jago Douma | 2018-04-05 | 1 | -1/+1 |
| | | | | | | Fixes #9080 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made IExpressionBuilder varadic | Roeland Jago Douma | 2018-03-13 | 1 | -8/+6 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made orHaving varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made addHaving varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Make having varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made addGroupBy varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+5 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made groupBy varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+5 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made orWhere varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made andWhere varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made where varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made AddSelect varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+5 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Made select varadic | Roeland Jago Douma | 2018-03-13 | 1 | -3/+5 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Merge pull request #7419 from Abijeet/feature-7175 | Morris Jobke | 2018-03-06 | 6 | -13/+27 |
|\ | | | | | Fixes #7175 - Allow to search for email address in user management | ||||
| * | reuse query builder | Robin Appelman | 2018-01-12 | 3 | -10/+13 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> |