Commit Graph

12691 Commits

Author SHA1 Message Date
kobergj fc4ba499b1 improve antivirus documentation
Co-authored-by: Martin <github@diemattels.at>
2023-03-21 10:06:06 +01:00
jkoberg c550390d82 service checklist
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-21 10:04:11 +01:00
jkoberg f4ba4e0f64 backport antivirus from experimental
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-21 10:04:11 +01:00
dependabot[bot] e7fd4f93f4 Bump i18next from 21.10.0 to 22.0.4 in /services/idp (#4941)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Schade <f.schade@icloud.com>
Co-authored-by: mmattel <github@diemattels.at>
2023-03-21 10:03:59 +01:00
kobergj ab95ce2afd Merge pull request #5886 from owncloud/update_index.md_for_proxy
[docs-only] Update proxy _index.md for owncloud.dev
2023-03-21 09:48:47 +01:00
dependabot[bot] ea5166425f Bump go.etcd.io/etcd/client/v3 from 3.5.6 to 3.5.7
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.6 to 3.5.7.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.ppc64le)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.6...v3.5.7)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 09:31:17 +01:00
Martin 82befab8b6 Update docs/services/proxy/_index.md
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-03-21 09:23:19 +01:00
mmattel 1bc214d560 [docs-only] Update proxy _index.md for owncloud.dev 2023-03-21 08:49:49 +01:00
Prarup Gurung 29a23ebb50 Merge pull request #5884 from owncloud/remove-occ-related-leftovers-master
[full-ci] [tests-only] Remove occ related leftovers `master`
2023-03-21 12:11:38 +05:45
Amrita 71011fc4aa [full-ci][tests-only]Expand tests coverage related to user with different role (#5725)
* Refactor tests related to different role

* Use setResponse from When step
2023-03-21 10:03:51 +05:45
Prarup Gurung 2dcc99f3eb Fixed line numbers in expected failure 2023-03-21 09:21:01 +05:45
Prarup Gurung 8b93c1b8f6 Removed occ related codes 2023-03-21 09:21:01 +05:45
Martin 7ed88edc57 [docs-only] Update docs/helpers/README.md (#5880)
Clarify and improve the extended envvar process.
2023-03-20 21:05:07 +01:00
Ralf Haferkamp 087e768f35 ocis_keycloak: Move to role assignment via oidc claim (#5882)
Use the new PROXY_ROLE_ASSIGNMENT_DRIVER "oidc". This also means we can
now run with OCIS_ADMIN_USER_ID being empty. So that no admin user will
be created on startup and no default role assignment will happen.

By setting GRAPH_ASSIGN_DEFAULT_USER_ROLE to "false", we make sure to
not create the default "user" role assignment when auto provisioning a
user.
2023-03-20 21:04:37 +01:00
Ralf Haferkamp 7e6b690ccf proxy: update README with notes about role assignment (#5878) 2023-03-20 21:03:41 +01:00
Jörn Friedrich Dreyer f99a693adf Automated changelog update [skip ci] 2023-03-20 16:22:44 +00:00
Jörn Friedrich Dreyer 474c4b848d upgrade to go1.20 and auto set go mem limit (#5732)
* upgrade to go1.19 and set go mem limit

* create ocis-pkg memlimit package

* use std automemlimit import

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

* import automemlimit in every ocis service, drop ocis-pkg/memlimit package

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

* bump go to 1.20

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

* drop unused config options and env vars

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

* update all version numbers, add doc

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

* fix lint

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

* update bingo and mockery

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

* bump golangci-lint

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

* fix selector test

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

* Update changelog/unreleased/enhancement-memlimit.md

Co-authored-by: kobergj <juliankoberg@googlemail.com>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Willy Kloucek <wkloucek@owncloud.com>
Co-authored-by: kobergj <juliankoberg@googlemail.com>
2023-03-20 17:22:02 +01:00
Martin 4cda9260d3 Merge pull request #5879 from owncloud/fix_extended_envvar.yaml_master
[docs-only] Fix extended_envvars.yaml has wrong referenced lineno in master
2023-03-20 17:04:15 +01:00
mmattel b9fa864889 [docs-only] Fix extended_envvars.yaml has wrong referenced lineno in master 2023-03-20 16:29:54 +01:00
Ralf Haferkamp 98b4a6a23a Address some linter warnings
Response bodies need to be closed
2023-03-20 15:12:09 +01:00
Jörn Friedrich Dreyer 7f8e54b1c2 fix link 2023-03-20 15:12:09 +01:00
Ralf Haferkamp 1287bbc10d proxy: Cache the role Mapping for some time
Avoid torturing the settings service with "ListRoles" request for
every incoming request to the proxy.
The role Mapping is refreshed if cached data is older than 5 minutes.
2023-03-20 15:12:09 +01:00
Ralf Haferkamp 96ed144745 proxy: Add some missing doc strings 2023-03-20 15:12:09 +01:00
Ralf Haferkamp a448c75c75 Extract role assignments from claims
Add a UserRoleAssigner implementation that extract role names from the
users' claims and creates role assignments in the settings service based
on a configured mapping of claim values to ocis role names.

Closes: #5669
2023-03-20 15:12:09 +01:00
Ralf Haferkamp d57d52b33d proxy: Add an interface for user role assignment
This moves the lookup and the creation of the users' role assignemt out
of the user backend into its own interface. This makes the user backend
a bit simpler and allows to provide different implemenation for the user
role assignment more easily.
2023-03-20 15:12:09 +01:00
Ralf Haferkamp 490a835a3a proxy: Move CS3 User backend options to "functional" options
This will make it easier to add/remove options to the backend in the
future.
2023-03-20 15:12:09 +01:00
Ralf Haferkamp 88e8bb1b72 account_resolver: Handle user roles separately from user lookup
This removes the "withRoles" flag from the GetUserByClaims lookup and move the
functionality into a separate method. This should make the code a bit more readable
in preparation for maintaining the RoleAssignments from OIDC claims.
2023-03-20 15:12:09 +01:00
Ralf Haferkamp f5cfa7e126 proxy: Move to mockery for generating mocks
To align with what we're using everywhere else.
2023-03-20 15:12:09 +01:00
dependabot[bot] cd84a57a5e Bump golang.org/x/image from 0.5.0 to 0.6.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/image/releases)
- [Commits](https://github.com/golang/image/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-20 12:40:01 +01:00
ownClouders 144394993b [tx] updated from transifex 2023-03-19 00:05:05 +00:00
ownClouders c5ec78363f [tx] updated from transifex 2023-03-18 00:12:12 +00:00
kobergj 3395968953 chore: bump web to v7.0.0-rc22 (#5869)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 18:50:08 +01:00
kobergj 5dfadc557a Automated changelog update [skip ci] 2023-03-17 15:03:56 +00:00
kobergj 9750dfaff9 use master version of gotext package (#5868)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 16:03:28 +01:00
kobergj cefdb457a1 Automated changelog update [skip ci] 2023-03-17 13:45:19 +00:00
kobergj 05e934e6f4 Merge pull request #5843 from owncloud/ChangeQuotaPermission
Change Project Space Quota Permission
2023-03-17 14:44:25 +01:00
jkoberg 03f2741d8b bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 12:52:24 +01:00
jkoberg c4c73bc9e7 adjust expected failures
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 12:51:28 +01:00
jkoberg a503ace11f don't check quota permission in graph
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 12:51:28 +01:00
jkoberg 5cb3d3e62e temporarily deactivate e2e tests
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 12:51:28 +01:00
jkoberg cdddd16c0a add permission to change space quota
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-17 12:51:26 +01:00
Andre Duffeck ebbc388b6d Automated changelog update [skip ci] 2023-03-17 11:31:38 +00:00
Andre Duffeck 7bd735f615 Add command for inspecting and manipulating node metadata (#5858)
* Add command for inspecting and manipulating node metadata

* Add changelog

* Bump reva
2023-03-17 12:31:07 +01:00
Prarup Gurung 110f3312ed Merge pull request #5860 from owncloud/remove-log-file-related-codes-master
[full-ci] [tests-only] Remove log file related codes master
2023-03-17 14:32:25 +05:45
Prarup Gurung 9f99d03fc8 Removed LoggingContext and LoggingHelper 2023-03-17 12:33:26 +05:45
Prarup Gurung 0f9ff603bd Removed log file related steps and implementation 2023-03-17 12:33:18 +05:45
ownClouders 5533a7382e [tx] updated from transifex 2023-03-17 00:43:05 +00:00
Benedikt Kulmann d409effa57 [full-ci] chore: bump web to v7.0.0-rc.21 (#5849)
* chore: bump web to v7.0.0-rc.21

* Update .drone.env

* Update .drone.env

fixing move copyMove.feature test

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-03-16 19:04:07 +01:00
Martin 22a74ceaf8 Merge pull request #5859 from owncloud/mmattel-patch-1
[docs-only] Fix edit path for port-ranges.md
2023-03-16 16:24:04 +01:00
Martin bba6a30f0c [docs-only] Fix edit path for port-ranges.md
This fixes the edit path for the `port-ranges.md` file.
Missed to correct it.
2023-03-16 16:12:34 +01:00