Commit Graph
22516 Commits
Author SHA1 Message Date
Daniel BeckandDaniel Beck 7df7ae4a85 [JENKINS-72443] Do not show copy option without visible items (#8763)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2023-12-13 21:00:43 +01:00
Markus Winter 64dc3844b5 show node monitors on agent page (#8725)
* show node monitors on agent page

add an advanced button on the agent page. When clicking it will show the
node monitors for this agent including any warnings/errors

* fix style
2023-12-13 21:00:17 +01:00
Daniel BeckandDaniel Beck 38d31c1751 [JENKINS-60866][JENKINS-71051][JENKINS-71048] Un-inline 'Build Now' JS (#7635)
* [JENKINS-60866] Un-inline 'Build Now' JS

* Fix formatting

* Use MorphTagLibrary to simplify API

* Update docs for l:task attributes

* This is a collosal waste of time

Copied from 8aee10ea8a, this is just
stupid

* Rename adjunct file, restructure to work around broken formatter

* Exclude all documented attributes except data-*

* Fix onclick behavior

* Address review feedback

---------

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2023-12-13 21:00:08 +01:00
Jesse Glick 6a2d94bfbe Simplifying JNLPLauncher (#8762) 2023-12-13 11:10:29 -08:00
Basil Crow 05037a087f Print deprecation warning when using -jnlpUrl (#8773) 2023-12-13 11:10:02 -08:00
Jenkins Release Bot 24dd6c2180 [maven-release-plugin] prepare for next development iteration 2023-12-12 13:08:37 +00:00
Jenkins Release Bot 2952e7bcaf [maven-release-plugin] prepare release jenkins-2.436 2023-12-12 13:08:25 +00:00
Jesse Glick f9a777bc68 Class loading deadlock between PermalinkProjectAction.Permalink & PeepholePermalink (#8736)
* Class loading deadlock between `PermalinkProjectAction` & `PeepholePermalink`

* Checkstyle

* Clearer reproducer

* Do not let `Permalink` refer to its subclass `PeepholePermalink` in its static initializer

* Cleaner test

* Checkstyle

* Maybe we should not run `initialized` from `Job.<clinit>` either
2023-12-09 10:25:15 +01:00
Jenkins Release Bot d6f5c20409 [maven-release-plugin] prepare for next development iteration 2023-12-05 13:31:36 +00:00
Jenkins Release Bot 9375b5d301 [maven-release-plugin] prepare release jenkins-2.435 2023-12-05 13:31:24 +00:00
Hervé Le Meur b8344b98ec [JENKINS-72343] Accept all 2xx and 3xx status codes to validate proxy in HTTP Proxy Configuration (#8700)
* Accept all 2xx and 3xx status codes validate proxy in HTTP Proxy Configuration

* add status code in the response to the user
2023-12-05 07:28:30 +01:00
Vincent LatombeandJesse Glick 0f0d81b306 Add ExtensionList.lookupFirst convenience method. (#8735)
* Add `ExtensionList.lookupFirst` convenience method.

When introducing an extension point that is meant to allow overriding a default behaviour with another implementation,
generally the caller only cares about looking up only one implementation, the one with the highest ordinal.

* Fix javadoc

Co-authored-by: Jesse Glick <jglick@cloudbees.com>

---------

Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2023-12-05 07:27:39 +01:00
Markus Winter c637d4168e make displayname of HistoryWidget configurable for alternate text (#8740)
make displayname of HistoryWidget configurable

for use with customizable-build-now plugin
make the placeholder for the history filter less specific, the title
already explains what this shows so just `Filter...` should be enough.
2023-12-04 09:16:10 +01:00
Olivier Lamy 1e9372ee57 Move proxy configuration form out of pluginManager screens as it is not related (#8693)
* Move proxy configuration form out of pluginManager screens as it is not related

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-12-04 11:02:08 +10:00
Carroll ChiouandAlexander Brandes ec27a074c9 [JENKINS-71737] fix redirect when submitting cloud changes (#8505)
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-11-29 09:02:20 +00:00
Jan FaracikandAlexander Brandes 37622ec88a Remove reference to timeline widget in build history (#8718)
Init

Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-11-28 23:49:21 +01:00
Jenkins Release Bot 3c8d90569b [maven-release-plugin] prepare for next development iteration 2023-11-28 13:19:44 +00:00
Jenkins Release Bot 1585bf8798 [maven-release-plugin] prepare release jenkins-2.434 2023-11-28 13:19:32 +00:00
Jan FaracikandAlexander Brandes 1f95b09518 Use symbols for build status (#8705)
* Init

* Rename ID

* Fix icon position

* Fix app bar build status icon being incorrect

* Address missed icons

---------

Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-11-27 20:36:43 +01:00
Santhosh-CloudBandDaniel Beck f9f542bffd Added validation of FIPS password length (#8694)
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2023-11-27 10:09:15 +00:00
Zbynek Konecny aedae5bccf Avoid scrollbar in dropdown popups (page footer, log recorder) (#8704) 2023-11-26 23:20:42 +01:00
Markus Winter aad79effa1 [JENKINS-72009, JENKINS-72200, JENKINS-24947] various fixes and improvements around disk space monitoring (#8593) 2023-11-24 22:16:57 +00:00
Basil Crow f4fe5710a5 Refuse to load the Jenkins test harness in production (#8714) 2023-11-23 14:04:38 +01:00
Jenkins Release Bot f266671016 [maven-release-plugin] prepare for next development iteration 2023-11-21 13:07:31 +00:00
Jenkins Release Bot fadc5119b2 [maven-release-plugin] prepare release jenkins-2.433 2023-11-21 13:07:19 +00:00
d9cbaa006a [JENKINS-71726] [JENKINS-71727] remove inline javascript (#8313)
* [JENKINS-71727] remove inline javascript

Also JENKINS-71726

* missing id

* fix script tag

Co-authored-by: Kevin Guerroudj <91883215+Kevin-CB@users.noreply.github.com>

---------

Co-authored-by: Kevin Guerroudj <91883215+Kevin-CB@users.noreply.github.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2023-11-20 04:36:12 -07:00
renovate[bot] 1edd1c21a6 Update dependency lit to v3.1.0 (#8703)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-19 09:18:48 +01:00
b9b3e6bfa8 [JENKINS-71715] Allow plugins with alternate build log visualizations to handle console links from core and other plugins (#8321)
* [JENKINS-71715] Allow plugins with alternate build log visualizations to handle console links from core and other plugins

* [JENKINS-71715] Apply suggestions with ordinal extension and @since TODO

* [JENKINS-71715] Public @Extension

* Add or fix @since todo

we usually don't put versions but put todo instead and these versions get resolved _after_ merges.

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>

* [JENKINS-71715] Apply suggestions from reviews

* [JENKINS-71715] Switch ConsoleURLProvider to interface and add Functions.getContextRelativeUrl

* [JENKINS-71715] Refactor ConsoleUrlProvider API and add Functions.getConsoleUrl method for use in Jelly files

* [JENKINS-71715] Fix casing of ConsoleURLProvider.java

* [JENKINS-71715] Add global and per-user configuration options for ConsoleUrlProvider

* [JENKINS-71715] Fix Javadoc reference

* [JENKINS-71715] Remove outdated TODO comment

* [JENKINS-71715] Miscellaneous updates based on review feedback

* [JENKINS-71715] Fix Javadoc links

* [JENKINS-71715] Update console links for build list and build time trend widgets

* [JENKINS-71715] Functions.getConsoleUrl must take Queue.Executable instead of Run

* [JENKINS-71715] Simplify test using WebClient.executeOnServer

* [JENKINS-71715] Add constructor

* [JENKINS-71715] Preserve old behavior of p:console-link as a fallback for atypical consumers

* [JENKINS-71715] Ignore invalid URLs and consult global providers if user providers fail to provide a valid URL

* [JENKINS-71715] Move ConsoleUrlProviderGlobalConfiguration into AppearanceCategory

* [JENKINS-71715] Hide AppearanceGlobalConfiguration if ConsoleUrlProviderGlobalConfiguration is disabled and would be the only option on the page

* [JENKINS-71715] Update help text and Javadoc based on review feedback, and filter out default provider in global config

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>

* [JENKINS-71715] getProvidersDescriptors can be an instance method

---------

Co-authored-by: Baptiste Mathus <bmathus@gmail.com>
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Devin Nusbaum <dnusbaum@cloudbees.com>
Co-authored-by: Devin Nusbaum <dwnusbaum@users.noreply.github.com>
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2023-11-18 14:58:20 -07:00
Markus Winter fda0949dc5 [JENKINS-72159] deactivate MarkedOffline monitor when agents are online (#8618)
[JENKINS-72159] deactivate Markedoffline monitor when agents are online

When an agent comes online again after disk space issues are resolved
the corresponding admin monitor is now deactivated if there are no other
agents left that are temporarily offline due to disk space issues.
2023-11-18 14:57:44 -07:00
Markus Winter 442a42f438 [JENKINS-64816] prepare for support of node monitors by JCasC (#8629)
* [JENKINS-64816] prepare for support of node monitors by JCasC

In order that configuration as code plugin can properly support node
monitors we need to add databound constructors.

* fix warnings

* add javadoc that DataBoundConstructor is a must

* remove duplicate extension

* delete obsolete install methods
2023-11-18 14:56:47 -07:00
Jesse Glick 0297870148 Pull up AbstractFolder.delete logic into AbstractItem (#8645)
* Pull up `AbstractFolder.delete` logic into `AbstractItem`

* Warn if `Queue.cancel(Item)` returns `false`
2023-11-16 22:47:32 +01:00
Jenkins Release Bot 51c5fa2367 [maven-release-plugin] prepare for next development iteration 2023-11-14 13:12:19 +00:00
Jenkins Release Bot 8b132a1c36 [maven-release-plugin] prepare release jenkins-2.432 2023-11-14 13:12:09 +00:00
Mysterious_DevandAlexander Brandes 3cb552db92 French translations for plugin manager (#8685)
* No updates available

* Search installed plugins

* Update index_fr.properties

---------

Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-11-12 21:47:05 +01:00
Mysterious_Dev 790f77320b Update French translation for Save button and add one for Apply (#8684)
Update configure_fr.properties
2023-11-11 15:36:25 +01:00
Basil Crow 41d09e0fa0 Stop recommending -jnlpUrl (#8639) 2023-11-09 08:09:00 -07:00
Jesse Glick e4fe5042e4 Temporary memory leak in FutureImpl.executors (#8640)
* Temporary memory leak in `FutureImpl.executors`

* https://github.com/jenkinsci/jenkins-test-harness/pull/669 released

* Skip new test on Windows https://github.com/jenkinsci/jenkins/pull/8640#discussion_r1373797374
2023-11-08 06:39:28 -07:00
Stefan Spieker 293b86fd86 Deleted long deprecated and unused UserProperties (#8679)
deleted deprecated UserProperties
2023-11-07 21:32:59 +01:00
Jenkins Release Bot 6052e4dc8c [maven-release-plugin] prepare for next development iteration 2023-11-07 13:01:59 +00:00
Jenkins Release Bot 8bf97d7233 [maven-release-plugin] prepare release jenkins-2.431 2023-11-07 13:01:47 +00:00
renovate[bot] 7bae605384 Update dependency lit to v3.0.2 (#8680)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-06 14:09:54 +01:00
dd04e33567 [JENKINS-60866][JENKINS-71797] Remove timeline widget (#6869)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
Co-authored-by: Basil Crow <me@basilcrow.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
2023-11-05 19:24:25 +00:00
Jesse Glick d06f36076f Log Errors from SlaveComputer._connect (#8675) 2023-11-05 13:43:01 +01:00
Mysterious_Dev d0c4dfe94b Complete french translation for Confirm Rename view (#8677)
Update confirm-rename_fr.properties
2023-11-05 13:42:44 +01:00
Mark Waite aeb64c0c3d [JENKINS-72252] Warn 12 months and 3 months before end of Java support (#8661)
Show Java version admin monitor at 12 months and 3 months

Daniel Beck described his recommendation to alert users at 12 months
and at 3 months prior to the end of support of a Java version.

He wrote:

> The second warning in particular needs to strike a balance between
> being shown late enough so it's actually relevant for whoever hasn't
> acted yet, while being shown early enough that slightly more elaborate
> environments (difficult to schedule maintenance windows) are informed
> in time. 3 months aligns rather nicely with the LTS schedule where
> we kinda expect folks to do that anyway.
>
> 18/9, or even 12/6 errs too far on the side of those for whom this is
> extreme effort (and who dismissed the first message more appropriate for
> their environment!), while showing everyone else completely irrelevant
> notices they won't care about for many months to come.

https://github.com/jenkinsci/jep/pull/400#discussion_r1371510566 provides
more details.

The Java 8 to Java 11 transition saw a significant change in adoption of
Java 11 once the admin monitor was visible to users.  That was shown
slightly over 12 months before the release that required Java 11.
This change continues that pattern of 12 months warning before end
of support.

https://github.com/jenkinsci/jep/pull/400#discussion_r1375623888 has a
graph that shows the adoption curves for Java 8, Java 11, and Java 17.
2023-11-04 21:22:05 -06:00
Mysterious_Dev 9463397ea5 Finish French translations for Update Center (#8672)
* Update index_fr.properties

* Update index_fr.properties

* Update index_fr.properties

* Update index_fr.properties

* Update index_fr.properties
2023-11-04 16:46:24 +01:00
renovate[bot] 8df08e1705 Update dependency lit to v3.0.1 (#8664)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-01 17:07:14 +01:00
Jenkins Release Bot 049d8b52be [maven-release-plugin] prepare for next development iteration 2023-10-31 12:47:15 +00:00
Jenkins Release Bot 723253304d [maven-release-plugin] prepare release jenkins-2.430 2023-10-31 12:46:32 +00:00
Markus Winter c5442a0196 [JENKINS-72189] fix drag&drop handle for existing repeatables (#8613)
[JENKINS-72189] fix drag&drop handle for repeatables
2023-10-30 12:57:28 +01:00