Commit Graph
32590 Commits
Author SHA1 Message Date
Richard Mortimer 27f1fd1424 [FIXED JENKINS-16770] missing build title in /rssAll when build has no test result 2013-02-16 10:25:51 -08:00
Jesse Glick 9252468e8f CLIConnectionFactory.basicAuth was defined but never used.
Fixed to pass basic auth to HTTP connections when included in user info portion of URL (e.g. as API token).
2013-02-16 10:22:40 -08:00
Kohsuke Kawaguchi 5e4b7bcc36 [FIXED JENKINS-15918] follow-up changes
- Environment variables are by convention upper case, so I'm switching to upper case. This was what the original ticket requested anyway.
- Since the ".jobName" was never documented to begin with, let's not promote that and stick to "_JOBNAME" as the official version.
2013-02-16 10:21:23 -08:00
gcummings ebcf61ef35 [JENKINS-15918] Updating unit tests 2013-02-16 10:21:19 -08:00
gcummings 7338dcc01a [JENKINS-15918] Adding some detail of the Environment variables created 2013-02-16 10:21:15 -08:00
gcummings 15689d82dc [JENKINS-15918] RunParameter environment variabes contain . character 2013-02-16 10:21:06 -08:00
Harald Albers 29e33588ba translation fixes
added missing translations (save), adjusted an entry to match existing occurrences
corrected missing backslash escapes
deleted dislocated russian property file
2013-02-16 10:11:38 -08:00
Harald Albers e8275fa1cf translation cleanup
removed some translations from GlobalSecurityConfiguration and jenkins/model/Jenkins
that should only exist in MasterComputer, DumbSlave & MasterBuildConfiguration
2013-02-16 10:11:38 -08:00
Harald Albers 762a4a9122 added translations for MasterComputer 2013-02-16 10:11:38 -08:00
cynipe e7b2df21a9 [FIXED JENKINS-16836] UpdateCenter REST API crashes when plugin installation failed 2013-02-16 10:10:48 -08:00
Kohsuke Kawaguchi 61a83bd657 [FIXED JENKINS-12251]
Introduced ${ITEM_FULL_NAME} to address the ticket without causing the
backward compatibility problem.
2013-02-16 10:04:30 -08:00
Kohsuke Kawaguchi f440a54026 [JENKINS-16831] avoid JDK 1.6 dependency 2013-02-16 09:29:04 -08:00
Jesse Glick d4230ffc67 [FIXED JENKINS-16831] Use Queue.getApproximateItemsQuickly to avoid locks from UI. 2013-02-16 09:29:04 -08:00
Jesse Glick 2efa709552 [FIXED JENKINS-16833] Use a CopyOnWriteArraySet for inProgress to avoid blocking UI. 2013-02-16 09:25:58 -08:00
Kohsuke Kawaguchi 17d152817f updated changelog as a part of the release 2013-02-16 08:51:41 -08:00
Kohsuke Kawaguchi 70d3dcff0c [maven-release-plugin] prepare for next development iteration 2013-02-16 07:58:54 -08:00
Kohsuke Kawaguchi 8d5aaf0776 [maven-release-plugin] prepare release jenkins-1.502 jenkins-1.502 2013-02-16 07:58:52 -08:00
Kohsuke Kawaguchi f3a2ae31d5 LogRotator is now pluggable.
This is done by introducing a new base type 'BuildDiscarder' that's
extensible. Plugins can implement their own logics.
2013-02-15 18:40:38 -08:00
Nicolas De loof cfd629d866 Merge pull request #710 from recampbell/update-site-parameters
[JENKINS-16815] Specify ID and version in UpdateSite.updateDirectly
2013-02-15 10:50:13 -08:00
Ryan Campbell 7fdd27f7bd [JENKINS-16815] Specify ID and version in UpdateSite.updateDirectly 2013-02-15 12:35:57 -06:00
Jesse Glick 6270556267 [SECURITY-54] Realistic test of connection using -secret as from a service installation. 2013-02-14 13:59:12 -05:00
Jesse Glick b78afe5d7f [SECURITY-49] a9aff08 weakened the existing test; restoring it and introducing a separate test. 2013-02-14 13:06:32 -05:00
Kohsuke Kawaguchi 313383734e Bumping up the dependency version.
This fixes two annotation-indexers from different groupIds to get
bundled.
2013-02-13 17:38:58 -08:00
Jesse Glick 7b15466d92 Strengthening regexp a bit. 2013-02-13 19:09:18 -05:00
Jesse Glick c89d1af4d3 Deprecating. Relates to a long-obsolete security model. 2013-02-13 19:08:25 -05:00
Kohsuke Kawaguchi 4a830ed60f recording the change 2013-02-13 15:49:04 -08:00
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