Ralf Haferkamp
109881c06f
Automated changelog update [skip ci]
2024-01-19 08:02:12 +00:00
Ralf Haferkamp and 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 and GitHub
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 and jkoberg
fb4213e75f
remove jwt config from policies after #7672
2024-01-18 15:38:11 +01:00
Nalem7 and GitHub
c5f768153a
[tests-only][full-ci] Restructure the steps implementation for group delete to use graph API endpoint ( #8006 ) ( #8227 )
...
* remove ocs endpoint from delete group
* remove adminHasDeletedGroupUsingTheGraphApi
* adressing reviews
2024-01-18 16:58:51 +05:45
Sagar Gurung and GitHub
7f85df579c
[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 >
2024-01-18 16:45:12 +05:45
Sagar Gurung and GitHub
f66128eca2
[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 >
2024-01-18 15:43:33 +05:45
nirajacharya2 and GitHub
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] and Ralf Haferkamp
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] and Ralf Haferkamp
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 and GitHub
f56cf085a7
Merge pull request #8230 from kobergj/FixSearchPanic
...
Cleanup `search.go`
2024-01-17 14:40:31 +01:00
kobergj and GitHub
903097ee28
Merge pull request #8228 from kobergj/UseProtoGetters
...
Cleanup `driveitems.go`
2024-01-17 14:40:17 +01:00
Christian Richter and GitHub
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
Michael Barz
f04a8fbfe2
Automated changelog update [skip ci]
2024-01-17 10:18:11 +00:00
Michael Barz and GitHub
95bc57f424
Merge pull request #8225 from owncloud/release-5.0.0-rc.2
...
[full-ci] Release 5.0.0 rc.2
2024-01-17 11:17:30 +01:00
nirajacharya2 and GitHub
ad2303b490
adding tests for searching user as a normal user ( #8094 )
2024-01-17 15:43:07 +05:45
Nalem7 and GitHub
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
Michael Barz
aced54ddc1
docs: fix changelog
2024-01-17 10:23:08 +01:00
dependabot[bot] and Ralf Haferkamp
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
Michael Barz
a717ff94da
feat: bump version
2024-01-17 10:18:05 +01:00
Michael Barz
4552acb935
docs: prepare changelog
2024-01-17 10:15:49 +01:00
dependabot[bot] and Ralf Haferkamp
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 and GitHub
19d6be934b
Merge pull request #8152 from 2403905/issue-7916-rework
...
rework disabling the password policy
2024-01-17 09:09:56 +01:00
nirajacharya2 and GitHub
97f2c8d354
adding tests for searching groups as a normal user ( #8096 )
2024-01-17 12:52:37 +05:45
Andre Duffeck and GitHub
7e18f96d87
Merge pull request #8220 from aduffeck/merge-master-b758d28-stable-5.0
...
Merge master b758d28 stable 5.0
2024-01-16 17:38:03 +01:00
André Duffeck
33a1f9bde2
Merge remote-tracking branch 'upstream/master' into merge-master-b758d28-stable-5.0
2024-01-16 16:57:36 +01:00
André Duffeck
b758d2860e
Automated changelog update [skip ci]
2024-01-16 15:54:58 +00:00
André Duffeck and Ralf Haferkamp
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 and GitHub
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 and GitHub
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
Michael Barz and GitHub
ee611d0cbe
Merge pull request #8214 from rhafer/stable-5-merge
...
Merge master into stable-5.0
2024-01-16 15:58:53 +01:00
Ralf Haferkamp
6f042b8bc2
Merge remote-tracking branch 'origin/master' into stable-5-merge
2024-01-16 15:11:21 +01:00
Ralf Haferkamp and Ralf Haferkamp
3cc485a0fc
graph/sharewithme: add unit test for 'remoteitem.permissions' property
2024-01-16 15:09:27 +01:00
Ralf Haferkamp and 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 and Ralf Haferkamp
eab501f593
graph/sharedwithme: move flags from 'remoteItem' back into 'permissions'
2024-01-16 15:09:27 +01:00
Ralf Haferkamp and Ralf Haferkamp
5bfc943a0c
graph/sharedWithMe: Renable and adjust unit test for recent changes
2024-01-16 15:09:27 +01:00
Ralf Haferkamp and 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
Ralf Haferkamp and Ralf Haferkamp
03e704c291
graph/sharedWithMe: Set the permission property only on the wrapped remoteItem
...
Sematically the outer driveItem shouldn't carryt the permission. It's the `remoteItem`
that reflects the grantee's permissions.
2024-01-16 15:09:27 +01:00
Ralf Haferkamp and Ralf Haferkamp
dd61270e7d
graph/sharedWithMe: separate method for converting CS3 share to libregraph
...
For readability and reduced complexity of the sharedWithMe method. It was getting
too large already.
2024-01-16 15:09:27 +01:00