Commit Graph

72 Commits

Author SHA1 Message Date
Mikel Olasagasti Uranga
06b78b8261 chore: drop gofrs/uuid module usage and use google/uuid
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2025-11-12 11:47:13 +01:00
Ralf Haferkamp
8a7d51ca88 Apply typo fixes from code review
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
2025-11-04 16:45:08 +01:00
Ralf Haferkamp
30ef495c92 feat(collaboration): Set IsAdminUser property for Collabora
This set the 'IsAdminUser' Property correctly in the CheckFileInfo
Response. For that a new Permission 'WebOffice.Manage' is introduced. By
default this permission is only assigned to the Admin role.
User with this permission get access to certain admin features in
Collabora (e.g. the 'Server Audit' dashboard)

Closes: #796
2025-11-04 16:45:08 +01:00
André Duffeck
b9301b7ac1 Fix tests 2025-05-16 10:24:43 +02:00
Klaas Freitag
77236f0fc1 Fix typo in demo user template, assign valid role to Lynn 2025-02-12 10:35:10 +01:00
Klaas Freitag
669ad7c769 Rename demo users
See https://github.com/opencloud-eu/internal/issues/42
2025-01-28 18:03:12 +01:00
André Duffeck
e8d35e1280 Use the opencloud reva from now on 2025-01-21 11:16:38 +01:00
André Duffeck
193469b0e5 Rebrand settings 2025-01-17 10:27:27 +01:00
André Duffeck
8c8cdd9310 Adapt protobuf naming 2025-01-15 11:04:32 +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
Martin Mattel
ca8d01a2a6 [docs-only] Update settings source strings for translation 2025-01-08 16:21:04 +01:00
jkoberg
7947c99930 feat(settings): translate notifications settings
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2025-01-02 11:31:42 +01:00
Roman Perekhod
34f04e229d the descriptions updated 2024-12-18 16:08:42 +01:00
Roman Perekhod
698b6755d1 The user settings was extended by the notifications preferences 2024-12-18 10:52:21 +01:00
jkoberg
c80254c4f1 feat(ocis): remove ocm store
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-15 17:24:51 +02:00
Roman Perekhod
afd9ec67fe Fix the settings metedata tests 2024-06-13 19:13:46 +02:00
Ralf Haferkamp
d7f10f38a0 settings: Add ListRoleAssignmentByRole
This adds the implementation for ListRolesAssignments by role-id to the
metadata backend. Because of the current layout of the account folders
and assignment files this is currently still very inefficient.

Related Issue: #8939
2024-06-04 11:00:09 +02:00
Ralf Haferkamp
5b38fa149d settings: Remove deprecated filesystem backend
We changed the default to `metadata` before the 2.0 release. This PR
alos removes the associated `SETTINGS_STORE_TYPE` and
`SETTINGS_DATA_PATH` settings as they are no longer needed with
`metadata` as the only available backend.
2024-05-13 14:50:02 +02:00
Michael Barz
4960f8c42d tests: add unit tests for admin role assignment 2024-04-19 11:22:10 +02:00
Michael Barz
ad29d7da3e fix: always assign the admin role to the default admin 2024-04-19 10:08:21 +02:00
jkoberg
ef3c214af6 use correct structure when ocis init
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-27 15:22:56 +01:00
jkoberg
20f77d4b5b add a hidden role for service accounts
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-21 12:41:42 +01:00
Benedikt Kulmann
82785184dc Merge pull request #8018 from owncloud/add-chinese-language
feat: allow settings service to store "zh" as language value
2023-12-19 20:17:12 +01:00
Benedikt Kulmann
b75dda29a9 feat: allow settings service to store "zh" as language value 2023-12-19 15:47:13 +01:00
jkoberg
de4f9d78f4 allow authentication for stores
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-19 10:44:05 +01:00
Roman Perekhod
d5130c3c37 Merge pull request #7976 from 2403905/issue-7931
[full-ci] remove the permissions of a role with duplicate ID
2023-12-18 09:20:20 +01:00
kobergj
423c28b298 improve store readmes
Co-authored-by: Martin <github@diemattels.at>
2023-12-15 13:25:10 +01:00
Roman Perekhod
737e2962bb [full-ci] remove the permissions of a role with duplicate ID 2023-12-14 12:30:34 +01:00
Benedikt Kulmann
bd219cad88 feat: add more accepted languages
Adding languages to the list of accepted languages which have 70% or
more translation coverage in transifex + swedish by request of a
community member who promised to help with translations.
2023-11-21 06:31:57 +01:00
jkoberg
66ff22835d add new permissions
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-10 13:02:21 +01:00
jkoberg
73f87a003c refactor settings/pkg/store/defaults
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-10 13:02:21 +01:00
Michael Barz
75819ba6ad add new permission to delete public link password 2023-10-23 12:46:47 +02:00
Roman Perekhod
7f6c832356 the default language added to the setting service (#7417)
* the default language added to the setting service

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

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
2023-10-09 15:31:17 +02:00
Jörn Friedrich Dreyer
1a874ca89a store: decrease log level (#7329)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-09-22 09:33:28 +02:00
jkoberg
8e1b033a63 auto-accept shares in frontend service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-06 15:32:31 +02:00
jkoberg
0bc0972b0b add admin service account
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:43 +02:00
Michael Barz
fc807299b6 change role name to user light 2023-06-06 14:58:45 +02:00
jkoberg
b41b1ec4cb rename permssions
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-05-30 10:35:51 +02:00
Phil Davis
f19830e919 Reword 'allows to' sentences 2023-05-18 09:46:25 +05:45
jkoberg
03b31b9580 give spaceadmin delete-all-spaces
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-05-17 19:31:01 +02:00
Martin
98c6e3a7e0 Update services/settings/pkg/store/defaults/defaults.go
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-05-17 10:44:50 +02:00
mmattel
7fd9b30258 [docs-only] Fix settings typos 2023-05-17 10:35:40 +02:00
Michael Barz
02fe615e1c update the default roles 2023-05-15 22:17:50 +02:00
Ralf Haferkamp
df5edec36b settings: User go-micro/store for cachiing
The previous implementation was using an unlimited TTL which would cause
problems in scale out deployments where multiple instances of the settings
service are running.

Fixes: #5067
2023-05-12 14:49:19 +02:00
Ralf Haferkamp
18bb3dbaca settings: Instanciate only a single instance of the ServiceHandler/Store
Share the same instance between the HTTP and the GRPC service. This is
in preparation for moving the cache of the metadata storage backend to a
go-micro/store based implementation. By sharing the same service instance in
the HTTP and GRPC services we can avoid the usage of global variables for the
caches, which will make the move to the go-micro/store implementation simpler.
2023-05-12 14:49:19 +02:00
jkoberg
7d13ce519d better naming for setting and permission
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-27 10:35:22 +02:00
jkoberg
3bf24746e6 add new setting to disable emails
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-26 15:33:55 +02:00
Roman Perekhod
6cf09321c9 Determine the users preferred language to translate emails via Transifex. #6087 2023-04-21 16:30:48 +02:00
jkoberg
cdddd16c0a add permission to change space quota
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 12:51:26 +01:00