Commit Graph
32590 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 5729fb717e [maven-release-plugin] prepare for next development iteration 2020-02-23 17:53:02 -08:00
Kohsuke Kawaguchi a08dd9ba7a [maven-release-plugin] prepare release jenkins-2.222 jenkins-2.222 2020-02-23 17:52:57 -08:00
Tim Jacomb bbe40d6381 Disable download from url installer in read only mode 2020-02-23 21:15:46 +00:00
Tim Jacomb 2d3e8e4d50 JEP-224 System read - Global tool configuration 2020-02-23 11:00:44 +00:00
Daniel Beck 7cc0628d4c Merge branch 'master' into suppressStack 2020-02-22 23:14:25 +01:00
Mark Waite d99500ff1e Merge pull request #4514 from daniel-beck/fix-note
Update note after this was done wrong yet again
2020-02-22 08:31:59 -07:00
9ead76e210 [JEP-223] Deprecate permissions RUN_SCRIPTS, UPLOAD_PLUGINS, an… (#4365)
Co-authored-by: Jesse Glick <jglick@cloudbees.com>
Co-authored-by: Tim Jacomb <t.jacomb@kainos.com>
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-02-22 15:28:42 +00:00
Tim JacombandDaniel Beck 991f379924 JEP-224 Minimal system read (#4506)
Co-Authored-By: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-02-22 15:27:52 +00:00
Daniel Beck 023540c26d Listen on loopback interface by default in debug mode 2020-02-22 02:29:32 +01:00
Daniel Beck d9355ff05f Update note after this was done wrong yet again 2020-02-22 00:57:54 +01:00
Daniel Beck 9ec7a736ef [JENKINS-61166] Show on 'updates' tab when a warning would be fixed 2020-02-21 22:29:56 +01:00
Jeff ThompsonandDaniel Beck a9c391073a Adjust math operations for clarity.
Co-Authored-By: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-02-21 11:54:55 -07:00
Jeff Thompson ec707b3652 Change popup dialog size. 2020-02-21 11:16:18 -07:00
Tim Jacomb 15ad9ea13b Merge pull request #4511 from res0nance/spotbugs-internal-rep
[JENKINS-36720] Spotbugs fixes
2020-02-21 15:18:02 +00:00
Tim Jacomb 8219d504cd Merge pull request #4496 from res0nance/followup
Follow up optimizations to getAllItems() and getItems()
2020-02-21 15:17:25 +00:00
Tim Jacomb 45cf21d2e6 Merge pull request #4510 from res0nance/double-checked
[JENKINS-36720] Fix instances of double checked locking
2020-02-21 15:17:08 +00:00
Oleg Nenashev 824718bce0 Merge pull request #4509 from daniel-beck/force-crumb-issuer2
Always set a crumb issuer
2020-02-21 11:31:29 +01:00
Jeff Thompson df385a88de Adjust jelly for popup. 2020-02-20 16:02:09 -07:00
Tim Jacomb fdfcbc3c7f Merge pull request #4508 from res0nance/spotbugs-version
[JENKINS-36720] Spotbugs fix possible NPE
2020-02-20 16:59:54 +00:00
Tim Jacomb 8175695eef Merge pull request #4505 from jbleduigou/master
Adding french translation for concurrent build help
2020-02-20 16:58:09 +00:00
673a18c637 [JENKINS 60920] header breadcrumbs CSS update (#4463)
* New styles for breadcrumbs and warnings monitor

* Adds the svgxuse polyfill for svg sprites on IE 11

* Created new styles for the page header

- Used the material icons svg sprites to deliver the icons
- Icons are rendered using a <svg> tag

* Create new base styles file and undo changes to the layout-common and style css files

* Fixes and refactor for the new UI CSS code

* Make the new header color and logo section opt-in

- The new UI can be toggled with the -Dui.enableNewUi=true flag

* Rename and refactor the page-header css

- Rename the css class namespace from .main-header to .page-header
- Page header CSS moved into a modules folder and now included on the new-base-styles.css. This is done to avoid loading a separate file everytime.
- Extracted color variables to their own file

* Updated localization for header and admin monitor

- The pageHeader template receives localization strings as props
- Missing translation for the admin monitor on the it, bg and pl locales

* Update core/src/main/resources/lib/layout/layout.jelly

Co-Authored-By: Tim Jacomb <t.jacomb@kainos.com>

* Most measurements migrated to REMs

* Code cleanup and apply new-ui toggle to the html.jelly file

* Breadcrumb fixes

- Reverts breadcrumb link styling to use nested selectors instead of the .breadcrumbs__link class. The reason is that several plugins would break.
- Shifted margins so that breadcrumbs can be fullwidth in the absence of the auto refresh link

* Implemented some fixes from the feedback received

- Removed box shadow webkit prefix
- Fixed formatting on the breadcrumbs.css and layout-commons.less files
- Renamed the new UI toggle class from _new-ui_ to _ui-refresh_
- Renamed references to the _new ui_ to _v2_

* Created jelly helper to use svg icons

* Fix: restore proper icon for the user on the header

* Fixes for Edge, IE 11 and IE 10

* Improvements on the header and breadcrumbs

- Logo v2 changed and optimized using the svgo frontend https://jakearchibald.github.io/svgomg/
- Refactored the ammonitor insertion code
- Breadcrumbs are no longer capitalized
- Classic logo link no longer stretches past the images
- Fixed classic logo link on IE11
- Updated color of the footer
- Menu items background is also changed when hovering over the menu selector
- Removed copyright notice on top of some files

* Bumped JTH version with the SVG download fix

* Update test/pom.xml

Co-Authored-By: Tim Jacomb <t.jacomb@kainos.com>

* Added a function to check boolean system properties from jelly

* Fix header links and add svg styles for legacy layout

*  Some bug fixing for the new header

- The ui-refresh changes were not properly being enabled with the boolean system property. Added explicit true check on the jelly templates.
- Added an explicit width for the ui-refresh logo because it would mess with the layout

* Update core/src/main/java/hudson/Functions.java

Co-Authored-By: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>

* Do not check the system property on every page render

Co-authored-by: Tim Jacomb <t.jacomb@kainos.com>
Co-authored-by: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
2020-02-20 16:57:47 +00:00
Raihaan ShouhellandAdrien Lecharpentier 48ed32ba11 Apply suggestions from code review
Co-Authored-By: Adrien Lecharpentier <adrien.lecharpentier@gmail.com>
2020-02-20 20:17:40 +08:00
Tim Jacomb 71c5fa5bbb Merge pull request #4504 from daniel-beck/JENKINS-61121
[JENKINS-61121] Fix too many open files with resource domain
2020-02-20 07:58:36 +00:00
Raihaan Shouhell c82f5147d0 Fix 2 instances of interal rep leak and a possible handle leak 2020-02-20 10:44:04 +08:00
Raihaan Shouhell 5ba7c464cf Revert public classes 2020-02-20 07:54:15 +08:00
Raihaan Shouhell e904ec9c74 Fix instances of double checked locking 2020-02-20 07:47:40 +08:00
Joseph Petersen 0d52bc1254 Add a warning inside the installed section on plugin manager 2020-02-19 22:59:49 +01:00
Joseph Petersen a05b37ea87 Hide deprecated plugins inside the available section on update center 2020-02-19 22:36:52 +01:00
Joseph Petersen 22f9cc9ab2 wording and separation of description 2020-02-19 20:57:00 +01:00
Kohsuke Kawaguchi c7715880c7 Merge branch 'master' of github.com:jenkinsci/jenkins 2020-02-19 11:53:21 -08:00
Kohsuke Kawaguchi 2b1d66586b [maven-release-plugin] prepare for next development iteration 2020-02-19 11:44:39 -08:00
Kohsuke Kawaguchi ecc39b29be [maven-release-plugin] prepare release jenkins-2.221 jenkins-2.221 2020-02-19 11:44:31 -08:00
Joseph Petersen 469e117e63 fix regex 2020-02-19 19:59:05 +01:00
Joseph Petersen cab322fc2c add break lines to deprecation message 2020-02-19 19:42:00 +01:00
Joseph Petersen 6be9ddf3f9 link to plugin url 2020-02-19 19:26:35 +01:00
Joseph Petersen d19fdb4c91 use stream api to collect deprecated plugins 2020-02-19 19:25:01 +01:00
Joseph Petersen ed9baefc56 Merge branch 'master' into feature/add-deprecated-plugin-monitor 2020-02-19 18:37:04 +01:00
Daniel BeckandJesse Glick 3bc83e3503 Apply suggestions from code review
Co-Authored-By: Jesse Glick <jglick@cloudbees.com>
2020-02-19 15:50:10 +01:00
Daniel Beck 107c8575a4 Always set a crumb issuer 2020-02-19 15:00:31 +01:00
Raihaan Shouhell a978ae6fad Use ternary 2020-02-19 21:51:19 +08:00
Raihaan Shouhell 2b75058b1c Use ternary 2020-02-19 21:50:48 +08:00
Raihaan Shouhell 0074146017 Fix possible NPE 2020-02-19 16:10:04 +08:00
Raihaan Shouhell f8f5b25a68 Static nested classes 2020-02-19 15:43:26 +08:00
Tim Jacomb dc8781dd69 Merge pull request #4497 from res0nance/tied-jobs
Improve performance when loading tied jobs
2020-02-18 20:59:24 +00:00
Jean-Baptiste Le Duigou 4241dfebea Updating several typos
Signed-off-by: Jean-Baptiste Le Duigou <jb.leduigou@gmail.com>
2020-02-18 21:52:42 +01:00
Jean-Baptiste Le Duigou c36bf9efcd Adding french translation for concurrent build help
Signed-off-by: Jean-Baptiste Le Duigou <jb.leduigou@gmail.com>
2020-02-18 21:17:16 +01:00
Oleg Nenashev 94df8cfd52 Merge pull request #4487 from Dohbedoh/JENKINS-60966
[JENKINS-60966] Order admin monitors in Global Configuration
2020-02-18 21:15:00 +01:00
Wadeck Follonier e377050faf Merge pull request #4501 from daniel-beck/jep-223
[JEP-223] Overall/Manage permission
2020-02-18 17:05:54 +01:00
Daniel Beck 548d9969cc [JENKINS-61121] Fix too many open files with resource domain 2020-02-18 14:38:48 +01:00
Daniel Beck b0dd37324f Adapt annotations 2020-02-18 14:24:24 +01:00