Commit Graph
32590 Commits
Author SHA1 Message Date
Raihaan Shouhell e7e7edc8aa Merge pull request #5035 from jtnord/JENKINS-64039
[JENKINS-64039] improve CaseInsensitive.equals(String, String) performance
2020-10-29 10:36:35 +08:00
Raihaan Shouhell cb9d4821c3 Merge pull request #5029 from Wadeck/Queue_cleanup
Queue (mainly) style consistency
2020-10-29 10:36:09 +08:00
Ilya Gulyaev 72d750e8bb Remove JDK class StandardCharsets from classpath 2020-10-28 23:40:19 +03:00
Jenkins Release Bot 4ff3e8dbf7 [maven-release-plugin] prepare for next development iteration 2020-10-27 12:17:18 +00:00
Jenkins Release Bot 48aabba921 [maven-release-plugin] prepare release jenkins-2.264 jenkins-2.264 2020-10-27 12:16:52 +00:00
438aa42b6e Update french i18n + (local) Terminology for jobs (#4985)
* Update french i18n

* Apply suggestions from code review

Co-authored-by: Vincent Latombe <vincent@latombe.net>

* Update core/src/main/resources/hudson/slaves/DumbSlave/configure-entries_fr.properties

Co-authored-by: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>

* Adjust using review feedbacks

* Update war/src/main/webapp/help/system-config/master-slave/availability_fr.html

Co-authored-by: A. Jard <angelique.jard@gmail.com>

* Update availability_fr.html

* Update war/src/main/webapp/help/system-config/master-slave/availability_fr.html

Co-authored-by: A. Jard <angelique.jard@gmail.com>

Co-authored-by: Vincent Latombe <vincent@latombe.net>
Co-authored-by: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>
Co-authored-by: A. Jard <angelique.jard@gmail.com>
2020-10-27 10:35:53 +01:00
Tim Jacomb f4942b3bc4 Merge pull request #5022 from darinpope/trim-admin-address
Hacktoberfest: trim the adminAddress before saving
2020-10-26 20:25:10 +00:00
James Nord 2cd33a184f [JENKINS-64039] improve CaseInsensitive.equals(String, String) performance
The CaseInsensitive IdStrategy would always do a full string comparison
even when all that was required was an equivallence check.

updated the javadoc to clarify performance implications for subclasses
and fix the performance of the CaseInsensitive strategy
2020-10-26 17:34:24 +00:00
Oleg Nenashev 7b952de6c6 Merge pull request #5010 from jeffret-b/jenkinsAgentJnlp
[JENKINS-35452] A step towards removing more 'slave' terminology.
2020-10-26 13:48:53 +01:00
Oleg Nenashev 4f17ac6dc6 Merge pull request #5034 from jenkinsci/winstone/5.12
[JENKINS-64035] - Winstone 5.12: Update Jetty from 9.4.30.v20200611 to 9.4.33.v20201020
2020-10-26 13:48:16 +01:00
Oleg Nenashev 0f998f300d [JENKINS-64035] - Winstone 5.12: Update Jetty from 9.4.30.v20200611 to 9.4.33.v20201020 2020-10-26 11:03:09 +01:00
6c9e9319f3 Made small changes to make the README and CONTRIBUTING files easier to follow (#4993)
* Made small changes in punctuation, word selection, and word order to make it easier to read and understand the README and CONTRIBUTING 'md' files.

* Made changes based on feedback from @daniel-beck.

* Update README.md

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

* Update CONTRIBUTING.md

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>

* Apply suggestions from code review

Co-authored-by: Burk Hufnagel <304328+BurkHufnagel@example.com>
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2020-10-26 10:52:42 +01:00
Oleg Nenashev 6e14a7ecec Merge pull request #5013 from oleg-nenashev/bug/JENKINS-63868
[JENKINS-63868] - Prevent the Build History Widget from exploding when user have Discover permissions without Read for folders
2020-10-26 10:49:15 +01:00
Tim Jacomb d68a3d22ff Merge pull request #5032 from jglick/FunctionsTest.printThrowable
Commenting out part of FunctionsTest.printThrowable which fails in JDK 11.0.9+
2020-10-26 07:07:32 +00:00
Tim Jacomb 277ce4c235 Merge pull request #5031 from timja/fix-js-tests
Fix JS tests failing on master
2020-10-26 07:07:00 +00:00
Jesse Glick a26adf1d57 Commenting out part of FunctionsTest.printThrowable which fails in JDK 11.0.9+ 2020-10-25 22:57:27 +00:00
Tim Jacomb 9ac18faaa4 Configure test reporter for javascript tests 2020-10-25 20:38:53 +00:00
Jesse Glick 9a721275eb Commenting out part of FunctionsTest.printThrowable which fails in JDK 11.0.9+ 2020-10-25 16:00:59 -04:00
Tim Jacomb 06276c95bd Fix JS tests failing on master 2020-10-25 15:58:49 +00:00
Wadeck Follonier f0244bd583 [JENKINS-60866] Un-inline LoadStatistics
- Add tooltip for time scales
- Adjust the width for some browsers
2020-10-24 21:58:00 +02:00
Wadeck Follonier 3c957df2c0 Use import for Permission. 2020-10-24 20:34:07 +02:00
Wadeck Follonier 3320cf6a44 Queue (mainly) style consistency
- Removal of null check, while annotation + ecosystem search proves it's never occurring
- Small code style
- Cleanup of tab vs spaces
2020-10-24 18:36:19 +02:00
Wadeck Follonier 30f6514935 [JENKINS-60563] Replace MD5 with SHA-256 in ConsistentHash
- Also update outdated link
- Reformat some of the code
- Adjust the tests
- Ignore the performance test
- Correct typos
2020-10-24 18:05:24 +02:00
Stefan Spieker d93bc7d3c0 merged with master 2020-10-24 14:20:14 +02:00
Ilya Gulyaev d40399f309 Use StandardCharsets except deprecated Charsets from Apache Commons 2020-10-24 01:08:41 +03:00
87b72f57c3 [JENKINS-56109] Change Jenkins configuration UI from tables to divs (#3895)
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Tim Jacomb <timjacomb1+github@gmail.com>
Co-authored-by: Félix Queiruga <fqueiruga@cloudbees.com>
Co-authored-by: Tim Jacomb <t.jacomb@kainos.com>
Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
2020-10-23 19:36:38 +01:00
Darin Pope 0ed2cc8b9b trim the adminAddress before saving
Signed-off-by: Darin Pope <darin@planetpope.com>
2020-10-21 14:29:57 -04:00
dependabot[bot] 3996862228 Bump release-drafter/release-drafter from v5.11.0 to v5.12.1 (#5020) 2020-10-21 08:52:36 +00:00
Jenkins Release Bot 30da046973 [maven-release-plugin] prepare for next development iteration 2020-10-20 12:14:34 +00:00
Jenkins Release Bot c3d09d142d [maven-release-plugin] prepare release jenkins-2.263 jenkins-2.263 2020-10-20 12:14:03 +00:00
Oleg Nenashev dfa4a6fa11 Merge pull request #5019 from olamy/winstone-5.11.1
[JENKINS-63958] use new winstone 5.11.1 with downgraded Jetty version 9.4.30.v20200611
2020-10-20 11:43:07 +02:00
Tim JacombandA. Jard 1379a2e51a Merge pull request #4995 from SoleneGK/french_translation
Co-authored-by: A. Jard <angelique.jard@gmail.com>
2020-10-20 08:13:00 +01:00
Egor Ivanov 0572034a61 [JENKINS-49523] Excludes separator clarified (#4972) 2020-10-20 08:12:14 +01:00
olivier lamy 6b78970711 use new winstone 5.11.1 with downgraded Jetty version 9.4.30.v20200611 because of JENKINS-63958
Signed-off-by: olivier lamy <olamy@apache.org>
2020-10-20 16:27:08 +10:00
Jeff Thompson e0990b4b6c Add tests for downloading JNLP file at new and obsoleted names. 2020-10-19 14:47:36 -06:00
537cc08fd7 French localization of login page (#4996)
* French localization of login_fr.properties

* French localization of simple-header_fr.properties

* French localization: sentenced changes in login_fr.properties

* Update core/src/main/resources/jenkins/model/Jenkins/login_fr.properties

Co-authored-by: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>

* Update core/src/main/resources/jenkins/model/DefaultSimplePageDecorator/simple-header_fr.properties

Co-authored-by: A. Jard <angelique.jard@gmail.com>

* Contributor name added

Co-authored-by: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>
Co-authored-by: A. Jard <angelique.jard@gmail.com>
2020-10-19 19:40:52 +02:00
gulyaev13andIlya Gulyaev 642940f594 Hacktoberfest - TcpSlaveAgentListener optimization (#5012)
* TcpSlaveAgentListener.ConnectionHandler.run: Move allocation of output Writer to error method

* TcpSlaveAgentListener.ConnectionHandler.error: Replace PrintWriter to DataOutputStream

* TcpSlaveAgentListener.ConnectionHandler.respondHello: Replace OutputStreamWriter by DataOutputStream to avoid allocation of big buffer

* TcpSlaveAgentListener.ConnectionHandler.run: Replace Charsets to StandardCharsets

* TcpSlaveAgentListener.ConnectionHandler: Fix encoding of response

* TcpSlaveAgentListener: Remove unused imports

Co-authored-by: Ilya Gulyaev <ilya.gulyaev@nordigy.ru>
2020-10-19 19:38:19 +02:00
gulyaev13andIlya Gulyaev f2b3cce5aa Hacktoberfest - Optimize allocations in LogRotator and RunList (#5011)
* RunList.subList: Reduce allocations in internal ArrayList

* LogRotator.perform: Remove copy of already new instance from subList

* LogRotator.perform: Change List to RunList for strict new List instance in builds.subList

* LogRotator: Remove unused imports

Co-authored-by: Ilya Gulyaev <ilya.gulyaev@nordigy.ru>
2020-10-19 19:37:49 +02:00
Oleg Nenashev a998f30033 Merge pull request #5016 from daniel-beck/INFRA-2751
[INFRA-2751] Remove tfs plugin from setup wizard
2020-10-19 18:16:33 +02:00
Daniel Beck 62f874f6d7 [INFRA-2751] Remove tfs plugin from setup wizard 2020-10-19 13:02:19 +02:00
0f40ff0ea8 Improve tests for Labels (#5007)
* Improve tests for Labels

* Apply suggestions from code review

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>

Co-authored-by: res0nance <res0nance@users.noreply.github.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
2020-10-19 10:52:34 +02:00
Oleg Nenashev 7ccf1ba040 [JENKINS-63868] - Prevent the Build History Widget from exploding when user have Discover permissions without Read for folders 2020-10-17 16:06:15 +02:00
Tim Jacomb da1780f975 Merge pull request #4961 from StefanSpieker/spotbugs 2020-10-17 08:47:33 +01:00
Tim Jacomb 65010aea57 Merge pull request #4981 from res0nance/tied-jobs-count
Simplify code for tied jobs count
2020-10-17 08:47:15 +01:00
Tim Jacomb 5369f78305 Merge pull request #4987 from Wadeck/reduce-prototype-usage
Reduce the prototype.js usage
2020-10-17 08:46:49 +01:00
Peter Jonsson 711ef4e79e Prevent resource leak in FileFingerprintStorage (#4992) 2020-10-17 08:46:34 +01:00
Tim Jacomb d5ed84162a Merge pull request #5004 from jtnord/remove-dc-licence
removed dc-license.txt
2020-10-17 08:45:42 +01:00
Jo Shields a0bb38d5e1 Do not use null value for aria-hidden HTML attribute (#4919)
* Do not use null value for aria-hidden HTML attribute

'' is not a valid value for the `aria-hidden` attribute.

Ref: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-hidden_attribute

Ref: https://dequeuniversity.com/rules/axe/3.5/aria-valid-attr-value?application=axe-puppeteer

* Omit aria-hidden rather than setting bad values.

In jelly, stop checking for null on it - if it's null it'll be excluded
2020-10-17 08:45:26 +01:00
0889177bd9 removed redundant if statement (#4966)
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Co-authored-by: Ramon Leon <manuelramonleonjimenez@gmail.com>
2020-10-17 08:41:19 +01:00
Jeff Thompson 70797bf48d Remove old file. 2020-10-16 17:17:13 -06:00