From c34b3819ce7dcef49af0266a252ac20e76d4f421 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 11 Aug 2017 16:10:26 +0200 Subject: dashboard/app: various improvements/fixes for email reporting Detect when we send first/non-first email for a bug. Detect when we send moderation/non-moderation email for a bug. Fix setting repro level in email reports. Add end-to-end email reporting tests. --- dashboard/dashapi/dashapi.go | 1 + 1 file changed, 1 insertion(+) (limited to 'dashboard/dashapi/dashapi.go') diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 4c744e9b4..4871f97ad 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -136,6 +136,7 @@ func (dash *Dashboard) LogError(name, msg string, args ...interface{}) { type BugReport struct { Config []byte ID string + First bool // Set for first report for this bug. Title string Maintainers []string CompilerID string -- cgit mrf-deployment