Commit Graph

611 Commits

Author SHA1 Message Date
kobergj
46af9cce40 move nats authentication to natsjsregistry package (#8281)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 17:14:19 +01:00
jkoberg
82ee1a6305 use inmemory natsjskv registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:32 +01:00
jkoberg
13bb2785d4 fix cache authentication
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-24 10:39:30 +01:00
jkoberg
1110bf2178 fix name of nats-js-kv registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-01-05 14:45:51 +01:00
Michael Barz
08e713d49f feat: bump version to prealpha 2023-12-27 13:23:33 +01:00
Michael Barz
f0da02ecb0 feat: prepare changelog, bump version 2023-12-20 14:37:52 +01:00
jkoberg
f5809848b9 fix registry creation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-20 10:05:44 +01:00
André Duffeck
69e8d13f7e Use a on-sampling instead of noop traceprovider to get proper traceids
Fixes #7928
2023-12-19 14:49:48 +01:00
jkoberg
e1fad5c6e9 make nats-js-kv the default registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-19 12:13:28 +01:00
jkoberg
15efafaf23 allow authentication for the registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-19 10:44:05 +01:00
kobergj
c1af7dd5ce use kv store in natsjs registry (#7987)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-18 10:17:48 +01:00
kobergj
423c28b298 improve store readmes
Co-authored-by: Martin <github@diemattels.at>
2023-12-15 13:25:10 +01:00
Michael Barz
a34fdfb279 docs: prepare changelog, bump version 2023-12-12 20:17:55 +01:00
Jannik Stehle
456ad36818 chore: bump version to v5.0.0-alpha.6 2023-12-08 15:08:39 +01:00
Benedikt Kulmann
8aa2b9e1c6 chore: bump version to v5.0.0-alpha.5 2023-12-05 16:23:36 +01:00
Michael Barz
e6d6d27afa Merge pull request #7855 from owncloud/release-5.0.0-alpha.4
chore: prepare release v5.0.0-alpha.4
2023-12-05 14:15:48 +01:00
Jörn Friedrich Dreyer
23e59b5ded Parse role claims (#7713)
* extract and test role claim parsing

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

* add failing test

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

* read segmented roles claim as array and string

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

* reuse more code by extracting WalkSegments

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

* add TestSplitWithEscaping

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

* docs and error for unhandled case

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

* add claims test

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

* add missing ReadStringClaim docs

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

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-12-04 12:18:52 +01:00
Benedikt Kulmann
b4d92b5ca4 chore: prepare release v5.0.0-alpha.4 2023-11-30 12:14:39 +01:00
Florian Schade
ad06a192d8 enhancement: add graph beta listPermissions endpoint (#7753)
* enhancement: add graph beta listPermissions endpoint

besides the new api endpoint it includes several utilities to simplify the graph api development.

* resolve drive and item id from the request path
* generic pointer and value utilities
* space root detection

* update GetDriveAndItemIDParam signature to return a error

* move errorcode package

* enhancement: add generic error code handling

* fix: rebase
2023-11-28 17:06:04 +01:00
kobergj
9057d231a8 fix search service startup (#7795)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-24 08:35:10 +01:00
Benedikt Kulmann
7a5762c8f0 chore: bump version, prepare changelog 2023-11-22 09:22:32 +01:00
Michael Barz
21796532e1 bump version, prepare changelog 2023-11-08 15:35:12 +01:00
jkoberg
73c99cce9e introduce natsjs registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-11-06 08:59:01 +01:00
Michael Barz
5c6f95c3cd bump version, prepare changelog 2023-10-30 16:43:04 +01:00
André Duffeck
668f917dba Add an ocm service exposing the ocm related http and grpc APIs 2023-10-24 10:29:29 +02:00
André Duffeck
3eea26390c Fix struct field tag for OCIS_MACHINE_AUTH_API_KEY 2023-10-24 10:29:28 +02:00
Christian Richter
e56b23541a remove obsolete cli flags
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-10-11 16:31:10 +02:00
Ralf Haferkamp
2a53dd89f4 debugServer: Set a base context for the http server
to allow propagating context cancellation
2023-10-10 12:25:30 +02:00
Ralf Haferkamp
03fc51d573 registry: correctly return from go-routine on cancelation
When the the context is cancel we need to return from the go-routine
after de-registering the service.
2023-10-10 12:25:30 +02:00
Florian Schade
c0553c7273 [full-ci] enhancement: add more kql spec tests and simplify ast normalization (#7254)
* enhancement: add more kql spec tests and simplify ast normalization

* enhancement: kql parser error if query starts with AND

* enhancement: add kql docs and support for date and time only dateTimeRestriction queries

* enhancement: add the ability to decide how kql nodes get connected

connecting nodes (with edges) seem straight forward when not using group, the default connection for nodes with the same node is always OR. THis only applies for first level nodes, for grouped nodes it is defined differently. The KQL docs are saying, nodes inside a grouped node, with the same key are connected by a AND edge.

* enhancement: explicit error handling for falsy group nodes and queries with leading binary operator

* enhancement: use optimized grammar for kql parser and toolify pigeon

* enhancement: simplify error handling

* fix: kql implicit 'AND' and 'OR' follows the ms html spec instead of the pdf spec
2023-09-11 13:49:53 +02:00
jkoberg
732228ed88 add clientlog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-07 10:56:58 +02:00
Jörn Friedrich Dreyer
f1d09af547 support AD FS (#7140)
* support AD FS

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

* drop unnecessary else

Co-authored-by: kobergj <jkoberg@owncloud.com>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-09-01 15:25:06 +02:00
jkoberg
90ce1a7ad0 add auth-service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-31 12:11:44 +02:00
kobergj
9eb73f0ba3 Merge pull request #6992 from fschade/sse-service
enhancement: add sse service skeleton
2023-08-30 09:36:49 +02:00
Ralf Haferkamp
6dac1285f1 Fix GoCloak interface defintion for 13.8.0 2023-08-30 09:32:48 +02:00
Florian Schade
96292ba4b6 enhancement: add sse service skeleton 2023-08-29 13:59:39 +02:00
jkoberg
4d3b7355f1 release 4.0.0
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-23 15:15:44 +02:00
Jörn Friedrich Dreyer
5422586bfa allow skipping userinfo call
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-08-23 13:56:48 +02:00
Christian Richter
d7139d4127 remove deprecated variables
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Daniel Swärd
f805589e9d Update sharing and ocdav tracing. (#7014) 2023-08-21 12:27:37 +02:00
Daniel Swärd
f0e2b50675 Partially revert removal of believed unused reva tracing initialization. 2023-08-21 10:37:12 +02:00
Daniel Swärd
d41f1ac8f4 Remove unused reva tracing initialization. (#7011) 2023-08-14 09:34:27 +02:00
Michael Barz
95460ab9a5 prepare changelog, bump version 2023-08-02 12:49:51 +02:00
Daniel Swärd
6a5e21eff4 Replacing implicit grpc client initialization with explicit package local variables. 2023-07-31 12:57:59 +02:00
Daniel Swärd
44d9c50f1e Merge pull request #6907 from owncloud/excds/feature/Separate_out_grpc_client_to_package_local_for_thumbnails_service
Separate out grpc client to package local for thumbnails service.
2023-07-28 09:39:36 +02:00
Daniel Swärd
d21b03b14c Separate out grpc client to package local for thumbnails service. 2023-07-27 12:22:28 +02:00
Daniël Franke
22f5a76829 Add default config to service.
Also modify `GetServiceTraceProvider` to keep working if nil or nil
interface is passed.
2023-07-27 11:25:32 +02:00
Daniël Franke
c76b2e75ef Add another NewNoopTracerProvider 2023-07-26 12:17:30 +02:00
Daniël Franke
162b04f873 Add dummy provider if none is set 2023-07-26 12:17:26 +02:00
kobergj
d8bbe7eeaf Merge pull request #6881 from kobergj/UsePutForNats
Use PUT registry for nats
2023-07-26 12:00:37 +02:00