Commit Graph
1312 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 96ef7039d5 [maven-release-plugin] prepare for next development iteration 2020-03-23 15:41:58 -07:00
Kohsuke Kawaguchi 2181495af5 [maven-release-plugin] prepare release jenkins-2.228 2020-03-23 15:41:53 -07:00
Kohsuke Kawaguchi cb6552c9db [maven-release-plugin] prepare for next development iteration 2020-03-22 21:17:47 -07:00
Kohsuke Kawaguchi 454b01fe72 [maven-release-plugin] prepare release jenkins-2.227 2020-03-22 21:17:42 -07:00
Kohsuke Kawaguchi 07c48b03fb [maven-release-plugin] prepare for next development iteration 2020-03-15 17:06:49 -07:00
Kohsuke Kawaguchi 6c0afccc0c [maven-release-plugin] prepare release jenkins-2.226 2020-03-15 17:06:44 -07:00
Kohsuke Kawaguchi 5c49b3b2f3 [maven-release-plugin] prepare for next development iteration 2020-03-09 23:10:30 -07:00
Kohsuke Kawaguchi f282bd8627 [maven-release-plugin] prepare release jenkins-2.225 2020-03-09 23:10:24 -07:00
Kohsuke Kawaguchi 4767a3bf99 [maven-release-plugin] prepare for next development iteration 2020-03-08 14:11:10 -07:00
Kohsuke Kawaguchi 3935b7c734 [maven-release-plugin] prepare release jenkins-2.224 2020-03-08 14:11:00 -07:00
Tim Jacomb 215319df88 Update test/pom.xml 2020-02-26 16:20:50 +00:00
Jeff Thompson 4786a1c481 Merge branch 'master' into suppressStack 2020-02-24 08:47:10 -07: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
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 2020-02-19 11:44:31 -08:00
Jeff Thompson 313d198519 Update to use newer jenkins-test-harness.
Use one that enables stack traces for tests that rely on it for easier development and troubleshooting.
Only in incrementals so far.
2020-02-13 13:36:36 -07:00
Kohsuke Kawaguchi e489dc20e5 [maven-release-plugin] prepare for next development iteration 2020-02-09 13:18:36 -08:00
Kohsuke Kawaguchi e97efd05df [maven-release-plugin] prepare release jenkins-2.220 2020-02-09 13:18:30 -08:00
Kohsuke Kawaguchi c376ffe0a4 [maven-release-plugin] prepare for next development iteration 2020-01-28 11:03:06 -08:00
Kohsuke Kawaguchi 789b74b00d [maven-release-plugin] prepare release jenkins-2.219 2020-01-28 11:03:02 -08:00
Kohsuke Kawaguchi f2861f2b68 [maven-release-plugin] prepare for next development iteration 2020-01-27 11:25:53 -08:00
Kohsuke Kawaguchi e09bdd3116 [maven-release-plugin] prepare release jenkins-2.218 2020-01-27 11:25:48 -08:00
Kohsuke Kawaguchi 30dbf728ec [maven-release-plugin] prepare for next development iteration 2020-01-23 07:14:52 -08:00
Kohsuke Kawaguchi 3d8a846a75 [maven-release-plugin] prepare release jenkins-2.217 2020-01-23 07:14:46 -08:00
Kohsuke Kawaguchi 7e3382acba [maven-release-plugin] prepare for next development iteration 2020-01-22 15:34:51 -08:00
Kohsuke Kawaguchi 6b6fece88c [maven-release-plugin] prepare release jenkins-2.216 2020-01-22 15:34:37 -08:00
Jesse Glick 5b5040298f [JEP-222] WebSocket support (#4369)
* Playing with WebSocket connections.

* Pluggable handlers.

* errorWithoutStack

* Server-side keepalive pings.

* Redesigned to work as an HttpResponse.

* Unused dep.

* Comment on JnlpSlaveRestarterInstaller.

* Sketch of WebSocket-based endpoint for JNLPLauncher.

* Comment.

* Test enhancement.

* Making it more obvious from JNLPLauncherTest where remoting.jar is being loaded from.

* Reworked protocol to negotiate remote capabilities.

* Unhelpful comment.

* Simplifying handshake to use HTTP headers.

* Moving code into top-level classes and otherwise prettifying.

* Linking to upstream PRs.

* Timestamped snapshot + incremental.

* Picking up incrementalified build of winstone.

* Working around https://github.com/kohsuke/access-modifier/pull/17.

* Finally have an incrementalified build of remoting.

* Use -webSocket option.

* Handling some close and error methods.

* Sending X-Remoting-Minimum-Version.

* If hudson.remoting.jnlp.Main._main fails, show the error.

* Comment.

* GUI analogue of https://github.com/jenkinsci/remoting/pull/357/commits/86cea5b83fd2fc93a9fc10896962eb42c95f80a0.

* Missing since tags.

* Capitalization.

* WebSockets.isSupported

* Rather than hiding JNLPLauncher.DescriptorImpl when the TCP port is disabled, always display it, but show form validation appropriate to WebSocket or TCP mode.

* Form validation fixes.

* Minor test improvements.

* Reworked WebSocketAgents to be compatible with JnlpAgentReceiver.

* Removing WebSocketSession.keepAlive in favor of a global setting applicable to all services.

* Add a -webSocket option to the Jenkins CLI.

* Using a snapshot deployment of Remoting, pending INFRA-2379.

* After #3838 there is no reason to recheck authentication after parsing CLICommand arguments.

* Advertise the -webSocket option.

* Adapt to newer HtmlUnit.

* https://github.com/HtmlUnit/htmlunit/pull/29 seems to have been incompatible.
WebClient.addRequestHeader will no longer override a header in a WebRequest,
such as when the same WebClient/WebRequest was previously used with different headers.

* Tracked down a behavioral change in passing through URL-encoded path characters.
https://github.com/HtmlUnit/htmlunit/commit/2c4956863420e4baef9d3d8c23ec0577ec64d2bf picks up
https://github.com/apache/httpcomponents-client/commit/8c04c6ae5e5ba1432e40684428338ce68431766b which is the actual change.

* Disabled TCP port does not matter in WebSocket mode.

* Shade dependencies needed for jenkins-cli.jar.

* Help text edit.

* https://github.com/jenkinsci/winstone/pull/79 was released as 5.5.

* https://github.com/jenkinsci/jenkins-test-harness/pull/183 released as 2.59.

* https://github.com/jenkinsci/jenkins/pull/4387#discussion_r362696234

* Bumping remoting to a new deployed snapshot.

* Need https://github.com/jenkinsci/winstone/pull/86.

* https://github.com/jenkinsci/winstone/pull/86 released as 5.6.

* Introduced constant for X-Remoting-Minimum-Version.

* s/slave/agent/ in GUI

* Removing in-JVM test, as it was no longer useful after introducing shading anyway.

* Bump.

* No need to check for anonymous CONNECT here.

* s/jenkins.slaves/jenkins.agents/g for new code.

* Restrict the diagnostic endpoint to administrators.

* Fixed Javadoc import after package move.

* https://github.com/jenkinsci/remoting/pull/357 released as 4.0.
2020-01-21 07:00:39 +01:00
Kohsuke Kawaguchi 1568f328cd [maven-release-plugin] prepare for next development iteration 2020-01-19 13:00:48 -08:00
Kohsuke Kawaguchi c4b2894202 [maven-release-plugin] prepare release jenkins-2.215 2020-01-19 13:00:43 -08:00
Kohsuke Kawaguchi 3cf031965c [maven-release-plugin] prepare for next development iteration 2020-01-12 10:54:01 -08:00
Kohsuke Kawaguchi 9a1740192a [maven-release-plugin] prepare release jenkins-2.214 2020-01-12 10:53:56 -08:00
Jesse Glick 629df6da7a Inlining test-pom into test and removing test-jdk8 2020-01-07 11:53:04 -05:00
Kohsuke Kawaguchi 4d059825ad [maven-release-plugin] prepare for next development iteration 2020-01-06 14:48:10 -08:00
Kohsuke Kawaguchi 38d1fbf962 [maven-release-plugin] prepare release jenkins-2.213 2020-01-06 14:48:05 -08:00
Kohsuke Kawaguchi 67e1991908 [maven-release-plugin] prepare for next development iteration 2020-01-05 14:09:49 -08:00
Kohsuke Kawaguchi 13ab7b9909 [maven-release-plugin] prepare release jenkins-2.212 2020-01-05 14:09:44 -08:00
Kohsuke Kawaguchi 5d78705806 [maven-release-plugin] prepare for next development iteration 2020-01-02 07:54:36 -08:00
Kohsuke Kawaguchi 806d8b57b6 [maven-release-plugin] prepare release jenkins-2.211 2020-01-02 07:54:28 -08:00
Kohsuke Kawaguchi d1502bffe8 [maven-release-plugin] prepare for next development iteration 2019-12-22 13:46:47 -08:00
Kohsuke Kawaguchi 10520e8301 [maven-release-plugin] prepare release jenkins-2.210 2019-12-22 13:46:40 -08:00
Kohsuke Kawaguchi 8019dfa9cd [maven-release-plugin] prepare for next development iteration 2019-12-15 13:00:04 -08:00
Kohsuke Kawaguchi 4179cb034c [maven-release-plugin] prepare release jenkins-2.209 2019-12-15 12:59:52 -08:00
Kohsuke Kawaguchi a2918a48dc [maven-release-plugin] prepare for next development iteration 2019-12-09 00:01:21 -08:00
Kohsuke Kawaguchi 8622af2233 [maven-release-plugin] prepare release jenkins-2.208 2019-12-09 00:01:11 -08:00
Kohsuke Kawaguchi c8efc7c78e [maven-release-plugin] prepare for next development iteration 2019-12-02 16:57:46 -08:00
Kohsuke Kawaguchi e834ba8b65 [maven-release-plugin] prepare release jenkins-2.207 2019-12-02 16:57:37 -08:00
Kohsuke Kawaguchi c3cba50800 [maven-release-plugin] prepare for next development iteration 2019-11-24 16:52:08 -08:00
Kohsuke Kawaguchi 95a464305c [maven-release-plugin] prepare release jenkins-2.206 2019-11-24 16:51:59 -08:00
Kohsuke Kawaguchi a1e740a56d [maven-release-plugin] prepare for next development iteration 2019-11-17 16:38:56 -08:00
Kohsuke Kawaguchi 7e5259b024 [maven-release-plugin] prepare release jenkins-2.205 2019-11-17 16:38:40 -08:00