Commit Graph
1721 Commits
Author SHA1 Message Date
Jörn Friedrich Dreyer 2dd276bb09 add more upload session filters (#7933)
* add more upload session filters

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

* default descriptions

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

* update readme

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

* use tablewriter, --json flag

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

* update readme

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

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-26 08:26:26 +00:00
Prarup Gurung 452ff00421 Added test for sending share invitation with empty sharetype (#8137) 2024-01-26 06:33:29 +00:00
Prarup Gurung e1e253b89c 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 05:38:01 +00:00
Jörn Friedrich Dreyer 075e3d0a75 set size when starting an upload session via graph (#8288)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-26 00:54:08 +00:00
Jörn Friedrich Dreyer f24a8f0c58 set size when starting an upload session via graph (#8288)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-25 21:04:05 +00:00
Prarup Gurung fd24a43b6c 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 14:06:32 +00:00
Viktor Scharf a5bf6e9295 [test-only] Cors test for settings api (#8286)
* add cors tests for settings api

* fix
2024-01-25 13:20:41 +00:00
Florian Schade 20ab2c551e 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 11:30:32 +00:00
Prarup Gurung 23ebabdf59 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 11:23:39 +00:00
Nalem7 16b279a0fe replacing the featureContext with HttpREquestHelper in test (#8169)
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2024-01-25 08:25:34 +00:00
Roman Perekhod 60ab786ee8 Merge pull request #8132 from 2403905/issue-8127
[skip-ci][changelog] disallow to delete a file during the processing
2024-01-25 08:17:26 +00:00
Roman Perekhod 0302fe83f2 Merge pull request #8246 from 2403905/issue-8242
fix the resource name
2024-01-25 08:13:29 +00:00
Prajwol Amatya a5d5214c7f added test for user with no share role trying to reshare a resource (#8147) 2024-01-25 07:11:36 +00:00
Swikriti Tripathi 4540ea1f3d [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 04:06:13 +00:00
Viktor Scharf cb34dcec06 add more CORS tests (#8254) 2024-01-25 00:17:26 +00:00
Viktor Scharf 02f94605f6 add more CORS tests (#8254) 2024-01-24 18:28:47 +00:00
kobergj d736605d68 move nats authentication to natsjsregistry package (#8281)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 16:18:19 +00:00
Ralf Haferkamp 2dbc89f2d8 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 16:06:55 +00:00
Michael Barz 330373bf50 tests: fix test expectations for cors (#8279) 2024-01-24 15:57:34 +00:00
Jörn Friedrich Dreyer 46ac59572b it is called traceProvider (#8280)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-24 15:38:39 +00:00
Andre Duffeck e0ada30cd0 Merge pull request #8278 from aduffeck/bump-reva-6eec40
[full-ci] Bump reva
2024-01-24 14:51:32 +00:00
Sawjan Gurung 551faee7ca add test coverage for checking file versions after multiple restores (#8188) 2024-01-24 11:30:05 +00:00
kobergj 3624a9a371 Merge pull request #8236 from kobergj/FixNatsAuthentication
[full-ci] Fix nats authentication & Improvements
2024-01-24 10:20:58 +00:00
Prajwol Amatya f637372992 added test to reshare resources to other users SharingNg (#8275) 2024-01-24 10:03:56 +00:00
Roman Perekhod a5ac0e95c2 Merge pull request #8269 from 2403905/issue-8255
[full-ci][bump reva] fix race in a publicshare manager
2024-01-24 09:20:31 +00:00
Viktor Scharf 6b07a17612 [test-only] Add grafana link to CI (#8268)
* add grafana link to CI

* Update .drone.star

* Update .drone.star
2024-01-24 08:47:03 +00:00
Prajwol Amatya 75e587e525 added test to share resource to an already shared group (#8181) 2024-01-24 08:35:59 +00:00
dependabot[bot] 64e2b35b74 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 08:06:11 +00:00
dependabot[bot] a7f05e124d 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 08:04:54 +00:00
Prajwol Amatya 3801288bff added test to send share invitation to unknown group (#8175) 2024-01-24 06:34:11 +00:00
Sabin Panta f4944348d8 [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 04:31:26 +00:00
nirajacharya2 7163427a3f added tests for searching users by normal user (#8241) 2024-01-24 04:15:55 +00:00
nirajacharya2 3585c0bdf2 fixing incorrect json format for json assertion steps (#8265) 2024-01-24 04:15:37 +00:00
ownClouders 5ca9192d03 [tx] updated from transifex 2024-01-24 00:49:11 +00:00
Michael Barz 3920892898 Automated changelog update [skip ci] 2024-01-24 00:48:22 +00:00
Michael Barz f7314559f5 Merge pull request #8264 from owncloud/dragonchaser/bump-reva
[full-ci] Continuation of Dragonchaser/bump reva
2024-01-23 09:02:04 +00:00
Prarup Gurung 157c49f8d0 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 06:52:03 +00:00
Sawjan Gurung 149acb9c88 extend test coverage for replacing file with zero-byte file (tus upload) (#8105) 2024-01-23 00:51:21 +00:00
Sawjan Gurung 6976483268 extend test coverage for replacing file with zero-byte file (tus upload) (#8105) 2024-01-22 14:20:22 +00:00
Ralf Haferkamp ba3587e632 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 13:08:00 +00:00
dependabot[bot] 670c11d2b3 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 10:12:08 +00:00
Andre Duffeck b3d97d8527 Merge pull request #8207 from aduffeck/bump-reva-bde86a
[full-ci] Bump reva
2024-01-22 09:31:32 +00:00
dependabot[bot] 983b223e8f build(deps): bump go.opentelemetry.io/contrib/zpages
Bumps [go.opentelemetry.io/contrib/zpages](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/zpages
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 09:21:34 +00:00
kobergj 633cccf54c Merge pull request #8251 from owncloud/fix-docs-proxy
[docs-only] Fix proxy debug env name
2024-01-22 00:18:23 +00:00
kobergj 7f56f824ab Merge pull request #8251 from owncloud/fix-docs-proxy
[docs-only] Fix proxy debug env name
2024-01-21 00:18:44 +00:00
kobergj 42f324738b Merge pull request #8251 from owncloud/fix-docs-proxy
[docs-only] Fix proxy debug env name
2024-01-20 00:54:00 +00:00
kobergj e6eb6572e9 Merge pull request #8251 from owncloud/fix-docs-proxy
[docs-only] Fix proxy debug env name
2024-01-19 09:40:41 +00:00
Sawjan Gurung f4973f5608 [tests-only][ci] split large API test suites (#8212)
* split large API test suites

* remove 30s sleep

* organize core-api test suites

* organize core-api test suites

* divide into 9 pipelines

* organize core-api test suites

* organize api-search suites

* organize api-search suites

* fix config file
2024-01-19 09:35:18 +00:00
kobergj 62ad9a4ca6 Merge pull request #7893 from owncloud/fix-policies-jwt-config
remove jwt config from policies after #7672
2024-01-19 08:07:35 +00:00
Ralf Haferkamp d4c4f069c5 graph/sharedWitMe: fix response for shares from project space
Resources on project space do not have a real owner assigned. A special
of the type USER_TYPE_SPACE_OWNER is returned as the owner. This type of
user can't be looked up via a GetUser request. So we skip that call for
this usertype.

This also fixes the behavior of 'sharedWithMe' for case when the owner
or creator of a share or shared resource can't be looked up in the 'users'
service. Previously cause the complete request to fail with an error message.
So a single share with an unresolvable owner caused 'sharedWithMe' to fail.
Now we log a warning but return all shares. Those where the owner or creator
couldn't be resolved will have the 'displayName' field of the user in the
'remoteItem.shared.owner' or 'remoteItem.shared.sharedBy' property left
empty.

Fixes: #8215
Fixes: #8027
2024-01-19 08:04:36 +00:00