Commit Graph

15863 Commits

Author SHA1 Message Date
kobergj 8c966a81cb Automated changelog update [skip ci] 2024-01-24 16:15:05 +00:00
kobergj 46af9cce40 move nats authentication to natsjsregistry package (#8281)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 17:14:19 +01:00
Ralf Haferkamp 19991677be Automated changelog update [skip ci] 2024-01-24 16:03:40 +00:00
Ralf Haferkamp da495fd306 graph/sharing: Fix role condition for space roots
When computing the allowed roles for a spaceroot use the correct conditions.
Spaceroots require '@Subject.objectId Any_of @Resource.owners'.

Note: Updating or deleting the permissions on a spaceroot via
'v1beta1/drives/{driveid}/items/{itemid}/permissions/{permissionid}' does still
not work.
2024-01-24 17:03:00 +01:00
Ralf Haferkamp c7943f014b graph/sharing: Adjust acceptance tests for latest changes
Don't try to assign space specific roles to file or directory shares in
positive tests. The API now forbids those correctly. We might want
to add negative tests for that.
2024-01-24 17:03:00 +01:00
Ralf Haferkamp d9fc4af575 graph/sharing: Add check for role conditions
Use the condition from the unifiedrole to check if the requested role
is actually applicable to the selected resource.

Fixes: #8131
2024-01-24 17:03:00 +01:00
Ralf Haferkamp f38f940d22 graph/sharing: Fix role conditions for Space specific sharing roles
Co-Owner and Manager are space specific roles. They need the UnifiedRoleConditionOwner.
2024-01-24 17:03:00 +01:00
Michael Barz 0cb731aef1 tests: fix test expectations for cors (#8279) 2024-01-24 16:52:38 +01:00
Jörn Friedrich Dreyer ccfb9101de it is called traceProvider (#8280)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-24 16:34:58 +01:00
Andre Duffeck b950fcecb1 Automated changelog update [skip ci] 2024-01-24 14:48:04 +00:00
Andre Duffeck 75939146db Merge pull request #8278 from aduffeck/bump-reva-6eec40
[full-ci] Bump reva
2024-01-24 15:47:28 +01:00
Sawjan Gurung c8818f5dd5 add test coverage for checking file versions after multiple restores (#8188) 2024-01-24 17:09:54 +05:45
kobergj cf53146f8b Automated changelog update [skip ci] 2024-01-24 10:17:53 +00:00
kobergj acf0cca01b Merge pull request #8236 from kobergj/FixNatsAuthentication
[full-ci] Fix nats authentication & Improvements
2024-01-24 11:17:15 +01:00
Prajwol Amatya 3b75b5b722 added test to reshare resources to other users SharingNg (#8275) 2024-01-24 15:45:35 +05:45
André Duffeck b5ed06dad6 Bump reva 2024-01-24 10:49:45 +01:00
jkoberg 82ee1a6305 use inmemory natsjskv registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg cec6ea50eb remove unused stat cache
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg 8e613bbe7a fix store ttl
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg 13bb2785d4 fix cache authentication
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:30 +01:00
jkoberg 10628f399d fix events authentication
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:09 +01:00
Roman Perekhod 9b87682f4e Automated changelog update [skip ci] 2024-01-24 09:17:44 +00:00
Roman Perekhod 57cfb16d85 Merge pull request #8269 from 2403905/issue-8255
[full-ci][bump reva] fix race in a publicshare manager
2024-01-24 10:17:02 +01:00
Viktor Scharf 7f5aa6b4a8 [test-only] Add grafana link to CI (#8268)
* add grafana link to CI

* Update .drone.star

* Update .drone.star
2024-01-24 09:43:39 +01:00
Prajwol Amatya 4447ead4d0 added test to share resource to an already shared group (#8181) 2024-01-24 14:17:38 +05:45
dependabot[bot] d703a8ef1d build(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.46.1 to 0.47.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.46.1...zpages/v0.47.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 09:01:16 +01:00
dependabot[bot] 6d4cb092a2 build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.21.0...v1.22.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-24 09:00:39 +01:00
Prajwol Amatya 2d203775a9 added test to send share invitation to unknown group (#8175) 2024-01-24 12:13:54 +05:45
Sabin Panta be8973def1 [tests-only][full-ci] adding user quota using graph api instead of Provisioning api (#7000)
* refactored getQuota scenario

* deleted quota step inside provisioning file

* updating feature file of quota as per graphapi

* updated expected failures file

* updated expected failures file

* removed issue tag
2024-01-24 10:12:42 +05:45
nirajacharya2 7d6cdd649e added tests for searching users by normal user (#8241) 2024-01-24 09:57:38 +05:45
nirajacharya2 4592d06c2b fixing incorrect json format for json assertion steps (#8265) 2024-01-24 09:57:19 +05:45
ownClouders e5d910aceb [tx] updated from transifex 2024-01-24 00:44:59 +00:00
Roman Perekhod 8dc7420b04 [full-ci][bump reva] fix race in a publicshare manager 2024-01-23 17:20:38 +01:00
Michael Barz c9a77eb43f Automated changelog update [skip ci] 2024-01-23 08:59:16 +00:00
Michael Barz 17b14ee786 Merge pull request #8264 from owncloud/dragonchaser/bump-reva
[full-ci] Continuation of Dragonchaser/bump reva
2024-01-23 09:57:53 +01:00
Saw-jan a7ab682f17 fix php code 2024-01-23 12:42:47 +05:45
Saw-jan e1101940dc fix cors tests 2024-01-23 12:40:13 +05:45
Prarup Gurung ee931c9b75 Merge pull request #8226 from owncloud/add-test-for-invite-normal-user
[full-ci] [tests-only] Modified tests so sharee can check for received shares
2024-01-23 12:33:51 +05:45
Saw-jan ca2b5744a1 fix test expectations 2024-01-23 12:19:31 +05:45
Saw-jan 9cb81073c1 fix test expectations 2024-01-23 12:18:19 +05:45
Prarup Gurung f7599b3fc8 Added step to check as sharee for share invitation to group 2024-01-23 11:13:44 +05:45
Prarup Gurung 0312e72bd2 Addressed reviews 2024-01-23 11:07:51 +05:45
Prarup Gurung f08a9ae0d9 Added test for sending share invitation to normal user 2024-01-23 11:07:51 +05:45
Michael Barz c2f0ac41df tests: fix test expectation 2024-01-22 23:08:44 +01:00
Christian Richter 6515de1a90 bump reva
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-22 21:17:03 +01:00
Sawjan Gurung cb0090e840 extend test coverage for replacing file with zero-byte file (tus upload) (#8105) 2024-01-22 20:01:10 +05:45
Ralf Haferkamp 0d11932540 Automated changelog update [skip ci] 2024-01-22 13:05:14 +00:00
Ralf Haferkamp f3ed318d9d graph/drives: Fix status code for PATCH/DELETE on drives don't allow them
Return a 405 Status when UpdateSpace() or DeleteSpace() are not implemented
in the backend for a certain type of drive (e.g. the virtual mountpoint drives
created for shares).

Fixes: #7881
2024-01-22 14:04:38 +01:00
dependabot[bot] 6e1f3b9163 build(deps): bump github.com/onsi/ginkgo/v2 from 2.14.0 to 2.15.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.14.0...v2.15.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 11:08:51 +01:00
Andre Duffeck 0ba030949e Merge pull request #8207 from aduffeck/bump-reva-bde86a
[full-ci] Bump reva
2024-01-22 10:27:34 +01:00