Commit Graph

215 Commits (master)

Author SHA1 Message Date
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>
4 days ago
Marcel Klehr a045e0c47a fix: fix migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 days ago
Marcel Klehr ef61c50f4b fix: address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 days ago
Marcel Klehr 928d04fbbd fix: oc_taskProcessing_tasks.identifier: notnull = false
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 days ago
Marcel Klehr 00894e2420 feat: first pass at TaskProcessing API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
4 days ago
Andy Scherzinger 1df96b0417
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
1 week ago
Varun Patil 84017a9ad7 fix(core): add fs_name_hash index to migration
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
3 weeks ago
Joas Schilling 92fc12918e
fix(migrations): Help developers to add description and copyright info
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 months ago
Johannes Merkel 21e8aadc1f
fix(db): remove redundant indices in properties
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
3 months ago
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>
4 months ago
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>
4 months ago
Maxence Lange 8362025643 better indexes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
4 months ago
Maxence Lange 6daea857ab fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
d

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
4 months ago
Maxence Lange f7d0c74b10 lazy AppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
4 months ago
Joas Schilling 6056928dc6
feat(comments): Add a meta data column for comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 months ago
Louis Chemineau e621396139
Comment legacy file_metadata table migrations
Signed-off-by: Louis Chemineau <louis@chmn.me>
5 months ago
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>
5 months ago
Julius Härtl 0ccf84bb31
perf: Add partial index on configvalue of preferences table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 months ago
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>
6 months ago
Louis Chemineau 95938d32d9
Add migration from the old to new metadata tables
Signed-off-by: Louis Chemineau <louis@chmn.me>
6 months ago
Marcel Klehr b45007f38f
Merge branch 'master' into enh/text-processing-iprovider2 6 months ago
Joas Schilling 960b95bb8e
fix(migration): Fix files metadata migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 months ago
Marcel Klehr 8c0c426538
Merge branch 'master' into enh/text-processing-iprovider2
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
6 months ago
Maxence Lange e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
6 months ago
Marcel Klehr 1476a7216a fix(TextProcessing/ migration): add check whether new column exists already
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
6 months ago
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>
7 months ago
Git'Fellow a075c85eef
Return only if changed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
7 months ago
Git'Fellow 91c92f533e
fix: add index on migration only if needed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
7 months ago
Marcel Klehr 68bb4a066c fix(TextToImage\Migration): Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
7 months ago
Marcel Klehr 9ee72633cf enh(Text2Image): Expose expected completion time
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
7 months ago
Marcel Klehr 73da7f20d3 fix(Text2Image): Add number_of_images to migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
7 months ago
Marcel Klehr ca9a28ab51 fix(TextToImage): Fix notnull column to allow for empty strings on orcale
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
7 months ago
Marcel Klehr e5efbc88d8 enh(TextToImage): Address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
7 months ago
Marcel Klehr c8cab9d2fd Implement TextToImage OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
7 months ago
Julien Veyssier 41b19cf969
allow anon text processing scheduling
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>
10 months ago
Julien Veyssier 601679bd25
use DB type constants
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
10 months ago
Marcel Klehr a0eaed0296
Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
10 months ago
Marcel Klehr ad3f353335
Migration: Drop llm_tasks table and add textprocessing_tasks
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
10 months ago
Marcel Klehr 0909657ea0 LLM Migration: Return null if nothing changed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
11 months ago
Marcel Klehr f6f8cb4331 LLM OCP API: Add identifier param
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
11 months ago
Marcel Klehr cb0f918d21 Add tasks::last_updated column and vacate tasks after a week
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
11 months ago
Marcel Klehr 795b097122 LLM OCP API: Implement ocs API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
11 months ago
Marcel Klehr 9e9fc1d99b Fix Copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
11 months ago
Marcel Klehr 6fc4cb63ef LLM OCP API: Add db migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
11 months ago
Faraz Samapoor 04b12d9d27 Uses PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
11 months ago
Marcel Klehr e774708482 fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
11 months ago
Marcel Klehr ee9ad9c9de fix(systemtags): Move index creation from new migration to existing original migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
11 months ago
Marcel Klehr fcf1c3033b fix(systemtags): Add missing systemtags index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
11 months ago
Robin Appelman db43d90387
add new index in repair step instead of on-migrate
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 year ago
Robin Appelman f5e2b0b22f
allow storing multiple mounts for the same rootid in the mount cache
currently `[$userId, $rootId]` is used as the unique key for storing mounts in the mount cache,
however there are cases where the same rootid is mounted in multiple places for a user which currently leads to not all of those mounts being added to the cache.

Previously this didn't matter as the mount cache was only used to list users with access to a specific file, so a user having access to the file multiple times didn' change anything.

With 24 the mount cache is used for more cases and multiple mounts for the same id becomes relevant.
While I think there isn't a real negative effect atm besides missing the optimized path we should ensure that the mounts are properly listed

Signed-off-by: Robin Appelman <robin@icewind.nl>
1 year ago