From 43e4f5c48a888d181b294b9fbc3653a06a6644db Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue, 17 May 2022 00:29:22 +0100 Subject: [PATCH 01/64] Init --- war/src/main/less/modules/section.less | 46 +++++++++++-------- .../{modules => pages}/manage-jenkins.less | 2 - war/src/main/less/styles.less | 2 +- 3 files changed, 28 insertions(+), 22 deletions(-) rename war/src/main/less/{modules => pages}/manage-jenkins.less (94%) diff --git a/war/src/main/less/modules/section.less b/war/src/main/less/modules/section.less index 9bbd02a30dd8..2140b8499796 100644 --- a/war/src/main/less/modules/section.less +++ b/war/src/main/less/modules/section.less @@ -57,10 +57,7 @@ &::after { position: absolute; content: ""; - top: -10px; - left: -10px; - bottom: -10px; - right: -10px; + inset: -10px; z-index: -1; border-radius: 10px; transition: var(--standard-transition); @@ -110,30 +107,35 @@ align-items: center; justify-content: center; margin: 0 1rem 0 0; - width: 48px; - height: 48px; - margin: 0 1rem 0 0; + width: 3rem; + height: 3rem; flex-shrink: 0; color: var(--text-color); - &::before { + &::before, + &::after { content: ""; position: absolute; - top: 0; - left: 0; - bottom: 0; - right: 0; + inset: 0; border-radius: 100%; + pointer-events: none; + } + + &::before { background: currentColor; opacity: 0.1; - pointer-events: none; + } + + &::after { + border: 1px solid currentColor; + opacity: 0.015; } img, svg { position: relative; - width: 24px !important; - height: 24px !important; + width: 50% !important; + height: 50% !important; color: currentColor; } @@ -152,6 +154,7 @@ padding: 0 0.4rem; box-shadow: 0 1px 1px rgba(black, 0.1); color: white; + animation: animate-in-badge var(--elastic-transition) 0.1s both; &::after { content: ""; @@ -171,15 +174,20 @@ dt { font-size: 0.95rem; font-weight: 600; - margin: 0 0 2px 0; + margin: 0 0 0.25rem 0; color: var(--text-color); } dd { color: var(--text-color-secondary); font-weight: 500; - margin: 0; - line-height: 1.66; - margin-right: 10px; + line-height: 1.6; + margin: 0 10px 0 0; + } +} + +@keyframes animate-in-badge { + from { + transform: scale(0); } } diff --git a/war/src/main/less/modules/manage-jenkins.less b/war/src/main/less/pages/manage-jenkins.less similarity index 94% rename from war/src/main/less/modules/manage-jenkins.less rename to war/src/main/less/pages/manage-jenkins.less index c21b66c0a77b..13f7b24c544a 100644 --- a/war/src/main/less/modules/manage-jenkins.less +++ b/war/src/main/less/pages/manage-jenkins.less @@ -1,5 +1,3 @@ -/* ----------- Manage Jenkins page ----------- */ - .manage-messages a, .manage-messages a:visited { color: inherit !important; diff --git a/war/src/main/less/styles.less b/war/src/main/less/styles.less index e42688bbc720..87ed0040a5b2 100644 --- a/war/src/main/less/styles.less +++ b/war/src/main/less/styles.less @@ -41,7 +41,6 @@ html { @import './modules/content-blocks'; @import './modules/icon-size'; @import './modules/icons'; -@import './modules/manage-jenkins'; @import './modules/page-footer'; @import './modules/page-header'; @import './modules/panes-and-bigtable'; @@ -55,5 +54,6 @@ html { @import './modules/tooltips'; @import './pages/about'; +@import './pages/manage-jenkins'; @import './pages/plugin-manager'; @import './pages/setupWizardFirstUser'; From d579dc5ae2142c96f47f4de496a8f1c973fb1831 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Tue, 17 May 2022 00:52:29 +0100 Subject: [PATCH 02/64] Update section.less --- war/src/main/less/modules/section.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/war/src/main/less/modules/section.less b/war/src/main/less/modules/section.less index 2140b8499796..34d8b9e367d2 100644 --- a/war/src/main/less/modules/section.less +++ b/war/src/main/less/modules/section.less @@ -70,7 +70,7 @@ } &::after { - box-shadow: 0 0 0 10px transparent; + box-shadow: 0 0 0 10px currentColor; } &:hover, From 316d9907dea2fa2cf31b238a9f0904932a9ae287 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 May 2022 09:48:13 -0700 Subject: [PATCH 03/64] Bump `executable-war` from 2.6 to 2.7 (#6602) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- war/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/war/pom.xml b/war/pom.xml index bb3cbacc4953..dfc597a0ae46 100644 --- a/war/pom.xml +++ b/war/pom.xml @@ -124,7 +124,7 @@ THE SOFTWARE. org.jenkins-ci executable-war - 2.6 + 2.7 provided From 80c5e5199760e074649f8df1bf318c65a882f68a Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Fri, 27 May 2022 08:41:01 -0700 Subject: [PATCH 04/64] Organize Dependabot configuration (#6603) --- .github/dependabot.yml | 69 +++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 21 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1f7a2eeccb18..095dd5abc415 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,4 @@ +--- version: 2 updates: - package-ecosystem: "github-actions" @@ -9,30 +10,56 @@ updates: schedule: interval: "daily" ignore: - # see https://github.com/jenkinsci/jenkins/pull/5112#issuecomment-744429487 and https://github.com/jenkinsci/jenkins/pull/5116#issuecomment-744526638 - # it would be good to update it at some point, but requires significant testing + # Exclusions in this section have been triaged and determined to be + # permanent. We do not anticipate removing exclusions from this section. + + # Provided by Jetty and should be aligned with the version provided by the + # version of Jetty we deliver. See: + # https://github.com/jenkinsci/jenkins/pull/5211 + - dependency-name: "javax.servlet:javax.servlet-api" + + # Jetty Maven Plugin and Winstone should be upgraded in lockstep in order + # to keep their corresponding Jetty versions aligned. + - dependency-name: "org.eclipse.jetty:jetty-maven-plugin" + - dependency-name: "org.jenkins-ci:winstone" + + # Log4j 1.2.17 is the final 1.x release. + - dependency-name: "log4j:log4j" + + + # Here lies technical debt. Exclusions in this section have been triaged + # and determined to be temporary. Exclusions should be removed from this + # section once the remaining action items have been completed. + + # Fails test automation; needs further investigation. + - dependency-name: "com.google.inject:guice-bom" + + # Requires Java 11 starting with version 10.0. + - dependency-name: "com.puppycrawl.tools:checkstyle" + versions: [">=10.0"] + + # Contains incompatible API changes and needs compatibility work. + - dependency-name: "jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api" + + # This is a banned dependency, and we have a redundant trick in our POM to + # prevent it from being pulled in. If and when the reference is removed in + # our POM, this exclusion can also be removed. + - dependency-name: "javax.servlet:servlet-api" + + # Needs significant testing. See: + # https://github.com/jenkinsci/jenkins/pull/5112#issuecomment-744429487 + # https://github.com/jenkinsci/jenkins/pull/5116#issuecomment-744526638 - dependency-name: "org.codehaus.groovy:groovy-all" versions: [">=2.5.0"] - # see https://github.com/jenkinsci/jenkins/pull/5184 should be updated with groovy-all + + # Consumed by Groovy and should be updated in lockstep with Groovy. See: + # https://github.com/jenkinsci/jenkins/pull/5184 - dependency-name: "org.fusesource.jansi:jansi" - # this is a banned dependency, we have a hack in our pom to prevent anyone else pulling it in - - dependency-name: "javax.servlet:servlet-api" - # needs a jakarta upgrade project, imports changed - - dependency-name: "jakarta.servlet.jsp.jstl:jakarta.servlet.jsp.jstl-api" - # Starting with version 2.0.2, this library requires Java 11 + + # Requires Java 11 starting with version 2.0.2. - dependency-name: "org.glassfish.tyrus.bundles:tyrus-standalone-client-jdk" versions: [">=2.0.2"] - # see https://github.com/jenkinsci/jenkins/pull/4224 can't be updated without breaking api + + # Contains incompatible API changes and needs compatibility work. See: + # https://github.com/jenkinsci/jenkins/pull/4224 - dependency-name: "org.jfree:jfreechart" - # the dependency is actually provided by the Web container, hence it is aligned with Jetty. See https://github.com/jenkinsci/jenkins/pull/5211 - - dependency-name: "javax.servlet:javax.servlet-api" - # log4j 1.2.17 is the final 1.x release - - dependency-name: "log4j:log4j" - # Must remain within jetty 9.x until Java 8 support is removed, ignore jetty 10.x and jetty 11.x updates - - dependency-name: "org.eclipse.jetty:jetty-maven-plugin" - versions: [">=10.0.0"] - # Winstone upgrades require multiple changes in pom.xml. See https://github.com/jenkinsci/jenkins/pull/5439#discussion_r616418468 - - dependency-name: "org.jenkins-ci:winstone" - # Starting with version 10.0, this library requires Java 11 - - dependency-name: "com.puppycrawl.tools:checkstyle" - versions: [">=10.0"] From fc955acc86e3235b3db05aa80b2c25e85b5f21f4 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Fri, 27 May 2022 18:06:04 +0100 Subject: [PATCH 05/64] Remove polyfills.js (#6605) --- .../main/resources/lib/layout/layout.jelly | 2 -- war/src/main/webapp/scripts/polyfills.js | 30 ------------------- 2 files changed, 32 deletions(-) delete mode 100644 war/src/main/webapp/scripts/polyfills.js diff --git a/core/src/main/resources/lib/layout/layout.jelly b/core/src/main/resources/lib/layout/layout.jelly index d4b9ce47cc51..fb140545b368 100644 --- a/core/src/main/resources/lib/layout/layout.jelly +++ b/core/src/main/resources/lib/layout/layout.jelly @@ -143,8 +143,6 @@ THE SOFTWARE. -