summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for repairstepLukas Reschke2017-04-261-1/+1
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add app bundlesLukas Reschke2017-04-261-0/+78
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add repair steps for new image mime typesStefan Weil2017-04-251-0/+13
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* fix whitespace in cleantagsRobin Appelman2017-03-301-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Adding tests for 4 byte unicode charactersMorris Jobke2017-03-211-6/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * success on SQLite and Postgres * failure on MySQL due to the limited charset that only supports up to 3 bytes Add config option to update charset of mysql to utf8mb4 * fully optional * requires additional options set in the database only disable unicode test on mysql Fixing ctor call Adding docker based unit test execution for mysql utf8mb4 Add mysqlmb4 test configuration to Jenkinsfile fix collation on utf8mb4 Properly setup charset and collation in the doctrine connection Allow files containing 4-byte chars in case the database supports it During setup of a mysql database we try to detect if charset 'utf8mb4' can be used Fix mysql settings Add console command to migrate the charset Set ROW_FORMAT before setting collation to mb4 Also select tables with wrong collation Faster MySQL docker Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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
|\|