Commit Graph

58 Commits

Author SHA1 Message Date
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
947a76803c migrate frontend from urfave/cli to spf13/cobra
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2025-12-15 16:40:25 +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
Roman Perekhod
65d05bbd5c feat: fix the graceful shutdown using the new ocis and reva runners
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-09-12 12:18:47 +02:00
Juan Pablo Villafáñez
c0b4a5daa0 chore: change constant name to camelcase 2025-09-08 17:32:36 +02:00
Juan Pablo Villafáñez
ca2dc823ef feat: use names for connections to the nats event bus 2025-09-08 17:32:35 +02:00
Ralf Haferkamp
96684df32d Adjust to new tablewriter release 2025-05-19 19:26:38 +02:00
André Duffeck
e8d35e1280 Use the opencloud reva from now on 2025-01-21 11:16:38 +01:00
Jörn Friedrich Dreyer
bc5d1777d0 frontend
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-16 16:12:37 +01:00
Ralf Haferkamp
213e9663a9 Rename go-micro services 2025-01-16 09:45:46 +01:00
André Duffeck
8c8cdd9310 Adapt protobuf naming 2025-01-15 11:04:32 +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
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
3c6c253e14 fix autoaccept concurrency
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 15:10:32 +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
Jörn Friedrich Dreyer
42711aef88 concurrent autoaccept
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Update services/frontend/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

align concurrency approach

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-06 15:17:46 +01:00
Jörn Friedrich Dreyer
04632ad34c make sure services have some time to deregister
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +01:00
Jörn Friedrich Dreyer
32287da09e work on signal handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +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
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
Florian Schade
9856ef4f83 fix: reduce logs when auto accepting shares fails because the share was already unshared before accepting it 2024-10-17 14:40:00 +02:00
Florian Schade
66ff86bd35 enhancement: simplify ready and health check handler usage 2024-10-16 20:26:00 +02:00
Christian Richter
0094d30378 code cleanup & refactoring
Signed-off-by: Christian Richter <crichter@owncloud.com>
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
a96203786f replace defineContext with context from app
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:33:57 +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
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
Florian Schade
3280b22ffe enhancement: add error origin information to the errorcode package 2024-06-19 15:57:35 +02:00
Florian Schade
1f012ac9b5 enhancement: bump reva and remove unnecessary explicit automount mount point naming 2024-06-18 12:53:23 +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
07f0cd5574 fix: typos, naming clashes, error messages and deprecations 2024-04-03 15:34:36 +02:00
Roman Perekhod
cd629c7521 fix the mount points naming 2024-03-13 17:26:57 +01:00
Jörn Friedrich Dreyer
cd10209bb6 always select the next clients when autoaccepting shares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-03-04 16:30:01 +01:00
Jörn Friedrich Dreyer
ccfb9101de it is called traceProvider (#8280)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-01-24 16:34:58 +01:00
kobergj
377a23ee7d Non-durable SSE streams (#7986)
* make sse streams non-durable

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* bump reva

Signed-off-by: jkoberg <jkoberg@owncloud.com>

---------

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-18 11:47:25 +01:00
jkoberg
e8a3f28cf0 use existing mountpoint on auto accept
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-10-26 11:59:21 +02:00
jkoberg
88d6edd588 set mountpoint on auto accept
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-10-11 14:20:48 +02:00
jkoberg
1f1aa50c54 hard exit when services fail
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-21 13:53:18 +02:00
Roman Perekhod
2e7b423dcc Added an option to enable a password check against a Banned-Password List (#7315)
* Added an option to enable a password check against a Banned-Password-List

* Update services/frontend/README.md

Co-authored-by: Martin <github@diemattels.at>

Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de>

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de>
2023-09-21 12:31:48 +02:00
jkoberg
de14367d16 start eventlistener in group
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-06 16:46:43 +02:00
jkoberg
8e1b033a63 auto-accept shares in frontend service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-06 15:32:31 +02:00
Daniel Swärd
49d47ff917 Re-enable commented out tracing in frontend. 2023-08-21 12:43:22 +02:00
Daniël Franke
e43001fb96 Pass context for reva bump.
Also refresh the generated code.
2023-07-03 11:08:45 +02:00
Daniël Franke
7a229e438b Migrate frontend to new service tracing setup.
This alters the frontend to use the new service tracing setup.
2023-07-03 10:25:51 +02:00
Florian Schade
4f26424db6 [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 12:41:04 +02:00
jkoberg
d347448ec0 remove duplicated sutureservice code
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-02 12:02:27 +02:00
Willy Kloucek
9f2be9f4f9 remove Log prefix from configlog functions 2022-08-22 08:08:18 +02:00
Willy Kloucek
e58eaabdeb move config parse error logging into function to ensure new lines and don't parse config for help 2022-08-18 15:27:28 +02:00