Skip to content

Commit

Permalink
Release v1.0.0 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzei committed Feb 15, 2023
1 parent b8d0f61 commit c63e625
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 43 deletions.
91 changes: 49 additions & 42 deletions plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Antivirus plugin for scanning uploaded files.",
"homepage_url": "https://github.com/mattermost/mattermost-plugin-antivirus",
"support_url": "https://github.com/mattermost/mattermost-plugin-antivirus/issues",
"release_notes_url": "https://github.com/mattermost/mattermost-plugin-antivirus/releases/tag/v0.1.2",
"version": "0.1.2",
"release_notes_url": "https://github.com/mattermost/mattermost-plugin-antivirus/releases/tag/v1.0.0",
"version": "1.0.0",
"min_server_version": "5.37.0",
"server": {
"executables": {
Expand All @@ -14,48 +14,55 @@
"darwin-amd64": "server/dist/plugin-darwin-amd64",
"darwin-arm64": "server/dist/plugin-darwin-arm64",
"windows-amd64": "server/dist/plugin-windows-amd64.exe"
}
},
"executable": ""
},
"settings_schema": {
"header": "Antivirus plugin which uses ClamAV to scan files uploaded to Mattermost. See [documentation here](https://github.com/mattermost/mattermost-plugin-antivirus).",
"settings": [{
"key": "ConnectionType",
"display_name": "Connection Type (Unix/Tcp):",
"type": "dropdown",
"help_text": "Connection Type.",
"default": "tcp",
"options": [
{
"display_name": "Tcp",
"value": "tcp"
},
{
"display_name": "Unix",
"value": "unix"
}
]
},{
"key": "ClamavHostPort",
"display_name": "ClamAV - Host and Port:",
"type": "text",
"help_text": "The hostname and port to connect to clamd. (required ConnectionType : Tcp)",
"placeholder": "localhost:3310",
"default": "localhost:3310"
},{
"key": "ClamavSocketPath",
"display_name": "Socket Path:",
"type": "text",
"help_text": "Path to socket. (required if connectionType : Unix)",
"placeholder": "/tmp/clamd.socket",
"default": "/tmp/clamd.socket"
}, {
"key": "ScanTimeoutSeconds",
"display_name": "Scan Timeout (seconds):",
"type": "number",
"help_text": "How long the virus scan can take before giving up.",
"placeholder": "10",
"default": 10
}
]
"footer": "",
"settings": [
{
"key": "ConnectionType",
"display_name": "Connection Type (Unix/Tcp):",
"type": "dropdown",
"help_text": "Connection Type.",
"placeholder": "",
"default": "tcp",
"options": [
{
"display_name": "Tcp",
"value": "tcp"
},
{
"display_name": "Unix",
"value": "unix"
}
]
},
{
"key": "ClamavHostPort",
"display_name": "ClamAV - Host and Port:",
"type": "text",
"help_text": "The hostname and port to connect to clamd. (required ConnectionType : Tcp)",
"placeholder": "localhost:3310",
"default": "localhost:3310"
},
{
"key": "ClamavSocketPath",
"display_name": "Socket Path:",
"type": "text",
"help_text": "Path to socket. (required if connectionType : Unix)",
"placeholder": "/tmp/clamd.socket",
"default": "/tmp/clamd.socket"
},
{
"key": "ScanTimeoutSeconds",
"display_name": "Scan Timeout (seconds):",
"type": "number",
"help_text": "How long the virus scan can take before giving up.",
"placeholder": "10",
"default": 10
}
]
}
}
2 changes: 1 addition & 1 deletion server/manifest.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c63e625

Please sign in to comment.