Commit Graph
11659 Commits
Author SHA1 Message Date
Jörn Friedrich DreyerandGitHub 26f3e8fd3d [full-ci] Use sizediff propagation (#5092)
* bump reva

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

log calls

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

bump to fix, disable api log

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

bump to latest fix

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

remove unexpected failures

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

bump reva, update unexpected passes

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

test sizediff propagation

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

use reva edge

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

* add changelog

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-23 16:42:04 +01:00
dependabot[bot]andRalf Haferkamp 187c1264a0 Bump github.com/go-micro/plugins/v4/events/natsjs from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/events/natsjs](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/events/natsjs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 15:29:56 +01:00
MartinandGitHub 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 DuffeckandGitHub 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
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
Willy KloucekandGitHub 45c59accd4 Merge pull request #5103 from rhafer/issue/5085
Fix config and sample groups for LDAP deployment example
2022-11-23 13:34:53 +01:00
Ralf Haferkamp ee54a4c30c Update/align a few TLS variable description
Fixes: 5073
2022-11-23 13:07:29 +01:00
f77def1e75 [tests-only][full-ci] Add API tests for deleting groups (graph API) (#5076)
* add API tests for deleting groups

* add tests to expected failure

* fix php style

* update expected failure list

extend test

* merge scenarios

* bump core commit id

extend tests

descrive scenario

* use when step

* fix

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2022-11-23 12:35:37 +01:00
Ralf Haferkamp 006738b23d Fix config and sample groups for LDAP deployment example
The setup was configured to use a mix of the 'groupOfNames' and
'groupOfUniqueNames' objectclasses/attributetypes for groups. This
aligns the configuration and sample data to use just'groupOfNames'.

Closes: #5085
2022-11-23 12:30:02 +01:00
Swikriti TripathiandGitHub 1108da1750 Add api tests for changing role of a space (#5088) 2022-11-23 11:40:20 +01:00
Prarup GurungandGitHub dc49b65594 Share test expanded for permission 0, internal (#5100) 2022-11-23 11:38:24 +01:00
Sawjan GurungandGitHub c72c5f897a [tests-only][full-ci] Add API tests for adding user to group (graph API) (#5093)
* add tests for adding users to a group

* extend tests

* fix php code style

* check new member in the group

* fix php code style

* cleanup
2022-11-23 11:33:04 +01:00
Artur NeumannandGitHub 0d6a993319 Merge pull request #5080 from owncloud/assignRoleToUser
[test-only] Api-test. assign role to user
2022-11-23 09:58:59 +05:45
Artur NeumannandGitHub 40aaef133d Merge pull request #5096 from owncloud/update-issue-1267-in-expected-failures
[tests-only] [full-ci] Update issue 1267 in expected-failures-API-on-OCIS-storage
2022-11-23 08:18:06 +05:45
Phil Davis 535146c128 Update issue 1267 in expected-failures-API-on-OCIS-storage 2022-11-23 06:11:15 +05:45
Viktor Scharf 34e4f0f1dc assign role to user 2022-11-22 22:52:05 +01:00
Michael Barz aeed2c277d Automated changelog update [skip ci] 2022-11-21 13:51:00 +00:00
Michael BarzandGitHub 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 7da519aa12 Automated changelog update [skip ci] 2022-11-21 13:01:16 +00:00
Benedikt KulmannandGitHub 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
018cc5b9f5 Update changelog
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
2022-11-21 13:25:53 +01:00
Michael Barz 180695ffd3 Automated changelog update [skip ci] 2022-11-21 11:12:16 +00:00
Michael BarzandGitHub e2c7b3f7f8 Merge pull request #5065 from rhafer/issue/5045
Allow initial self-assignemnt of UserRole
2022-11-21 12:11:34 +01:00
Michael Barz ce54ae592f Automated changelog update [skip ci] 2022-11-21 10:56:17 +00:00
Michael BarzandGitHub 7e1247f157 Merge pull request #5087 from wkloucek/cache-store-settings
adjust cache related configuration options
2022-11-21 11:55:30 +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
Willy Kloucek 9f0fa2dbaf add changelog 2022-11-21 09:41:13 +01:00
Benedikt Kulmann 2e2420765d tests: switch web CI to stable-6.0 branch 2022-11-21 09:37:09 +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 BarzandGitHub 1329daffc7 Merge pull request #5041 from owncloud/graph-unit-test
[tests-only] add more unit tests for the drives operations
2022-11-18 12:46:42 +01:00
Phil DavisandGitHub 9504cea944 Merge pull request #5075 from owncloud/bump-core-commit-id-2022-11-18
[tests-only][full-ci]Bump core latest commit-id
2022-11-18 10:13:31 +05:45
sagargurung1001@gmail.com 792dc493c6 Bump core latest commit-id 2022-11-18 09:25:47 +05:45
Michael Barz d1ff976aad improve the code style 2022-11-17 16:27:13 +01:00
Michael BarzandGitHub 45644912b0 Merge pull request #4991 from owncloud/upload-processing-docs
[docs-only] Upload processing docs
2022-11-17 00:01:41 +01:00
Willy KloucekandRalf Haferkamp 693857e6b3 improve debugability of deployment examples 2022-11-16 16:56:59 +01:00
dependabot[bot]andRalf Haferkamp 2e7345d71e Bump github.com/go-micro/plugins/v4/server/grpc from 1.1.1 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/server/grpc](https://github.com/go-micro/plugins) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v4/server/grpc/v1.1.1...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/server/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 16:36:12 +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
dependabot[bot]andRalf Haferkamp 8d9335cbd6 Bump github.com/go-micro/plugins/v4/registry/consul from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/registry/consul](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/registry/consul
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 16:03:56 +01:00
Michael Barz 836e955592 exclude mocks and protogen from coverage reports 2022-11-16 15:19:22 +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 2ee2f7181c Automated changelog update [skip ci] 2022-11-15 15:53:36 +00:00
Andre DuffeckandGitHub 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 DreyerandGitHub 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 HaferkampandGitHub 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
Sawjan GurungandGitHub 6b13cea633 [tests-only][full-ci] Add API tests for getting groups and group members (graph API) (#5005)
* add tests for getting groups and group members

* bump core commit id

* fix scenario description

* fix php style

* add tests for creating empty group

* add unauthorized response check

* mark empty group creation scenario as expected to fail

* address reviews
2022-11-15 16:11:43 +01:00
dependabot[bot]andRalf Haferkamp 05e3bcc850 Bump github.com/go-micro/plugins/v4/registry/etcd from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/registry/etcd](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/registry/etcd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 15:35:00 +01:00