aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair
Commit message (Collapse)AuthorAgeFilesLines
* Namespace and array syntax fixesMorris Jobke2017-03-191-1/+1
| | | | | | * minor fixes in preparation of a bigger DB and config PR Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix DIJoas Schilling2017-03-031-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Execute UpdateLanguageCode only onceMorris Jobke2017-03-021-1/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix table name and add a test for more than 1 entriesJoas Schilling2017-03-021-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change language code for languages with only one translationMorris Jobke2017-03-011-0/+75
| | | | | | | | | | | | * then the language is not that specific and get also matched for fi * fallback from fi_FI to fi is supported - the other way around not * contains repair script * contains tests for repair script * fixes #869 Order results to make postgres happy Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* cleanup old and not needed repair steps to speed up the updateMorris Jobke2017-02-2214-1481/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded UpdateCertificateStore.Morris Jobke2017-02-221-90/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Recognize .bat and .cmd filesJoas Schilling2017-02-101-0/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #3176 from nextcloud/default-value-datadirblizzz2017-01-301-1/+1
|\ | | | | Add proper default value for datadir
| * Add proper default value for datadirMorris Jobke2017-01-191-1/+1
| | | | | | | | | | | | | | * better safe than sorry * fixes #3091 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | remote now unneeded AvatarPermissions repair stepRobin Appelman2017-01-261-116/+0
|/ | | | | | Avatars are now stored in appdata Signed-off-by: Robin Appelman <robin@icewind.nl>
* Change the row-format before changing the collationJoas Schilling2017-01-121-0/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use the new expressionJoas Schilling2017-01-051-10/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Adjust version to NextcloudLukas Reschke2017-01-051-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add repair step to fix file share permissionsVincent Petry2017-01-051-0/+33
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Remove obsolete RepairLegacyStorages repair stepVincent Petry2016-12-191-257/+0
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add a repair step to fix broken mountsJoas Schilling2016-12-131-0/+78
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fixed correct filename of MoveAvatarsBackgroundJobRoeland Jago Douma2016-12-131-0/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #2405 from nextcloud/add-avatar-job-onceRoeland Jago Douma2016-11-301-8/+16
|\ | | | | Execute MoveAvatars repair step only once
| * Execute MoveAvatars repair step only onceMorris Jobke2016-11-291-8/+16
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add test if repair step is already doneRoeland Jago Douma2016-11-191-4/+14
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Adds background job to cleanup all previews.Roeland Jago Douma2016-11-192-0/+184
|/ | | | | | | | | | * A repair step that inserts a background job for each user * Each background job will delete for 15 seconds if it takes longer we reschedule. This is done so instances that don't use the system cron won't time out. * Added tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use callForSeenUsers for avatar migrationMorris Jobke2016-10-281-24/+22
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* introduce callForSeenUsers and countSeenUsers (#26361)Jörn Friedrich Dreyer2016-10-282-37/+3
| | | | | | | | | | * introduce callForSeenUsers and countSeenUsers * add tests * oracle should support not null on clob * since 9.2.0
* Ignore failures of collation change in the pre update stepJoas Schilling2016-10-191-10/+28
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add config option to update charset of mysql to utf8mb4Morris Jobke2016-10-191-2/+5
| | | | | * fully optional * requires additional options set in the database
* DI fails for bg jobRoeland Jago Douma2016-10-051-10/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use a backgroundjob to move avatarsRoeland Jago Douma2016-10-052-78/+118
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Avatar migration stepRoeland Jago Douma2016-10-051-0/+134
| | | | | | * Skip move avatar if avatars disabled Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add repair step to remove .step file after updateMorris Jobke2016-09-231-0/+80
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* more efficient querying of numeric storage idsRobin Appelman2016-09-071-0/+2
|
* Improve regexp to detect duplicate folders when repairing unmerged sharesVincent Petry2016-08-171-8/+6
|
* Fix unmerged shares repair with mixed group and direct sharesVincent Petry2016-08-171-3/+13
| | | | | | | 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-1/+39
| | | | | | | 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.
* Fix RepairUnmergedShares to not skip valid repair casesVincent Petry2016-08-031-11/+16
| | | | | | 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.
* Adjust repair version check for unmerged sharesVincent Petry2016-08-031-1/+1
|
* Add repair step for unmerged shares (WIP)Vincent Petry2016-08-031-0/+323
|
* Update with robinJoas Schilling2016-07-213-3/+3
|
* Fix othersJoas Schilling2016-07-2121-33/+57
|
* Escape special characters (#25429)Aaron Wood2016-07-201-1/+1
| | | | | | | | | | | | | | | | | | * Escape LIKE parameter * Escape LIKE parameter * Escape LIKE parameter * Escape LIKE parameter * Escape LIKE parameter * Use correct method in the AbstractMapping class * Change the getNamesBySearch method so that input can be properly escaped while still supporting matches * Don't escape hardcoded wildcard
* Remove asset pipelinRoeland Jago Douma2016-07-151-5/+1
| | | | | | | | Fixes #215 The asset pipeline has shown to do more harm than good. Some apps fail hard with it. Also it makes sure that you download a huge file on each unvisited page.
* Merge remote-tracking branch 'upstream/master' into master-sync-upstreamLukas Reschke2016-06-271-0/+23
|\
| * Repair step to adjust link share delete permissionsVincent Petry2016-06-241-0/+23
| |
* | Merge remote-tracking branch 'upstream/master' into master-sync-upstreamLukas Reschke2016-06-212-1/+213
|\|
| * Merge pull request #25075 from owncloud/fix_23265Vincent Petry2016-06-161-0/+157
| |\ | | | | | | Remove shares of the root folder
| | * Remove shares of the root folderRoeland Jago Douma2016-06-131-0/+157
| | | | | | | | | | | | | | | | | | Fixes #23265 (A possibly costly) repair job to remove cyclic shares.
| * | Clean up tags of deleted usersJoas Schilling2016-06-141-1/+56
| |/
* | Remove obsolete contacts_cards_properties tableFlorian Preinstorfer2016-06-191-0/+1
| | | | | | | | | | | | | | The table contacts_cards_properties was part of the contacts app until ownCloud 8.2. It got replaced with cards_properties (part of dav). See also: ownCloud/core #21889
* | Drop obsolete tables: gallery_albums and gallery_photosFlorian Preinstorfer2016-06-191-1/+3
|/ | | | | Commit 34a21a63ce5730a4f45af6745b4acd6f702e6e79 renamed gallery_albums to pictures_images_cache and removed gallery_photos entirely.
* Empty string is null on oracleRoeland Jago Douma2016-06-101-1/+9
|