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
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
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
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
Florian Schade
cfba9f29cc
enhancement: make use uo remote item ui hidden and client synchronized
2024-01-16 15:09:27 +01:00
Florian Schade
b91bc535a8
enhancement: simplify sharedWithMe
...
- remove unnecessary stat for accepted items
- only display permission actions if the role cannot be resolved
- add permission user and group displayName
2024-01-16 15:09:27 +01:00
Florian Schade
0b796443f2
enhancement: add ui hidden and client synced prop
2024-01-16 15:09:27 +01:00
Florian Schade
8c6ba9c360
fix: shared with me listing
2024-01-16 15:09:27 +01:00
Florian Schade
842baaf10f
fix: bump libre-graph-api-go
2024-01-16 15:09:27 +01:00
Florian Schade
cf5f1bcb8e
fix: share jail usage for the listSharedWithMe endpoint
2024-01-16 15:09:27 +01:00
dependabot[bot]
fce4d19e3f
build(deps): bump github.com/nats-io/nats.go from 1.31.0 to 1.32.0
...
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go ) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/nats-io/nats.go/releases )
- [Commits](https://github.com/nats-io/nats.go/compare/v1.31.0...v1.32.0 )
---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-16 14:38:55 +01:00
Roman Perekhod
03f302227f
fix update and reset the logo
2024-01-16 13:05:15 +01:00
dependabot[bot]
81e000b987
build(deps): bump github.com/gookit/config/v2 from 2.2.4 to 2.2.5
...
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config ) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/gookit/config/releases )
- [Commits](https://github.com/gookit/config/compare/v2.2.4...v2.2.5 )
---
updated-dependencies:
- dependency-name: github.com/gookit/config/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-16 12:57:39 +01:00
Prajwol Amatya
2253096609
added test to send share invitation to user and group at once ( #8168 )
2024-01-16 09:07:59 +05:45
André Duffeck
4b89ede756
Do not error-log when outdated resources can't be indexed anymore
...
That's an expected, totally valid case
2024-01-15 14:46:39 +01:00
Roman Perekhod
b3b69581c4
rework disabling the password policy
2024-01-15 10:53:29 +01:00
dependabot[bot]
21e4b7d29a
build(deps): bump golang.org/x/oauth2 from 0.15.0 to 0.16.0
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.15.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-15 09:29:30 +01:00
dependabot[bot]
d54361bf9a
build(deps): bump golang.org/x/image from 0.14.0 to 0.15.0
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/image/compare/v0.14.0...v0.15.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-15 09:28:50 +01:00
Prajwol Amatya
2424525a58
added test to send share invitation to multiple groups at once ( #8167 )
2024-01-15 11:53:08 +05:45
ownClouders
f8b6582936
[tx] updated from transifex
2024-01-14 00:08:03 +00:00