73 Commits
Author SHA1 Message Date
Roman Perekhod 2f5c812de2 Merge pull request #12127 from owncloud/revert-12115-fix/proxy-createhome-dedup
Revert "fix(proxy): [OCISDEV-460] deduplicate CreateHome calls in middleware"
2026-03-18 12:29:47 +00:00
Martin fe47358fc9 Merge pull request #12115 from paul43210/fix/proxy-createhome-dedup
fix(proxy): [OCISDEV-460] deduplicate CreateHome calls in middleware
2026-03-18 08:28:54 +00:00
kobergj 80aec6f490 Merge pull request #11893 from kobergj/MultiInstanceOcisPartII
[OCISDEV-456] Cross Instance Sharing
2026-01-16 12:31:05 +00:00
Michal Klos 2bd2d5e447 fix: Strict-Transport-Security via proxy 2026-01-05 14:19:06 +00:00
kobergj ad31de5aff Merge pull request #11848 from kobergj/MultiInstanceOcis
[OCISDEV-453] Introduce Claims for Multi-Instance-Ocis
2025-12-16 13:37:27 +00:00
kobergj d72e6022e2 Merge pull request #11603 from owncloud/oidc_claims_checker
feat: add a way to check for specific OIDC claims
2025-09-24 11:47:01 +00:00
Juan Pablo Villafañez 2883542f32 Merge pull request #11500 from owncloud/deployments_telemetry_updates
chore: telemetry updates for the deployments
2025-07-16 11:30:28 +00:00
kobergj 90ba785a7f Merge pull request #11332 from kobergj/AddServerManagedSpacesCapability
Add server managed spaces capability
2025-05-21 13:32:02 +00:00
Martin 917586e5ec Merge pull request #11288 from owncloud/update_ocis_claim_envvar_descriptions
[docs-only] Update OCIS_CLAIM_xxx envvar texts
2025-05-06 10:03:37 +00:00
kobergj 5564fefc79 Merge pull request #11280 from kobergj/ClaimManagedSpaces
Claim Managed Spaces
2025-05-02 13:03:53 +00:00
Jörn Friedrich Dreyer 731d228f62 Merge pull request #10309 from kobergj/RemoveDeprecations
Remove Deprecations
2024-10-16 13:00:02 +00:00
Martin 0ef814fd7c Merge pull request #10144 from owncloud/dubious_colon_after_env_varname
[docs-only] fix: remove colons after an env var, to form proper path names in descriptions
2024-10-02 07:39:55 +00:00
kobergj 571fa3590a Merge pull request #9079 from owncloud/feat/reva-app-auth
feat: reva app auth
2024-07-23 08:41:15 +00:00
Michael Barz 5100e7a76d Merge pull request #9458 from rhafer/issue/5538
autoprovisioning: Manage group memberships
2024-07-08 08:03:54 +00:00
Roman Perekhod 3dbb57501a Merge pull request #9449 from 2403905/issue-9355
Add the backchannel logout event
2024-06-26 08:36:10 +00:00
Michael Barz 5a735ab516 Merge pull request #8952 from rhafer/issue/8635
Autoprovsioning fixes
2024-05-02 14:10:19 +00:00
Thomas Müller 72ed5d228c feat: add CSP and other security related headers in the oCIS proxy service (#8777)
* feat: add CSP and other security related headers in the oCIS proxy service

* fix: consolidate security related headers - drop middleware.Secure

* fix: use github.com/DeepDiver1975/secure

* fix: acceptance tests

* feat: support env var replacements in csp.yaml
2024-04-26 07:16:47 +00:00
Thomas Müller 1578594b2f Merge pull request #8770 from owncloud/chore/typos-and-other-tourette-triggers
fix: typos, naming clashes, error messages and deprecations
2024-04-04 09:13:11 +00:00
Jörn Friedrich Dreyer 42e11ded53 drop store service in favor of a micro store implementation (#8419)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-02-26 15:11:30 +00:00
Christian Richter 2fde64db24 Merge pull request #8229 from dragonchaser/fix-ocis-path-in-docs
change ocis basepath from home to
2024-01-17 12:57:05 +00:00
kobergj 585702719f Merge pull request #7989 from kobergj/AuthenticationForNats
Authentication for nats
2023-12-19 10:29:07 +00:00
kobergj 3594fcc054 Merge pull request #7979 from kobergj/InmemNatsjsStore
[full-ci] Add inmem option for nats-js stores
2023-12-15 13:33:55 +00:00
kobergj 8647f0e134 Merge pull request #7793 from kobergj/FixNatsjsCache
[full-ci] Use nats-js cache
2023-12-14 10:53:37 +00:00
Martin e96bfa70c2 Merge pull request #7699 from owncloud/fix_envvar_array_slice_descriptions
[docs-only] Fix envvars with a array slice ([]string)
2023-11-09 13:09:38 +00:00
Martin e0644ce339 Merge pull request #7690 from owncloud/fix_envvar_duration_descriptions
[docs-only] Fix envvars with a duration.
2023-11-09 08:32:17 +00:00
Ralf Haferkamp e6e7e8c14a graph: debug logging for requireadmin middleware 2023-09-07 18:57:13 +00:00
kobergj 54bcdba7c0 Merge pull request #7106 from owncloud/allow-skip-userinfo
allow skipping userinfo call
2023-08-23 13:14:13 +00:00
Christian Richter 70ce7c7f2a Merge pull request #7099 from dragonchaser/deprecate_variables
Deprecate variables
2023-08-23 08:26:46 +00:00
Martin da9ac7a126 Merge pull request #6723 from owncloud/fix_loglevel_description
[docs-only] Increase readability for log level values in the description
2023-07-07 15:08:17 +00:00
Martin 224ee6d546 Merge pull request #6724 from owncloud/fix_tracing_description
[docs-only] Increase readability for tracing values in the description
2023-07-07 08:34:04 +00:00
Florian SchadeandRalf Haferkamp 5d44d1d61d [full-ci] enhancement: use reva client pool selectors (#6452)
* enhancement: use reva client pool selectors

register mock service to registry and pass tests

* enhancement: bump reva

* Fix a couple of linter issues

---------

Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
2023-06-08 10:43:53 +00:00
Ralf Haferkamp e012901079 Revert "idp/proxy: Match users by ID instead of name by default"
This reverts commit 52951b42b0.

The change broke authentication for at least the desktop client when
using the builtin idp. There seem to be issues in the IDP (lico) which
result in the implicit scoped not being added correctly in some case.
When that scope is missing the `lg.uuid` claim will not be present in
the userinfo and we can correctly match users by id.

This reverts back to the old behaviour of matching users by name. Which
also brings some aspects of https://github.com/owncloud/ocis/issues/904

Fixes #6415
2023-06-01 09:20:33 +00:00
Ralf Haferkamp 388af1daaa ocis_keycloak: Don't start builtin IDP when using keycloak 2023-05-24 15:14:20 +00:00
Ralf Haferkamp dbfc660bf4 idp/proxy: Match users by ID instead of name by default
Reconfigure the oidc clients for lico, so that lico adds the "lg.uuid" to
tokens and userinfo by default. That claim will contain the userid. So
we can now use the userid for matching users when using the default
idm/idp configuration. This fixes further problems so that users being
recreated with the same name are correctly treated as differnt users.

Fixes: #904
2023-05-23 07:50:42 +00:00
Phil Davis 2806f15a3c Merge pull request #6341 from owncloud/allows-to
Reword 'allows to' sentences
2023-05-18 05:22:33 +00:00
Martin 5803484982 Merge pull request #6193 from owncloud/proxy_tls_envvar 2023-05-02 19:53:30 +00:00
Sagar Gurung 0ca2041ee8 [tests-only]Added GDPR export. check events when user is created (#6106)
* Added GDPR export for event upload file

* Add for user created events for GDPR export

* Add for user information assertion

* Review Address
2023-04-27 10:21:01 +00:00
Christian Richter 0423a1dea0 Merge pull request #6153 from dragonchaser/issue-5003-idm-debug-port
add debug server to idm
2023-04-27 09:18:57 +00:00
Ralf Haferkamp 2082ab16ce oidc: Remove "aud" claim validation of logout tokens (#6156)
The "aud" claim of the logout token is supposed to contain the client-id
of the client for which the token was issued. Our current implementation of
validating that claim is somewhat broken. We only allow to configure a single
value for the allowed client id. But we have different client-ids
accessing oCIS.

This completely removes the current validation of the `aud` claim until
we come up with a working solution. As we currently require a session id
to be present in the logout token the risk not validating the `aud`
claim is pretty low.

Related: #6149
2023-04-27 08:36:02 +00:00
Andre Duffeck a045f5b0a1 [full-ci] More cache cleanup (#6134)
* Make env var names consistent with the others

* Remove unused OCS cache

* Use the same cache database for shared caches

* Bump reva
2023-04-25 13:48:35 +00:00
Michael Barz c5911733b3 Merge pull request #6125 from owncloud/release-3.0.0-rc.1
[full-ci] prepare changelog, bump version
2023-04-24 15:08:13 +00:00
Roman Perekhod 5d47999bc0 Merge pull request #6089 from 2403905/issue-6087
Determine the users preferred language to translate emails via Transi…
2023-04-24 14:14:34 +00:00
Andre DuffeckandMartin fcd3c081c6 [full-ci] Refactor stores (#6019)
* Streamline the store implementation with and into reva

* Adapt to the cache/store refactoring in reva

* Streamline config options and their env vars

* Apply suggestions from code review

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

* Use the same database for all stores

* Bump reva

* Configure stat and filemetadata cache separately

* Fix default config

---------

Co-authored-by: Martin <github@diemattels.at>
2023-04-24 13:15:27 +00:00
Christian Richter 86fc6d69ed Merge pull request #6007 from dragonchaser/backchannellogout
[full-ci] Implement backchannel logout
2023-04-20 11:25:24 +00:00
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