Commit Graph

11633 Commits

Author SHA1 Message Date
Michael Barz 180695ffd3 Automated changelog update [skip ci] 2022-11-21 11:12:16 +00: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
Michael Barz ce54ae592f Automated changelog update [skip ci] 2022-11-21 10:56:17 +00:00
Michael Barz 7e1247f157 Merge pull request #5087 from wkloucek/cache-store-settings
adjust cache related configuration options
2022-11-21 11:55:30 +01:00
Willy Kloucek 5d91dea414 adjust cache related configuration options 2022-11-21 09:56:22 +01:00
Michael Barz 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 Davis 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 Barz 45644912b0 Merge pull request #4991 from owncloud/upload-processing-docs
[docs-only] Upload processing docs
2022-11-17 00:01:41 +01:00
Willy Kloucek 693857e6b3 improve debugability of deployment examples 2022-11-16 16:56:59 +01:00
dependabot[bot] 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] 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 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
Sawjan Gurung 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] 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
Willy Kloucek 3e4068e2a0 fix OCIS_GRPC_CLIENT_TLS_CACERT annotation 2022-11-15 14:49:31 +01:00
Prarup Gurung 5f7863893d Merge pull request #5047 from owncloud/add-apitest-share-space-without-manager-permission
[full-ci] [tests-only] Added api test for sharing spaces with/out manager permission
2022-11-15 14:00:17 +05:45
Prarup Gurung 923c84d361 Added api test for sharing spaces with manager permission 2022-11-15 11:38:33 +05:45
Prarup Gurung e09a723384 Added api test for sharing spaces without manager permission 2022-11-15 09:33:12 +05:45
Prarup Gurung be4646652b Added api test for sharing disabled space (#5048) 2022-11-14 09:17:30 +01:00
Sagar Gurung 6a3fa4c461 Bump core commit 2022-11-14 (#5046) 2022-11-14 11:31:34 +05:45
Michael Barz 28e84d3554 Merge pull request #5037 from aduffeck/bump-reva
[full-ci] Bump reva
2022-11-11 15:58:26 +01:00
Jörn Friedrich Dreyer a8848b257a bump reva to v2.10.1-0.20221111140957-723ad781d916
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-11 14:15:46 +00:00
Willy Kloucek d74b879d4f update tooling (#5038)
* update tooling

* update nodejs version
2022-11-11 15:01:45 +01:00
Willy Kloucek cd2a3e57bc Merge pull request #5043 from wkloucek/deployment-examples-readme
add readme to deployment examples
2022-11-11 13:49:28 +01:00
Willy Kloucek 0ac11bc6f1 add readme to deployment examples 2022-11-11 13:28:04 +01:00
André Duffeck 2e9c67f85c Fix HTTP status code expectation 2022-11-11 13:27:01 +01:00
André Duffeck 8517db8d80 Bump reva 2022-11-11 13:27:01 +01:00
Martin 3792820c72 Merge pull request #5020 from owncloud/readme2
[docs-only] More changes on the README of ocis
2022-11-11 12:08:51 +01:00
Klaas Freitag f7c5b8e6e8 Minor tweaks to web office apps 2022-11-11 10:30:16 +01:00
Jörn Friedrich Dreyer 28d5e231fd Apply suggestions from code review
fix markdown indents
2022-11-11 09:44:53 +01:00
Christian Richter 2383938b92 Automated changelog update [skip ci] 2022-11-11 08:06:55 +00:00
Christian Richter 4d19dfd1e0 Merge pull request #5026 from dragonchaser/remove-windows-from-build
remove windows from ci & release makefile
2022-11-11 09:06:27 +01:00
Sawjan Gurung 03f53a3031 [tests-only][full-ci] Add API tests for creating groups (graph API) (#4992) 2022-11-11 09:31:13 +05:45
Phil Davis b0f38b9497 Update changelog/unreleased/remove-windows.md 2022-11-11 08:08:08 +05:45
Phil Davis a8cb417f64 Language review of README 2022-11-11 08:06:26 +05:45
Andre Duffeck 4efe8fd43b Automated changelog update [skip ci] 2022-11-10 16:09:00 +00: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
Edith Parzefall 0dbefec666 Apply suggestions from code review
language review
2022-11-10 15:46:58 +01:00
Christian Richter 963e0bc894 remove windows release target
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-11-10 14:47:17 +01:00
mmattel 95cff40d06 update and polish readme 2022-11-10 14:34:21 +01:00