Commit Graph
404 Commits
Author SHA1 Message Date
Pei-Tang Huang 717d19a1e8 Fix typo.
Update translation.
2013-03-04 16:59:11 +08:00
Pei-Tang Huang 94ae0fe63b Align Traditional Chinese translation with commit
d62e95a976.
2013-02-28 00:45:39 +08:00
vjuranek ec1b6b31bb Merge pull request #720 from petehayes/master
Add run display name as an environment variable when RunParameter is used as a parameter.
2013-02-27 06:50:16 -08:00
Peter Hayes d62e95a976 Run Parameter's will now contribute an environment variable for the
target run's display name.

The environment variable will be named <PARAM_NAME>_NAME and will
contain the display name of the target build.
2013-02-25 13:40:01 -05:00
Pei-Tang Huang 427726b85f Add/update Chinese (traditional) translation. 2013-02-20 12:57:44 +08:00
beta ba04edcc8c Merge branch 'master' of https://github.com/jenkinsci/jenkins
Conflicts:
	core/src/main/resources/jenkins/model/Jenkins/help-rawBuildsDir.html
	core/src/main/resources/jenkins/model/Jenkins/help-rawWorkspaceDir.html
2013-02-18 20:22:06 +08:00
Kohsuke Kawaguchi acd9f2c040 Merge branch 'master' of github.com:jenkinsci/jenkins 2013-02-16 11:40:51 -08:00
Kohsuke Kawaguchi 9e68fed9fe merged back the RC branch
Conflicts:
	core/src/main/java/jenkins/model/Jenkins.java
	test/src/test/java/hudson/bugs/JnlpAccessWithSecuredHudsonTest.java
2013-02-16 11:40:16 -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 7338dcc01a [JENKINS-15918] Adding some detail of the Environment variables created 2013-02-16 10:21:15 -08:00
Kohsuke Kawaguchi 4c52ddfe14 [FIXED SECURITY-46]
(cherry picked from commit f8d2a0ba6c)
2013-02-13 15:30:31 -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 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
beta 246227e875 Fix paragraphing. 2013-01-29 11:39:16 +08:00
Harald Albers f18fa7ebe1 clarified English help
The help message was uninformative about the impact of this setting on
job execution.
2012-12-29 19:42:46 +01:00
Harald Albers 08c574a4b1 German translation for GlobalProjectNamingStrategyConfiguration 2012-12-29 19:42:46 +01:00
Jesse Glick 1f94f6efd4 Reworked UnprotectedRootAction display to be in configure page for better discoverability and possibility of support from reverse-proxy-auth-plugin. 2012-12-10 13:29:37 -05:00
Kohsuke Kawaguchi 148ed0d480 Merge branch 'pull-628' 2012-12-09 06:07:12 -08:00
Kohsuke Kawaguchi 215e22576f Minor tweaks
- All our other icons do not have bounding boxes, so let's follow that
  scheme as well.
- Changed the name to "Configure Global Security" to make it clear that
  this is a part of the configuration.
2012-12-08 16:41:26 -08:00
Jesse Glick 18e4e97e86 LegacySecurityRealm.getUnprotectedRootActions 2012-12-07 13:30:21 -05:00
Jesse Glick 25cc5a87e8 Minor edits. 2012-12-07 13:07:51 -05:00
Kohsuke Kawaguchi a2a398ed0c merge the tooltip to the context menu 2012-12-06 08:54:29 -08:00
imod 1b8048cefa cleanup text and images 2012-11-25 15:48:27 +01:00
Kohsuke Kawaguchi d7b59bfc7d Fixed a regression introduced by pull request #606 2012-11-13 12:26:38 -08:00
Nicolas De loof 4e8dcbe6d7 Merge pull request #606 from ndeloof/maven-settings2
inverse maven-plugin -> config-file-provider dependency
2012-11-08 23:52:54 -08:00
imod edd6841644 minor changes from pull feedback 2012-11-05 18:34:02 +01:00
imod 2c977c79ea add help 2012-11-04 11:26:30 +01:00
Cliffano Subagio feba7ddd9e Add note on multiple patterns.
As recommended on this old mailing list thread http://jenkins.361315.n4.nabble.com/Multiple-test-reports-td380558.html . Which I found after Googling for a hint on specifying multiple Jenkins JUnit reports.
2012-11-01 18:44:34 +11:00
Kohsuke Kawaguchi 1c578ab554 [FIXED JENKINS-15617]
execScript cannot return value [1], so I'm restricting its use to where
we don't care about the return value. See ticket for more discussions

[1] http://msdn.microsoft.com/en-us/library/ie/ms536420(v=vs.85).aspx
2012-10-26 19:20:34 -07:00
Jesse Glick 52274032e3 addLoadEvent failed to pass on the Event object.
Does not matter for any handlers used in Jenkins, but can break third-party frameworks.
In particular mixpanel-2.1.min.js seems to detect when this mistake is made and somehow disables some Jenkins handlers,
causing e.g. “LOADING” to stay on job config pages and breaking behavior.js (but only on Firefox).

Using addEventListener/attachEvent where available also works, but this fix is a bit simpler and more general.
https://gist.github.com/1930440 would also work but again seems like overkill here.

To reproduce:
diff --git a/core/src/main/resources/lib/layout/layout.jelly b/core/src/main/resources/lib/layout/layout.jelly
index 1fb3fec..c1337c4 100644
--- a/core/src/main/resources/lib/layout/layout.jelly
+++ b/core/src/main/resources/lib/layout/layout.jelly
@@ -88,6 +88,19 @@ ${h.initPageVariables(context)}
 <x:doctype name="html" />
 <html>
   <head>
+<script type="text/javascript"><![CDATA[
+(function(c,a){window.mixpanel=a;var b,d,h,e;b=c.createElement("script");
+    b.type="text/javascript";b.async=!0;b.src=("https:"===c.location.protocol?"https:":"http:")+
+    '//cdn.mxpnl.com/libs/mixpanel-2.1.min.js';d=c.getElementsByTagName("script")[0];
+    d.parentNode.insertBefore(b,d);a._i=[];a.init=function(b,c,f){function d(a,b){
+    var c=b.split(".");2==c.length&&(a=a[c[0]],b=c[1]);a[b]=function(){a.push([b].concat(
+    Array.prototype.slice.call(arguments,0)))}}var g=a;"undefined"!==typeof f?g=a[f]=[]:
+    f="mixpanel";g.people=g.people||[];h=['disable','track','track_pageview','track_links',
+    'track_forms','register','register_once','unregister','identify','name_tag',
+    'set_config','people.identify','people.set','people.increment'];for(e=0;e<h.length;e++)d(g,h[e]);
+    a._i.push([b,c,f])};a.__SV=1.1;})(document,window.mixpanel||[]);
+    mixpanel.init("…something valid here…");
+]]></script>
     ${h.checkPermission(it,permission)}

     <title>${h.appendIfNotNull(title, ' [Jenkins]', 'Jenkins')}</title>
2012-10-26 20:03:03 -04:00
Kohsuke Kawaguchi 5aca73f183 [JENKINS-15617]
This needs to be eval, not geval.
Plus I forgot to return the value.
2012-10-24 18:49:00 -07:00
Kohsuke Kawaguchi 51f508ba37 [FIXED JENKINS-15617]
Evaluate script in global context.
See http://perfectionkills.com/global-eval-what-are-the-options/ for how
to evaluate JavaScript in global context.
2012-10-24 17:41:20 -07:00
Kohsuke Kawaguchi 18561d5f24 Revert "1.486 special for a week."
This reverts commit c8e5cb93ec.
2012-10-25 03:02:23 +09:00
Jesse Glick d9ba4814f9 Removing stale references to dev.java.net. 2012-10-18 10:29:14 -04:00
Kohsuke Kawaguchi 6ea1b8c7ee merged back the RC branch 2012-10-14 18:26:14 -07:00
Kohsuke Kawaguchi c8e5cb93ec 1.486 special for a week. 2012-10-12 18:31:14 -07:00
Jesse Glick 8dbee911c3 [FIXED JENKINS-15494] Uncaught TypeError: Cannot read property 'firstChild' of null 2012-10-12 15:58:06 -04:00
Jesse Glick 06514d2517 [JENKINS-15206] Fixed up some remaining references to /people and introduced a redirect page.
Thanks to newenigma for catching.
2012-10-04 11:10:29 -04:00
Kohsuke Kawaguchi 7b9066267c making error detection easier 2012-09-28 13:55:51 -07:00
Jesse Glick 5c5bfeb099 @since 2012-09-18 20:10:25 -04:00
Jesse Glick f610c71549 ts_refresh was much harder than I thought. 2012-09-18 19:57:46 -04:00
Jesse Glick c6f17d097e ts_refresh 2012-09-18 19:06:23 -04:00
Kohsuke Kawaguchi bc9ae609f6 need to send in the query parameters as well 2012-09-13 11:23:51 -07:00
Kohsuke Kawaguchi f3701da9e2 [JENKINS-15105]
Prefer the postMessage version to retrieve the metadata so that we can leave the existing JSON format as-is for backward compatibility with pre-1.424 Jenkins.
2012-09-11 19:08:12 -07:00
Kohsuke Kawaguchi 8db3263e2b submit ID to the server so that smart servers can know what IDs to put into JSON 2012-09-07 14:17:19 -07:00
Kohsuke Kawaguchi 285a508b25 improve the error handling 2012-09-07 14:12:26 -07:00
Jesse Glick 20a5daa347 Unclear whether 'function() {...}();' is syntactically valid (works in Chrome & HtmlUnit tests) or whether we need '(function() {...})();' as Rhino seems to demand and various other scripts use. 2012-08-22 19:49:31 -04:00
Jesse Glick 951f048bc1 Continuing c9cf3b6, retain jenkinsRule but empty as a placeholder, and register its rules in the new way.
Registering them with increasing positions, since there seems to be some implicit order dependency involving TR.rowvg-start.
2012-08-22 18:51:32 -04:00
Jesse Glick 0f36c5321a Make 'storage' truly private, so we never again have people trying to directly edit this struct. 2012-08-22 15:53:46 -04:00
Jesse Glick d75daef964 TAB -> spaces 2012-08-21 22:16:59 -04:00