aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair
Commit message (Collapse)AuthorAgeFilesLines
* fix(repair): PHP8.3 deprecation warningbackport/50809/stable31Git'Fellow2025-02-151-8/+4
| | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix(oauth2): adjust db schemas when migrating from owncloudbackport/50193/stable31Richard Steinmetz2025-02-051-4/+95
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix: replace null character when serializingfix/issue-47879-property-serializationSebastianKrupinski2024-12-131-0/+68
| | | | Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
* fix(owncloud): Fix ownCloud migration with oauth2 appbugfix/noid/fix-oauth2-owncloud-migrationJoas Schilling2024-11-041-4/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* chore(db): Apply query prepared statementsdbQueriesExecStmt2Git'Fellow2024-10-172-27/+11
| | | | | | | | | | | | | | | | Fix: psalm fix: bad file fix: bug chore: add batch chore: add batch chore: add batch fix: psalm
* chore(db): Correctly apply query typesGit'Fellow2024-10-173-52/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | fix: psalm fix: error fix: add batch fix: fatal error fix: add batch chore: add batch chore: add batch fix: psalm fix: typo fix: psalm fix: return bool fix: revert Manager
* fix: Make user removal more resilientFerdinand Thiessen2024-09-261-0/+30
| | | | | | | | | | | | | | Currently there is a problem if an exception is thrown in `User::delete`, because at that point the user is already removed from the backend, but not all data is deleted. There is no way to recover from this state, as the user is gone no information is available anymore. This means the data is still available on the server but can not removed by any API anymore. The solution here is to first set a flag and backup the user home, this can be used to recover failed user deletions in a way the delete can be re-tried. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-199-9/+9
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* feat: add nfo file supportfeat/nfoJohn Molakvoæ (skjnldsv)2024-09-181-0/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* chore: update RepairMimeTypes migrationfeat/zstJohn Molakvoæ (skjnldsv)2024-09-171-30/+72
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix: implement sharding compatible cleanup for various bitsRobin Appelman2024-08-281-8/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: run mimetype repair query across all shardsRobin Appelman2024-08-281-0/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-259-33/+33
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix(theming): Make getImage() call save against missing non-SVG versionJoas Schilling2024-08-211-3/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(SetupCheck): Properly check public access to data directoryFerdinand Thiessen2024-08-081-0/+32
| | | | | | | | | | | | | 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-60/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of ↵Joas Schilling2024-07-191-2/+1
| | | | | | removed upstream platforms Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(mail): Fix big logos in mail templates for OutlookJoas Schilling2024-07-171-0/+71
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* feat: support excalidraw fileHoang Pham2024-07-041-23/+97
| | | | Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
* feat: add setup check for needed mimetype migrationsRobin Appelman2024-06-181-27/+51
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* chore: Add SPDX headerAndy Scherzinger2024-05-2447-921/+104
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Run cs:fixMarcel Klehr2024-05-141-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: Add RemoveOldTasksBackgroundJob to repair step that instantiates itMarcel Klehr2024-05-141-1/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* feat(mimetypes): Add mimetype for ReStructuredTextAnupam Kumar2024-03-151-0/+12
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* feat(appconfig): repair step to migrate lazy config valuesMaxence Lange2024-03-111-0/+62
| | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> f Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Add .aac mime type mappingUnpublished2024-02-271-0/+12
| | | | Signed-off-by: Unpublished <Unpublished@users.noreply.github.com>
* Merge pull request #43387 from nextcloud/fix/migrate-away-from-ilogger-in-jobsCôme Chilliet2024-02-082-50/+31
|
* Revert "Merge branch 'master' of github.com:nextcloud/server"Louis Chemineau2024-02-082-31/+50
| | | | | This reverts commit d9d60238c7aaab9c61bf2d50c15aa59bc88c8975, reversing changes made to ba3fdb0cdcfbb84f0080a2146a4ba2f01569915d.
* chore: Migrate away from internal Job classesCôme Chilliet2024-02-082-50/+31
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: change mime type for msg fileDaniel Kesselberg2023-11-291-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* fix: add mimetype for eml and msgDaniel Kesselberg2023-11-281-0/+13
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2314-24/+24
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Merge pull request #41540 from ↵Louis2023-11-211-6/+6
|\ | | | | | | | | nextcloud/artonge/feat/add_metadata_generation_job Add metadata generation job
| * Add metadata generation jobLouis Chemineau2023-11-161-6/+6
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Merge pull request #41395 from nextcloud/hello-emfChristoph Wurst2023-11-161-0/+11
|\ \ | |/ |/| feat: add preview provider for emf files based on office
| * feat: add preview provider for emf files based on officeDaniel Kesselberg2023-11-131-0/+11
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Add migration from the old to new metadata tablesLouis Chemineau2023-11-161-0/+43
|/ | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Implement TextToImage OCP APIMarcel Klehr2023-10-181-3/+5
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(sqlite): Remove no longer required autoincrement fixJoas Schilling2023-10-061-100/+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: Use DBAL's executeQuery instead of query (deprecated)Christoph Wurst2023-09-271-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Massive refactoring: Turn LanguageModel OCP API into TextProcessing APIMarcel Klehr2023-07-141-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Add tasks::last_updated column and vacate tasks after a weekMarcel Klehr2023-07-071-0/+47
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* shorten oauth2 client names before resizing the columnJulien Veyssier2023-06-061-0/+21
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* drop the oauth2_clients trusted column, delete unsupported clients and their ↵Julien Veyssier2023-06-061-0/+34
| | | | | | access tokens Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* chore: Drop dead private methods in /libChristoph Wurst2023-06-061-9/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Clear generated avatar cachesjld31032023-05-151-3/+4
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* Use typed version of IConfig::getSystemValue as much as possibleCôme Chilliet2023-04-0518-25/+25
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Use implementations instead of interfaces for accessing private methodsjld31032023-03-301-1/+1
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(OCC): Don't throw in the repair step for phone validationJoas Schilling2023-02-231-1/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Avoid extra parenthesis around SQL in IN expressionsCôme Chilliet2023-02-211-1/+1
| | | | | | | | The expression builder already suround the SQL with parenthesis when using in(), so we must not add another pair, this confuses at least sqlite. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>