summaryrefslogtreecommitdiffstats
path: root/tests/lib/Repair
Commit message (Collapse)AuthorAgeFilesLines
* introduce callForSeenUsers and countSeenUsers (#26361)Jörn Friedrich Dreyer2016-10-281-0/+3
| | | | | | | | | | * introduce callForSeenUsers and countSeenUsers * add tests * oracle should support not null on clob * since 9.2.0
* Fix test of repair stepJoas Schilling2016-10-191-6/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix getMock RepairUnmergedSharesTestRoeland Jago Douma2016-09-131-4/+5
|
* Fix getMock RepairRoeland Jago Douma2016-09-071-1/+2
|
* Merge pull request #891 from nextcloud/us_25810Morris Jobke2016-08-301-43/+168
|\ | | | | [OC] Fix unmerged shares repair targetdecision
| * Improve regexp to detect duplicate folders when repairing unmerged sharesVincent Petry2016-08-171-34/+68
| |
| * Fix unmerged shares repair with mixed group and direct sharesVincent Petry2016-08-171-1/+44
| | | | | | | | | | | | | | Whenever a group share is created after a direct share, the stime order needs to be properly considered in the repair routine, considering that the direct user share is appended to the $subShares array and breaking its order.
| * Improve file_target finding logic when repairing unmerged sharesVincent Petry2016-08-171-9/+57
| | | | | | | | | | | | | | Pick the most recent subshare that has no parenthesis from duplication which should match whichever name the user picked last. If all subshares have duplicate parenthesis names, use the least recent group share's target instead.
* | always return numeric storage id as int, also check type equality in test ↵Jörn Friedrich Dreyer2016-08-291-29/+15
|/ | | | asserts
* Fix RepairUnmergedShares to not skip valid repair casesVincent Petry2016-08-031-2/+42
| | | | | | The repair step was a bit overeager to skip repairing so it missed the case where a group share exists without subshares but with an additional direct user share.
* Add repair step for unmerged shares (WIP)Vincent Petry2016-08-031-0/+409
|
* Repair step to adjust link share delete permissionsVincent Petry2016-06-241-0/+87
|
* Merge pull request #25075 from owncloud/fix_23265Vincent Petry2016-06-161-0/+194
|\ | | | | Remove shares of the root folder
| * Remove shares of the root folderRoeland Jago Douma2016-06-131-0/+194
| | | | | | | | | | | | Fixes #23265 (A possibly costly) repair job to remove cyclic shares.
* | Clean up tags of deleted usersJoas Schilling2016-06-141-3/+25
|/
* Add not-null columns for oracleJoas Schilling2016-06-101-0/+9
|
* Repair job to fix permissions for avatarsRoeland Jago Douma2016-06-101-0/+180
| | | | | | | | | | | | Fixes #22978 On some older installations the permissions for the userRoot and the avatars are not correct. This breaks since we now use the Node API in the avatar code. This repair job makes sure that the permissions are set correctly. * Unit tests added
* Add repair step to clean old calendar/contact sharesRoeland Jago Douma2016-06-091-0/+160
| | | | fixes #21889
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-2014-0/+2035
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader