- 01 Dec, 2020 8 commits
-
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
Romain Courteaud authored
erp5_web_renderjs_ui_test: reproduce validation error issue and add asserts to make sure field has expected class * Trigger focus and blur to test renderjs functions properly * Add asserts to make sure we don't lose value after raise Invalid Date * Cover issue that invalid class does not disappear after click to create new object Foo in relation input * Make sure fifth_failure input has invalid class * Cover validation error to multicheckbox, checkbox and radio fields
-
Gabriel Monnerat authored
* change the label field to not display the error text by default * change all html5 fields (input, select, textarea) to add a custom *invalid* class when the field is invalid * change all html5 fields to listen to the `focus` and `blur` event (with the renderjs onEvent method) Then, acquire (with `declareAcquiredMethod`) and call `notifyFocus` / `notifyBlur` methods respectively. * change the label field to handle `notifyFocus` / `notifyBlur` (with `allowPublicAcquisition`). Change the validation error text display state depending on the field status * Trigger onStateChange to set invalid class. If error comes from input field, we need to change state locally to set invalid class * Regenerate gadget_erp5_nojqm.css from erp5less.css using http://lesscss.org/less-preview/ * Textarea gadget should not prevent default when invalid event is triggered * Support notifyFocus and notifyBlur in panel
-
Romain Courteaud authored
-
- 30 Nov, 2020 6 commits
-
-
Roque authored
-
Romain Courteaud authored
-
Georgios Dagkakis authored
that would return the whole catalog
-
Sven Franck authored
-
Romain Courteaud authored
Only basic fields are supported (no gadgetfield for now).
-
Arnaud Fontaine authored
-
- 26 Nov, 2020 15 commits
-
-
Roque authored
See merge request nexedi/erp5!1275
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
- this action relies on paged.js library for pagination
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Jérome Perrin authored
Don't log and fix a few resource warnings See merge request nexedi/erp5!1307
-
Nicolas Wavrant authored
Add missing field, used in testFloatFieldStep
-
- 23 Nov, 2020 2 commits
-
-
Nicolas Wavrant authored
It follows commit ce233f79
-
Nicolas Wavrant authored
-
- 17 Nov, 2020 4 commits
-
-
Romain Courteaud authored
Some fields may use div element without expecting 100% width. Example: formbox and diff gadget.
-
Jérome Perrin authored
this prevents ResourceWarnings on python3
-
Jérome Perrin authored
this prevent ResourceWarnings on python3
-
Jérome Perrin authored
this is way to verbose and not really useful
-
- 13 Nov, 2020 2 commits
-
-
Vincent Pelletier authored
Why invent a different way, making it harder to consistently patch validated_hook ?
-
Vincent Pelletier authored
For example, allows upgrading a Business Template when an ERP5 Form is replaced by a PythonScript in a skin folder.
-
- 12 Nov, 2020 1 commit
-
-
Jérome Perrin authored
When running on testnode, runUniTest is responsible for picking a free $DISPLAY. This is implemented by starting Xvfb on a $DISPLAY, waiting a bit and if it is still running we assume the $DISPLAY was free. But it seems sometimes we don't wait enough, when testnodes are overloaded. This implementation is wrong, we could run a command check that X is running, but as explained in the code command below, xdpyinfo or other tools are currently not available in test environment. Since we are considering switching this to seleniumserver (which would take care of running a X Server for us) so this is OK for now.
-
- 11 Nov, 2020 1 commit
-
-
Jérome Perrin authored
there was also another script for internal
-
- 09 Nov, 2020 1 commit
-
-
Jérome Perrin authored
This test was clicking on the first item in a non sorted list and then checking that the text of the selected element was "a2". Instead, store the text of the first listbox cell in a variable and use this in check.
-