Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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> | ||||
| * | refactor user searching | Robin Appelman | 2017-12-20 | 4 | -4/+15 |
| | | | | | | | | | | | | add additional user searching tests Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | Remove unused import statements | Morris Jobke | 2018-02-14 | 2 | -3/+0 |
| | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Create the migrations table also with the UTF8mb4 collation | Joas Schilling | 2018-01-31 | 1 | -12/+10 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | Use ::class statement instead of string | Morris Jobke | 2018-01-29 | 1 | -8/+8 |
| | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Remove unneeded semicolon and parentheses | Morris Jobke | 2018-01-26 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Use short for of substr to not need strlen() | Morris Jobke | 2018-01-25 | 2 | -2/+2 |
| | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Merge pull request #7909 from nextcloud/fix-migration-type-hints | Morris Jobke | 2018-01-17 | 2 | -21/+16 |
|\ \ | | | | | | | Fix the type hints of migrations and correctly inject the wrapped sch… | ||||
| * | | Fix the type hints of migrations and correctly inject the wrapped schema ↵ | Joas Schilling | 2018-01-17 | 2 | -21/+16 |
| | | | | | | | | | | | | | | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | | Correctly drop the ownCloud migrations table | Joas Schilling | 2018-01-17 | 1 | -1/+1 |
|/ / | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | Check if realpath() returns false | Morris Jobke | 2018-01-12 | 1 | -1/+1 |
| | | | | | | | | | | | | realpath() returns false in case the directory does not exist. Found it while preparing strict_typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | | Drop the ownCloud migration table instead of reusing it | Joas Schilling | 2018-01-04 | 1 | -3/+36 |
|/ | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | add postgresql10 compatibility to dbal | Robin Appelman | 2017-11-22 | 2 | -98/+0 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Update license headers | Morris Jobke | 2017-11-06 | 18 | -8/+33 |
| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Die NoCheckMigrator | Victor Dubiniuk | 2017-10-30 | 3 | -41/+2 |
| | |||||
* | Add foreign key support to OC | Piotr Mrowczynski | 2017-10-30 | 1 | -4/+36 |
| | |||||
* | quote index columns on oracle, handle all index changes, minor phpdoc cleanup | Jörn Friedrich Dreyer | 2017-10-30 | 1 | -27/+85 |
| | |||||
* | Fix bigint handling on postgres | Joas Schilling | 2017-09-29 | 2 | -0/+98 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add a method to compare empty strings with an expression | Joas Schilling | 2017-08-02 | 2 | -0/+45 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix ILIKE regex for oracle | Joas Schilling | 2017-08-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Quote aliases as well | Joas Schilling | 2017-08-02 | 2 | -10/+24 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Function also accepts ints | Lukas Reschke | 2017-08-01 | 1 | -1/+1 |
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | Add brackets around concat statements so comparing the result works as intended | Joas Schilling | 2017-07-28 | 2 | -2/+2 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | "Only variables must be passed by reference" | Joas Schilling | 2017-07-25 | 1 | -2/+4 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Use order by to avoid problems when chunking finds a same item again... | Joas Schilling | 2017-07-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add Phan plugin to check for SQL injections | Lukas Reschke | 2017-07-20 | 1 | -0/+1 |
| | | | | | | | | | | This adds a phan plugin which checks for SQL injections on code using our QueryBuilder, while it isn't perfect it should already catch most potential issues. As always, static analysis will sometimes have false positives and this is also here the case. So in some cases the analyzer just doesn't know if something is potential user input or not, thus I had to add some `@suppress SqlInjectionChecker` in front of those potential injections. The Phan plugin hasn't the most awesome code but it works and I also added a file with test cases. Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | Only create the migration directory when necessary | Joas Schilling | 2017-07-06 | 1 | -9/+4 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add migration for personal settings stuff | Joas Schilling | 2017-07-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix the installer tests | Joas Schilling | 2017-07-05 | 1 | -1/+5 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix tests of CodeChecker and MigrationService | Joas Schilling | 2017-07-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix dropping tables and handle the prefix automatically | Joas Schilling | 2017-07-05 | 2 | -3/+143 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Allow to check the schema in pre and post as well | Joas Schilling | 2017-07-05 | 1 | -3/+7 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add a version to migrations, so parallel legacy branches can also have ↵ | Joas Schilling | 2017-07-05 | 1 | -0/+8 |
| | | | | | | migrations Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add author and copyright | Joas Schilling | 2017-07-05 | 1 | -0/+3 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> |