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
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
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
Ryan Campbell
7fdd27f7bd
[JENKINS-16815] Specify ID and version in UpdateSite.updateDirectly
2013-02-15 12:35:57 -06: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
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
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
Kohsuke Kawaguchi
124c976a5e
Revert "bundling the newer JNA"
...
This reverts commit e216872238 .
2013-02-13 14:14:09 -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
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
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
lvotypko
df00baea5a
Revert changes in method encode too.
2013-02-11 11:35:15 +01: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
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
259f302cf8
Meaningful FormValidation.toString.
2013-02-07 11:55:23 -05:00
Jesse Glick
5d89529e91
Merge branch 'master' of github.com:jenkinsci/jenkins
2013-02-07 10:13:18 -05:00
Jesse Glick
37bf35b5db
[JENKINS-15156] AbstractProject.builds accessed by Maven & matrix module builds before onLoad or onCreatedFromScratch called.
...
Seem to need to keep the deprecated no-arg RunMap initializer though it is unclear to me how it could work.
2013-02-07 10:12:51 -05:00
Nicolas De Loof
629b42a309
[FIXED JENKINS-16682] getItem(name) can throw an AccessDeniedException
...
so iterate on itemGroup.getItems and filter by job names
2013-02-07 15:46:30 +01:00
Nicolas De Loof
cb07748569
Extension point to listen buildStep execution
2013-02-07 14:30:31 +01:00
Nicolas De Loof
c0d987ef20
Extension point to provide access to workspace even when node is offline
...
used to browse workspace and run scm polling
2013-02-07 14:13:57 +01:00
Jesse Glick
7ac15767bc
[JENKINS-15156] Massive test failures with NPE.
...
Seems that the RunMap must be initialized before updateTransientActions, which uses it, is called.
2013-02-06 20:57:03 -05:00
Fred G
6437fe2e78
Unit test for JENKINS-16630
2013-02-07 02:32:49 +01:00
Jesse Glick
25f4c60f96
Merge pull request #696 from johnou/JENKINS-15156
...
[FIXED JENKINS-15156] Initialize AbstractLazyLoadRunMap.dir for newly created jobs.
2013-02-06 16:05:21 -08:00
Johno Crawford
fe95fc53f8
[JENKINS-15156] Refactored fix.
2013-02-07 00:56:47 +01:00
Johno Crawford
8f62901ee5
Merge remote-tracking branch 'tsartarzan/JENKINS-15156' into JENKINS-15156
2013-02-07 00:44:44 +01:00
Jesse Glick
e43e5f338e
Merge pull request #694 from recampbell/update-directly
...
Correctly support direct updates of html update sites
2013-02-06 15:28:42 -08:00