aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair/NC13
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersMorris Jobke2017-11-061-0/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add logrote as a default background jobRoeland Jago Douma2017-10-241-0/+47
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* dont run invalid path repair step when upgrading from 11.0.5.2 and laterRobin Appelman2017-10-031-3/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move repair step to stable12Bjoern Schiessle2017-09-011-110/+0
| | | | | | | because we decided to backport it the repair step needs to be executed already on stable12 Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add prefix to user and system keys to avoid name collisionsBjoern Schiessle2017-08-101-0/+110
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Use indexed column path_hash to find the parentJoas Schilling2017-08-091-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a method to compare empty strings with an expressionJoas Schilling2017-08-021-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix repair step for oracle...Joas Schilling2017-08-021-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use selectAlias()Joas Schilling2017-08-021-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* 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>