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
Martin
2d89b33e06
Merge pull request #5857 from owncloud/make_missing_services_appear_in_dev_docs
...
[docs-only] Adds missing services and fixes content for owncloud.dev
2023-03-16 16:04:03 +01:00
mmattel
23ee8615c6
[docs-only] Adds missing services and fixes content for owncloud.dev
2023-03-16 15:03:29 +01:00
dependabot[bot]
16985d6bf4
Bump github.com/go-micro/plugins/v4/client/grpc from 1.1.0 to 1.2.0
...
Bumps [github.com/go-micro/plugins/v4/client/grpc](https://github.com/go-micro/plugins ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases )
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0 )
---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/client/grpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-16 09:08:30 +01:00
dependabot[bot]
14ba87f39c
Bump github.com/gofrs/uuid from 4.3.1+incompatible to 4.4.0+incompatible
...
Bumps [github.com/gofrs/uuid](https://github.com/gofrs/uuid ) from 4.3.1+incompatible to 4.4.0+incompatible.
- [Release notes](https://github.com/gofrs/uuid/releases )
- [Commits](https://github.com/gofrs/uuid/compare/v4.3.1...v4.4.0 )
---
updated-dependencies:
- dependency-name: github.com/gofrs/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-16 09:08:02 +01:00
Prarup Gurung
ad061c661f
Merge pull request #5838 from owncloud/remove-runOcc-method-from-FeatureContext-master
...
[full-ci] [tests-only] Remove `runOcc` method from `FeatureContext`
2023-03-16 10:01:16 +05:45
Michael Barz
5a54c8a8b5
Automated changelog update [skip ci]
2023-03-15 23:21:04 +00:00
Michael Barz
b31126de90
Merge pull request #5848 from owncloud/update-reva
...
[full-ci] add read_write_delete key to public link pw enforcement capabilites
2023-03-16 00:20:29 +01:00
ownClouders
25a6693bdf
[tx] updated from transifex
2023-03-15 23:03:14 +00:00
Michael Barz
8332244383
add read_write_delete key to public link pw enforcement capabilites
2023-03-15 23:11:03 +01:00
Jörn Friedrich Dreyer
6efccc69d9
bump reva to 53ed6a88 ( #5845 )
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-03-15 17:16:33 +01:00
Prajwol Amatya
ea8181548a
added test for getting non-existing group ( #5830 )
2023-03-15 21:17:41 +05:45