From 510b1a18f5282981a70503c0cde474e121c9e651 Mon Sep 17 00:00:00 2001 From: Chris Duarte Date: Mon, 28 Aug 2017 09:22:54 -0700 Subject: 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. --- app/diagnostics.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'app/diagnostics.go') diff --git a/app/diagnostics.go b/app/diagnostics.go index 1df5b1feb..9946ce9f1 100644 --- a/app/diagnostics.go +++ b/app/diagnostics.go @@ -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, -- cgit v1.2.3-1-g7c22