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
ownClouders
75f3ac8ece
[tx] updated from transifex
2024-04-05 00:42:17 +00:00
Ralf Haferkamp
1a0276b2d5
fix(linter): Add missing comments to exported types and functions
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
82eef6937b
make the linter a bit happier
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
62dc3f4858
feat(graph): add more /<driveid>/root/ endpoints
...
This add support for the following graph routes:
POST /drives/{driveID}/root/createLink
DELETE /drives/{driveID}/root/permissions/{permissionID}
PATCH /drives/{driveID}/root/permissions/{permissionID}
and
POST /drives/{driveID}/root/permissions/{permissionID}/setPassword
This should significantly improve handling of permissions on spaces
as there is no need to figure to the drive's root itemid anymore.
Partial Fix : #8351
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
2d643219e3
refactor(graph): move CreateLink and SetPublicLinkPassword to the permissions service
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
8124024caf
refactor(graph): move UpdatePermission to the permissions service
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
09dac71781
refactor(graph): move DeletePermission deletion to the permissions service
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
57b70a08ee
feat(graph): add GET /drive/<id>/root/permissions suppport
...
Partial Fix : #8351
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
2a5b406963
refactor(graph): move "ListPermissions" to drive item permissions service
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
ae53a97cc0
refactor(graph): create BaseGraphService to provide common fields and methods
...
BaseGraphService is a struct to hold common fields and methods that can be
share between different service implementations. E.g. for converting CS3 objects
to their libregraph equivalents.
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
18d46c1416
feat(graph): add POST /drive/<id>/root/invite suppport
...
Partial Fix : #8351
2024-04-04 16:17:59 +02:00
Ralf Haferkamp
c6d28caa31
refactor(graph): move "Invite" to new drive item permissions service
...
This introduces the new DriveItemPermissionsService and DriveItemPermissionsApi to
allow for better separation of the business logic and the API handling.
As a starting point the Invite method was moved to the new service. More to follow.
2024-04-04 16:17:59 +02:00
Thomas Müller
07f0cd5574
fix: typos, naming clashes, error messages and deprecations
2024-04-03 15:34:36 +02:00
Christian Richter
6d8ff8ef47
incorporate requested changes
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-04-03 13:16:38 +02:00
Christian Richter
59fab4ae5a
filter user e-mail in graph/user requests
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-04-02 16:38:47 +02:00
kobergj
e2eed1a3ca
Merge pull request #8723 from kobergj/SpaceTemplatesII
...
Server-Side Space Templates
2024-03-28 11:56:15 +01:00
Jannik Stehle
035b34dff5
Merge pull request #8743 from owncloud/adjust-sharing-ng-role-names
...
refactor: adjust sharing ng role names and descriptions
2024-03-27 18:09:42 +01:00
Florian Schade
25b40cf7a3
fix: make use of ResourcePermissions getters
2024-03-27 16:02:44 +01:00
jkoberg
24b5f8547a
allow using custom lang for space templates
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-03-27 10:56:43 +01:00
Viktor Scharf
79c74711c4
[full-ci] Delete resharing tests ( #8704 )
...
* feat: disable resharing by default
delete re-sharing tests
* fix tests
---------
Co-authored-by: Michael Barz <mbarz@owncloud.com >
2024-03-27 10:30:25 +01:00