Commit Graph
11799 Commits
Author SHA1 Message Date
kohsuke 7556170091 htmlunit is no longer used in the core. Presumably a merge failure
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18930 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 01:36:42 +00:00
kohsuke d5dd4b853c Moving remaining pieces and really removing SVNKit from the core dependency.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18926 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 01:15:20 +00:00
kohsuke a20e6e43ca Because of the tricky license in SVNKit that has a viral effect, I'm moving it out into a separate plugin so that
people can choose to remove it from their distributions.



git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18923 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-16 00:59:11 +00:00
jglick d8bdd39e3d NPE configuring project tied to offline slave.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18917 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 23:38:30 +00:00
kohsuke 04f1dd6712 Don't populate the default value of the Subversion local directory name.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18916 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 20:56:45 +00:00
kohsuke 679ffdee68 Implemented more intelligent polling assisted by <tt>commit-hook</tt> from SVN repository.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18915 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 20:44:56 +00:00
kohsuke 7b7d126945 avoid using deprecated methods
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18914 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 20:27:44 +00:00
swiest a3c0a1c012 Renamed file to follow the convention of spelling the country part of a locale in uppercase letters (here: "BR" instead of "br").
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18913 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 18:38:19 +00:00
swiest 87c74f108e Renamed file to follow the convention of spelling the country part of a locale in uppercase letters (here: "BR" instead of "br").
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18912 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-15 18:36:48 +00:00
kohsuke 5d613a9319 typo
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18905 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 18:46:47 +00:00
kohsuke f5d4856b5c cancel out the effect of buffering done by JDK
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18904 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 18:46:38 +00:00
kohsuke 73b503bf67 C&P error
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18903 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 17:35:54 +00:00
kohsuke 00cf9f432f copy a file with permissions
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18899 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 16:04:36 +00:00
kohsuke 97d0c902a4 integrated SVNKit 1.3.0-hudson-1
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18897 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-14 15:38:54 +00:00
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 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 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
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 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
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 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 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
samngms 9af90276b6 hudson.scm.ChangeLogSet.Entry.getAffectedFiles() changed to return Collection<? extends AffectedFile> instead of Collection<AffectedFile>
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18733 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-08 10:18:17 +00:00
mindless fe9b035b2d [FIXED HUDSON-2110] Improved validation and help text regarding when number of
executors setting may be zero.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18731 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-07 17:29:03 +00:00
mindless a7ac4b050a [FIXED HUDSON-3092] Call updateComputerList() at end of doConfigSubmit so a change
in number of executors for master node takes effect immediately.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18730 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-06 22:51:59 +00:00
samngms 3f4f8292e9 Add getAffectedFile() and related interfaces in hudson.scm.ChangeLogSet.Entry
Both CVS and SVN are updated to support this new API

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18697 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-03 12:07:55 +00:00
sogabe 336941bc3d 18N & L10N(ja)
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18696 71c3de6d-444a-0410-be80-ed276b4c234a
2009-06-03 11:37:23 +00:00