Commit Graph

15925 Commits

Author SHA1 Message Date
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
dependabot[bot]
5264450c93 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 10:17:52 +01:00
Viktor Scharf
08f21787e2 Update release_template.md 2024-01-22 09:14:43 +01:00
kobergj
ad147818d2 Merge pull request #8251 from owncloud/fix-docs-proxy
[docs-only] Fix proxy debug env name
2024-01-19 10:36:56 +01:00
Sawjan Gurung
e07f4f0cb4 [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 15:16:19 +05:45
Michael Barz
60a67d7b0a Fix proxy debug env name 2024-01-19 10:29:33 +01:00
André Duffeck
077d0980ba Bump wopiserver to fix a problem with 0-byte uploads 2024-01-19 09:56:00 +01:00
kobergj
0c6ebfec7c Automated changelog update [skip ci] 2024-01-19 08:04:34 +00:00
kobergj
9aebca17f0 Merge pull request #7893 from owncloud/fix-policies-jwt-config
remove jwt config from policies after #7672
2024-01-19 09:03:45 +01:00
Ralf Haferkamp
109881c06f Automated changelog update [skip ci] 2024-01-19 08:02:12 +00:00
Ralf Haferkamp
0e1b5dd989 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 09:01:33 +01:00
Sagar Gurung
54a7da451f [tests-only][full-ci]Forward port setpassword and internallink (#8245)
* [tests-only][full-ci]Added test for banned password to create public link (#8194)

* Added test for banned password to create public link

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* review address

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* [tests-only][full-ci]Added type internal for share link (public) (#8210)

* Added type internal for share link (public)

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

* fix Ci fail

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-01-19 09:33:02 +05:45
ownClouders
e1c74f338f [tx] updated from transifex 2024-01-19 00:48:40 +00:00
jkoberg
f7865c0ec7 add changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-18 15:38:11 +01:00
Willy Kloucek
fb4213e75f remove jwt config from policies after #7672 2024-01-18 15:38:11 +01:00
nirajacharya2
448916a9dd [tests-only][full-ci] forward port user and group search tests (#8240)
* fixing json assertion for addUserToGroup.feature

* adding tests for searching groups as a normal user

* adding tests for searching user as a normal user

* fixing json assertion for removeUserFromGroup.feature

* fixing json assertion for listPermissions.feature
2024-01-18 15:14:10 +05:45
dependabot[bot]
fafe08e9b0 build(deps): bump github.com/onsi/gomega from 1.30.0 to 1.31.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.30.0...v1.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 09:41:39 +01:00
dependabot[bot]
575af0f858 build(deps): bump go.opentelemetry.io/otel/sdk from 1.21.0 to 1.22.0
Bumps [go.opentelemetry.io/otel/sdk](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/sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 09:02:16 +01:00
ownClouders
348ad20b32 [tx] updated from transifex 2024-01-18 00:49:12 +00:00
kobergj
9632a2bb1d Automated changelog update [skip ci] 2024-01-17 13:41:10 +00:00
kobergj
f56cf085a7 Merge pull request #8230 from kobergj/FixSearchPanic
Cleanup `search.go`
2024-01-17 14:40:31 +01:00
kobergj
903097ee28 Merge pull request #8228 from kobergj/UseProtoGetters
Cleanup `driveitems.go`
2024-01-17 14:40:17 +01:00
Christian Richter
c4a46315cf Merge pull request #8229 from dragonchaser/fix-ocis-path-in-docs
change ocis basepath from home to
2024-01-17 13:53:15 +01:00
jkoberg
b8b0d0b533 cleanup search/.../search.go
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-17 13:30:08 +01:00
jkoberg
a4d71134f5 remove unused parameter
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-17 13:21:28 +01:00
Christian Richter
aac3a772c5 add variable for defaultDataPath
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-17 13:18:04 +01:00
Christian Richter
7e750159ca change ocis basepath from home to
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-17 12:25:31 +01:00
jkoberg
386e37cbdc cleanup graph/.../driveitems.go
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-17 11:58:56 +01:00
Nalem7
d14935ad78 [tests-only][full-ci] Restructure the steps implementation for group delete to use graph API endpoint (#8006)
* remove ocs endpoint from delete group

* remove adminHasDeletedGroupUsingTheGraphApi

* adressing reviews
2024-01-17 15:42:31 +05:45
dependabot[bot]
0c2a5c6201 build(deps): bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.16.0 to 10.17.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.16.0...v10.17.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-17 10:20:07 +01:00
dependabot[bot]
8d7656207e build(deps): bump github.com/onsi/ginkgo/v2 from 2.13.2 to 2.14.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.13.2 to 2.14.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.13.2...v2.14.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-17 09:42:40 +01:00
Roman Perekhod
f1a6f228d8 Automated changelog update [skip ci] 2024-01-17 08:10:32 +00:00
Roman Perekhod
19d6be934b Merge pull request #8152 from 2403905/issue-7916-rework
rework disabling the password policy
2024-01-17 09:09:56 +01:00
André Duffeck
b758d2860e Automated changelog update [skip ci] 2024-01-16 15:54:58 +00:00
André Duffeck
599634148d Add changelog 2024-01-16 16:53:33 +01:00
Michael Barz
5b131b7571 Automated changelog update [skip ci] 2024-01-16 15:52:26 +00:00
Michael Barz
49d5748239 Merge pull request #8211 from 2403905/issue-8101
fix update and reset the logo
2024-01-16 16:51:49 +01:00
Andre Duffeck
dfd022e38b Merge pull request #8200 from aduffeck/improve-search-logging
Do not error-log when outdated resources can't be indexed anymore
2024-01-16 16:20:51 +01:00
Ralf Haferkamp
3cc485a0fc graph/sharewithme: add unit test for 'remoteitem.permissions' property 2024-01-16 15:09:27 +01:00
Ralf Haferkamp
2c161881ba graph/sharedWithMe: Fix 'parentReference' on 'driveItem'
The outer parentreference should refer to the drive containing the mountpoint.
In our case this is the storagespaceid of the virtual share jail.

Also 'CreatedBy' should be the same as on the wrapped remote item. Not the share creator.
2024-01-16 15:09:27 +01:00
Ralf Haferkamp
eab501f593 graph/sharedwithme: move flags from 'remoteItem' back into 'permissions' 2024-01-16 15:09:27 +01:00
Ralf Haferkamp
5bfc943a0c graph/sharedWithMe: Renable and adjust unit test for recent changes 2024-01-16 15:09:27 +01:00
Ralf Haferkamp
b5af346384 bugfix: graph/sharedWithMe fix shared.Owner property
The value of driveItem.remoteItem.shared.Owner should match the owner property
of the received share not the owner property of the resourceInfo.
2024-01-16 15:09:27 +01:00