-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathplugin.json
More file actions
128 lines (128 loc) · 6.37 KB
/
plugin.json
File metadata and controls
128 lines (128 loc) · 6.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"id": "com.mattermost.wrangler",
"name": "Wrangler",
"description": "Manage messages across teams and channels",
"homepage_url": "https://github.com/mattermost/mattermost-plugin-wrangler",
"support_url": "https://github.com/mattermost/mattermost-plugin-wrangler/issues",
"min_server_version": "10.11.0",
"server": {
"executables": {
"darwin-amd64": "server/dist/plugin-darwin-amd64",
"darwin-arm64": "server/dist/plugin-darwin-arm64",
"freebsd-amd64": "server/dist/plugin-freebsd-amd64",
"linux-amd64": "server/dist/plugin-linux-amd64",
"windows-amd64": "server/dist/plugin-windows-amd64.exe"
}
},
"webapp": {
"bundle_path": "webapp/dist/main.js"
},
"settings_schema": {
"header": "",
"footer": "",
"settings": [
{
"key": "PermittedWranglerUsers",
"display_name": "Permitted Wrangler Users",
"type": "dropdown",
"help_text": "Choose who is allowed to use the Wrangler plugin. (Other permissions below still apply)",
"default": "system-admins",
"options": [{
"display_name": "System administrators only",
"value": "system-admins"
}, {
"display_name": "System administrators and users from the 'Allowed Email Domain' list",
"value": "system-admins-and-email-domain"
}, {
"display_name": "All users",
"value": "all-users"
}]
},
{
"key": "AllowedEmailDomain",
"display_name": "Allowed Email Domain",
"type": "text",
"help_text": "(Optional) When set, users must have an email ending in this domain to use Wrangler. Multiple domains can be specified by separating them with commas. This also supports full email address matching if you want to limit plugin usage to specific users."
},
{
"key": "EnableWebUI",
"display_name": "Enable Wrangler webapp functionality [BETA]",
"type": "bool",
"help_text": "Enable the work-in-progress Wrangler webapp functionality.",
"default": false
},
{
"key": "CommandAutoCompleteEnable",
"display_name": "Enable Wrangler Command AutoComplete",
"type": "bool",
"help_text": "Control whether command autocomplete is enabled or not. If enabled and Allowed Email Domain is set, then some users will be able to see the Wrangler commands, but will be unable to run them.",
"default": false
},
{
"key": "MoveThreadMaxCount",
"display_name": "Max Thread Count Move Size",
"type": "text",
"help_text": "The maximum number of messages in a thread that the plugin is allowed to move. Leave empty for unlimited messages."
},
{
"key": "MoveThreadToAnotherTeamEnable",
"display_name": "Enable Moving Threads To Different Teams",
"type": "bool",
"help_text": "Control whether Wrangler is permitted to move message threads from one team to another or not.",
"default": false
},
{
"key": "MoveThreadFromPrivateChannelEnable",
"display_name": "Enable Moving Threads From Private Channels",
"type": "bool",
"help_text": "Control whether Wrangler is permitted to move message threads from private channels or not.",
"default": false
},
{
"key": "MoveThreadFromDirectMessageChannelEnable",
"display_name": "Enable Moving Threads From Direct Message Channels",
"type": "bool",
"help_text": "Control whether Wrangler is permitted to move message threads from direct message channels or not.",
"default": false
},
{
"key": "MoveThreadFromGroupMessageChannelEnable",
"display_name": "Enable Moving Threads From Group Message Channels",
"type": "bool",
"help_text": "Control whether Wrangler is permitted to move message threads from group message channels or not.",
"default": false
},
{
"key": "MergeThreadEnable",
"display_name": "Enable Merging Threads [BETA]",
"type": "bool",
"help_text": "Control whether Wrangler is permitted to merge message threads. Depending on other plugin settings these threads can be merged across channels and teams. Note that message timestamps are preserved when threads are merged which could result in unexpected or confusing message ordering.",
"default": false
},
{
"key": "ThreadAttachMessage",
"display_name": "Info-Message: Attached a Message",
"type": "text",
"help_text": "The message being sent to the user after attaching his message to a thread. Allowed variables: {executor}, {postLink}",
"placeholder": "",
"default": "@{executor} wrangled one of your messages into a thread for you: {postLink}"
},
{
"key": "MoveThreadMessage",
"display_name": "Info-Message: Moved a Thread",
"type": "text",
"help_text": "The message being sent to the user after moving a thread. Allowed variables: {executor}, {postLink}",
"placeholder": "",
"default": "@{executor} wrangled a thread you started to a new channel for you: {postLink}"
},
{
"key": "CopyThreadMessage",
"display_name": "Info-Message: Copied a Thread",
"type": "text",
"help_text": "The message being sent to the user after copying a message. Allowed variables: {executor}, {postLink}",
"placeholder": "",
"default": "@{executor} copied a thread you started to a new channel for you: {postLink}"
}
]
}
}