Commit Graph

15285 Commits

Author SHA1 Message Date
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
Viktor Scharf 81ace6dd1d run k6 test in remote server nightly (#7869)
* run k6 test in remote server nightly

* fix pipeline

disable clone step

download script file

enable only for cron events

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-12-04 11:49:16 +01:00
ownClouders c8dc52cd61 [tx] updated from transifex 2023-12-04 06:01:51 +00:00
Swikriti Tripathi d37cea3a5e [tests-only][full-ci] tests: add api tests for deleting public link password (#7828) 2023-12-02 08:24:56 +05:45
Jan 829e0341af Automated changelog update [skip ci] 2023-12-01 12:31:35 +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 4670f03399 Merge pull request #7868 from dragonchaser/allow-spaces-in-filters
allow whitespaces in contains & startsWith Filter
2023-12-01 12:01:04 +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
Michael Stingl a7d2ef2507 Merge pull request #7649 from owncloud/example-deployment-keycloak-cyberduck
Add example config for 3rd party WebDAV client Cyberduck (and Mountain Duck)
2023-12-01 11:19:37 +01:00
Michael Stingl 7af9cd9e53 Add example config for 3rd party WebDAV client Cyberduck 2023-12-01 11:10:28 +01:00
nirajacharya2 26411f1f3b re runing ci (#7811)
Co-authored-by: Nalem7 <61624650+nabim777@users.noreply.github.com>
2023-12-01 14:02:39 +05:45
dependabot[bot] 39c874873d Automated changelog update [skip ci] 2023-12-01 00:53:21 +00:00
dependabot[bot] 8cd508660e chore(deps): bump github.com/coreos/go-oidc/v3 from 3.7.0 to 3.8.0
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc) from 3.7.0 to 3.8.0.
- [Release notes](https://github.com/coreos/go-oidc/releases)
- [Commits](https://github.com/coreos/go-oidc/compare/v3.7.0...v3.8.0)

---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-30 17:59: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
Ralf Haferkamp e63ce368ed Bump reva to latest edge
For https://github.com/cs3org/reva/pull/4366
2023-11-30 13:39:26 +01:00
Sabin Panta f280a00b7c adding skip on reva tag (#7856) 2023-11-30 17:56:35 +05:45
Christian Richter dba9771229 Automated changelog update [skip ci] 2023-11-30 12:04:22 +00:00
Christian Richter 45af862ee8 Merge pull request #7854 from dragonchaser/fix-name-filter-case-insensitive
make user filter contains and startsWith case insensitive
2023-11-30 13:03:48 +01:00
Benedikt Kulmann 029859c3cb Merge pull request #7852 from owncloud/bump-web-v8.0.0-alpha.11
chore: bump web to v8.0.0-alpha.11
2023-11-30 12:13:16 +01:00
Christian Richter 63973d2b26 make user filter contains and startsWith case insensitive
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-30 12:08:13 +01:00
Benedikt Kulmann f31906da47 feat: add and adjust configs for embed mode 2023-11-30 11:17:31 +01:00
Benedikt Kulmann cf82ed952d chore: bump web to v8.0.0-alpha.11 2023-11-30 09:59:22 +01:00
Artur Neumann eed474bec8 Merge pull request #7851 from owncloud/return200invite
return 200 on successful invite
2023-11-30 14:42:56 +05:45
Prajwol Amatya 12f416a18e add tests for search files using media type (#7836) 2023-11-30 12:42:32 +05:45
Artur Neumann 5ceeb5119b return 200 on successfull invite 2023-11-30 10:10:07 +05:45
Ralf Haferkamp cd704661f2 graph unit test: Use mocked identity backend in utils_test
This avoids running into the WaitForCA waitloop that is running in
with the default (LDAP) identity backend when starting up in a clean
environment.
2023-11-29 17:07:05 +01:00
Andre Duffeck 9be4a1fb22 Merge pull request #7843 from aduffeck/fix-wrapper-lockup
Read from stderr and stdout concurrently to prevent buffers from filling
2023-11-29 13:11:30 +01:00
André Duffeck 04cb96662c Read from stderr and stdout concurrently to prevent buffers from filling
Without this change the stdout buffer could fill up, causing writes to
stdout hang indefinitely.
2023-11-29 12:23:05 +01:00
Roman Perekhod 51e67ff021 Automated changelog update [skip ci] 2023-11-29 09:23:50 +00:00
Roman Perekhod 26627ab120 Merge pull request #7784 from 2403905/issue-7724
add banned password list to the default deployments
2023-11-29 10:23:03 +01:00
Swikriti Tripathi 0d9f676901 tests: refactor send profind request to space function (#7835) 2023-11-29 11:25:01 +05:45
Sabin Panta 4d14e048d9 added steps for group removal in provisioning.php files (#7380) 2023-11-29 10:35:55 +05:45
ownClouders c196734829 [tx] updated from transifex 2023-11-29 01:29:44 +00:00
Florian Schade 7e9a7e0247 Automated changelog update [skip ci] 2023-11-28 16:06:42 +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