* Remove build references

* Remove playbooks webapp and server, and add the prepackaged plugin

* Remove translations

* Add ProductSettings to the playwright type

* Restore playbooks as a prepackaged plugin for cypress e2e tests
Этот коммит содержится в:
Miguel de la Cruz
2023-06-14 23:33:26 +02:00
коммит произвёл GitHub
родитель f386ef1ea8
Коммит 44a99d1736
879 изменённых файлов: 66 добавлений и 127144 удалений

Просмотреть файл

@@ -2864,13 +2864,9 @@ func (s *CloudSettings) SetDefaults() {
}
type ProductSettings struct {
EnablePlaybooks *bool
}
func (s *ProductSettings) SetDefaults() {
if s.EnablePlaybooks == nil {
s.EnablePlaybooks = NewBool(true)
}
}
type PluginState struct {
@@ -2938,6 +2934,11 @@ func (s *PluginSettings) SetDefaults(ls LogSettings) {
s.PluginStates[PluginIdCalls] = &PluginState{Enable: true}
}
if s.PluginStates[PluginIdPlaybooks] == nil {
// Enable the playbooks plugin by default
s.PluginStates[PluginIdPlaybooks] = &PluginState{Enable: true}
}
if s.EnableMarketplace == nil {
s.EnableMarketplace = NewBool(PluginSettingsDefaultEnableMarketplace)
}

Просмотреть файл

@@ -104,7 +104,6 @@ func scanSearchPath(path string) ([]*model.BundleInfo, error) {
}
var pluginIDBlocklist = map[string]bool{
"playbooks": true,
"com.mattermost.plugin-incident-response": true,
"com.mattermost.plugin-incident-management": true,
}