aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: update RepairMimeTypes migrationfeat/zstJohn Molakvoæ (skjnldsv)2024-09-171-1/+8
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(SetupCheck): Properly check public access to data directoryFerdinand Thiessen2024-08-081-0/+2
| | | | | | | | | | | | | When checking for public (web) access to the data directory the status is not enough as you might have a webserver that forwards to e.g. a login page. So instead check that the content of the file matches. For this the `.ncdata` file (renamed from `.ocdata`¹) has minimal text content to allow checking. ¹The file was renamed from the legacy `.ocdata`, there is a repair step to remove the old one. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: delete repair step for 8y old oc_mounts issueRobin Appelman2024-08-021-2/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(mail): Fix big logos in mail templates for OutlookJoas Schilling2024-07-171-0/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #45930 from nextcloud/repair-mimetype-expensiveRobin Appelman2024-06-191-1/+1
|\ | | | | fix: move repair mimetype repair step to the expensive steps
| * fix: move repair mimetype repair step to the expensive stepsRobin Appelman2024-06-171-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | perf: Avoid reusing previous migration stepsJulius Härtl2024-06-181-0/+2
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #45235 from nextcloud/fix/remove-old-scheduling-objectsAnna2024-06-031-0/+2
|\ | | | | fix(caldav): automatically delete outdated scheduling objects
| * fix(caldav): automatically delete outdated scheduling objectsAnna Larch2024-05-311-0/+2
| | | | | | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* | Merge branch 'master' into refactor/OC-Server-getNotificationManagerJohn Molakvoæ2024-05-301-56/+28
|\| | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
| * chore: Add SPDX headerAndy Scherzinger2024-05-241-31/+4
| | | | | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
| * feat(appconfig): repair step to migrate lazy config valuesMaxence Lange2024-03-111-0/+2
| | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> f Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * chore: use DI for \OC\RepairCôme Chilliet2024-01-301-12/+8
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-8/+8
| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
| * Add metadata generation jobLouis Chemineau2023-11-161-2/+2
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * Add migration from the old to new metadata tablesLouis Chemineau2023-11-161-0/+2
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * fix(install): Make installing more verboseJoas Schilling2023-11-031-0/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * fix(sqlite): Remove no longer required autoincrement fixJoas Schilling2023-10-061-4/+0
| | | | | | | | | | | | | | | | | | - I installed current master and exported the schema as SQL - Then I went to this branch, removed the content of the run() method (so made it no-op) - I installed again and exported the schema as SQL - The files are exactly the same, so whatever we tried to fix was fixed since 2015 in doctrine dbal Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Refactor `OC\Server::getNotificationManager`Andrew Summers2023-08-291-1/+2
|/ | | | Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
* Add tasks::last_updated column and vacate tasks after a weekMarcel Klehr2023-07-071-0/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* chore: Replace \OC::$server->query with \OCP\Server::get in /libChristoph Wurst2023-07-061-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add repair job that will ensure that secret and passwordsalt are setCarl Schwan2022-11-231-0/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* unbundle files_videoplayer and clean up a littleArthur Schiwon2022-09-291-4/+5
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Move avatar clearing in the backgroundCarl Schwan2022-09-261-11/+10
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* remove InstallCoreBundle repair stepArthur Schiwon2022-09-221-7/+0
| | | | | | | - core bundle was empty and thus removed - all former apps installed this way are shipped Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Parameter of RepairAdvanceEvent is actually an increment, not a step idCôme Chilliet2022-08-251-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Migrate Repair events to OCP\EventDispatcher\EventCôme Chilliet2022-08-251-33/+33
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Moving to string key for arguments of GenericEvent in RepairCôme Chilliet2022-08-251-14/+10
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add back TokenCleanupJob to invalidate old temporary tokensThomas Citharel2022-08-251-0/+2
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Remove SCSSCacherJohn Molakvoæ2022-05-131-2/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Merge pull request #31609 from nextcloud/fix/migrate-away-from-iloggerCôme Chilliet2022-03-291-5/+4
|\ | | | | Migrate from ILogger to LoggerInterface in lib/private
| * Adapt more code to migration to LoggerInterfaceCôme Chilliet2022-03-241-5/+4
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add oauth2_clients migration for OwncloudLouis Chemineau2022-03-241-0/+2
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Include previous execption for repair steps that don't existChristoph Wurst2021-11-301-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Let repair step query exceptions bubble upChristoph Wurst2021-11-301-1/+8
| | | | | | | | | | | And hide the type error caused by a constructor call with missing arguments. `new $repairStep();` only works for the rare case that no arguments are required. Anything else will throw. Then we previously hid the trace of the more important query exception. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Do not try to contact lookup server if not neededRoeland Jago Douma2021-04-281-1/+3
| | | | | | | In some cases (for example you never send data to the lookup server) there is no need for this job to even try. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* log full expection during repair stepRobin Appelman2021-03-181-1/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* dont error the entire repair process when a repair step errorsRobin Appelman2021-03-181-1/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add repair job for unencoded calendarsArthur Schiwon2021-01-291-1/+3
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-4/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Readd repair steps that are relevant when migrating from ownCloudJulius Härtl2020-12-091-0/+20
| | | | | | This reverts commit d9b1492e03ab9fe58bb87baaeba745790ca15c53. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add a repairstep to validate the phone numbersJoas Schilling2020-12-071-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix repair mimetype step to not leave stray cursorsJoas Schilling2020-11-061-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add a background job that checks for potential user imported SSL ↵Morris Jobke2020-11-031-0/+2
| | | | | | certificates and shows a warning in the admin settings Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add cleanup job for old brutefoce attemptsRoeland Jago Douma2020-10-081-0/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>