Jesse Glick
17c4c1f507
[FIXED JENKINS-22131] Merged deconstructing-AbstractProject branch from #1146 .
2014-03-14 13:33:44 -04:00
Jesse Glick
2b6726290d
Merge branch 'deconstructing-AbstractProject'
2014-03-14 13:29:11 -04:00
Jesse Glick
28710f7874
Reverting #1154 (superseding #1159 ).
...
There seems to be no way to export this over the REST API without incurring serious performance penalties.
2014-03-14 09:57:05 -04:00
Jesse Glick
8da19c833c
Merge pull request #1152 from daniel-beck/BuildTrigger_terminology
...
Fix terminology used in BuildTrigger conditions
2014-03-14 09:36:45 -04:00
Harald Albers
a77b96a113
Merge pull request #1158 from phoenix384/patch-1
...
Added some missing German translations
2014-03-14 09:22:49 +01:00
Kohsuke Kawaguchi
38ae112093
LastGrantedAuthoritiesProperty was missing a descriptor
2014-03-13 15:42:25 -07:00
phoenix384
5827f6069d
Added some missing German translations
2014-03-13 22:32:41 +01:00
phoenix384
c25c223ace
Added some missing German translations
2014-03-13 22:25:53 +01:00
Jesse Glick
5a01c0b7c5
Merge branch 'master' into deconstructing-AbstractProject
2014-03-13 10:37:21 -04:00
Kohsuke Kawaguchi
ce7e6390ee
Adding the reload job functionality
2014-03-12 18:18:17 -07:00
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
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
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
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
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
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
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
Kohsuke Kawaguchi
b0f00aa7da
the trunk is toward 1.556-SNAPSHOT
2014-03-10 07:46:48 -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
843159b4f9
Merge pull request #1149 from adamwolf/JENKINS-21773
2014-03-07 22:09:55 +01:00
Jesse Glick
9f19ae91f7
Introduced ParameterizedJobMixIn so that non-AbstractProject’s can use ParametersDefinitionProperty.
2014-03-07 11:44:28 -08:00
Jesse Glick
bb2100c84f
The concurrentBuild field is defined in AbstractProject (at least for now) so that is where its help should live.
2014-03-07 10:09:47 -08:00
Stephen Connolly
483181c0a1
[FIXED JENKINS-22080] Braindead logic in author of original fix... corrected by same author
2014-03-07 15:29:21 +00:00
Stephen Connolly
f9b0f348d0
[FIXED JENKINS-22080] NPE if trying to install a plugin from the update center and either the update source or the plugin contains a '.' in its name
2014-03-07 15:26:06 +00:00
Jesse Glick
dee334fb0a
Cannot initialize selfReference until getId() is correct.
2014-03-05 20:04:49 -08:00
Jesse Glick
d3c02465f0
For binary compatibility must continue to override getPrevious/NextBuild in AbstractBuild.
2014-03-05 19:33:56 -08:00
Jesse Glick
f024f59058
Making RunMap work properly for non-AbstractProject-based jobs using lazy loading.
...
JENKINS-22052 is not fixed by this for existing Job types like ExternalJob which still do not use lazy loading.
2014-03-05 16:24:02 -08:00
Adam Wolf
432d07bfdb
JENKINS-21773: Fixed sidepanel Up link for multiaxis jobs.
2014-03-05 16:55:32 -06:00