838c6f90b7
* initial commit for setting shared board configuration * add unit test * working again * update default config * initial commit for setting shared board configuration * add unit test * working again * update default config * add unit tests, some clean up * more cleanup * more clean up * remove header text for GH-1105 * remove unnecessary logs * update text * fix lint errors * more lint fixes * webapp lint fixes * Update mattermost-plugin/plugin.json Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com> * Update mattermost-plugin/plugin.json Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com> * update for review, sync with main Co-authored-by: Justine Geffen <justinegeffen@users.noreply.github.com>
55 lines
1.4 KiB
Go
Generated
55 lines
1.4 KiB
Go
Generated
// This file is automatically generated. Do not modify it manually.
|
|
|
|
package main
|
|
|
|
import (
|
|
"encoding/json"
|
|
"strings"
|
|
|
|
"github.com/mattermost/mattermost-server/v6/model"
|
|
)
|
|
|
|
var manifest *model.Manifest
|
|
|
|
const manifestStr = `
|
|
{
|
|
"id": "focalboard",
|
|
"name": "Mattermost Boards",
|
|
"description": "The Mattermost Boards plugin",
|
|
"homepage_url": "https://github.com/mattermost/focalboard",
|
|
"support_url": "https://github.com/mattermost/focalboard/issues",
|
|
"release_notes_url": "https://github.com/mattermost/focalboard/releases",
|
|
"icon_path": "assets/starter-template-icon.svg",
|
|
"version": "0.9.0",
|
|
"min_server_version": "6.0.0",
|
|
"server": {
|
|
"executables": {
|
|
"darwin-amd64": "server/dist/plugin-darwin-amd64",
|
|
"linux-amd64": "server/dist/plugin-linux-amd64",
|
|
"windows-amd64": "server/dist/plugin-windows-amd64.exe"
|
|
},
|
|
"executable": ""
|
|
},
|
|
"webapp": {
|
|
"bundle_path": "webapp/dist/main.js"
|
|
},
|
|
"settings_schema": {
|
|
"header": "",
|
|
"footer": "",
|
|
"settings": [
|
|
{
|
|
"key": "EnablePublicSharedBoards",
|
|
"display_name": "Enable Publicly-Shared Boards:",
|
|
"type": "bool",
|
|
"help_text": "This allows board editors to share boards that can be accessed by anyone with the link.",
|
|
"placeholder": "",
|
|
"default": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
`
|
|
|
|
func init() {
|
|
_ = json.NewDecoder(strings.NewReader(manifestStr)).Decode(&manifest)
|
|
}
|