Commit Graph
29 Commits
Author SHA1 Message Date
Martin b43a3ed9a7 Merge pull request #6008 from owncloud/excds/modification/Deprecating_and_renaming_many_environment_variables
Deprecating and renaming many environment variables
2023-04-06 09:02:34 +00:00
kobergj 22f1ea48b0 Merge pull request #5930 from owncloud/d7-typo-fix
[docs-only] Fixed typos
2023-03-27 08:31:56 +00:00
Jörn Friedrich Dreyer 881e5e5ea6 Proxy accesstoken cache store (#5829)
* refactor middleware options

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

* use ocmemstore micro store implementaiton for token cache

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

* refactor ocis store options, support redis sentinel

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

* align cache configuration

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

* database and tabe are used to build prefixes for inmemory stores

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

* add global persistent store options to userlog config

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

* log cache errors but continue

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

* drup unnecessary type conversion

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

* Better description for the default userinfo ttl

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

* use global cache options for even more caches

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

* don't log userinfo cache misses

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

* default to stock memory store

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

* use correct mem store typo string

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

* split cache options, doc cleanup

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

* mint and write userinfo to cache async

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

* use hashed token as key

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

* go mod tidy

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

* update docs

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

* update cache store naming

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

* bring back depreceted ocis-pkg/store package for backwards compatability

Signed-off-by: Jörn Fri
2023-03-22 14:23:50 +00:00
Ralf Haferkamp 59f46ef36a Address some linter warnings
Response bodies need to be closed
2023-03-20 14:15:49 +00:00
kobergj b8150813f4 Merge pull request #5839 from kobergj/FixDocsCreation
[docs-only] Fix Docs Creation
2023-03-15 13:45:56 +00:00
Ralf Haferkamp 7099a03246 commit a34a3b2a98
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Tue Mar 7 14:43:42 2023 +0100

    Cleanup some oidc related bits (#5751)

    * Remove unused code from oidc module

    * Use already existing Metadata type for jwks discovery

    ocis-pkg/oidc already provides a type for the oidc metadata. Switch to
    that instead of defining yet another custom type.

    * oidc: Add helper to get IDP metadata
2023-03-07 13:45:26 +00:00
Benedikt Kulmann d7c78593a5 commit b0124148d5
Merge: 971cfa15c 91370eb61
Author: Benedikt Kulmann <benedikt@kulmann.biz>
Date:   Tue Mar 7 10:39:27 2023 +0100

    Merge pull request #5741 from owncloud/update-web-v7.0.0-rc.17

    [full-ci] bump web to v7.0.0-rc.17
2023-03-07 11:26:07 +00:00
David Christofas 8b9a3bf6df commit 7750492de4
Merge: b0124148d 924c2ca34
Author: David Christofas <dchristofas@owncloud.com>
Date:   Tue Mar 7 10:58:33 2023 +0100

    Merge pull request #5721 from owncloud/clean-up-code

    reduce duplication in configuration code
2023-03-07 10:00:09 +00:00
Martin 07270a21aa commit 6a31158ca9
Merge: b3d71f002 cd20bc82b
Author: Martin <github@diemattels.at>
Date:   Fri Feb 10 11:37:58 2023 +0100

    Merge pull request #5548 from wkloucek/PROXY_USER_OIDC_CLAIM-improvment

    improve the description of PROXY_USER_OIDC_CLAIM
2023-02-10 10:39:41 +00:00
Martin a48a731765 commit 1365838e86
Merge: 9bcb6c1c1 210cd5481
Author: Martin <github@diemattels.at>
Date:   Fri Feb 3 10:27:46 2023 +0100

    Merge pull request #5497 from owncloud/fix_envvar_descriptions

    [docs-only] Fix envvar descriptions
2023-02-03 09:29:07 +00:00
Martin 4d58bd50e0 commit b7945336a2
Merge: 5d9806054 3cad3fbf2
Author: Martin <github@diemattels.at>
Date:   Thu Nov 24 10:26:55 2022 +0100

    Merge pull request #5109 from owncloud/fix_some_env_descriptions

    Fix some env descriptions
2022-11-24 09:29:53 +00:00
dependabot[bot] d5daf8a97b commit 187c1264a0
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Nov 17 06:08:55 2022 +0000

    Bump github.com/go-micro/plugins/v4/events/natsjs from 1.1.0 to 1.2.0

    Bumps [github.com/go-micro/plugins/v4/events/natsjs](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/events/natsjs
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 14:38:29 +00:00
Willy Kloucek 9cfe7a2328 commit 3e4068e2a0
Author: Willy Kloucek <wkloucek@owncloud.com>
Date:   Tue Nov 15 13:07:53 2022 +0100

    fix OCIS_GRPC_CLIENT_TLS_CACERT annotation
2022-11-15 13:51:44 +00:00
dependabot[bot] b5576b26f9 commit 968bf088d0
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Thu Nov 3 12:28:28 2022 +0100

    Bump github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker (#4962)

    Bumps [github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker](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/wrapper/breaker/gobreaker
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-03 11:32:28 +00:00
Ralf Haferkamp 85ffb85c9f commit ee974afebf
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Thu Nov 3 10:17:08 2022 +0100

    [full-ci] Introduce TLS Settings for go-micro based grpc services and clients (#4901)

    * Introduce TLS Settings for go-micro based grpc services and clients

    TLS for the services can be configure by setting the OCIS_MICRO_GRPC_TLS_ENABLED"
    "OCIS_MICRO_GRPC_TLS_CERTIFICATE" and "OCIS_MICRO_GRPC_TLS_KEY"
    enviroment variables.

    TLS for the clients can configured by setting the "OCIS_MICRO_GRPC_CLIENT_TLS_MODE"
    and "OCIS_MICRO_GRPC_CLIENT_TLS_CACERT" variables.

    By default TLS is disabled.

    Co-authored-by: Martin <github@diemattels.at>

    * Unify TLS configuration for all grpc services

    All grpc service (whether they're based on reva) or go-micro use the
    same set of config vars now.

    TLS for the services can be configure by setting the OCIS_GRPC_TLS_ENABLED,
    OCIS_GRPC_TLS_CERTIFICATE and OCIS_GRPC_TLS_KEY enviroment variables.

    TLS for the clients can configured by setting the OCIS_GRPC_CLIENT_TLS_MODE
    and OCIS_MICRO_GRPC_CLIENT_TLS_CACERT variables.

    There are no individual per service config vars currently. If really
    needed, per service tls configurations can be specified via config file.

    Co-authored-by: Martin <github@diemattels.at>

    Co-authored-by: Martin <github@diemattels.at>
2022-11-03 09:20:09 +00:00
Martin b3d8abaf2a commit 5f2262b946
Merge: 6c4b54015 bdcbe3e0c
Author: Martin <github@diemattels.at>
Date:   Thu Oct 27 13:48:46 2022 +0200

    Merge pull request #4920 from owncloud/small_description_rephrasing_proxy

    Proxy env var description rephrasing
2022-10-27 11:50:48 +00:00
Ralf Haferkamp c6846498b5 commit 89f2f2a87f
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Thu Oct 20 12:16:57 2022 +0200

    Add documentation tags for grpc server TLS options
2022-10-25 09:52:26 +00:00
David Christofas 97e812d79d commit f3a6f92dd6
Merge: 35bf9bde1 c997e50b8
Author: David Christofas <dchristofas@owncloud.com>
Date:   Mon Sep 26 11:19:10 2022 +0200

    Merge pull request #4601 from wkloucek/remove-default-insecure

    change the default value for PROXY_OIDC_INSECURE to false
2022-09-26 09:23:43 +00:00
Michael Barz 3847de2bdf commit 03c63380da
Merge: 98769cce0 205f87f98
Author: Michael Barz <mbarz@owncloud.com>
Date:   Mon Aug 8 15:36:34 2022 +0200

    Merge pull request #4346 from wkloucek/rewrite-oidc-well-known

    add middleware to rewrite the /.well-known/openid-configuration endpoint for external idps
2022-08-08 13:43:17 +00:00
Willy Kloucek 2a33ce592d commit 4699fba073
Merge: f6c2e1667 58ccdaca0
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Fri Aug 5 12:50:27 2022 +0200

    Merge pull request #4342 from wkloucek/cs3-claim-desc

    improve PROXY_USER_CS3_CLAIM description
2022-08-05 10:52:37 +00:00
Ralf Haferkamp e3e9c1a5f1 commit 6e848c7254
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Mon Jul 25 16:38:10 2022 +0200

    Use mutex for lazy init function

    To avoid possible threading issues
2022-08-03 10:03:42 +00:00
Michael Barz a4083f0d12 commit 6aef99b578
Merge: d3979b158 3d0cdbebe
Author: Michael Barz <mbarz@owncloud.com>
Date:   Thu Jul 14 16:52:05 2022 +0200

    Merge pull request #4203 from wkloucek/update-reva

    update reva
2022-07-14 14:54:28 +00:00
Jörn Friedrich Dreyer 7886fbfa00 commit 3274b8620c
Author: Jörn Friedrich Dreyer <jfd@owncloud.com>
Date:   Thu Jul 14 11:29:38 2022 +0000

    bump reva to 4ad9ffbece1 (#4201)

    Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-07-14 12:25:04 +00:00
Ralf Haferkamp 9af4913063 commit 0f257af6e4
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Thu Jul 14 12:23:20 2022 +0200

    Align default login attribute across services

    Up to now the builtin lico was using the "username" as the login
    attribute, while the proxy (and to some extend the auth-basic) service
    tried to uniquely identify users by mail address. This aligns the
    default configuration of the services to use the username everywhere.

    Fixes: #4039
2022-07-14 12:24:29 +00:00
PKiran 5a3a673689 commit 46ff82540f
Author: PKiran <39373750+kiranparajuli589@users.noreply.github.com>
Date:   Mon Jul 11 15:57:07 2022 +0545

    [tests-only] [full-ci] cache core repos for testing (#4107)
2022-07-11 10:14:27 +00:00
Phil Davis 0142e8b7f7 commit af1a29d79f
Merge: db634ae06 0dea5138f
Author: Phil Davis <phil@jankaritech.com>
Date:   Thu Jul 7 20:30:55 2022 +0545

    Merge pull request #4116 from owncloud/description_text_fixes

    Env variable text fixes
2022-07-07 14:49:02 +00:00
Jörn Friedrich Dreyer 62ee570035 commit 2e640424cf
Merge: 337446766 703b488ab
Author: Jörn Friedrich Dreyer <jfd@owncloud.com>
Date:   Tue Jul 5 18:14:41 2022 +0000

    Merge pull request #4076 from aduffeck/enabled-machine-auth-in-ocdav

    [full-ci] Enable machine auth in ocdav
2022-07-05 18:18:53 +00:00
Willy Kloucek 5d61dcb26e commit 8a77ae8a5f
Merge: ee0b46601 4fe5703b1
Author: Willy Kloucek <34452982+wkloucek@users.noreply.github.com>
Date:   Wed Jun 29 10:41:06 2022 +0200

    Merge pull request #3973 from wkloucek/config-doc-descriptions

    add more config doc descriptions
2022-06-29 08:43:10 +00:00
Christian Richter bcbd4b3617 commit b7dc410e93
Merge: da799d895 0ebfb8908
Author: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
Date:   Tue Jun 28 09:35:38 2022 +0200

    Merge pull request #3980 from owncloud/rename-extensions-to-services

    Refactor extensions to services.
2022-06-28 07:38:26 +00:00