Commit Graph

2120 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
bc48fbdf81 Deprecate sharing cs3 backends (#8478)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-19 12:49:08 +01:00
ownClouders
cc18f5c372 [tx] updated from transifex 2024-02-19 04:30:50 +00:00
ownClouders
e6e9e7a88c [tx] updated from transifex 2024-02-17 00:47:34 +00:00
Benedikt Kulmann
4a28cee0f7 chore: bump web to v8.0.0-rc.4 2024-02-15 21:16:45 +01:00
ownClouders
5911f354be [tx] updated from transifex 2024-02-15 01:15:35 +00:00
Sawjan Gurung
911754fd42 fix: bulky error message for invalid search request (#8444) 2024-02-13 15:58:26 +05:45
ownClouders
620195dfe0 [tx] updated from transifex 2024-02-13 06:54:04 +00:00
Ralf Haferkamp
3d3f8949f5 Bump mockery to 2.40.2
to address issues when building with go1.22:
https://github.com/vektra/mockery/pull/753
2024-02-09 11:48:45 +01:00
Roman Perekhod
fb5f29c537 fix the bug when the expiration dates can't be removed from link permissions 2024-02-09 10:38:40 +01:00
Roman Perekhod
17a799c1fa fix search response 2024-02-09 09:39:07 +01:00
ownClouders
9414f732d7 [tx] updated from transifex 2024-02-08 01:10:30 +00:00
Thomas Müller
b12cff1016 fix: properly check expiry and verify signature of signed urls (#8385)
fix: signed url expiry validation only checks for expiry and not for used before
2024-02-07 15:44:33 +01:00
jkoberg
6487ed7101 userlog: send only one SSEEvent per language
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-02-07 09:42:37 +01:00
Florian Schade
0fd7f50ccb enhancement: allow sending multiple userIDs in one SSE event 2024-02-07 09:42:37 +01:00
mmattel
6e721eb4f5 [docs-only] Fix envvar descriptions trailing a double dot 2024-02-06 11:52:10 +01:00
ownClouders
4d5490a601 [tx] updated from transifex 2024-02-03 00:37:35 +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
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
ownClouders
241b41848c [tx] updated from transifex 2024-02-02 01:10:41 +00: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
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
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
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
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
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
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
ownClouders
6f327fea06 [tx] updated from transifex 2024-01-30 00:36:38 +00:00
Christian Richter
2269d2cf27 change default for MaxConcurrency
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-01-29 14:22:26 +01:00
Benedikt Kulmann
76aa0a0182 fix: hardcode config for spaces which was not allowed to change 2024-01-29 10:34:46 +01:00
ownClouders
01d40c2783 [tx] updated from transifex 2024-01-28 00:36:58 +00:00
jkoberg
a9ce2e003c allow bulkrestarting postprocessing
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-26 15:22:48 +01:00
Florian Schade
63f244bd60 enhancement: add parent name and path to shared the shared by me endpoint (#8293) 2024-01-26 12:34:20 +01:00
Jörn Friedrich Dreyer
3ed0424735 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 09:21:32 +01:00
Jörn Friedrich Dreyer
48610091ad set size when starting an upload session via graph (#8288)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-25 22:00:12 +01:00
Ralf Haferkamp
da495fd306 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 17:03:00 +01:00
Ralf Haferkamp
d9fc4af575 graph/sharing: Add check for role conditions
Use the condition from the unifiedrole to check if the requested role
is actually applicable to the selected resource.

Fixes: #8131
2024-01-24 17:03:00 +01:00
Ralf Haferkamp
f38f940d22 graph/sharing: Fix role conditions for Space specific sharing roles
Co-Owner and Manager are space specific roles. They need the UnifiedRoleConditionOwner.
2024-01-24 17:03:00 +01:00
Jörn Friedrich Dreyer
ccfb9101de it is called traceProvider (#8280)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-24 16:34:58 +01:00
jkoberg
cec6ea50eb remove unused stat cache
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg
8e613bbe7a fix store ttl
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg
13bb2785d4 fix cache authentication
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:30 +01:00
jkoberg
10628f399d fix events authentication
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:09 +01:00
ownClouders
e5d910aceb [tx] updated from transifex 2024-01-24 00:44:59 +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
Michael Barz
60a67d7b0a Fix proxy debug env name 2024-01-19 10:29:33 +01: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