Showing builds [% (page - 1) * resultsPerPage + 1 %] - [% (page - 1) * resultsPerPage + builds.size %] out of [% total %] in order of descending finish time.
+
Showing builds [% (page - 1) * resultsPerPage + 1 %] - [% (page - 1) * resultsPerPage + builds.size %] out of [% HTML.escape(total) %] in order of descending finish time.
[% INCLUDE renderBuildList hideProjectName=project hideJobsetName=jobset hideJobName=job %]
[% INCLUDE renderPager %]
diff --git a/src/root/build.tt b/src/root/build.tt
index 46a949fa..8c52b489 100644
--- a/src/root/build.tt
+++ b/src/root/build.tt
@@ -86,7 +86,7 @@ END;
[% ELSIF step.status == 11 %]
Output limit exceeded
[% ELSIF step.status == 12 %]
- Non-determinism detected [% IF step.timesbuilt %] after [% step.timesbuilt %] times[% END %]
+ Non-determinism detected [% IF step.timesbuilt %] after [% HTML.escape(step.timesbuilt) %] times[% END %]
[% ELSIF step.errormsg %]
Failed: [% HTML.escape(step.errormsg) %]
[% ELSE %]
@@ -507,14 +507,14 @@ END;
[% IF not runcommandlog.is_running() %]
[% IF runcommandlog.did_fail_with_signal() %]
- Exit signal: [% runcommandlog.signal %]
+ Exit signal: [% runcommandlog.signal | html %]
[% IF runcommandlog.core_dumped %]
(Core Dumped)
[% END %]
[% ELSIF runcommandlog.did_fail_with_exec_error() %]
- Exec error: [% runcommandlog.error_number %]
+ Exec error: [% runcommandlog.error_number | html %]
[% ELSIF not runcommandlog.did_succeed() %]
- Exit code: [% runcommandlog.exit_code %]
+ Exit code: [% runcommandlog.exit_code | html %]
[% END %]
[% END %]
diff --git a/src/root/channel-contents.tt b/src/root/channel-contents.tt
index ff79dd0f..11d0323d 100644
--- a/src/root/channel-contents.tt
+++ b/src/root/channel-contents.tt
@@ -7,7 +7,7 @@ href="http://nixos.org/">Nix package manager. If you have Nix
installed, you can subscribe to this channel by once executing
[% IF done.${node.path} %]
- [% node.name %] (repeated)
+ [% node.name | html %] ( "#" _ done.${node.path}) %]>repeated)
[% ELSE %]
[% done.${node.path} = global.nodeId; global.nodeId = global.nodeId + 1; %]
[% IF node.refs.size > 0 %]
[% END %]
-
+ done.${node.path}) %]>
[% IF node.buildStep %]
c.uri_for('/build' node.buildStep.get_column('build'))) %]>[% node.name %] [%
IF buildStepLogExists(node.buildStep);
INCLUDE renderLogLinks url=c.uri_for('/build' node.buildStep.get_column('build') 'nixlog' node.buildStep.stepnr);
END %]
[% ELSE %]
- [% node.name %] (no info)
+ [% node.name | html %] (no info)
[% END %]
[% IF isRoot %]
diff --git a/src/root/edit-jobset.tt b/src/root/edit-jobset.tt
index 429ab546..a3c1c9c5 100644
--- a/src/root/edit-jobset.tt
+++ b/src/root/edit-jobset.tt
@@ -7,17 +7,17 @@
[% USE format %]
[% BLOCK renderJobsetInput %]
-
+
id) %][% END %]>
- input.name) %]/>
+ baseName _ "-name", name => baseName _ "-name", value => input.name) %] />
[% INCLUDE renderSelection curValue=input.type param="$baseName-type" options=inputTypes edit=1 %]
-
+
baseName) %]>
[% IF createFromEval %]
[% value = (input.uri or input.value); IF input.revision; value = value _ " " _ input.revision; END;
warn = input.altnr != 0;
@@ -36,7 +36,7 @@
value, id => "$baseName-value", name => "$baseName-value") %]/>
-
+ "$baseName-emailresponsible", name => "$baseName-emailresponsible") %] [% IF input.emailresponsible; 'checked="checked"'; END %]/>
[% END %]
@@ -149,7 +149,7 @@
diff --git a/src/root/evals.tt b/src/root/evals.tt
index c12079d1..b65fe15d 100644
--- a/src/root/evals.tt
+++ b/src/root/evals.tt
@@ -10,7 +10,7 @@
[% PROCESS common.tt %]
Showing evaluations [% (page - 1) * resultsPerPage + 1 %] - [%
-(page - 1) * resultsPerPage + evals.size %] out of [% total %].
+(page - 1) * resultsPerPage + evals.size %] out of [% HTML.escape(total) %].
[% INCLUDE renderEvals %]
diff --git a/src/root/job.tt b/src/root/job.tt
index acb874a3..1a82a86b 100644
--- a/src/root/job.tt
+++ b/src/root/job.tt
@@ -46,7 +46,7 @@ removed or had an evaluation error.
its success or failure is determined entirely by the result of
building its constituent jobs. The table below shows
the status of each constituent job for the [%
- aggregates.keys.size %] most recent builds of the
+ HTML.escape(aggregates.keys.size) %] most recent builds of the
aggregate.
[% END %]
diff --git a/src/root/jobset-eval.tt b/src/root/jobset-eval.tt
index 265f472e..6e97c386 100644
--- a/src/root/jobset-eval.tt
+++ b/src/root/jobset-eval.tt
@@ -14,7 +14,7 @@
[% IF project.jobsets_rs.count > 1 %]
[% FOREACH j IN project.jobsets.sort('name'); IF j.name != jobset.name %]
- Jobset [% project.name %]:[% j.name %]
+ Jobset [% project.name | html %]:[% j.name | html %]
[% END; END %]
[% END %]
@@ -23,13 +23,13 @@
This evaluation was performed [% IF eval.flake %]from the flake
[% HTML.escape(eval.flake) %][% END %] on [% INCLUDE renderDateTime
timestamp=eval.timestamp %]. Fetching the dependencies took [%
-eval.checkouttime %]s and evaluation took [% eval.evaltime %]s.
+eval.checkouttime %]s and evaluation took [% HTML.escape(eval.evaltime) %]s.
[% IF otherEval %]