Commit Graph

721 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer 6b97c74c40 require tls 1.2
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-22 10:56:04 +02:00
Michael Barz ad8044e156 chore: prepare release, bump version 2024-10-21 22:52:31 +02:00
Florian Schade 0437722353 Bugfix: Fix health and ready endpoint checker configurations 2024-10-17 14:34:04 +02:00
Florian Schade 331fc85da2 fix: checker map mutation 2024-10-17 02:51:56 +02:00
Florian Schade 66ff86bd35 enhancement: simplify ready and health check handler usage 2024-10-16 20:26:00 +02:00
jkoberg 3d69694b74 feat(ocis): remove deprecated registries
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-15 17:24:51 +02:00
jkoberg c80254c4f1 feat(ocis): remove ocm store
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-15 17:24:51 +02:00
Christian Richter 49cf9b0859 add grpc checker to search, settings & thumbnails
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-15 16:44:42 +02:00
Christian Richter c803194975 add generic grpc checker
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-15 16:00:23 +02:00
Christian Richter dd59a36344 fix bug in checkhttp.go
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-15 14:30:20 +02:00
Christian Richter 9186c90bd8 refactor checker
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-15 13:41:06 +02:00
Christian Richter 339762b5e0 give the checker the ability to inherit checks from other checkhandlers
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-15 07:34:23 +02:00
Christian Richter fd4f8ce758 incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 16:05:17 +02:00
Christian Richter da29c8e8fd make sonarcloud happy
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 15:31:55 +02:00
Christian Richter 6064386787 add timeout to tcp checker
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 08:39:42 +02:00
Christian Richter 61070e3187 fix sonar cube bugs
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 08:39:42 +02:00
Christian Richter c86cc619c2 restructure check handlers
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 08:39:42 +02:00
Florian Schade 0671039474 enhancement: add readyz and healthz check handler 2024-10-14 08:39:42 +02:00
Ralf Haferkamp e2d7251893 fix(thumbnails): Implement ratelimit for the grpc service
This moves the ratelimit ('THUMBNAILS_MAX_CONCURRENT_REQUESTS') from the
HTTP endpoint to the GRPC endpoint. The HTTP endpoint is just used for
downloading already created thumbnails. But the resource consuming part of
thumbnail generation happens in the GRPC service.
2024-10-09 14:15:54 +02:00
Michael Barz 81c88caca1 chore: prepare release, bump version 2024-10-01 09:33:56 +02:00
Ralf Haferkamp cb8934081f proxy(oidc): Emit a UserSignedIn event on new session
Every time the OIDC middleware sees a new access token (i.e when it needs
to update the userinfo cache) we consider that as a new login. In this case
the middleware add a new flag to the context, which is then used by the
accountresolver middleware to publish a UserSignedIn event.
The event needs to be sent by the accountresolver middleware, because only
at that point we know the user id of the user that just logged in.

(It would probably makes sense to merge the auth and account middleware into a
single component to avoid passing flags around via context)
2024-09-17 16:02:47 +02:00
Michael Barz 8ab1d5924c chore: bump version, prepare changelog 2024-09-12 14:00:01 +02:00
Ralf Haferkamp 80ce622caa cleanup(oidc): Verify logout tokens useing golang-jwt
golang-jwt provides all the necessary functionality to parse and verify
LogoutTokens. This gets us rid of the direct go-jose dependency and
quite a bit of custom crafted jwt verification code.
2024-08-26 15:58:33 +02:00
Ralf Haferkamp 109b23966c bump some jwt related go modules to current version
go-jwt/jwt to v5.2.1
MicahParks/keyfunc to v2.1.0
2024-08-26 15:35:15 +02:00
Jörn Friedrich Dreyer 9d40aa8fc2 allow configuring default reva address
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-23 20:51:17 +02:00
Jörn Friedrich Dreyer 84e87cd722 set the configured protocol transport for service metadata
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-23 20:51:17 +02:00
Christian Richter 3cdc638201 remove code for store service
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-08-22 09:28:02 +02:00
Jörn Friedrich Dreyer 454c119d0b chore: prepare changelog, bump version, update CD, add release to table
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-20 10:28:52 +02:00
Jörn Friedrich Dreyer a3c7bd3182 bump libre graph api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-19 14:20:20 +02:00
Jörn Friedrich Dreyer f2620b9f20 Merge pull request #9722 from 2403905/issue-9700
Added a generic way to translate the necessary fields in composite entities.
2024-08-09 13:54:02 +02:00
jkoberg be7ef83fca feat(l10n): support maps
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-06 16:53:33 +02:00
jkoberg 68e08c59b4 feat(l10n): adjust translate entity
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-06 14:25:30 +02:00
Roman Perekhod c39bac17c4 the comments added to public functions 2024-08-06 14:25:30 +02:00
Roman Perekhod 21c6dda4f8 refactored the translation funcrions interface 2024-08-06 14:25:30 +02:00
Roman Perekhod 85d2842bc8 fixed sonrarcloud alert 2024-08-06 14:25:30 +02:00
Roman Perekhod 70fc7ecb92 The translate functions are separated semantically 2024-08-06 14:25:30 +02:00
Roman Perekhod fc85837d82 added the iterator over slice and map 2024-08-06 14:25:30 +02:00
Jörn Friedrich Dreyer 464c780c82 added TranslateEntity 2024-08-06 14:25:30 +02:00
Jörn Friedrich Dreyer c3f170b7b6 fix comments
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-06 13:04:45 +02:00
Jörn Friedrich Dreyer 7834ad6705 aggregate services by versions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-06 12:38:50 +02:00
Jörn Friedrich Dreyer 98ce5dc085 add version to key
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-06 12:38:10 +02:00
Jörn Friedrich Dreyer 1da29fb6fd fix unmarshaling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-02 13:00:46 +02:00
Jörn Friedrich Dreyer 2a24cafd0c Merge pull request #9657 from owncloud/add-grpc-max-connection-age-env
allow configuring grpc max connection age
2024-07-31 15:41:45 +02:00
Jörn Friedrich Dreyer 652675196e allow configuring grpc max connection age
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-31 14:39:12 +02:00
Jörn Friedrich Dreyer d839bfb5a3 Merge pull request #9492 from owncloud/ignore-address-for-kubernetes-registry
ignore addresses for kubernetes registry
2024-07-30 16:53:13 +02:00
Jörn Friedrich Dreyer 297cc77621 gateway should talk to itself
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

extract method

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-30 16:14:28 +02:00
Michael Barz cc0ebd493a Merge pull request #9711 from owncloud/release-6.2.0
[full-ci] chore: bump version, prepare changelog
2024-07-30 15:22:01 +02:00
Michael Barz 752f988faf chore: bump version, prepare changelog 2024-07-30 11:05:41 +02:00
jkoberg 06cc70f978 feat(natsjsregistry): fix watcher feature
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-24 13:09:11 +02:00
Jörn Friedrich Dreyer d1fd65466f reuse default node id when registering services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:07:54 +02:00