Commit Graph
75 Commits
Author SHA1 Message Date
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
Ralf Haferkamp a0f212e2ca Removed deprecated envars scheduled for removal with 5.0.0
Fixes: #8025
2024-01-09 10:32:15 +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
Ralf Haferkamp 13e2c25409 graph/groups: Allow unprivileged users to search for groups 2023-12-07 09:25:07 +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
Roman PerekhodandRoman Perekhod 4c0e47cec6 implement sharing roles (#7524)
Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
2023-10-24 13:07:22 +00:00
Ralf Haferkamp 9610ec68ff users: revive USERS_LDAP_USER_SCHEMA_ID variable
The config variable was accidently removed when cleaning up deprecated variables
for the 4.0.0 release

Fixes: #7312
2023-09-20 17:02:00 +00:00
kobergj 68b2d49c2b Merge pull request #6427 from kobergj/ServiceAccounts
[full-ci] Service Accounts
2023-08-31 11:18:55 +00:00
Christian Richter 70ce7c7f2a Merge pull request #7099 from dragonchaser/deprecate_variables
Deprecate variables
2023-08-23 08:26:46 +00:00
Ralf Haferkamp 1b34e24bc2 graph: honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting
Fixes: #7032
2023-08-17 09:09:37 +00:00
Ralf Haferkamp 9a664d30fe graph: Add config knob to set a minimal grace period for schoolTermination
When setting a terminationDate on a School, it's possible to configure a grace
period now so that only terminationDate that are at least a certain time in the
future can be set.
We also now forbid to set a terminationDate in the past.
2023-07-12 06:50:20 +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
Martin 500420ae2e Merge pull request #6488 from owncloud/fix_envvar_descriptions
[docs-only] Fix some envvar descriptions
2023-06-09 11:50:37 +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
Christian Richter 0be7e7209d Merge pull request #6458 from owncloud/mmattel-patch-1
[docs-only] GRAPH_APPLICATION_ID envvar text fix
2023-06-07 07:41:26 +00:00
Martin 619a71e859 Merge pull request #6392 from kobergj/UnifyCACertEnvvars
Unify CACERT envvars
2023-05-25 12:48:59 +00:00
Martin c4243eafcf Merge pull request #6379 from rhafer/issue/6194
proxy: Return an error when autoprovision a user fails
2023-05-24 16:53:09 +00:00
Martin c121e05b49 Merge pull request #6374 from rhafer/issue/6344
docs: clarify wording for 'OCIS_LDAP_SERVER_WRITE_ENABLED'
2023-05-24 09:38:56 +00:00
Michael Barz e68c97d131 Merge pull request #6355 from owncloud/fix-cors-headers
fix preflight requests
2023-05-24 07:41:50 +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
Michael Barz d93b3bbef9 Merge pull request #6339 from kobergj/GraphUserCapabilities
Graph User Capabilities
2023-05-17 18:29:12 +00:00
Ralf Haferkamp 92fe2579f8 graph: Adjust defaults for user, group and SpaceProperties caches
The old default ttl of 30 minutes for the caches seems way too long. It
could cause outdated information users or groups to be returned for
quite a while. Especially since the TTL was reset every time an entry was
fetched from the cache. This is disabled now as well.

Fixes: #6320
2023-05-17 14:18:10 +00:00
Martin 147e446780 Merge pull request #6275 from owncloud/excds/bugfix/Fix_typos_in_config
[docs-only] graph/groups: Fix typos in config.
2023-05-10 16:03:13 +00:00
Michael Barz b41f3473e7 Merge pull request #6189 from owncloud/cache-special-drive-items
cache special drive items until space root changes
2023-05-03 16:18:11 +00:00
Ralf Haferkamp 1442f1f4cc graph/users: gracefully handle PATCH requests with empty bodies
Return as success status code when the PATCH request comes with an empty
body. This is mainly to workaround issues like:
https://github.com/owncloud/web/issues/8946
2023-05-03 07:33:43 +00:00
Andre DuffeckandJörn Friedrich Dreyer 8daf23f6f9 Cleanup and improve the caching config (#6148)
* Cleanup and improve the caching config

* bump reva

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

* disable stat cache

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

* Bump reva

* Linter fixes

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-27 10:37:07 +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
Michael Barz 8382e9ade5 Merge pull request #6014 from owncloud/ainmosni/feature/gdpr-collection
Integrate keycloak and events data into graph.
2023-04-14 14:12:09 +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 8b23d98cbe Merge pull request #6009 from 2403905/introduceGlobalVariables
Introduced global OCIS_EVENTS_ENDPOINT and OCIS_EVENTS_CLUSTER #5901
2023-04-05 08:24:00 +00:00
Ralf Haferkamp 99fed18966 graph: new config option GRAPH_LDAP_GROUP_CREATE_BASE_DN
By setting GRAPH_LDAP_GROUP_CREATE_BASE_DN a distinct subtree can be
configured where new LDAP groups are created. That subtree needs to be
subordinate to GRAPH_LDAP_GROUP_BASE_DN. All groups outside for
GRAPH_LDAP_GROUP_CREATE_BASE_DN are considered read-only and only groups
below that DN can be updated and deleted.

This is introduced for a pretty specific usecase where most groups are managed
in an external source (e.g. a read-only replica of an LDAP tree). But we still
want to allow the local administrator to create groups in a writeable subtree
attached to that replica.
2023-04-04 14:00:08 +00:00
Michael Barz 180012ee18 Merge pull request #5988 from owncloud/add-more-cors
[full-ci] add missing cors config
2023-04-03 17:17:14 +00:00
kobergj 8e81397f0a Merge pull request #5950 from kobergj/GDPRExport
GDPR Export
2023-03-30 14:58:29 +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 4d7f6cab9b graph: Allow to disable the default role assignment on user creation
Introduces a switch ('GRAPH_ASSIGN_DEFAULT_USER_ROLE') to allow to disable the assignment of the default role "User" to newly created users.
This will be used for setups where the role-assignments are populated either manually or during first login (e.g. from OIDC claims)
2023-03-15 14:45:03 +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 0472ee850d commit 6a81132db4
Merge: 006b3cfba 3eec5b0ed
Author: Martin <github@diemattels.at>
Date:   Mon Mar 6 17:19:01 2023 +0100

    Merge pull request #5736 from owncloud/fix_description

    [docs-only] Small description text fixes for envvars
2023-03-06 16:20:53 +00:00
Daniel Swärd 25066b3b31 commit b517a6c3dd
Merge: c17add76c ca746106d
Author: Daniel Swärd <excds@kth.se>
Date:   Mon Mar 6 10:31:57 2023 +0100

    Merge pull request #5625 from owncloud/excds/feature/5554_Allow_disabling_user_by_adding_to_local_group

    graph: Allow disabling user by adding to local group
2023-03-06 09:33:30 +00:00
Daniël Franke f645243db1 commit 22f3577b7d
Author: Daniël Franke <df@ponc.tech>
Date:   Mon Feb 20 13:40:42 2023 +0100

    Update comment
2023-02-21 00:43:38 +00:00
Michael Barz 074e75d1a7 commit b3435edb89
Merge: 30faae2ae d34730d45
Author: Michael Barz <mbarz@owncloud.com>
Date:   Mon Feb 20 13:42:38 2023 +0100

    Merge pull request #5597 from wkloucek/settings-roles-merge-fix

    fix settings service bunldes config merge problems
2023-02-20 13:54:41 +00:00