Commit Graph
23044 Commits
Author SHA1 Message Date
jkoberg 5ea1608d67 changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-25 15:23:59 +01:00
jkoberg 22f20b2b2e better configuration for pp service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-25 12:32:09 +01:00
Michael Barz 40bdb8f4dd rewrite spaces API docs 2023-01-24 23:17:48 +01:00
Daniël Franke 85b84bdeaf Merge pull request #5451 from owncloud/ainmosni/feature/add-reva-events-to-class-patch
Emit GroupFeatureChanged event on class patch.
2023-01-24 11:41:08 +01:00
Daniël Franke c48426f641 Emit GroupFeatureChanged event on class patch.
When a class has changed, emit a GroupFeatureChanged event.
2023-01-24 10:21:22 +01:00
Phil Davis 390813b689 Merge pull request #5448 from owncloud/fix-docs-formatting
[docs-only] Fix formatting in the docs related to testing
2023-01-24 10:19:27 +05:45
Swikriti Tripathi 8e34405d08 Fix formatting in the docs related to testing 2023-01-24 09:48:54 +05:45
Viktor Scharf 62e347b788 Update GraphHelper.php 2023-01-23 15:20:32 +01:00
Viktor Scharf a4687cfc89 do not send mail in the body if the mail is empty 2023-01-23 15:20:32 +01:00
Daniel Swärd c79d4ec241 graph: Allow creating users without email (#5253) 2023-01-23 15:20:32 +01:00
Daniël Franke b30b0b4a6c Fix test. 2023-01-23 14:38:12 +01:00
Daniël Franke 17bd1704fa Stop expecting class var. 2023-01-23 14:38:12 +01:00
Daniël Franke e6273140a2 Revert status change. 2023-01-23 14:38:12 +01:00
Daniël Franke a9fff65209 Remove tests for non-supported properties. 2023-01-23 14:38:12 +01:00
Daniël Franke bfecff7747 Remove OnPremises code. 2023-01-23 14:38:12 +01:00
Daniël Franke 4389bcdd25 Add documentation comment. 2023-01-23 14:38:12 +01:00
Daniël Franke d2076941f4 Add tests.
Also update mocks with mockery.
2023-01-23 14:38:12 +01:00
Daniël Franke 3772e8190e Change DN on externalID change. 2023-01-23 14:38:12 +01:00
Daniël Franke 2ca35f0a2b Allow patching of EducationClass properties.
As described in #5410: add support for updating educationClass properties.
This adds the `UpdateEducationClass` to the `EducationBackend` interface,
and implements it on the `ErrEducationBackend` and `LDAP` backends.

It also alters `PatchEducationClass` to call the `UpdateEducationClass` method.

Closes #5410
2023-01-23 14:38:12 +01:00
Jörn Friedrich Dreyer 32cc9beb0b walk and log chi routes, ocs cleanup (#5428)
* walk and log chi routes, ocs cleanup

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

* make linter happy

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-01-23 12:30:34 +01:00
Ralf Haferkamp 473c64fe03 graph: fix adding users to educationSchool by schoolNumber (#5422)
GET /education/schools/{school-id}/users
POST /education/schools/{school-id}/users/$ref
and
DELETE /education/schools/{school-id}/users/$ref

are supposed to also work when using the schoolNumber as the
'{school-id}' parameter. This fix that functionality. This also makes the
the mocks for the LDAP Modify operations more specific to avoid using
the generic mock.Anything
2023-01-23 10:37:24 +01:00
Ralf Haferkamp c2ed4ab526 Bump libregraph-api-go (#5432) 2023-01-23 10:28:10 +01:00
Viktor Scharf 8aff14751b [test-only] ApiTest. deleteTag test. increase coverage (#5417) 2023-01-23 09:26:59 +05:45
Sawjan Gurung 6af8988403 Add version author tests (#5425) (#5438) 2023-01-21 11:14:35 +05:45
Viktor Scharf eb0ad41187 [docs-only] Change Testing section in the doc (#5430)
* change docs

* fix after review
2023-01-20 11:54:25 +01:00
Sagar Gurung d0b96f0721 Merge pull request #5415 from roshanlc/tests-for-change-role-to-internal-4979
[tests-only][full-ci] Add tests scenarios for updating role of public link to internal
2023-01-19 16:15:39 +05:45
Roshan Lamichhane 4dc1aaebf2 Added test scenario for upadting role of a public link to internal 2023-01-19 15:17:27 +05:45
Jörn Friedrich Dreyer a0fee6e04d Automated changelog update [skip ci] 2023-01-18 14:52:23 +00:00
Jörn Friedrich Dreyer 52b7f41624 Populate expanded properties (#5421)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-01-18 15:51:53 +01:00
Daniel Swärd 96239af982 graph: Allow provisioning users with legacy names (#5255)
Via configuration you can now configure to skip the validation of username and
instead decide to trust the upstream system that is adding users.
2023-01-18 12:25:53 +01:00
Viktor Scharf 7c9452768e [test-only] ApiTest. create tag (#5391)
* create tag

* split method

* fix after review
2023-01-17 12:41:56 +01:00
Michael Barz a2e26534ae add missing env var to vscode launch config 2023-01-17 09:12:02 +01:00
Swikriti Tripathi eb33e91520 check herf of the public link file (#5409) 2023-01-16 09:54:45 +01:00
Florian Schade ddb2cb5d11 Automated changelog update [skip ci] 2023-01-13 16:32:00 +00:00
Florian Schade 1afd7c2a4b use event executant to index tags (#5405) 2023-01-13 17:31:34 +01:00
Florian Schade 38a43df924 [full-ci] bump reva (#5404)
* bump reva
2023-01-13 16:44:16 +01:00
Jörn Friedrich Dreyer 3aa864aecc Remove Staticcheck warnings (#5394)
* remove deprecated ioutil imports

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

* remove duplicate imports

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

* remove unused values

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

* remove some unused types

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

* remove deprecated ioutil import

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-01-13 15:29:14 +01:00
Jörn Friedrich Dreyer 544189b039 drop superflous /me in test urls (#5396)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-01-13 15:29:00 +01:00
Dominik Schmidt 675140a7f1 Merge pull request #5397 from owncloud/update-web-v7.0.0-rc.7
[full-ci] chore: update web assets to v7.0.0-rc.7
2023-01-12 23:27:10 +01:00
Dominik Schmidt 0bdd2aa970 Remove expected failures 2023-01-12 20:32:17 +01:00
Dominik Schmidt 5a5e1bfeab chore: update web assets to v7.0.0-rc.7 2023-01-12 19:34:17 +01:00
Ralf Haferkamp 60ac8fcfbe graph education/classes: Add LDAP backend support for Create,Get,Delete 2023-01-12 17:37:10 +01:00
Ralf Haferkamp 6d5637ad79 graph: Move LDAP groups related code to a separate file 2023-01-12 17:37:10 +01:00
David Christofas 2a88301507 Automated changelog update [skip ci] 2023-01-12 16:28:01 +00:00
David Christofas 958ba28db3 add expiration to user and group shares (#5389) 2023-01-12 17:26:06 +01:00
Daniël Franke b0cd8779a7 Consistently add user attributes to AddRequest (#5392)
To make the `CreateUser` flow easier to test, the attributes of the
LDAP add request need to be added consistently. This way we can
expect that argument with the mock.

This PR does the following:

* Add a method `getUserAttrTypes` that returns a static list of attr names.
* Alter `userToAddRequest` to iterate over the static list, and add the attr
  if it exists in the `attrMap`.

Closes #5390
2023-01-12 17:25:43 +01:00
Edith Parzefall bac30c7ed0 Merge pull request #5393 from owncloud/describe_admin_doc_processes
[docs-only] Properly describe docs/helpers and processes
2023-01-12 17:24:41 +01:00
Edith Parzefall c6e6554b77 Apply suggestions from code review
language review
2023-01-12 17:20:17 +01:00
Benedikt Kulmann 9e07908781 Merge pull request #5387 from owncloud/update-web-v7.0.0-rc.6
[full-ci] update web assets to v7.0.0-rc.6
2023-01-12 16:47:12 +01:00
mmattel d4b0a2bc00 Properly describe docs/helpers and processes 2023-01-12 16:30:33 +01:00