summaryrefslogtreecommitdiffstats
path: root/model/manifest.go
diff options
context:
space:
mode:
authorMartin Kraft <martinkraft@gmail.com>2018-05-02 07:45:20 -0400
committerMartin Kraft <martinkraft@gmail.com>2018-05-02 07:45:20 -0400
commit7d5e85e4136b0e2e6cf902c48b186d99f0698d13 (patch)
tree84f7256de28eed0fd932f43532c218b385e09642 /model/manifest.go
parentf4dcb4edf2aafca85c9af631131a77888da24bc7 (diff)
parent529807c1ba0c6b5e697d95d35b46865e22b0e62a (diff)
downloadchat-7d5e85e4136b0e2e6cf902c48b186d99f0698d13.tar.gz
chat-7d5e85e4136b0e2e6cf902c48b186d99f0698d13.tar.bz2
chat-7d5e85e4136b0e2e6cf902c48b186d99f0698d13.zip
Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-2
Diffstat (limited to 'model/manifest.go')
-rw-r--r--model/manifest.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/model/manifest.go b/model/manifest.go
index 32d4341cd..d6a064d4e 100644
--- a/model/manifest.go
+++ b/model/manifest.go
@@ -93,9 +93,9 @@ type PluginSettingsSchema struct {
// help_text: When true, an extra thing will be enabled!
// default: false
type Manifest struct {
- // The id is a globally unique identifier that represents your plugin. Ids are limited
- // to 190 characters. Reverse-DNS notation using a name you control is a good option.
- // For example, "com.mycompany.myplugin".
+ // The id is a globally unique identifier that represents your plugin. Ids must be at least
+ // 3 characters, at most 190 characters and must match ^[a-zA-Z0-9-_\.]+$.
+ // Reverse-DNS notation using a name you control is a good option, e.g. "com.mycompany.myplugin".
Id string `json:"id" yaml:"id"`
// The name to be displayed for the plugin.