Commit Graph
511 Commits
Author SHA1 Message Date
Ralf Haferkamp 45be2ef0d8 graph: Add more $select options to ListPermissions endpoint
Needed for: #485
2025-05-26 10:54:11 +02:00
Ralf Haferkamp 2e4f611d5b graph: Use godata Parser to parse query paramters in ListPermissions
Also add initial $select support to ListSpaceRootPermissions()
2025-05-26 10:54:11 +02:00
Florian Schade db7d0535f6 Merge pull request #864 from dragonchaser/add-profile-photo
Add profile photo
2025-05-26 10:27:19 +02:00
Florian Schade 93471b56dd enhancement(graph): check the received bytes content type for profile photos 2025-05-22 13:41:48 +02:00
Ralf Haferkamp 11ad5a64fa Merge pull request #898 from opencloud-eu/fix#368
always get the user email for admin user
2025-05-21 17:58:27 +02:00
Viktor Scharf 64abdad3d0 adjust unit tests 2025-05-21 17:13:06 +02:00
Florian Schade 6b7c004d0b fix(tests): fix nil pointer errors caused by the introduction of cs3 metadata storage 2025-05-21 13:51:51 +02:00
Ralf Haferkamp 00ff858f19 graph: move to reva's auto-reconnect LDAP client
To reduce code duplication
2025-05-20 17:44:27 +02:00
Florian Schade 250400639a enhancement: refine the profile photo service and introduce httpDataProviders which allows reusing the endpoints 2025-05-20 16:09:12 +02:00
Viktor Scharf 9499d84e78 always get the user email for admin user 2025-05-20 15:52:19 +02:00
Florian Schade eccc900918 feature: add profile photos graph service and api 2025-05-20 15:10:13 +02:00
Christian Richter 6e4cbf2230 add new function
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-05-20 15:10:13 +02:00
Christian Richter 9e7f4487ad fix wrong pointer
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-05-20 15:10:13 +02:00
Christian Richter 0f5855cef4 pass upload data to storageclient
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-05-20 15:10:13 +02:00
Christian Richter df93ea4649 begin implementation systemstorageclient
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-05-20 15:10:13 +02:00
Christian Richter 19c870425e add missing patch route
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-05-20 15:10:13 +02:00
Christian Richter a24ead6d20 support getting photos for other users
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-05-20 15:10:12 +02:00
Christian Richter e23b8f412b add skel for photos
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-05-20 15:10:11 +02:00
Ralf Haferkamp 3dc9c0cb9a Switch to opencloud-eu fork of libre-graph-api-go 2025-05-15 14:11:35 +02:00
Ralf Haferkamp 96cbff74b7 Fix unit test for latest godata release 2025-05-12 11:47:40 +02:00
Jörn Friedrich Dreyer 8c5af66b1f graph: reduce memory allocations
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-03-27 10:09:45 +01:00
André Duffeck 8b7f12126f Do not cache when there was an error gathering the data
Fixes #452
2025-03-24 15:12:30 +01:00
Jörn Friedrich Dreyer 5ee01dcd97 look up personal space for GDPR export
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-03-03 13:00:55 +01:00
Ralf Haferkamp fc38c888d9 Fix unit test after demo user renaming 2025-01-29 11:59:06 +01:00
Ralf Haferkamp 0716b40fa0 Adjust LDAP Schema for new name 2025-01-29 11:58:57 +01:00
Klaas Freitag 669ad7c769 Rename demo users
See https://github.com/opencloud-eu/internal/issues/42
2025-01-28 18:03:12 +01:00
André Duffeck e8d35e1280 Use the opencloud reva from now on 2025-01-21 11:16:38 +01:00
Ralf Haferkamp ceb5e92c28 Rebrand graph service
leaving out LDAP related stuff for now
2025-01-16 15:59:35 +01:00
Ralf Haferkamp 213e9663a9 Rename go-micro services 2025-01-16 09:45:46 +01:00
André Duffeck 8c8cdd9310 Adapt protobuf naming 2025-01-15 11:04:32 +01:00
Jörn Friedrich Dreyer b07b5a1149 use plain pkg module
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer 8e028f17e9 change module name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 09:58:18 +01:00
Roman Perekhod 6b3a4975c5 The graph drives invite response now includes the createdDateTime field 2024-12-17 19:25:24 +01:00
Ralf Haferkamp 565f58c68a fix(graph): Don't return OCM shares in the drives list
OCM shares don't have mountpoints currently. So they're no supposed
to show up in the drives list on the graph service.

Fixes: #10689
2024-12-04 14:48:56 +01:00
Jörn Friedrich Dreyer 9fea5c3002 graph concurrent share listing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-28 16:52:54 +01:00
Michael Barz bac2256c5f fix: fix deny access to prevent a regression 2024-11-25 11:32:31 +01:00
Jörn Friedrich Dreyer ff9d11ad1a reuse go-micro service clients
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-15 17:18:39 +01:00
kobergj 0b26d45a9b Merge pull request #10510 from rhafer/issue/10488
fix(graph/ocm): Fix ocm share creation when user is in cache
2024-11-07 18:11:31 +01:00
Ralf Haferkamp c463559ee7 fix(graph/ocm): Fix ocm share creation when user is in cache
Federated users are sharing the cache with regular users. So can't
we need to check the user type to determine if the user is federated.

Fixes #10488
2024-11-07 16:51:18 +01:00
Ralf Haferkamp 336d34821f fix(linter): Avoid copying protobuf messages
This shoud silence some linter warning about copying lock values.
2024-11-07 16:46:17 +01:00
Ralf Haferkamp 4792071d3d fix(graph): Use the correct opaqueId when Statting OCM shares
File shares need to use the base64 encoded path as the opaqueID, while
for folder shares the base64 encode '/' should work.

Fixes #10495
2024-11-07 16:41:04 +01:00
Michael Barz eb4a18685a Merge pull request #10287 from 2403905/issue-10051-items
forbid adding the federated users as members of the space via items invite
2024-10-16 20:54:19 +02:00
jkoberg c80254c4f1 feat(ocis): remove ocm store
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-15 17:24:51 +02:00
Roman Perekhod 3afc378ba9 forbid adding the federated users as members of the space via items invite 2024-10-14 19:56:52 +02:00
Jörn Friedrich Dreyer 9db7871f4c continue listing shares on error
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-04 15:44:10 +02:00
jkoberg 6e7bafb9e7 fix(graph): avoid panic when deleting ocm shares
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-02 11:24:56 +02:00
Jörn Friedrich Dreyer ecad57aa63 Merge pull request #10172 from owncloud/fix-sharejail-stat-id
[full-ci] bump reva to 02af5a266
2024-09-30 14:49:06 +02:00
Jörn Friedrich Dreyer 0f525e9575 use actual resource id from stat for tagging
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-09-30 13:13:55 +02:00
Roman Perekhod c6bbdaa23f We fixed the error code for ocm space sharing 2024-09-27 17:50:58 +02:00
Ralf Haferkamp 1d9182025d fix(graph): handle unknown remaining size in quota
In certain setups the storage is not able to report the remaining size of a space.
E.g. when no quota is set and the space is using the S3 blob storage drive. In this
case the graph API response will now not include the `remaining` properyt in the quota.

Fixes: #9245
2024-09-26 13:37:02 +02:00