Commit Graph

201 Commits (8904bf645b30fbdfdcb00a2ea607d752ee69d865)

Author SHA1 Message Date
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
Marcel Klehr ca9a28ab51 fix(TextToImage): Fix notnull column to allow for empty strings on orcale
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:01 +07:00
Marcel Klehr e5efbc88d8 enh(TextToImage): Address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
Marcel Klehr c8cab9d2fd Implement TextToImage OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +07:00
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>
2023-08-07 13:27:53 +07:00
Julien Veyssier 601679bd25
use DB type constants
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-08-02 12:37:36 +07:00
Marcel Klehr a0eaed0296
Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +07:00
Marcel Klehr ad3f353335
Migration: Drop llm_tasks table and add textprocessing_tasks
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-08-02 12:37:36 +07:00
Marcel Klehr 0909657ea0 LLM Migration: Return null if nothing changed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr f6f8cb4331 LLM OCP API: Add identifier param
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr cb0f918d21 Add tasks::last_updated column and vacate tasks after a week
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr 795b097122 LLM OCP API: Implement ocs API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr 9e9fc1d99b Fix Copyright
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Marcel Klehr 6fc4cb63ef LLM OCP API: Add db migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-07 13:39:10 +07:00
Faraz Samapoor 04b12d9d27 Uses PHP8's constructor property promotion.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-23 22:50:49 +07:00
Marcel Klehr e774708482 fix(systemtags): Keep non-existing index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-22 10:12:15 +07:00
Marcel Klehr ee9ad9c9de fix(systemtags): Move index creation from new migration to existing original migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-22 09:49:53 +07:00
Marcel Klehr fcf1c3033b fix(systemtags): Add missing systemtags index
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-21 15:20:30 +07:00
Robin Appelman db43d90387
add new index in repair step instead of on-migrate
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 15:08:08 +07:00
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>
2023-04-28 15:08:08 +07:00
Louis 7ab44b2d28
Merge pull request #37146 from nextcloud/artonge/feat/migrate_metadata_to_value
Migrate metadata JSON column to new value TEXT column
2023-04-04 10:23:54 +07:00
Louis Chemineau 1a6709cf43 Migrate metadata as JSON to value as STRING
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-04-03 14:06:28 +07:00
Louis Chemineau bda66f9fb6 Add parent index on filecache
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-03-20 15:02:23 +07:00
Simon L 96500cf5a4 add a safeguard for Version23000Date20210721100600.php
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-27 13:10:44 +07:00
Côme Chilliet f5c361cf44
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-20 11:45:08 +07:00
Marcel Klehr adfe367106
PublickKeyTokenProvider: Fix password update routine with password hash
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-01-04 08:30:53 +07:00
Joas Schilling 4d98128e9a
Fix migration parameter handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 10:36:05 +07:00
Arthur Schiwon b4f6329a83 fix querybuilder instance recuse
...and execute delete query

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-10-13 08:31:33 +07:00
Christopher Ng 7f5ef4dcf7 Delete theming background preferences
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 08:31:33 +07:00
Joas Schilling 7599cbb529 New code being new
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 08:31:33 +07:00
Joas Schilling 6e4a90ba36 Fix SQL errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-13 08:31:33 +07:00
Christopher Ng 107a974b36 Fix missing background on upgrade
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 08:31:32 +07:00
timm2k 14d3b6f021
Update Version24000Date20220404230027.php
Signed-off-by: timm2k <timm2k@gmx.de>
2022-09-15 07:58:32 +07:00
Marcel Klehr 047cc708d4 DB mounts table: Add index for mount_provider_class
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-08-01 14:27:34 +07:00