[MM-56757] Expand NotificationsLog to include websocket and email, adding much more varied logging across the entire process (#26273)
* [MM-56757] Expand NotificationsLog to include websocket and email, adding much more varied logging across the entire process * Rework the status/notify prop calls * Avoid some repetition in the logging calls * Fix one log * Wrap error --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2690e1322a
Коммит
893c44fe85
22
server/public/model/notification.go
Обычный файл
22
server/public/model/notification.go
Обычный файл
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
||||
// See LICENSE.txt for license information.
|
||||
|
||||
package model
|
||||
|
||||
const (
|
||||
StatusBlocked = "blocked"
|
||||
StatusServerError = "server_error"
|
||||
StatusNotSent = "not_sent"
|
||||
|
||||
TypeEmail = "email"
|
||||
TypeWebsocket = "websocket"
|
||||
TypePush = "push"
|
||||
|
||||
ReasonServerConfig = "server_config"
|
||||
ReasonUserConfig = "user_config"
|
||||
ReasonUserStatus = "user_status"
|
||||
ReasonFetchError = "error_fetching"
|
||||
ReasonServerError = "server_error"
|
||||
ReasonMissingProfile = "missing_profile"
|
||||
ReasonPushProxyError = "push_proxy_error"
|
||||
)
|
||||
Ссылка в новой задаче
Block a user