Commit Graph

27 Commits

Author SHA1 Message Date
Florian Schade ac8676fff4 enhancement: enable icap preview mode and fix client according to the spec (#8062)
* enhancement: enable icap preview mode and use a forked icap client which fixes tcp socket keepalive

* enhancement: make use of human time for the icap timout config option

* enhancement: update icap-client

* enhancement: bump icap client library and deprecate ANTIVIRUS_ICAP_TIMEOUT env

* chore: vendor icap library

* enhancement: set preview size only if greater than 0

* Update services/antivirus/pkg/config/config.go

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

* enhancement: add changelog

---------

Co-authored-by: Martin <github@diemattels.at>
2024-01-05 20:52:26 +01:00
jkoberg 3e55223f2d allow authentication for events
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-19 10:44:05 +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
André Duffeck c43b9d9bc6 Allow for retrying postprocessing steps with an exponential backoff 2023-12-12 14:08:21 +01:00
Daniël Franke 8b5687e811 Add tracing to antivirus.
This PR adds tracing to the Antivirus service.
2023-08-21 12:04:54 +02:00
jkoberg 49cdcad129 unify eventstream creation
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-08-16 10:14:12 +02:00
Daniël Franke 97dd855a63 Add reusable context. 2023-08-11 12:01:23 +02:00
Daniël Franke 952ebe7d7d Pass context to event publishing.
To allow tracing propagation via events, we need to pass the context
to the `Publish` function of reva events. This adds the context
everywhere where events are published. If there was no context to pass,
we started a new one with `context.Background()`.
2023-08-11 12:01:19 +02:00
mmattel ce318ca160 [docs-only] Replace double quotes with single quotes in envvar descriptions 2023-07-25 13:05:30 +02:00
mmattel 6ad53971ef [docs-only] Increase readability for log level values in the description 2023-07-07 10:33:42 +02:00
jkoberg aac793a400 add ctl command to resume postprocessing
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-13 10:50:07 +02:00
jkoberg d347448ec0 remove duplicated sutureservice code
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-06-02 12:02:27 +02:00
jkoberg 70391a0bf2 unify CACERT envvars
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-05-25 13:32:37 +02:00
Christian Richter 8c2abf33e5 add debug switch for antivirus
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-05-09 14:56:56 +02:00
mmattel 84d2d8dae9 [docs-only] Fix texts and typos in README.md files 2023-04-23 10:02:27 +02:00
mmattel b2504035e0 fix readme service names 2023-04-12 18:40:41 +02:00
kobergj 78ab7d6750 Merge pull request #6009 from 2403905/introduceGlobalVariables
Introduced global OCIS_EVENTS_ENDPOINT and OCIS_EVENTS_CLUSTER #5901
2023-04-05 10:20:48 +02:00
Roman Perekhod fcfb2ab9fa Introduced global OCIS_EVENTS_ENDPOINT and OCIS_EVENTS_CLUSTER #5901 2023-04-04 15:43:03 +02:00
Michael Barz 16d97d5393 Apply suggestions from code review
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-04-04 11:10:36 +02:00
Michael Barz 6dde3f6ef6 add more logging to antivirus 2023-04-04 09:20:56 +02:00
kobergj 1f6ddcb620 bump reva (#5921)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-24 11:44:46 +01:00
jkoberg 81d1521751 abort processing when virus scan errord
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-22 17:34:24 +01:00
jkoberg 86980441fe move debughandlers to their own package
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-22 13:59:54 +01:00
kobergj 6c00708dbc improve antivirus documentation
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-22 13:50:42 +01:00
kobergj fc4ba499b1 improve antivirus documentation
Co-authored-by: Martin <github@diemattels.at>
2023-03-21 10:06:06 +01:00
jkoberg c550390d82 service checklist
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-21 10:04:11 +01:00
jkoberg f4ba4e0f64 backport antivirus from experimental
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-21 10:04:11 +01:00