Commit Graph
17 Commits
Author SHA1 Message Date
Roman PerekhodandClaude Sonnet 5 c4a6948a67 chore: bump deps (reva, web, golang) (#13066)
* chore: bump reva

* chore: bump pnpm dependencies

* fix: avoid go vet false positive in userlog conversion.go

The go.mod bump to go 1.26.8 made go vet flag loadTemplates' calls to
t.Get(nt.Subject/nt.Message) as non-constant format strings, breaking
the build for services/userlog/pkg/service. These are translation
lookup keys, not printf format strings, so route the call through a
local func value to defeat vet's static trace.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* chore: bump grpc

Fixes GO-2026-6443, a server panic when handling requests missing
authority or Host headers, flagged by govulncheck in CI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-05 11:59:28 +00:00
Matteo 4ba02000fa fix: bump reva to allow space managers to remove others' shares (#12705)
* fix: bump reva to allow space managers to remove others' shares

Space managers with the RemoveGrant permission on a resource could not
remove user shares created by other users; the share manager only allowed
the share's creator to remove it. This bumps reva to the commit that fixes
Unshare to also honor the RemoveGrant permission.

* fix(l10n): route gotext.Locale calls through func fields to satisfy go vet

Bumping reva pulled in reva's go 1.26 requirement, and go 1.26's stricter
printf vet analyzer now sees through the OcisLocale interface to flag
gotext.Locale.Get as a printf-wrapper, breaking go test across 5 packages.
Forwarding through func fields hides that static trail from vet.
2026-08-04 13:42:08 +02:00
Michal Klos 2868947e63 chore: bump reva, go 1.24 2025-04-30 12:04:03 +02:00
jkoberg 7947c99930 feat(settings): translate notifications settings
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2025-01-02 11:31:42 +01:00
jkoberg be7ef83fca feat(l10n): support maps
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-06 16:53:33 +02:00
jkoberg 68e08c59b4 feat(l10n): adjust translate entity
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-06 14:25:30 +02:00
Roman Perekhod c39bac17c4 the comments added to public functions 2024-08-06 14:25:30 +02:00
Roman Perekhod 21c6dda4f8 refactored the translation funcrions interface 2024-08-06 14:25:30 +02:00
Roman Perekhod 85d2842bc8 fixed sonrarcloud alert 2024-08-06 14:25:30 +02:00
Roman Perekhod 70fc7ecb92 The translate functions are separated semantically 2024-08-06 14:25:30 +02:00
Roman Perekhod fc85837d82 added the iterator over slice and map 2024-08-06 14:25:30 +02:00
Jörn Friedrich Dreyer 464c780c82 added TranslateEntity 2024-08-06 14:25:30 +02:00
jkoberg 5249cbc138 feat(activitylog): translations
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-24 16:23:54 +02:00
jkoberg b54344196e move more functionality to l10n pkg
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-27 10:34:54 +01:00
jkoberg db346dff10 make readmes translateable
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-26 13:35:07 +01:00
jkoberg 1bc59de021 fix graph tests
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-26 10:41:42 +01:00
jkoberg e9d39cdcb3 move translation logic from notifications to own package
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-03-25 13:14:01 +01:00