Commit Graph
19 Commits
Author SHA1 Message Date
Dominik Schmidt 2bcd560bde docs(web): shorten the MergeKV comment 2026-11-09 16:07:56 +01:00
Dominik Schmidt 30c8461156 refactor(web): copy theme values with the vendored deepcopy package
Use github.com/mohae/deepcopy, which the repository already uses, instead of a hand-written copy, and keep only the deterministic test: CI runs the unit tests without -race, so the concurrency test could only catch the bug by chance.
2026-11-09 16:06:26 +01:00
Dominik Schmidt 8d3869b87d fix(web): do not merge theme values into the shared theme defaults
MergeKV handed the nested maps of its first input to mergo, which reused them in the result and wrote the later values into them. The theme endpoint passes the package-level theme defaults first, so every request wrote the base and branding theme into those defaults, and concurrent requests crashed the process with "concurrent map writes". MergeKV now merges deep copies of its inputs.
2026-11-09 15:59:57 +01:00
Florian Schadeandv.scharf 9041ee8df9 feat: add space viewer with versions role (#2961)
* feat: add space viewer with versions role

* fix after review

---------

Co-authored-by: v.scharf <v.scharf@opencloud.eu>
2026-07-22 07:05:51 +02:00
Michael Barz 42dfc8b04f feat: add more roles 2026-06-12 10:51:10 +02:00
Florian Schade 288e67cc39 chore: replace interface with any 2026-04-23 09:31:11 +02:00
Benedikt Kulmann 638a35f268 fix(web): logo upload 2025-02-24 10:58:17 +01:00
André Duffeck e8d35e1280 Use the opencloud reva from now on 2025-01-21 11:16:38 +01:00
Jörn Friedrich Dreyer bd28647c56 web
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-17 11:42:29 +01:00
Jörn Friedrich Dreyer b07b5a1149 use plain pkg module
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer 8e028f17e9 change module name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 09:58:18 +01:00
Michael Barz bac2256c5f fix: fix deny access to prevent a regression 2024-11-25 11:32:31 +01:00
Florian Schade 3a4c0f33ea fix: ocm share update 2024-09-11 15:34:08 +02:00
Roman Perekhod d3e8eb34df [full-ci] Added a new roles viewer/editor with ListGrants 2024-09-02 11:33:18 +02:00
Roman Perekhod 6319d986eb [full-ci] Added a new role space editor without versions 2024-08-29 14:20:35 +02:00
Jörn Friedrich Dreyer 966b4e1422 allow querying federated sharing roles
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-12 11:29:39 +02:00
Jörn Friedrich Dreyer c3c6085f2b drop sjson dependency
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-18 12:06:25 +02:00
Thomas MüllerandFlorian Schade 1453f904e3 chore: code cleanup services/web (#9034)
* chore: code cleanup services/web

* fix: export private member to keep the test external

* chore: backport changes

---------

Co-authored-by: Florian Schade <f.schade@icloud.com>
2024-06-04 12:28:49 +02:00
eb7c36443f enhancement: introduce theme processing (#9133)
* enhancement: introduce theme processing

* enhancement: introduce theme processing

* enhancement: add theme processing tests and changelog

* Update services/web/pkg/config/config.go

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>

* fix: ci findings

* Apply suggestions from code review

Co-authored-by: Martin <github@diemattels.at>

* enhancement: use the theme assets from web instead of having them inside the oCis repo (license clash Apache vs. AGPLv3)

* fix: golangci tagalign order

* fix: rename UnifiedRoleUploader to UnifiedRoleEditorLite

* fix: some typos

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>

* enhancement: export supported theme logo upload filetypes

* chore: bump reva

* fix: allow init func

---------

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
Co-authored-by: Martin <github@diemattels.at>
2024-05-29 15:48:49 +02:00