Commit Graph
422 Commits
Author SHA1 Message Date
Jörn Friedrich Dreyer d1fd65466f reuse default node id when registering services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:07:54 +02:00
ownClouders 4a6b0f04f6 [tx] updated from transifex 2024-07-24 04:33:21 +00:00
ownClouders 747f0f3f9f [tx] updated from transifex 2024-07-23 03:41:36 +00:00
ownClouders 6c82a6560b [tx] updated from transifex 2024-07-22 00:41:37 +00:00
Jannik Stehle 752c0df4e9 fix: missing invitation in permission responses
Fixes a bug where the `invitation` property is missing in the response when creating, listing or updating graph permissions.
2024-07-19 11:52:35 +02:00
Roman Perekhod 7f9e018c7c Fixed the channel lock in a workers pool 2024-07-18 15:33:50 +02:00
Ralf Haferkamp 26b4927ed8 Address go-vet reported issues
mainly "copylocks: return copies lock value" related things
2024-07-11 16:59:25 +02:00
Ralf Haferkamp ff6674f97b Fix fallout of reva bump
reva tries to avoid copying proto messages now. This changed some calls
to take pointers now (mainly e.g. FormatResourceId())
2024-07-11 15:21:56 +02:00
ownClouders aa6041abb6 [tx] updated from transifex 2024-07-04 00:07:14 +00:00
ownClouders 23ab60c24c [tx] updated from transifex 2024-07-02 04:03:21 +00:00
ownClouders 46c2d74260 [tx] updated from transifex 2024-07-02 00:05:09 +00:00
Jörn Friedrich Dreyer ab338884c6 rudimentary OCM support in graph
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-06-24 12:07:21 +02:00
Florian Schade 11fb3eb3c0 fix(sharing-ng): permission listings for personal and virtual drive items 2024-06-21 13:57:24 +02:00
Florian Schade 3280b22ffe enhancement: add error origin information to the errorcode package 2024-06-19 15:57:35 +02:00
ownClouders f74f656ba9 [tx] updated from transifex 2024-06-13 00:52:52 +00:00
Roman PerekhodandGitHub 457c0178b4 Merge pull request #9331 from 2403905/issue-9151
fixed the error translation from the statusCodeError type into a corresponding graph api  Error representation
2024-06-12 11:19:55 +02:00
ownClouders 50bed11e01 [tx] updated from transifex 2024-06-12 00:49:40 +00:00
Roman Perekhod eb95a2859d fixed the error translation from the statusCodeError type into a corresponding graph api Error representation 2024-06-11 22:42:45 +02:00
ownClouders c7b3940bf8 [tx] updated from transifex 2024-06-11 00:50:09 +00:00
Ralf HaferkampandRalf Haferkamp 254c9d7c26 graph: Address linting issues 2024-06-06 09:22:52 +02:00
Ralf HaferkampandRalf Haferkamp 184bd5d0d3 graph/users: use ListRoleAssignmentsFiltered when filtering by role
When filtering users by role-assignment we now use the new ListRoleAssignmentsFiltered
request to the settings service instead calling ListRoleAssignments for every single user.
This reduces the number of network roundtrips to the settings service to one (was one per
user before).

Related Issue: #8938
2024-06-06 09:22:52 +02:00
Ralf HaferkampandRalf Haferkamp 96e59598d3 graph/users: small optimization for filter by role queries
When filtering by role assignment we now populate the
'appRoleAssignments' property of the returned users when the incoming
request contained and '$expand=appRoleAssignments'. This avoids having
to query the role assignments for all users in the result set a second
time.
The effect of this optimization depends a lot on the actual setup. In
single binary all-in-one installations it is rather small (this it saves
quite a few CPU cycles). In distributed setup it should be larger as it
reduces the number of network round trips to the settings service
significantly.
2024-06-06 09:22:52 +02:00
Ralf HaferkampandRalf Haferkamp 1b47707e2f settings: Add spec and stubs for ListRoleAssignmentsFiltered request 2024-06-04 11:00:09 +02:00
Ralf HaferkampandRalf Haferkamp c425c173c4 Fix capitalization of 'name' property in tests 2024-05-30 11:05:29 +02:00
Prarup GurungandRalf Haferkamp 5327f90712 Used expirationDateTime key for graph api (#9278) 2024-05-30 11:05:29 +02:00
ownClouders 088f04eee0 [tx] updated from transifex 2024-05-24 00:41:58 +00:00
Roman PerekhodandGitHub 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
Benedikt KulmannandGitHub 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
AlexandGitHub 9406da351b Fix typo in password.go (#9177)
* Fix typo in password.go
2024-05-15 15:07:27 +02:00
Jannik StehleandRalf Haferkamp 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 StehleandRalf Haferkamp e74d041b72 tests: add unit tests for getting drive items via id 2024-05-14 10:30:42 +02:00
Jannik StehleandRalf Haferkamp 4404235efa feat: add endpoint for getting drive items via id 2024-05-14 10:30:42 +02:00
Florian SchadeandRalf Haferkamp 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 SchadeandRalf Haferkamp 9e6bf2af3c enhancement: return a drive item from the update share drive item api endpoint 2024-05-14 10:30:42 +02:00
Florian SchadeandRalf Haferkamp 5b4e83c9bf enhancement: use error codes in the drive item api 2024-05-14 10:30:42 +02:00
Florian SchadeandRalf Haferkamp 4841240bff enhancement: add get share service method 2024-05-14 10:30:42 +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
Florian SchadeandJannik Stehle f34bb510b0 enhancement: inject the creation time into sharing permissions 2024-04-25 11:54:54 +02:00
Florian SchadeandGitHub 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
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 HaferkampandRalf 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
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