Commit Graph

35984 Commits

Author SHA1 Message Date
Jan Faracik 7a7293eaf4
Remove unused and deprecated SCSS (#10168)
Co-authored-by: Basil Crow <me@basilcrow.com>
2025-01-17 15:54:52 +00:00
Daniel Beck eeea046c26
[JENKINS-75145] Hide `UnprotectedRootAction`s with `null` URL (#10156)
[JENKINS-75145] Hide UPAs with null URL

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2025-01-17 22:29:10 +08:00
Kris Stern 490d2ff871
[JENKINS-75134] fix the Spanish translation of the description of 'Unprotected URLs' (#10152) 2025-01-17 22:28:25 +08:00
renovate[bot] 4c552b6ff1
Update dependency org.jenkins-ci.plugins:matrix-project to v845 (#10164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 12:02:44 -08:00
Basil Crow 8d78437104
Fix Stylelint configuration (#10169) 2025-01-16 11:58:23 -08:00
renovate[bot] a58fbbe0b1
Update dependency postcss to v8.5.1 (#10167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 07:52:29 -08:00
renovate[bot] 1608aebab8
Update dependency sass to v1.83.4 (#10166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 07:43:16 -08:00
renovate[bot] 0a56eca48e
Update dependency stylelint to v16.13.2 (#10165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 07:33:42 -08:00
renovate[bot] 5bc306ed8e
Update dependency eslint-config-prettier to v10 (#10163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 07:25:25 -08:00
renovate[bot] c5ad04f974
Update dependency org.springframework:spring-framework-bom to v6.2.2 (#10162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 06:49:50 -08:00
renovate[bot] 1971e48aad
Update dependency io.jenkins.plugins:commons-text-api to v1.13.0-153.v91dcd89e2a_22 (#10161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 06:45:45 -08:00
renovate[bot] 923ad9be08
Update jenkins/ath Docker tag to v6133 (#10159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-16 06:42:31 -08:00
Kris Stern 8c33677ba5
[JENKINS-75136] Show 'Unprotected URLs' description (#10151) 2025-01-16 19:40:49 +08:00
Kris Stern 3878f0a77b
Update dependency org.jenkins-ci.plugins:cloudbees-folder to v6.980.v5a_cc0cb_25881 (#10160) 2025-01-16 13:41:00 +08:00
renovate[bot] e4e3d49d8a
Update dependency org.jenkins-ci.plugins:cloudbees-folder to v6.980.v5a_cc0cb_25881 2025-01-16 01:28:52 +00:00
renovate[bot] f66138a27c
Update dependency stylelint to v16.13.0 (#10157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-15 07:23:15 -08:00
renovate[bot] a7581c2a2d
Update dependency org.jenkins-ci.plugins:bouncycastle-api to v2.30.1.80-256.vf98926042a_9b_ (#10155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-15 07:16:38 -08:00
Kris Stern f9d0f62f9d
Refresh the interface of Jenkins CLI (#10143) 2025-01-15 23:14:40 +08:00
Kris Stern b8e8e9d210
Update dependency org.jenkins-ci.plugins.workflow:workflow-support to v943 (#10154) 2025-01-15 17:38:53 +08:00
Kris Stern 26cc693b2b
Update dependency org.jenkins-ci.plugins.workflow:workflow-api to v1358 (#10153) 2025-01-15 17:38:14 +08:00
Kris Stern 9a97e255de
Use `oklch` for the Jenkins UI (#10078) 2025-01-15 17:37:02 +08:00
Albert Puig d94a864864 [JENKINS-75136] Show 'Unprotected URLs' description 2025-01-15 08:56:50 +01:00
renovate[bot] 1ff3494aac
Update dependency org.jenkins-ci.plugins.workflow:workflow-support to v943 2025-01-14 23:55:31 +00:00
renovate[bot] d4490886db
Update dependency org.jenkins-ci.plugins.workflow:workflow-api to v1358 2025-01-14 23:55:24 +00:00
Albert Puig 246237ef8d [JENKINS-75134] fix the Spanish translation of the description of 'Unprotected URLs' 2025-01-14 17:21:24 +01:00
renovate[bot] 81af439cae
Update eslint monorepo to v9.18.0 (#10150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 09:07:47 -07:00
renovate[bot] 6f37252727
Update dependency org.jenkins-ci:jenkins to v1.128 (#10149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-14 09:07:22 -07:00
Jan Faracik 3da3c6f1ae
Merge branch 'master' into revamp-cli 2025-01-14 15:30:19 +00:00
Jenkins Release Bot ab605fad8b [maven-release-plugin] prepare for next development iteration 2025-01-14 13:40:54 +00:00
Jenkins Release Bot 475d33c97d [maven-release-plugin] prepare release jenkins-2.493 2025-01-14 13:40:38 +00:00
Markus Winter e7f5953809
[JENKINS-74832] disable copybutton in insecure context (#10141)
Co-authored-by: Kris Stern <krisstern@outlook.com>
2025-01-14 07:48:04 +00:00
Jan Faracik aedfbf8095
Merge branch 'master' into revamp-cli 2025-01-13 09:36:18 +00:00
Jan Faracik cb5b279ee4
Merge branch 'master' into oklch 2025-01-13 09:33:55 +00:00
renovate[bot] e3e3c45270
Update dependency org.jenkins-ci.plugins:cloudbees-folder to v6.976.v4dc79fb_c458d (#10142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 08:55:42 +00:00
Kris Stern 62a1d27bb4
Merge branch 'master' into oklch 2025-01-13 13:16:00 +08:00
Kris Stern 271b09808b
Update dependency org.jenkins-ci.main:jenkins-test-harness to v2378 (#10146) 2025-01-13 12:52:12 +08:00
renovate[bot] 85269a58c6
Update dependency org.jenkins-ci.main:jenkins-test-harness to v2378 2025-01-12 22:23:14 +00:00
Jan Faracik fe7bb28c96 Update pom.xml 2025-01-12 17:57:24 +00:00
Kris Stern e815917abe
Update dependency io.jenkins.plugins:design-library to v353 (#10144) 2025-01-13 01:43:39 +08:00
renovate[bot] 36c102be1c
Update dependency io.jenkins.plugins:design-library to v353 2025-01-12 10:10:23 +00:00
Jan Faracik 9c384c48e1
Merge branch 'master' into revamp-cli 2025-01-12 10:10:11 +00:00
Kris Stern e5f18b5efe
Update comment in `additionalAuthenticationChecks` to clarify why our no-op implementation is ok (#10140)
<!-- Comment:
A great PR typically begins with the line below.
Replace XXXXX with the numeric part of the issue ID you created in Jira.
Note that if you want your changes backported into LTS, you need to
create a Jira issue. See
https://www.jenkins.io/download/lts/#backporting-process for more
information.
-->

While investigating a security issue a few months back, I noticed that
our implementation of
`AbstractUserDetailsAuthenticationProvider.additionalAuthenticationChecks`
did not use the approach recommended in the superclass method's Javadoc,
which was a bit concerning after looking at some of the branches in
[this
code](8a6e1297a1/core/src/main/java/org/springframework/security/authentication/dao/AbstractUserDetailsAuthenticationProvider.java (L122-L169)).
After some investigation it seems fine, but I think it is worth noting
_why_ it is fine in case someone copies this code when creating a new
security realm and they want to use Spring Security's user caching
system.

<!-- Comment:
If the issue is not fully described in Jira, add more information here
(justification, pull request links, etc.).

 * We do not require Jira issues for minor improvements.
* Bug fixes should have a Jira issue to facilitate the backporting
process.
 * Major new features should have a Jira issue.
-->

### Testing done

This PR only updates a comment.

<!-- Comment:
Provide a clear description of how this change was tested.
At minimum this should include proof that a computer has executed the
changed lines.
Ideally this should include an automated test or an explanation as to
why this change has no tests.
Note that automated test coverage is less than complete, so a successful
PR build does not necessarily imply that a computer has executed the
changed lines.
If automated test coverage does not exist for the lines you are
changing, you must describe the scenario(s) in which you manually tested
the change.
For frontend changes, include screenshots of the relevant page(s) before
and after the change.
For refactoring and code cleanup changes, exercise the code before and
after the change and verify the behavior remains the same.
-->

### Proposed changelog entries

N/A

### Proposed upgrade guidelines

N/A

<!-- Comment:
Leave the proposed upgrade guidelines in the pull request with the "N/A"
value if no upgrade guidelines are needed.
The changelog generator relies on the presence of the upgrade guidelines
section as part of its data extraction process.
-->

```[tasklist]
### Submitter checklist
- [ ] The Jira issue, if it exists, is well-described.
- [ ] The changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developers, depending on the change) and are in the imperative mood (see [examples](https://github.com/jenkins-infra/jenkins.io/blob/master/content/_data/changelogs/weekly.yml)). Fill in the **Proposed upgrade guidelines** section only if there are breaking changes or changes that may require extra steps from users during upgrade.
- [x] There is automated testing or an explanation as to why this change has no tests.
- [ ] New public classes, fields, and methods are annotated with `@Restricted` or have `@since TODO` Javadocs, as appropriate.
- [ ] New deprecations are annotated with `@Deprecated(since = "TODO")` or `@Deprecated(forRemoval = true, since = "TODO")`, if applicable.
- [ ] New or substantially changed JavaScript is not defined inline and does not call `eval` to ease future introduction of Content Security Policy (CSP) directives (see [documentation](https://www.jenkins.io/doc/developer/security/csp/)).
- [ ] For dependency updates, there are links to external changelogs and, if possible, full differentials.
- [ ] For new APIs and extension points, there is a link to at least one consumer.
```

### Desired reviewers



<!-- Comment:
If you need an accelerated review process by the community (e.g., for
critical bugs), mention @jenkinsci/core-pr-reviewers.
-->

Before the changes are marked as `ready-for-merge`:

```[tasklist]
### Maintainer checklist
- [x] There are at least two (2) approvals for the pull request and no outstanding requests for change.
- [x] Conversations in the pull request are over, or it is explicit that a reviewer is not blocking the change.
- [ ] Changelog entries in the pull request title and/or **Proposed changelog entries** are accurate, human-readable, and in the imperative mood.
- [ ] Proper changelog labels are set so that the changelog can be generated automatically.
- [ ] If the change needs additional upgrade steps from users, the `upgrade-guide-needed` label is set and there is a **Proposed upgrade guidelines** section in the pull request title (see [example](https://github.com/jenkinsci/jenkins/pull/4387)).
- [ ] If it would make sense to backport the change to LTS, a Jira issue must exist, be a _Bug_ or _Improvement_, and be labeled as `lts-candidate` to be considered (see [query](https://issues.jenkins.io/issues/?filter=12146)).
```
2025-01-12 13:28:58 +08:00
Kris Stern 9b6bc6992f
Remove YUI (#10135)
<!-- Comment:
A great PR typically begins with the line below.
Replace XXXXX with the numeric part of the issue ID you created in Jira.
Note that if you want your changes backported into LTS, you need to
create a Jira issue. See
https://www.jenkins.io/download/lts/#backporting-process for more
information.
-->

See JENKINS-75100

Now that the [disable by default of
YUI](https://github.com/jenkinsci/jenkins/pull/10045) has been released
for ~1 month with no complaints its time to start thinking about
removing YUI itself.

We're passed the baseline cut-off for the next LTS which was what
@MarkEWaite requested that I wait for before removing YUI fully

What I've left:
* I've removed CSS where I think its safe but I haven't removed all
mentions of `yui`.
* `l:yui` I've changed it to do nothing but its used in a few
unmaintained plugins, I could remove this, thoughts?
* There's a few TODOs that say they could be cleaned up after yui was
removed for the component, but hasn't been done yet

ATH passed:
https://github.com/jenkinsci/acceptance-test-harness/pull/1884
Bom: https://github.com/jenkinsci/bom/pull/4176

<!-- Comment:
If the issue is not fully described in Jira, add more information here
(justification, pull request links, etc.).

 * We do not require Jira issues for minor improvements.
* Bug fixes should have a Jira issue to facilitate the backporting
process.
 * Major new features should have a Jira issue.
-->

### Testing done

Clicked around a number of pages and didn't see anything wrong.

<!-- Comment:
Provide a clear description of how this change was tested.
At minimum this should include proof that a computer has executed the
changed lines.
Ideally this should include an automated test or an explanation as to
why this change has no tests.
Note that automated test coverage is less than complete, so a successful
PR build does not necessarily imply that a computer has executed the
changed lines.
If automated test coverage does not exist for the lines you are
changing, you must describe the scenario(s) in which you manually tested
the change.
For frontend changes, include screenshots of the relevant page(s) before
and after the change.
For refactoring and code cleanup changes, exercise the code before and
after the change and verify the behavior remains the same.
-->

### Proposed changelog entries

- Remove the Yahoo! User Interface library

<!-- Comment:
The changelog entry should be in the imperative mood; e.g., write "do
this"/"return that" rather than "does this"/"returns that".
For examples, see: https://www.jenkins.io/changelog/

Do not include the Jira issue in the changelog entry.
Include the Jira issue in the description of the pull request so that
the changelog generator can find it and include it in the generated
changelog.

You may add multiple changelog entries if applicable by adding a new
entry to the list, e.g.
- First changelog entry
- Second changelog entry
-->

### Proposed upgrade guidelines

N/A

<!-- Comment:
Leave the proposed upgrade guidelines in the pull request with the "N/A"
value if no upgrade guidelines are needed.
The changelog generator relies on the presence of the upgrade guidelines
section as part of its data extraction process.
-->

```[tasklist]
### Submitter checklist
- [ ] The Jira issue, if it exists, is well-described.
- [ ] The changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developers, depending on the change) and are in the imperative mood (see [examples](https://github.com/jenkins-infra/jenkins.io/blob/master/content/_data/changelogs/weekly.yml)). Fill in the **Proposed upgrade guidelines** section only if there are breaking changes or changes that may require extra steps from users during upgrade.
- [ ] There is automated testing or an explanation as to why this change has no tests.
- [ ] New public classes, fields, and methods are annotated with `@Restricted` or have `@since TODO` Javadocs, as appropriate.
- [ ] New deprecations are annotated with `@Deprecated(since = "TODO")` or `@Deprecated(forRemoval = true, since = "TODO")`, if applicable.
- [ ] New or substantially changed JavaScript is not defined inline and does not call `eval` to ease future introduction of Content Security Policy (CSP) directives (see [documentation](https://www.jenkins.io/doc/developer/security/csp/)).
- [ ] For dependency updates, there are links to external changelogs and, if possible, full differentials.
- [ ] For new APIs and extension points, there is a link to at least one consumer.
```

### Desired reviewers

@mention

<!-- Comment:
If you need an accelerated review process by the community (e.g., for
critical bugs), mention @jenkinsci/core-pr-reviewers.
-->

Before the changes are marked as `ready-for-merge`:

```[tasklist]
### Maintainer checklist
- [ ] There are at least two (2) approvals for the pull request and no outstanding requests for change.
- [ ] Conversations in the pull request are over, or it is explicit that a reviewer is not blocking the change.
- [ ] Changelog entries in the pull request title and/or **Proposed changelog entries** are accurate, human-readable, and in the imperative mood.
- [ ] Proper changelog labels are set so that the changelog can be generated automatically.
- [ ] If the change needs additional upgrade steps from users, the `upgrade-guide-needed` label is set and there is a **Proposed upgrade guidelines** section in the pull request title (see [example](https://github.com/jenkinsci/jenkins/pull/4387)).
- [ ] If it would make sense to backport the change to LTS, a Jira issue must exist, be a _Bug_ or _Improvement_, and be labeled as `lts-candidate` to be considered (see [query](https://issues.jenkins.io/issues/?filter=12146)).
```
2025-01-12 13:27:28 +08:00
Kris Stern d0aa978e57
Update the 'Copy' button animation (#10139)
Small little PR to update the 'Copy' button animation. You now get a
little more visual feedback that something has been copied successfully,
the copy symbol now transforms into a check mark.

**Before**


https://github.com/user-attachments/assets/65e9c661-3465-4734-a67c-9ccbc66880a3

**After**


https://github.com/user-attachments/assets/0486dc96-1e15-4974-832e-298b3a8a59e8

In doing so the 'Copied' tooltip has been dropped, happy to hear
thoughts on this, I personally found it a little janky in how it
replaced the existing tooltip on click.

### Testing done

* Animation displays as expected, copying still works

### Proposed changelog entries

- Update the 'Copy' button animation

### Proposed upgrade guidelines

N/A

<!-- Comment:
Leave the proposed upgrade guidelines in the pull request with the "N/A"
value if no upgrade guidelines are needed.
The changelog generator relies on the presence of the upgrade guidelines
section as part of its data extraction process.
-->

```[tasklist]
### Submitter checklist
- [ ] The Jira issue, if it exists, is well-described.
- [x] The changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developers, depending on the change) and are in the imperative mood (see [examples](https://github.com/jenkins-infra/jenkins.io/blob/master/content/_data/changelogs/weekly.yml)). Fill in the **Proposed upgrade guidelines** section only if there are breaking changes or changes that may require extra steps from users during upgrade.
- [x] There is automated testing or an explanation as to why this change has no tests.
- [ ] New public classes, fields, and methods are annotated with `@Restricted` or have `@since TODO` Javadocs, as appropriate.
- [ ] New deprecations are annotated with `@Deprecated(since = "TODO")` or `@Deprecated(forRemoval = true, since = "TODO")`, if applicable.
- [ ] New or substantially changed JavaScript is not defined inline and does not call `eval` to ease future introduction of Content Security Policy (CSP) directives (see [documentation](https://www.jenkins.io/doc/developer/security/csp/)).
- [ ] For dependency updates, there are links to external changelogs and, if possible, full differentials.
- [ ] For new APIs and extension points, there is a link to at least one consumer.
```

### Desired reviewers

@jenkinsci/sig-ux 

<!-- Comment:
If you need an accelerated review process by the community (e.g., for
critical bugs), mention @jenkinsci/core-pr-reviewers.
-->

Before the changes are marked as `ready-for-merge`:

```[tasklist]
### Maintainer checklist
- [x] There are at least two (2) approvals for the pull request and no outstanding requests for change.
- [x] Conversations in the pull request are over, or it is explicit that a reviewer is not blocking the change.
- [ ] Changelog entries in the pull request title and/or **Proposed changelog entries** are accurate, human-readable, and in the imperative mood.
- [ ] Proper changelog labels are set so that the changelog can be generated automatically.
- [ ] If the change needs additional upgrade steps from users, the `upgrade-guide-needed` label is set and there is a **Proposed upgrade guidelines** section in the pull request title (see [example](https://github.com/jenkinsci/jenkins/pull/4387)).
- [ ] If it would make sense to backport the change to LTS, a Jira issue must exist, be a _Bug_ or _Improvement_, and be labeled as `lts-candidate` to be considered (see [query](https://issues.jenkins.io/issues/?filter=12146)).
```
2025-01-12 13:25:38 +08:00
Jan Faracik 7701e76a6c
Merge branch 'master' into oklch 2025-01-11 12:29:53 +00:00
michael cirioli 7fa6b5c465
[JENKINS-75086] Allow users with Jenkins.MANAGE to configure global build discarders (#10113)
* initial commit

* this change is not actually needed

* rebuild
2025-01-11 00:19:29 +08:00
Jan Faracik e7f2577bc7 Merge branch 'new-copy-button' into revamp-cli 2025-01-10 11:57:55 +00:00
Jan Faracik c8a3bc3e53 Tidy up 2025-01-10 11:57:36 +00:00
Jan Faracik 6efd73e08a Tidy up management link 2025-01-10 11:56:07 +00:00
Jan Faracik 53475da020 Merge branch 'master' into revamp-cli 2025-01-10 11:53:03 +00:00