mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-05 18:24:03 +00:00
Update dependencies (#1822)
This commit is contained in:
26
vendor/github.com/mattermost/mattermost-server/v6/model/config.go
generated
vendored
26
vendor/github.com/mattermost/mattermost-server/v6/model/config.go
generated
vendored
@ -93,6 +93,9 @@ const (
|
||||
EmailNotificationContentsFull = "full"
|
||||
EmailNotificationContentsGeneric = "generic"
|
||||
|
||||
EmailSMTPDefaultServer = "localhost"
|
||||
EmailSMTPDefaultPort = "10025"
|
||||
|
||||
SitenameMaxLength = 30
|
||||
|
||||
ServiceSettingsDefaultSiteURL = "http://localhost:8065"
|
||||
@ -128,9 +131,9 @@ const (
|
||||
|
||||
SupportSettingsDefaultTermsOfServiceLink = "https://mattermost.com/terms-of-use/"
|
||||
SupportSettingsDefaultPrivacyPolicyLink = "https://mattermost.com/privacy-policy/"
|
||||
SupportSettingsDefaultAboutLink = "https://about.mattermost.com/default-about/"
|
||||
SupportSettingsDefaultHelpLink = "https://about.mattermost.com/default-help/"
|
||||
SupportSettingsDefaultReportAProblemLink = "https://about.mattermost.com/default-report-a-problem/"
|
||||
SupportSettingsDefaultAboutLink = "https://docs.mattermost.com/about/product.html/"
|
||||
SupportSettingsDefaultHelpLink = "https://mattermost.com/default-help/"
|
||||
SupportSettingsDefaultReportAProblemLink = "https://mattermost.com/default-report-a-problem/"
|
||||
SupportSettingsDefaultSupportEmail = ""
|
||||
SupportSettingsDefaultReAcceptancePeriod = 365
|
||||
|
||||
@ -167,8 +170,8 @@ const (
|
||||
SamlSettingsDefaultCanonicalAlgorithm = SamlSettingsCanonicalAlgorithmC14n
|
||||
|
||||
NativeappSettingsDefaultAppDownloadLink = "https://mattermost.com/download/#mattermostApps"
|
||||
NativeappSettingsDefaultAndroidAppDownloadLink = "https://about.mattermost.com/mattermost-android-app/"
|
||||
NativeappSettingsDefaultIosAppDownloadLink = "https://about.mattermost.com/mattermost-ios-app/"
|
||||
NativeappSettingsDefaultAndroidAppDownloadLink = "https://mattermost.com/mattermost-android-app/"
|
||||
NativeappSettingsDefaultIosAppDownloadLink = "https://mattermost.com/mattermost-ios-app/"
|
||||
|
||||
ExperimentalSettingsDefaultLinkMetadataTimeoutMilliseconds = 5000
|
||||
|
||||
@ -778,7 +781,7 @@ func (s *ServiceSettings) SetDefaults(isUpdate bool) {
|
||||
}
|
||||
|
||||
if s.ThreadAutoFollow == nil {
|
||||
s.ThreadAutoFollow = NewBool(false)
|
||||
s.ThreadAutoFollow = NewBool(true)
|
||||
}
|
||||
|
||||
if s.CollapsedThreads == nil {
|
||||
@ -1598,11 +1601,11 @@ func (s *EmailSettings) SetDefaults(isUpdate bool) {
|
||||
}
|
||||
|
||||
if s.SMTPServer == nil || *s.SMTPServer == "" {
|
||||
s.SMTPServer = NewString("localhost")
|
||||
s.SMTPServer = NewString(EmailSMTPDefaultServer)
|
||||
}
|
||||
|
||||
if s.SMTPPort == nil || *s.SMTPPort == "" {
|
||||
s.SMTPPort = NewString("10025")
|
||||
s.SMTPPort = NewString(EmailSMTPDefaultPort)
|
||||
}
|
||||
|
||||
if s.SMTPServerTimeout == nil || *s.SMTPServerTimeout == 0 {
|
||||
@ -1739,7 +1742,7 @@ type SupportSettings struct {
|
||||
AboutLink *string `access:"site_customization,write_restrictable,cloud_restrictable"`
|
||||
HelpLink *string `access:"site_customization,write_restrictable,cloud_restrictable"`
|
||||
ReportAProblemLink *string `access:"site_customization,write_restrictable,cloud_restrictable"`
|
||||
SupportEmail *string `access:"site_customization"`
|
||||
SupportEmail *string `access:"site_notifications"`
|
||||
CustomTermsOfServiceEnabled *bool `access:"compliance_custom_terms_of_service"`
|
||||
CustomTermsOfServiceReAcceptancePeriod *int `access:"compliance_custom_terms_of_service"`
|
||||
EnableAskCommunityLink *bool `access:"site_customization"`
|
||||
@ -2748,6 +2751,11 @@ func (s *PluginSettings) SetDefaults(ls LogSettings) {
|
||||
s.PluginStates["focalboard"] = &PluginState{Enable: true}
|
||||
}
|
||||
|
||||
if s.PluginStates["com.mattermost.apps"] == nil {
|
||||
// Enable the Apps plugin by default
|
||||
s.PluginStates["com.mattermost.apps"] = &PluginState{Enable: true}
|
||||
}
|
||||
|
||||
if s.EnableMarketplace == nil {
|
||||
s.EnableMarketplace = NewBool(PluginSettingsDefaultEnableMarketplace)
|
||||
}
|
||||
|
Reference in New Issue
Block a user