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

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

@@ -144,8 +144,6 @@ func GenerateClientConfig(c *model.Config, telemetryID string, license *model.Li
props["AllowSyncedDrafts"] = strconv.FormatBool(*c.ServiceSettings.AllowSyncedDrafts)
props["DelayChannelAutocomplete"] = strconv.FormatBool(*c.ExperimentalSettings.DelayChannelAutocomplete)
props["EnablePlaybooks"] = strconv.FormatBool(*c.ProductSettings.EnablePlaybooks)
if license != nil {
props["ExperimentalEnableAuthenticationTransfer"] = strconv.FormatBool(*c.ServiceSettings.ExperimentalEnableAuthenticationTransfer)

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

@@ -326,20 +326,6 @@ func TestGetClientConfig(t *testing.T) {
"ExperimentalSharedChannels": "true",
},
},
{
"Default Playbooks Enabled",
&model.Config{
ProductSettings: model.ProductSettings{},
},
"",
&model.License{
Features: &model.Features{},
SkuShortName: "other",
},
map[string]string{
"EnablePlaybooks": "true",
},
},
}
for _, testCase := range testCases {

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

@@ -810,6 +810,9 @@ func TestDiff(t *testing.T) {
"com.mattermost.calls": {
Enable: true,
},
"playbooks": {
Enable: true,
},
},
},
},
@@ -839,6 +842,9 @@ func TestDiff(t *testing.T) {
"com.mattermost.calls": {
Enable: true,
},
"playbooks": {
Enable: true,
},
},
},
},
@@ -860,6 +866,9 @@ func TestDiff(t *testing.T) {
"com.mattermost.calls": {
Enable: true,
},
"playbooks": {
Enable: true,
},
},
},
},