* 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 удалений

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

@@ -172,7 +172,7 @@ func TestInstallPluginLocally(t *testing.T) {
defer th.TearDown()
cleanExistingBundles(t, th)
_, appErr := installPlugin(t, th, "playbooks", "0.0.1", installPluginLocallyAlways)
_, appErr := installPlugin(t, th, "com.mattermost.plugin-incident-response", "0.0.1", installPluginLocallyAlways)
require.NotNil(t, appErr)
require.Equal(t, "app.plugin.blocked.app_error", appErr.Id)
assertBundleInfoManifests(t, th, []*model.Manifest{})

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

@@ -83,16 +83,6 @@ func (s *Server) shouldStart(product string) bool {
return false
}
}
if product == "playbooks" {
if os.Getenv("MM_DISABLE_PLAYBOOKS") == "true" {
s.Log().Warn("Skipping Playbooks start: disabled via env var")
return false
}
if !*s.Config().ProductSettings.EnablePlaybooks {
s.Log().Warn("Skipping Playbooks start: disabled via configuration")
return false
}
}
return true
}