Commit Graph

607 Commits

Author SHA1 Message Date
Ralf Haferkamp c425c173c4 Fix capitalization of 'name' property in tests 2024-05-30 11:05:29 +02:00
Prarup Gurung 5327f90712 Used expirationDateTime key for graph api (#9278) 2024-05-30 11:05:29 +02:00
Jörn Friedrich Dreyer 7b47d55837 Merge pull request #9149 from owncloud/correct-servicenames
fix service names for userlog, graph, invitations, sse and web
2024-05-24 10:40:31 +02:00
ownClouders 088f04eee0 [tx] updated from transifex 2024-05-24 00:41:58 +00:00
Roman Perekhod 434141d6fb Merge pull request #9197 from 2403905/issue-8876
fix the status code for multiple mount and unmount share
2024-05-23 09:07:27 +02:00
ownClouders 40e06135e8 [tx] updated from transifex 2024-05-23 00:44:58 +00:00
ownClouders bac37771e2 [tx] updated from transifex 2024-05-22 00:43:57 +00:00
Ralf Haferkamp 72a6ea3cfa fix(graph): Fix tests after Uploader Role changes 2024-05-21 16:48:17 +02:00
Benedikt Kulmann 21a9992980 feat: add image and photo metadata to search (#8504)
* feat: add image and photo metadata to search
2024-05-21 10:21:15 +02:00
Roman Perekhod 8d30bd59f1 fix the status code for multiple mount and unmount share 2024-05-17 15:43:46 +02:00
Alex 9406da351b Fix typo in password.go (#9177)
* Fix typo in password.go
2024-05-15 15:07:27 +02:00
Jannik Stehle 779bf33fcc refactor: rename GetShares to GetSharesForResource
Rename this method to make more clear what it is about.
2024-05-14 10:30:42 +02:00
Jannik Stehle e74d041b72 tests: add unit tests for getting drive items via id 2024-05-14 10:30:42 +02:00
Jannik Stehle 4404235efa feat: add endpoint for getting drive items via id 2024-05-14 10:30:42 +02:00
Florian Schade e48ac55034 fix: provide more tests for the update drive endpoint, it now also considers regular error cases 2024-05-14 10:30:42 +02:00
Florian Schade 9e6bf2af3c enhancement: return a drive item from the update share drive item api endpoint 2024-05-14 10:30:42 +02:00
Florian Schade 5b4e83c9bf enhancement: use error codes in the drive item api 2024-05-14 10:30:42 +02:00
Florian Schade 4841240bff enhancement: add get share service method 2024-05-14 10:30:42 +02:00
Ralf Haferkamp eace09ca05 graph: Allow to set the identities property on users
Previously we only allowed setting the "identities" property on education users.
This changes move the related code to the main user object.
2024-05-13 17:22:37 +02:00
Jörn Friedrich Dreyer 799b12b8dd fix service names for userlog, graph, invitations, sse and web
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-13 17:04:01 +02:00
ownClouders 22a7ee7545 [tx] updated from transifex 2024-05-04 00:07:01 +00:00
ownClouders 947c56196c [tx] updated from transifex 2024-05-03 00:07:35 +00:00
ownClouders 3309b9c93c [tx] updated from transifex 2024-05-01 00:42:11 +00:00
Thomas Müller a8cbc612cc chore: remove unused return value from BindSourcesToStructs (#9033) 2024-04-30 18:18:31 +02:00
Jannik Stehle 57b63a3318 Merge pull request #8954 from fschade/graph-permission-c-time
enhancement: inject the creation time into sharing permissions
2024-04-29 17:43:22 +02:00
Jörn Friedrich Dreyer 32e44a9fdc Merge pull request #8989 from owncloud/log-and-trace-fixes
log and trace fixes
2024-04-29 17:13:52 +02:00
Jannik Stehle 1aeb30193a feat: add secure view share role
Adds a new share role "Secure View". This role is applicable for files, folders and spaces and only allows viewing them (and their content).
2024-04-29 09:42:31 +02:00
Jörn Friedrich Dreyer e41472234f log and trace fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-04-26 17:03:49 +02:00
Thomas Müller bdbba929d0 feat: add CSP and other security related headers in the oCIS proxy service (#8777)
* feat: add CSP and other security related headers in the oCIS proxy service

* fix: consolidate security related headers - drop middleware.Secure

* fix: use github.com/DeepDiver1975/secure

* fix: acceptance tests

* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Florian Schade f34bb510b0 enhancement: inject the creation time into sharing permissions 2024-04-25 11:54:54 +02:00
jkoberg 17f213d7d4 fix initiatorids for graph events
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-23 15:06:23 +02:00
Florian Schade b8ed049487 Enhancement: Ability to Change Share Item Visibility in Graph API (#8750)
* Enhancement: Ability to Change Share Item Visibility in Graph API

Introduce the `PATCH /graph/v1beta1/drives/{driveID}/items/{itemID}` Graph API endpoint which allows updating individual Drive Items.

* fix: failing tests

* fix: consider siblings when updating shares

* fix: reduce sharing service provider interface
2024-04-22 17:24:45 +02:00
Roman Perekhod cd539311a5 fix unmount item from share 2024-04-15 14:43:13 +02:00
ownClouders 2ce8b84452 [tx] updated from transifex 2024-04-13 01:21:30 +00:00
Jörn Friedrich Dreyer 7a635738fa always use error interface when returning errors (#8816)
* always use error interface when returning errors

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

* fix: use non pointer Error

* fix: errorcode evaluation

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Florian Schade <f.schade@icloud.com>
2024-04-12 10:30:49 +02:00
Ralf Haferkamp 9ca9b78b2b fix(sharing-ng): Adapt role conditions to match resource types
This switches our hardcode unfied role conditions to better reflect what
we're actually using them before. The new conditions also allow to differentiate
between roles elgitible for files, folders or drive roots.
Which means that the `/permissions` endpoint is now able to populate the
`roles.allowedValues` field with the correct roles for type of the resource
it is called for.

Fixes: #8331
2024-04-12 10:09:13 +02:00
Ralf Haferkamp fe6986ec79 cleanup(graph): remove some resharing leftovers 2024-04-12 10:09:13 +02:00
ownClouders 01c2d9810a [tx] updated from transifex 2024-04-12 01:22:48 +00:00
jkoberg c1b28d4e18 enhancement(graph): improve translation context string
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-11 09:13:00 +02:00
Roman Perekhod 78d69e155c Merge pull request #8817 from 2403905/issue-8724
fix creating the drive item
2024-04-10 12:58:58 +02:00
Roman Perekhod 207b1acdc1 fix creating the drive item 2024-04-10 12:09:22 +02:00
Jörn Friedrich Dreyer a0b107009f Merge pull request #8578 from owncloud/next-before-making-calls
always select next before making calls
2024-04-10 09:46:31 +02:00
ownClouders 6f008307b2 [tx] updated from transifex 2024-04-10 00:43:30 +00:00
Jörn Friedrich Dreyer 6f897efbc1 actually return the error
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-04-09 17:30:14 +02:00
Jörn Friedrich Dreyer d9c9650afd always select next before making calls
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-04-09 16:10:50 +02:00
Roman Perekhod 38f9698973 fix removing groups from space 2024-04-09 09:34:18 +02:00
Ralf Haferkamp 80ef8ca458 fix(sharing-ng): Fix setPassword call for spaceroot
Requests to /raph/v1beta1/drives/{driveid}/root/permissions/{permissionid}setPassword
were rooted to the wrong method.
2024-04-08 12:33:26 +02:00
ownClouders 581d4b417e [tx] updated from transifex 2024-04-08 00:06:30 +00:00
Jörn Friedrich Dreyer 8c56103f04 Merge pull request #8762 from kobergj/RemoveResharing
[full-ci] Remove Resharing
2024-04-05 11:42:17 +02:00
jkoberg b174b005e7 remove resharing
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-05 10:19:14 +02:00