comparison CHANGES.txt @ 8286:6445e63bb423

feat(web) - Use native number type input for Number() and Integer(). When editing hyperdb.Number() or hyperdb.Integer() properties, use a native number input. For Number you can enter digits, +/-, . and e/E for exponent (1E2 = 100). For integer we have the same keys as number, but also add step=1 to the input. This stops submitting 23.5 suggesting 23 or 24. It does allow 2E4 to be submitted that is rejected with an error from the backend. However if the spinner is used with 2E4 it is turned into 20000, a pure integer and incremented/decremented by the spinner. The upgrade happens automatically. Directions on going back to text input provided. User guide updated to describe addition of spinner. Tests added.
author John Rouillard <rouilj@ieee.org>
date Sat, 18 Jan 2025 14:54:31 -0500
parents 2bf0c4e7795e
children ae7fadcac9e1
comparison
equal deleted inserted replaced
8285:2bf0c4e7795e 8286:6445e63bb423
120 templating easier as it provides a default Client instance to the 120 templating easier as it provides a default Client instance to the
121 templating method. (John Rouillard) 121 templating method. (John Rouillard)
122 - Added new templating utils.set_http_response(integer) method to 122 - Added new templating utils.set_http_response(integer) method to
123 allow reporting an error to the user from a template. (John 123 allow reporting an error to the user from a template. (John
124 Rouillard) 124 Rouillard)
125 125 - Use native number type input for Number() and Integer()
126 properties. Integer() uses step=1 as well. (John Rouillard)
127
126 2024-07-13 2.4.0 128 2024-07-13 2.4.0
127 129
128 Fixed: 130 Fixed:
129 131
130 - CVE-2024-39124 - The classhelpers (_generic.help.html) are 132 - CVE-2024-39124 - The classhelpers (_generic.help.html) are

Roundup Issue Tracker: http://roundup-tracker.org/