From 538c82787c2d48d2d9b1b5996b2c3f7c85db32a5 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Mon, 20 Apr 2026 16:34:29 +0200 Subject: [PATCH 01/18] fix(search): preserve value case for non-lowercased bleve fields MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bleve compiler lowercased every query value (except Hidden) before handing it to the engine. This matched the index tokens for fields whose analyzer folds case — Name, Tags, Favorites, Content — but silently broke matching for every other field, whose default keyword analyzer preserves case. A query like Title:"Some Title" parsed fine, lowercased to "some title", and missed the indexed token "Some Title". Replace the blanket lowercasing with an allowlist of the four fields whose index mapping actually uses a lowercasing analyzer. Every other field now passes through unchanged, which keeps values like "deadmau5" or "Motörhead" intact instead of normalising them to a case the tag writer didn't choose. --- services/search/pkg/bleve/backend_test.go | 12 ++++++++++++ services/search/pkg/query/bleve/compiler.go | 13 ++++++++++++- services/search/pkg/query/bleve/compiler_test.go | 8 ++++---- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/services/search/pkg/bleve/backend_test.go b/services/search/pkg/bleve/backend_test.go index be770f95e..c85f63fb1 100644 --- a/services/search/pkg/bleve/backend_test.go +++ b/services/search/pkg/bleve/backend_test.go @@ -137,6 +137,18 @@ var _ = Describe("Bleve", func() { assertDocCount(rootResource.ID, "Size:<1000", 0) assertDocCount(rootResource.ID, "Size:>100000", 0) }) + + // FIXME: switch Title to audio.artist once + // https://github.com/opencloud-eu/opencloud/pull/2632 lands + // (KQL grammar then accepts dotted keys). + It("preserves value case for fields not explicitly marked lowercase", func() { + parentResource.Document.Title = "Some Title" + err := eng.Upsert(parentResource.ID, parentResource) + Expect(err).ToNot(HaveOccurred()) + + assertDocCount(rootResource.ID, `Title:"Some Title"`, 1) + assertDocCount(rootResource.ID, `Title:"some title"`, 0) + }) }) Context("by filename", func() { diff --git a/services/search/pkg/query/bleve/compiler.go b/services/search/pkg/query/bleve/compiler.go index e9d466e93..f5d58997a 100644 --- a/services/search/pkg/query/bleve/compiler.go +++ b/services/search/pkg/query/bleve/compiler.go @@ -10,6 +10,17 @@ import ( "github.com/opencloud-eu/opencloud/pkg/kql" ) +// lowercaseFields lists the bleve fields whose index mapping uses a lowercasing analyzer. +// Values bound to these fields are pre-lowercased so that non-analyzed query types +// (e.g. wildcard, fuzzy) still match the lowercased terms in the index. +// Keep in sync with services/search/pkg/bleve/index.go NewMapping. +var lowercaseFields = map[string]bool{ + "Name": true, + "Tags": true, + "Favorites": true, + "Content": true, +} + var _fields = map[string]string{ "rootid": "RootID", "path": "Path", @@ -91,7 +102,7 @@ func walk(offset int, nodes []ast.Node) (bleveQuery.Query, int, error) { v = bleveEscaper.Replace(n.Value) } - if k != "Hidden" { + if lowercaseFields[k] { v = strings.ToLower(v) } diff --git a/services/search/pkg/query/bleve/compiler_test.go b/services/search/pkg/query/bleve/compiler_test.go index d450b0255..ff94e8872 100644 --- a/services/search/pkg/query/bleve/compiler_test.go +++ b/services/search/pkg/query/bleve/compiler_test.go @@ -227,8 +227,8 @@ func Test_compile(t *testing.T) { }, }, want: query.NewConjunctionQuery([]query.Query{ - query.NewQueryStringQuery(`author:john\ smith`), - query.NewQueryStringQuery(`author:jane`), + query.NewQueryStringQuery(`author:John\ Smith`), + query.NewQueryStringQuery(`author:Jane`), }), wantErr: false, }, @@ -249,8 +249,8 @@ func Test_compile(t *testing.T) { }, }, want: query.NewConjunctionQuery([]query.Query{ - query.NewQueryStringQuery(`author:john\ smith`), - query.NewQueryStringQuery(`author:jane`), + query.NewQueryStringQuery(`author:John\ Smith`), + query.NewQueryStringQuery(`author:Jane`), query.NewQueryStringQuery(`Tags:bestseller`), }), wantErr: false, From 796e5fd373c9a96f6be7b67aa59b0b7734e43f74 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Mon, 20 Apr 2026 16:40:55 +0200 Subject: [PATCH 02/18] fix(search): tighten lowercaseFields comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Copilot review pointed out that the comment claimed pre-lowercasing makes non-analyzed query types (wildcard, fuzzy) match for every allowlisted field. That is true for Name/Tags/Favorites, whose lowercaseKeyword analyzer emits a single lowercased token, but the Content analyzer also stems terms — so the guarantee doesn't hold there. Drop the specific claim and keep the comment to the intent: stay consistent with the field's analyzer. --- services/search/pkg/query/bleve/compiler.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/search/pkg/query/bleve/compiler.go b/services/search/pkg/query/bleve/compiler.go index f5d58997a..2d3130c39 100644 --- a/services/search/pkg/query/bleve/compiler.go +++ b/services/search/pkg/query/bleve/compiler.go @@ -10,9 +10,9 @@ import ( "github.com/opencloud-eu/opencloud/pkg/kql" ) -// lowercaseFields lists the bleve fields whose index mapping uses a lowercasing analyzer. -// Values bound to these fields are pre-lowercased so that non-analyzed query types -// (e.g. wildcard, fuzzy) still match the lowercased terms in the index. +// lowercaseFields lists the bleve fields whose index mapping uses a +// lowercasing analyzer. Values bound to these fields are pre-lowercased +// so query-side matching stays consistent with the index. // Keep in sync with services/search/pkg/bleve/index.go NewMapping. var lowercaseFields = map[string]bool{ "Name": true, From 87b1f6f6309341efedf0c6aed17e0e6132481da4 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Wed, 22 Apr 2026 09:51:37 +0200 Subject: [PATCH 03/18] test(search): cover audio.artist instead of Title for case preservation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The FIXME pointed at #2632 (dotted keys in KQL property restrictions), which is now merged. Use audio.artist — the originally intended target field for this regression — so the test matches its name: a nested string field that is not on the lowercase allowlist. --- services/search/pkg/bleve/backend_test.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/services/search/pkg/bleve/backend_test.go b/services/search/pkg/bleve/backend_test.go index c85f63fb1..8ecfa4bbb 100644 --- a/services/search/pkg/bleve/backend_test.go +++ b/services/search/pkg/bleve/backend_test.go @@ -138,16 +138,15 @@ var _ = Describe("Bleve", func() { assertDocCount(rootResource.ID, "Size:>100000", 0) }) - // FIXME: switch Title to audio.artist once - // https://github.com/opencloud-eu/opencloud/pull/2632 lands - // (KQL grammar then accepts dotted keys). It("preserves value case for fields not explicitly marked lowercase", func() { - parentResource.Document.Title = "Some Title" + parentResource.Document.Audio = &libregraph.Audio{ + Artist: libregraph.PtrString("Some Artist"), + } err := eng.Upsert(parentResource.ID, parentResource) Expect(err).ToNot(HaveOccurred()) - assertDocCount(rootResource.ID, `Title:"Some Title"`, 1) - assertDocCount(rootResource.ID, `Title:"some title"`, 0) + assertDocCount(rootResource.ID, `audio.artist:"Some Artist"`, 1) + assertDocCount(rootResource.ID, `audio.artist:"some artist"`, 0) }) }) From 365bd944181c9f22ff713191163a1f687f0d42b6 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Wed, 22 Apr 2026 10:01:02 +0200 Subject: [PATCH 04/18] refactor(search): use map[string]struct{} for lowercaseFields set Bring the membership lookup in line with the existing repo convention for set types (see services/thumbnails/pkg/thumbnail/mimetypes.go for the same pattern). Storing struct{} values instead of bool makes the set semantics explicit and rules out accidental false entries. --- services/search/pkg/query/bleve/compiler.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/services/search/pkg/query/bleve/compiler.go b/services/search/pkg/query/bleve/compiler.go index 2d3130c39..310397cae 100644 --- a/services/search/pkg/query/bleve/compiler.go +++ b/services/search/pkg/query/bleve/compiler.go @@ -14,11 +14,11 @@ import ( // lowercasing analyzer. Values bound to these fields are pre-lowercased // so query-side matching stays consistent with the index. // Keep in sync with services/search/pkg/bleve/index.go NewMapping. -var lowercaseFields = map[string]bool{ - "Name": true, - "Tags": true, - "Favorites": true, - "Content": true, +var lowercaseFields = map[string]struct{}{ + "Name": {}, + "Tags": {}, + "Favorites": {}, + "Content": {}, } var _fields = map[string]string{ @@ -102,7 +102,7 @@ func walk(offset int, nodes []ast.Node) (bleveQuery.Query, int, error) { v = bleveEscaper.Replace(n.Value) } - if lowercaseFields[k] { + if _, ok := lowercaseFields[k]; ok { v = strings.ToLower(v) } From 74eddf882578dd18d18c0ca9f9dae794cb1bbfa7 Mon Sep 17 00:00:00 2001 From: opencloudeu Date: Thu, 30 Apr 2026 00:03:01 +0000 Subject: [PATCH 05/18] [tx] updated from transifex --- .../l10n/locale/lo/LC_MESSAGES/activitylog.po | 102 ++++++++++ .../locale/lo/LC_MESSAGES/notifications.po | 179 ++++++++++++++++++ .../v0/l10n/locale/lo/LC_MESSAGES/settings.po | 146 ++++++++++++++ 3 files changed, 427 insertions(+) create mode 100644 services/activitylog/pkg/service/l10n/locale/lo/LC_MESSAGES/activitylog.po create mode 100644 services/notifications/pkg/email/l10n/locale/lo/LC_MESSAGES/notifications.po create mode 100644 services/settings/pkg/service/v0/l10n/locale/lo/LC_MESSAGES/settings.po diff --git a/services/activitylog/pkg/service/l10n/locale/lo/LC_MESSAGES/activitylog.po b/services/activitylog/pkg/service/l10n/locale/lo/LC_MESSAGES/activitylog.po new file mode 100644 index 000000000..653b8a3bd --- /dev/null +++ b/services/activitylog/pkg/service/l10n/locale/lo/LC_MESSAGES/activitylog.po @@ -0,0 +1,102 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +# Translators: +# BoneNI, 2026 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: EMAIL\n" +"POT-Creation-Date: 2026-04-30 00:02+0000\n" +"PO-Revision-Date: 2025-01-27 10:17+0000\n" +"Last-Translator: BoneNI, 2026\n" +"Language-Team: Lao (https://app.transifex.com/opencloud-eu/teams/204053/lo/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: lo\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: pkg/service/response.go:44 +msgid "description" +msgstr "ຄຳອະທິບາຍ" + +#: pkg/service/response.go:43 +msgid "display name" +msgstr "ຊື່ທີ່ສະແດງ" + +#: pkg/service/response.go:42 +msgid "expiration date" +msgstr "ວັນໝົດອາຍຸ" + +#: pkg/service/response.go:41 +msgid "password" +msgstr "ລະຫັດຜ່ານ" + +#: pkg/service/response.go:40 +msgid "permission" +msgstr "ສິດອະນຸຍາດ" + +#: pkg/service/response.go:39 +msgid "some field" +msgstr "ບາງຟີວ" + +#: pkg/service/response.go:26 +msgid "{resource} was downloaded via public link {token}" +msgstr "{resource} ຖືກດາວໂຫຼດຜ່ານລິ້ງສາທາລະນະ {token}" + +#: pkg/service/response.go:24 +msgid "{user} added {resource} to {folder}" +msgstr "{user} ໄດ້ເພີ່ມ {resource} ເຂົ້າໃນ {folder}" + +#: pkg/service/response.go:36 +msgid "{user} added {sharee} as member of {space}" +msgstr "{user} ໄດ້ເພີ່ມ {sharee} ເປັນສະມາຊິກຂອງ {space}" + +#: pkg/service/response.go:27 +msgid "{user} deleted {resource} from {folder}" +msgstr "{user} ໄດ້ລຶບ {resource} ອອກຈາກ {folder}" + +#: pkg/service/response.go:28 +msgid "{user} moved {resource} to {folder}" +msgstr "{user} ໄດ້ຍ້າຍ {resource} ໄປທີ່ {folder}" + +#: pkg/service/response.go:35 +msgid "{user} removed link to {resource}" +msgstr "{user} ໄດ້ລຶບລິ້ງໄປຫາ {resource}" + +#: pkg/service/response.go:32 +msgid "{user} removed {sharee} from {resource}" +msgstr "{user} ໄດ້ລຶບ {sharee} ອອກຈາກ {resource}" + +#: pkg/service/response.go:37 +msgid "{user} removed {sharee} from {space}" +msgstr "{user} ໄດ້ລຶບ {sharee} ອອກຈາກ {space}" + +#: pkg/service/response.go:29 +msgid "{user} renamed {oldResource} to {resource}" +msgstr "{user} ໄດ້ປ່ຽນຊື່ {oldResource} ເປັນ {resource}" + +#: pkg/service/response.go:33 +msgid "{user} shared {resource} via link" +msgstr "{user} ໄດ້ແບ່ງປັນ {resource} ຜ່ານລິ້ງ" + +#: pkg/service/response.go:30 +msgid "{user} shared {resource} with {sharee}" +msgstr "{user} ໄດ້ແບ່ງປັນ {resource} ກັບ {sharee}" + +#: pkg/service/response.go:34 +msgid "{user} updated {field} for a link {token} on {resource}" +msgstr "{user} ໄດ້ອັບເດດ {field} ສຳລັບລິ້ງ {token} ໃນ {resource}" + +#: pkg/service/response.go:31 +msgid "{user} updated {field} for the {resource}" +msgstr "{user} ໄດ້ອັບເດດ {field} ສຳລັບ {resource}" + +#: pkg/service/response.go:25 +msgid "{user} updated {resource} in {folder}" +msgstr "{user} ໄດ້ອັບເດດ {resource} ໃນ {folder}" diff --git a/services/notifications/pkg/email/l10n/locale/lo/LC_MESSAGES/notifications.po b/services/notifications/pkg/email/l10n/locale/lo/LC_MESSAGES/notifications.po new file mode 100644 index 000000000..0978daa90 --- /dev/null +++ b/services/notifications/pkg/email/l10n/locale/lo/LC_MESSAGES/notifications.po @@ -0,0 +1,179 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +# Translators: +# BoneNI, 2026 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: EMAIL\n" +"POT-Creation-Date: 2026-04-30 00:02+0000\n" +"PO-Revision-Date: 2025-01-27 10:17+0000\n" +"Last-Translator: BoneNI, 2026\n" +"Language-Team: Lao (https://app.transifex.com/opencloud-eu/teams/204053/lo/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: lo\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. UnsharedSpace email template, resolves via {{ .CallToAction }} +#: pkg/email/templates.go:65 +msgid "Click here to check it: {ShareLink}" +msgstr "ກົດບ່ອນນີ້ເພື່ອເຂົ້າໄປກວດສອບ: {ShareLink}" + +#. ShareCreated email template, resolves via {{ .CallToAction }} +#. SharedSpace email template, resolves via {{ .CallToAction }} +#: pkg/email/templates.go:23 pkg/email/templates.go:50 +msgid "Click here to view it: {ShareLink}" +msgstr "ກົດບ່ອນນີ້ເພື່ອເບິ່ງ: {ShareLink}" + +#. ShareCreated email template, resolves via {{ .Greeting }} +#: pkg/email/templates.go:19 +msgid "Hello {ShareGrantee}" +msgstr "ສະບາຍດີ {ShareGrantee}" + +#. ShareExpired email template, resolves via {{ .Greeting }} +#: pkg/email/templates.go:32 +msgid "Hello {ShareGrantee}," +msgstr "ສະບາຍດີ {ShareGrantee}," + +#. SharedSpace email template, resolves via {{ .Greeting }} +#. UnsharedSpace email template, resolves via {{ .Greeting }} +#. MembershipExpired email template, resolves via {{ .Greeting }} +#: pkg/email/templates.go:46 pkg/email/templates.go:59 +#: pkg/email/templates.go:74 +msgid "Hello {SpaceGrantee}," +msgstr "ສະບາຍດີ {SpaceGrantee}," + +#. Grouped email template, resolves via {{ .Greeting }} +#: pkg/email/templates.go:118 +msgid "Hi {DisplayName}," +msgstr "ສະບາຍດີ {DisplayName}," + +#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting +#. }} +#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves +#. via {{ .Greeting }} +#: pkg/email/templates.go:87 pkg/email/templates.go:104 +msgid "Hi," +msgstr "ສະບາຍດີ," + +#. MembershipExpired email template, Subject field (resolves directly) +#: pkg/email/templates.go:72 +msgid "Membership of '{SpaceName}' expired at {ExpiredAt}" +msgstr "ການເປັນສະມາຊິກຂອງ '{SpaceName}' ໝົດອາຍຸເມື່ອ {ExpiredAt}" + +#. Grouped email template, Subject field (resolves directly) +#: pkg/email/templates.go:116 +msgid "Report" +msgstr "ລາຍງານ" + +#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves +#. directly) +#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject +#. field (resolves directly) +#: pkg/email/templates.go:85 pkg/email/templates.go:102 +msgid "ScienceMesh: {InitiatorName} wants to collaborate with you" +msgstr "ScienceMesh: {InitiatorName} ຕ້ອງການຮ່ວມມືກັບທ່ານ" + +#. ShareExpired email template, Subject field (resolves directly) +#: pkg/email/templates.go:30 +msgid "Share to '{ShareFolder}' expired at {ExpiredAt}" +msgstr "ການແບ່ງປັນໄປຍັງ '{ShareFolder}' ໝົດອາຍຸເມື່ອ {ExpiredAt}" + +#. MembershipExpired email template, resolves via {{ .MessageBody }} +#: pkg/email/templates.go:76 +msgid "" +"Your membership of space {SpaceName} has expired at {ExpiredAt}\n" +"\n" +"Even though this membership has expired you still might have access through other shares and/or space memberships" +msgstr "" +"ການເປັນສະມາຊິກພື້ນທີ່ {SpaceName} ຂອງທ່ານໝົດອາຍຸເມື່ອ {ExpiredAt}\n" +"\n" +"ເຖິງແມ່ນວ່າການເປັນສະມາຊິກນີ້ໝົດອາຍຸແລ້ວ ແຕ່ທ່ານອາດຈະຍັງສາມາດເຂົ້າເຖິງໄດ້ຜ່ານການແບ່ງປັນອື່ນໆ ແລະ/ຫຼື ການເປັນສະມາຊິກພື້ນທີ່ອື່ນ." + +#. ShareExpired email template, resolves via {{ .MessageBody }} +#: pkg/email/templates.go:34 +msgid "" +"Your share to {ShareFolder} has expired at {ExpiredAt}\n" +"\n" +"Even though this share has been revoked you still might have access through other shares and/or space memberships." +msgstr "" +"ການແບ່ງປັນ {ShareFolder} ຂອງທ່ານໝົດອາຍຸເມື່ອ {ExpiredAt}\n" +"\n" +"ເຖິງແມ່ນວ່າການແບ່ງປັນນີ້ຈະຖືກຍົກເລີກແລ້ວ ແຕ່ທ່ານອາດຈະຍັງສາມາດເຂົ້າເຖິງໄດ້ຜ່ານການແບ່ງປັນອື່ນໆ ແລະ/ຫຼື ການເປັນສະມາຊິກພື້ນທີ່." + +#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves +#. via {{ .MessageBody }} +#: pkg/email/templates.go:106 +msgid "" +"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n" +"Please visit your federation settings and use the following details:\n" +" Token: {Token}\n" +" ProviderDomain: {ProviderDomain}" +msgstr "" +"{ShareSharer} ({ShareSharerMail}) ຕ້ອງການເລີ່ມແບ່ງປັນຊັບພະຍາກອນການຮ່ວມມືກັບທ່ານ.\n" +"ກະລຸນາເຂົ້າໄປທີ່ການຕັ້ງຄ່າສະຫະພັນ (federation) ຂອງທ່ານ ແລະ ໃຊ້ລາຍລະອຽດດັ່ງນີ້:\n" +" Token: {Token}\n" +" ProviderDomain: {ProviderDomain}" + +#. ScienceMeshInviteTokenGenerated email template, resolves via {{ +#. .MessageBody }} +#: pkg/email/templates.go:89 +msgid "" +"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n" +"To accept the invite, please visit the following URL:\n" +"{ShareLink}\n" +"\n" +"Alternatively, you can visit your federation settings and use the following details:\n" +" Token: {Token}\n" +" ProviderDomain: {ProviderDomain}" +msgstr "" +"{ShareSharer} ({ShareSharerMail}) ຕ້ອງການເລີ່ມແບ່ງປັນຊັບພະຍາກອນການຮ່ວມມືກັບທ່ານ.\n" +"ເພື່ອຕອບຮັບຄຳເຊີນ, ກະລຸນາເຂົ້າໄປທີ່ URL ດັ່ງນີ້:\n" +"{ShareLink}\n" +"\n" +"ຫຼື ທ່ານສາມາດເຂົ້າໄປທີ່ການຕັ້ງຄ່າສະຫະພັນ (federation) ຂອງທ່ານ ແລະ ໃຊ້ລາຍລະອຽດດັ່ງນີ້:\n" +" Token: {Token}\n" +" ProviderDomain: {ProviderDomain}" + +#. ShareCreated email template, resolves via {{ .MessageBody }} +#: pkg/email/templates.go:21 +msgid "{ShareSharer} has shared \"{ShareFolder}\" with you." +msgstr "{ShareSharer} ໄດ້ແບ່ງປັນ \"{ShareFolder}\" ກັບທ່ານ." + +#. ShareCreated email template, Subject field (resolves directly) +#: pkg/email/templates.go:17 +msgid "{ShareSharer} shared '{ShareFolder}' with you" +msgstr "{ShareSharer} ໄດ້ແບ່ງປັນ '{ShareFolder}' ກັບທ່ານ" + +#. SharedSpace email template, resolves via {{ .MessageBody }} +#: pkg/email/templates.go:48 +msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"." +msgstr "{SpaceSharer} ໄດ້ເຊີນທ່ານເຂົ້າຮ່ວມ \"{SpaceName}\"." + +#. UnsharedSpace email template, resolves via {{ .MessageBody }} +#: pkg/email/templates.go:61 +msgid "" +"{SpaceSharer} has removed you from \"{SpaceName}\".\n" +"\n" +"You might still have access through your other groups or direct membership." +msgstr "" +"{SpaceSharer} ໄດ້ຍ້າຍທ່ານອອກຈາກ \"{SpaceName}\".\n" +"\n" +"ທ່ານອາດຈະຍັງສາມາດເຂົ້າເຖິງໄດ້ຜ່ານກຸ່ມອື່ນໆ ຫຼື ການເປັນສະມາຊິກໂດຍກົງ." + +#. SharedSpace email template, Subject field (resolves directly) +#: pkg/email/templates.go:44 +msgid "{SpaceSharer} invited you to join {SpaceName}" +msgstr "{SpaceSharer} ໄດ້ເຊີນທ່ານເຂົ້າຮ່ວມ {SpaceName}" + +#. UnsharedSpace email template, Subject field (resolves directly) +#: pkg/email/templates.go:57 +msgid "{SpaceSharer} removed you from {SpaceName}" +msgstr "{SpaceSharer} ໄດ້ຍ້າຍທ່ານອອກຈາກ {SpaceName}" diff --git a/services/settings/pkg/service/v0/l10n/locale/lo/LC_MESSAGES/settings.po b/services/settings/pkg/service/v0/l10n/locale/lo/LC_MESSAGES/settings.po new file mode 100644 index 000000000..d1f28ece7 --- /dev/null +++ b/services/settings/pkg/service/v0/l10n/locale/lo/LC_MESSAGES/settings.po @@ -0,0 +1,146 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +# Translators: +# BoneNI, 2026 +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: EMAIL\n" +"POT-Creation-Date: 2026-04-30 00:02+0000\n" +"PO-Revision-Date: 2025-01-27 10:17+0000\n" +"Last-Translator: BoneNI, 2026\n" +"Language-Team: Lao (https://app.transifex.com/opencloud-eu/teams/204053/lo/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: lo\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. name of the notification option 'Space Shared' +#: pkg/store/defaults/templates.go:20 +msgid "Added as space member" +msgstr "ຖືກເພີ່ມເປັນສະມາຊິກພື້ນທີ່" + +#. translation for the 'daily' email interval option +#: pkg/store/defaults/templates.go:50 +msgid "Daily" +msgstr "ປະຈຳວັນ" + +#. name of the notification option 'Email Interval' +#: pkg/store/defaults/templates.go:44 +msgid "Email sending interval" +msgstr "ໄລຍະຫ່າງການສົ່ງອີເມລ" + +#. name of the notification option 'File Rejected' +#: pkg/store/defaults/templates.go:40 +msgid "File rejected" +msgstr "ໄຟລ໌ຖືກປະຕິເສດ" + +#. translation for the 'instant' email interval option +#: pkg/store/defaults/templates.go:48 +msgid "Instant" +msgstr "ທັນທີ" + +#. translation for the 'never' email interval option +#: pkg/store/defaults/templates.go:54 +msgid "Never" +msgstr "ບໍ່ເຄີຍ" + +#. description of the notification option 'Space Shared' +#: pkg/store/defaults/templates.go:22 +msgid "Notify when I have been added as a member to a space" +msgstr "ແຈ້ງເຕືອນເມື່ອຂ້ອຍຖືກເພີ່ມເປັນສະມາຊິກໃນພື້ນທີ່" + +#. description of the notification option 'Space Unshared' +#: pkg/store/defaults/templates.go:26 +msgid "Notify when I have been removed as member from a space" +msgstr "ແຈ້ງເຕືອນເມື່ອຂ້ອຍຖືກຖອນອອກຈາກການເປັນສະມາຊິກໃນພື້ນທີ່" + +#. description of the notification option 'Share Received' +#: pkg/store/defaults/templates.go:10 +msgid "Notify when I have received a share" +msgstr "ແຈ້ງເຕືອນເມື່ອຂ້ອຍໄດ້ຮັບການແບ່ງປັນ" + +#. description of the notification option 'File Rejected' +#: pkg/store/defaults/templates.go:42 +msgid "" +"Notify when a file I uploaded was rejected because of a virus infection or " +"policy violation" +msgstr "" +"ແຈ້ງເຕືອນເມື່ອໄຟລ໌ທີ່ຂ້ອຍອັບໂຫລດຖືກປະຕິເສດ ເນື່ອງຈາກກວດພົບໄວຣັສ ຫຼື " +"ລະເມີດນະໂຍບາຍ" + +#. description of the notification option 'Share Removed' +#: pkg/store/defaults/templates.go:14 +msgid "Notify when a received share has been removed" +msgstr "ແຈ້ງເຕືອນເມື່ອການແບ່ງປັນທີ່ໄດ້ຮັບຖືກຖອນອອກ" + +#. description of the notification option 'Share Expired' +#: pkg/store/defaults/templates.go:18 +msgid "Notify when a received share has expired" +msgstr "ແຈ້ງເຕືອນເມື່ອການແບ່ງປັນທີ່ໄດ້ຮັບໝົດອາຍຸ" + +#. description of the notification option 'Space Deleted' +#: pkg/store/defaults/templates.go:38 +msgid "Notify when a space I am member of has been deleted" +msgstr "ແຈ້ງເຕືອນເມື່ອພື້ນທີ່ທີ່ຂ້ອຍເປັນສະມາຊິກຖືກລຶບ" + +#. description of the notification option 'Space Disabled' +#: pkg/store/defaults/templates.go:34 +msgid "Notify when a space I am member of has been disabled" +msgstr "ແຈ້ງເຕືອນເມື່ອພື້ນທີ່ທີ່ຂ້ອຍເປັນສະມາຊິກຖືກປິດການໃຊ້ງານ" + +#. description of the notification option 'Space Membership Expired' +#: pkg/store/defaults/templates.go:30 +msgid "Notify when a space membership has expired" +msgstr "ແຈ້ງເຕືອນເມື່ອການເປັນສະມາຊິກພື້ນທີ່ໝົດອາຍຸ" + +#. name of the notification option 'Space Unshared' +#: pkg/store/defaults/templates.go:24 +msgid "Removed as space member" +msgstr "ຖືກຖອນອອກຈາກການເປັນສະມາຊິກພື້ນທີ່" + +#. description of the notification option 'Email Interval' +#: pkg/store/defaults/templates.go:46 +msgid "Selected value:" +msgstr "ຄ່າທີ່ເລືອກ:" + +#. name of the notification option 'Share Expired' +#: pkg/store/defaults/templates.go:16 +msgid "Share Expired" +msgstr "ການແບ່ງປັນໝົດອາຍຸ" + +#. name of the notification option 'Share Received' +#: pkg/store/defaults/templates.go:8 +msgid "Share Received" +msgstr "ໄດ້ຮັບການແບ່ງປັນ" + +#. name of the notification option 'Share Removed' +#: pkg/store/defaults/templates.go:12 +msgid "Share Removed" +msgstr "ການແບ່ງປັນຖືກຖອນອອກ" + +#. name of the notification option 'Space Deleted' +#: pkg/store/defaults/templates.go:36 +msgid "Space deleted" +msgstr "ພື້ນທີ່ຖືກລຶບ" + +#. name of the notification option 'Space Disabled' +#: pkg/store/defaults/templates.go:32 +msgid "Space disabled" +msgstr "ພື້ນທີ່ຖືກປິດການໃຊ້ງານ" + +#. name of the notification option 'Space Membership Expired' +#: pkg/store/defaults/templates.go:28 +msgid "Space membership expired" +msgstr "ການເປັນສະມາຊິກພື້ນທີ່ໝົດອາຍຸ" + +#. translation for the 'weekly' email interval option +#: pkg/store/defaults/templates.go:52 +msgid "Weekly" +msgstr "ປະຈຳອາທິດ" From 544968a4de5ebfa1c462bac86aaa7974b4c4a435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Thu, 30 Apr 2026 11:00:12 +0200 Subject: [PATCH 06/18] Set new defaults for caches and stores See https://github.com/opencloud-eu/opencloud/issues/2681 for more details. --- pkg/roles/manager.go | 2 +- services/eventhistory/pkg/config/defaults/defaultconfig.go | 4 +--- services/graph/pkg/config/defaults/defaultconfig.go | 2 +- services/ocs/pkg/config/defaults/defaultconfig.go | 2 +- services/postprocessing/pkg/config/defaults/defaultconfig.go | 1 + services/storage-system/pkg/config/defaults/defaultconfig.go | 2 +- services/storage-users/pkg/config/defaults/defaultconfig.go | 2 +- 7 files changed, 7 insertions(+), 8 deletions(-) diff --git a/pkg/roles/manager.go b/pkg/roles/manager.go index eb85d23bb..c191262ea 100644 --- a/pkg/roles/manager.go +++ b/pkg/roles/manager.go @@ -15,7 +15,7 @@ import ( const ( cacheDatabase = "opencloud-pkg" cacheTableName = "roles" - cacheTTL = time.Hour + cacheTTL = 24 * time.Hour ) // Manager manages a cache of roles by fetching unknown roles from the settings.RoleService. diff --git a/services/eventhistory/pkg/config/defaults/defaultconfig.go b/services/eventhistory/pkg/config/defaults/defaultconfig.go index ee085414d..d61f57934 100644 --- a/services/eventhistory/pkg/config/defaults/defaultconfig.go +++ b/services/eventhistory/pkg/config/defaults/defaultconfig.go @@ -1,8 +1,6 @@ package defaults import ( - "time" - "github.com/opencloud-eu/opencloud/pkg/structs" "github.com/opencloud-eu/opencloud/services/eventhistory/pkg/config" ) @@ -37,7 +35,7 @@ func DefaultConfig() *config.Config { Nodes: []string{"127.0.0.1:9233"}, Database: "eventhistory", Table: "", - TTL: 336 * time.Hour, + TTL: 0, }, GRPC: config.GRPCConfig{ Addr: "127.0.0.1:9274", diff --git a/services/graph/pkg/config/defaults/defaultconfig.go b/services/graph/pkg/config/defaults/defaultconfig.go index 9b5352f6e..8f18e58a7 100644 --- a/services/graph/pkg/config/defaults/defaultconfig.go +++ b/services/graph/pkg/config/defaults/defaultconfig.go @@ -114,7 +114,7 @@ func DefaultConfig() *config.Config { Store: "memory", Nodes: []string{"127.0.0.1:9233"}, Database: "cache-roles", - TTL: time.Hour * 336, + TTL: time.Hour * 24, }, Events: config.Events{ Endpoint: "127.0.0.1:9233", diff --git a/services/ocs/pkg/config/defaults/defaultconfig.go b/services/ocs/pkg/config/defaults/defaultconfig.go index 59872940c..e39f83a31 100644 --- a/services/ocs/pkg/config/defaults/defaultconfig.go +++ b/services/ocs/pkg/config/defaults/defaultconfig.go @@ -42,7 +42,7 @@ func DefaultConfig() *config.Config { SigningKeys: &config.SigningKeys{ Store: "nats-js-kv", // signing keys are read by proxy, so we cannot use memory. It is not shared. Nodes: []string{"127.0.0.1:9233"}, - TTL: time.Hour * 12, + TTL: time.Hour * 24, }, } } diff --git a/services/postprocessing/pkg/config/defaults/defaultconfig.go b/services/postprocessing/pkg/config/defaults/defaultconfig.go index 39186aaa1..2e2e45f60 100644 --- a/services/postprocessing/pkg/config/defaults/defaultconfig.go +++ b/services/postprocessing/pkg/config/defaults/defaultconfig.go @@ -42,6 +42,7 @@ func DefaultConfig() *config.Config { Nodes: []string{"127.0.0.1:9233"}, Database: "postprocessing", Table: "", + TTL: 7 * 24 * time.Hour, }, } } diff --git a/services/storage-system/pkg/config/defaults/defaultconfig.go b/services/storage-system/pkg/config/defaults/defaultconfig.go index 9608cd466..4fdcb568e 100644 --- a/services/storage-system/pkg/config/defaults/defaultconfig.go +++ b/services/storage-system/pkg/config/defaults/defaultconfig.go @@ -54,7 +54,7 @@ func DefaultConfig() *config.Config { Store: "memory", Nodes: []string{"127.0.0.1:9233"}, Database: "storage-system", - TTL: 24 * 60 * time.Second, + TTL: 24 * 60 * 60 * time.Second, }, } } diff --git a/services/storage-users/pkg/config/defaults/defaultconfig.go b/services/storage-users/pkg/config/defaults/defaultconfig.go index 541d56d20..5e777f60f 100644 --- a/services/storage-users/pkg/config/defaults/defaultconfig.go +++ b/services/storage-users/pkg/config/defaults/defaultconfig.go @@ -165,7 +165,7 @@ func DefaultConfig() *config.Config { Store: "memory", Nodes: []string{"127.0.0.1:9233"}, Database: "storage-users", - TTL: 24 * 60 * time.Second, + TTL: 24 * 60 * 60 * time.Second, }, IDCache: config.IDCache{ Store: "nats-js-kv", From c9887c17cf47591c3e00b14ebbe16f2a51e730f2 Mon Sep 17 00:00:00 2001 From: Thomas Schweiger Date: Thu, 30 Apr 2026 13:13:20 +0200 Subject: [PATCH 07/18] fix: remove typo in error message --- services/search/pkg/opensearch/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/search/pkg/opensearch/index.go b/services/search/pkg/opensearch/index.go index 80c6fe11b..6f10b23c3 100644 --- a/services/search/pkg/opensearch/index.go +++ b/services/search/pkg/opensearch/index.go @@ -118,7 +118,7 @@ func (m IndexManager) Apply(ctx context.Context, name string, client *opensearch if errs != nil { return fmt.Errorf( - "index %s allready exists and is different from the requested version, %w: %w", + "index %s already exists and is different from the requested version, %w: %w", name, ErrManualActionRequired, errors.Join(errs...), From 6218d36118acf65ed3574130c7f26301786f0527 Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Thu, 30 Apr 2026 14:09:09 +0200 Subject: [PATCH 08/18] refactor(ci): simplify tests pipelines (#2699) * refactor(ci): simplify tests pipelines * fix --- .woodpecker.star | 268 +++++------------- tests/acceptance/config/behat.yml | 9 + .../expected-failures-decomposed-storage.md | 6 +- .../expected-failures-posix-storage.md | 6 +- .../expected-failures-without-remotephp.md | 8 +- .../copyFile.feature | 0 .../createFileFolder.feature | 0 .../createFileFolderWhenSharesExist.feature | 0 8 files changed, 91 insertions(+), 206 deletions(-) rename tests/acceptance/features/{coreApiWebdavProperties => coreApiWebdavCopyCreate}/copyFile.feature (100%) rename tests/acceptance/features/{coreApiWebdavProperties => coreApiWebdavCopyCreate}/createFileFolder.feature (100%) rename tests/acceptance/features/{coreApiWebdavProperties => coreApiWebdavCopyCreate}/createFileFolderWhenSharesExist.feature (100%) diff --git a/.woodpecker.star b/.woodpecker.star index e142a2ac4..a335e8084 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -96,16 +96,18 @@ config = { "wopiValidatorTests": { "skip": False, }, - "k6LoadTests": { - "skip": True, - }, "localApiTests": { - "basic": { + "basic1": { + "suites": [ + "apiDownloads", + "apiDepthInfinity", + "apiLocks", + "apiActivities", + ], + "skip": False, + }, + "basic2": { "suites": [ - "apiArchiver", - "apiContract", - "apiCors", - "apiAsyncUpload", "apiDownloads", "apiDepthInfinity", "apiLocks", @@ -337,34 +339,42 @@ config = { }, }, "coreApiTests": { - "numberOfParts": 7, + "numberOfParts": 8, "skip": False, "skipExceptParts": [], "storages": ["posix"], }, "e2eTests": { - "part": { + "1": { "skip": False, - "totalParts": 4, # divide and run all suites in parts (divide pipelines) - # suites to skip - "xsuites": [ - "search", - "app-provider", - "app-provider-onlyOffice", - "app-store", - "keycloak", - "oidc", - "ocm", - "a11y", - "mobile-view", - "navigation", + "suites": [ + "journeys", + "smoke", ], }, - "search": { + "2": { "skip": False, - "suites": ["search"], # suites to run + "suites": [ + "admin-settings", + "spaces", + ], + }, + "3": { + "skip": False, + "suites": [ + "shares", + "search", + ], "tikaNeeded": True, }, + "4": { + "skip": False, + "suites": [ + "user-settings", + "file-action", + "embed", + ], + }, }, "e2eMultiService": { "testSuites": { @@ -671,9 +681,6 @@ def testPipelines(ctx): pipelines += e2eTestPipeline(ctx) pipelines += multiServiceE2ePipeline(ctx) - if ("skip" not in config["k6LoadTests"] or not config["k6LoadTests"]["skip"]) and ("k6-test" in ctx.build.title.lower() or ctx.build.event == "cron"): - pipelines += pipelineDependsOn(k6LoadTests(ctx), savePipelineNumber(ctx)) - return pipelines def getGoBinForTesting(ctx): @@ -1425,8 +1432,6 @@ def e2eTestPipeline(ctx): defaults = { "skip": False, "suites": [], - "xsuites": [], - "totalParts": 0, "tikaNeeded": False, "reportTracing": False, "enableWatchFs": [False], @@ -1452,11 +1457,8 @@ def e2eTestPipeline(ctx): pipelines = [] - if "skip-e2e" in ctx.build.title.lower(): - return pipelines - - if ctx.build.event == "tag": - return pipelines + if "skip-e2e" in ctx.build.title.lower() or ctx.build.event == "tag": + return [] for name, suite in config["e2eTests"].items(): if "skip" in suite and suite["skip"]: @@ -1472,22 +1474,14 @@ def e2eTestPipeline(ctx): if "[decomposed]" in ctx.build.title.lower(): params["storages"] = ["decomposed"] - e2e_args = "" - if params["totalParts"] > 0: - e2e_args = "--total-parts %d" % params["totalParts"] - elif params["suites"]: - e2e_args = "--suites %s" % ",".join(params["suites"]) - - # suites to skip - if params["xsuites"]: - e2e_args += " --xsuites %s" % ",".join(params["xsuites"]) + e2e_args = "--suites %s" % ",".join(params["suites"]) if params["suites"] else "" if "with-tracing" in ctx.build.title.lower(): params["reportTracing"] = True for storage in params["storages"]: for watch_fs_enabled in params["enableWatchFs"]: - steps_before = \ + steps = \ skipCheckStep(ctx, "e2e-tests") + \ evaluateWorkflowStep() + \ restoreBuildArtifactCache(ctx, dirs["opencloudBinArtifact"], dirs["opencloudBin"]) + \ @@ -1500,62 +1494,40 @@ def e2eTestPipeline(ctx): extra_server_environment = extra_server_environment, tika_enabled = params["tikaNeeded"], watch_fs_enabled = watch_fs_enabled, - ) - - step_e2e = { - "name": "e2e-tests", - "image": OC_CI_NODEJS, - "environment": { - "OC_BASE_URL": OC_DOMAIN, - "HEADLESS": True, - "RETRY": "1", - "WEB_UI_CONFIG_FILE": "%s/%s" % (dirs["base"], dirs["opencloudConfig"]), - "LOCAL_UPLOAD_DIR": "/uploads", - "PLAYWRIGHT_BROWSERS_PATH": "%s/%s" % (dirs["base"], ".playwright"), - "BROWSER": "chromium", - "REPORT_TRACING": params["reportTracing"], - "SLOW_MO": "500", - }, - "commands": [ - "cd %s/tests/e2e" % dirs["web"], - ], - } - - steps_after = uploadTracingResult(ctx) - - if params["totalParts"]: - for index in range(params["totalParts"]): - run_part = index + 1 - run_e2e = {} - run_e2e.update(step_e2e) - run_e2e["commands"] = [ + ) + \ + [{ + "name": "e2e-tests", + "image": OC_CI_NODEJS, + "environment": { + "OC_BASE_URL": OC_DOMAIN, + "HEADLESS": True, + "RETRY": "1", + "WEB_UI_CONFIG_FILE": "%s/%s" % (dirs["base"], dirs["opencloudConfig"]), + "LOCAL_UPLOAD_DIR": "/uploads", + "PLAYWRIGHT_BROWSERS_PATH": "%s/%s" % (dirs["base"], ".playwright"), + "BROWSER": "chromium", + "REPORT_TRACING": params["reportTracing"], + "SLOW_MO": "300", + }, + "commands": [ "cd %s/tests/e2e" % dirs["web"], - "bash run-e2e.sh %s --run-part %d" % (e2e_args, run_part), - ] - pipeline = { - "name": "test-e2e-%s-%s-%s%s" % (name, run_part, storage, "-watchfs" if watch_fs_enabled else ""), - "steps": steps_before + [run_e2e] + steps_after, - "depends_on": getPipelineNames(buildOpencloudBinaryForTesting(ctx) + buildWebCache(ctx)), - "when": e2e_trigger, - } - prefixStepCommands(pipeline, [ - ". ./.woodpecker.env", - '[ "$SKIP_WORKFLOW" = "true" ] && exit 0', - ]) - pipelines.append(pipeline) - else: - step_e2e["commands"].append("bash run-e2e.sh %s" % e2e_args) - pipeline = { - "name": "test-e2e-%s-%s%s" % (name, storage, "-watchfs" if watch_fs_enabled else ""), - "steps": steps_before + [step_e2e] + steps_after, - "depends_on": getPipelineNames(buildOpencloudBinaryForTesting(ctx) + buildWebCache(ctx)), - "when": e2e_trigger, - } - prefixStepCommands(pipeline, [ - ". ./.woodpecker.env", - '[ "$SKIP_WORKFLOW" = "true" ] && exit 0', - ]) - pipelines.append(pipeline) + "bash run-e2e.sh %s" % e2e_args, + ], + }] + \ + uploadTracingResult(ctx) + + pipeline = { + "name": "test-e2e-%s-%s%s" % (name, storage, "-watchfs" if watch_fs_enabled else ""), + "steps": steps, + "depends_on": getPipelineNames(buildOpencloudBinaryForTesting(ctx) + buildWebCache(ctx)), + "when": e2e_trigger, + } + prefixStepCommands(pipeline, [ + ". ./.woodpecker.env", + '[ "$SKIP_WORKFLOW" = "true" ] && exit 0', + ]) + pipelines.append(pipeline) + return pipelines def multiServiceE2ePipeline(ctx): @@ -3297,102 +3269,6 @@ def logRequests(): }, }] -def k6LoadTests(ctx): - opencloud_remote_environment = { - "SSH_OC_REMOTE": { - "from_secret": "k6_ssh_opencloud_remote", - }, - "SSH_OC_USERNAME": { - "from_secret": "k6_ssh_opencloud_user", - }, - "SSH_OC_PASSWORD": { - "from_secret": "k6_ssh_opencloud_pass", - }, - "TEST_SERVER_URL": { - "from_secret": "k6_ssh_opencloud_server_url", - }, - } - k6_remote_environment = { - "SSH_K6_REMOTE": { - "from_secret": "k6_ssh_k6_remote", - }, - "SSH_K6_USERNAME": { - "from_secret": "k6_ssh_k6_user", - }, - "SSH_K6_PASSWORD": { - "from_secret": "k6_ssh_k6_pass", - }, - } - environment = {} - environment.update(opencloud_remote_environment) - environment.update(k6_remote_environment) - - if "skip" in config["k6LoadTests"] and config["k6LoadTests"]["skip"]: - return [] - - opencloud_git_base_url = "https://raw.githubusercontent.com/%s" % repo_slug - script_link = "%s/%s/tests/config/woodpecker/run_k6_tests.sh" % (opencloud_git_base_url, ctx.build.commit) - - event_array = ["cron"] - - if "k6-test" in ctx.build.title.lower(): - event_array.append("pull_request") - - pipeline = { - "name": "test-k6-load", - "skip_clone": True, - "steps": evaluateWorkflowStep() + [ - { - "name": "k6-load-test", - "image": OC_CI_ALPINE, - "environment": environment, - "commands": [ - "curl -s -o run_k6_tests.sh %s" % script_link, - "apk add --no-cache openssh-client sshpass", - "sh %s/run_k6_tests.sh" % (dirs["base"]), - ], - }, - { - "name": "opencloud-log", - "image": OC_CI_ALPINE, - "environment": opencloud_remote_environment, - "commands": [ - "curl -s -o run_k6_tests.sh %s" % script_link, - "apk add --no-cache openssh-client sshpass", - "sh %s/run_k6_tests.sh --opencloud-log" % (dirs["base"]), - ], - "when": [ - { - "status": ["success", "failure"], - }, - ], - }, - { - "name": "open-grafana-dashboard", - "image": OC_CI_ALPINE, - "commands": [ - "echo 'Grafana Dashboard: https://grafana.k6.infra.owncloud.works'", - ], - "when": [ - { - "status": ["success", "failure"], - }, - ], - }, - ], - "depends_on": [], - "when": [ - { - "event": event_array, - }, - ], - } - prefixStepCommands(pipeline, [ - ". ./.woodpecker.env", - '[ "$SKIP_WORKFLOW" = "true" ] && exit 0', - ]) - return [pipeline] - def waitForServices(name, services = []): commands = [] diff --git a/tests/acceptance/config/behat.yml b/tests/acceptance/config/behat.yml index 2aa3c15ad..fcad46cd5 100644 --- a/tests/acceptance/config/behat.yml +++ b/tests/acceptance/config/behat.yml @@ -760,6 +760,15 @@ default: - SharingNgContext: - WebDavPropertiesContext: - OcConfigContext: + + coreApiWebdavCopyCreate: + paths: + - "%paths.base%/../features/coreApiWebdavCopyCreate" + context: *common_ldap_suite_context + contexts: + - FeatureContext: *common_feature_context_params + - SharingNgContext: + - OcConfigContext: extensions: rdx\behatvars\BehatVariablesExtension: ~ diff --git a/tests/acceptance/expected-failures-decomposed-storage.md b/tests/acceptance/expected-failures-decomposed-storage.md index eb1fee7fe..c275cd009 100644 --- a/tests/acceptance/expected-failures-decomposed-storage.md +++ b/tests/acceptance/expected-failures-decomposed-storage.md @@ -322,9 +322,9 @@ _ocdav: api compatibility, return correct status code_ #### [COPY file/folder to same name is possible (but 500 code error for folder with spaces path)](https://github.com/owncloud/ocis/issues/8711) - [coreApiSharePublicLink2/copyFromPublicLink.feature:198](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiSharePublicLink2/copyFromPublicLink.feature#L198) -- [coreApiWebdavProperties/copyFile.feature:1094](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/copyFile.feature#L1094) -- [coreApiWebdavProperties/copyFile.feature:1095](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/copyFile.feature#L1095) -- [coreApiWebdavProperties/copyFile.feature:1096](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/copyFile.feature#L1096) +- [coreApiWebdavCopyCreate/copyFile.feature:1094](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1094) +- [coreApiWebdavCopyCreate/copyFile.feature:1095](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1095) +- [coreApiWebdavCopyCreate/copyFile.feature:1096](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1096) #### [Trying to restore personal file to file of share received folder returns 403 but the share file is deleted (new dav path)](https://github.com/owncloud/ocis/issues/10356) diff --git a/tests/acceptance/expected-failures-posix-storage.md b/tests/acceptance/expected-failures-posix-storage.md index a8c71b236..5bce2f1e9 100644 --- a/tests/acceptance/expected-failures-posix-storage.md +++ b/tests/acceptance/expected-failures-posix-storage.md @@ -325,9 +325,9 @@ _ocdav: api compatibility, return correct status code_ #### [COPY file/folder to same name is possible (but 500 code error for folder with spaces path)](https://github.com/owncloud/ocis/issues/8711) - [coreApiSharePublicLink2/copyFromPublicLink.feature:198](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiSharePublicLink2/copyFromPublicLink.feature#L198) -- [coreApiWebdavProperties/copyFile.feature:1094](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/copyFile.feature#L1094) -- [coreApiWebdavProperties/copyFile.feature:1095](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/copyFile.feature#L1095) -- [coreApiWebdavProperties/copyFile.feature:1096](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/copyFile.feature#L1096) +- [coreApiWebdavCopyCreate/copyFile.feature:1094](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1094) +- [coreApiWebdavCopyCreate/copyFile.feature:1095](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1095) +- [coreApiWebdavCopyCreate/copyFile.feature:1096](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature#L1096) #### [Trying to restore personal file to file of share received folder returns 403 but the share file is deleted (new dav path)](https://github.com/owncloud/ocis/issues/10356) diff --git a/tests/acceptance/expected-failures-without-remotephp.md b/tests/acceptance/expected-failures-without-remotephp.md index a3bcf868c..cc643b6f4 100644 --- a/tests/acceptance/expected-failures-without-remotephp.md +++ b/tests/acceptance/expected-failures-without-remotephp.md @@ -357,10 +357,10 @@ #### [Trying to create .. resource with /webdav root (old dav path) without remote.php returns html](https://github.com/owncloud/ocis/issues/10339) -- [coreApiWebdavProperties/createFileFolder.feature:176](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/createFileFolder.feature#L176) -- [coreApiWebdavProperties/createFileFolder.feature:177](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/createFileFolder.feature#L177) -- [coreApiWebdavProperties/createFileFolder.feature:196](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/createFileFolder.feature#L196) -- [coreApiWebdavProperties/createFileFolder.feature:197](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavProperties/createFileFolder.feature#L197) +- [coreApiWebdavCopyCreate/createFileFolder.feature:176](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature#L176) +- [coreApiWebdavCopyCreate/createFileFolder.feature:177](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature#L177) +- [coreApiWebdavCopyCreate/createFileFolder.feature:196](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature#L196) +- [coreApiWebdavCopyCreate/createFileFolder.feature:197](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature#L197) Note: always have an empty line at the end of this file. The bash script that processes this file requires that the last line has a newline on the end. diff --git a/tests/acceptance/features/coreApiWebdavProperties/copyFile.feature b/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature similarity index 100% rename from tests/acceptance/features/coreApiWebdavProperties/copyFile.feature rename to tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature diff --git a/tests/acceptance/features/coreApiWebdavProperties/createFileFolder.feature b/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature similarity index 100% rename from tests/acceptance/features/coreApiWebdavProperties/createFileFolder.feature rename to tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature diff --git a/tests/acceptance/features/coreApiWebdavProperties/createFileFolderWhenSharesExist.feature b/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolderWhenSharesExist.feature similarity index 100% rename from tests/acceptance/features/coreApiWebdavProperties/createFileFolderWhenSharesExist.feature rename to tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolderWhenSharesExist.feature From fcd3c9908242f102715c34e88e8cb54c8e097755 Mon Sep 17 00:00:00 2001 From: opencloudeu Date: Fri, 1 May 2026 00:02:58 +0000 Subject: [PATCH 09/18] [tx] updated from transifex --- .../userlog/pkg/service/l10n/locale/nl/LC_MESSAGES/userlog.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/userlog/pkg/service/l10n/locale/nl/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/nl/LC_MESSAGES/userlog.po index 1cd518973..8527c6e64 100644 --- a/services/userlog/pkg/service/l10n/locale/nl/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/nl/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-17 00:03+0000\n" +"POT-Creation-Date: 2026-05-01 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Stephan Paternotte , 2026\n" "Language-Team: Dutch (https://app.transifex.com/opencloud-eu/teams/204053/nl/)\n" @@ -61,7 +61,7 @@ msgstr "Hulpbron gedeeld" #: pkg/service/templates.go:48 msgid "Resource unshared" -msgstr "Hulpbron niet gedeeld" +msgstr "Delen van hulpbron beëindigd" #: pkg/service/templates.go:53 msgid "Share expired" From 3e5f3844adf0cb74de493a4e30cc96d252eb5974 Mon Sep 17 00:00:00 2001 From: opencloudeu Date: Sat, 2 May 2026 00:03:02 +0000 Subject: [PATCH 10/18] [tx] updated from transifex --- services/graph/pkg/l10n/locale/de/LC_MESSAGES/graph.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/graph/pkg/l10n/locale/de/LC_MESSAGES/graph.po b/services/graph/pkg/l10n/locale/de/LC_MESSAGES/graph.po index 32a60a899..db236b6bc 100644 --- a/services/graph/pkg/l10n/locale/de/LC_MESSAGES/graph.po +++ b/services/graph/pkg/l10n/locale/de/LC_MESSAGES/graph.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-19 00:04+0000\n" +"POT-Creation-Date: 2026-05-02 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Jannick Kuhr, 2026\n" "Language-Team: German (https://app.transifex.com/opencloud-eu/teams/204053/de/)\n" @@ -136,4 +136,4 @@ msgstr "" msgid "View, download, upload, edit, add, delete including the history." msgstr "" "Ansehen, herunterladen, hochladen, bearbeiten, hinzufügen, löschen - " -"inklusive der Historie." +"inklusive des Verlaufs." From ab67a8eff973023f254fcffcdda14f73248fe044 Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Sun, 3 May 2026 21:28:04 +0200 Subject: [PATCH 11/18] fix: skip cache steps when SKIP_WORKFLOW is true (#2634) --- .woodpecker.star | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.woodpecker.star b/.woodpecker.star index a335e8084..d0d65ceb9 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -893,8 +893,7 @@ def scanOpencloud(ctx): def buildOpencloudBinaryForTesting(ctx): pipeline = { "name": "build-opencloud-for-testing", - "steps": skipCheckStep(ctx, "base") + - makeNodeGenerate("") + + "steps": makeNodeGenerate("") + makeGoGenerate("") + build() + rebuildBuildArtifactCache(ctx, dirs["opencloudBinArtifact"], dirs["opencloudBinPath"]), @@ -905,10 +904,6 @@ def buildOpencloudBinaryForTesting(ctx): ], "workspace": workspace, } - prefixStepCommands(pipeline, [ - ". ./.woodpecker.env", - '[ "$SKIP_WORKFLOW" = "true" ] && exit 0', - ]) return [pipeline] def vendorbinCodestyle(phpVersion): From d16b6d212d10abbffa2c96e0bd79099d2eb760e1 Mon Sep 17 00:00:00 2001 From: opencloudeu Date: Mon, 4 May 2026 07:47:53 +0000 Subject: [PATCH 12/18] [tx] updated from transifex --- .../pkg/service/l10n/locale/hu/LC_MESSAGES/activitylog.po | 2 +- .../pkg/email/l10n/locale/hu/LC_MESSAGES/notifications.po | 2 +- .../pkg/service/v0/l10n/locale/hu/LC_MESSAGES/settings.po | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/activitylog/pkg/service/l10n/locale/hu/LC_MESSAGES/activitylog.po b/services/activitylog/pkg/service/l10n/locale/hu/LC_MESSAGES/activitylog.po index 55dc48d1e..e8240e69f 100644 --- a/services/activitylog/pkg/service/l10n/locale/hu/LC_MESSAGES/activitylog.po +++ b/services/activitylog/pkg/service/l10n/locale/hu/LC_MESSAGES/activitylog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-12 00:04+0000\n" +"POT-Creation-Date: 2026-05-04 07:46+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: mitibor, 2026\n" "Language-Team: Hungarian (https://app.transifex.com/opencloud-eu/teams/204053/hu/)\n" diff --git a/services/notifications/pkg/email/l10n/locale/hu/LC_MESSAGES/notifications.po b/services/notifications/pkg/email/l10n/locale/hu/LC_MESSAGES/notifications.po index 407369e6c..ac204c36e 100644 --- a/services/notifications/pkg/email/l10n/locale/hu/LC_MESSAGES/notifications.po +++ b/services/notifications/pkg/email/l10n/locale/hu/LC_MESSAGES/notifications.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-12 00:04+0000\n" +"POT-Creation-Date: 2026-05-04 07:46+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: mitibor, 2026\n" "Language-Team: Hungarian (https://app.transifex.com/opencloud-eu/teams/204053/hu/)\n" diff --git a/services/settings/pkg/service/v0/l10n/locale/hu/LC_MESSAGES/settings.po b/services/settings/pkg/service/v0/l10n/locale/hu/LC_MESSAGES/settings.po index 5afa91c5f..985c41d0f 100644 --- a/services/settings/pkg/service/v0/l10n/locale/hu/LC_MESSAGES/settings.po +++ b/services/settings/pkg/service/v0/l10n/locale/hu/LC_MESSAGES/settings.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-12 00:04+0000\n" +"POT-Creation-Date: 2026-05-04 07:46+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: mitibor, 2026\n" "Language-Team: Hungarian (https://app.transifex.com/opencloud-eu/teams/204053/hu/)\n" From 6dfb0e0200d532456e785822d65d4f0ed5dd3e7a Mon Sep 17 00:00:00 2001 From: opencloudeu Date: Wed, 6 May 2026 00:02:20 +0000 Subject: [PATCH 13/18] [tx] updated from transifex --- .../pkg/service/l10n/locale/pt/LC_MESSAGES/activitylog.po | 2 +- services/graph/pkg/l10n/locale/nl/LC_MESSAGES/graph.po | 2 +- services/graph/pkg/l10n/locale/pl/LC_MESSAGES/graph.po | 2 +- services/graph/pkg/l10n/locale/pt/LC_MESSAGES/graph.po | 2 +- services/graph/pkg/l10n/locale/ru/LC_MESSAGES/graph.po | 2 +- .../pkg/email/l10n/locale/es/LC_MESSAGES/notifications.po | 2 +- .../pkg/email/l10n/locale/nl/LC_MESSAGES/notifications.po | 2 +- .../pkg/email/l10n/locale/pt/LC_MESSAGES/notifications.po | 2 +- .../pkg/email/l10n/locale/ru/LC_MESSAGES/notifications.po | 2 +- .../pkg/service/v0/l10n/locale/id/LC_MESSAGES/settings.po | 2 +- .../pkg/service/v0/l10n/locale/pl/LC_MESSAGES/settings.po | 2 +- .../pkg/service/v0/l10n/locale/pt/LC_MESSAGES/settings.po | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/services/activitylog/pkg/service/l10n/locale/pt/LC_MESSAGES/activitylog.po b/services/activitylog/pkg/service/l10n/locale/pt/LC_MESSAGES/activitylog.po index f41f11302..75c4c81ec 100644 --- a/services/activitylog/pkg/service/l10n/locale/pt/LC_MESSAGES/activitylog.po +++ b/services/activitylog/pkg/service/l10n/locale/pt/LC_MESSAGES/activitylog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Mário Machado, 2025\n" "Language-Team: Portuguese (https://app.transifex.com/opencloud-eu/teams/204053/pt/)\n" diff --git a/services/graph/pkg/l10n/locale/nl/LC_MESSAGES/graph.po b/services/graph/pkg/l10n/locale/nl/LC_MESSAGES/graph.po index da6a990bc..52b0ffd81 100644 --- a/services/graph/pkg/l10n/locale/nl/LC_MESSAGES/graph.po +++ b/services/graph/pkg/l10n/locale/nl/LC_MESSAGES/graph.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Stephan Paternotte , 2025\n" "Language-Team: Dutch (https://app.transifex.com/opencloud-eu/teams/204053/nl/)\n" diff --git a/services/graph/pkg/l10n/locale/pl/LC_MESSAGES/graph.po b/services/graph/pkg/l10n/locale/pl/LC_MESSAGES/graph.po index 9da7ff91c..38a17c615 100644 --- a/services/graph/pkg/l10n/locale/pl/LC_MESSAGES/graph.po +++ b/services/graph/pkg/l10n/locale/pl/LC_MESSAGES/graph.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Radoslaw Posim, 2025\n" "Language-Team: Polish (https://app.transifex.com/opencloud-eu/teams/204053/pl/)\n" diff --git a/services/graph/pkg/l10n/locale/pt/LC_MESSAGES/graph.po b/services/graph/pkg/l10n/locale/pt/LC_MESSAGES/graph.po index e1080af27..a8a7d5a8e 100644 --- a/services/graph/pkg/l10n/locale/pt/LC_MESSAGES/graph.po +++ b/services/graph/pkg/l10n/locale/pt/LC_MESSAGES/graph.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Mário Machado, 2025\n" "Language-Team: Portuguese (https://app.transifex.com/opencloud-eu/teams/204053/pt/)\n" diff --git a/services/graph/pkg/l10n/locale/ru/LC_MESSAGES/graph.po b/services/graph/pkg/l10n/locale/ru/LC_MESSAGES/graph.po index e24a84e93..22b71b61b 100644 --- a/services/graph/pkg/l10n/locale/ru/LC_MESSAGES/graph.po +++ b/services/graph/pkg/l10n/locale/ru/LC_MESSAGES/graph.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Lulufox, 2025\n" "Language-Team: Russian (https://app.transifex.com/opencloud-eu/teams/204053/ru/)\n" diff --git a/services/notifications/pkg/email/l10n/locale/es/LC_MESSAGES/notifications.po b/services/notifications/pkg/email/l10n/locale/es/LC_MESSAGES/notifications.po index f1e85dcc7..bcbf9bd16 100644 --- a/services/notifications/pkg/email/l10n/locale/es/LC_MESSAGES/notifications.po +++ b/services/notifications/pkg/email/l10n/locale/es/LC_MESSAGES/notifications.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: miguel tapias, 2025\n" "Language-Team: Spanish (https://app.transifex.com/opencloud-eu/teams/204053/es/)\n" diff --git a/services/notifications/pkg/email/l10n/locale/nl/LC_MESSAGES/notifications.po b/services/notifications/pkg/email/l10n/locale/nl/LC_MESSAGES/notifications.po index ba01a998b..3cae67770 100644 --- a/services/notifications/pkg/email/l10n/locale/nl/LC_MESSAGES/notifications.po +++ b/services/notifications/pkg/email/l10n/locale/nl/LC_MESSAGES/notifications.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Stephan Paternotte , 2025\n" "Language-Team: Dutch (https://app.transifex.com/opencloud-eu/teams/204053/nl/)\n" diff --git a/services/notifications/pkg/email/l10n/locale/pt/LC_MESSAGES/notifications.po b/services/notifications/pkg/email/l10n/locale/pt/LC_MESSAGES/notifications.po index 0928dfd99..ba948a83b 100644 --- a/services/notifications/pkg/email/l10n/locale/pt/LC_MESSAGES/notifications.po +++ b/services/notifications/pkg/email/l10n/locale/pt/LC_MESSAGES/notifications.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Mário Machado, 2025\n" "Language-Team: Portuguese (https://app.transifex.com/opencloud-eu/teams/204053/pt/)\n" diff --git a/services/notifications/pkg/email/l10n/locale/ru/LC_MESSAGES/notifications.po b/services/notifications/pkg/email/l10n/locale/ru/LC_MESSAGES/notifications.po index 1493e8afc..454d0fe3f 100644 --- a/services/notifications/pkg/email/l10n/locale/ru/LC_MESSAGES/notifications.po +++ b/services/notifications/pkg/email/l10n/locale/ru/LC_MESSAGES/notifications.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Lulufox, 2025\n" "Language-Team: Russian (https://app.transifex.com/opencloud-eu/teams/204053/ru/)\n" diff --git a/services/settings/pkg/service/v0/l10n/locale/id/LC_MESSAGES/settings.po b/services/settings/pkg/service/v0/l10n/locale/id/LC_MESSAGES/settings.po index fa170f349..91326d612 100644 --- a/services/settings/pkg/service/v0/l10n/locale/id/LC_MESSAGES/settings.po +++ b/services/settings/pkg/service/v0/l10n/locale/id/LC_MESSAGES/settings.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: idoet , 2025\n" "Language-Team: Indonesian (https://app.transifex.com/opencloud-eu/teams/204053/id/)\n" diff --git a/services/settings/pkg/service/v0/l10n/locale/pl/LC_MESSAGES/settings.po b/services/settings/pkg/service/v0/l10n/locale/pl/LC_MESSAGES/settings.po index c84ef9c2d..0977e04f6 100644 --- a/services/settings/pkg/service/v0/l10n/locale/pl/LC_MESSAGES/settings.po +++ b/services/settings/pkg/service/v0/l10n/locale/pl/LC_MESSAGES/settings.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Radoslaw Posim, 2025\n" "Language-Team: Polish (https://app.transifex.com/opencloud-eu/teams/204053/pl/)\n" diff --git a/services/settings/pkg/service/v0/l10n/locale/pt/LC_MESSAGES/settings.po b/services/settings/pkg/service/v0/l10n/locale/pt/LC_MESSAGES/settings.po index cf6cb72ec..62820bfff 100644 --- a/services/settings/pkg/service/v0/l10n/locale/pt/LC_MESSAGES/settings.po +++ b/services/settings/pkg/service/v0/l10n/locale/pt/LC_MESSAGES/settings.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-15 00:03+0000\n" +"POT-Creation-Date: 2026-05-06 00:01+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Mário Machado, 2025\n" "Language-Team: Portuguese (https://app.transifex.com/opencloud-eu/teams/204053/pt/)\n" From bf5c95ef1ac994b3d92418b1522a4030c08f7921 Mon Sep 17 00:00:00 2001 From: Christian Richter Date: Wed, 29 Apr 2026 09:41:09 +0200 Subject: [PATCH 14/18] replace deprecationNotice by deprecationInfo Signed-off-by: Christian Richter --- services/storage-users/pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/storage-users/pkg/config/config.go b/services/storage-users/pkg/config/config.go index cae254dbf..b5aa33824 100644 --- a/services/storage-users/pkg/config/config.go +++ b/services/storage-users/pkg/config/config.go @@ -207,7 +207,7 @@ type PosixDriver struct { WatchFS bool `yaml:"watch_fs" env:"STORAGE_USERS_POSIX_WATCH_FS" desc:"Enable the filesystem watcher to detect changes to the filesystem. This is used to detect changes to the filesystem and update the metadata accordingly." introductionVersion:"2.0.0"` WatchType string `yaml:"watch_type" env:"STORAGE_USERS_POSIX_WATCH_TYPE" desc:"Type of the watcher to use for getting notified about changes to the filesystem. Currently available options are 'inotifywait' (default), 'cephfs', 'gpfswatchfolder' and 'gpfsfileauditlogging'." introductionVersion:"1.0.0"` WatchPath string `yaml:"watch_path" env:"STORAGE_USERS_POSIX_WATCH_PATH" desc:"Path to the watch directory/file. Only applies to the 'gpfsfileauditlogging' and 'inotifywait' watcher, in which case it is the path of the file audit log file/base directory to watch." introductionVersion:"1.0.0"` - WatchNotificationBrokers string `yaml:"watch_notification_brokers" env:"STORAGE_USERS_POSIX_WATCH_NOTIFICATION_BROKERS,STORAGE_USERS_POSIX_WATCH_FOLDER_KAFKA_BROKERS" desc:"Comma-separated list of kafka brokers to read the watchfolder events from." introductionVersion:"1.0.0" deprecationVersion:"4.0.0" deprecationNotice:"STORAGE_USERS_POSIX_WATCH_FOLDER_KAFKA_BROKERS is deprecated and will be removed in a future version. Please use STORAGE_USERS_POSIX_WATCH_NOTIFICATION_BROKERS instead."` + WatchNotificationBrokers string `yaml:"watch_notification_brokers" env:"STORAGE_USERS_POSIX_WATCH_NOTIFICATION_BROKERS,STORAGE_USERS_POSIX_WATCH_FOLDER_KAFKA_BROKERS" desc:"Comma-separated list of kafka brokers to read the watchfolder events from." introductionVersion:"1.0.0" deprecationVersion:"4.0.0" deprecationInfo:"STORAGE_USERS_POSIX_WATCH_FOLDER_KAFKA_BROKERS is deprecated and will be removed in a future version. Please use STORAGE_USERS_POSIX_WATCH_NOTIFICATION_BROKERS instead."` WatchRoot string `yaml:"watch_root" env:"STORAGE_USERS_POSIX_WATCH_ROOT" desc:"Path to the watch root directory. Event paths will be considered relative to this path. Only applies to the 'gpswatchfolder' and 'cephfs' watchers." introductionVersion:"4.0.0"` InotifyStatsFrequency time.Duration `yaml:"inotify_stats_frequency" env:"STORAGE_USERS_POSIX_INOTIFY_STATS_FREQUENCY" desc:"Frequency to log inotify stats." introductionVersion:"4.0.0"` } From 1fd7537c49508c8e20be46656963117414611b22 Mon Sep 17 00:00:00 2001 From: opencloudeu Date: Thu, 7 May 2026 00:03:56 +0000 Subject: [PATCH 15/18] [tx] updated from transifex --- .../pkg/email/l10n/locale/fi/LC_MESSAGES/notifications.po | 2 +- .../pkg/service/v0/l10n/locale/fi/LC_MESSAGES/settings.po | 2 +- .../userlog/pkg/service/l10n/locale/ca/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/es/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/hu/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/it/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/ja/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/ko/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/pl/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/pt/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/sv/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/zh/LC_MESSAGES/userlog.po | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/services/notifications/pkg/email/l10n/locale/fi/LC_MESSAGES/notifications.po b/services/notifications/pkg/email/l10n/locale/fi/LC_MESSAGES/notifications.po index b26f319e4..67946c383 100644 --- a/services/notifications/pkg/email/l10n/locale/fi/LC_MESSAGES/notifications.po +++ b/services/notifications/pkg/email/l10n/locale/fi/LC_MESSAGES/notifications.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Jiri Grönroos , 2025\n" "Language-Team: Finnish (https://app.transifex.com/opencloud-eu/teams/204053/fi/)\n" diff --git a/services/settings/pkg/service/v0/l10n/locale/fi/LC_MESSAGES/settings.po b/services/settings/pkg/service/v0/l10n/locale/fi/LC_MESSAGES/settings.po index b236ab217..4a0bd8398 100644 --- a/services/settings/pkg/service/v0/l10n/locale/fi/LC_MESSAGES/settings.po +++ b/services/settings/pkg/service/v0/l10n/locale/fi/LC_MESSAGES/settings.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Jiri Grönroos , 2025\n" "Language-Team: Finnish (https://app.transifex.com/opencloud-eu/teams/204053/fi/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/ca/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/ca/LC_MESSAGES/userlog.po index 7ede9ebe8..915048376 100644 --- a/services/userlog/pkg/service/l10n/locale/ca/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/ca/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Ivan Fustero, 2025\n" "Language-Team: Catalan (https://app.transifex.com/opencloud-eu/teams/204053/ca/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/es/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/es/LC_MESSAGES/userlog.po index 9bdab023d..8ce977c9d 100644 --- a/services/userlog/pkg/service/l10n/locale/es/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/es/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Elías Martín, 2025\n" "Language-Team: Spanish (https://app.transifex.com/opencloud-eu/teams/204053/es/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/hu/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/hu/LC_MESSAGES/userlog.po index 9b9cdf213..90c4760d7 100644 --- a/services/userlog/pkg/service/l10n/locale/hu/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/hu/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: mitibor, 2026\n" "Language-Team: Hungarian (https://app.transifex.com/opencloud-eu/teams/204053/hu/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/it/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/it/LC_MESSAGES/userlog.po index bf5eab459..b396cb5b8 100644 --- a/services/userlog/pkg/service/l10n/locale/it/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/it/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Simone Broglia, 2025\n" "Language-Team: Italian (https://app.transifex.com/opencloud-eu/teams/204053/it/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/ja/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/ja/LC_MESSAGES/userlog.po index 3db59497b..d9af70859 100644 --- a/services/userlog/pkg/service/l10n/locale/ja/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/ja/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: iikaka88, 2025\n" "Language-Team: Japanese (https://app.transifex.com/opencloud-eu/teams/204053/ja/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/ko/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/ko/LC_MESSAGES/userlog.po index d13bd2673..14fe50857 100644 --- a/services/userlog/pkg/service/l10n/locale/ko/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/ko/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: gapho shin, 2025\n" "Language-Team: Korean (https://app.transifex.com/opencloud-eu/teams/204053/ko/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/pl/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/pl/LC_MESSAGES/userlog.po index 83f450801..fcdb05ff8 100644 --- a/services/userlog/pkg/service/l10n/locale/pl/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/pl/LC_MESSAGES/userlog.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Radoslaw Posim, 2025\n" "Language-Team: Polish (https://app.transifex.com/opencloud-eu/teams/204053/pl/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/pt/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/pt/LC_MESSAGES/userlog.po index 783e92c4a..ae63a9eb3 100644 --- a/services/userlog/pkg/service/l10n/locale/pt/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/pt/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Mário Machado, 2025\n" "Language-Team: Portuguese (https://app.transifex.com/opencloud-eu/teams/204053/pt/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/sv/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/sv/LC_MESSAGES/userlog.po index bcf7118dc..5490458dc 100644 --- a/services/userlog/pkg/service/l10n/locale/sv/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/sv/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Daniel Nylander , 2025\n" "Language-Team: Swedish (https://app.transifex.com/opencloud-eu/teams/204053/sv/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/zh/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/zh/LC_MESSAGES/userlog.po index 459517996..54785ef57 100644 --- a/services/userlog/pkg/service/l10n/locale/zh/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/zh/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-16 00:03+0000\n" +"POT-Creation-Date: 2026-05-07 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: YQS Yang, 2025\n" "Language-Team: Chinese (https://app.transifex.com/opencloud-eu/teams/204053/zh/)\n" From e246d6d6136960fae9f016d8c440cf61af387f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Thu, 7 May 2026 08:27:27 +0200 Subject: [PATCH 16/18] Make the ScanFS option configurable via env var --- services/storage-users/pkg/config/config.go | 1 + services/storage-users/pkg/config/defaults/defaultconfig.go | 1 + services/storage-users/pkg/revaconfig/user.go | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/services/storage-users/pkg/config/config.go b/services/storage-users/pkg/config/config.go index b5aa33824..ca2265094 100644 --- a/services/storage-users/pkg/config/config.go +++ b/services/storage-users/pkg/config/config.go @@ -204,6 +204,7 @@ type PosixDriver struct { EnableFSRevisions bool `yaml:"enable_fs_revisions" env:"STORAGE_USERS_POSIX_ENABLE_FS_REVISIONS" desc:"Allow for generating revisions from changes done to the local storage. Note: This doubles the number of bytes stored on disk because a copy of the current revision is stored to be turned into a revision later." introductionVersion:"1.0.0"` + ScanFS bool `yaml:"scan_fs" env:"STORAGE_USERS_POSIX_SCAN_FS" desc:"Scan the filesystem at startup for changes and update the metadata accordingly." introductionVersion:"%%NEXT%%"` WatchFS bool `yaml:"watch_fs" env:"STORAGE_USERS_POSIX_WATCH_FS" desc:"Enable the filesystem watcher to detect changes to the filesystem. This is used to detect changes to the filesystem and update the metadata accordingly." introductionVersion:"2.0.0"` WatchType string `yaml:"watch_type" env:"STORAGE_USERS_POSIX_WATCH_TYPE" desc:"Type of the watcher to use for getting notified about changes to the filesystem. Currently available options are 'inotifywait' (default), 'cephfs', 'gpfswatchfolder' and 'gpfsfileauditlogging'." introductionVersion:"1.0.0"` WatchPath string `yaml:"watch_path" env:"STORAGE_USERS_POSIX_WATCH_PATH" desc:"Path to the watch directory/file. Only applies to the 'gpfsfileauditlogging' and 'inotifywait' watcher, in which case it is the path of the file audit log file/base directory to watch." introductionVersion:"1.0.0"` diff --git a/services/storage-users/pkg/config/defaults/defaultconfig.go b/services/storage-users/pkg/config/defaults/defaultconfig.go index 541d56d20..cf015f275 100644 --- a/services/storage-users/pkg/config/defaults/defaultconfig.go +++ b/services/storage-users/pkg/config/defaults/defaultconfig.go @@ -151,6 +151,7 @@ func DefaultConfig() *config.Config { PermissionsEndpoint: "eu.opencloud.api.settings", AsyncUploads: true, ScanDebounceDelay: 1 * time.Second, + ScanFS: true, WatchFS: false, EnableFSRevisions: false, InotifyStatsFrequency: 5 * time.Minute, diff --git a/services/storage-users/pkg/revaconfig/user.go b/services/storage-users/pkg/revaconfig/user.go index 8f3668f43..8ec5dd6b7 100644 --- a/services/storage-users/pkg/revaconfig/user.go +++ b/services/storage-users/pkg/revaconfig/user.go @@ -15,7 +15,7 @@ func StorageProviderDrivers(cfg *config.Config) map[string]any { "owncloudsql": OwnCloudSQL(cfg), "decomposed": DecomposedNoEvents(cfg), "decomposeds3": DecomposedS3NoEvents(cfg), - "posix": Posix(cfg, true, cfg.Drivers.Posix.WatchFS), + "posix": Posix(cfg, cfg.Drivers.Posix.ScanFS, cfg.Drivers.Posix.WatchFS), "ocis": Decomposed(cfg), // deprecated: use decomposed "s3ng": DecomposedS3NoEvents(cfg), // deprecated: use decomposeds3 From e60d86cf2c4b36e1a921782c83f428cf944f8675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Thu, 7 May 2026 21:41:26 +0200 Subject: [PATCH 17/18] Use time.Hour where appropriate --- services/storage-system/pkg/config/defaults/defaultconfig.go | 2 +- services/storage-users/pkg/config/defaults/defaultconfig.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/storage-system/pkg/config/defaults/defaultconfig.go b/services/storage-system/pkg/config/defaults/defaultconfig.go index 4fdcb568e..52b13ac05 100644 --- a/services/storage-system/pkg/config/defaults/defaultconfig.go +++ b/services/storage-system/pkg/config/defaults/defaultconfig.go @@ -54,7 +54,7 @@ func DefaultConfig() *config.Config { Store: "memory", Nodes: []string{"127.0.0.1:9233"}, Database: "storage-system", - TTL: 24 * 60 * 60 * time.Second, + TTL: 24 * time.Hour, }, } } diff --git a/services/storage-users/pkg/config/defaults/defaultconfig.go b/services/storage-users/pkg/config/defaults/defaultconfig.go index 5e777f60f..5ed886023 100644 --- a/services/storage-users/pkg/config/defaults/defaultconfig.go +++ b/services/storage-users/pkg/config/defaults/defaultconfig.go @@ -165,7 +165,7 @@ func DefaultConfig() *config.Config { Store: "memory", Nodes: []string{"127.0.0.1:9233"}, Database: "storage-users", - TTL: 24 * 60 * 60 * time.Second, + TTL: 24 * time.Hour, }, IDCache: config.IDCache{ Store: "nats-js-kv", From 66bdbb7b2227ddd72164d49520ddcc152ca35614 Mon Sep 17 00:00:00 2001 From: opencloudeu Date: Fri, 8 May 2026 00:04:00 +0000 Subject: [PATCH 18/18] [tx] updated from transifex --- .../pkg/service/l10n/locale/fi/LC_MESSAGES/activitylog.po | 2 +- services/graph/pkg/l10n/locale/fi/LC_MESSAGES/graph.po | 2 +- services/graph/pkg/l10n/locale/uk/LC_MESSAGES/graph.po | 2 +- .../pkg/service/v0/l10n/locale/uk/LC_MESSAGES/settings.po | 2 +- .../userlog/pkg/service/l10n/locale/de/LC_MESSAGES/userlog.po | 2 +- .../userlog/pkg/service/l10n/locale/el/LC_MESSAGES/userlog.po | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/activitylog/pkg/service/l10n/locale/fi/LC_MESSAGES/activitylog.po b/services/activitylog/pkg/service/l10n/locale/fi/LC_MESSAGES/activitylog.po index 55a76dac0..36e9aa106 100644 --- a/services/activitylog/pkg/service/l10n/locale/fi/LC_MESSAGES/activitylog.po +++ b/services/activitylog/pkg/service/l10n/locale/fi/LC_MESSAGES/activitylog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-17 00:03+0000\n" +"POT-Creation-Date: 2026-05-08 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Jiri Grönroos , 2025\n" "Language-Team: Finnish (https://app.transifex.com/opencloud-eu/teams/204053/fi/)\n" diff --git a/services/graph/pkg/l10n/locale/fi/LC_MESSAGES/graph.po b/services/graph/pkg/l10n/locale/fi/LC_MESSAGES/graph.po index 380798dbb..d703fec9a 100644 --- a/services/graph/pkg/l10n/locale/fi/LC_MESSAGES/graph.po +++ b/services/graph/pkg/l10n/locale/fi/LC_MESSAGES/graph.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-17 00:03+0000\n" +"POT-Creation-Date: 2026-05-08 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Jiri Grönroos , 2025\n" "Language-Team: Finnish (https://app.transifex.com/opencloud-eu/teams/204053/fi/)\n" diff --git a/services/graph/pkg/l10n/locale/uk/LC_MESSAGES/graph.po b/services/graph/pkg/l10n/locale/uk/LC_MESSAGES/graph.po index 1b91db456..bda2fd158 100644 --- a/services/graph/pkg/l10n/locale/uk/LC_MESSAGES/graph.po +++ b/services/graph/pkg/l10n/locale/uk/LC_MESSAGES/graph.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-17 00:03+0000\n" +"POT-Creation-Date: 2026-05-08 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: LinkinWires , 2025\n" "Language-Team: Ukrainian (https://app.transifex.com/opencloud-eu/teams/204053/uk/)\n" diff --git a/services/settings/pkg/service/v0/l10n/locale/uk/LC_MESSAGES/settings.po b/services/settings/pkg/service/v0/l10n/locale/uk/LC_MESSAGES/settings.po index 55434c63e..abb877aed 100644 --- a/services/settings/pkg/service/v0/l10n/locale/uk/LC_MESSAGES/settings.po +++ b/services/settings/pkg/service/v0/l10n/locale/uk/LC_MESSAGES/settings.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-17 00:03+0000\n" +"POT-Creation-Date: 2026-05-08 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: LinkinWires , 2025\n" "Language-Team: Ukrainian (https://app.transifex.com/opencloud-eu/teams/204053/uk/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/de/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/de/LC_MESSAGES/userlog.po index 8bea574b5..ef424fcc2 100644 --- a/services/userlog/pkg/service/l10n/locale/de/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/de/LC_MESSAGES/userlog.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-17 00:03+0000\n" +"POT-Creation-Date: 2026-05-08 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Christian Richter, 2026\n" "Language-Team: German (https://app.transifex.com/opencloud-eu/teams/204053/de/)\n" diff --git a/services/userlog/pkg/service/l10n/locale/el/LC_MESSAGES/userlog.po b/services/userlog/pkg/service/l10n/locale/el/LC_MESSAGES/userlog.po index 96af60eca..9c996ce7f 100644 --- a/services/userlog/pkg/service/l10n/locale/el/LC_MESSAGES/userlog.po +++ b/services/userlog/pkg/service/l10n/locale/el/LC_MESSAGES/userlog.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: EMAIL\n" -"POT-Creation-Date: 2026-04-17 00:03+0000\n" +"POT-Creation-Date: 2026-05-08 00:02+0000\n" "PO-Revision-Date: 2025-01-27 10:17+0000\n" "Last-Translator: Efstathios Iosifidis , 2026\n" "Language-Team: Greek (https://app.transifex.com/opencloud-eu/teams/204053/el/)\n"