Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_antivirus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-09-29Fix infectedStatus initializationCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-29Add missing useCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-29Fix initialisation of lastChunkCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-29Fix typing and other small errorsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-29Fix status initialization problemsCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-29Fix code styleCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-29Move to OCP\BackgroundJob\TimedJobCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-29Migrate away from deprecated interfaces and cleanup typingCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-10Fix type of scan timeoutfix/scan-timeout-stringChristoph Wurst
int -> string https://support.kaspersky.com/ScanEngine/2.1/en-US/193000.htm Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-07-28Shutdown scanner when handling encryption errorCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-24Merge pull request #236 from nextcloud/fix/handle-encryption-errorsblizzz
Handle encryption error
2022-06-23Handle encryption errorfix/handle-encryption-errorsCarl Schwan
When we can't read a file due to some encryption issue, just abort instead of trying again and againt to read it. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-25Fix wrong logger getting usedRobin Appelman
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-19psalm analysis and fixespsalmRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-137.3 compatRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-13stricter typesRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-13make connect timeout and chunk size configurableRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-13make icap request headers a bit nicerRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-13add icap settings and testsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-13typings for AppConfigRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-13chunked icapRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-13rework icap client to allow for streaming requestsRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-13basic icap scannerRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-17Revert "Add admin delegation support"Carl Schwan
This reverts commit 8273aa8de23e29be99a3292c004cb06e6af4b184. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-15use v3 of the kaspersky http apiRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-15fix outdated/unscanned logicRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-15Optimize slow DB queryPetar Ivanković Milošević
As per https://github.com/nextcloud/files_antivirus/issues/177#issuecomment-742831423 the query using NOT IN has been replaced with a LEFT JOIN Signed-off-by: Robin Appelman <robin@icewind.nl> Signed-off-by: Petar Ivanković Milošević <pero.milosev@yahoo.com>
2021-12-13handle password protected files as 'scanned' in kasperskyRobin Appelman
since there is nothing kaspersky can do with the files there is no use in retrying the scan later, just to get the same result Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15Merge pull request #208 from nextcloud/work/admin-delegationCarl Schwan
Add admin delegation support
2021-10-14Add admin delegation supportCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-08-24Handle unlimited file size properly in propfind plugin.Daniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-24Add getter for getAvMaxFileSize to always return an integerDaniel Kesselberg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-24Merge pull request #201 from ↵John Molakvoæ
nextcloud/fix/noid/kaspersky-certificate-recursion-2
2021-08-20Use strict comparisonRichard Steinmetz
Prevent AvirWrapper from wrapping streams that shouldn't be wrapped. Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-08-20ScannerFactory.getScanner should always return a fresh scanner instance.Daniel Kesselberg
ScannerBase and subclasses are not stateless hence we need a fresh instance for each file to scan. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-06-03Merge pull request #195 from nextcloud/github-ciRobin Appelman
GitHub ci
2021-06-02run cs fixRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-16handle extra content after clean for kasperskyRobin Appelman
kaspersky can put more stuff after the CLEAN result Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-17fix status handling of multi-block scansRobin Appelman
only refuse to set the status if the existing status is `infected` Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-13handle NON_SCANNED kaspersky resultRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-12-21Allow disabling the background scanRoeland Jago Douma
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-12-10Merge pull request #170 from bpatath/fix_recurrent_scanningRoeland Jago Douma
Update check-time of scanned files, even when infected
2020-12-10Merge pull request #179 from nextcloud/kaspersky-chunked-scanRoeland Jago Douma
scan files in chunks when using kaspersky
2020-12-09scan files in chunks when using kasperskyRobin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-24Reset infectedStatus when scanning new itembpatath
Signed-off-by: bpatath <github@bp.patathouse.fr>
2020-09-24Update check-time of scanned files, even when infectedbpatath
Signed-off-by: bpatath <github@bp.patathouse.fr>
2020-08-31test the connection to the av when saving settingsRobin Appelman
2020-08-31rename clamav backendsRobin Appelman
2020-08-31extract scanner interface and contruct using server containerRobin Appelman
2020-08-31intitial kaspersky backendRobin Appelman