aboutsummaryrefslogtreecommitdiffstats
path: root/core/Migrations
Commit message (Collapse)AuthorAgeFilesLines
* fix(migration): Check if column exits before adding itbackport/48480/stable30Git'Fellow2024-10-011-15/+21
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix(TaskProcessing): increase error_message column lengthAnupam Kumar2024-09-061-0/+40
| | | | Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
* fix: Migrate existing bg jobs to use sha256Louis Chemineau2024-09-051-0/+83
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(migration): Add missing migration attributesJoas Schilling2024-08-221-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(webauthn): Increase database column for public key idFerdinand Thiessen2024-08-222-1/+40
| | | | | | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/34476 There is no maximum length defined in the standard, most common the length is between 128 and 200 characters, but as we store it not in plain data but base64 encoded the length can grow about 1/3. We had a regression with 'Nitrokey 3' which created IDs with 196 byte length -> 262 bytes encoded base64. So to be save we increase the size to 512 bytes. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(webauthn): Add user verification to webauthn challengesS1m2024-08-151-0/+27
| | | | | | | | | Require user verification if all tokens are registered with UV flag, else discourage it Signed-off-by: S1m <git@sgougeon.fr> Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(migration): Add column if not existsGit'Fellow2024-08-071-4/+6
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* feat(migrations): add metadata to existing migrationsMaxence Lange2024-08-023-0/+17
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(taskprocessing): add occ commands to list tasks and compute statsJulien Veyssier2024-07-231-3/+3
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add start, stop and schedule time to tasksJulien Veyssier2024-07-231-0/+56
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* feat(taskprocessing): add support for webhooks (http or AppAPI) in the task ↵Julien Veyssier2024-07-221-0/+51
| | | | | | processing API Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* 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>
* chore: Add SPDX headerAndy Scherzinger2024-05-2664-1266/+128
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Update core/Migrations/Version30000Date20240429122720.phpMarcel Klehr2024-05-141-1/+1
| | | | | Co-authored-by: julien-nc <julien-nc@posteo.net> Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: fix migrationMarcel Klehr2024-05-141-2/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: address review commentsMarcel Klehr2024-05-141-4/+4
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix: oc_taskProcessing_tasks.identifier: notnull = falseMarcel Klehr2024-05-141-1/+2
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* feat: first pass at TaskProcessing APIMarcel Klehr2024-05-141-0/+114
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* chore: Add SPDX headerAndy Scherzinger2024-05-105-60/+14
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(core): add fs_name_hash index to migrationVarun Patil2024-04-301-0/+1
| | | | Signed-off-by: Varun Patil <varunpatil@ucla.edu>
* fix(migrations): Help developers to add description and copyright infoJoas Schilling2024-03-051-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(db): remove redundant indices in propertiesJohannes Merkel2024-02-182-1/+61
| | | | Signed-off-by: Johannes Merkel <mail@johannesgge.de>
* Update core/Migrations/Version29000Date20240124132202.phpMaxence Lange2024-01-251-1/+1
| | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* Update core/Migrations/Version29000Date20240124132201.phpMaxence Lange2024-01-251-1/+1
| | | | Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* better indexesMaxence Lange2024-01-244-16/+219
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* fixesMaxence Lange2024-01-151-1/+3
| | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> d Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* lazy AppConfigMaxence Lange2024-01-151-0/+63
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat(comments): Add a meta data column for commentsJoas Schilling2023-12-141-0/+67
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Comment legacy file_metadata table migrationsLouis Chemineau2023-12-073-46/+47
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Revert "perf: Add partial index on configvalue of preferences table"Julius Härtl2023-12-061-4/+0
| | | | | | This reverts commit 0ccf84bb3174a0dba47938888d104db96dcacb1b. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* perf: Add partial index on configvalue of preferences tableJulius Härtl2023-11-301-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-2316-55/+55
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Add migration from the old to new metadata tablesLouis Chemineau2023-11-161-0/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Merge branch 'master' into enh/text-processing-iprovider2Marcel Klehr2023-11-091-10/+25
|\
| * fix(migration): Fix files metadata migrationJoas Schilling2023-11-091-10/+25
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge branch 'master' into enh/text-processing-iprovider2Marcel Klehr2023-11-081-0/+83
|\| | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
| * IFilesMetadataMaxence Lange2023-11-071-0/+83
| | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | fix(TextProcessing/ migration): add check whether new column exists alreadyMarcel Klehr2023-11-061-5/+6
| | | | | | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* | enh(TextProcessing): Add IProvider2Marcel Klehr2023-11-031-0/+60
|/ | | | | | | - allow providers to obtain current task's userId - allow providers to expose average task runtime Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Return only if changedGit'Fellow2023-11-011-2/+1
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix: add index on migration only if neededGit'Fellow2023-11-011-1/+3
| | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* fix(TextToImage\Migration): Fix typoMarcel Klehr2023-10-231-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* enh(Text2Image): Expose expected completion timeMarcel Klehr2023-10-201-0/+3
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(Text2Image): Add number_of_images to migrationMarcel Klehr2023-10-201-0/+4
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(TextToImage): Fix notnull column to allow for empty strings on orcaleMarcel Klehr2023-10-181-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* enh(TextToImage): Address review commentsMarcel Klehr2023-10-181-9/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* Implement TextToImage OCP APIMarcel Klehr2023-10-181-0/+100
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* allow anon text processing schedulingJulien Veyssier2023-08-071-0/+66
| | | | | | | | | add a textprocessing_tasks index convert anotations to method attributes refactor TP manager add mapper methods Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* use DB type constantsJulien Veyssier2023-08-021-1/+1
| | | | Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* Fix typoMarcel Klehr2023-08-021-1/+1
| | | | Signed-off-by: Marcel Klehr <mklehr@gmx.net>