Commit Graph

515 Commits

Author SHA1 Message Date
Ralf Haferkamp 5095b35822 Fix naming of school membership endpoints
It's /education/school/{id}/users not members
2022-12-22 17:03:37 +01:00
Ralf Haferkamp 336f128e71 Add support for assigning education users to schools 2022-12-22 17:03:37 +01:00
Ralf Haferkamp 80a2c72491 graph: Initial LDAP support for /education/users
This implements GetEducationUser, GetEducationUsers, DeleteEducationUser and
CreateEducationUser methods for the LDAP backend. It's still very basic and
no fancy filtering or expanding is there yet.
2022-12-22 17:03:37 +01:00
Florian Schade 78637a2f00 enable tags in capabilities (#5271) 2022-12-22 14:20:46 +01:00
Michael Barz 7e5bb96cf8 Merge pull request #5269 from kobergj/FixPostprocessing
Fix Postprocessing service
2022-12-22 10:54:38 +01:00
Ralf Haferkamp b42bf80d0e graph: Rename noop backend to ErrEducationBackend 2022-12-21 15:38:14 +01:00
Jörn Friedrich Dreyer c3c851286f fix comment
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-21 15:38:14 +01:00
Jörn Friedrich Dreyer 3637149eeb fix gateway client mock
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-21 15:38:14 +01:00
Jörn Friedrich Dreyer cd23d010a4 correct naming of education backend methods
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-21 15:38:14 +01:00
Jörn Friedrich Dreyer 8967556b9d correct EducationSchool naming
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-21 15:38:14 +01:00
Jörn Friedrich Dreyer 5a1d3ebe82 config and logging fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-21 15:38:14 +01:00
Jörn Friedrich Dreyer 8babace4b6 add comments for linter
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-21 15:38:14 +01:00
Jörn Friedrich Dreyer 57fd00d238 handle /education/user
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-21 15:38:14 +01:00
Ralf Haferkamp 962ae09bf1 LDAP support for GetSchools 2022-12-21 15:38:14 +01:00
Ralf Haferkamp 644d96e7ad LDAP support for GetSchool 2022-12-21 15:38:14 +01:00
Ralf Haferkamp bc9f81cc23 LDAP Support for Delete School 2022-12-21 15:38:14 +01:00
Ralf Haferkamp ad1355d032 Implement LDAP backend for CreateSchool 2022-12-21 15:38:14 +01:00
Ralf Haferkamp b302af88f6 Add basic config setting for LDAP education backend
require LDAP support for Education resources to be explicitly enabled.
Default to a NOOP implementation if disabled.
2022-12-21 15:38:14 +01:00
Ralf Haferkamp 795bc70546 Add a more explict filter to DN based lookups
To make sure to read the right type of object
2022-12-21 15:38:14 +01:00
Jörn Friedrich Dreyer e1123576f3 disable school events
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-21 15:38:14 +01:00
Jörn Friedrich Dreyer 9844f5f8ce initial schools API
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-21 15:38:14 +01:00
David Christofas 26e494ec8b Merge pull request #5270 from owncloud/linter-fixes
Linter fixes
2022-12-21 15:24:13 +01:00
David Christofas bd2682ac0e remove dead code 2022-12-21 14:53:07 +01:00
David Christofas cf290502fb fix gosimple bugs 2022-12-21 14:53:00 +01:00
David Christofas 39917330f6 fix goconst bugs 2022-12-21 14:46:01 +01:00
David Christofas efe1fc52e0 fix nilerr bugs 2022-12-21 14:45:50 +01:00
jkoberg 502e2ec8f4 fix postprocessing service
Signed-off-by: jkoberg <jkoberg@owncloud.com>

tmp

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-21 13:47:33 +01:00
David Christofas 7bc62098a8 Merge pull request #5258 from owncloud/spaces-member-notifications
Spaces member notifications
2022-12-21 13:32:18 +01:00
David Christofas 445e594eff add notification for space unshares 2022-12-21 11:20:42 +01:00
David Christofas 68ead43000 extract code to methods 2022-12-20 14:42:14 +01:00
Dominik Schmidt 5ccefa355a [settings] Do not use v-model and input event for the same component 2022-12-20 14:37:03 +01:00
Phil Davis f44f50bf2d Merge pull request #5250 from owncloud/tx-go
fix: fix syntax after switching to golang tx client
2022-12-20 15:55:23 +05:45
Robert Kaussow 269fe83fc3 fix: fix config file for new transifex client 2022-12-20 10:22:30 +01:00
jkoberg b29ffeb3a9 use stream pkg instead server pkg
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-20 09:53:11 +01:00
Florian Schade 1db03dd512 [full-ci] experimental tags backport (#5227)
* add tags to search service resource
add tags getTags, AssignTags and UnassignTags endpoint to graph
use and prefer search event spaceOwner over executant
add tags to search report response
update libre graph api
update reva

Co-authored-by: David Christofas <dchristofas@owncloud.com>
2022-12-19 15:44:02 +01:00
kobergj 341cdc9dd3 Merge pull request #5207 from kobergj/AsyncPostprocessing
[full-ci] Async Postprocessing
2022-12-16 11:58:24 +01:00
jkoberg c762d9d9ba bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-14 12:24:53 +01:00
Florian Schade 2404eff48e [full-ci] experimental search backport (#5221)
* experimental search backport
fix basic extractor resource name
move escapeQuery regex into global variable
minor pr review changes
rename DebounceDuration env variable
add document title and content when rebuilding bleve resource

Co-authored-by: David Christofas <dchristofas@owncloud.com>
2022-12-13 14:22:41 +01:00
Jörn Friedrich Dreyer d359a7c2cf [full-ci] standalone graph service with LDAP (#5199)
* standalone graph service with LDAP

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

* no panic on PATCH and DELETE

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

* fix apitoken yaml key

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

* update user, fix response codes

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

* fix group creation return code

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

* remove unknown user property

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

* fix create return code checks in graph feature context

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

* updating uses 200 OK when returning a body

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

* revert user statusCreated change for now

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

* revert return code changes

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-12 12:46:10 +01:00
Jörn Friedrich Dreyer b2b4f9893c align revactx package import (#5206)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-08 14:45:30 +01:00
Jörn Friedrich Dreyer 53d15d329e remove deprecated use of ioutil (#5205)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-08 14:44:53 +01:00
jkoberg daad94a332 config and tls
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-08 11:41:31 +01:00
jkoberg 1b032c7617 cosmetical touches
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-08 11:06:36 +01:00
jkoberg a004095a6c add postprocessing service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-08 11:00:42 +01:00
Martin ae940758d6 Merge pull request #5167 from owncloud/graph-readme
add a README to the graph package
2022-12-05 11:44:58 +01:00
David Christofas dc53b39f23 add a README to the graph package 2022-12-05 11:11:25 +01:00
David Christofas 66759ed2aa Merge pull request #5168 from owncloud/idm-readme
add a README to the idm package
2022-12-05 11:05:37 +01:00
Edith Parzefall 496c2b8315 Apply suggestions from code review
language review
2022-12-02 13:39:25 +01:00
Edith Parzefall c9d73200e0 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2022-12-02 13:36:54 +01:00
David Christofas 68fd40a604 add a README to the idm package 2022-12-01 11:21:18 +01:00