Commit Graph

12104 Commits

Author SHA1 Message Date
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
Jörn Friedrich Dreyer
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
kobergj
1b6c269de5 Automated changelog update [skip ci] 2023-01-12 15:02:55 +00:00
kobergj
dcaecd214f Merge pull request #5330 from kobergj/ExpirationNotifications
Expiration Notifications
2023-01-12 16:02:29 +01:00
Jannik Stehle
d987957568 Add admin-settings to drone config 2023-01-12 15:56:30 +01:00
Daniël Franke
7d51245bd6 Automated changelog update [skip ci] 2023-01-12 14:34:59 +00:00
kobergj
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
0b644303d1 Merge pull request #5388 from owncloud/ainmosni/issue/5386
Display surname and givenName attributes.
2023-01-12 15:30:42 +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
jkoberg
8b2dac2b87 changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-12 13:23:21 +01:00
jkoberg
eae7f60296 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>

tmp

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-12 13:21:45 +01:00
jkoberg
9bb83c8753 unit tests
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-12 13:21:37 +01:00
jkoberg
63b592a04d membership expired notification
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-12 13:21:11 +01:00
jkoberg
cfe7f39027 share expired notification
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-12 13:20:57 +01:00
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