Commit Graph

12078 Commits

Author SHA1 Message Date
Artur Neumann df0e6435ca Merge pull request #5383 from owncloud/tests/version-with-same-mtime-port
[tests-only][full-ci] Added tests for checking version of file uploaded with same mtime twice
2023-01-12 17:10:34 +05:45
Daniël Franke 8055996874 Test CreateUser (#5382)
This tests the CreateUser functions.

Fixes #5375
2023-01-12 09:42:05 +01:00
Sawjan Gurung 85d213a0ec [tests-only][full-ci] Added tests for checking version of file uploaded with same mtime twice (#5379) 2023-01-12 11:21:53 +05:45
David Christofas 4cba6028f6 Merge pull request #5341 from owncloud/bump-reva-23-01-05
[full-ci] bump reva
2023-01-12 00:11:00 +01:00
Ralf Haferkamp 709ef1ffca graph:Add stubs for education/classes endpoints (#5360)
* Renamed files for consistency reasons

err_school.go implements the full education interface not just schools.
ldap_school.go renamed to ldap_education_school.go for making it
consistent with ldap_education_user.go

* graph: Add stubs for education/classes endpoints

The acutal backend implementations are still empty.
2023-01-11 20:38:18 +01:00
jkoberg da29385920 rollback wopi
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-11 20:37:00 +01:00
David Christofas a0b300b494 fix setup for litmus test 2023-01-11 20:36:55 +01:00
Michael Barz 92db62698d Merge pull request #5380 from kobergj/RollbackWopi
[tests-only] Rollback Wopi
2023-01-11 15:23:31 +01:00
Daniël Franke f7aff26636 Merge pull request #5370 from owncloud/ainmosni/issue/5210
Support givenName graph attribute.
2023-01-11 14:32:13 +01:00
jkoberg 51f80a4ca7 rollback wopi
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-11 13:52:47 +01:00
Daniel Swärd e1ad437d9e Fix problem with non-public error type because of forgotten rebase. 2023-01-11 12:14:54 +01:00
Daniel Swärd e15b3cd8cc Adding so education PATCH updates school name or number. 2023-01-11 12:14:54 +01:00
Jörn Friedrich Dreyer b9a4d0c8f7 Update services/graph/pkg/identity/ldap.go 2023-01-11 10:15:26 +01:00
kobergj b80982838a Automated changelog update [skip ci] 2023-01-11 08:21:50 +00:00
kobergj 8c2ebfd1f1 Merge pull request #5369 from kobergj/CollectGlobalEnvVars
Collect global Envvars
2023-01-11 09:20:17 +01:00
Florian Schade e487faf145 bump reva again 2023-01-10 17:21:26 +01:00
Florian Schade 8aa6f0709f bump reva 2023-01-10 17:12:17 +01:00
Florian Schade 95023f2adc mute newService err in tests (#5372) 2023-01-10 17:11:30 +01:00
jkoberg a3bcb80fe3 improve template and sort results
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-10 16:48:32 +01:00
Florian Schade 1f7cd52129 Automated changelog update [skip ci] 2023-01-10 14:42:44 +00:00
Florian Schade bb1540fc45 [full-ci] add identitySet displayName property to the group and user sets (#5347)
* add identitySet displayName property to the group and user sets
2023-01-10 15:42:13 +01:00
Daniël Franke 5409a38549 Support givenName graph attribute.
This sets the LDAP `givenname` attribute when the libe-graph `givenName`
attribute exists.

Fixes #5210
2023-01-10 12:48:26 +01:00
jkoberg bb9c65db7b changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-10 12:41:58 +01:00
jkoberg ca300c966e collect global envvars
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-10 12:40:09 +01:00
Viktor Scharf 9bdd1e9ce9 [test-only] apiTest. Delete group from the space (#5365)
* add test

* add empty line
2023-01-10 12:03:52 +01:00
Daniël Franke 1d51aab69f Automated changelog update [skip ci] 2023-01-10 10:45:48 +00:00
Daniël Franke 7034b3ca69 Add changelog entry 2023-01-10 11:45:24 +01:00
Daniël Franke 43a98c0485 Add test for new configurable patch limit.
Also make test for old default match on the actual error message.
2023-01-10 11:45:24 +01:00
Daniël Franke 425ebb8084 Change naming 2023-01-10 11:45:24 +01:00
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