Kohsuke Kawaguchi
c0ed4b82fd
doc improvement
2014-03-12 18:01:55 -07:00
Kohsuke Kawaguchi
5a28378cd9
a convenience method
2014-03-12 18:01:55 -07:00
Kohsuke Kawaguchi
b478ca8904
Merge branch 'master' of github.com:jenkinsci/jenkins
2014-03-11 16:32:16 -07:00
Kohsuke Kawaguchi
b078ac62f5
added another test for the basic remember-me flow
2014-03-11 16:22:40 -07:00
Kohsuke Kawaguchi
accc0e59d3
NPE fix
2014-03-11 16:15:18 -07:00
Kohsuke Kawaguchi
a4e29ae0df
Doing impersonation here as well.
...
See javadoc for discussion why this possibly redundant use is desirable
2014-03-11 16:11:14 -07:00
Kohsuke Kawaguchi
27d208b0a9
Moving impersonation logic once again.
...
I think the cleanest place to do this is as a filter of UserDetailsService.
The problem is that SecurityRealm defines loadUserByName method, which AbstractPasswordBasedSecurityRealm overrides
2014-03-11 15:55:17 -07:00
Kohsuke Kawaguchi
bded790f46
User.impersonate() now does the loadUserDetailsByName call.
...
So ApiTokenFilter no longer needs to do that.
2014-03-11 15:36:46 -07:00
Kohsuke Kawaguchi
b173e8d403
Using latest and greatest (take 2
2014-03-11 15:01:06 -07:00
Kohsuke Kawaguchi
0e339d7a45
[JENKINS-20064]
...
Jenkins now remembers the authorities (read group memberships) that the user had carried when he/she last time interactively logged in.
This information is exposed via User.impersonate(), which is used when using Jenkins SSH, Jenkins CLI, or access via API tokens.
Previously this was impossible for a subset of SecurityRealms that does not allow us to read group membership information without
successful login (such as Active Directory, OpenID, etc.)
For security reasons, if the backend determines that the user does not exist (as opposed to the backend who cannot tell if the user
exists or not), then the impersonation will fail.
I need to check AD plugin is reporting a failure correctly in this case, before marking as JENKINS-20064 fixed.
2014-03-11 14:55:25 -07:00
Kohsuke Kawaguchi
86fcc4733d
added a convenience method.
2014-03-11 14:21:46 -07:00
Kohsuke Kawaguchi
983ee33df1
added a convenience method
2014-03-11 14:12:27 -07:00
Steven Christou
e1272b5859
Merge pull request #1154 from christ66/exposeRun
...
Expose the computer runs and timestamp to api.
2014-03-11 13:52:50 -07:00
CloudBees DEV@Cloud
f488ba8cbb
Merge REMERGE_HEAD into HEAD
2014-03-11 19:39:52 +00:00
Kohsuke Kawaguchi
2dbd6eca7f
[JENKINS-11643]
...
An unexpected failure in processing remember me cookie should be handled
gracefully. In particular, possibly problematic cookie should be
removed, or else the browser will keep bombarding the server with the
same cookie, and will never be able to get through.
It's much better to just drop the cookie.
2014-03-11 12:17:11 -07:00
Kohsuke Kawaguchi
3b477a62ed
Revert "Using the latest and greatest"
...
This reverts commit 816f9d02e6 .
2014-03-11 11:42:31 -07:00
Jesse Glick
967a9aae5c
Revert "Using the latest and greatest"
...
This reverts commit 816f9d02e6 .
builds/62
changes/62
2014-03-11 14:21:10 -04:00
Jesse Glick
fb19139082
Merge branch 'master' of git://github.com/jenkinsci/jenkins
2014-03-11 14:20:38 -04:00
Jesse Glick
fb0ad71b71
Ensure that resolveDependencyJar works for NetBeans compile-on-save (and possibly other IDE’s similar features) even when plugin dependencies are snapshots (possibly in the reactor).
changes/61
2014-03-11 14:15:26 -04:00
Kohsuke Kawaguchi
816f9d02e6
Using the latest and greatest
2014-03-11 10:08:06 -07:00
Kohsuke Kawaguchi
5b81675c6d
added a convenience method
2014-03-11 09:22:27 -07:00
Jesse Glick
b39a779444
Introduced RunMixIn so that Run itself does not have to deal with the details.
2014-03-11 11:11:21 -04:00
Jesse Glick
8f23ee87a3
Renamed type variables for consistency with the names used in Job/Run.
2014-03-11 10:14:46 -04:00
Jesse Glick
c3df857cf0
Replaced job field with asJob().
2014-03-11 10:10:18 -04:00
Jesse Glick
71a29a7bac
Merge branch 'master' into deconstructing-AbstractProject
2014-03-11 09:36:42 -04:00
Oliver Gondža
000b93fe70
Merge pull request #1147 from olivergondza/expose-key-reading
...
Expose PrivateKeyProvider
2014-03-11 12:17:02 +01:00
Olivier Lamy
0d3819bb91
Merge pull request #1155 from msrb/logging
...
Switch to java.util.logging on few places
2014-03-11 21:20:38 +11:00
Michal Srb
86ad82227c
Switch to java.util.logging on few places
2014-03-11 07:57:52 +01:00
christ66
dd27df6805
Add project name and result for run api
2014-03-10 17:54:47 -07:00
Steven Christou
a4c4ed5fda
Merge pull request #1143 from christ66/JENKINS-21969
...
[FIXED JENKINS-21969] Performance issue with search box
2014-03-10 17:47:54 -07:00
Oliver Gondža
63ceab84a5
Test PrivateKeyProvider
2014-03-10 22:21:50 +01:00
christ66
01e35fc9a6
Expose the computer runs and timestamp to api.
2014-03-10 12:17:18 -07:00
Jesse Glick
6aa5ea8c72
The new mixin should also handle Trigger’s.
...
(Left the upstream pseudo-trigger out of this, as it is pretty hackish and might not generalize well—requires Publisher’s to make any sense.)
2014-03-10 14:29:52 -04:00
Daniel Beck
99e080f33a
Fix link to 21773
2014-03-10 17:08:07 +01:00
Kohsuke Kawaguchi
b0f00aa7da
the trunk is toward 1.556-SNAPSHOT
2014-03-10 07:46:48 -07:00
Kohsuke Kawaguchi
4253e75c2c
creating an RC branch
2014-03-10 07:46:43 -07:00
Kohsuke Kawaguchi
c9ead7d868
merged back the RC branch
2014-03-10 07:42:20 -07:00
Kohsuke Kawaguchi
76498deaec
updated changelog as a part of the release
2014-03-10 07:42:18 -07:00
Kohsuke Kawaguchi
3e67bf48ce
updated changelog for release
2014-03-09 23:01:15 -07:00
Kohsuke Kawaguchi
857a229617
[maven-release-plugin] prepare for next development iteration
2014-03-09 22:51:51 -07:00
Kohsuke Kawaguchi
55eb795769
[maven-release-plugin] prepare release jenkins-1.554
jenkins-1.554
2014-03-09 22:51:50 -07:00
Nicolas De loof
32d8a1ee42
Merge pull request #1153 from daniel-beck/UpstreamCause_Improvements
...
Improvements to the UpstreamCause
2014-03-08 21:17:00 +01:00
Daniel Beck
d4ff36b9fc
Improvements to the UpstreamCause
...
* Use model-links with context menu
* Show the display name of the linked job
* If the build isn't available, but the job is, still link to the job
2014-03-08 17:23:01 +01:00
Daniel Beck
410ad80730
Fix terminology used in BuildTrigger conditions
...
If the result needs to be SUCCESS, it needs to be called 'stable',
not 'successful' -- the latter is UNSTABLE or better.
References:
- PermalinkProjectAction (lastStableBuild for SUCCESS,
lastSuccessfulBuild for UNSTABLE or better)
- Last Successful list view column (includes unstable builds),
Last Stable column (doesn't)
2014-03-08 16:34:04 +01:00
Jesse Glick
5b7ece6630
Restore getJobActions(AbstractProject) for compatibility.
2014-03-07 19:38:44 -08:00
Jesse Glick
d1b713a4d8
Renaming the newly introduced method avoids the need for an ambiguous overload.
2014-03-07 19:35:25 -08:00
Jesse Glick
d0c61b0fa5
ParameterizedJobMixIn is stateless.
2014-03-07 19:25:22 -08:00
Jesse Glick
78e0952291
getParameterizedJobMixIn turned out to be unnecessary.
2014-03-07 19:22:18 -08:00
Daniel Beck
7a78a556a5
[JENKINS-21773] Noting merge of #1149
2014-03-07 22:12:44 +01:00
Daniel Beck
843159b4f9
Merge pull request #1149 from adamwolf/JENKINS-21773
2014-03-07 22:09:55 +01:00