mattermost-plugin-bridge-xmpp/plugin.json

132 lines
4.6 KiB
JSON

{
"id": "com.mattermost.plugin-bridge-xmpp",
"name": "Mattermost Bridge for XMPP",
"description": "This plugin provides a bridge connecting Mattermost and XMPP servers.",
"homepage_url": "https://github.com/mattermost/mattermost-plugin-bridge-xmpp",
"support_url": "https://github.com/mattermost/mattermost-plugin-bridge-xmpp/issues",
"icon_path": "assets/logo.png",
"version": "0.1.0",
"min_server_version": "9.5.0",
"server": {
"executables": {
"darwin-amd64": "server/dist/plugin-darwin-amd64",
"darwin-arm64": "server/dist/plugin-darwin-arm64",
"linux-amd64": "server/dist/plugin-linux-amd64",
"linux-arm64": "server/dist/plugin-linux-arm64",
"windows-amd64": "server/dist/plugin-windows-amd64.exe"
},
"executable": ""
},
"settings_schema": {
"header": "Configure the XMPP bridge connection settings below.",
"footer": "For more information about setting up the XMPP bridge, see the [documentation](https://github.com/mattermost/mattermost-plugin-bridge-xmpp/blob/main/README.md).",
"settings": [
{
"key": "XMPPServerURL",
"display_name": "XMPP Server URL",
"type": "text",
"help_text": "The URL of the XMPP server to connect to (e.g., xmpp.example.com:5222)",
"placeholder": "xmpp.example.com:5222",
"default": null,
"hosting": "",
"secret": false
},
{
"key": "XMPPUsername",
"display_name": "XMPP Username",
"type": "text",
"help_text": "The username for authenticating with the XMPP server",
"placeholder": "bridge@xmpp.example.com",
"default": null,
"hosting": "",
"secret": false
},
{
"key": "XMPPPassword",
"display_name": "XMPP Password",
"type": "text",
"help_text": "The password for authenticating with the XMPP server",
"placeholder": "",
"default": null,
"hosting": "",
"secret": true
},
{
"key": "EnableSync",
"display_name": "Enable Message Synchronization",
"type": "bool",
"help_text": "When enabled, messages will be synchronized between Mattermost and XMPP",
"placeholder": "",
"default": false,
"hosting": "",
"secret": false
},
{
"key": "EnableXMPPGhostUsers",
"display_name": "Enable XMPP Ghost Users",
"type": "bool",
"help_text": "When enabled, individual XMPP accounts will be created for each Mattermost user using XEP-0077 In-Band Registration. If disabled or unsupported, the bridge user will be used for all communications.",
"placeholder": "",
"default": false,
"hosting": "",
"secret": false
},
{
"key": "XMPPGhostUserPrefix",
"display_name": "XMPP Ghost User Prefix",
"type": "text",
"help_text": "Prefix for ghost user accounts created on the XMPP server (e.g., 'mm_' creates users like 'mm_john@xmpp.example.com'). Required when ghost users are enabled.",
"placeholder": "mm_",
"default": null,
"hosting": "",
"secret": false
},
{
"key": "XMPPGhostUserDomain",
"display_name": "XMPP Ghost User Domain",
"type": "text",
"help_text": "Domain for ghost user accounts on the XMPP server. If not specified, uses the domain from the XMPP Server URL.",
"placeholder": "xmpp.example.com",
"default": null,
"hosting": "",
"secret": false
},
{
"key": "XMPPGhostUserCleanup",
"display_name": "Enable Ghost User Cleanup",
"type": "bool",
"help_text": "When enabled, ghost user accounts will be automatically removed from the XMPP server when Mattermost users are deleted. Disable to preserve accounts.",
"placeholder": "",
"default": true,
"hosting": "",
"secret": false
},
{
"key": "XMPPResource",
"display_name": "XMPP Resource",
"type": "text",
"help_text": "XMPP resource identifier for the bridge client",
"placeholder": "mattermost-bridge",
"default": "mattermost-bridge",
"hosting": "",
"secret": false
},
{
"key": "XMPPInsecureSkipVerify",
"display_name": "Skip TLS Certificate Verification",
"type": "bool",
"help_text": "Skip TLS certificate verification for XMPP connections (use only for testing/development)",
"placeholder": "",
"default": false,
"hosting": "",
"secret": false
}
],
"sections": null
},
"props": {
"pluginctl": {
"version": "v0.1.4"
}
}
}