Revert "Set BoardsProduct FF to on by default" (#22177)
This reverts commit 6b6150d374.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
70800b2447
Коммит
aa61f8dfbb
@@ -808,7 +808,7 @@ func TestDiff(t *testing.T) {
|
|||||||
Enable: !defaultConfigGen().PluginSettings.PluginStates["com.mattermost.nps"].Enable,
|
Enable: !defaultConfigGen().PluginSettings.PluginStates["com.mattermost.nps"].Enable,
|
||||||
},
|
},
|
||||||
"focalboard": {
|
"focalboard": {
|
||||||
Enable: false,
|
Enable: true,
|
||||||
},
|
},
|
||||||
"playbooks": {
|
"playbooks": {
|
||||||
Enable: true,
|
Enable: true,
|
||||||
@@ -846,7 +846,7 @@ func TestDiff(t *testing.T) {
|
|||||||
Enable: true,
|
Enable: true,
|
||||||
},
|
},
|
||||||
"focalboard": {
|
"focalboard": {
|
||||||
Enable: false,
|
Enable: true,
|
||||||
},
|
},
|
||||||
"playbooks": {
|
"playbooks": {
|
||||||
Enable: true,
|
Enable: true,
|
||||||
@@ -876,7 +876,7 @@ func TestDiff(t *testing.T) {
|
|||||||
BaseVal: defaultConfigGen().PluginSettings.PluginStates,
|
BaseVal: defaultConfigGen().PluginSettings.PluginStates,
|
||||||
ActualVal: map[string]*model.PluginState{
|
ActualVal: map[string]*model.PluginState{
|
||||||
"focalboard": {
|
"focalboard": {
|
||||||
Enable: false,
|
Enable: true,
|
||||||
},
|
},
|
||||||
"playbooks": {
|
"playbooks": {
|
||||||
Enable: true,
|
Enable: true,
|
||||||
|
|||||||
@@ -2867,8 +2867,8 @@ func (s *PluginSettings) SetDefaults(ls LogSettings) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if s.PluginStates[PluginIdFocalboard] == nil {
|
if s.PluginStates[PluginIdFocalboard] == nil {
|
||||||
// Disable the focalboard plugin by default
|
// Enable the focalboard plugin by default
|
||||||
s.PluginStates[PluginIdFocalboard] = &PluginState{Enable: false}
|
s.PluginStates[PluginIdFocalboard] = &PluginState{Enable: true}
|
||||||
}
|
}
|
||||||
|
|
||||||
if s.PluginStates[PluginIdApps] == nil {
|
if s.PluginStates[PluginIdApps] == nil {
|
||||||
|
|||||||
@@ -387,11 +387,11 @@ func TestConfigDefaultChannelExportPluginState(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestConfigDefaultFocalboardPluginState(t *testing.T) {
|
func TestConfigDefaultFocalboardPluginState(t *testing.T) {
|
||||||
t.Run("should not enable Focalboard plugin by default", func(t *testing.T) {
|
t.Run("should enable Focalboard plugin by default", func(t *testing.T) {
|
||||||
c1 := Config{}
|
c1 := Config{}
|
||||||
c1.SetDefaults()
|
c1.SetDefaults()
|
||||||
|
|
||||||
assert.False(t, c1.PluginSettings.PluginStates["focalboard"].Enable)
|
assert.True(t, c1.PluginSettings.PluginStates["focalboard"].Enable)
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("should not re-enable focalboard plugin after it has been disabled", func(t *testing.T) {
|
t.Run("should not re-enable focalboard plugin after it has been disabled", func(t *testing.T) {
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ func (f *FeatureFlags) SetDefaults() {
|
|||||||
f.InsightsEnabled = true
|
f.InsightsEnabled = true
|
||||||
f.CommandPalette = false
|
f.CommandPalette = false
|
||||||
f.CallsEnabled = true
|
f.CallsEnabled = true
|
||||||
f.BoardsProduct = true
|
f.BoardsProduct = false
|
||||||
f.SendWelcomePost = true
|
f.SendWelcomePost = true
|
||||||
f.PostPriority = true
|
f.PostPriority = true
|
||||||
f.PeopleProduct = false
|
f.PeopleProduct = false
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ COVERMODE=$8
|
|||||||
|
|
||||||
PACKAGES_COMMA=$(echo $PACKAGES | tr ' ' ',')
|
PACKAGES_COMMA=$(echo $PACKAGES | tr ' ' ',')
|
||||||
export MM_SERVER_PATH=$PWD
|
export MM_SERVER_PATH=$PWD
|
||||||
export MM_FEATUREFLAGS_BoardsProduct=false
|
|
||||||
|
|
||||||
echo "Packages to test: $PACKAGES"
|
echo "Packages to test: $PACKAGES"
|
||||||
echo "GOFLAGS: $GOFLAGS"
|
echo "GOFLAGS: $GOFLAGS"
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user