Commit Graph

1892 Commits

Author SHA1 Message Date
ownClouders
c196734829 [tx] updated from transifex 2023-11-29 01:29:44 +00:00
Florian Schade
ad06a192d8 enhancement: add graph beta listPermissions endpoint (#7753)
* enhancement: add graph beta listPermissions endpoint

besides the new api endpoint it includes several utilities to simplify the graph api development.

* resolve drive and item id from the request path
* generic pointer and value utilities
* space root detection

* update GetDriveAndItemIDParam signature to return a error

* move errorcode package

* enhancement: add generic error code handling

* fix: rebase
2023-11-28 17:06:04 +01:00
Michael Barz
eb6ec1311a chore: update libregraph api again 2023-11-28 14:56:12 +01:00
Michael Barz
ce705bc6c8 style: refactor test code 2023-11-28 14:56:12 +01:00
Michael Barz
2ca74a0e9a fix: incorporate code review 2023-11-28 14:56:12 +01:00
Michael Barz
061bde54b5 test: adapt test expectation 2023-11-28 14:56:12 +01:00
Michael Barz
2991e4a19b fix: fix error code handling 2023-11-28 14:56:12 +01:00
Michael Barz
53f2fd396f test: add more integration tests for create link 2023-11-28 14:56:12 +01:00
Michael Barz
d723ce51f2 test: add unit tests for linktype pkg 2023-11-28 14:56:12 +01:00
Michael Barz
434705cf2b fix: fix the config to delete public links on expiry 2023-11-28 14:56:12 +01:00
Michael Barz
5f70d8a303 test: add integration tests for create link handler 2023-11-28 14:56:12 +01:00
Michael Barz
c035fc80a9 feat(api): add new sharing NG create link feature 2023-11-28 14:56:12 +01:00
Michael Barz
02c6e8f4b8 feat: add new linktpe pkg 2023-11-28 14:56:12 +01:00
Michael Barz
2668ca664a feat: add new error code type 2023-11-28 14:56:12 +01:00
Christian Richter
2811a018cf Merge pull request #7804 from dragonchaser/ocis-7768-geogebra-thumbnails
Ocis 7768 geogebra thumbnails
2023-11-28 10:46:53 +01:00
Christian Richter
ba5a050ab8 incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-28 09:53:23 +01:00
Ralf Haferkamp
4a94388a25 graph: Add delete permission endpoint
Allows the owner to remove permissions of a driveItem (i.e. to delete a
share). For now this does not work for "link" permission (i.e. public
shares)
2023-11-27 16:52:15 +01:00
Christian Richter
f3ed5ad696 add audio tests
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-27 16:26:02 +01:00
Christian Richter
497ae281ea add tests
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-27 15:31:38 +01:00
Christian Richter
c9f6b961f9 Add geogebra previews
Co-authored-by: Florian Schade <fschade@owncloud.com>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-27 15:31:38 +01:00
Christian Richter
1713041e14 Add skel for preview generator for ggs
Co-authored-by: Ralf Haferkamp <rhafer@owncloud.com>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-27 15:31:38 +01:00
Christian Richter
103377e12f add types to web and thumbnailer
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-27 15:31:38 +01:00
ownClouders
3ecdeab406 [tx] updated from transifex 2023-11-26 00:55:52 +00:00
kobergj
9057d231a8 fix search service startup (#7795)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-24 08:35:10 +01:00
Florian Schade
170021a38e chore: go version bump to 1.21 2023-11-23 14:52:01 +01:00
Florian Schade
40d356c56b enhancement: make use of unifiedrole from the graph invitation endpoint, applying multiple roles works and result in a merged cs3 permission set (#7751) 2023-11-23 14:18:03 +01:00
Jannik Stehle
8ee03101c0 feat: add a config for default link permissions (#7783)
* feat: add a config for default link permissions

* Update services/frontend/pkg/config/config.go

---------

Co-authored-by: Martin <github@diemattels.at>
2023-11-23 07:59:31 +01:00
Ralf Haferkamp
6ac5ac534d Update wrapper and mocks for go-ldap 3.4.6 2023-11-22 15:12:39 +01:00
Christian Richter
1cdd839fc7 add form mime type
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-22 11:37:53 +01:00
dependabot[bot]
90f186a3d0 Bump cldr from 7.4.1 to 7.5.0 in /services/idp
Bumps [cldr](https://github.com/papandreou/node-cldr) from 7.4.1 to 7.5.0.
- [Changelog](https://github.com/papandreou/node-cldr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/papandreou/node-cldr/compare/v7.4.1...7.5.0)

---
updated-dependencies:
- dependency-name: cldr
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-22 11:15:12 +01:00
Christian Richter
e48e9cbfbf Merge pull request #7739 from dragonchaser/ocis-5486-filter-displayName
add user filter startsWith and contains
2023-11-22 10:03:22 +01:00
ownClouders
56a27f63e7 [tx] updated from transifex 2023-11-22 07:48:22 +00:00
Benedikt Kulmann
5b549d15a5 Merge pull request #7754 from owncloud/add-languages
feat: add more accepted languages
2023-11-22 06:49:41 +01:00
Jannik Stehle
f47a6b4213 Merge pull request #7773 from owncloud/bump-web-to-8.0.0-alpha.10
chore: bump web to v8.0.0-alpha.10
2023-11-21 18:35:14 +01:00
Jannik Stehle
bc838cc5d4 chore: bump web to v8.0.0-alpha.10 2023-11-21 17:44:01 +01:00
Roman Perekhod
7175316292 fix the tgz mime type, bump reva 2023-11-21 17:33:52 +01:00
Jannik Stehle
a1c4912600 feat: add and adjust configs for Web embed mode (#7766)
* feat: add and adjust configs for embed mode

* Update services/web/pkg/config/options.go

Co-authored-by: Martin <github@diemattels.at>

* docs: adjust description for WEB_OPTION_EMBED_TARGET

---------

Co-authored-by: Martin <github@diemattels.at>
2023-11-21 15:53:22 +01:00
kobergj
c666066b40 Merge pull request #7771 from kobergj/DocumentProxyRoutes
[docs-only] Add documentation for proxy routes
2023-11-21 15:50:13 +01:00
jkoberg
3890b4a4be add documentation for proxy routes
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-21 15:31:32 +01:00
Dominik Schmidt
ca128c2d6b feat: Add parentitemid to FileReadyEvent 2023-11-21 12:19:36 +01:00
Benedikt Kulmann
bd219cad88 feat: add more accepted languages
Adding languages to the list of accepted languages which have 70% or
more translation coverage in transifex + swedish by request of a
community member who promised to help with translations.
2023-11-21 06:31:57 +01:00
Benedikt Kulmann
3cf1163d05 revert: don't make loadUserInfo configurable because web disabled it
Refs: 3eb1f18
2023-11-21 06:19:50 +01:00
Christian Richter
06a66e8aa0 add user filter startsWith and contains
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-20 20:10:39 +01:00
Jannik Stehle
a3e1406829 chore: bump web to v8.0.0-alpha.9 2023-11-18 08:21:39 +01:00
ownClouders
6bf16da95d [tx] updated from transifex 2023-11-18 00:54:53 +00:00
Florian Schade
ad57d59738 enhancement: add graph invite endpoint (#7687) 2023-11-17 16:36:54 +01:00
kobergj
84fd802952 Merge pull request #7741 from kobergj/ProxyAllowAddingAdditionalRoutes
Allow configuring custom proxy routes
2023-11-17 15:49:45 +01:00
Ralf Haferkamp
9303cdece7 graph: Set roles/actions in sharedByMe response (#7703)
* unifiedrole: Add CS3ResourcePermissionsToLibregraphActions

Add function to convert CS3ResourcePermsissions to libregraph actions

* unifiedrole: Fix strings for the UnifiedRoleConditionSelf

The "Self/Owner/Grantee" string are not part the the constraint value

* graph: Move getRoleDefinitionList to unifiedrole module

rename it to GetBuiltinRoleDefinitionList and make it public

* graph: turn libregraph resource actions into string constants

* graph/sharedbyme: Set the correct roles (or actions) on permissions

Try to map CS3 resource permissions on a share to one of the default libregraph
UnifiedRoleDefinitions. If a match if found return the roleid in 'permissions.roles'
attribute of the response. If no match if found convert the
ResourcePermissions in to `libre.graph.permissions.actions` and return
those in the response.
2023-11-17 15:41:24 +01:00
Roman Perekhod
8a6464798f fix last month search 2023-11-17 10:04:55 +01:00
jkoberg
69a2da889a allow configuring addtional proxy routes
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-17 09:20:10 +01:00