Commit Graph

735 Commits

Author SHA1 Message Date
Michael Barz ebd7045ff3 chore: prepare release, bump version 2024-11-21 08:21:01 +01:00
Jörn Friedrich Dreyer 6393e24d68 log grpc requests in debug mode
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-18 10:52:47 +01:00
Martin Mattel 168f1a89d3 [docs-only] Imporve error messages for health command output 2024-11-14 11:10:44 +01:00
Michael Barz b52e6cc470 chore: prepare release, bump version 2024-11-12 18:59:16 +01:00
jkoberg ea726ffcca fix(ocis-pkg/service): remove gobreaker lib
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-08 12:27:45 +01:00
Michael Barz 9e061856f8 chore: prepare release, bump version 2024-11-07 18:09:14 +01:00
Jörn Friedrich Dreyer 409259949e only check nats if it is used
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 12:26:12 +01:00
Jörn Friedrich Dreyer 1a429115c2 register services after they are ready
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 10:38:23 +01:00
Roman Perekhod b4f330278e set the memlimit default loglevel to error 2024-10-29 12:32:04 +01:00
Jörn Friedrich Dreyer ad43ae824c delete unused trap
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +01:00
Christian Richter d8a12ee067 simplify code
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-24 14:09:42 +02:00
Christian Richter 6f789f2ab9 tackle ipv6 wildcard binds
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-24 14:09:31 +02:00
Christian Richter 3c6c37fbc0 avoid 0.0.0.0 & replace by outbound ip
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-24 14:09:20 +02:00
Michael Barz 39d1265623 chore: prepare release, bump version 2024-10-23 16:53:30 +02:00
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