expose ServiceSettings.ExtendSessionLengthWithActivity config to clients (#14516)
Этот коммит содержится в:
3
.gitignore
поставляемый
3
.gitignore
поставляемый
@@ -19,7 +19,7 @@ config/active.dat
|
|||||||
config/config.json
|
config/config.json
|
||||||
/plugins
|
/plugins
|
||||||
|
|
||||||
# Enteprise imports file
|
# Enterprise imports file
|
||||||
imports/imports.go
|
imports/imports.go
|
||||||
|
|
||||||
# Build Targets
|
# Build Targets
|
||||||
@@ -37,6 +37,7 @@ imports/imports.go
|
|||||||
_obj
|
_obj
|
||||||
_test
|
_test
|
||||||
.vscode
|
.vscode
|
||||||
|
testfiles
|
||||||
|
|
||||||
# Architecture specific extensions/prefixes
|
# Architecture specific extensions/prefixes
|
||||||
[568vq].out
|
[568vq].out
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ func GenerateClientConfig(c *model.Config, diagnosticID string, license *model.L
|
|||||||
props["EnableSVGs"] = strconv.FormatBool(*c.ServiceSettings.EnableSVGs)
|
props["EnableSVGs"] = strconv.FormatBool(*c.ServiceSettings.EnableSVGs)
|
||||||
props["EnableMarketplace"] = strconv.FormatBool(*c.PluginSettings.EnableMarketplace)
|
props["EnableMarketplace"] = strconv.FormatBool(*c.PluginSettings.EnableMarketplace)
|
||||||
props["EnableLatex"] = strconv.FormatBool(*c.ServiceSettings.EnableLatex)
|
props["EnableLatex"] = strconv.FormatBool(*c.ServiceSettings.EnableLatex)
|
||||||
|
props["ExtendSessionLengthWithActivity"] = strconv.FormatBool(*c.ServiceSettings.ExtendSessionLengthWithActivity)
|
||||||
|
|
||||||
// This setting is only temporary, so keep using the old setting name for the mobile and web apps
|
// This setting is only temporary, so keep using the old setting name for the mobile and web apps
|
||||||
props["ExperimentalEnablePostMetadata"] = "true"
|
props["ExperimentalEnablePostMetadata"] = "true"
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user