Commit Graph

451 Commits

Author SHA1 Message Date
Michael Barz
6bf14aaa5d bump spaces version to 1.0.0 in capabilities 2022-11-25 15:08:54 +01:00
Michael Barz
7e6b57e138 make storage users mount id configurable (#5091) 2022-11-25 13:47:41 +01:00
Willy Kloucek
7f68049c04 Merge pull request #5126 from wkloucek/fix-license-tarball
add nodejs dependencies to license tarball
2022-11-25 11:41:30 +01:00
Michael Barz
948f773675 Merge pull request #5120 from owncloud/bump-web-v6.0.0-rc.8
[full-ci] chore: bump web to v6.0.0-rc.8
2022-11-25 09:43:39 +01:00
Willy Kloucek
d3a17bd4be add nodejs dependencies to license tarball 2022-11-25 09:35:57 +01:00
Willy Kloucek
b4e727b601 Merge pull request #5115 from wkloucek/fix-connection-closed-http-1
fix HTTP1.1 RFC 2616 for 401s
2022-11-25 08:20:28 +01:00
Benedikt Kulmann
0cdf2addd3 chore: bump web to v6.0.0-rc.8 2022-11-24 19:09:19 +01:00
Willy Kloucek
0ba134dbf6 discard errors 2022-11-24 17:07:01 +01:00
Willy Kloucek
c6b61cd347 remove any limits 2022-11-24 16:48:25 +01:00
Christian Richter
080a37784f Fix tests
Co-authored-by: André Duffeck <aduffeck@firondu.de>
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-11-24 15:11:38 +01:00
Willy Kloucek
2e2e0cd4b6 fix HTTP1.1 RFC 2616 for bodies smaller than 1GB 2022-11-24 14:09:02 +01:00
Christian Richter
724cf40c0e Add traces to search + indexer
Co-authored-by: André Duffeck <aduffeck@firondu.de?
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-11-24 12:38:09 +01:00
mmattel
3cad3fbf2d env descriptions that needed a fix 2022-11-24 09:56:52 +01:00
Martin
072049fc10 Merge pull request #5106 from rhafer/issue/5073
Update/align a few TLS variable description
2022-11-23 15:05:31 +01:00
Andre Duffeck
7c2961e18a Graph test coverage (#5098)
* First iteration of a groups test

* Do not render a result in case of an error

* Generate mocks for identity.Backend

* Export listResponse (-> ListResponse)

* Add unit tests for GetGroups

* Finish GetGroups unit tests

* Increase test coverage

* Increase test coverage

* Increase test coverage

* Add missing mocks

* Fix return codes

* Fix error messages
2022-11-23 14:01:29 +01:00
Andre Duffeck
1b764d2142 Handle more events (#5071)
* Handle SpaceShared events

* Adapt to changed ID in the SpaceShared event

* Handle the SpaceUnshared events

* Handle the SpaceUpdated event

* update reva to latest edge

* fix typo

* Disable cyclomatic complexity check for StartAuditLogger

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2022-11-23 14:00:29 +01:00
Ralf Haferkamp
ee54a4c30c Update/align a few TLS variable description
Fixes: 5073
2022-11-23 13:07:29 +01:00
Michael Barz
f3667b1e24 Merge pull request #5077 from wkloucek/lower-default-idp-lifespans
lower default access / id / refresh token lifespans
2022-11-21 14:50:25 +01:00
Benedikt Kulmann
50fe2a48ab Merge pull request #5086 from owncloud/bump-web-6.0.0-rc.7
[full-ci] chore: update web to v6.0.0-rc.7
2022-11-21 13:59:28 +01:00
Michael Barz
e2c7b3f7f8 Merge pull request #5065 from rhafer/issue/5045
Allow initial self-assignemnt of UserRole
2022-11-21 12:11:34 +01:00
Dominik Schmidt
59c19b825a web: embed all files from assets folder.
Recent web assets include an underscore prefixed file that is not packaged without all:.
2022-11-21 11:37:10 +01:00
Willy Kloucek
5d91dea414 adjust cache related configuration options 2022-11-21 09:56:22 +01:00
Benedikt Kulmann
a32be07844 chore: update web to v6.0.0-rc.7 2022-11-21 09:19:16 +01:00
Willy Kloucek
45de2c6645 lower default access / id / refresh token lifespans 2022-11-18 15:02:02 +01:00
Michael Barz
d1ff976aad improve the code style 2022-11-17 16:27:13 +01:00
Ralf Haferkamp
07a78287a7 Allow initial self-assignemnt of UserRole
When using an external user management we need to allow users to self-assign
the default role. This adds an explicit check for that to the settings service.
This also means we no longer need to fiddle with the account id in the proxy
upon first login.

Fixes: #5045
2022-11-16 16:23:32 +01:00
Michael Barz
94c212e331 use interface from graph pkg 2022-11-16 16:19:53 +01:00
Michael Barz
fd562b36b5 refactor permissions service to make creating drives testable 2022-11-16 15:19:22 +01:00
Michael Barz
d9fa7455b6 add more unit tests for the drives operations 2022-11-16 15:19:22 +01:00
Andre Duffeck
60b979d1d4 Find spaces (#5044)
* Use the node name for the name field in the index instead of the path

* Add changelog

* Fix tests

* Adapt expected failures
2022-11-15 16:52:55 +01:00
Jörn Friedrich Dreyer
7443a9a225 Make permission and role ids unique (#5051)
* make permission ids unique

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

* deduplicate roleids after listing permissions

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-15 16:51:49 +01:00
Ralf Haferkamp
4971330477 Remove no longer needed bootstrap code (#5057)
This we moved the settings service to the metadata storage with its
own gateway and permissions service, we no longer need the hardcoded
initial replies in order to bootstrap the role assignments.

This fixes a panic in the settings service when the first request to
the service is a read request on anything else but an existing role or
assignment.
2022-11-15 16:51:10 +01:00
Willy Kloucek
d74b879d4f update tooling (#5038)
* update tooling

* update nodejs version
2022-11-11 15:01:45 +01:00
Andre Duffeck
a0762e248e Filter hidden files (#5018)
* Filter hidden files from search results

* Add changelog

* Do not filter hidden files by default

* Set the hidden fields when converting fields to an entity

* Fix test
2022-11-10 17:05:43 +01:00
Martin
321004d62f Merge pull request #4998 from wkloucek/fix-notifications-ocis-url
add NOTIFICATIONS_WEB_UI_URL
2022-11-08 15:24:13 +01:00
Andre Duffeck
925790d64b Dont reindex twice (#5001)
* Only reindex a space once at a time

* Add changelog
2022-11-08 15:20:38 +01:00
Willy Kloucek
61be11a651 improve description 2022-11-08 13:41:57 +01:00
Willy Kloucek
4db9d060b7 add NOTIFICATIONS_WEB_UI_URL 2022-11-07 15:46:29 +01:00
Benedikt Kulmann
317f230280 chore: update web assets to v6.0.0-rc.6 2022-11-04 15:58:13 +01:00
Benedikt Kulmann
572bcc20a7 chore: update web assets to v6.0.0-rc.5 2022-11-04 15:58:12 +01:00
Jörn Friedrich Dreyer
a542aad999 [docs-only] add auth bearer readme (#4982)
* add auth bearer readme

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

* Apply suggestions from code review

Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2022-11-04 15:05:32 +01:00
Martin
226f39a445 Merge pull request #4981 from owncloud/auth_basic_readme_fix_env_var_rename
[docs-only] Auth basic readme fix env var rename
2022-11-04 13:19:36 +01:00
Michael Barz
6c2a1999c4 add requestID middleware (#4974)
* add requestID middleware

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

* remove unnecessary config structs

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-04 13:01:18 +01:00
Jörn Friedrich Dreyer
791c2e2494 fix docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-04 11:51:21 +00:00
Jörn Friedrich Dreyer
6bb2f74690 auth basic readme fix env var rename
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-04 11:21:38 +00:00
Jörn Friedrich Dreyer
d4643bf98c fix typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 17:18:16 +01:00
Jörn Friedrich Dreyer
b559466703 document default preferred sha1 checksum
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 17:18:16 +01:00
Jörn Friedrich Dreyer
13dbbd8440 fix env var name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 17:18:16 +01:00
mmattel
d8de307fda fix checksum type descriptions 2022-11-03 17:18:16 +01:00
mmattel
a23eaf9395 Improve frontend env descriptions 2022-11-03 17:18:16 +01:00