Skip to content

Commit

Permalink
Moving naming schema settings up in the config panel
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Jun 11, 2020
1 parent f899f42 commit 0185ff9
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 77 deletions.
50 changes: 25 additions & 25 deletions plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,6 @@
"type": "bool",
"help_text": "(Experimental) When true, Jitsi video is embedded as a floating window inside Mattermost."
},
{
"key": "JitsiJWT",
"display_name": "Use JWT Authentication for Jitsi",
"type": "bool",
"help_text": "(Optional) If your Jitsi server uses JSON Web Tokens (JWT) for authentication, set this value to true."
},
{
"key": "JitsiAppID",
"display_name": "App ID for JWT Authentication",
"type": "text",
"help_text": "(Optional) The App ID used for authentication by the Jitsi server and JWT token generator."
},
{
"key": "JitsiAppSecret",
"display_name": "App Secret for JWT Authentication",
"type": "text",
"help_text": "(Optional) The App Secret used for authentication by the Jitsi server and JWT token generator."
},
{
"key": "JitsiLinkValidTime",
"display_name": "Meeting Link Expiry Time (minutes)",
"type": "number",
"help_text": "(Optional) The number of minutes from when the meeting link is created to when it becomes invalid. Minimum is 1 minute. Only applies if using JWT authentication for your Jitsi server.",
"default": 30
},
{
"key": "JitsiNamingScheme",
"display_name": "Jitsi Meeting Names",
Expand All @@ -82,6 +57,31 @@
"value": "ask"
}
]
},
{
"key": "JitsiJWT",
"display_name": "Use JWT Authentication for Jitsi",
"type": "bool",
"help_text": "(Optional) If your Jitsi server uses JSON Web Tokens (JWT) for authentication, set this value to true."
},
{
"key": "JitsiAppID",
"display_name": "App ID for JWT Authentication",
"type": "text",
"help_text": "(Optional) The App ID used for authentication by the Jitsi server and JWT token generator."
},
{
"key": "JitsiAppSecret",
"display_name": "App Secret for JWT Authentication",
"type": "text",
"help_text": "(Optional) The App Secret used for authentication by the Jitsi server and JWT token generator."
},
{
"key": "JitsiLinkValidTime",
"display_name": "Meeting Link Expiry Time (minutes)",
"type": "number",
"help_text": "(Optional) The number of minutes from when the meeting link is created to when it becomes invalid. Minimum is 1 minute. Only applies if using JWT authentication for your Jitsi server.",
"default": 30
}
]
}
Expand Down
52 changes: 26 additions & 26 deletions server/manifest.go

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

52 changes: 26 additions & 26 deletions webapp/src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,32 @@ const manifest = JSON.parse(`
"placeholder": "",
"default": null
},
{
"key": "JitsiNamingScheme",
"display_name": "Jitsi Meeting Names",
"type": "radio",
"help_text": "Select how meeting names are generated.",
"placeholder": "",
"default": "english-titlecase",
"options": [
{
"display_name": "Random English words in title case (e.g. PlayfulDragonsObserveCuriously)",
"value": "english-titlecase"
},
{
"display_name": "UUID (universally unique identifier)",
"value": "uuid"
},
{
"display_name": "Mattermost context specific names. Combination of team name, channel name and random text in public and private channels; personal meeting name in direct and group messages channels.",
"value": "mattermost"
},
{
"display_name": "Allow user to select meeting name",
"value": "ask"
}
]
},
{
"key": "JitsiJWT",
"display_name": "Use JWT Authentication for Jitsi",
Expand Down Expand Up @@ -73,32 +99,6 @@ const manifest = JSON.parse(`
"help_text": "(Optional) The number of minutes from when the meeting link is created to when it becomes invalid. Minimum is 1 minute. Only applies if using JWT authentication for your Jitsi server.",
"placeholder": "",
"default": 30
},
{
"key": "JitsiNamingScheme",
"display_name": "Jitsi Meeting Names",
"type": "radio",
"help_text": "Select how meeting names are generated.",
"placeholder": "",
"default": "english-titlecase",
"options": [
{
"display_name": "Random English words in title case (e.g. PlayfulDragonsObserveCuriously)",
"value": "english-titlecase"
},
{
"display_name": "UUID (universally unique identifier)",
"value": "uuid"
},
{
"display_name": "Mattermost context specific names. Combination of team name, channel name and random text in public and private channels; personal meeting name in direct and group messages channels.",
"value": "mattermost"
},
{
"display_name": "Allow user to select meeting name",
"value": "ask"
}
]
}
]
}
Expand Down

0 comments on commit 0185ff9

Please sign in to comment.