Commit Graph

12049 Commits

Author SHA1 Message Date
Daniël Franke
49d71ea111 Make amount of users in patch configurable.
This PR changes the following:

* Create an API config section for API configurables.
* Add a setting `UserPatchLimit` that controls how many users can be changed in a PATCH request.
* Use this setting in the API to limit the amount of users that can be changed.
2023-01-10 11:45:24 +01:00
Martin
883d068b48 Merge pull request #5366 from kobergj/RemnantsOfRogueEnvs
[docs-only] Leftover fix
2023-01-10 11:09:44 +01:00
jkoberg
02d01c0684 leftover
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-10 11:03:42 +01:00
kobergj
80da186de5 Merge pull request #5364 from kobergj/RemnantsOfRogueEnvs
[docs-only] Remnants of Rogue Envvars
2023-01-10 10:41:25 +01:00
jkoberg
39a998a67a remove remnants of rogue notation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-10 10:17:25 +01:00
Ralf Haferkamp
4717248959 Simplify sort code a bit
Switch to sort.Slice() instead of sort.Sort(), which requires less
boilerplate.
2023-01-10 09:31:40 +01:00
dependabot[bot]
1ed52fb57f Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.7.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.5.0 to 2.7.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.5.0...v2.7.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-10 08:59:23 +01:00
Michael Barz
2489b67562 Merge pull request #5359 from owncloud/docs-api-auth
[docs-only] graph api authentication, edit link fixes
2023-01-09 15:55:38 +01:00
Jörn Friedrich Dreyer
bd12f1476c docs: graph api authentication, edit link fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-01-09 14:21:24 +00:00
Phil Davis
04dc17d863 Merge pull request #5356 from owncloud/portTestCreateTusResourseToMaster
ApiTest. Forward port - change test create new tus resource
2023-01-09 15:59:20 +05:45
Viktor Scharf
836c3d327a ApiTest. Change test create new tus resource (#5315) 2023-01-09 10:16:40 +01:00
Daniël Franke
6357a70318 Automated changelog update [skip ci] 2023-01-06 12:00:34 +00:00
Daniël Franke
f3924ca8c2 Disassociate users from schools on school delete. (#5343)
* Disassociate users from schools on school delete.

This PR alters the `DeleteEducationSchool` to also disassociate the
users that were associated with the to-be-deleted school.

* Add changelog.

* Remove punctuation from changelog.

* Remove redundant return statement.

* Skip when user not find.
2023-01-06 12:58:32 +01:00
Daniël Franke
aff568d0b8 Make identity errors public. (#5353)
This makes the identity errors public so other packages can match on them.

It also moves them to the same file as the interface, as that makes them more discoverable.
2023-01-06 12:04:38 +01:00
Artur Neumann
903610f8d5 Merge pull request #5349 from owncloud/tests/propfind-public-link-port
[tests-only][full-ci] Port PROPFIND tests to the master
2023-01-06 16:01:13 +05:45
Saw-jan
669f93b239 debug requests before sending 2023-01-06 15:21:22 +05:45
Martin
69e836a4db Complete description of STORAGE_USERS_DRIVER (#5345) 2023-01-06 10:34:41 +01:00
Saw-jan
613d41477b add PROPFIND tests to public link share 2023-01-06 15:01:18 +05:45
Jörn Friedrich Dreyer
d564851d47 Update ocis-local-docker.md (#5348) 2023-01-06 09:56:45 +01:00
Artur Neumann
562dea4547 Merge pull request #5328 from owncloud/tests/delay-postprocessing
[tests-only][full-ci] Add tests with explicit delay post-processing enabled
2023-01-06 13:41:23 +05:45
Saw-jan
6e68fae2c3 fix sendException logic 2023-01-06 12:21:19 +05:45
Saw-jan
aae418c2ab add test to PROPFIND folder 2023-01-06 11:47:35 +05:45
Saw-jan
d2ebb10339 refactor PROPFIND tests 2023-01-06 11:47:35 +05:45
Saw-jan
fc69534c73 fix expected failure file 2023-01-06 11:47:35 +05:45
Saw-jan
335144e50b add tests to check 425 too early behavior
add tests to check 425 too early behavior

add delay postprocessing suite pipeline

add step def
2023-01-06 11:47:35 +05:45
Erik Neubauer
c37d76ffbf Incorrect charts path
Path was incorrect
2023-01-05 17:28:24 +01:00
dependabot[bot]
da44b7fa5b Bump github.com/crewjam/saml from 0.4.6 to 0.4.9 (#5331)
Bumps [github.com/crewjam/saml](https://github.com/crewjam/saml) from 0.4.6 to 0.4.9.
- [Release notes](https://github.com/crewjam/saml/releases)
- [Commits](https://github.com/crewjam/saml/compare/v0.4.6...v0.4.9)

---
updated-dependencies:
- dependency-name: github.com/crewjam/saml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 17:16:33 +01:00
Daniel Swärd
a0e85386a4 Fixing linting error. 2023-01-05 11:42:39 +01:00
Daniel Swärd
80b8ce42f6 Update GetEducationSchoolUsers, AddUsersToEducationSchool, RemoveUserFromEducationSchool with schoolNumber. 2023-01-05 11:42:39 +01:00
Daniel Swärd
e0c6aa5c34 Modify DeleteEducationSchool for schoolNumber/id and remove old test 2023-01-05 11:42:39 +01:00
Daniel Swärd
3daf2c50b8 Modify GetEducationSchool to accept schoolNumber as well as id 2023-01-05 11:42:39 +01:00
Phil Davis
3214c4a9d5 Merge pull request #5340 from owncloud/adjust-expected-failures-links
[tests-only] [full-ci] Adjust expected-failures links to be consistent
2023-01-05 16:07:27 +05:45
Phil Davis
a343a6ec1e Adjust expected-failures links to be consistent 2023-01-05 15:03:39 +05:45
Phil Davis
a7113bb468 Merge pull request #5335 from owncloud/contract-test-public-link-master
[tests-only] [full-ci] Extended public link tests to have more checks
2023-01-05 14:45:40 +05:45
Swikriti Tripathi
eab79a427f Extended public link tests to have more checks 2023-01-05 13:39:16 +05:45
Phil Davis
5df888affd Merge pull request #5332 from owncloud/add-api-tests-public-link-folder-download-master
[tests-only] [full-ci] Add api tests public link folder download master
2023-01-05 13:34:41 +05:45
Swikriti Tripathi
03139c3ac2 get resource id as public 2023-01-05 12:58:17 +05:45
Swikriti Tripathi
ea9bf8d80b adress review 2023-01-05 12:58:17 +05:45
Swikriti Tripathi
2693161164 Address review 2023-01-05 12:58:17 +05:45
Swikriti Tripathi
d058278f44 fex style 2023-01-05 12:58:17 +05:45
Swikriti Tripathi
7dbfcf63e0 Adds api tests to download folder from public link 2023-01-05 12:58:17 +05:45
Phil Davis
2322d3a1d0 Merge pull request #5333 from owncloud/copyRequestTest-master
[tests-only] [full-ci] Apitest. check Copy response headers test
2023-01-05 12:56:26 +05:45
Viktor Scharf
1ff8665b78 fix after review 2023-01-05 12:15:56 +05:45
Viktor Scharf
e05dc0e57e add test 2023-01-05 12:14:25 +05:45
Phil Davis
c0674092d5 Merge pull request #5280 from owncloud/remove-ownCloud-core-test-dependency
[tests-only][full-ci] copy test dependencies from the ownCloud/core
2023-01-05 11:08:44 +05:45
Phil Davis
86814f737e Remove unused CORE_COMMITID from .drone.env 2023-01-05 09:28:59 +05:45
Phil Davis
e3ca20953c Remove unused core oC10 and parallel deploy drone starlark code 2023-01-05 09:28:03 +05:45
Saw-jan
0514ae1085 add missing helpers and context
remove core caching
2023-01-05 09:23:50 +05:45
Saw-jan
9231c7222d update expected failure list 2023-01-05 09:23:40 +05:45
Saw-jan
42fb4a68e4 fix: get test suites for core api tests
remove oc10 specific test suites

provide behat config with make command

fix typo

add missing helpers
2023-01-05 09:23:30 +05:45