Merge pull request #2655 from owncloud/feat/user-settings-capability

Feat/user settings capability
This commit is contained in:
Willy Kloucek
2021-10-21 14:13:53 +02:00
committed by GitHub
7 changed files with 21 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
Enhancement: Add user setting capability
We've added a capability to communicate the existance of a user settings service to clients.
https://github.com/owncloud/ocis/pull/2655
https://github.com/owncloud/web/issues/5926

View File

@@ -1,7 +1,7 @@
Bugfix: Enhancement
Enhancement: Broaden bufbuild/Buf usage
We've switched the usage of bufbuild/Buf from a protoc replacement only to
also using it to configuring the outputs and pinning dependencies.
also using it to confige the outputs and pinning dependencies.
https://github.com/owncloud/ocis/pull/2630
https://github.com/owncloud/ocis/pull/2616

View File

@@ -1,6 +1,6 @@
Change: Configurable default quota
When creating a new space a (configurable) default quota will be used (instead the hardcoded one)
When creating a new space a (configurable) default quota will be used (instead the hardcoded one).
One can set the EnvVar `GRAPH_SPACES_DEFAULT_QUOTA` to configure it
https://github.com/owncloud/ocis/issues/2621

View File

@@ -1,6 +1,7 @@
Enhancement: use go-embed insted of fileb0x
Enhancement: Replace fileb0x with go-embed
go-embed delivers already the funtionality we need but with less code. We decided to use it instead of 3rd party fileb0x
go-embed already brings the functionality we need but with less code. We decided to use it instead of 3rd party fileb0x
https://github.com/owncloud/ocis/issues/1199
https://github.com/owncloud/ocis/pull/2631
https://github.com/owncloud/ocis/pull/2649

2
go.mod
View File

@@ -19,7 +19,7 @@ require (
github.com/blevesearch/bleve/v2 v2.2.1
github.com/coreos/go-oidc/v3 v3.1.0
github.com/cs3org/go-cs3apis v0.0.0-20211018122138-391b29bd7803
github.com/cs3org/reva v1.14.1-0.20211021070229-852282ce34f5
github.com/cs3org/reva v1.14.1-0.20211021110426-87c920ffc25f
github.com/disintegration/imaging v1.6.2
github.com/glauth/glauth/v2 v2.0.0-20211021011345-ef3151c28733
github.com/go-chi/chi/v5 v5.0.4

4
go.sum
View File

@@ -305,8 +305,8 @@ github.com/crewjam/saml v0.4.5/go.mod h1:qCJQpUtZte9R1ZjUBcW8qtCNlinbO363ooNl02S
github.com/cs3org/cato v0.0.0-20200828125504-e418fc54dd5e/go.mod h1:XJEZ3/EQuI3BXTp/6DUzFr850vlxq11I6satRtz0YQ4=
github.com/cs3org/go-cs3apis v0.0.0-20211018122138-391b29bd7803 h1:R/6llgTNKxQQ7GaSTgFn6Fp8N50wIlagmdR7WY5LntM=
github.com/cs3org/go-cs3apis v0.0.0-20211018122138-391b29bd7803/go.mod h1:UXha4TguuB52H14EMoSsCqDj7k8a/t7g4gVP+bgY5LY=
github.com/cs3org/reva v1.14.1-0.20211021070229-852282ce34f5 h1:mGWW3ACgRp4iLOjUx6OiOX16j2SFUIM3DcWqzFs8KJQ=
github.com/cs3org/reva v1.14.1-0.20211021070229-852282ce34f5/go.mod h1:wkZXgaxq5nO6Dvl9qRpHpbGUQrWyTfwqWtBqOiCWy+k=
github.com/cs3org/reva v1.14.1-0.20211021110426-87c920ffc25f h1:eTNBGvvU6r6OhnL/3M8QxdCp3yHgklhfMHktOa111BY=
github.com/cs3org/reva v1.14.1-0.20211021110426-87c920ffc25f/go.mod h1:wkZXgaxq5nO6Dvl9qRpHpbGUQrWyTfwqWtBqOiCWy+k=
github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8 h1:Z9lwXumT5ACSmJ7WGnFl+OMLLjpz5uR2fyz7dC255FI=
github.com/cubewise-code/go-mime v0.0.0-20200519001935-8c5762b177d8/go.mod h1:4abs/jPXcmJzYoYGF91JF9Uq9s/KL5n1jvFDix8KcqY=
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=

View File

@@ -272,6 +272,12 @@ func frontendConfigFromStruct(c *cli.Context, cfg *config.Config, filesCfg map[s
"user": map[string]interface{}{
"send_mail": true,
"profile_picture": false,
"settings": []map[string]interface{}{
{
"enabled": true,
"version": "1.0.0",
},
},
},
"user_enumeration": map[string]interface{}{
"enabled": true,