Commit Graph

15909 Commits

Author SHA1 Message Date
nirajacharya2
4bea4357a9 Added test for sharingNg for endpoint sharedByMe (#8311)
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>

Added tests for list shared by me

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

adding test for updating permission of a share

Co-authored-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-02-02 17:50:41 +05:45
Christian Richter
152180299e Merge pull request #8353 from dragonchaser/add-new-var-list
[docs-only] Add new variable delta list between 4.0.5 and 5.0.0-rc1
2024-02-02 11:37:26 +01:00
Christian Richter
c11bc458bc Add new variable delta list between 4.0.5 and 5.0.0-rc1
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-02-02 11:26:53 +01:00
Prarup Gurung
20be508e75 Merge pull request #8347 from owncloud/add-more-coverage-for-invalid-roles
[full-ci] [tests-only] Added more test coverage for invalid roles
2024-02-02 15:12:16 +05:45
Michael Barz
f036454774 Automated changelog update [skip ci] 2024-02-02 09:22:47 +00:00
Michael Barz
e22dce40ff Merge pull request #8303 from owncloud/remove-spaces-config-options
fix: hardcode config for spaces which was not allowed to change
2024-02-02 10:22:00 +01:00
Prarup Gurung
40438ef1a7 Added more test coverage for invalid roles 2024-02-02 14:30:07 +05:45
Sagar Gurung
10aa33cf2a Added test for list shared by me when shared to group (#8345) 2024-02-02 14:16:20 +05:45
dependabot[bot]
ea1543bc49 build(deps): bump github.com/Nerzal/gocloak/v13 from 13.8.0 to 13.9.0
Bumps [github.com/Nerzal/gocloak/v13](https://github.com/Nerzal/gocloak) from 13.8.0 to 13.9.0.
- [Release notes](https://github.com/Nerzal/gocloak/releases)
- [Commits](https://github.com/Nerzal/gocloak/compare/v13.8.0...v13.9.0)

---
updated-dependencies:
- dependency-name: github.com/Nerzal/gocloak/v13
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-02 09:22:22 +01:00
Benedikt Kulmann
5484a4a6ed Automated changelog update [skip ci] 2024-02-02 05:18:27 +00:00
Benedikt Kulmann
5f7f57ab27 Merge pull request #8342 from owncloud/bump-web-8.0.0-rc.3
[full-ci] chore: bump web to v8.0.0-rc.3
2024-02-02 06:14:25 +01:00
Saw-jan
059a1fb507 ci: enable tika service for search e2e test suite 2024-02-02 09:52:59 +05:45
ownClouders
241b41848c [tx] updated from transifex 2024-02-02 01:10:41 +00:00
Benedikt Kulmann
c7ac641ef1 ci: adjust expected failures 2024-02-01 23:42:45 +01:00
Ralf Haferkamp
07860ef8e7 Fix some fallout of recent mockery changes (#8341)
* Fix mockery setup for graph service

Add missing interfaces to .mockery.yaml. Use existing mocks from protogen
where possible. Remove remaining //go:generate call.

* Add mockery config for settings service

* Add mockery config for proxy service
2024-02-01 21:09:01 +01:00
Benedikt Kulmann
c31b4546d4 chore: bump web to v8.0.0-rc.3 2024-02-01 16:39:48 +01:00
Ralf Haferkamp
ac5fe2d1a4 Adapted expected JSON schema in acceptance test for recent changes 2024-02-01 15:38:55 +01:00
Ralf Haferkamp
36eff3b280 graph/sharedWithMe: Fix 'createdBy' attribute for resources from project spaces
Don't return a meaningless userid anymore for shares created from files or directories
in a project space. These resources don't have a real owner.

Fixes: #8314
2024-02-01 15:38:55 +01:00
Ralf Haferkamp
a44cf4a6ea bump github.com/owncloud/libre-graph-api-go@main 2024-02-01 15:38:55 +01:00
Ralf Haferkamp
857125577f graph/sharedWithMe: return shares for the same resource as a single driveItem
- multiple shares for the same resource are now returned as a single driveItem
- the id for that driveItem is for now based on the resourceId of the shared item
  {sharesstorageproviderid}${sharejailid}!{resourceid of shared item}
- each share is exposed as a separate permission on the remoteId
- the permission now has an invitation property which provides the id of the creator
  of the share
- the client.synchronize flag is now exposed on the top-level driveitem. If at
  least on share of a resource is in accepted state the client.synchronize flag
  will be set to true.
- the UI.Hidden flag is now exposed on the top-level driveitem. If at least on
  share of a resource is marked as hidden the UI.Hidden flag will be set to
  true.
- the 'shared' property is no longer available (the relevant information from that
  moved to the 'invitation' property of the individual permissions.
2024-02-01 15:38:55 +01:00
Ralf Haferkamp
8e01d58909 graph/sharedWithMe: Adjust the driveItem's ID once more
In order to be able to group shares received for the same resource in a single driveItem
the driveItem's ID needs to be unrelated to the underlying shares' ids. We decided to base
it off of the shared resource's id (currently
{sharesstorageproviderid}${sharejailid}!{resourceid of shared item})
2024-02-01 15:38:55 +01:00
Prajwol Amatya
d05a5b4334 remove tests related to resharing (#8338) 2024-02-01 16:41:31 +05:45
Prarup Gurung
fbe1b4288b [tests-only] Add test to share resource inside of space (#8327)
* Added test to send share invitation with user for resource inside of project space

* Added test to send share invitation with group for resource inside of project space

* Addressed reviews
2024-02-01 16:40:45 +05:45
Sawjan Gurung
94a7f189e0 rename list shares step (#8337) 2024-02-01 16:40:29 +05:45
Sagar Gurung
6a30e9f4f8 Added tests list resources by me from project space (#8306) 2024-02-01 15:28:18 +05:45
Prarup Gurung
bebd62e1e7 Merge pull request #8326 from owncloud/add-test-to-share-deleted-resource
[tests-only] Add test to share deleted resource
2024-02-01 15:18:44 +05:45
Roman Perekhod
b667733e9d Merge pull request #8238 from 2403905/debug-image
added ability to debug the ocis in a docker compose stack via delve
2024-02-01 10:09:46 +01:00
Jörn Friedrich Dreyer
fad94d2038 bump mockery, add test stub for oidc_auth.go, align mock generation (#8321)
* bump mockery, add test stub for oidc_auth.go

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

* use .mockery.yaml for all mocks

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

* drop legacy go:generate mockery

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

* align mock placement

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

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-01 10:07:44 +01:00
Prarup Gurung
ba6b4ad269 Addressed reviews 2024-02-01 14:43:05 +05:45
Prarup Gurung
e42e0c2d6f Added test to send share invitation with group for deleted file 2024-02-01 14:43:05 +05:45
Prarup Gurung
743364403b Added test to send share invitation with user for deleted file 2024-02-01 14:43:04 +05:45
Sagar Gurung
1281a730e8 [tests-only] Added test for sharingNg for endpoint sharedByMe from personal space (#8285)
* Added tests to list shared by me resources

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

* Review address

---------

Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
2024-02-01 13:54:44 +05:45
dependabot[bot]
024e02be95 build(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.19.0...v2.19.1)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 18:13:00 +01:00
dependabot[bot]
b5e441c522 build(deps): bump github.com/CiscoM31/godata from 1.0.9 to 1.0.10
Bumps [github.com/CiscoM31/godata](https://github.com/CiscoM31/godata) from 1.0.9 to 1.0.10.
- [Release notes](https://github.com/CiscoM31/godata/releases)
- [Commits](https://github.com/CiscoM31/godata/compare/v1.0.9...v1.0.10)

---
updated-dependencies:
- dependency-name: github.com/CiscoM31/godata
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-31 18:11:56 +01:00
Roman Perekhod
f1ccaa7e98 added ability to debug the ocis in a docker compose stack via delve 2024-01-31 17:59:00 +01:00
Benedikt Kulmann
c37ef2b62b Automated changelog update [skip ci] 2024-01-31 14:03:18 +00:00
Benedikt Kulmann
7f2d2d2ca4 Merge pull request #7900 from brandon1024/idp-bg-config
feat(idp): support login page background configuration
2024-01-31 15:02:34 +01:00
Jörn Friedrich Dreyer
45d1936384 verify expiry of cached claims (#8310)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-31 14:58:18 +01:00
Prajwol Amatya
907a2d9c58 added test to share project space to a group (#8328) 2024-01-31 18:06:16 +05:45
Sawjan Gurung
08ab734119 fix share sub-folder test scenario (#8330) 2024-01-31 17:45:14 +05:45
Prajwol Amatya
95b6190ff0 [tests-only][full-ci] added test to share a disabled project space (#8319)
* added test to share a disabled project space

* added test to share deleted project space
2024-01-31 16:26:29 +05:45
nirajacharya2
a01475c41f using graph api to share in share with me test (#8323) 2024-01-31 14:05:35 +05:45
Jannik Stehle
58754f5312 Automated changelog update [skip ci] 2024-01-30 16:41:07 +00:00
Jannik Stehle
4814dc3d0c Merge pull request #8317 from owncloud/fix-concurrent-shares-config
fix: setting config for concurrent share requests
2024-01-30 17:40:33 +01:00
Nalem7
d73351af89 [tests-only][full-ci] Make graph api default in test (#8290)
* make graph api default in test

* skip quota test in reva
2024-01-30 17:14:56 +05:45
Sawjan Gurung
c8d102351e adjust MOVE tests (#8316) 2024-01-30 16:53:07 +05:45
Florian Schade
ac878e1399 fix: graph api sharing parentReference path (#8307)
* fix: graph api sharing parentReference path

* Update services/graph/pkg/service/v0/driveitems.go

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-30 12:01:54 +01:00
Jannik Stehle
1cb6467ac9 fix: setting config for concurrent share requests 2024-01-30 09:38:23 +01:00
Prajwol Amatya
b71cdd7004 added test to share space with different roles (#8304) 2024-01-30 13:57:03 +05:45
dependabot[bot]
fcd82619b3 build(deps): bump github.com/onsi/gomega from 1.31.0 to 1.31.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.31.0 to 1.31.1.
- [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.31.0...v1.31.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 09:11:16 +01:00