# HG changeset patch # User Sascha Wilde # Date 1708010659 -3600 # Node ID 6e4d9b56fa56445a24e5341a16dddf8672b17497 # Parent 1c33e87e280d495ac142e3a90ef4a8446020e532# Parent b1a10654bf0f24b82cdba16bf3d38af72590195e Merged diff -r b1a10654bf0f -r 6e4d9b56fa56 .hgtags --- 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 diff -r b1a10654bf0f -r 6e4d9b56fa56 client/package.json --- 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", diff -r b1a10654bf0f -r 6e4d9b56fa56 pkg/controllers/importqueue.go --- 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 {