Commit Graph
32590 Commits
Author SHA1 Message Date
Basil Crow 81bbfea719 Remove redundant close() statements 2020-12-11 21:34:22 -08:00
Basil Crow 635764cad5 Access static members via class rather than instance reference 2020-12-11 21:34:19 -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 3fa1bf1fc0 Remove unnecessary final modifier from static methods 2020-12-11 20:47:57 -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
Raihaan Shouhell 53f300d5ec Merge pull request #5097 from StefanSpieker/JENKINS-53720
[JENKINS-53720] is fixed already with spotbugs version update
2020-12-10 17:22:55 +08:00
Mark Waite 812583dfd0 Merge pull request #5102 from daniel-beck/remove-cvs
Remove bundled cvs plugin
2020-12-08 20:07:51 -07: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 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 1b9eadbf65 Merge pull request #5057 from jglick/UpdateCenter2Test.installInvalidChecksum
UpdateCenter2Test.installInvalidChecksum timed out
2020-12-08 01:57:53 +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
Oleg Nenashev 369231befa Merge pull request #5070 from Fargk/JENKINS-62347
Replace slave on agent
2020-12-08 01:52:13 +01:00
Oleg Nenashev 9b4632f353 Merge pull request #5101 from StefanSpieker/exception_none
Replaced deprecated Exception.none with assertThrows
2020-12-08 01:51:40 +01:00
Tim JacombandJosh Soref a1374c652f JENKINS-64373 Add additional help locator fallback (#5099)
* Add additional help locator fallback

* Spacing

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2020-12-08 01:51:22 +01:00
Oleg Nenashev a5e5022539 Merge pull request #5100 from StefanSpieker/minor_todo
minor optimization as suggested by todo
2020-12-08 01:50:44 +01:00
Daniel Beck ec51284c2c Remove bundled cvs plugin 2020-12-07 13:35:51 +01:00
Stefan Spieker a31191a326 replaced deprecated Exception.none with asserThrows 2020-12-06 12:16:23 +01:00
Stefan Spieker bfcc0b1879 minor optimization as suggested by todo 2020-12-06 11:27:44 +01:00
Stefan Spieker c780f81c94 JENKINS-53720 is fixed already with spotbugs version update 2020-12-04 22:30:32 +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
James Nord 888ef3e335 Update pom.xml
update to release version of parent pom
2020-12-03 12:51:31 +00:00
James Nord 888e40ef9e update to new localizer plugin version 2020-12-01 16:06:52 +00:00
Tim Jacomb 21341bda17 Fix typo in automate publish release artifacts (#5093) 2020-12-01 14:41:25 +00:00
Jenkins Release Bot e6fe3e3bcf [maven-release-plugin] prepare for next development iteration 2020-12-01 12:32:54 +00:00
Jenkins Release Bot 06005970cb [maven-release-plugin] prepare release jenkins-2.269 jenkins-2.269 2020-12-01 12:32:26 +00:00
StefanSpiekerandTim Jacomb 2cbc92f89a Added script for fixing stylelint and applied it once (#5092)
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
2020-12-01 08:03:21 +00:00
StefanSpieker c167f7b13a Set eslint env to node to fix eslint warnings (#5084) 2020-12-01 08:00:25 +00:00
StefanSpieker 9913e228a0 Update yarn and updated node to latest LTS (14.15.1) (#5087) 2020-12-01 07:59:55 +00:00
Tim JacombandJesse Glick ec1fabc35f Inline icon-set lib (#5072)
* Inline icon-set lib

* Add @since 2.0

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

* Downgrade iconset to 1.0.5 version

* Fix javadoc

* Missed one javadoc error

Co-authored-by: Jesse Glick <jglick@cloudbees.com>
2020-12-01 07:24:42 +00:00
Tim Jacomb 900821efa6 Automate uploading artifacts to GitHub releases (#5088)
* Automate uploading artifacts to GitHub releases

* Add file name
2020-12-01 07:15:55 +00:00
StefanSpieker bb74a3630c Removed outdated browser workarounds (#5085) 2020-11-29 17:41:52 +00:00
StefanSpieker 77206c49ad Fixed some stylelint issues (#5086) 2020-11-29 17:41:31 +00:00
Daniel BeckandDaniel Beck c29640b16f Mark some more administrative monitors as security-related (#5079)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2020-11-29 09:19:35 +00:00
Jesse Glick 1577d66b08 Deprecate FileSystemProvisioner (#5048) 2020-11-29 09:19:16 +00:00
benebsiny 013c10ef0a Add Tradition Chinese translation for description of build-in environment variables
I also add period at the end of each description
2020-11-28 23:07:50 +08:00
Gabriel Belingueres b53265c8d3 [JENKINS-64330] Wrong unicode codes in spanish translation and small improvements
- Proxy settings configuration has wrong unicode codes for character "o with accent"
- Corrected some accented words too.
2020-11-28 11:59:56 -03:00
Aleksandr Kiiaev 3f9102e032 Custom workspace tr zh replace slave on agent (#5071) 2020-11-27 20:58:55 +00:00
res0nance 168fe18577 Cache blockage reasons 2020-11-28 00:29:00 +08:00
Félix Queiruga a36ac5f6f6 Fix broken select.js widget with tabular markup (#5081)
- The JS changes introduced in 2.244 caused several plugins that pre-populated select tags to stop working.
- This was due to failing to locate a `.validation-error-area` node.
- The solution is to introduce a fallback to handle this edge case
2020-11-26 20:40:55 +00:00
418fb5b565 Hacktoberfest - ParametersDefinition add equals and hashCode (#5014)
Co-authored-by: Zbynek Konecny <zbynek1729@gmail.com>
Co-authored-by: Ilya Gulyaev <ilya.gulyaev@nordigy.ru>
Co-authored-by: Raihaan Shouhell <raihaanhimself@gmail.com>
2020-11-26 09:01:11 +00:00
Daniel BeckandDaniel Beck 9b0f43bc5e [JENKINS-64289] Make welcome message localizable (#5080)
Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
2020-11-26 09:00:34 +00:00
Oleg Nenashev 815b9c7153 Merge pull request #5076 from StefanSpieker/jonas
Removed JOnAS application server support
2020-11-26 09:45:15 +01:00
44c59a6f5c Load admin monitors popup content via ajax (#5063)
* Admin monitors popup is now loaded through an API

* Fixes form submission inside the popup

- Wraps it in an l:ajax template so that proper variables are set
- Applies the csrf crumbs to the forms after the popup is constructed

* Handle authorization and empty state

* Apply suggestions from code review

Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>

* Fix JS error where there were monitors of only one kind

* Revert changes to indentation of inline JS

* Clarify ESC keyCode with a comment

* Update core/src/main/resources/jenkins/management/AdministrativeMonitorsDecorator/resources.js

Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>

* Multiple small adjustments

- Remove unused imports
- Remove non-necessary call for the response that are set in the getView
- Keep the previous improvement about limiting the number of call to getMonitorList()

Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
Co-authored-by: Wadeck Follonier <wadeck.follonier@gmail.com>
2020-11-26 09:38:43 +01:00