summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair/NC13
Commit message (Collapse)AuthorAgeFilesLines
* Also repair storage id's when repairing invalid entriesRobin Appelman2017-07-211-4/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add Phan plugin to check for SQL injectionsLukas Reschke2017-07-201-0/+9
| | | | | | | | | | 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>
* Fix invalid path repair step not getting all invalid entriesRobin Appelman2017-07-181-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chunk getting invalid paths and reuse queriesRobin Appelman2017-07-131-27/+61
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use a generator instead of fetching all rows at onceRobin Appelman2017-07-131-2/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* adjust to moved repair stepRobin Appelman2017-06-291-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Run repair step only onceMorris Jobke2017-06-221-0/+125
Signed-off-by: Morris Jobke <hey@morrisjobke.de>