| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
|
|
|
|
|
|
|
|
|
| |
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
|
|
|
|
| |
Signed-off-by: Vitor Mattos <vitor@php.rio>
|
|
|
|
| |
Signed-off-by: Vitor Mattos <vitor@php.rio>
|
|
|
|
|
|
| |
The created user don't has permission to connect to database. I changed the code to give permission
Signed-off-by: Vitor Mattos <vitor@php.rio>
|
|
|
|
| |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
|
|
|
| |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
|
|
|
| |
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
|
|
|
| |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
|
|
|
|
| |
* preparation for followup PRs to clean up the DB bootstrapping
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
|
|
|
|
| |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
|
|
| |
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
|
|
| |
This reverts commit 9ebd5d5bb20af9178e071c3c6f3b41d9a9bc8be0.
|
|
|
|
|
| |
Fixes #1793
Signed-off-by: Lari Tikkanen <lartza@outlook.com>
|
| |
|
|
|
|
|
|
| |
Fixes #1260
See https://www.postgresql.org/docs/9.0/static/sql-alterrole.html
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
provided.
Added casting database port to int for input sanitation in pgsql and oci connections.
|
|
|
|
|
| |
Extended the database setup to store the database port.
Changed the PostgreSQL connection error message for clarification.
|
| |
|
|
|