Christian Richter
0372869b8b
refactor remaining code from urfave/cli
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:27 +01:00
Christian Richter
7be33b0607
refactor interims DefaultAppCobra to DefaultApp
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Christian Richter
1e38489460
migrate webfinger from urfave/cli to spf13/cobra
...
Signed-off-by: Christian Richter <c.richter@opencloud.eu >
2025-12-15 16:40:26 +01:00
Jörn Friedrich Dreyer
a3ef7f6d79
update otlp tracing
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-11-27 12:28:15 +01:00
Roman Perekhod
c597dfb917
set default timeouts and clean up
2025-09-12 12:18:47 +02:00
Roman Perekhod
9a3fc08dd4
to separate controll ower the http and grpc driven services
2025-09-12 12:18:47 +02:00
Juan Pablo Villafáñez
9e1b80a1be
feat: use runners to startup the services
2025-09-12 12:18:47 +02:00
Ralf Haferkamp
96684df32d
Adjust to new tablewriter release
2025-05-19 19:26:38 +02:00
Ralf Haferkamp
8e1f68f315
Reset 'introductionVersion" struct tag to 1.0.0
2025-02-24 11:40:33 +01:00
Jörn Friedrich Dreyer
5baf3cd4eb
webfinger
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-17 10:08:49 +01:00
Jörn Friedrich Dreyer
db39b8ed3b
use opencloudurl
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-16 11:13:08 +01:00
Ralf Haferkamp
213e9663a9
Rename go-micro services
2025-01-16 09:45:46 +01:00
Jörn Friedrich Dreyer
318ca21645
metrics, log and supervisor
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 16:09:54 +01:00
Jörn Friedrich Dreyer
5aa5ab843a
ociscfg -> occfg
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-14 12:44:00 +01:00
Jörn Friedrich Dreyer
b07b5a1149
use plain pkg module
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer
a46fd132bd
use OC_ env prefix
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 16:11:11 +01:00
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +01:00
Jörn Friedrich Dreyer
dde999d5c2
align shutdown logging
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-28 14:47:11 +01:00
Christian Richter
26bf70a5b1
remove random default ports
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-23 11:12:20 +02:00
Florian Schade
66ff86bd35
enhancement: simplify ready and health check handler usage
2024-10-16 20:26:00 +02:00
Christian Richter
e1fb51ea9d
add http checks to webfinger
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-10-15 14:28:54 +02:00
Christian Richter
0094d30378
code cleanup & refactoring
...
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
Florian Schade
c82a7c560e
enhancement: use global ready and health handlers
2024-10-14 08:39:42 +02:00
Jörn Friedrich Dreyer
7999e2969b
do not force exit to let all services shutdown gracefully
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:52 +02:00
Jörn Friedrich Dreyer
9d1515e8fc
rely on context from app
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 14:02:11 +02:00
Jörn Friedrich Dreyer
008f379a01
pass config context when running apps
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-07-24 13:30:42 +02:00
Thomas Müller
a8cbc612cc
chore: remove unused return value from BindSourcesToStructs ( #9033 )
2024-04-30 18:18:31 +02:00
Jörn Friedrich Dreyer
32e44a9fdc
Merge pull request #8989 from owncloud/log-and-trace-fixes
...
log and trace fixes
2024-04-29 17:13:52 +02:00
Jörn Friedrich Dreyer
e41472234f
log and trace fixes
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-04-26 17:03:49 +02:00
Thomas Müller
ac951eaaae
chore: code cleanup service/webfinger
2024-04-26 11:11:10 +02:00
Thomas Müller
bdbba929d0
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 09:10:35 +02:00
Thomas Müller
07f0cd5574
fix: typos, naming clashes, error messages and deprecations
2024-04-03 15:34:36 +02:00
Christian Richter
fe4cd7a901
make code more readable
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-03-19 14:21:21 +01:00
Christian Richter
b5ca297f54
prevent nil pointer
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2024-03-19 13:56:10 +01:00
Christian Richter
72916dc53c
adapt cors headers
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-03-19 10:54:58 +01:00
Phil Davis
9d2be66a85
chore: add introductionVersion pre5.0 to environment variable docs
2024-03-06 17:50:20 +05:45
mmattel
5e74b50efb
[docs-only] Fix envvars with a array slice ([]string)
2023-11-09 12:22:59 +01:00
jkoberg
1f1aa50c54
hard exit when services fail
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-09-21 13:53:18 +02:00
Daniel Swärd
49fc22d532
Add missing tracing references to multiple services. ( #7110 )
2023-08-23 15:17:17 +02:00
Daniel Swärd
a5f242f683
Convert webfinger to use service trace provider
2023-08-07 09:54:27 +02:00
mmattel
6ad53971ef
[docs-only] Increase readability for log level values in the description
2023-07-07 10:33:42 +02:00
mmattel
d7b447b791
[docs-only] Increase readability for tracing values in the description
2023-07-07 09:50:39 +02:00
Daniel Swärd
571d2318c0
Add missing span kind for tracing. ( #6471 )
...
* Add missing span kind for tracing.
* Add missing spanKind for tracing.
2023-06-22 10:09:10 +02:00
mmattel
758192bd6d
[docs-only] Fix some envvar descriptions
2023-06-09 13:03:17 +02:00
jkoberg
d347448ec0
remove duplicated sutureservice code
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-02 12:02:27 +02:00
Christian Richter
4a347e8c13
Fix nil pointer exception in webfinger
...
Co-authoredjby: Jörn Dreyer <jdreyer@owncloud.com >
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-04-21 16:16:26 +02:00
David Christofas
924c2ca346
add missing comments
2023-03-06 19:01:16 +01:00
Jörn Friedrich Dreyer
546e74c566
add webfinger to Makefile, add missing default config
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-02-13 13:36:18 +00:00
Jörn Friedrich Dreyer
2c98d3246c
minimal webfinger ( #5373 )
...
* initial webfinger stub
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add webfinger to proxy, return current host
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* some cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* allow passing multiple rel params
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* introduce interfaces
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* parse oidc auth token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add templating, drop chain, use map of relation providers
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* fix ocis url yaml
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* fix typos
Co-authored-by: Dominik Schmidt <dschmidt@owncloud.com >
* switch to userinfo claims
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* readme cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add TODO.md with ideas
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* replace subject on authenticated request responses
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at >
* markdown lint
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* return a 401 when bearer token expired, some more docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at >
* fix docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* clarify env var
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* extract handler func
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* use correct service in reflex.conf
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* test relations
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* Update services/webfinger/pkg/config/config.go
---------
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Co-authored-by: Dominik Schmidt <dschmidt@owncloud.com >
Co-authored-by: Martin <github@diemattels.at >
2023-02-13 11:05:20 +01:00