- 10 Dec, 2020 7 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 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 nexedi/erp5!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 23 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
See also https://github.com/zopefoundation/ZEO/pull/63 and nexedi/erp5!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
-
Jérome Perrin authored
-
Jérome Perrin authored
Resource reference can be useful for example with cases where resource titles are not uniques, or when some classifications are codified in resources references.
-
Jérome Perrin authored
crm/officejs_support_request_ui: use "resource__translated__title" as Support Request Type in listboxs In other places, we always show the translated service titles. By using resource__translated__title, this enable the new syntax for translated related keys from aee8bcac (ERP5Catalog/content_translation: support translated related keys, 2020-10-07), so that column can be searched or sorted.
-
Jérome Perrin authored
Let the catalog decide what can be searched and sorted, instead of duplicating the list of column. It has same effect and is easier to maintain.
-
Jérome Perrin authored
Term is "Support Request Type".
-
Jérome Perrin authored
The term is "Support Request Type" so use it consistently in every place, instead of mixing "Type" or "Support Type".
-
Jérome Perrin authored
Since c4026c75 (erp5_officejs: change Notebook app editor from iodide_master to gadget_jsmd_eval, 2020-09-23), erp5_officejs depends on erp5_notebook, but erp5_notebook is not present in erp5 repository, it is in erp5-bin repository. This test works by taking an old Data.fs and running upgrader, to update to latest code. The first thing it does is using setupAutomaticBusinessTemplateRepository to discover folder containing business templates repositories and enabling them. Until now it was doing only for erp5_core (to find parts/erp5/product/ERP5/bootstrap) and for erp5_base (to find parts/erp5/bt5/). Now we also need to do that for erp5_notebook, to find parts/erp5-bin/bt5/
-
Jérome Perrin authored
We no longer run tests with `python setup.py`, but simply with `python -m unittest`
-
- 02 Dec, 2020 5 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Use reveal 3.9.2 Remove font not present from reveal theme.
-
Romain Courteaud authored
See nexedi/erp5@ee81e26e (comment 121758)
-
Romain Courteaud authored
See nexedi/erp5@ee81e26e (comment 121757)
-
Jérome Perrin authored
-
- 01 Dec, 2020 2 commits