Commit Graph

60 Commits

Author SHA1 Message Date
Martin Mattel ead01a27e6 [docs-only] Add memory considerations to teh antivirus service 2024-11-28 10:44:02 +01:00
Martin Mattel bc3762bc08 [docs-only] Update service readme's 2024-11-04 16:45:11 +01:00
Martin Mattel a9c00d7d14 [docs-only] Fix Antivirus readme 2024-10-23 17:10:17 +02:00
jkoberg 42f18ca500 docs(ocis): pin NEXT version
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-23 14:35:20 +02:00
Roman Perekhod fb732c5b2a fix config 2024-10-23 10:08:20 +02:00
Jörn Friedrich Dreyer cb6e3c37fc fix sonarcloud bugs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-22 17:18:11 +02:00
Jörn Friedrich Dreyer 775f75f7fc configurable antivirus workers
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-22 17:12:30 +02:00
Jörn Friedrich Dreyer 61e6f1edba make antivirus workers configurable
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-22 17:10:53 +02:00
Roman Perekhod b82ad12fee nats checks fixed 2024-10-18 17:30:39 +02:00
Roman Perekhod c16a2ea2cf checks added 2024-10-17 19:03:14 +02:00
Florian Schade 0437722353 Bugfix: Fix health and ready endpoint checker configurations 2024-10-17 14:34:04 +02:00
Florian Schade 66ff86bd35 enhancement: simplify ready and health check handler usage 2024-10-16 20:26:00 +02:00
jkoberg bf0d8ed3dc feat(ocis): remove deprecated envvars
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-15 17:24:51 +02:00
Christian Richter 3d94a65db6 replace panic in antivirus by error
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 16:19:28 +02:00
Christian Richter 941e688ae6 split health and readiness for activitylog and antivirus
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 08:39:42 +02:00
Christian Richter 84e024e8f1 remove nats dependency from activitylog & antivirus
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 08:39:42 +02:00
Christian Richter 7d1a78cf9c refactor checks for activitylog and antivirus
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 08:39:42 +02:00
Christian Richter c69a08dfbc add checks for antivirus
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-14 08:39:42 +02:00
Christian Richter 32485bab2a fix debug server in antivirus
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 3665c9dba6 enhancement: Support Skyhigh Security ICAP as an ICAP server 2024-08-04 14:00:20 +02:00
Jörn Friedrich Dreyer 066c4b8173 only register signal handling once
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-29 16:28:13 +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
Jörn Friedrich Dreyer 7a22dfb6de NotifyContext when running services standalone
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:26:58 +02:00
Florian Schade 31272dc168 chore!: remove deprecated configuration values 2024-07-12 10:15:38 +02:00
Thomas Müller 06bb8c9654 feat: add maximum image file size to be processed by the thumbnailer (#9069) 2024-05-08 16:28:44 +02:00
Thomas Müller a8cbc612cc chore: remove unused return value from BindSourcesToStructs (#9033) 2024-04-30 18:18:31 +02:00
jkoberg c80ee6e844 feat(storage-users): add scandata to upload command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-04-26 09:17:45 +02:00
Thomas Müller 07f0cd5574 fix: typos, naming clashes, error messages and deprecations 2024-04-03 15:34:36 +02:00
Phil Davis baa19a6868 chore: set introductionVersion 5.0 in antivirus audit audit-service 2024-03-06 17:50:20 +05:45
Phil Davis 9d2be66a85 chore: add introductionVersion pre5.0 to environment variable docs 2024-03-06 17:50:20 +05:45
Florian Schade 6814c61506 [full-ci] enhancement: allow ocis to provide custom web applications (#8523)
* enhancement: allow ocis to provide custom web applications

* enhancement: add an option to disable web apps

* test: add default logger tests

* test: add app loading tests

* test: add asset server tests

* enhancement: make use of dedicated app conf file and app asset paths

* enhancement: adjust asset locations and deprecate WEB_ASSET_PATH

* enhancement: get rid of default logger and use the service level logger instead

* Apply suggestions from code review

Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
Co-authored-by: kobergj <juliankoberg@googlemail.com>

* enhancement: use basename as app id

* Apply suggestions from code review

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

* enhancement: use afero as fs abstraction

* enhancement: simplify logo upload

* enhancement: make use of introductionVersion field annotations

---------

Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
Co-authored-by: kobergj <juliankoberg@googlemail.com>
Co-authored-by: Martin <github@diemattels.at>
2024-03-05 14:11:18 +01:00
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