Commit Graph

1951 Commits

Author SHA1 Message Date
dependabot[bot]
1788e1735c build(deps-dev): bump resolve from 1.22.4 to 1.22.8 in /services/idp
Bumps [resolve](https://github.com/browserify/resolve) from 1.22.4 to 1.22.8.
- [Commits](https://github.com/browserify/resolve/compare/v1.22.4...v1.22.8)

---
updated-dependencies:
- dependency-name: resolve
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 09:04:57 +01:00
ownClouders
c9dfc3f313 [tx] updated from transifex 2023-12-09 00:09:14 +00:00
Jannik Stehle
f5a4f12e1b chore: bump web to v8.0.0-alpha.13 2023-12-08 14:08:06 +01:00
Ralf Haferkamp
269ce605dd graph sharing: Implement UpdatePermissions
This is an initial implementation of PATCH support on drives/{driveid}/items/{itemid}/permissions/{id}.
It focusses on updating user shares for now. It's possible to update the
expirationDate, roles and/or libregraphResourceActions.
Updating the permissions of a space root or a public link share is currently
not implemeted.
2023-12-08 10:55:12 +01:00
Ralf Haferkamp
dbf23a9738 graph sharing: Properly dereference errorcode.Error before returning
Otherwise errorcode.RenderError() will not render the correct HTTP Status
2023-12-08 10:55:12 +01:00
Ralf Haferkamp
7b40fdcbf7 graph sharing: Add help to convert CS3 share to libregraph.Permission 2023-12-08 10:55:12 +01:00
Ralf Haferkamp
1ace257064 graph/groups: Allow unprivileged users to search for groups 2023-12-07 10:21:45 +01:00
Ralf Haferkamp
6fab0ad05a graph/users: Fix http status codes for unprivileged requests
Neither 'BadRequest' (as expected in the unit test) nor 'Unauthorized' (as expected
in the API tests) seem correct here. We're no returning 'Forbidden' when an unprivileged
users issues a GetUsers request that it is not allowed to perform.
2023-12-07 10:21:45 +01:00
Ralf Haferkamp
4cb6d99e88 graph/users: Make minimum search term length configurable 2023-12-07 10:21:45 +01:00
Ralf Haferkamp
20870380b1 graph/users: Return 'userType' for request from unprivileged users 2023-12-07 10:21:45 +01:00
Ralf Haferkamp
d0289694e4 graph/users: Add unittests for unprivileged user search 2023-12-07 10:21:45 +01:00
Ralf Haferkamp
795989e0aa graph/users: Use a full substring filter of user search
Previously we only did a prefix match.
2023-12-07 10:21:45 +01:00
Juan Pablo Villafáñez
6226598057 test: fix unit tests 2023-12-07 10:21:45 +01:00
Juan Pablo Villafáñez
d86352dccd feat: list users as regular user 2023-12-07 10:21:45 +01:00
ownClouders
8a18e91955 [tx] updated from transifex 2023-12-07 00:57:03 +00:00
kobergj
d0ca32c772 Merge pull request #7886 from owncloud/add-location-facet
Location Metadata
2023-12-06 15:47:23 +01:00
Dominik Schmidt
76753635fd feat(location): add driveItems test 2023-12-06 15:13:09 +01:00
Dominik Schmidt
7dd99cfa69 feat(location): add bleve test 2023-12-06 15:13:09 +01:00
Dominik Schmidt
7f83b5020d feat(location): add tika test 2023-12-06 15:13:09 +01:00
Dominik Schmidt
d9d1e96c82 fix: tests without initialized arbitrary metadata 2023-12-06 15:13:09 +01:00
Dominik Schmidt
4c27b365fa feat(graph): add location facet to driveItems 2023-12-06 15:13:09 +01:00
Dominik Schmidt
07edd1e23a chore(search): move audio metadata extraction in tika to dedicated method 2023-12-06 15:13:09 +01:00
Michael Barz
ca6d87103e feat: use global variables for password policy 2023-12-06 14:30:54 +01:00
Michael Barz
1f9c6d44b4 feat: improve expiration date handling 2023-12-06 12:16:14 +01:00
Michael Barz
6755aef725 feat(config): password policy and gateway addr 2023-12-06 12:16:14 +01:00
Michael Barz
0b7162204a feat: handle more status codes 2023-12-06 12:16:14 +01:00
Michael Barz
1fd3032f02 style: cleanup code style 2023-12-06 12:16:14 +01:00
Florian Schade
34f3ab66c1 feature: add beta drive listing endpoints to the graph api (#7861)
* feature: add beta drive listing endpoints to the graph api and hydrate them to contain the new grantedtoV2 property and use unified roles instead of the cs3 roles

* enhancement: make use of owner conditions for drive listing

* enhancement: provide GetDrivesV1Beta1 and GetAllDrivesV1Beta1 graph endpoint tests
2023-12-06 10:01:38 +01:00
Benedikt Kulmann
0668ccbcba chore: bump web to v8.0.0-alpha.12 2023-12-05 14:48:39 +01:00
Jörn Friedrich Dreyer
0ca6a6b70b drop unused reva config from postprocessing (#7672)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-12-05 12:28:45 +01:00
dependabot[bot]
1f1b0b4e94 build(deps): bump @adobe/css-tools from 4.3.1 to 4.3.2 in /services/idp
Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 11:25:52 +01:00
dependabot[bot]
ee30eceb5d Bump react-i18next from 12.3.1 to 13.5.0 in /services/idp
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 12.3.1 to 13.5.0.
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v12.3.1...v13.5.0)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-05 09:38:49 +01:00
Artur Neumann
fcd13cf9b8 return only single permission on link creation 2023-12-05 11:15:49 +05:45
Michael Stingl
62afc6e9b6 Merge pull request #7853 from owncloud/thumbnails-parameters
[docs-only] Adding thumbnail query parameters to thumbnail README.md
2023-12-04 17:43:59 +01:00
Michael Stingl
72825ddae4 Added scalingup thumbnail parameter
(used by web + iOS app)
2023-12-04 17:35:59 +01:00
Michael Stingl
478960455f Explain processor behavior
Based on:
https://pkg.go.dev/github.com/disintegration/imaging
2023-12-04 17:28:54 +01:00
Michael Stingl
a87eeda1cd clarify thumbnail processor default in table 2023-12-04 17:18:05 +01:00
Michael Stingl
ab9893bc46 clarified thumbnail “c” parameter 2023-12-04 17:01:30 +01:00
Artur Neumann
be6f691af3 Merge pull request #7876 from owncloud/return200OnCreateLink
return 200 and not 201 when creating sharing link
2023-12-04 18:58:19 +05:45
Michael Barz
659be90768 Merge pull request #7859 from owncloud/exctract-uploadsessionlister-interface
[full-ci] use UploadSessionLister interface
2023-12-04 14:03:29 +01:00
Artur Neumann
3f476680a3 return 200 and not 201 when creating sharing link 2023-12-04 17:41:05 +05:45
Jörn Friedrich Dreyer
23e59b5ded Parse role claims (#7713)
* extract and test role claim parsing

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add failing test

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* read segmented roles claim as array and string

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* reuse more code by extracting WalkSegments

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add TestSplitWithEscaping

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* docs and error for unhandled case

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add claims test

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add missing ReadStringClaim docs

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-12-04 12:18:52 +01:00
Jörn Friedrich Dreyer
a6a7c69e8f bump reva to use UploadSessionLister interface
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-12-04 10:52:41 +01:00
ownClouders
c8dc52cd61 [tx] updated from transifex 2023-12-04 06:01:51 +00:00
Jan
263cb21c24 Add config var UserListRequiresFilter (#7866)
* Add config var UserListRequiresFilter

* Fix whitespace

* Update options.go

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

---------

Co-authored-by: Martin <github@diemattels.at>
2023-12-01 13:30:46 +01:00
Christian Richter
fb514c2ff1 allow whitespaces in contains & startsWith Filter
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-12-01 11:28:40 +01:00
Jörn Friedrich Dreyer
d6cb6eeaa3 allow creating an upload session via graph (#7712)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-11-30 17:29:15 +01:00
Ralf Haferkamp
afb127090d graph sharing: delete link permission
Allow to delete link permissions (i.e. Public Shares)
2023-11-30 13:39:26 +01:00
Ralf Haferkamp
9d3523e310 graph/errocode: Rework FromCS3Status
The handling of 'error' has been moved from FromStat() to FromCS3Status().
It's generally useful for other users of FromCS3Status()
2023-11-30 13:39:26 +01:00
Ralf Haferkamp
faf0e242cd graph/errorcode: Map a few more CS3 status codes 2023-11-30 13:39:26 +01:00