Commit Graph
199 Commits
Author SHA1 Message Date
kohsuke 81e1b68c7a behavior rules need to be set for the inserted HTML.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@31317 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-24 22:32:44 +00:00
mindless c1cd42f0f1 [FIXED HUDSON-6496] use more specific css class name.. "loading" conflicted with YUI,
causing missing data display in analysis plugins, using yui tabview.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30918 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-11 17:17:45 +00:00
mindless d3ce6eadc4 abort form submission if there's an exception in buildFormTree.
submit will just result in 500 error since json data is missing, and
people report issues about that, sometimes missing the javascript error causing it.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30720 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-04 20:37:00 +00:00
mindless 7f5b9ab24c [FIXED HUDSON-6424] Add workaround for Opera 10.52/53 bug causing
error in saving job configuration.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30716 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-04 20:22:05 +00:00
mindless a84d7dcfca provide visual indication on job configure page of when behavior rules
have been applied and the form is ready to be used..


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30681 71c3de6d-444a-0410-be80-ed276b4c234a
2010-05-03 22:47:01 +00:00
mindless 4d61a06045 As instructed by injected test, use <label class="attach-previous">
instead of <label for=...>
Also added null check in javascript for attach-previous,
and fixed typo in error message from injected test.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30582 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-30 22:45:15 +00:00
kohsuke 5030b6f89a A hack to make some of the unit tests happy. I can see why the console check is wrong, but YUI should be always loaded.
When I get a chance, I'll come back to this later.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30527 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 22:51:44 +00:00
kohsuke 00e75f1e41 console is undefined in HtmlUnit, so we need a guard.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30490 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-29 18:55:55 +00:00
mindless 0a016f30fb [FIXED HUDSON-5927] apply patch from fcamblor to allow forms with an existing
onsubmit handler; Hudson will now extend that rather than replace it.
Patch also fixes handling of "no-json" class on a form.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30456 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-28 19:12:51 +00:00
kohsuke 5c339d5040 @nameRef is a mechanism to designate a different parent, so it needs to be in the different branch of if/then/else from e=e.parentNode.
I realize that this is a risky change, so I need to pay attention to the regerssions caused by this.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30449 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 23:43:23 +00:00
kohsuke b0f664dfcf improved construction of query string.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30447 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 21:09:40 +00:00
kohsuke 715829adaa Use the version of the each that doesn't have the catch block, which makes the debugging harder.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30444 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-27 19:59:31 +00:00
kohsuke f672a29cd5 adding a UI sample for dynamic combo box.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30360 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-23 20:05:12 +00:00
mindless d610230463 Handle http error responses more gracefully for field validators and f:validateButton.
Just show "ERROR" and show full error response only when this is clicked.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@30304 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-21 23:35:56 +00:00
mindless 0cd23f0ea6 Make f:dropdownList work in repeatable content, such as a build step.
Removed uses of element ids and moved initialization into hudson-behavior rules.
Added unit test.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29987 71c3de6d-444a-0410-be80-ed276b4c234a
2010-04-12 18:05:02 +00:00
kohsuke a168fc472a - Improved the error reporting mechanism in LDAP setting.
- improved FormValidation.error(...) so that one can easily send the full stack trace.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29612 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-30 22:41:24 +00:00
mindless 5bf36ecf57 [FIXED HUDSON-6072] Ajax.Request accepts both object(hash) or Array for requestHeaders,
but crumb.wrap only worked with hash.. now support Array as well.
This fixes ajax update of Build History when CSRF protection is turned on.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29597 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-30 16:59:39 +00:00
mindless 2e81fba4f2 [HUDSON-5028] reselect any radiobuttons unselected by browser before names uniquified
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29202 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-24 22:31:54 +00:00
mindless cc41d34a8c [HUDSON-5028] expand radiobutton support in repeatable content
to work in nested repeatables.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29170 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-23 22:49:40 +00:00
mindless 8f8ffe76e6 [FIXED HUDSON-6025] simplify form.onsubmit handling with combobox.
1) in onblur handler, simply restore old form.onsubmit rather than adding
   another wrapper to call the old handler (which can result in a deep call
   stack if several comboboxes are used prior to form submission).
2) in onsubmit handler when focused, only call the original onsubmit when
   the dropdown is not showing (ie don't call it when we intercept the submit
   to just select an item from the list and return false)
I didn't figure out exactly why, but the current code could result in the
original form.onsubmit handler not being called on form submission when
multiple comboboxes are used.  This simplification seems to resolve the issue.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29149 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-23 16:17:12 +00:00
mindless 740f285839 Add support for radio buttons in repeatable content.
This is done by uniquifying groups of radiobutton names using Behavior rules,
then converting back to original names before form submission in buildFormTree.
Added some unit tests for f:repeatable, covering basic usage, minimum parameter,
simple radio buttons and f:radioBlock.
Fixed handling of minimum parameter in f:repeatable, since the new test failed :-)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@29065 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-22 00:02:07 +00:00
kohsuke 0d16f313b4 tweaked to retain static layout.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28985 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-20 19:36:35 +00:00
mindless eb6ddf8c90 [FIXED HUDSON-2722] Fix editableComboBox to select item even when mouse click
takes more than 100ms.  (mousedown on item makes text field lose focus, which
does a setTimeout to hide dropdown after 100ms.. it mouseup doesn't happen
before this, onclick is never triggered.  Now using onmousedown to immediately
trigger select of item)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28703 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-16 08:03:43 +00:00
mindless 86eab0e9e5 Add drag&amp;drop support for f:repeatable lists and use this for the
JDK/Ant/Maven installations in global config so these can be reordered.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28557 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-13 02:33:33 +00:00
kohsuke 6f84a31687 added the glorified <select> control that supports databinding.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28540 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-12 23:12:24 +00:00
mindless 5cb76574f4 Refactor ComboBox to use CSS class instead of ID to identify the form element,
and initialize via hudson-behavior rules.  Now f:editableComboBox works in
repeatable content such as a build step (or any f:hetero-list or f:repeatable).
createComboBox still accepts an ID parameter for compatibility, but this form
is now deprecated.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28338 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-06 21:52:00 +00:00
mindless 8fa28bf76b Make prepareDD and hasClassName more robust to handle case
where a TextNode (like whitespace) is the firstChild of a node.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28301 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-06 00:09:20 +00:00
kohsuke 04b12b5ba6 during the unit test, exceptions in prototype.js Ajax.Request callback handlers are treated as fatal problems.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28238 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-04 03:09:02 +00:00
kohsuke c6acb5b8d5 [FIXED HUDSON-2137]
Merged revisions 27137,27564,27566-27567,27578,27586,27599,27603,27606-27609,27611,27616,27626-27632,27640,27654-27656,27687,27701,27801,27816,27819,27843-27845,28087,28158-28161 via svnmerge from 
https://www.dev.java.net/svn/hudson/branches/HUDSON-2137

........
  r27137 | kohsuke | 2010-02-08 08:46:16 -0800 (Mon, 08 Feb 2010) | 1 line
  
  experimenting with abstractions
........
  r27564 | kohsuke | 2010-02-16 07:58:26 -0800 (Tue, 16 Feb 2010) | 1 line
  
  bundling makes it easier for caller to handle ConsoleAnnotator
........
  r27566 | kohsuke | 2010-02-16 08:49:48 -0800 (Tue, 16 Feb 2010) | 1 line
  
  this should work with Runs, not AbstractBuilds
........
  r27567 | kohsuke | 2010-02-16 08:54:06 -0800 (Tue, 16 Feb 2010) | 1 line
  
  simplified
........
  r27578 | kohsuke | 2010-02-16 12:26:11 -0800 (Tue, 16 Feb 2010) | 1 line
  
  still a work in progress, but committing once to pull in trunk changes
........
  r27586 | kohsuke | 2010-02-16 14:35:37 -0800 (Tue, 16 Feb 2010) | 1 line
  
  making more progress
........
  r27599 | kohsuke | 2010-02-16 19:22:01 -0800 (Tue, 16 Feb 2010) | 2 lines
  
  hooking up the side that writes annotations.
  still a work in progress.
........
  r27603 | kohsuke | 2010-02-16 23:43:35 -0800 (Tue, 16 Feb 2010) | 3 lines
  
  what appears to me as the first cut of hooking up the reader side of the annotations.
  
  I haven't even run it yet --- this just passed the compilation, and I'm calling it a day.
........
  r27606 | kohsuke | 2010-02-17 09:15:16 -0800 (Wed, 17 Feb 2010) | 1 line
  
  demo instance hook up
........
  r27607 | kohsuke | 2010-02-17 11:27:02 -0800 (Wed, 17 Feb 2010) | 3 lines
  
  one more utility method.
  
  I never understood what the point of letting the skip method skip less.
........
  r27608 | kohsuke | 2010-02-17 11:56:23 -0800 (Wed, 17 Feb 2010) | 3 lines
  
  - moved LargeText subtype to its own class
  - skipping log output was done incorrectly --- it had to skip N bytes where it was skipping N chars.
  - hooked up console annotations for completed builds.
........
  r27609 | kohsuke | 2010-02-17 12:01:46 -0800 (Wed, 17 Feb 2010) | 1 line
  
  copyright header
........
  r27611 | kohsuke | 2010-02-17 13:18:10 -0800 (Wed, 17 Feb 2010) | 1 line
  
  introduced a mechanism to register extension during an unit test.
........
  r27616 | kohsuke | 2010-02-17 13:38:12 -0800 (Wed, 17 Feb 2010) | 1 line
  
  test case for console annotations
........
  r27626 | kohsuke | 2010-02-17 15:23:06 -0800 (Wed, 17 Feb 2010) | 1 line
  
  removing test ConsoleAnnotator as I write tests as tests
........
  r27627 | kohsuke | 2010-02-17 16:06:13 -0800 (Wed, 17 Feb 2010) | 1 line
  
  added a multi-phase cooperative locking mechanism useful during the debugging
........
  r27628 | kohsuke | 2010-02-17 16:06:41 -0800 (Wed, 17 Feb 2010) | 1 line
  
  testing progressive log annotation
........
  r27629 | kohsuke | 2010-02-17 16:20:32 -0800 (Wed, 17 Feb 2010) | 1 line
  
  adding a test for ConsoleAnnotation that's explicitly placed.
........
  r27630 | kohsuke | 2010-02-17 16:23:02 -0800 (Wed, 17 Feb 2010) | 1 line
  
  removing test ConsoleAnnotation as I write tests as tests
........
  r27631 | kohsuke | 2010-02-17 16:28:50 -0800 (Wed, 17 Feb 2010) | 1 line
  
  tweaking the abstraction a bit.
........
  r27632 | kohsuke | 2010-02-17 16:44:21 -0800 (Wed, 17 Feb 2010) | 1 line
  
  parameterized the context type so that this can be used in places other than the build console output, such as polling logs, slave logs, and so on.
........
  r27640 | kohsuke | 2010-02-17 17:27:52 -0800 (Wed, 17 Feb 2010) | 1 line
  
  bug fix
........
  r27654 | kohsuke | 2010-02-17 22:53:04 -0800 (Wed, 17 Feb 2010) | 1 line
  
  doc improvement
........
  r27655 | kohsuke | 2010-02-17 22:53:59 -0800 (Wed, 17 Feb 2010) | 1 line
  
  doc improvement
........
  r27656 | kohsuke | 2010-02-17 23:10:42 -0800 (Wed, 17 Feb 2010) | 1 line
  
  test case for adjacent tags
........
  r27687 | kohsuke | 2010-02-19 14:39:21 -0800 (Fri, 19 Feb 2010) | 1 line
  
  introduced a facotry and descriptor. This allows them to define configuration pages, allow users to disable/enable them, plus define custom behaviors.
........
  r27701 | kohsuke | 2010-02-19 18:23:52 -0800 (Fri, 19 Feb 2010) | 1 line
  
  defining a mechanism for ConsoleAnnotatorFactory and ConsoleAnnotationDescriptor to define script.js and have them imported into the console output page
........
  r27801 | kohsuke | 2010-02-22 11:59:16 -0800 (Mon, 22 Feb 2010) | 1 line
  
  now embedding annotations inside the console output log file.
........
  r27816 | kohsuke | 2010-02-22 15:45:04 -0800 (Mon, 22 Feb 2010) | 1 line
  
  introduced a convenience method for unit tests
........
  r27819 | kohsuke | 2010-02-22 17:37:05 -0800 (Mon, 22 Feb 2010) | 5 lines
  
  As an example of using embedded console annotations, implementing Ant target invocation outlines.
  
  It might be better to make the concept of outline more generally reusable, so that different kinds of outlines can be placed into the same container element for a single hierarchical representation.
  
  Still a work in progress.
........
  r27843 | kohsuke | 2010-02-23 16:12:13 -0800 (Tue, 23 Feb 2010) | 1 line
  
  for now, disable this for production usage, until I work out a better UI.
........
  r27844 | kohsuke | 2010-02-23 19:08:00 -0800 (Tue, 23 Feb 2010) | 1 line
  
  started working on annotating exception.
........
  r27845 | kohsuke | 2010-02-23 19:08:33 -0800 (Tue, 23 Feb 2010) | 1 line
  
  more TODOs for myself
........
  r28087 | kohsuke | 2010-03-01 10:03:55 -0800 (Mon, 01 Mar 2010) | 1 line
  
  formatting changes
........
  r28158 | kohsuke | 2010-03-02 17:00:00 -0800 (Tue, 02 Mar 2010) | 1 line
  
  ConsoleAnnotation and ConsoleAnnotator are too confusing.
........
  r28159 | kohsuke | 2010-03-02 17:02:02 -0800 (Tue, 02 Mar 2010) | 1 line
  
  doc improvement
........
  r28160 | kohsuke | 2010-03-02 17:05:14 -0800 (Tue, 02 Mar 2010) | 1 line
  
  more doc improvements.
........
  r28161 | kohsuke | 2010-03-02 17:11:59 -0800 (Tue, 02 Mar 2010) | 1 line
  
  more doc improvement
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@28173 71c3de6d-444a-0410-be80-ed276b4c234a
2010-03-03 15:37:55 +00:00
kohsuke 1324f3c1ac Merged revisions 27681 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r27681 | kohsuke | 2010-02-19 11:14:43 -0800 (Fri, 19 Feb 2010) | 3 lines
  
  Allow nearby elements to include itself, and don't let the failure in the check URL evaluation kill of the entire JavaScript processing.
  
  This problem is noticed with the findbugs plugin, which uses a field name as a parameter instead of the 'value' parameter name.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27682 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-19 19:32:11 +00:00
kohsuke 1f8be6b151 fixed the regression in the last commit to this file.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27469 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-14 00:05:36 +00:00
kohsuke cc2081f4a2 [FIXED HUDSON-5610] Improved the form validation mechanism to support multiple controls.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27436 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-12 22:05:44 +00:00
mindless 0d6d3e3ac7 [FIXED HUDSON-2991] show more compact error msg for missing help
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27239 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-09 23:56:06 +00:00
kohsuke 8bf35b2094 Merged revisions 27147,27149-27151,27153 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r27147 | kohsuke | 2010-02-08 11:10:47 -0800 (Mon, 08 Feb 2010) | 1 line
  
  [FIXED HUDSON-5536] in 1.345 and added a test case.
........
  r27149 | kohsuke | 2010-02-08 12:01:18 -0800 (Mon, 08 Feb 2010) | 1 line
  
  added a backward compatibility measure to expose variables in both forms
........
  r27150 | kohsuke | 2010-02-08 12:02:19 -0800 (Mon, 08 Feb 2010) | 1 line
  
  forgot to commit this(?)
........
  r27151 | kohsuke | 2010-02-08 12:24:51 -0800 (Mon, 08 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare release hudson-1_345
........
  r27153 | kohsuke | 2010-02-08 12:25:04 -0800 (Mon, 08 Feb 2010) | 1 line
  
  [maven-release-plugin] prepare for next development iteration
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27154 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-08 20:28:39 +00:00
kohsuke 6f33c7cf74 Merged revisions 27013 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r27013 | kohsuke | 2010-02-04 16:39:39 -0800 (Thu, 04 Feb 2010) | 3 lines
  
  fixed a test failure.
  
  sometimes payload isn't a form, so using a header is more reliable.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27027 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-05 16:24:53 +00:00
kohsuke fe1994a4ef [FIXED HUDSON-5210] fixed this problem in Hudson that doesn't require any configuration change in Jetty.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27002 71c3de6d-444a-0410-be80-ed276b4c234a
2010-02-04 03:12:15 +00:00
kohsuke cbcf500ca0 Made radioBlock ID-less so that it can be inserted into the HTML dynamically and still function as expected
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@26127 71c3de6d-444a-0410-be80-ed276b4c234a
2010-01-20 18:29:02 +00:00
kohsuke 5bb3c2b03a Fixed a bug that the form field validation couldn't handle &lt;select> box.
(<a href="http://n4.nabble.com/f-validateButton-of-a-select-field-s-value-tp948691p948691.html">report</a>)


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24511 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-09 14:37:14 +00:00
mindless a662c06541 Group available plugins by category in PluginManager, using data from wiki.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24292 71c3de6d-444a-0410-be80-ed276b4c234a
2009-12-01 20:28:37 +00:00
mindless 56823f366f [FIXED HUDSON-4890] reconnect callback to show "Done" when update is done, and
add counter so if there are multiple update sites it shows Done when all are done.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23822 71c3de6d-444a-0410-be80-ed276b4c234a
2009-11-18 19:31:52 +00:00
kohsuke 720be7d7a1 Merged revisions 23183,23185,23245,23256,23266,23279-23284,23286 via svnmerge from
https://www.dev.java.net/svn/hudson/branches/multiple-update-sources

........
  r23183 | abayer | 2009-10-25 11:53:17 -0700 (Sun, 25 Oct 2009) | 1 line
  
  First chunk of work towards supporting multiple update centers - infrastructure in place for it, and default update center treated as only one of multiple - have to use slightly modified update-center.json though
........
  r23185 | abayer | 2009-10-25 12:25:49 -0700 (Sun, 25 Oct 2009) | 1 line
  
  a number of tweaks - among other things, now works properly with additional update centers defined in hudson.model.UpdateCenter.xml - try using http://andrewbayer.com/images/hello-world/helloWorld-update-center.json as second update center
........
  r23245 | abayer | 2009-10-27 13:45:25 -0700 (Tue, 27 Oct 2009) | 1 line
  
  Modified to support existing default update-center.json
........
  r23256 | kohsuke | 2009-10-27 18:30:15 -0700 (Tue, 27 Oct 2009) | 7 lines
  
  - moved data binding of update-center.json to UpdateSource.
  - moved some of the UpdateSource property into JSON, to improve the user experience when adding an update source.
    the user should just type in one URL, and everything else should happen automatically.
  - it doesn't make sense for UpdateSource to rely on UpdateCenterConfiguration, since behaviors cannot be
    modified per UpdateSource basis. Instead, leaving it in UpdateCenter allows us to maintain backward compatible
    behaviors with the existing custom UpdateCenterConfiguration implementation.
........
  r23266 | kohsuke | 2009-10-27 19:29:24 -0700 (Tue, 27 Oct 2009) | 1 line
  
  serve id inside JSON.
........
  r23279 | kohsuke | 2009-10-28 10:44:00 -0700 (Wed, 28 Oct 2009) | 1 line
  
  Do not special-case "default" ID. Receive hudson.war updates from wherever that provides one.
........
  r23280 | kohsuke | 2009-10-28 10:50:57 -0700 (Wed, 28 Oct 2009) | 1 line
  
  formatting change.
........
  r23281 | kohsuke | 2009-10-28 11:30:40 -0700 (Wed, 28 Oct 2009) | 1 line
  
  typo
........
  r23282 | kohsuke | 2009-10-28 11:45:06 -0700 (Wed, 28 Oct 2009) | 2 lines
  
  - added the UI to remove sites.
  - persistence of UpdateSource happens more automatically now.
........
  r23283 | kohsuke | 2009-10-28 11:50:04 -0700 (Wed, 28 Oct 2009) | 1 line
  
  UpdateSource -> UpdateSite to align terminology with Eclipse.
........
  r23284 | kohsuke | 2009-10-28 11:55:03 -0700 (Wed, 28 Oct 2009) | 5 lines
  
  Actually, for now, just having a programmatic modification to UpdateSite would satisfy the primary use case.
  
  And I'd like to upgrade YUI to a more recent version so that we can use its DataTable for UI. Plus the single update center model encourages the community to bring the code into the Hudson project, which is something we'd like to keep.
  
  So all in all, I'm postponing the UI work.
........
  r23286 | kohsuke | 2009-10-28 13:07:19 -0700 (Wed, 28 Oct 2009) | 1 line
  
  Renaming and bug fixes.
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23326 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-29 21:27:46 +00:00
kohsuke b26909ee53 Merged revisions 23068 via svnmerge from
https://svn.dev.java.net/svn/hudson/branches/rc

........
  r23068 | kohsuke | 2009-10-22 15:10:42 -0700 (Thu, 22 Oct 2009) | 1 line
  
  needs to point to hudson-ci.org
........


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23069 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-22 22:11:16 +00:00
mindless a71e8fc6b1 [FIXED HUDSON-4414] attach selector to correct button when nested content
also uses f:hetero-list.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22720 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-13 21:38:00 +00:00
kohsuke 6b1e9c2510 Fixed a bug in the form submission logic of the SMTP authentation configuration.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22396 71c3de6d-444a-0410-be80-ed276b4c234a
2009-10-05 01:46:13 +00:00
kohsuke 809828e6c2 Fixed a bug in the checkbox handling of the <f:validateButton>. Added a regression test.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22028 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-22 23:39:04 +00:00
mindless 533b34e195 Change escape(this.value) and encode(this.value) calls in checkUrl attributes
to encodeURIComponent(this.value).  Escape is not sufficient, as it does not
encode +.  Function encode() in hudson-behavior.js is ok, but we can just use
a standard javascript function instead.
Marked encode() as deprecated.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21546 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-09 00:45:49 +00:00
mindless 03d15ffd34 Add class="required" client-side validator.
Added support for multiple client-side validators (class="required number"),
and for checkMessage=".." attribute to override default error message.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@21538 71c3de6d-444a-0410-be80-ed276b4c234a
2009-09-08 17:28:21 +00:00
mindless 52015e2c98 [FIXED HUDSON-4110] show warning if zero value entered for #builds/#days to save
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20559 71c3de6d-444a-0410-be80-ed276b4c234a
2009-08-08 17:29:18 +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 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