Commit Graph

9195 Commits

Author SHA1 Message Date
Florian Schade
55593b7e9f [full-ci] Bump web v5.2.0-rc.x (#3249)
* bump web rc.1

* Use web v5.2.0-rc.2

Co-authored-by: Pascal Wengerter <pascal@wengerter.info>
2022-03-02 17:52:02 +01:00
Willy Kloucek
410aee5234 Merge pull request #3251 from rhafer/graph-userrole
graph: Assign new user the default user role
2022-03-02 17:25:31 +01:00
Christian Richter
dc9e8a22c8 Merge pull request #3252 from owncloud/docs_fix_adr_weight
Add missing weight to header to fix menu sorting
2022-03-02 16:55:44 +01:00
Ralf Haferkamp
06ca18b1fb graph: Assign new user the default user role
Similar to what the accounts service is doing, all new users get
the User role assigned now. Otherwise creating the user's personal space
upon login is not working.
2022-03-02 16:45:25 +01:00
Ralf Haferkamp
fe2501b083 graph: Add some validation for username and email
This copies the validation code from the accounts service, also fixing a
bug in the regex that allowed adding mail addresses with whitespace and
other problematic characters to the domain part of the mail address.

Partial fix for: #3247
2022-03-02 16:45:25 +01:00
Christian Richter
8ee5ab226e Add missing weight to header to fix menu sorting 2022-03-02 16:34:20 +01:00
Willy Kloucek
44db94cbe7 Merge pull request #3078 from owncloud/config-docs
generate environment variable config documentation
2022-03-02 16:15:37 +01:00
Willy Kloucek
d5aed899e7 use docs/docs-generate also in CI 2022-03-02 15:31:58 +01:00
Willy Kloucek
f266f91bc4 revert ocisConfig changes part 3 2022-03-02 15:21:47 +01:00
Willy Kloucek
aeeff60011 remove config file related code 2022-03-02 15:18:43 +01:00
Willy Kloucek
1db1c7b678 remove generated configvars files from repo 2022-03-02 15:16:44 +01:00
Christian Richter
4f18908016 Add output to configenvextractor 2022-03-02 15:14:47 +01:00
Willy Kloucek
63818e0fa4 revert ocisConfig changes part 2 2022-03-02 15:12:34 +01:00
Willy Kloucek
15e1139b8d revert ocisConfig changes 2022-03-02 15:11:12 +01:00
David Christofas
f6656fa6ac include config env extractor to docs-generate step 2022-03-02 14:40:15 +01:00
jkoberg
0d49316495 downgrade reva temporarilly
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-02 13:11:01 +01:00
jkoberg
62ec3cf801 add new defaults
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-02 12:41:57 +01:00
David Christofas
c53a922096 include env config options in the docs
Co-Authored-By: Christian Richter <crichter@owncloud.com>
Co-Authored-By: Willy Kloucek <wkloucek@owncloud.com>
2022-03-02 12:16:43 +01:00
jkoberg
fd78a662fd Merge branch 'master' into StoreSettingsViaMetadata 2022-03-02 10:18:12 +01:00
jkoberg
7731de91f1 create id for values if not given
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-02 10:14:27 +01:00
Jörn Friedrich Dreyer
beaac40aa6 update reva to include decomposedfs nodes-per-space (#3228)
* update reva to include decomposedfs nodes-per-space

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* check create space with own constraint

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update reva

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* unexpected passed

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update reva

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* remove unused variable

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* revert reva commit id

Co-authored-by: Florian Schade <f.schade@icloud.com>
2022-03-02 08:47:53 +01:00
David Christofas
017de20520 add config descriptions
Co-Authored-By: Christian Richter <crichter@owncloud.com@>
2022-03-01 17:17:40 +01:00
David Christofas
d9bf920307 remove config docs prototype 2022-03-01 16:36:19 +01:00
David Christofas
4af7f630b9 First version of the envvar docs generator
Signed-off-by: Christian Richter <crichter@owncloud.com@>
2022-03-01 16:32:23 +01:00
jkoberg
c80022b0c6 ReadSetting unit test & implementation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-01 15:52:57 +01:00
jkoberg
a647f56bb0 unitests for list values
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-01 15:22:19 +01:00
jkoberg
f64280188a refine initialization logic again
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-01 14:54:28 +01:00
David Christofas
bb6a018e9a config docs prototype 2022-03-01 13:21:06 +01:00
jkoberg
7fcf6f5aa0 implement permission unit tests
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-01 12:15:39 +01:00
Willy Kloucek
b438fce511 generate config file for accounts service 2022-03-01 11:19:14 +01:00
Phil Davis
27c4b7b976 Merge pull request #3246 from owncloud/bump-core-commitId-ocis
[tests-only] bumped core commit Id on ocis to include this PR 39828
2022-03-01 15:49:00 +05:45
jkoberg
a873fdc942 return default values when mdc is not initialized
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-03-01 10:55:47 +01:00
Phil Davis
abe1d6b6ec Remove excess whitespace from expected-failures files 2022-03-01 15:04:15 +05:45
sushmita56
f722c6a4ed fixed expected failure lines 2022-03-01 15:04:09 +05:45
sushmita56
700f0301d7 bumped core commit Id on ocis 2022-03-01 12:05:39 +05:45
Ralf Haferkamp
ccf6bf1b0d idm: Fix error handling on startup (#3243)
* Fix idm to acutally return error during startup to the runtime
* Add proper conditon to error log statement
2022-02-28 17:52:51 +01:00
jkoberg
492419ec7b rework initialization logic
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-28 17:15:24 +01:00
jkoberg
4c22c07711 add test for appendSetting
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-28 16:39:07 +01:00
jkoberg
e23448f581 return listaccounts permission when mdc is not yet set
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-28 15:35:33 +01:00
Willy Kloucek
ba29635cd8 Merge pull request #3240 from owncloud/dependabot/go_modules/github.com/nats-io/nats-streaming-server-0.24.2
Bump github.com/nats-io/nats-streaming-server from 0.24.1 to 0.24.2
2022-02-28 10:34:41 +01:00
jkoberg
588a731d6d delay creation of default roles
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-26 14:00:39 +01:00
jkoberg
2452d01506 lazy initialize metadataclient
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-26 13:18:27 +01:00
jkoberg
11a8b75b2e use cs3storage in metadatastorage
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-25 17:28:36 +01:00
jkoberg
721026654d make values unit tests green
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-02-25 15:58:48 +01:00
dependabot[bot]
8687cac872 Bump github.com/owncloud/libre-graph-api-go from 0.10.0 to 0.11.0 (#3223)
Bumps [github.com/owncloud/libre-graph-api-go](https://github.com/owncloud/libre-graph-api-go) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/owncloud/libre-graph-api-go/releases)
- [Commits](https://github.com/owncloud/libre-graph-api-go/compare/v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/owncloud/libre-graph-api-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-25 14:21:59 +01:00
Ralf Haferkamp
77665a85d5 Merge pull request #3190 from rhafer/libreidm-svc
embed libgraph/idm as a service
2022-02-25 13:21:56 +01:00
Ralf Haferkamp
02775b72c7 Add embeded libregrah/idm server
This add a new service "idm" providing and LDAP service (via ldaps) on
port 9235.  If not existing it will bootstrap an initial LDAP tree and
administrative user as well as a self-signed Certificate and Key
(similar to what is done for glauth).
2022-02-25 11:43:03 +01:00
dependabot[bot]
5afff0b4aa Bump github.com/nats-io/nats-streaming-server from 0.24.1 to 0.24.2
Bumps [github.com/nats-io/nats-streaming-server](https://github.com/nats-io/nats-streaming-server) from 0.24.1 to 0.24.2.
- [Release notes](https://github.com/nats-io/nats-streaming-server/releases)
- [Changelog](https://github.com/nats-io/nats-streaming-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-streaming-server/compare/v0.24.1...v0.24.2)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-streaming-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-25 10:12:44 +00:00
Willy Kloucek
592e030b12 Merge pull request #3239 from owncloud/dependabot/go_modules/github.com/blevesearch/bleve/v2-2.3.1
Bump github.com/blevesearch/bleve/v2 from 2.3.0 to 2.3.1
2022-02-25 11:11:17 +01:00
Ralf Haferkamp
a3aad659f8 Move logrus wrapper to ocis-pkg
To make it more widely usable
2022-02-25 08:58:38 +01:00