Bug 34623: Update jQuery-validate plugin to 1.20.0
authorOwen Leonard <oleonard@myacpl.org>
Wed, 20 Dec 2023 16:12:55 +0000 (16:12 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 22 Feb 2024 10:11:46 +0000 (10:11 +0000)
commit04d3c8665e3e32026e4926577c7dd198b83b74e3
treeac7a15df55fb8b75e1319ed0729da1e36f8abb35
parentaf47bfc4a05a675e2b7a47c79c029ee4bdf75ac4
Bug 34623: Update jQuery-validate plugin to 1.20.0

This patch updates the jQuery validation plugin in both the staff
interface and the OPAC to the latest version, 1.20.0.

To test, apply the patch and clear your browser cache if necessary.

Test various pages in the staff client to confirm that form validation
works as expected:

 - Patron password change form:
   - Password must conform to minPasswordLength
   - Password must not contain leading/trailing spaces
   - Passwords must match

 - Administration -> Add or edit budget:
   - Description, start date, and end date are required
   - Start date must be before end date

 - Administration -> Add or edit Z39.50/SRU server:
   - Server name, hostname, port, and database are required
   - Port, rank, and timeout must be a number

Perform the same check of the "Change password" form in the OPAC.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
(cherry picked from commit 8deffec3155f54b7209f1465942fd8fbea23da5e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 8c18a734930aa08823c344107db167c1937dc974)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.validate.min.js
koha-tmpl/opac-tmpl/bootstrap/lib/jquery/plugins/jquery.validate.min.js