Skip to content

Commit

Permalink
Release v0.9.0 (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzei authored Nov 6, 2020
1 parent b5c592e commit 03d549c
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 87 deletions.
198 changes: 113 additions & 85 deletions plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"homepage_url": "https://github.com/mattermost/mattermost-plugin-demo",
"support_url": "https://github.com/mattermost/mattermost-plugin-demo/issues",
"icon_path": "assets/icon.svg",
"version": "0.8.0",
"version": "0.9.0",
"min_server_version": "5.26.0",
"server": {
"executables": {
Expand All @@ -20,91 +20,119 @@
"settings_schema": {
"header": "Header: Configure your demo plugin settings below",
"footer": "Footer: The code for this demo plugin can be found [here](https://github.com/mattermost/mattermost-plugin-demo)",
"settings": [{
"key": "ChannelName",
"display_name": "Channel Name",
"type": "text",
"help_text": "The channel to use as part of the demo plugin, created for each team automatically if it does not exist.",
"placeholder": "demo_plugin",
"default": "demo_plugin"
}, {
"key": "Username",
"display_name": "Username",
"type": "text",
"help_text": "The user to use as part of the demo plugin, created automatically if it does not exist.",
"placeholder": "demo_plugin",
"default": "demo_plugin"
}, {
"key": "LastName",
"display_name": "Demo User Last Name",
"type": "radio",
"help_text": "Select the last name for the demo user",
"default": "Plugin User",
"options": [{
"display_name": "Plugin User",
"value": "Plugin User"
}, {
"display_name": "Demoson III",
"value": "Demoson III"
}, {
"display_name": "McDemo",
"value": "McDemo"
}]
}, {
"key": "TextStyle",
"display_name": "Text Style",
"type": "dropdown",
"help_text": "Change the text style of the messages posted by this plugin",
"default": "",
"options": [{
"display_name": "none",
"value": ""
}, {
"display_name": "italics",
"value": "_"
}, {
"display_name": "bold",
"value": "**"
}]
}, {
"key": "RandomSecret",
"display_name": "Random Secret",
"type": "generated",
"help_text": "Generate a random string that the demo plugin will watch for. If the secret string is mentioned in any channel then the demo plugin will publish a special message.",
"regenerate_help_text": "Generate a new secret string.",
"default": "CFgcq9Hr9OKSevvqH_SH-mPlgVklmpUm"
}, {
"key": "SecretMessage",
"display_name": "Secret Message",
"type": "custom",
"help_text": "The message posted by the demo plugin when the secret phrase is detected.",
"default": "Yay! The random secret string was posted! Go to the settings page for this plugin in the system console to generate a new random secret."
}, {
"key": "CustomSetting",
"type": "custom"
}, {
"key": "EnableMentionUser",
"display_name": "Enable Mention User",
"type": "bool",
"help_text": "Enable or disable the demo plugin to tag a username on every message sent. The username value is set below.",
"default": false
}, {
"key": "MentionUser",
"display_name": "Mention User",
"type": "username",
"help_text": "Configure the username to be mentioned by the demo plugin. Must be enabled in the setting above.",
"placeholder": "demo_plugin",
"default": "demo_plugin"
}, {
"key": "secretNumber",
"display_name": "Secret Number",
"type": "number",
"help_text": "A secret number that the demo plugin will watch for. If the secret number is mentioned in any channel then the demo plugin will publish a special message.",
"placeholder": "Some secret number",
"default": 123
}]
"settings": [
{
"key": "ChannelName",
"display_name": "Channel Name",
"type": "text",
"help_text": "The channel to use as part of the demo plugin, created for each team automatically if it does not exist.",
"placeholder": "demo_plugin",
"default": "demo_plugin"
},
{
"key": "Username",
"display_name": "Username",
"type": "text",
"help_text": "The user to use as part of the demo plugin, created automatically if it does not exist.",
"placeholder": "demo_plugin",
"default": "demo_plugin"
},
{
"key": "LastName",
"display_name": "Demo User Last Name",
"type": "radio",
"help_text": "Select the last name for the demo user",
"placeholder": "",
"default": "Plugin User",
"options": [
{
"display_name": "Plugin User",
"value": "Plugin User"
},
{
"display_name": "Demoson III",
"value": "Demoson III"
},
{
"display_name": "McDemo",
"value": "McDemo"
}
]
},
{
"key": "TextStyle",
"display_name": "Text Style",
"type": "dropdown",
"help_text": "Change the text style of the messages posted by this plugin",
"placeholder": "",
"default": "",
"options": [
{
"display_name": "none",
"value": ""
},
{
"display_name": "italics",
"value": "_"
},
{
"display_name": "bold",
"value": "**"
}
]
},
{
"key": "RandomSecret",
"display_name": "Random Secret",
"type": "generated",
"help_text": "Generate a random string that the demo plugin will watch for. If the secret string is mentioned in any channel then the demo plugin will publish a special message.",
"regenerate_help_text": "Generate a new secret string.",
"placeholder": "",
"default": "CFgcq9Hr9OKSevvqH_SH-mPlgVklmpUm"
},
{
"key": "SecretMessage",
"display_name": "Secret Message",
"type": "custom",
"help_text": "The message posted by the demo plugin when the secret phrase is detected.",
"placeholder": "",
"default": "Yay! The random secret string was posted! Go to the settings page for this plugin in the system console to generate a new random secret."
},
{
"key": "CustomSetting",
"display_name": "",
"type": "custom",
"help_text": "",
"placeholder": "",
"default": null
},
{
"key": "EnableMentionUser",
"display_name": "Enable Mention User",
"type": "bool",
"help_text": "Enable or disable the demo plugin to tag a username on every message sent. The username value is set below.",
"placeholder": "",
"default": false
},
{
"key": "MentionUser",
"display_name": "Mention User",
"type": "username",
"help_text": "Configure the username to be mentioned by the demo plugin. Must be enabled in the setting above.",
"placeholder": "demo_plugin",
"default": "demo_plugin"
},
{
"key": "secretNumber",
"display_name": "Secret Number",
"type": "number",
"help_text": "A secret number that the demo plugin will watch for. If the secret number is mentioned in any channel then the demo plugin will publish a special message.",
"placeholder": "Some secret number",
"default": 123
}
]
},
"required_configuration" : {
"required_configuration": {
"ServiceSettings": {
"EnableGifPicker": true
},
Expand Down
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.

2 changes: 1 addition & 1 deletion webapp/src/manifest.js

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

0 comments on commit 03d549c

Please sign in to comment.