Commit Graph

7079 Commits

Author SHA1 Message Date
kohsuke 26971784d5 added a convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18896 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 15:21:24 +00:00
kohsuke 9546fd2c75 refactored for a better reusability
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18894 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 15:00:30 +00:00
kohsuke 76910a1b9b [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18893 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 14:58:49 +00:00
kohsuke 853bb888eb [maven-release-plugin] prepare release hudson-1_310
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18891 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 14:58:38 +00:00
kohsuke 380b60b8f8 PipedInputStream/OutputStream has a design problem.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18888 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 21:42:00 +00:00
kohsuke d232a10734 release the upload side even if this ends abnormally
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18887 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 21:29:08 +00:00
kohsuke c9f1c859a9 makepkgs appear to be incompatible with Python 2.6
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18886 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 21:24:24 +00:00
kohsuke f1471e18db [maven-release-plugin] rollback the release of hudson-1_310
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18885 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 21:23:53 +00:00
kohsuke 87ff7c05b2 makepkgs appear to be incompatible with Python 2.6
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18884 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 21:23:26 +00:00
kohsuke d0d54a69a6 The PipedInputStream/OutputStream combo has a serious performance problem in it. Namely, the writer doesn't wake up the reader when it writes new data, and instead it relies on the wait(1000) call on the reader side to notice new data.
This means it can have up to 1 sec latency for new data to be picked up. We should replace all the use of PipedIn/OutStream by something else that works.

In this instance, I tweaked the code so that it doesn't go through a pipe. This assumes that the servlet container allows a different thread to drain InputStream.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18883 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 21:22:12 +00:00
kohsuke f96c22deaf [maven-release-plugin] rollback the release of hudson-1_310
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18880 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 18:08:54 +00:00
kohsuke 15961013a8 JDK6 dependency
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18879 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 18:08:42 +00:00
kohsuke 45764c8c90 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18878 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 17:53:26 +00:00
kohsuke a8cf1f8b1e [maven-release-plugin] prepare release hudson-1_310
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18876 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 17:53:14 +00:00
kohsuke 4848c6bfaa makepkgs appear to be incompatible with Python 2.6
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18875 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 17:35:38 +00:00
kohsuke 1351dba271 [maven-release-plugin] rollback the release of hudson-1_310
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18874 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 16:35:54 +00:00
kohsuke 1513a0302d Python 2.6 appears to be incompatible with makepkgs tooling, so forcing 2.5
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18873 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-13 16:31:02 +00:00
sogabe 3e5d76c30a Added Japanese localization(CSRF).
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18871 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 23:59:48 +00:00
dty b719e7572c Fix typo.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18870 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 23:11:42 +00:00
kohsuke 3497535129 one more convenience method
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18869 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 23:00:59 +00:00
kohsuke bcfa18c93e this works better with arbitrary Task/Executable implementation
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18866 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 22:49:36 +00:00
kohsuke e4f025f264 bug fix
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18865 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 22:42:38 +00:00
kohsuke 47cba7244a error message should indicate why it failed
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18864 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 22:42:28 +00:00
kohsuke ea3f5359a8 Must be a missing '%'
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18863 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 22:27:55 +00:00
kohsuke 10af42fb8a every <form> automatically gets the crumb value in the hidden field now, so no need for adding a separate tag.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18862 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 22:26:11 +00:00
kohsuke 816dc8fbfb pushing crumb support up into Prototype.js
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18861 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 22:07:19 +00:00
kohsuke 1ca425de40 pushing crumb support up into Prototype.js
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18860 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 22:00:12 +00:00
kohsuke f298126eff simplifying by using the crumb structure available in JavaScript
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18859 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 21:53:22 +00:00
kohsuke 5f34c0d881 simplifying
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18858 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 21:44:49 +00:00
kohsuke 7ce44ac237 passing in executor from outside so that it works with arbitrary Task implementations better
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18857 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 21:24:49 +00:00
dty ca3420c1e5 Simplify configuration of crumbs (in the UI) and programmatic usage from
hudson-behavior.js.

- Default crumb descriptor no longer presents any configuration UI. If a user
  wants to change the crumb field name, that is now done through a system
  property, hudson.security.csrf.requestfield.

- Default crumb issuer uses the Hudson secret key as the salt, so this no longer
  needs to be a configuration option.

- layout.jelly initializes a crumb structure in hudson-behavior.js so that
  Javascript functions can have access to this information without need it
  passed in by the caller.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18856 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 21:04:23 +00:00
jheymans 009023e6ae fix for weblogic zip:/ prefix so that Hudson deploys on Weblogic 10.3
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18855 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 20:38:27 +00:00
kohsuke 194e39cad5 documenting that toString() is used for UI rendering. I should probably have getDisplayName() instead.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18854 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 19:15:23 +00:00
kohsuke 509950e9af Fixed a bug in CLI where the state of command executions may interfere with each other.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18852 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 19:12:35 +00:00
kohsuke 3c0516f146 this happens if the crumb is not configured, so tone down the error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18851 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 19:08:35 +00:00
kohsuke f2cb5d7360 Enhanced Queue so that the completion of a task can be tracked more reliably via Future.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18850 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 18:57:45 +00:00
sogabe d487dcf35a Fixed wrong Japanese localization.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18844 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 16:33:07 +00:00
kohsuke 531c606c5d added a transient task support
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18837 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 01:42:22 +00:00
kohsuke f84a7a5e9a doc improvement
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18835 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 01:06:27 +00:00
kohsuke a63bdef0a4 Added a CLI command to copy a job.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18834 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-12 01:04:26 +00:00
kohsuke 716f50991b [FIXED HUDSON-3799] Fix for performance problem in FilePath.copyRecursiveTo() over the network.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18816 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-11 22:38:00 +00:00
kohsuke a29302fcf0 creating a new RC branch
git-svn-id: https://hudson.dev.java.net/svn/hudson/branches/rc@18784 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-11 01:19:27 +00:00
kohsuke 362763ae98 tweaking the log message further
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18764 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-10 04:58:57 +00:00
kohsuke c418141051 tone down the log output if the file is not rearchived
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18763 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-10 04:58:07 +00:00
kohsuke 6295aac1f0 Fixed cross-site scripting vulnerabilities, thanks to Steve Milner.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18760 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-10 00:53:58 +00:00
kohsuke af1f76f483 Added a CLI command to clear the job queue.
(<a href="http://www.nabble.com/cancel-all--td23930886.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18748 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 17:37:35 +00:00
kohsuke 0557c9f27d NPE fix in the remote API if @xpath is used without @exclude.
(<a href="http://www.nabble.com/Adding-Remote-API-support-to-findbugs-and-emma-plugins-td23819499.html">patch</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18747 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 17:21:21 +00:00
dty 8c4e97d171 Merge in changes that implement the cross-site request forgery crumb feature.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18738 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 07:09:02 +00:00
kohsuke fa48bd2252 Didn't work if FileFilter is from a plugin: http://www.nabble.com/FilePath-list%28FileFilter%29-Probelm-with-slaves-td23856576.html
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18736 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-09 01:19:04 +00:00
kohsuke 812e1ce632 Merged revisions 18577,18603,18608,18610,18614 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/rc

........
  r18577 | kohsuke | 2009-05-29 15:13:16 -0700 (Fri, 29 May 2009) | 1 line
  
  bug fix as pointed out by Tom.
........
  r18603 | kohsuke | 2009-05-30 15:11:36 -0700 (Sat, 30 May 2009) | 3 lines
  
  HtmlUnit added a substantial amount of dependencies (5MB or so), plus its dependency to NekoHTML, which in turn depends on Xerces, makes deployment problematic on JBoss.
  
  Integrated a reimplementation of JDK auto installer which doesn't use HtmlUnit.
........
  r18608 | kohsuke | 2009-05-31 09:04:35 -0700 (Sun, 31 May 2009) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_309
........
  r18610 | kohsuke | 2009-05-31 09:04:45 -0700 (Sun, 31 May 2009) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........
  r18614 | kohsuke | 2009-05-31 09:35:29 -0700 (Sun, 31 May 2009) | 1 line
  
  updated changelog as a part of the release
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18735 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-08 21:23:56 +00:00