Commit Graph
2295 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi e6a8d5e644 [FIXED JENKINS-13496 JENKINS-12854] Integrated the newer version of Winstone. 2012-05-29 14:42:26 -07:00
Kohsuke Kawaguchi 8ec14ce28e Updated to the instance identity 1.2. 2012-05-24 15:48:38 -07:00
Kohsuke Kawaguchi 18963ee9af [FIXED JENKINS-13625]
In the end, proper fix requires having a filter that tracks
GZipOutputStream.
2012-05-23 20:11:58 -07:00
Kohsuke Kawaguchi d85d3b2f07 the trunk is toward 1.467-SNAPSHOT 2012-05-21 18:05:07 -07:00
Ariel Peltz 7a84ab1d34 Fix for annoying typo in custom workspace help 2012-05-17 10:57:53 +03:00
Kohsuke Kawaguchi 0e4e297810 the trunk is toward 1.466-SNAPSHOT 2012-05-15 14:20:24 -07:00
Kohsuke Kawaguchi 3cc8b210df the trunk is toward 1.465-SNAPSHOT 2012-05-07 13:42:04 -07:00
Kohsuke Kawaguchi 7a4858d65f [FIXED JENKINS-12585] restrict where sessions are created.
If a resource with 'Set-Cookie' header is cached (either by intermediary
like HTTP proxy and reverse proxy, or by the browser), it'll cause
identity swap / session mix-up as discussed in this ticket.

I suspect this was caused by HttpSessionContextIntegrationFilter2, which
is the only code path that attempts to create a session when a request
to a static resource is made.

So I'm disabling the creation of session in
HttpSessionContextIntegrationFilter2. This in turn requires that we
have sessions already created when the authentication was successful and
people need to login (or else the login will have no effect.)

We already do so in layout.jelly, so any request that renders a Jenkins
page would have a session, but I've also added it in
AuthenticationProcessingFilter2, which ensures that a successful login
does have a session.
2012-05-03 17:56:13 -07:00
Kohsuke Kawaguchi cc283140c7 the trunk is toward 1.464-SNAPSHOT 2012-04-30 12:42:36 -07:00
Kohsuke Kawaguchi 749f4ffadf Merge remote-tracking branch 'origin/publisher' 2012-04-25 22:56:03 -07:00
OHTAKE Tomohiro 815c42c458 [FIXED JENKINS-13578] 'sortbottom' was sorted to the top 2012-04-25 09:59:27 +09:00
Kohsuke Kawaguchi 4eb17c197d the trunk is toward 1.463-SNAPSHOT 2012-04-23 17:16:56 -07:00
Kohsuke Kawaguchi 58267c4672 added scorll-into-view capability 2012-04-19 17:52:07 +02:00
Kohsuke Kawaguchi d2d7e43eee by default, try to preserve the order 2012-04-19 17:52:07 +02:00
Kohsuke Kawaguchi 28bcaea860 unused arguments 2012-04-19 17:52:07 +02:00
Kohsuke Kawaguchi 07477567d2 this is shorter 2012-04-19 17:52:07 +02:00
Kohsuke Kawaguchi 570d974568 hopefully giving it a name made it easier to understand what it means 2012-04-19 17:52:07 +02:00
Kohsuke Kawaguchi 11f8ac0875 adding animation 2012-04-19 17:52:07 +02:00
Kohsuke Kawaguchi 085ae79e5b this needs to trigger the relayout 2012-04-19 17:52:06 +02:00
Kohsuke Kawaguchi 8f16967ad5 make sure the newly added portion is always visible 2012-04-19 17:52:06 +02:00
Kohsuke Kawaguchi aef3cf3acf converting publishers to a drop-down menu to save real estate 2012-04-19 17:52:06 +02:00
Kohsuke Kawaguchi d519f3116f the trunk is toward 1.462-SNAPSHOT 2012-04-15 06:42:51 -07:00
Kohsuke Kawaguchi 70db3c0a08 the trunk is toward 1.461-SNAPSHOT 2012-04-11 07:20:52 -07:00
Kohsuke Kawaguchi 2f56fb4a52 run commands in the proper authenticatoin context 2012-04-04 13:09:11 -07:00
Kohsuke Kawaguchi 346b2d4c94 the trunk is toward 1.460-SNAPSHOT 2012-04-02 12:55:06 -07:00
Kohsuke Kawaguchi 4249dea44b the trunk is toward 1.459-SNAPSHOT 2012-03-27 09:19:21 -07:00
Vincent Latombe 3c5d7cc38a [Fix JENKINS-13195] New Breadcrumb bar covers search suggestions
Adjust z-index for #search-box-completion to appear over the breadcrumb
2012-03-22 19:42:21 +01:00
Kohsuke Kawaguchi 8921d49585 the trunk is toward 1.458-SNAPSHOT 2012-03-19 15:21:46 -07:00
Kohsuke Kawaguchi 8eb264ceb1 [FIXED JENKINS-9882] integrated a newer version of Winstone with the fix. 2012-03-15 12:29:04 -07:00
Seiji Sogabe bc75390479 i18n & l10n(ja) for ProjectNamingStrategy 2012-03-14 00:52:42 +09:00
Kohsuke Kawaguchi 56ab7a9e95 the trunk is toward 1.457-SNAPSHOT 2012-03-12 14:41:12 -07:00
Kohsuke Kawaguchi b22cfd5d2a trunk is now toward 1.456 2012-03-05 21:01:45 -08:00
OHTAKE Tomohiro 6c5a9fc9bf Re-implement findElementsBySelector using Prototype.Selector
http://jenkins.local/job/JOBNAME/configure will become
10%-faster in Chrome 14 and 20%-faster in IE 9.
2012-03-05 16:42:07 -08:00
Kohsuke Kawaguchi 4fd8ce1cb1 Merge branch 'rc' 2012-03-05 16:39:31 -08:00
OHTAKE Tomohiro 4535b18333 IE compatibility
$(e).next() may return undefined.
If 2nd argument of insertBefore is undefined,
IE9 complains "SCRIPT87: Invalid argument".
To insert newChild at the end, 2nd argument should be null.
http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/core.html#ID-952280727
2012-03-05 16:37:13 -08:00
Kohsuke Kawaguchi 7d71f88ca3 the trunk is toward 1.455-SNAPSHOT 2012-03-05 16:18:06 -08:00
Kohsuke Kawaguchi 32be7e72e6 Adding more depth to defense against XSS. 2012-03-05 16:16:46 -08:00
Kohsuke Kawaguchi 2b7bb6c6a4 merged back the RC branch 2012-03-05 10:14:02 -08:00
Kohsuke Kawaguchi 63b65b4bf1 [maven-release-plugin] prepare for next development iteration 2012-03-05 09:32:56 -08:00
Kohsuke Kawaguchi 25c61b312f [maven-release-plugin] prepare release jenkins-1.453 2012-03-05 09:32:55 -08:00
Kohsuke Kawaguchi 789d54eab0 Integrated newer version of Winstone for a couple of fixes. 2012-03-05 08:57:08 -08:00
imod a2d9bac03d define new extension point to define ProjectNamingStrategy and add two implementations: Default and Pattern 2012-03-04 11:11:39 +01:00
Kohsuke Kawaguchi 511b42a073 Merge branch 'prototype-patched' 2012-03-01 22:16:25 -08:00
Kohsuke Kawaguchi 34e8117a64 [JENKINS-11618] Adding back the 'toJSON' instance method.
This change, in parallel to a fix in stapler bind.js, would maximize the
backward compatibility.
2012-03-01 22:10:54 -08:00
Kohsuke Kawaguchi 8d98d74b51 In preparation of merging prototype 1.7, resetting the history. 2012-03-01 19:20:42 -08:00
Kohsuke Kawaguchi 728fc8aafd Backporting 918fc6e6ca
made to work with <textarea>s, too.

git-svn-id:
https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@8172
71c3de6d-444a-0410-be80-ed276b4c234a
2012-03-01 19:17:03 -08:00
Kohsuke Kawaguchi b250055edd Cherry-picking 8fa28bf76b 2012-03-01 19:10:06 -08:00
Kohsuke Kawaguchi 3cf8d2c12e Disabling automatic JSON evaluation.
This is an adopted version of 8b1e071d22.
Since 1.7 has a flag to disable this behaviour, I think a better fix is
to disable this flag by default.
2012-03-01 19:04:06 -08:00
Kohsuke Kawaguchi 521d05d53d Cherry-picking c6acb5b8d5 2012-03-01 18:56:24 -08:00
Kohsuke Kawaguchi 794cc76676 [JENKINS-11618] backporting the fix here.
I actually applied the diff from
6904bb61e31595b70260840937114e79a646da5d in keyboard-shortcuts-plugin
2012-03-01 18:50:05 -08:00