Commit Graph
17505 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 6801cefc2b [FIXED JENKINS-16474]
Fixed the HTTP request thread saturation problem with Winstone.
(cherry picked from commit 4b1a95f23f)

Conflicts:

	changelog.html
1.502-rc1
2013-02-13 15:35:12 -08:00
Jesse Glick d4b3178c81 Exclude NekoHTML and its concomitant obsolete Xerces.
(cherry picked from commit 20d628fa64)
2013-02-13 15:33:18 -08:00
Jesse Glick e52c7efa99 [SECURITY-60] Upgrade Spring.
(cherry picked from commit b44df8b16a)

Conflicts:

	core/pom.xml
2013-02-13 15:32:52 -08:00
Jesse Glick afaa76c499 Use jsStringEscape where necessary.
(cherry picked from commit 6d99c02b12)
2013-02-13 15:32:23 -08:00
Jesse Glick 36342d71e2 [SECURITY-55]
This patch makes standard post-build action refuse to let you configure a downstream project you cannot currently build.
The one from parameterized-trigger will show an error in the configure screen but still lets you save the configuration; needs an analogous patch to that plugin.
Does not yet protect against POSTing config.xml with the trigger.
(cherry picked from commit 757bc8a539)

Conflicts:

	core/src/main/java/hudson/model/Descriptor.java
2013-02-13 15:32:09 -08:00
Jesse Glick 0de3e9b14e [SECURITY-47]
- My second patch, with whitelisted XPath values and forbidden JSONP.
- Disabling JSONP altogether for REST API (unless explicitly allowed).
- Forbid primitive XPath result sets by default.
- Refuse to serve _crumb=123456 as this could (very hypothetically) be exploited.
(cherry picked from commit f4af9b1ab4)

Conflicts:

	core/src/main/java/hudson/model/Api.java
2013-02-13 15:31:22 -08:00
Kohsuke Kawaguchi 4c52ddfe14 [FIXED SECURITY-46]
(cherry picked from commit f8d2a0ba6c)
2013-02-13 15:30:31 -08:00
Jesse Glick 61921fbb71 [SECURITY-16]
Require POST for various operations.
(cherry picked from commit 36c8624379)

Conflicts:

	core/src/main/java/hudson/model/AbstractBuild.java
2013-02-13 15:30:09 -08:00
Jesse Glick 0271fdb8a2 [SECURITY-13]
(cherry picked from commit 1fb2acfd7b)

Conflicts:

	core/src/main/java/hudson/model/AbstractProject.java
	core/src/main/java/hudson/model/ParametersDefinitionProperty.java
2013-02-13 15:29:20 -08:00
Kohsuke Kawaguchi ad08359f53 [SECURITY-54] Massaging the original fix.
- Use the proper block cipher mode.
  Or else the information about the plain text still ends up revealing as a pattern without the attacker knowing the key.
- No need to hide SLAVE_SECRET from the encrypted payload.
  jnlpMac is needed to decrypt this payload to begin with, so there's no point in hiding it. This simplifies the code a little bit.
- Using a newer slave installer that uses the -secret option
(cherry picked from commit f4496df19e)
2013-02-13 15:24:34 -08:00
Kohsuke Kawaguchi 7338713975 [SECURITY-54]
Jesse's original patch
(cherry picked from commit 01a24e2cb1)
2013-02-13 15:24:23 -08:00
Christoph Kutzinski 027931a8a1 Changelog for [JENKINS-16696] 2013-02-13 23:19:49 +01:00
Kohsuke Kawaguchi 124c976a5e Revert "bundling the newer JNA"
This reverts commit e216872238.
2013-02-13 14:14:09 -08:00
Kohsuke Kawaguchi a938564793 Merge branch 'SECURITY-54' 2013-02-13 14:07:42 -08:00
Kohsuke Kawaguchi f4496df19e [SECURITY-54] Massaging the original fix.
- Use the proper block cipher mode.
  Or else the information about the plain text still ends up revealing as a pattern without the attacker knowing the key.
- No need to hide SLAVE_SECRET from the encrypted payload.
  jnlpMac is needed to decrypt this payload to begin with, so there's no point in hiding it. This simplifies the code a little bit.
- Using a newer slave installer that uses the -secret option
2013-02-13 14:04:41 -08:00
Kohsuke Kawaguchi 01a24e2cb1 [SECURITY-54]
Jesse's original patch
2013-02-13 14:04:41 -08:00
Kevin P. Fleming 46d94e0880 Adding a mechanism for NodeProvisioner to know when it's done.
This came from pull request #705
2013-02-13 11:51:34 -08:00
Kohsuke Kawaguchi 4b1a95f23f [FIXED JENKINS-16474]
Fixed the HTTP request thread saturation problem with Winstone.
2013-02-13 09:49:18 -08:00
Kohsuke Kawaguchi 3f48eff1ee [FIXED JENKINS-16561]
eval("") is no-op in IE but window.execScript("") isn't.
So bring the uniformity outside
2013-02-12 17:44:41 -08:00
Kohsuke Kawaguchi b5ed31990e [JENKINS-15466]
Failure to load JNA should be handled graciously
2013-02-12 17:25:36 -08:00
Kohsuke Kawaguchi e216872238 bundling the newer JNA 2013-02-12 17:17:45 -08:00
Kohsuke Kawaguchi 6f0e221441 fixed a bug in handling of escaping/unescapin of XML names 2013-02-12 17:16:24 -08:00
Jesse Glick 7876a296fd 9813666 caused test archiving failures when this test is itself run. 2013-02-12 12:52:24 -05:00
Christoph Kutzinski 1d3521c73c Merge pull request #704 from oldelvet/jenkins-16776
[FIXED JENKINS-16776] surefire-reports not detected for android-maven-plugin
2013-02-12 08:08:14 -08:00
Richard Mortimer 9813666961 [FIXED JENKINS-16776] surefire-reports not detected for android-maven-plugin 2013-02-12 15:48:00 +00:00
Jesse Glick adeed34c6c Diagnostics in case crumbIssuer replies with HTML junk.
(Or should we just check the status code?)
2013-02-11 20:35:22 -05:00
Jesse Glick 68b05412ba Improved logging in case both connectViaCliPort and connectViaHttp fail. 2013-02-11 19:21:28 -05:00
Christoph Kutzinski 954a368c56 SurefireArchiver didn't recognize failsafe:integration-test goal [JENKINS-16696] 2013-02-11 23:28:33 +01:00
Nicolas De Loof 29426012ce [FIXED JENKINS-16718] check executor has been interrupted 2013-02-11 19:36:59 +01:00
Kohsuke Kawaguchi cd52d0f0e0 the trunk is toward 1.503-SNAPSHOT 2013-02-11 08:11:09 -08:00
Kohsuke Kawaguchi 5bca85d992 creating an RC branch 2013-02-11 08:11:03 -08:00
Kohsuke Kawaguchi 148b58f5f7 merged back the RC branch 2013-02-11 08:01:42 -08:00
Kohsuke Kawaguchi ca2d41a59e updated changelog as a part of the release 2013-02-11 08:01:18 -08:00
Jesse Glick 9a1557f67b No need to set a defaultGoal, this is just annoying. 2013-02-11 09:43:15 -05:00
lvotypko df00baea5a Revert changes in method encode too. 2013-02-11 11:35:15 +01:00
Kohsuke Kawaguchi c09b3a139e updated changelog for release 2013-02-10 21:29:59 -08:00
Kohsuke Kawaguchi 2c629f749d [maven-release-plugin] prepare for next development iteration 2013-02-10 19:33:50 -08:00
Kohsuke Kawaguchi 592904bfdf [maven-release-plugin] prepare release jenkins-1.501 jenkins-1.501 2013-02-10 19:33:49 -08:00
Jesse Glick 9bb9d446b5 More efficient to contact crumbIssuer just once and get both name and value. 2013-02-08 17:38:17 -05:00
Jesse Glick dcb3972b85 Convenience overload of impersonate taking a thunk. 2013-02-08 14:00:16 -05:00
Jesse Glick 981202e802 NotSerilizableSecurityContext -> NonSerializableSecurityContext 2013-02-08 13:15:58 -05:00
Jesse Glick c609a1fbdc Merge pull request #698 from albers/translation
translation cleanup
2013-02-08 08:49:12 -08:00
Harald Albers 933224f97e translation cleanup
purged duplicated translations for GlobalCrumbIssuerConfiguration
("Prevent Cross Site Request Forgery exploits").
Changed property name "Crumb" to "Crumbs" because this is the value that the existing translations actually use.
2013-02-08 11:13:51 +01:00
Christoph Kutzinski eca8a3e5ce maven plugin updates 2013-02-08 10:40:17 +01:00
Fred G 4bf431cfaf Fixed wrong camel casing and simplified dealing with locale 2013-02-07 23:20:23 +01:00
Jesse Glick e554ba229b Merge pull request #697 from recampbell/master
Improve UpdateSiteTest by adding valid Update sites
2013-02-07 11:24:26 -08:00
Ryan Campbell d614c44947 Provide update centers with valid signatures and check them in the UpdateSiteTest 2013-02-07 13:14:06 -06:00
Nicolas De Loof dac37a8ab8 added @since and changelog for previous commits 2013-02-07 20:13:54 +01:00
Jesse Glick 1ce132aafb Adding boolean signatureCheck param to UpdateSite.updateDirectly.
Removing old static field, which was not friendly to tests, especially multithreaded runners.
Cleaned up existing tests to use updateDirectly rather than POSTing raw JSON.
2013-02-07 13:32:45 -05:00
Jesse Glick 93e9c62a10 More descriptive failure message. 2013-02-07 11:57:10 -05:00