File tree Expand file tree Collapse file tree 13 files changed +53
-43
lines changed
src/test/java/hudson/model Expand file tree Collapse file tree 13 files changed +53
-43
lines changed Original file line number Diff line number Diff line change @@ -117,11 +117,6 @@ THE SOFTWARE.
117117 </exclusion >
118118 </exclusions >
119119 </dependency >
120- <dependency >
121- <groupId >com.infradna.tool</groupId >
122- <artifactId >bridge-method-annotation</artifactId >
123- <version >${bridge-method-injector.version} </version >
124- </dependency >
125120 <dependency >
126121 <groupId >com.sun.xml.txw2</groupId >
127122 <artifactId >txw2</artifactId >
@@ -168,6 +163,11 @@ THE SOFTWARE.
168163 <groupId >commons-lang</groupId >
169164 <artifactId >commons-lang</artifactId >
170165 </dependency >
166+ <dependency >
167+ <groupId >io.jenkins.tools</groupId >
168+ <artifactId >bridge-method-annotation</artifactId >
169+ <version >${bridge-method-injector.version} </version >
170+ </dependency >
171171 <dependency >
172172 <!-- needed by Jelly -->
173173 <groupId >jakarta.servlet.jsp.jstl</groupId >
@@ -568,7 +568,7 @@ THE SOFTWARE.
568568 </executions >
569569 </plugin >
570570 <plugin >
571- <groupId >com.infradna.tool </groupId >
571+ <groupId >io.jenkins.tools </groupId >
572572 <artifactId >bridge-method-injector</artifactId >
573573 <executions >
574574 <execution >
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ THE SOFTWARE.
2828 xmlns:i=" jelly:fmt" xmlns : p =" /lib/hudson/project" >
2929 <j : set var =" escapeEntryTitleAndDescription" value =" false" />
3030 <f : entry description =" ${it.formattedDescription}" >
31- <f : checkbox title =" ${h.escape(it.name)}" name =" value" checked =" ${it.value}" readonly =" true" />
31+ <j : set var =" readOnlyMode" value =" true" />
32+ <f : checkbox title =" ${h.escape(it.name)}" name =" value" checked =" ${it.value}" />
3233 </f : entry >
3334</j : jelly >
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ THE SOFTWARE.
3535 <l : main-panel >
3636 <t : buildCaption it =" ${build}" >${title}</t : buildCaption >
3737 <j : set var =" escapeEntryTitleAndDescription" value =" true" /> <!-- SECURITY-353 defense unless overridden -->
38+ <j : set var =" readOnlyMode" value =" true" />
3839 <j : forEach var =" parameterValue" items =" ${it.parameters}" >
3940 <st : include it =" ${parameterValue}" page =" value.jelly" />
4041 </j : forEach >
Original file line number Diff line number Diff line change @@ -24,10 +24,11 @@ THE SOFTWARE.
2424
2525<?jelly escape-by-default =' true' ?>
2626<j : jelly xmlns : j =" jelly:core" xmlns : st =" jelly:stapler" xmlns : d =" jelly:define"
27- xmlns:l=" /lib/layout" xmlns : t =" /lib/hudson" xmlns : f =" /lib/form"
28- xmlns:i=" jelly:fmt" xmlns : p =" /lib/hudson/project" >
29- <j : set var =" escapeEntryTitleAndDescription" value =" false" />
30- <f : entry title =" ${h.escape(it.name)}" description =" ${it.formattedDescription}" >
31- <f : textbox name =" value" value =" ${it.value}" readonly =" true" />
32- </f : entry >
27+ xmlns : l =" /lib/layout" xmlns : t =" /lib/hudson" xmlns : f =" /lib/form"
28+ xmlns : i =" jelly:fmt" xmlns : p =" /lib/hudson/project" >
29+ <j : set var =" escapeEntryTitleAndDescription" value =" false" />
30+ <f : entry title =" ${h.escape(it.name)}" description =" ${it.formattedDescription}" >
31+ <j : set var =" readOnlyMode" value =" true" />
32+ <f : textbox name =" value" value =" ${it.value}" />
33+ </f : entry >
3334</j : jelly >
Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ THE SOFTWARE.
2626<j : jelly xmlns : j =" jelly:core" xmlns : st =" jelly:stapler" xmlns : d =" jelly:define"
2727 xmlns:l=" /lib/layout" xmlns : t =" /lib/hudson" xmlns : f =" /lib/form"
2828 xmlns:i=" jelly:fmt" xmlns : p =" /lib/hudson/project" >
29- <j : set var =" escapeEntryTitleAndDescription" value =" false" />
30- <f : entry title =" ${h.escape(it.name)}" description =" ${it.formattedDescription}" >
31- <f : textarea name =" value" value =" ${it.value}" readonly =" readonly" />
32- </f : entry >
29+ <j : set var =" escapeEntryTitleAndDescription" value =" false" />
30+ <f : entry title =" ${h.escape(it.name)}" description =" ${it.formattedDescription}" >
31+ <j : set var =" readOnlyMode" value =" true" />
32+ <f : textarea name =" value" value =" ${it.value}" />
33+ </f : entry >
3334</j : jelly >
Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ THE SOFTWARE.
8383 name =" ${name}"
8484 value =" ${attrs.value}"
8585 title =" ${attrs.tooltip}"
86- onclick =" ${attrs.readonly=='true' ? 'return false;' : attrs.onclick}" id =" ${attrs.id}" class =" ${attrs.class} ${attrs.negative!=null ? 'negative' : null} ${attrs.checkUrl!=null?'validated':''}"
86+ onclick =" ${attrs.readonly=='true' ? null : attrs.onclick}" id =" ${attrs.id}" class =" ${attrs.class} ${attrs.negative!=null ? 'negative' : null} ${attrs.checkUrl!=null?'validated':''}"
8787 checkUrl =" ${attrs.checkUrl}" checkDependsOn =" ${attrs.checkDependsOn}" json =" ${attrs.json}"
88- disabled =" ${readOnlyMode ? 'true' : null}"
88+ disabled =" ${readOnlyMode or attrs.readonly=='true' ? 'true' : null}"
8989 checked =" ${value ? 'true' : null}" />
9090 <label class =" attach-previous ${attrs.title == null ? 'js-checkbox-label-empty' : ''}"
9191 title =" ${attrs.tooltip}" >${attrs.title}</label >
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ THE SOFTWARE.
2424
2525<?jelly escape-by-default =' true' ?>
2626<j : jelly xmlns : j =" jelly:core" xmlns : st =" jelly:stapler" xmlns : d =" jelly:define" >
27- <st : documentation > <![CDATA[
27+ <st : documentation > <![CDATA[
2828 <input type="radio"> tag that takes true/false for @checked, which is more Jelly friendly.
2929
3030 Note that Safari doesn't support onchange.
@@ -38,7 +38,13 @@ THE SOFTWARE.
3838 <st : attribute name =" checked" />
3939 <st : attribute name =" value" />
4040 <st : attribute name =" id" />
41- <st : attribute name =" onclick" />
41+ <st : attribute name =" onclick" deprecated =" true" >
42+ Inline JavaScript to execute when the checkbox is clicked.
43+ Deprecated because this attribute is incompatible with adding Content-Security-Policy to the Jenkins UI in the future.
44+ Set 'id' or 'class' attributes as appropriate to look up this element in external Javascript files (e.g. adjuncts)
45+ to add the desired behavior there (DOMContentLoaded event in static forms, Behaviour.specify if this element may be
46+ dynamically added). See https://github.com/jenkinsci/jenkins/pull/6852 for an example.
47+ </st : attribute >
4248 <st : attribute name =" title" >
4349 If specified, this human readable text will follow the radio, and clicking this text also
4450 toggles the radio.
Original file line number Diff line number Diff line change 4848 "stylelint" : " 16.23.1" ,
4949 "stylelint-checkstyle-reporter" : " 1.1.1" ,
5050 "stylelint-config-standard-scss" : " 15.0.1" ,
51- "webpack" : " 5.101.0 " ,
51+ "webpack" : " 5.101.1 " ,
5252 "webpack-cli" : " 6.0.1" ,
5353 "webpack-remove-empty-scripts" : " 1.1.1"
5454 },
Original file line number Diff line number Diff line change @@ -94,11 +94,11 @@ THE SOFTWARE.
9494
9595 <access-modifier .version>1.35</access-modifier .version>
9696 <antlr .version>4.13.2</antlr .version>
97- <bridge-method-injector .version>1.31 </bridge-method-injector .version>
97+ <bridge-method-injector .version>1.32 </bridge-method-injector .version>
9898 <spotless .check.skip>false</spotless .check.skip>
9999 <!-- Make sure to keep the jetty-ee9-maven-plugin version in war/pom.xml in sync with the Jetty release in Winstone: -->
100- <winstone .version>8.12 </winstone .version>
101- <node .version>22.18 .0</node .version>
100+ <winstone .version>8.13 </winstone .version>
101+ <node .version>24.5 .0</node .version>
102102 </properties >
103103
104104 <!--
@@ -223,7 +223,7 @@ THE SOFTWARE.
223223 <version >1.1</version >
224224 </plugin >
225225 <plugin >
226- <groupId >com.infradna.tool </groupId >
226+ <groupId >io.jenkins.tools </groupId >
227227 <artifactId >bridge-method-injector</artifactId >
228228 <version >${bridge-method-injector.version} </version >
229229 </plugin >
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ THE SOFTWARE.
132132 <dependency >
133133 <groupId >org.jenkins-ci.plugins.workflow</groupId >
134134 <artifactId >workflow-api</artifactId >
135- <version >1382.veca_a_efe062fa_ </version >
135+ <version >1384.vdc05a_48f535f </version >
136136 </dependency >
137137 <dependency >
138138 <groupId >org.jenkins-ci.plugins.workflow</groupId >
@@ -262,7 +262,7 @@ THE SOFTWARE.
262262 <dependency >
263263 <groupId >org.jenkins-ci.plugins</groupId >
264264 <artifactId >matrix-project</artifactId >
265- <version >855.va_10985fa_3219 </version >
265+ <version >856.v4c352b_3a_b_23e </version >
266266 <scope >test</scope >
267267 </dependency >
268268 <dependency >
You can’t perform that action at this time.
0 commit comments