Commit Graph

234 Commits (8a96ff0256f51930d3f545aa8522ac93d36c393d)

Author SHA1 Message Date
Ferdinand Thiessen 832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +07:00
provokateurin d44b42fd24
Revert "refactor: add migration for email setting"
This reverts commit e7859f0dac.

Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-07 10:23:23 +07:00
Ferdinand Thiessen 8ab28350f9 refactor: add migration for email setting
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-03 16:12:55 +07:00
Ferdinand Thiessen 693fd5c53b
Merge pull request #49680 from nextcloud/backport/49677/stable30
[stable30] fix(db): Create the systag_by_objectid index for new installations
2025-01-16 23:42:15 +07:00
Git'Fellow 0620fb8407 fix(migration): Check if table exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-06 13:48:04 +07:00
Christoph Wurst 9e54aa5216 fix(db): Create the systag_by_objectid index for new installations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-12-05 18:24:06 +07:00
Git'Fellow 45fd3d2fe3 fix(migration): Check if column exits before adding it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-10-01 13:19:01 +07:00
Anupam Kumar 7643a5438a fix(TaskProcessing): increase error_message column length
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-09-06 13:26:24 +07:00
Louis Chemineau 14a2efff86 fix: Migrate existing bg jobs to use sha256
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 15:58:45 +07:00
Joas Schilling c6a2aa42de fix(migration): Add missing migration attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-22 19:36:17 +07:00
Ferdinand Thiessen aa383a8ff6
fix(webauthn): Increase database column for public key id
* 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>
2024-08-22 14:43:18 +07:00
S1m b7bf8ec3c5
feat(webauthn): Add user verification to webauthn challenges
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>
2024-08-15 11:52:40 +07:00
Git'Fellow 3803e755af
fix(migration): Add column if not exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-07 20:09:51 +07:00
Maxence Lange 5e1196095c feat(migrations): add metadata to existing migrations
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-02 18:26:12 +07:00
Julien Veyssier c120a64ba2
feat(taskprocessing): add occ commands to list tasks and compute stats
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +07:00
Julien Veyssier df086a8c20
feat(taskprocessing): add start, stop and schedule time to tasks
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +07:00
Julien Veyssier fffc784769
feat(taskprocessing): add support for webhooks (http or AppAPI) in the task processing API
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-22 11:34:29 +07:00
Joas Schilling 829f2b9bc7
fix(db): Promote the use of `getDatabaseProvider` to reduce the impage of removed upstream platforms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:14 +07:00
Andy Scherzinger 5c49a54801
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-26 20:05:04 +07:00
Marcel Klehr 0e06d645d4 Update core/Migrations/Version30000Date20240429122720.php
Co-authored-by: julien-nc <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:41 +07:00
Marcel Klehr a045e0c47a fix: fix migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:41 +07:00
Marcel Klehr ef61c50f4b fix: address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr 928d04fbbd fix: oc_taskProcessing_tasks.identifier: notnull = false
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +07:00
Marcel Klehr 00894e2420 feat: first pass at TaskProcessing API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:39 +07:00
Andy Scherzinger 1df96b0417
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-10 11:07:50 +07:00
Varun Patil 84017a9ad7 fix(core): add fs_name_hash index to migration
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2024-04-30 12:24:23 +07:00
Joas Schilling 92fc12918e
fix(migrations): Help developers to add description and copyright info
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-05 12:56:38 +07:00
Johannes Merkel 21e8aadc1f
fix(db): remove redundant indices in properties
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-02-18 21:02:42 +07:00
Maxence Lange a845e0f73a
Update core/Migrations/Version29000Date20240124132202.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-25 10:33:47 +07:00
Maxence Lange 31e8ed42a1
Update core/Migrations/Version29000Date20240124132201.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-25 10:33:39 +07:00
Maxence Lange 8362025643 better indexes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-24 20:01:56 +07:00
Maxence Lange 6daea857ab fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
d

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Maxence Lange f7d0c74b10 lazy AppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 +07:00
Joas Schilling 6056928dc6
feat(comments): Add a meta data column for comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-14 14:32:00 +07:00
Louis Chemineau e621396139
Comment legacy file_metadata table migrations
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-07 13:31:09 +07:00
Julius Härtl 1cfc8a2e03
Revert "perf: Add partial index on configvalue of preferences table"
This reverts commit 0ccf84bb31.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-06 15:21:48 +07:00
Julius Härtl 0ccf84bb31
perf: Add partial index on configvalue of preferences table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 20:51:48 +07:00
Joas Schilling aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +07:00
Louis Chemineau 95938d32d9
Add migration from the old to new metadata tables
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-16 09:21:55 +07:00
Marcel Klehr b45007f38f
Merge branch 'master' into enh/text-processing-iprovider2 2023-11-09 13:46:18 +07:00
Joas Schilling 960b95bb8e
fix(migration): Fix files metadata migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-09 06:59:42 +07:00
Marcel Klehr 8c0c426538
Merge branch 'master' into enh/text-processing-iprovider2
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 11:52:47 +07:00
Maxence Lange e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 +07:00
Marcel Klehr 1476a7216a fix(TextProcessing/ migration): add check whether new column exists already
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 12:57:57 +07:00
Marcel Klehr 181f819e41 enh(TextProcessing): Add IProvider2
- allow providers to obtain current task's userId
- allow providers to expose average task runtime

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-03 16:22:54 +07:00
Git'Fellow a075c85eef
Return only if changed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:17:44 +07:00
Git'Fellow 91c92f533e
fix: add index on migration only if needed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:12:45 +07:00
Marcel Klehr 68bb4a066c fix(TextToImage\Migration): Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 12:49:50 +07:00
Marcel Klehr 9ee72633cf enh(Text2Image): Expose expected completion time
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:54:36 +07:00
Marcel Klehr 73da7f20d3 fix(Text2Image): Add number_of_images to migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:53:06 +07:00