Alex
e62ff11a0e
feat: adjust space template image to match brand color ( #1098 )
...
* feat: adjust space template image to match brand color
* temporally skip user-settings e2e tests
---------
Co-authored-by: Viktor Scharf <v.scharf@opencloud.eu >
2025-06-24 09:27:59 +02:00
06kellyjac
2a3a20693a
build: Modify mockery config to work with v3
...
Maintaining the positioning of the files from v2 to reduce cognitive
load.
Indentation of yaml files now matches `.editorconfig`.
All mock files regenerated.
Added empty `{}` following convention from `mockery init` etc.
Removed directory specification where it would already match.
2025-06-19 16:25:39 +01:00
Ralf Haferkamp
76b16765d8
cleanup: Avoid fetching group membership when not needed
...
Use the new GetUserNoGroups helper to lookup users without resolving
groupmemberships where possible.
Closes : #1005
2025-06-12 09:47:53 +02:00
Ralf Haferkamp
23c942fff0
graph: Add $filter to only list member permissions
...
Related Issue #485
2025-06-04 12:28:37 +02:00
Ralf Haferkamp
fdab4dd174
graph: Add support for counting permissions
...
To just get the number of permissions set on a share use:
`/drives/id/root/permissions?$count=true&$top=0`
Related issue: #485
2025-06-03 14:50:52 +02:00
Ralf Haferkamp
3569a36c1b
cleanup: Avoid nested if statment
...
Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com >
2025-06-03 09:02:56 +02:00
Ralf Haferkamp
79aa0c5340
graph: Remove $expand from POST/PATCH route for now
...
The ODATA spec is not exactly clear about the semantics here:
"The semantics of system query options applied to POST requests to
entity sets as well as all PATCH, PUT and DELETE requests are not
defined by this specification and are reserved for future versions."
And currently we don't really need that anyway.
2025-06-02 15:17:32 +02:00
Ralf Haferkamp
f1fb44946c
graph: Fix v1beta base path
2025-06-02 15:17:32 +02:00
Ralf Haferkamp
bfb99927ad
graph: Use existing helper to get $select values from request
2025-06-02 15:17:32 +02:00
Jörn Friedrich Dreyer
981e8fe5a3
do not automatically expand drive root permissions
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-06-02 15:17:32 +02:00
Florian Schade
f4d8e632fd
fix(graph-metadata): lazy cs3 metadata storage initialization
2025-05-27 16:18:20 +02:00
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
96684df32d
Adjust to new tablewriter release
2025-05-19 19:26:38 +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
Alex
38169e60ae
fix: show special roles at the end of the list ( #806 )
2025-05-10 11:23:01 +02:00
Ralf Haferkamp
95f28baa52
Use constant instead of repeating the "x-access-token" string over and over
2025-04-30 10:17:58 +02:00
Ralf Haferkamp
b41ff0f424
Remove duplicate reva/pkg/ctx import
2025-04-30 10:17:58 +02:00
Jörn Friedrich Dreyer
3c38a3e3ed
fix mockery warnings
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-04-29 11:01:17 +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
Michael Barz
22fb783724
test: extract go bin
2025-03-13 14:04:14 +01:00
Ralf Haferkamp
2678d0bb89
Bump mockery to 2.53.0
...
Should fix build on go1.24. Also fix ci-go-generate step in multiarch
Dockerfile.
Closes : #289
2025-03-03 16:02:59 +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
f3881661db
Remove deprecated config variables
...
'LDAP_USER_SCHEMA_DISPLAY_NAME' and 'CLIENTLOG_REVA_GATEWAY' are no
longer needed.
2025-02-24 11:57:44 +01:00
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
Ralf Haferkamp
6b08fa51ee
fixup! Bump go-ldap to latest release
2025-02-20 09:24:03 +01:00
Ralf Haferkamp
0d03092669
Bump go-ldap to latest release
...
To be able to build with latest reva again
2025-02-20 09:06:07 +01:00
Ralf Haferkamp
fc38c888d9
Fix unit test after demo user renaming
2025-01-29 11:59:06 +01:00
Ralf Haferkamp
734a1dc76b
Adjust educational LDAP Attribute and Objectclasses
...
This is largely untested and might need further adjustments, but should
be "good enough" to not block us for now.
2025-01-29 11:59:06 +01:00
Ralf Haferkamp
1c96633985
Adjust LDAP base DN in tests to dc=example,dc=org
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