- 02 Feb, 2021 9 commits
-
-
Aurel authored
See commit 12e4cc8b. File._setFile does not support that 'data' is a bytes object: it crashes if there are already data stored on the object. test_PUT_on_web_page (erp5_dms:testWebDavSupport) is changed to cover this case and the caller of File._edit is fixed to make that 'file' is always a file-like object. File._setFile is also optimized to avoid reading data for nothing if the document has no data.
-
Aurel authored
also remove dead code
-
Aurel authored
-
Aurel authored
-
Aurel authored
-
Aurel authored
publish_module_standard closes the request, which calls setSite(None), but the caller still needs the site to be initialized.
-
Aurel authored
-
Aurel authored
-
Aurel authored
Changes dones in tests that have since been moved to bt5 have been reported in them.
-
- 14 Dec, 2020 4 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Nicolas Wavrant authored
-
- 11 Dec, 2020 4 commits
-
-
Gabriel Monnerat authored
-
Gabriel Monnerat authored
-
Romain Courteaud authored
-
Jérome Perrin authored
Fixes #20200630-BB32 and #20200630-48F9FA See merge request nexedi/erp5!1318
-
- 10 Dec, 2020 1 commit
-
-
Jérome Perrin authored
in c361a8c3 (erp5_pdm: improve product invividual variation, 2020-03-09) we changed to allow default images in product individual variation and modified IndividualVariation_view to add a file upload field to upload an image, but this form is shared with other individual variations portal types. Without setting the default image property sheet and allowing Embedded Files as sub-documents, saving the form was causing an error.
-
- 09 Dec, 2020 4 commits
-
-
Jérome Perrin authored
Possible services depend on the selected project.
-
Jérome Perrin authored
If we only refresh this list when user selects another project, we don't support the case where there's only one project available for user, because the list of services is the default one, not the one filtered for the select project.
-
Jérome Perrin authored
Now that we have an empty item, we should make sure user selects something.
-
Gabriel Monnerat authored
If we have more than two options to project and resource
-
- 04 Dec, 2020 3 commits
-
-
Romain Courteaud authored
RSVP.Promise cancel callback do not expect a Promise as result. In order to handle potential errors triggered by setButtonTitle, run it in an renderjs's job.
-
Jérome Perrin authored
See merge request !1285
-
Jérome Perrin authored
We no longer run tests with `python setup.py`, but simply with `python -m unittest` With nexedi/slapos!862 we no longer need this See merge request nexedi/erp5!1316
-
- 03 Dec, 2020 15 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
See also https://github.com/zopefoundation/ZEO/pull/63 and !1095 No error in testCMFActivity and testConflictResolution. For the only error in testInvalidationBug, see comment. But this commit is not enough for ZODB5. The only known issue so far is the use of newer pickle protocol, which breaks export of ZODB data and requires non-trivial changes in our XMLExportImport/ppml code. So for the moment, many failures in testBusinessTempate.
-
Julien Muchembled authored
-
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
-
Jérome Perrin authored
Users with only view permissions in accounting should not be offered to use the grouping reference fast inputs, because grouping transactions is a kind of modification.
-
Nicolas Wavrant authored
-
Jérome Perrin authored
Listbox title is automatically translated, calling translation explicitly is wrong here.
-
Jérome Perrin authored
erp5_officejs_support_request_ui does not yet supports translation fully, but we start testing translation. For now only home page and panel are covered. For the need of this test: - depend on erp5_l10n_fr because we'll test in french - modify test service so that its title is translated to french (and depend on erp5_content_translation for easier management of these translations)
-
Jérome Perrin authored
-