Merge branch 'master' into advanced-permissions-phase-2
Этот коммит содержится в:
@@ -739,6 +739,7 @@ type EmailSettings struct {
|
||||
EnableEmailBatching *bool
|
||||
EmailBatchingBufferSize *int
|
||||
EmailBatchingInterval *int
|
||||
EnablePreviewModeBanner *bool
|
||||
SkipServerCertificateVerification *bool
|
||||
EmailNotificationContentsType *string
|
||||
LoginButtonColor *string
|
||||
@@ -791,6 +792,10 @@ func (s *EmailSettings) SetDefaults() {
|
||||
s.EmailBatchingInterval = NewInt(EMAIL_BATCHING_INTERVAL)
|
||||
}
|
||||
|
||||
if s.EnablePreviewModeBanner == nil {
|
||||
s.EnablePreviewModeBanner = NewBool(true)
|
||||
}
|
||||
|
||||
if s.EnableSMTPAuth == nil {
|
||||
s.EnableSMTPAuth = new(bool)
|
||||
if s.ConnectionSecurity == CONN_SECURITY_NONE {
|
||||
|
||||
@@ -16,17 +16,18 @@ const (
|
||||
)
|
||||
|
||||
type IncomingWebhook struct {
|
||||
Id string `json:"id"`
|
||||
CreateAt int64 `json:"create_at"`
|
||||
UpdateAt int64 `json:"update_at"`
|
||||
DeleteAt int64 `json:"delete_at"`
|
||||
UserId string `json:"user_id"`
|
||||
ChannelId string `json:"channel_id"`
|
||||
TeamId string `json:"team_id"`
|
||||
DisplayName string `json:"display_name"`
|
||||
Description string `json:"description"`
|
||||
Username string `json:"username"`
|
||||
IconURL string `json:"icon_url"`
|
||||
Id string `json:"id"`
|
||||
CreateAt int64 `json:"create_at"`
|
||||
UpdateAt int64 `json:"update_at"`
|
||||
DeleteAt int64 `json:"delete_at"`
|
||||
UserId string `json:"user_id"`
|
||||
ChannelId string `json:"channel_id"`
|
||||
TeamId string `json:"team_id"`
|
||||
DisplayName string `json:"display_name"`
|
||||
Description string `json:"description"`
|
||||
Username string `json:"username"`
|
||||
IconURL string `json:"icon_url"`
|
||||
ChannelLocked bool `json:"channel_locked"`
|
||||
}
|
||||
|
||||
type IncomingWebhookRequest struct {
|
||||
|
||||
Ссылка в новой задаче
Block a user