Commit Graph

12118 Commits

Author SHA1 Message Date
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
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