Commit Graph
17505 Commits
Author SHA1 Message Date
Kohsuke Kawaguchi 521d05d53d Cherry-picking c6acb5b8d5 2012-03-01 18:56:24 -08:00
Kohsuke Kawaguchi 794cc76676 [JENKINS-11618] backporting the fix here.
I actually applied the diff from
6904bb61e31595b70260840937114e79a646da5d in keyboard-shortcuts-plugin
2012-03-01 18:50:05 -08:00
Kohsuke Kawaguchi 8009dccfb0 Imported prestine 1.7
... from
https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js
prototype-1.7
2012-03-01 18:48:37 -08:00
Kohsuke Kawaguchi 9a2891057d Imported prestine 1.5.1.1
... from http://www.prototypejs.org/assets/2007/6/20/prototype.js
prototype-1.5.1.1
2012-03-01 18:47:48 -08:00
Kohsuke Kawaguchi 8129412155 follow up fix to c51114a197.
This still is slightly more robust than the original in the sense that it's not affected by the presence/absence of the trailing '/' in itUrl.

----------------------
Comment from @ohtake:

getContextPath() will return "" if Jenkins is served at ROOT.

Assume that getContextPath() => "", itUrl => "iturl" and urlName => "urlName",
value returned was "/iturl/urlName", but is "iturl/urlName" (no slash at 0).
2012-03-01 18:22:36 -08:00
Kohsuke Kawaguchi a296b00059 [SECURITY-24] Exponential back-off of retry.
If we fail to obtain the update center metadata, don't keep retrying
every 15 seconds, but use exponential time out to avoid overloading
our server in case of a problem.
2012-03-01 18:12:38 -08:00
Kohsuke Kawaguchi 74b6a5a084 Detect Windows reserved words as package names. 2012-03-01 18:11:58 -08:00
dty d6a92f37f9 Change AbstractProject.getCauseOfBlockage to block builds until they are
done with post-production (as opposed to just done with build steps). Jobs
that had long running tasks that occured in their post-production state, i.e.,
build wrappers, post-build steps, could get into the situation where a queued
build would start running on an executor while the previous build was still
running post-build actions. If the two executors shared the same workspace,
the new build could delete information with a clean that the current build
still needed for processing.

- Changed AbstractProject.getCauseOfBlockage() to call isLogUpdated instead
  of isBuilding.

   core/src/main/java/hudson/model/AbstractProject.java

- Added isLogUpdated.

   core/src/main/java/hudson/model/Job.java

- Added test case.

   test/src/test/java/hudson/model/JobQueueTest.java

- Change log

   changelog.html
2012-03-01 13:58:40 -08:00
Alex Lehmann e1ea7ddb96 Merge branch 'master' of github.com:alexlehm/jenkins 2012-03-01 22:49:52 +01:00
Alex Lehmann 8b6089b605 Mention reverse proxy issues on javadoc for getRootUrlFromRequest 2012-03-01 22:48:53 +01:00
Kohsuke Kawaguchi 7bf8e8e894 Merge branch 'rc' 2012-02-29 18:51:32 -08:00
Kohsuke Kawaguchi f414de014b Switching to repo.jenkins-ci.org
Repository on our domain name would allow us to control redirection
better.

maven.glassfish.org being down makes this issue a higher priority.
This is a permanent change --- even if m.g.o is back we won't be
going back.
2012-02-29 18:50:17 -08:00
Kohsuke Kawaguchi 4268881f74 more prototype navigation 2012-02-29 18:11:48 -08:00
Kohsuke Kawaguchi 5c5b4c8245 Used prototype element navigation to deal with whitespace between elements.
Jelly/Groovy views don't do this, but erb views from Ruby often do it,
so better be robust. This is breaking J-on-J currently.
2012-02-29 16:16:27 -08:00
Kohsuke Kawaguchi 0c1f8e2f20 Added a test case. 2012-02-29 15:23:21 -08:00
Kohsuke Kawaguchi 660c0f6e61 Added programmatic config.xml submission/retrieval support. 2012-02-29 15:23:21 -08:00
Kohsuke Kawaguchi d90976786d LoadBalancer we put needs to be sanitized 2012-02-29 15:23:21 -08:00
Kohsuke Kawaguchi c188f11698 using IoC 2012-02-29 15:23:21 -08:00
Kohsuke Kawaguchi f19678d083 exposing major singletons to IoC 2012-02-29 15:23:20 -08:00
Vojtech Juranek a77011e09e Remove unnecessary interface, which can be confusing 2012-02-29 10:54:01 +01:00
Kohsuke Kawaguchi dddcc7639e went through all <A>s and converted them to model links where applicable 2012-02-28 21:04:13 -08:00
Kohsuke Kawaguchi b6448290b1 Create and throw away IFRAME to make back button work.
At least now the back button won't trigger the drop-down notification.
2012-02-28 20:18:12 -08:00
Kohsuke Kawaguchi 17d9b6258f adding UI sample for the context menu integration 2012-02-28 18:05:48 -08:00
Kohsuke Kawaguchi 10a7e34f73 should define context menu 2012-02-28 17:22:07 -08:00
Kohsuke Kawaguchi c51114a197 made the path comuptation more robust 2012-02-28 17:21:43 -08:00
Kohsuke Kawaguchi 5009f94731 Added a new UI sample that highlights additional items in the breadcrumb. 2012-02-28 17:07:11 -08:00
Kohsuke Kawaguchi f4a89dce2c I changed where ".items" are added.
It was formerly on <LI> but now it's on <A> as we now allow bare <A>s to
have context menus.
2012-02-28 17:06:37 -08:00
Kohsuke Kawaguchi 959363b94b 999 was the same as the breadcrumb and it was put behind it 2012-02-28 16:26:24 -08:00
Kohsuke Kawaguchi 709a0e14a1 adding more model links 2012-02-28 16:17:52 -08:00
Kohsuke Kawaguchi e778bec9fc hide/show time lag seems to create a frustrating situation where:
1. you hover over the <a> tag
2. context menu displays
3. you try to move the mouse over to the menu
4. menu disappears
5. you can't click the menu *frustration*
2012-02-28 16:09:26 -08:00
Kohsuke Kawaguchi a824d8a681 Adding a delay to show the menu.
This hopefully avoids showing menus when the user didn't intend to see
them
2012-02-28 16:05:13 -08:00
Kohsuke Kawaguchi 8f79492fbf Added navigation menus to general links.
In this change, I've added it to various links in the list view to get
the sense of how it feels like.
2012-02-28 15:21:18 -08:00
Kohsuke Kawaguchi 95fa53c44c Adjusted the error handling responsibility.
So that parameter definitions can define optional parameters.
2012-02-28 14:57:54 -08:00
Andrew Melo 8c51d26921 Fixing GET/POST requests 2012-02-28 14:53:53 -08:00
Kohsuke Kawaguchi ee26706e09 updated test to reflect changes in breadcrumb structure 2012-02-28 14:39:04 -08:00
Kohsuke Kawaguchi 8dadb64729 deal with whitespace better 2012-02-28 14:32:02 -08:00
Kohsuke Kawaguchi 0dc5a7bf67 using the latest 2012-02-28 09:49:08 -08:00
Kohsuke Kawaguchi 38adf8df3b Recording the merge of the breadcrumb branch. 2012-02-28 04:10:44 -08:00
Kohsuke Kawaguchi 44a20e7d02 Merge branch 'breadcrumb' 2012-02-28 04:09:26 -08:00
Kohsuke Kawaguchi c690b1fb2a Fixed a compatibility issue with IE.
(and replaced custom event addition with simpler one from Prototype)
2012-02-28 20:26:16 +09:00
Kohsuke Kawaguchi e19c756ccf fixing bugs by monkey-testing it with Firefox 2012-02-28 19:58:55 +09:00
Vojtech Juranek 105c5732e7 Added changelog record for 7bdc179016 2012-02-28 10:56:54 +01:00
Vojtech Juranek 7bdc179016 [FIXED JENKINS-12302] Refactor anonymout class for loading groovy script into separate class as static block (due to inheritance of outer class from CLICommand) initialization leads to NPE (namely in Jenkins.getInstance Jenkins.getInstance().getPluginManager()) 2012-02-28 10:49:12 +01:00
Kohsuke Kawaguchi 8bd73307bb Created a tag that adds in-page navigation to sections 2012-02-28 11:15:28 +09:00
Kohsuke Kawaguchi b946ab7a23 Made more robust in the face of possible whitespace. 2012-02-28 11:08:41 +09:00
Kohsuke Kawaguchi fd251de507 hooking up in-page navigation menu 2012-02-28 11:01:37 +09:00
Kohsuke Kawaguchi 707490aee3 Use a smaller time out.
On iptables protected system, full time out can take 30 secs, which is
too long.
2012-02-27 13:22:54 -08:00
Kohsuke Kawaguchi 76d9a1fea2 the trunk is toward 1.454-SNAPSHOT 2012-02-27 10:34:12 -08:00
Kohsuke Kawaguchi 25340cab11 creating an RC branch 2012-02-27 10:34:08 -08:00
Kohsuke Kawaguchi 667f9cb199 merged back the RC branch 2012-02-27 09:21:28 -08:00