Commit Graph

15833 Commits

Author SHA1 Message Date
Prarup Gurung da898f0ebb Merge pull request #8136 from owncloud/add-test-for-invite-user-with-wrong-recipient-type
[full-ci] [tests-only] Add test to send share invitation with wrong recipient type
2024-01-26 11:19:12 +05:45
Prarup Gurung b8d1a278c6 Added test for sending share invitation with wrong sharetype 2024-01-26 09:49:58 +05:45
Jörn Friedrich Dreyer 48610091ad set size when starting an upload session via graph (#8288)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-25 22:00:12 +01:00
Prarup Gurung 3ddbdd6c93 Merge pull request #8189 from owncloud/add-test-to-invite-user-with-empty-objectId
[full-ci] [tests-only] Add test for sending share invitation with empty objectId
2024-01-25 19:47:05 +05:45
Viktor Scharf a9bf0f9bd5 [test-only] Cors test for settings api (#8286)
* add cors tests for settings api

* fix
2024-01-25 14:17:13 +01:00
Florian Schade 6cf5d8fb13 chore: bump icap client which fixes defer error handling (#8234)
* chore: bump icap client which fixes defer error handling

* chore: bump icap-client
2024-01-25 12:26:21 +01:00
Prarup Gurung 3ecf2e56ca Added test for sending share invitation to empty user id 2024-01-25 17:11:12 +05:45
Prarup Gurung 5d96e9bdf6 Merge pull request #8129 from owncloud/add-test-for-invite-user-with-wrong-objectId
[full-ci] [tests-only] Added test for sending share invitation to wrong objectId
2024-01-25 17:05:09 +05:45
Prarup Gurung c93783897f Addressed reviews 2024-01-25 14:17:09 +05:45
Prarup Gurung 2675e739b2 Added test for sending share invitation to wrong objectId 2024-01-25 14:13:46 +05:45
Nalem7 18a62b5133 replacing the featureContext with HttpREquestHelper in test (#8169)
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-01-25 14:06:45 +05:45
Roman Perekhod d3f5e07fee Automated changelog update [skip ci] 2024-01-25 08:14:36 +00:00
Roman Perekhod 970b556071 Merge pull request #8132 from 2403905/issue-8127
[skip-ci][changelog] disallow to delete a file during the processing
2024-01-25 09:14:03 +01:00
Roman Perekhod 42c0f48d92 Automated changelog update [skip ci] 2024-01-25 08:10:53 +00:00
Roman Perekhod 7568cfef73 Merge pull request #8246 from 2403905/issue-8242
fix the resource name
2024-01-25 09:10:17 +01:00
Roman Perekhod 7cb23b004f disallow to delete a file during the processing 2024-01-25 09:05:43 +01:00
Prajwol Amatya 759b443e4f added test for user with no share role trying to reshare a resource (#8147) 2024-01-25 12:52:48 +05:45
Swikriti Tripathi 00717481f7 [tests-only]test: add test for shared with me (#8010)
* test: add test for shared with me

* test: add test for shared with me shared file

* add missing field and add test to expected to fail

* address review

* test: move file

* tests: make differente funtion for regex fileid pattern matching
2024-01-25 09:47:56 +05:45
Viktor Scharf ee6f155e1c add more CORS tests (#8254) 2024-01-24 19:25:20 +01:00
Roman Perekhod 60e8a2d8b4 fix the resource name 2024-01-24 17:41:21 +01:00
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