Commit Graph
605 Commits
Author SHA1 Message Date
Michael BarzandGitHub 4806ed2880 Merge pull request #5470 from owncloud/update-web-7.0.0-rc.10
[full-ci] chore: bump web to v7.0.0-rc.10
2023-01-30 11:07:57 +01:00
ownClouders 4c5b0984c6 [tx] updated from transifex 2023-01-28 00:07:09 +00:00
Benedikt Kulmann da0d8581a0 chore: bump web to v7.0.0-rc.10 2023-01-27 22:51:11 +01:00
Michael BarzandGitHub f12b369335 Merge pull request #5464 from owncloud/update-web-7.0.0-rc.9
[full-ci] chore: update web to v7.0.0-rc.9
2023-01-27 08:45:30 +01:00
ownClouders dd2f3b1874 [tx] updated from transifex 2023-01-27 04:19:29 +00:00
Benedikt Kulmann 881df87d82 chore: update web to v7.0.0-rc.9 2023-01-26 22:00:25 +01:00
Michael BarzandGitHub 770fc74a14 Merge pull request #5461 from owncloud/update-web-v7.0.0-rc.8
[full-ci] Update web assets to v7.0.0-rc.8
2023-01-26 16:29:42 +01:00
kobergjandGitHub ebd55eb765 Merge pull request #5457 from kobergj/PostprocessingConfiguration
Better Configuration for Postprocessing Service
2023-01-26 15:23:19 +01:00
jkoberg ab4d8c3958 move config validation to parser package
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-26 14:44:37 +01:00
Jannik Stehle 2391a70317 Remove settings UI tests 2023-01-26 14:39:40 +01:00
Jannik Stehle 708cfb537d chore: update web assets to v7.0.0-rc.8 2023-01-26 14:16:37 +01:00
Jörn Friedrich DreyerandGitHub aa12a60d16 fix populating user drive and drives (#5426)
* fix populating user drive and drives

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

* update changelog

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

* fix test condition

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-01-26 11:54:32 +01:00
jkoberg d468a23315 deprecate POSTPROCESSING_VIRUSSCAN
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-26 11:50:16 +01:00
kobergjandGitHub b7a5e1c29e use correct permission (#5458)
Signed-off-by: jkoberg <jkoberg@owncloud.com>

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-26 11:16:43 +01:00
9c0dd22e1f update wording
Co-authored-by: Martin <github@diemattels.at>
2023-01-26 10:26:33 +01:00
jkoberg b2067575a9 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-25 15:39:41 +01:00
jkoberg 1a69388e14 add new permissions
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-25 15:25:54 +01:00
jkoberg 22f20b2b2e better configuration for pp service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-25 12:32:09 +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
Daniel SwärdandRalf Haferkamp c79d4ec241 graph: Allow creating users without email (#5253) 2023-01-23 15:20:32 +01:00
Daniël FrankeandRalf Haferkamp b30b0b4a6c Fix test. 2023-01-23 14:38:12 +01:00
Daniël FrankeandRalf Haferkamp 17bd1704fa Stop expecting class var. 2023-01-23 14:38:12 +01:00
Daniël FrankeandRalf Haferkamp e6273140a2 Revert status change. 2023-01-23 14:38:12 +01:00
Daniël FrankeandRalf Haferkamp a9fff65209 Remove tests for non-supported properties. 2023-01-23 14:38:12 +01:00
Daniël FrankeandRalf Haferkamp bfecff7747 Remove OnPremises code. 2023-01-23 14:38:12 +01:00
Daniël FrankeandRalf Haferkamp 4389bcdd25 Add documentation comment. 2023-01-23 14:38:12 +01:00
Daniël FrankeandRalf Haferkamp d2076941f4 Add tests.
Also update mocks with mockery.
2023-01-23 14:38:12 +01:00
Daniël FrankeandRalf Haferkamp 3772e8190e Change DN on externalID change. 2023-01-23 14:38:12 +01:00
Daniël FrankeandRalf Haferkamp 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 DreyerandGitHub 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 HaferkampandGitHub 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 HaferkampandGitHub c2ed4ab526 Bump libregraph-api-go (#5432) 2023-01-23 10:28:10 +01:00
Jörn Friedrich DreyerandGitHub 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ärdandRalf Haferkamp 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
Florian SchadeandGitHub 1afd7c2a4b use event executant to index tags (#5405) 2023-01-13 17:31:34 +01:00
Jörn Friedrich DreyerandGitHub 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 DreyerandGitHub 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 5a5e1bfeab chore: update web assets to v7.0.0-rc.7 2023-01-12 19:34:17 +01:00
Ralf HaferkampandRalf Haferkamp 60ac8fcfbe graph education/classes: Add LDAP backend support for Create,Get,Delete 2023-01-12 17:37:10 +01:00
Ralf HaferkampandRalf Haferkamp 6d5637ad79 graph: Move LDAP groups related code to a separate file 2023-01-12 17:37:10 +01:00
David ChristofasandGitHub 958ba28db3 add expiration to user and group shares (#5389) 2023-01-12 17:26:06 +01:00
Daniël FrankeandGitHub 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
Benedikt KulmannandGitHub 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
078698fdf4 graph: add appRoleAssignments and minimal application resource (#5318)
* bump libregraph-go lib

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

* add appRoleAssignment stubs

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

* add get application stub

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

* fetch appRoles for application from settings service

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

* initial list appRoleAssignments implementation

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

* initial create appRoleAssignment implementation, extract assignmentToAppRoleAssignment, configurable app id and displayname

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

* initial delete appRoleAssignment implementation, changed error handling and logging

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

* initial expand appRoleAssignment on users

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

* test user expand appRoleAssignment

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

* test appRoleAssignment

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

* fix education test by actually using the mocked roleManager

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

* test getapplication

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

* list assignments

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

* use common not exists error handling

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

* default to just 'ownCloud Infinite Scale' as application name

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

* fix store_test

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

* roll application uuid on init

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

* fix tests

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

* extract method

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

* Apply suggestions from code review

Co-authored-by: Michael Barz <mbarz@owncloud.com>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Michael Barz <mbarz@owncloud.com>
2023-01-12 16:09:34 +01:00
kobergjandGitHub dcaecd214f Merge pull request #5330 from kobergj/ExpirationNotifications
Expiration Notifications
2023-01-12 16:02:29 +01:00
d120880a0f update expiration email templates
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
2023-01-12 15:31:49 +01:00
Daniël Franke ddb0933033 Display surname and givenName attributes.
This PR makes it so that givenName and surname attributes are returned for users.

Fixes #5386
2023-01-12 15:01:14 +01:00
Dominik Schmidt ed5764635f settings: Fix oc-select usage 2023-01-12 14:30:17 +01:00
Jannik Stehle cbc9ebfa26 Add admin-settings to default config 2023-01-12 14:17:54 +01:00
Benedikt Kulmann 1c993b49f0 chore: update web assets to v7.0.0-rc.6 2023-01-12 14:13:21 +01:00