mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-05 16:15:54 +00:00
Merge branch 'master' into keyboard-shortcut-animation
This commit is contained in:
99 files changed
+867
-944
No files matched your search
@@ -380,7 +380,7 @@ public class Functions {
|
||||
}
|
||||
|
||||
/**
|
||||
* @since TODO
|
||||
* @since 2.475
|
||||
*/
|
||||
public static RunUrl decompose(StaplerRequest2 req) {
|
||||
List<Ancestor> ancestors = req.getAncestors();
|
||||
@@ -611,7 +611,7 @@ public class Functions {
|
||||
}
|
||||
|
||||
/**
|
||||
* @since TODO
|
||||
* @since 2.475
|
||||
*/
|
||||
public static Cookie getCookie(HttpServletRequest req, String name) {
|
||||
Cookie[] cookies = req.getCookies();
|
||||
@@ -634,7 +634,7 @@ public class Functions {
|
||||
}
|
||||
|
||||
/**
|
||||
* @since TODO
|
||||
* @since 2.475
|
||||
*/
|
||||
public static String getCookie(HttpServletRequest req, String name, String defaultValue) {
|
||||
Cookie c = getCookie(req, name);
|
||||
@@ -754,7 +754,7 @@ public class Functions {
|
||||
* This is used to determine the "current" URL assigned to the given object,
|
||||
* so that one can compute relative URLs from it.
|
||||
*
|
||||
* @since TODO
|
||||
* @since 2.475
|
||||
*/
|
||||
public static String getNearestAncestorUrl(StaplerRequest2 req, Object it) {
|
||||
List list = req.getAncestors();
|
||||
@@ -982,7 +982,7 @@ public class Functions {
|
||||
}
|
||||
|
||||
/**
|
||||
* @since TODO
|
||||
* @since 2.475
|
||||
*/
|
||||
public static void adminCheck(StaplerRequest2 req, StaplerResponse2 rsp, Object required, Permission permission) throws IOException, ServletException {
|
||||
// this is legacy --- all views should be eventually converted to
|
||||
@@ -1014,7 +1014,7 @@ public class Functions {
|
||||
/**
|
||||
* Infers the hudson installation URL from the given request.
|
||||
*
|
||||
* @since TODO
|
||||
* @since 2.475
|
||||
*/
|
||||
public static String inferHudsonURL(StaplerRequest2 req) {
|
||||
String rootUrl = Jenkins.get().getRootUrl();
|
||||
@@ -2133,7 +2133,7 @@ public class Functions {
|
||||
}
|
||||
|
||||
/**
|
||||
* @since TODO
|
||||
* @since 2.475
|
||||
*/
|
||||
public static String getCrumb(StaplerRequest2 req) {
|
||||
Jenkins h = Jenkins.getInstanceOrNull();
|
||||
@@ -2329,7 +2329,7 @@ public class Functions {
|
||||
/**
|
||||
* Called from renderOnDemand.jelly to generate the parameters for the proxy object generation.
|
||||
*
|
||||
* @since TODO
|
||||
* @since 2.475
|
||||
*/
|
||||
@Restricted(NoExternalUse.class)
|
||||
public static StaplerRequest2.RenderOnDemandParameters createRenderOnDemandProxyParameters(JellyContext context, String attributesToCapture) {
|
||||
|
||||
Reference in new issue
Block a user