Manage version configurations client versions (#7220)
* Add config values for client versions. Return client versions in ping response. * Manage client version through System Console. * Added client versions to diagnostics * Added translations messages en.json file. * Hide Client Versions on System Console.
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
9e95af7809
Коммит
510b1a18f5
@@ -19,6 +19,7 @@ const (
|
||||
|
||||
TRACK_CONFIG_SERVICE = "config_service"
|
||||
TRACK_CONFIG_TEAM = "config_team"
|
||||
TRACK_CONFIG_CLIENT_REQ = "config_client_requirements"
|
||||
TRACK_CONFIG_SQL = "config_sql"
|
||||
TRACK_CONFIG_LOG = "config_log"
|
||||
TRACK_CONFIG_FILE = "config_file"
|
||||
@@ -244,6 +245,15 @@ func trackConfig() {
|
||||
"restrict_private_channel_manage_members": *utils.Cfg.TeamSettings.RestrictPrivateChannelManageMembers,
|
||||
})
|
||||
|
||||
SendDiagnostic(TRACK_CONFIG_CLIENT_REQ, map[string]interface{}{
|
||||
"android_latest_version": utils.Cfg.ClientRequirements.AndroidLatestVersion,
|
||||
"android_min_version": utils.Cfg.ClientRequirements.AndroidMinVersion,
|
||||
"desktop_latest_version": utils.Cfg.ClientRequirements.DesktopLatestVersion,
|
||||
"desktop_min_version": utils.Cfg.ClientRequirements.DesktopMinVersion,
|
||||
"ios_latest_version": utils.Cfg.ClientRequirements.IosLatestVersion,
|
||||
"ios_min_version": utils.Cfg.ClientRequirements.IosMinVersion,
|
||||
})
|
||||
|
||||
SendDiagnostic(TRACK_CONFIG_SQL, map[string]interface{}{
|
||||
"driver_name": utils.Cfg.SqlSettings.DriverName,
|
||||
"trace": utils.Cfg.SqlSettings.Trace,
|
||||
|
||||
Ссылка в новой задаче
Block a user