Commit Graph

144 Commits

Author SHA1 Message Date
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
Christian Richter
15699f02b8 Incorporate requested changes
Co-authored-by: Julian Koberg <jkoberg@owncloud.com>
Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
Co-authored-by: Michael Barz <mbarz@owncloud.com>
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-15 13:22:51 +01:00
Christian Richter
414cdd0b51 add admin check
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-15 11:23:24 +01:00
Christian Richter
1e34e43c10 Add language to PostUser, allow admin to read user values
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-15 11:23:24 +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
mmattel
5e74b50efb [docs-only] Fix envvars with a array slice ([]string) 2023-11-09 12:22:59 +01:00
mmattel
b13b880921 [docs-only] Fix envvars with a duration. 2023-11-08 18:32:39 +01:00
Michael Barz
75819ba6ad add new permission to delete public link password 2023-10-23 12:46:47 +02:00
Roman Perekhod
04a5ee283e fix default language fallback (#7479)
* fix default language fallback

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

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

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

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

* readme updated. local env vars removed

* Update changelog/unreleased/fix-default-mail-language-fallback.md

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

* update readme's and envvar texts

* fix changelog text

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
2023-10-17 09:56:48 +02:00
mmattel
bef11c32f4 small addon fix 2023-10-13 09:51:29 +02:00
Martin
accbb31b5c [docs-only] Update README.md of the settings service
Just some smaller doc fixes.
2023-10-13 09:40:56 +02:00
Christian Richter
e56b23541a remove obsolete cli flags
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-10-11 16:31:10 +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
kobergj
8bf3f2f84e Merge pull request #7309 from kobergj/ChaseThePipelineGhost
[full-ci] Chase the pipline ghost
2023-09-22 11:03:05 +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
1f1aa50c54 hard exit when services fail
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-21 13:53:18 +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
Daniel Swärd
6a5e21eff4 Replacing implicit grpc client initialization with explicit package local variables. 2023-07-31 12:57:59 +02:00
mmattel
6ad53971ef [docs-only] Increase readability for log level values in the description 2023-07-07 10:33:42 +02:00
mmattel
d7b447b791 [docs-only] Increase readability for tracing values in the description 2023-07-07 09:50:39 +02:00
Ralf Haferkamp
c9a9fddef1 Consitently switch to stretchr/testify
We were using stretchr/testify and test-go/testify inconsitently and
sometimes mixed in the same tests. This can cause very strange issue,
e.g when using things like mock.MatchedBy().

This moves all our code to stretchr/testify, which seems to be far
more active and maintained then test-go/testify.
2023-06-29 13:44:49 +02:00
Daniël Franke
96557a95ae Add tracing to settings service.
This adds tracing to the settings service. It uses the otelchi package
and passes the tracing provider to the grpc and http servers.
2023-06-27 12:31:19 +02:00
mmattel
758192bd6d [docs-only] Fix some envvar descriptions 2023-06-09 13:03:17 +02:00
Florian Schade
4f26424db6 [full-ci] enhancement: use reva client pool selectors (#6452)
* enhancement: use reva client pool selectors

register mock service to registry and pass tests

* enhancement: bump reva

* Fix a couple of linter issues

---------

Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
2023-06-08 12:41:04 +02:00
Michael Barz
fc807299b6 change role name to user light 2023-06-06 14:58:45 +02:00
jkoberg
d347448ec0 remove duplicated sutureservice code
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-02 12:02:27 +02:00
jkoberg
b41b1ec4cb rename permssions
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-05-30 10:35:51 +02:00
Jörn Friedrich Dreyer
0edb2b9c5b fix preflight requests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-22 16:28:51 +02:00
Phil Davis
4874da778c Reword 'allow to' sentences 2023-05-18 09:48:29 +05:45
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
d4e7034046 Merge pull request #6310 from owncloud/update-roles
update the default roles
2023-05-16 15:18:55 +02:00
Edith Parzefall
095c54d973 Apply suggestions from code review
language review
2023-05-16 10:52:53 +02:00
mmattel
db0e78d3a2 clarify reason for settings cache 2023-05-16 10:52:53 +02:00
mmattel
cb38671792 fix codacy complains 2023-05-16 10:52:53 +02:00
mmattel
f65f8e065a review 2023-05-16 10:52:53 +02:00
Ralf Haferkamp
7ea2b8c179 settings: Added hints about caching to the README 2023-05-16 10:52:53 +02:00
mmattel
4681576a44 update 2023-05-16 10:52:53 +02:00
Ralf Haferkamp
2ed7f7d31e Create README for settings service
The just moves over the contents from  docs/services/settings/_index.md.
2023-05-16 10:52:53 +02:00
Michael Barz
02fe615e1c update the default roles 2023-05-15 22:17:50 +02:00
mmattel
c3c82941be [docs-only] Update SETTINGS_STORE_TYPE envvar description 2023-05-15 17:40:00 +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