* Add feature flag for apps

* Update default to false

* Add plugin version Feature Flag

* Fix typo

* Only force shutdown, and leave the enable status dependant on the user (defaulting to enable)

* Remove unneeded tracking of status

* Handle plugin init on startup for locally installed plugin
Этот коммит содержится в:
Daniel Espino García
2021-03-29 15:53:31 +02:00
коммит произвёл GitHub
родитель 1fb7f512ff
Коммит 9d997dbbde
3 изменённых файлов: 18 добавлений и 0 удалений

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

@@ -19,8 +19,13 @@ type FeatureFlags struct {
// Toggle on and off support for Collapsed Threads
CollapsedThreads bool
// AppsEnabled toggle the Apps framework functionalities both in server and client side
AppsEnabled bool
// Feature flags to control plugin versions
PluginIncidentManagement string `plugin_id:"com.mattermost.plugin-incident-management"`
PluginApps string `plugin_id:"com.mattermost.apps"`
// Toggle on and off support for Files search
FilesSearch bool
// Feature flag to control setting the TCP_NO_DELAY setting for websockets.
@@ -33,7 +38,10 @@ func (f *FeatureFlags) SetDefaults() {
f.CloudDelinquentEmailJobsEnabled = false
f.CollapsedThreads = false
f.FilesSearch = false
f.AppsEnabled = false
f.PluginIncidentManagement = "1.7.0"
f.PluginApps = ""
f.WebSocketDelay = false
}