Skip to content

Commit

Permalink
Merge branch 'master' into dashboard-test
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Jan 2, 2025
2 parents bea7b2f + 0a64505 commit e0dfad4
Show file tree
Hide file tree
Showing 13 changed files with 206 additions and 197 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-since-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
id: run_script
shell: bash
- name: Create Pull Request
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Fill in since annotations
Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ THE SOFTWARE.
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.15.0</version>
<version>5.16.0</version>
</dependency>
<dependency>
<groupId>net.java.sezpoz</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Please\ wait\ while\ Jenkins\ is\ getting\ ready\ to\ work=\
Jenkins is getting ready to work
Your\ browser\ will\ reload\ automatically\ when\ Jenkins\ is\ ready=\
Your browser will reload automatically when Jenkins is ready
Your browser will reload automatically when Jenkins is ready.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Please\ wait\ while\ Jenkins\ is\ restarting=\
Jenkins is restarting
Your\ browser\ will\ reload\ automatically\ when\ Jenkins\ is\ ready=Your browser will reload automatically when Jenkins is ready.
13 changes: 6 additions & 7 deletions core/src/main/resources/lib/hudson/buildHealth.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->

<!--
<%@ attribute name="job" use="required" type="hudson.model.Job" %>
<%@ attribute name="iconSizeClass" type="java.lang.String" %>
<%@ attribute name="iconSize" type="java.lang.String" %>
<%@ attribute name="td" required="false" type="java.lang.String" %>
<%@ attribute name="link" required="false" type="java.lang.String" %>
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:x="jelly:xml" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<st:documentation>
<st:attribute name="job" use="required" type="hudson.model.Job">Job to display the health report.</st:attribute>
<st:attribute name="td" type="java.lang.Boolean">If `td` should be used instead of `div` to wrap the health reports.</st:attribute>
<st:attribute name="link" type="java.lang.String">href of the link.</st:attribute>
<st:attribute name="style" type="java.lang.String">link style.</st:attribute>
</st:documentation>
<j:set var="healthReports" value="${job.buildHealthReports}"/>
<j:new var="emptyHealthReport" className="hudson.model.HealthReport"/>
<j:set var="buildHealth" value="${empty(healthReports) ? emptyHealthReport : healthReports[0]}"/>
Expand Down
11 changes: 5 additions & 6 deletions core/src/main/resources/lib/hudson/buildRangeLink.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->

<!--
Link to a range of build. Used by fingerprint/index.jsp
<%@ attribute name="range" type="java.lang.Object" use="required" %>
<%@ attribute name="job" type="hudson.model.Job" use="required" %>
-->
<!-- it's hudson.model.Fingerprint.RangeSet but Tomcat can't seem to handler inner classes -->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<st:documentation>
Link to a range of build. Used by fingerprint/index.jelly
<st:attribute name="range" type="hudson.model.Fingerprint.RangeSet" use="required">A range set of builds</st:attribute>
<st:attribute name="job" type="hudson.model.Job" use="required">The owner of the builds</st:attribute>
</st:documentation>
<j:forEach var="r" items="${range.ranges}">
<j:choose>
<j:when test="${r.start==r.end-1}">
Expand Down
21 changes: 10 additions & 11 deletions core/src/main/resources/lib/hudson/progressiveText.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,18 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
-->

<!--
Use AJAX to load text data progressively.
This is used to achieve the effect of "tail -f"
without relying on full page reload.
<%@attribute name="href" use="required" description="URL that returns text data" %>
<%@attribute name="idref" use="required" description="ID of the HTML element in which the result is displayed" %>
<%@attribute name="spinner" required="false" description="ID of the HTML element in which the spinner is displayed" %>
<%@attribute name="startOffset" required="false" description="Skip this many bytes rather than showing from start of data" %>
<%@attribute name="onFinishEvent" required="false" description="JS custom event to be fired when progress is finished" %>
-->
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<st:documentation>
Use AJAX to load text data progressively.
This is used to achieve the effect of "tail -f"
without relying on full page reload.
<st:attribute name="href" use="required">URL that returns text data</st:attribute>
<st:attribute name="idref" use="required">ID of the HTML element in which the result is displayed</st:attribute>
<st:attribute name="spinner">ID of the HTML element in which the spinner is displayed</st:attribute>
<st:attribute name="startOffset">Skip this many bytes rather than showing from start of data</st:attribute>
<st:attribute name="onFinishEvent">JS custom event to be fired when progress is finished</st:attribute>
</st:documentation>
<div class="progressiveText-holder" data-href="${href}" data-idref="${idref}" data-spinner="${spinner}" data-start-offset="${startOffset}"
data-on-finish-event="${empty(onFinishEvent) ? '' : onFinishEvent}"
data-error-message="${%errorMessage}"/>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build": "yarn prod",
"start": "yarn dev --watch",
"lint:js": "eslint . && prettier --check .",
"lint:js-ci": "eslint . -f checkstyle -o target/eslint-warnings.xml && prettier --check .",
"lint:js-ci": "eslint . -f checkstyle -o target/eslint-warnings.xml",
"lint:css": "stylelint src/main/scss",
"lint:css-ci": "stylelint src/main/scss --custom-formatter stylelint-checkstyle-reporter -o target/stylelint-warnings.xml",
"lint:ci": "yarn lint:js-ci && yarn lint:css-ci",
Expand All @@ -39,7 +39,7 @@
"mini-css-extract-plugin": "2.9.2",
"postcss": "8.4.49",
"postcss-loader": "8.1.1",
"postcss-preset-env": "10.1.2",
"postcss-preset-env": "10.1.3",
"postcss-scss": "4.0.9",
"prettier": "3.4.2",
"sass": "1.83.0",
Expand All @@ -49,7 +49,7 @@
"stylelint-checkstyle-reporter": "1.0.0",
"stylelint-config-standard": "36.0.1",
"webpack": "5.97.1",
"webpack-cli": "5.1.4",
"webpack-cli": "6.0.1",
"webpack-remove-empty-scripts": "1.0.4"
},
"dependencies": {
Expand Down
14 changes: 13 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ THE SOFTWARE.
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>10.21.0</version>
<version>10.21.1</version>
</dependency>
</dependencies>
<executions>
Expand Down Expand Up @@ -519,6 +519,18 @@ THE SOFTWARE.
<skip>${yarn.lint.skip}</skip>
</configuration>
</execution>
<execution>
<id>prettier</id>
<goals>
<goal>corepack</goal>
</goals>
<phase>test</phase>
<configuration>
<arguments>yarn exec prettier --check .</arguments>
<skip>${yarn.lint.skip}</skip>
<testFailureIgnore>false</testFailureIgnore>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Expand Down
2 changes: 1 addition & 1 deletion test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ THE SOFTWARE.
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>bouncycastle-api</artifactId>
<version>2.30.1.78.1-248.ve27176eb_46cb_</version>
<version>2.30.1.79-254.vfdb_814e7791e</version>
</dependency>
<dependency>
<!-- RequireUpperBoundDeps via mailer and junit -->
Expand Down
6 changes: 3 additions & 3 deletions war/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ THE SOFTWARE.
<host>localhost</host>
<!-- HTTP listener port -->
<port>8080</port>
<mina-sshd-api.version>2.14.0-136.v4d2b_0853615e</mina-sshd-api.version>
<mina-sshd-api.version>2.14.0-138.v6341ee58e1df</mina-sshd-api.version>
<!-- Minimum Remoting version, which is tested for API compatibility, duplicated so that renovate only updates the latest remoting version property -->
<remoting.minimum.supported.version>3107.v665000b_51092</remoting.minimum.supported.version>

Expand Down Expand Up @@ -365,7 +365,7 @@ THE SOFTWARE.
<!-- dependency of junit -->
<groupId>io.jenkins.plugins</groupId>
<artifactId>echarts-api</artifactId>
<version>5.5.1-4</version>
<version>5.5.1-5</version>
<type>hpi</type>
</artifactItem>
<artifactItem>
Expand Down Expand Up @@ -432,7 +432,7 @@ THE SOFTWARE.
<!-- detached after 2.16 -->
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>bouncycastle-api</artifactId>
<version>2.30.1.78.1-248.ve27176eb_46cb_</version>
<version>2.30.1.79-254.vfdb_814e7791e</version>
<type>hpi</type>
</artifactItem>
<artifactItem>
Expand Down
13 changes: 7 additions & 6 deletions war/src/main/webapp/scripts/hudson-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ function findNext(src, filter) {
function findFormItem(src, name, directionF) {
const name2 = "_." + name; // handles <textbox field="..." /> notation silently
return directionF(src, function (e) {
if (e.tagName === "INPUT" && e.type === "radio" ) {
if (e.tagName === "INPUT" && e.type === "radio") {
if (e.checked === true) {
let r = 0;
while (e.name.substring(r, r + 8) === "removeme") {
Expand All @@ -547,7 +547,7 @@ function findFormItem(src, name, directionF) {
}
return name === e.name.substring(r);
}
return false
return false;
}
return (
(e.tagName === "INPUT" ||
Expand Down Expand Up @@ -734,11 +734,12 @@ function registerValidator(e) {
return;
}

if (c.tagName === 'INPUT' && c.type === "radio") {
document.querySelectorAll(`input[name='${c.name}'][type='radio']`)
.forEach(element => {
if (c.tagName === "INPUT" && c.type === "radio") {
document
.querySelectorAll(`input[name='${c.name}'][type='radio']`)
.forEach((element) => {
element.addEventListener("change", checker.bind(e));
})
});
} else {
c.addEventListener("change", checker.bind(e));
}
Expand Down
Loading

0 comments on commit e0dfad4

Please sign in to comment.