Commit Graph
20633 Commits
Author SHA1 Message Date
Jenkins Release Bot 76566a3d47 [maven-release-plugin] prepare for next development iteration 2020-12-29 12:23:46 +00:00
Jenkins Release Bot dc033895c8 [maven-release-plugin] prepare release jenkins-2.273 2020-12-29 12:23:22 +00:00
Pierre BeitzandDaniel Beck 4276aa7bf2 [JENKINS-63833] Make the groovy script source customizable (#4965)
* [JENKINS-63833] Make the groovy script source customizable

* [JENKINS-63833] Make the groovy script root directory customizable

* Apply suggestions from code review

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

Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-12-27 17:58:41 +01:00
Oleg Nenashev c95f503f5d Merge pull request #5132 from daniel-beck/JENKINS-64483
[JENKINS-64483] Hide collapse link if it isn't possible
2020-12-27 17:55:31 +01:00
Jenkins Release Bot 09b89ccef6 [maven-release-plugin] prepare for next development iteration 2020-12-22 12:38:13 +00:00
Jenkins Release Bot 4f2d68e2e1 [maven-release-plugin] prepare release jenkins-2.272 2020-12-22 12:37:48 +00:00
Oleg Nenashev 223f41b371 Merge pull request #5133 from daniel-beck/empty-tooltip
Do not show an empty tooltip on svg icons
2020-12-21 23:38:20 +01:00
Antonio Muniz b7020adab9 [JENKINS-64465] Fix race condition on HudsonFilter#reset (#5131)
If `Jenkins#setSecurityRealm` is called concurrently from multiple threads there is a
potential race condition on the authentication filters registration.

`Jenkins#setSecurityRealm` calls `filter.reset()`, `HudsonFilter#reset` is not
synchronized however it is replacing the old filter with the new filter (if there was one)
 which is not a thread safe operation.

The effect of this race condition is the wrong auth filter being registered.
2020-12-21 09:03:21 +00:00
StefanSpieker e94401a563 Replaced deprecated Configuration with SystemProperties (#4962) 2020-12-21 09:00:41 +00:00
Oleg Nenashev 260c988d9d Merge pull request #5123 from oleg-nenashev/queue-cleanup
Remove support for queue.txt format (replaced by XML in 2009)
2020-12-19 20:55:38 +01:00
Jesse Glick d7c79eecb1 Removed admin monitor related to ZFS (#5047)
* Removed Solaris support

* Restore Solaris-specific functionality other than libzfs
2020-12-19 20:52:37 +01:00
Oleg Nenashev 152682c157 Merge pull request #5109 from basil/improvements
Code cleanup
2020-12-19 20:51:40 +01:00
Oleg NenashevandRamon Leon 9f50735a8b [JENKINS-64445] - Fix null safety for plugin categories (#5121)
* [JENKINS-64445] - Fix null safety for plugin categories

* Update core/src/main/java/hudson/model/UpdateSite.java

Co-authored-by: Ramon Leon <manuelramonleonjimenez@gmail.com>

* Update core/src/main/java/hudson/model/UpdateSite.java

Co-authored-by: Ramon Leon <manuelramonleonjimenez@gmail.com>
2020-12-19 20:50:14 +01:00
Daniel Beck 021f1e9449 Do not show an empty tooltip on svg icons 2020-12-18 21:02:03 +01:00
Daniel Beck f4c32caf3d [JENKINS-64483] Hide collapse link if it isn't possible
Also document the optional 'collapseText'
2020-12-18 20:41:51 +01:00
Oleg Nenashev a53d1ccf0b Remove support for queue.txt format (replaced by XML in 2009) 2020-12-15 22:07:20 +01:00
Jenkins Release Bot 48c6a4ac84 [maven-release-plugin] prepare for next development iteration 2020-12-15 12:18:44 +00:00
Jenkins Release Bot 2be2e87055 [maven-release-plugin] prepare release jenkins-2.271 2020-12-15 12:18:20 +00:00
Tim Jacomb 37cbb6e0bf JENKINS-64426 Don't tell user's to signup if they can't (#5114) 2020-12-15 07:59:03 +00:00
James NordandJesse Glick f7884d3513 [JENKINS-64390] make FieldUtils behave as it used to (#5105)
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2020-12-13 20:35:21 +00:00
Esther Álvarez Feijoo bdb5dce566 JENKINS-64403 Declare the page variable "divBasedFormLayout" globally, not only inside forms (#5075) 2020-12-13 12:58:53 +00:00
Basil Crow 7117a5379e Remove unnecessary casts 2020-12-11 21:34:22 -08:00
Basil Crow 39c22138d7 Remove redundant type arguments 2020-12-11 21:34:22 -08:00
Basil Crow 86d59a1347 Replace manual min/max calculation with Math#min 2020-12-11 21:34:22 -08:00
Basil Crow df743d0c68 Replace loop with Arrays#fill method call 2020-12-11 21:34:22 -08:00
Basil Crow 578a5e8377 Use Collections#singletonList where possible 2020-12-11 21:34:22 -08:00
Basil Crow e6fb6cce38 Fix unresolvable symbol in Javadoc 2020-12-11 21:34:22 -08:00
Basil Crow 05d0dffd25 Replace dangling Javadoc comment with block comment 2020-12-11 21:34:22 -08:00
Basil Crow 3764940c2d Replace loop with Collection#removeIf where possible 2020-12-11 21:34:22 -08:00
Basil Crow 4284c3d2ab Replace lambda with method reference where possible 2020-12-11 21:34:22 -08:00
Basil Crow 2bae452ede Replace identical catch blocks with multi-catch 2020-12-11 21:34:22 -08:00
Basil Crow ba4c184daf Replace equals() expressions with Objects#equals() where possible 2020-12-11 21:34:22 -08:00
Basil Crow 88a5bafe16 Use Java 5 for-each loops where possible 2020-12-11 21:34:22 -08:00
Basil Crow 5d66c1a36e Remove unnecessary calls to Throwable#initCause() 2020-12-11 21:34:22 -08:00
Basil Crow 04f68995ce Remove unnecessary try/catch statement 2020-12-11 21:34:22 -08:00
Basil Crow 81bbfea719 Remove redundant close() statements 2020-12-11 21:34:22 -08:00
Basil Crow 2278d3ae27 Remove unnecessary interface modifiers 2020-12-11 20:50:51 -08:00
Basil Crow ddf216d3f7 Remove redundant "extends Object" 2020-12-11 20:50:24 -08:00
Basil Crow ef252ef956 Use Java-style arrays rather than C-style arrays 2020-12-11 20:49:47 -08:00
Basil Crow 2dbfbd9607 Remove redundant final modifier from private methods 2020-12-11 20:46:12 -08:00
Raihaan Shouhellandres0nance 4db7028e2e Avoid calling task.getCauseOfBlockage() twice (#5103)
Co-authored-by: res0nance <res0nance@users.noreply.github.com>
2020-12-11 16:27:28 +00:00
James Nord 5b51315cb0 [JENKINS-64393] update jupiter to fix not running junit4 tests (#5104)
* [JENKINS-64393] update jupiter to fix not running junit4 tests

the version of jupiter was incompatable with the version of junit4
causing all junit4 tests to not run (and not fail).

* [JENKINS-64390] move the property to the parent

@jglick mentions in the PR review this should really be defined only
once
2020-12-08 20:46:11 +00:00
Jenkins Release Bot a4dd0ec739 [maven-release-plugin] prepare for next development iteration 2020-12-08 12:20:31 +00:00
Jenkins Release Bot ccd7bc3c3f [maven-release-plugin] prepare release jenkins-2.270 2020-12-08 12:20:08 +00:00
Tim Jacomb 09307ea116 JENKINS-64196 Move PluginManager available page to client side (#5051)
* Move PluginManager available to client side

* Fix in IE

* Address feedback from ux-sig demo

* Add handlebars module

* Handlebars plugin manager

* Update core/src/main/java/hudson/model/UpdateCenter.java

* Remove import

* Fix input

* Remove debug

* Use rest client

* Fix bug

* Move properties to right location

* Cleanup

* Use lodash debounce

* Revert properties change

* Fmt

* Rank exact matches at the top

* Set locale

* Spotbugs

* ignore case in nicer way

* Sorting improvements
2020-12-08 07:29:21 +00:00
Oleg Nenashev 4250e0de80 Merge pull request #5091 from benebsiny/JENKINS-64329
[JENKINS-64329] Add Tradition Chinese translation for description of environment variables
2020-12-08 02:01:40 +01:00
Oleg Nenashev 09c42b507d Merge pull request #5094 from jtnord/localizer-update
[JENKINS-41729] update to new localizer plugin version
2020-12-08 01:57:06 +01:00
Stefan Spieker a31191a326 replaced deprecated Exception.none with asserThrows 2020-12-06 12:16:23 +01:00
Raihaan Shouhell a8dc9623c5 Merge pull request #5090 from belingueres/JENKINS-64330
[JENKINS-64330] Wrong unicode codes in spanish translation and small improvements
2020-12-04 21:15:09 +08:00
Rahul Reddy 1188566b66 Replace() optimization (#5095)
* Update MaskingClassLoader.java

Using the correct replace method
Modified the replace() with Character parameter for optimization

* Update LineEndingConversion.java

Using the correct replace method
Modified the replace(String, String) to replace(char, char) for optimization

* Update Icon.java

Using the correct replace method
Modified the replace() with Character parameter for optimization
2020-12-04 21:14:25 +08:00