Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 8ffad147e538859ad061c052664fa5ab805082e1
      
https://github.com/jenkinsci/jenkins/commit/8ffad147e538859ad061c052664fa5ab805082e1
  Author: EBIBO <stu995...@hotmail.com.tw>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

  Changed paths:
    M core/src/main/resources/lib/form/number.jelly
    A test/src/test/java/lib/form/NumberTest.java
    A test/src/test/resources/lib/form/NumberTest/MaxValidation/index.jelly
    A 
test/src/test/resources/lib/form/NumberTest/MinAndMaxValidation/index.jelly
    A test/src/test/resources/lib/form/NumberTest/MinValidation/index.jelly
    M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  -----------
  [JENKINS-63855] Support 'min' and 'max' values in the <f:number> tag (#5192)

* [JENKINS-63855] Support 'min' and 'max' values in the <f:number> tag

Add the validator for <f:number> whose clazz is 'number', 'number-required', 
'non-negative-number-required', 'positive-number', 'positive-number-required'

* Document of min and max value of <f:input>

* Test for min / max support of <f:input>

In hudson-behaviour.js:
1. Convert the min and max to integer when they are comparing.
2. Since the HtmlUnit can't recognize the string literals, I changed it to 
string concat.

* Fix for "/minAndMaxValidation" 404 not found

Besides, remove unnecessary exception

Co-authored-by: Oleg Nenashev <o.v.nenas...@gmail.com>


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/43359c-8ffad1%40github.com.

Reply via email to