Commit Graph

12445 Commits

Author SHA1 Message Date
Martin
3f302fa2fb Automated changelog update [skip ci] 2023-02-23 14:35:04 +00:00
Martin
fd5790d8dd Merge pull request #5610 from kobergj/UserlogService
Userlog Service
2023-02-23 15:33:12 +01:00
David Christofas
3a07e143dc Merge pull request #5596 from owncloud/dependabot/go_modules/golang.org/x/net-0.7.0
Bump golang.org/x/net from 0.3.0 to 0.7.0
2023-02-23 15:25:03 +01:00
jkoberg
a9561d85c8 sharpen userlog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-23 14:21:56 +01:00
Martin
53cb40ff5e Merge pull request #5634 from owncloud/update_quota_text
[docs-only] Update quota related texts and descriptions
2023-02-23 12:43:43 +01:00
jkoberg
733c9c25e5 add comments to exported structs
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-23 11:44:23 +01:00
Prarup Gurung
7f0f5f74bd Fixed line numbers in expected failure 2023-02-23 16:05:27 +05:45
dependabot[bot]
bad38646b8 Bump golang.org/x/net from 0.3.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.3.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.3.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-23 09:58:10 +00:00
Jörn Friedrich Dreyer
a5fb068650 [full-ci] Bump reva to include ini metadata backend (#5613)
* bump reva

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

* default to ini backend

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

* bump reva, add metadata backend config

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

* update changelog

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

* fix tag

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

* Update services/storage-system/pkg/config/config.go

Co-authored-by: kobergj <jkoberg@owncloud.com>

* fix storage user metadata config desc and env var

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

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-02-23 10:54:50 +01:00
amrita
0b71d10c37 Add graph api tests for assign role 2023-02-23 15:34:11 +05:45
Prarup Gurung
3419eacb6d Removed step and implementation setting default share folder 2023-02-23 15:32:27 +05:45
mmattel
7f706f38cc update quota text 2023-02-23 10:19:07 +01:00
Viktor Scharf
56d3192fc7 [test-only] ApiTest. test for filter appRoleAssigment (#5629)
* add test for filter

* fixed typos
2023-02-23 09:53:12 +01:00
Phil Davis
804d177705 Merge pull request #5624 from owncloud/fix-acceptance-test-run-sh
[tests-only] Fix command format in tests/acceptance/run.sh
2023-02-23 09:27:36 +05:45
Willy Kloucek
4591c7e715 Merge pull request #5628 from owncloud/ChrisEdS-docker-compose-fix
Fix invalid type in ocis_traefik docker-compose file
2023-02-22 19:04:05 +01:00
Willy Kloucek
7fd3fafcf4 Merge pull request #5627 from owncloud/ChrisEdS-fix-ocis_wopi
Fix invalid type in ocis_wopi docker-compose file
2023-02-22 19:02:49 +01:00
David Christofas
82b129fcdb Automated changelog update [skip ci] 2023-02-22 16:08:57 +00:00
David Christofas
3fbb6ca2fe Merge pull request #5617 from owncloud/role-quota
add config option to set default quota per role
2023-02-22 17:08:16 +01:00
David Christofas
17b5706cc9 add config options for the max_quota and add the capability value 2023-02-22 16:22:51 +01:00
David Christofas
67549b4ebd add config option to set default quota per role 2023-02-22 16:22:45 +01:00
Christian Scherm
6e1dc16199 Fix invalid type in ocis_traefik docker-compose file 2023-02-22 15:34:13 +01:00
Christian Scherm
a90e13af99 Fix invalid type in ocis_wopi docker-compose file
Fix for 
`ERROR: The Compose file './docker-compose.yml' is invalid because:
services.ocis.environment.NOTIFICATIONS_SMTP_INSECURE contains true, which is an invalid type, it should be a string, number, or a null`
2023-02-22 15:25:33 +01:00
dependabot[bot]
4edd97f569 Bump github.com/urfave/cli/v2 from 2.23.6 to 2.24.4 (#5592)
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.23.6 to 2.24.4.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.23.6...v2.24.4)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 14:36:26 +01:00
Martin
cda2c0e57f Merge pull request #5615 from owncloud/update_readme_and_descriptions
[docs-only] Add a basic storage-users readme only containing cli commands
2023-02-22 13:25:50 +01:00
Phil Davis
3bad728442 Fix command format in tests/acceptance/run.sh 2023-02-22 18:05:23 +05:45
Swikriti Tripathi
0087770191 Api tests for deleting the expiration date of a space (#5606) 2023-02-22 16:50:38 +05:45
Ralf Haferkamp
62d6185125 Automated changelog update [skip ci] 2023-02-22 10:23:49 +00:00
Ralf Haferkamp
9e73b17a40 idp: Utilize ownCloudUserEnabled Attribute to filter users
This adds support for configuring an LDAP Attribute that can be used as a flag
to disallow users to login. We currently default to 'ownCloudUserEnabled' as
used in the default configuration of the graph service.
2023-02-22 11:23:26 +01:00
Ralf Haferkamp
d6bcba48eb Add 'ownCloudUserEnabled' attribute to demo users 2023-02-22 11:23:26 +01:00
Martin
3e39e49a73 Update services/idp/README.md 2023-02-22 11:13:25 +01:00
Martin
9c7bc86902 Update services/idp/README.md 2023-02-22 11:13:25 +01:00
Martin
d30d042ec1 Update services/idp/README.md 2023-02-22 11:13:25 +01:00
Ralf Haferkamp
5dd374eb7a Add README for idp service 2023-02-22 11:13:25 +01:00
Martin
21a0c0a90b Apply suggestions from code review
Co-authored-by: Jan <j.ackermann91@gmail.com>
2023-02-22 10:26:00 +01:00
kobergj
68835fa697 Update services/storage-users/README.md
Co-authored-by: Martin <github@diemattels.at>
2023-02-22 10:22:04 +01:00
Viktor Scharf
5a5e950cca [test-only] increase coverage test for creating space (#5616) 2023-02-22 14:54:19 +05:45
Swikriti Tripathi
77e9d4f920 App tests for updating the exoiration date of a space (#5605) 2023-02-22 09:21:57 +05:45
Michael Barz
04afa6d35a Merge pull request #5607 from owncloud/configurable-bundles
load bundles from JSON
2023-02-21 21:58:14 +01:00
Michael Barz
7f6e52c39b load bundles from JSON 2023-02-21 21:25:33 +01:00
mmattel
24e77820ab fix quotes 2023-02-21 16:55:43 +01:00
Ralf Haferkamp
433622952f Bump libregraph/idm
To get ModifyDN support for renaming users.
2023-02-21 16:52:28 +01:00
Martin
15a57993cd Merge pull request #5619 from owncloud/add_missing_text_in_readme
[docs-only] improve eventhistory service readme
2023-02-21 16:42:51 +01:00
mmattel
d25c600c27 [docs-only] improve eventhistory service readme 2023-02-21 16:37:12 +01:00
mmattel
ef54417b62 Add a basic storage-users readme only containing cli commands 2023-02-21 16:31:49 +01:00
jkoberg
d7f57f3a50 changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-21 14:58:24 +01:00
jkoberg
d56565555b introduce userlog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-21 14:25:21 +01:00
kobergj
8ffca8cae4 Automated changelog update [skip ci] 2023-02-21 13:10:45 +00:00
kobergj
e631b74032 Merge pull request #5600 from kobergj/EventHistory
Eventhistory Service
2023-02-21 14:08:01 +01:00
Ralf Haferkamp
1dab0f7a54 graph: Improve appRoleAssignemts filters
This should improve the processing of filters for appRoleAssignments
a bit when combining them with other filters. We try to avoid reading
the full user list if possible. And delay the processing of an
appRoleAssignments filter so we can apply it on a subset of user.

E.g. a filter:

`appRoleAssignments/any(m:m/appRoleId eq 71881883-1768-46bd-a24d-a356a2afdf7f) and memberOf/any(m:m/id eq 509a9dcd-bb37-4f4f-a01a-19dca27d9cfa)`

Will be reordered to first process the memberOf filter (which can be
executed without reading the full user list) and only apply the
appRoleAssignments filter on the resultset of the memberOf filter.
2023-02-21 12:30:59 +01:00
Ralf Haferkamp
1552f6df5a Add support for $filter on appRoleAssignment
This add support for filtering on the `appRoleAssignment` relation of
users.  E.g.

```
$filter=appRoleAssignments/any(m:m/appRoleId eq '262982c1-2362-4afa-bfdf-8cbfef64a06e')
```

combining it with a filter on groupMemberShip does also work:

```
$filter=memberOf/any(m:m/id eq '262982c1-2362-4afa-bfdf-8cbfef64a06e') and appRoleAssignments/any(m:m/appRoleId eq 'd7beeea8-8ff4-406b-8fb6-ab2dd81e6b11')
```

The filter is still very inefficient as it always needs to get the full
users list. We need to adapt it to only filter on a subset of users when
using this filter 'and' combined with other filters.

Closes: #5488
2023-02-21 12:30:59 +01:00