Skip to content

Commit

Permalink
Add publishing information
Browse files Browse the repository at this point in the history
  • Loading branch information
d-gubert committed Feb 1, 2021
1 parent c98f54f commit a79655b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 deletions.
2 changes: 1 addition & 1 deletion ClamAvTestApp.ts → ClamAvIntegrationApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { createScanner, isCleanReply } from './clamd';
const CLAMAV_SERVER_HOST = 'clamav_server_host';
const CLAMAV_SERVER_PORT = 'clamav_server_port';

export class ClamAvTestApp extends App implements IPreFileUpload {
export class ClamAvIntegrationApp extends App implements IPreFileUpload {
constructor(info: IAppInfo, logger: ILogger, accessors: IAppAccessors) {
super(info, logger, accessors);
}
Expand Down
21 changes: 8 additions & 13 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,13 @@
"requiredApiVersion": "^1.22.1",
"iconFile": "icon.png",
"author": {
"name": "asd",
"homepage": "asd",
"support": "asd"
"name": "Rocket.Chat",
"homepage": "https://rocket.chat",
"support": "[email protected]"
},
"name": "ClamAVTest",
"nameSlug": "clamavtest",
"classFile": "ClamAvTestApp.ts",
"description": "Test connection with ClamAv",
"implements": [],
"permissions": [
{
"name": "networking"
}
]
"name": "ClamAV Integration",
"nameSlug": "clamav-integration",
"classFile": "ClamAvIntegrationApp.ts",
"description": "This app enables forwarding uploaded files to an open source antivirus (ClamAV) application and prevents the upload from completing in Rocket.Chat if a virus is detected. It works across web browser, desktop apps and mobile apps\n\nUse it to prevent users from spreading viruses and malware via Rocket.Chat\n\nClamAV is an open source (GPL) antivirus engine used in a variety of situations, including email scanning, web scanning, and end point security. It provides a number of utilities including a flexible and scalable multi-threaded daemon, a command line scanner and an advanced tool for automatic database updates.",
"implements": ["IPreFileUpload"]
}
2 changes: 1 addition & 1 deletion clamd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import { Buffer } from 'buffer';
import net = require('net');
import { Readable, Stream, Transform } from 'stream';
import { Readable, Transform } from 'stream';

/**
* Module exports.
Expand Down
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a79655b

Please sign in to comment.