comparison CHANGES.txt @ 8300:b99e76e76496

Make native date and number elements configurable Now for Number() and Integer() properties the browser-native number format can be configured with the use_browser_number_input config item in seciont [web]. The default is 'yes'. For Date() properties the config item is use_browser_date_input (also in section [web]) but the default is 'no'. In addition when defining Date() properties, these now have a parameter 'display_time' which defaults to 'yes' and a 'format' parameter which defaults to None. These set defaults for the field() method of the DateHTMLProperty which have the same parameters (but the display_time parameter of field() takes a boolean, not 'yes'/'no').
author Ralf Schlatterbeck <rsc@runtux.com>
date Wed, 19 Feb 2025 12:38:06 +0100
parents cfa7d43a3658
children 3ba8078843db
comparison
equal deleted inserted replaced
8299:43899d99fc4d 8300:b99e76e76496
77 - issue2551391, partial fix for issue1513369. input fields were 77 - issue2551391, partial fix for issue1513369. input fields were
78 not getting id's assigned. Fixed automatic id assignment to 78 not getting id's assigned. Fixed automatic id assignment to
79 input fields. Thinko in the code. (John Rouillard) 79 input fields. Thinko in the code. (John Rouillard)
80 - issue2551390 - Replace text input/calendar popup with native 80 - issue2551390 - Replace text input/calendar popup with native
81 date input. Also add double-click and exit keyboard handlers to 81 date input. Also add double-click and exit keyboard handlers to
82 allow copy/paste/editing the text version of the date. (John 82 allow copy/paste/editing the text version of the date. Configurable
83 Rouillard) 83 via the use_browser_date_input setting in the [web] section of
84 config.ini. By default browser native dates are turned off.
85 (John Rouillard, Ralf Schlatterbeck)
84 - issue1895197 - translated help texts in admin.py not displayed 86 - issue1895197 - translated help texts in admin.py not displayed
85 correctly. (Initial patch tobias-herp, John Rouillard) 87 correctly. (Initial patch tobias-herp, John Rouillard)
86 - issue2551238 - roundup-server should exit with error if -d 88 - issue2551238 - roundup-server should exit with error if -d
87 <pidfile> is used without -l <logfile>. Added code to report 89 <pidfile> is used without -l <logfile>. Added code to report
88 the issue. Added issue with relative paths for log file whn 90 the issue. Added issue with relative paths for log file whn
127 templating method. (John Rouillard) 129 templating method. (John Rouillard)
128 - Added new templating utils.set_http_response(integer) method to 130 - Added new templating utils.set_http_response(integer) method to
129 allow reporting an error to the user from a template. (John 131 allow reporting an error to the user from a template. (John
130 Rouillard) 132 Rouillard)
131 - Use native number type input for Number() and Integer() 133 - Use native number type input for Number() and Integer()
132 properties. Integer() uses step=1 as well. (John Rouillard) 134 properties. Integer() uses step=1 as well. Configurable via the
135 use_browser_number_input setting in the [web] section of config.ini
136 (John Rouillard, Ralf Schlatterbeck)
133 - issue2551231 - template.py-HTMLClass::classhelp doesn't merge 137 - issue2551231 - template.py-HTMLClass::classhelp doesn't merge
134 user defined classes. It now merges them in. (John Rouillard) 138 user defined classes. It now merges them in. (John Rouillard)
135 139
136 2024-07-13 2.4.0 140 2024-07-13 2.4.0
137 141

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