summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
Commit message (Collapse)AuthorAgeFilesLines
* Remove obsolete repair steps for logo and updater channelMorris Jobke2020-04-241-4/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Always set the generated flag to false when an avatar is being setJoas Schilling2019-12-201-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersChristoph Wurst2019-12-051-2/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Kill repair step for cypress testsDaniel Kesselberg2019-09-021-2/+0
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Add a repair step to clear the projects access cacheJoas Schilling2019-08-211-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add enterprise logoMorris Jobke2019-07-151-0/+2
| | | | | | Also set it as theming logo if the subscription is valid. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Enterprise update channelMorris Jobke2019-07-101-0/+2
| | | | | | Allows to select the enterprise update channel for instances that have a valid subscription. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #16292 from ↵Roeland Jago Douma2019-07-081-8/+0
|\ | | | | | | | | nextcloud/techdebt/noid/cleanup-outdated-repair-steps Remove one time repair steps that have already run when updating to 17
| * Remove one time repair steps that have already run when updating to 17Morris Jobke2019-07-081-8/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Try to delete the cypress folder of the viewer appMorris Jobke2019-07-081-0/+2
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Repair step for link sharesRoeland Jago Douma2019-04-161-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Login flow V2Roeland Jago Douma2019-02-251-0/+2
| | | | | | | | This adds the new login flow. The desktop client will open up a browser and poll a returned endpoint at regular intervals to check if the flow is done. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make $repairSteps & $dispatcher mandatoryDaniel Kesselberg2019-02-131-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Do not run getRepairSteps in register_commandsDaniel Kesselberg2019-02-131-4/+4
| | | | | | | | getRepairSteps is quite expensive (because every repair step is initialized and their dependencies are injected). Should not call it during register. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Log exceptionDaniel Kesselberg2019-02-071-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Repair step to remove "photo." files created by photocacheDaniel Kesselberg2019-02-071-5/+7
| | | | | | | | Before https://github.com/nextcloud/server/pull/13843 a "photo." file could be created for unsupported image formats by photocache. Because a file is present but not jpg, png or gif no photo could be returned for this vcard. These invalid files are removed by this repair step. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Implement guest avatar endpointMichael Weimann2019-02-071-1/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Log and continue on Dav reader failureJohn Molakvoæ (skjnldsv)2018-12-051-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Clear avatar cache with frontend repairJohn Molakvoæ (skjnldsv)2018-11-081-14/+21
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Repair registration and autoload bumpJohn Molakvoæ (skjnldsv)2018-10-301-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add repair job for pending cron jobsMorris Jobke2018-07-091-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Background job to clean up old backups of the updaterMorris Jobke2018-06-131-0/+2
| | | | | | | * a one-time job gets scheduled after each update via a repair job * the job remove all directories inside data/updater-INSTANCEID/backups except the 3 most recent ones (determined by mtime of the folder) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove not needed changeMorris Jobke2018-05-311-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move repairstep to a custom commandRoeland Jago Douma2018-05-281-1/+3
| | | | | | People that have issues can run it manually Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add the jobRoeland Jago Douma2018-05-141-1/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove unused import statementsMorris Jobke2018-02-141-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add repair step to clear frontend related cachesJulius Härtl2018-02-031-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove old repair steps that aren't executed anymoreMorris Jobke2018-01-221-21/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Change @georgehrke's emailMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add logrote as a default background jobRoeland Jago Douma2017-10-241-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* move repair step to stable12Bjoern Schiessle2017-09-011-1/+1
| | | | | | | because we decided to backport it the repair step needs to be executed already on stable12 Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Merge pull request #5870 from nextcloud/generate-system-wide-key-pairBjörn Schießle2017-08-241-1/+4
|\ | | | | extend the identity proof manager to allow system wide key pairs
| * add prefix to user and system keys to avoid name collisionsBjoern Schiessle2017-08-101-1/+4
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Add a repair step to drop the account_terms table on oc migrationJoas Schilling2017-08-071-0/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* adjust to moved repair stepRobin Appelman2017-06-291-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Run repair step only onceMorris Jobke2017-06-221-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add repair step for invalid pathsRobin Appelman2017-06-211-2/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add a migration step to save the data from the accounts table before migratingJoas Schilling2017-05-181-0/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add app bundlesLukas Reschke2017-04-261-0/+7
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix DIJoas Schilling2017-03-031-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Change language code for languages with only one translationMorris Jobke2017-03-011-0/+2
| | | | | | | | | | | | * 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-221-35/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* remote now unneeded AvatarPermissions repair stepRobin Appelman2017-01-261-2/+0
| | | | | | Avatars are now stored in appdata Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove obsolete RepairLegacyStorages repair stepVincent Petry2016-12-191-2/+0
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add a repair step to fix broken mountsJoas Schilling2016-12-131-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #2405 from nextcloud/add-avatar-job-onceRoeland Jago Douma2016-11-301-1/+1
|\ | | | | Execute MoveAvatars repair step only once
| * Execute MoveAvatars repair step only onceMorris Jobke2016-11-291-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>