Mercurial > gemma
changeset 5729:6e4d9b56fa56
Merged
author | Sascha Wilde <wilde@sha-bang.de> |
---|---|
date | Thu, 15 Feb 2024 16:24:19 +0100 |
parents | 1c33e87e280d (diff) b1a10654bf0f (current diff) |
children | a88d9f588aec |
files | |
diffstat | 3 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgtags Wed Feb 14 16:56:28 2024 +0100 +++ b/.hgtags Thu Feb 15 16:24:19 2024 +0100 @@ -46,3 +46,4 @@ 4774956ccf871e221528389545c24642851b74a8 v5.6 ff0af91a7f62fca950e8655e16501b7c6547b841 v5.7 9b3779f649c23c0b1a33170149758113691e6dfe v5.7.1 +770681f873100d51b3f9cfb04ddf490d240d0636 v5.7.3
--- a/client/package.json Wed Feb 14 16:56:28 2024 +0100 +++ b/client/package.json Thu Feb 15 16:24:19 2024 +0100 @@ -1,6 +1,6 @@ { "name": "gemmajs", - "version": "5.7.3-dev", + "version": "5.7.3", "license": "AGPL-3.0-or-later", "repository": { "type": "hg",
--- a/pkg/controllers/importqueue.go Wed Feb 14 16:56:28 2024 +0100 +++ b/pkg/controllers/importqueue.go Thu Feb 15 16:24:19 2024 +0100 @@ -74,6 +74,8 @@ signer, EXISTS(SELECT 1 FROM import.import_logs WHERE kind = 'warn'::log_type and import_id = id) AS has_warnings, + EXISTS(SELECT 1 FROM import.import_logs + WHERE kind = 'error'::log_type and import_id = id) AS has_errors, data, CASE WHEN kind = ANY($1) THEN ARRAY(SELECT msg FROM import.import_logs WHERE import_id = id) ELSE NULL @@ -311,6 +313,7 @@ "#signer", "#state", "#warnings", + "#errors", "#source", } @@ -346,6 +349,7 @@ country string signer sql.NullString warnings bool + errors bool data string msgs pgtype.TextArray } @@ -395,7 +399,8 @@ record[6] = signer record[7] = ds.state record[8] = strconv.FormatBool(ds.warnings) - record[9] = description + record[9] = strconv.FormatBool(ds.errors) + record[10] = description return out.Write(record) } @@ -413,6 +418,7 @@ &curr.country, &curr.signer, &curr.warnings, + &curr.errors, &curr.data, &curr.msgs, ); err != nil {