- 28 Jan, 2021 13 commits
-
-
Romain Courteaud authored
This reverts commit a87db49b.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
Stop using ck_editor in read_only to display HTML. This allows to get rid of the ck_editor iframe, allowing a faster load and removing the iframe scroll. The maximise button is no more needed in such case. It also removes all ck_editor links handling: links can be open in another browser tab now. This changes impacts both xhtml style and erp5js.
-
Romain Courteaud authored
-
Romain Courteaud authored
This gadget take an HTML string as parameter. It first cleans it up (with hardcoded behaviour currently) by dropping unknown tag elements, unknown/unsafe tag attributes. It is another protection layer on top of asStrippedHTML inside ERP5. Then, it displays the output HTML and style it with an hardcoded set of rules.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Arnaud Fontaine authored
Until now it was only used in ERP5Catalog where the expression property is `expression` for both Python Script and SQL Method but this is a common pattern and will also needed for ERP5Workflow.
-
Jérome Perrin authored
Instead of generating the report in one big activity, split the calculation in several batches, so that the processing can be distributed on zope nodes. The limit for the number of lines was also increased from 10000 to 100000
-
Jérome Perrin authored
Using an absolute URL for gadgets cause the gadget to have a different URL per language when the web site uses "Language in URL" feature. Using absolute URL is not good for cache and also it seems to cause incompatibilities with recent versions of ERP5JS. Using relative URL is what we usually do, it does not have cache problem and works fine.
-
- 27 Jan, 2021 3 commits
-
-
Romain Courteaud authored
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
See merge request nexedi/erp5!1345
-
- 26 Jan, 2021 7 commits
-
-
Jérome Perrin authored
for consistency
-
Jérome Perrin authored
for consistency
-
Jérome Perrin authored
-
Jérome Perrin authored
Even though it was enabled on packing list, this report was showing orders.
-
Jérome Perrin authored
This report can be used for purchase, then it shows supplier. In the report dialog, we have "By Third Party" report mode, so use consistent term.
-
Jérome Perrin authored
This report shows packing lists, but in the dialog we could only select the states of orders.
-
Jérome Perrin authored
a928abd2 (web_renderjs_ui: use lxml to extract data-i18n messages, 2020-12-14) was an old version of the patch that was pushed accidentally. This applies the missing bits.
-
- 25 Jan, 2021 9 commits
-
-
Vincent Pelletier authored
This is already working for multi-column conditions (among other malformed values), but in the monocolumn case the type-check treats None in the same branch as sequences, which cause the error: TypeError: 'NoneType' object is not iterable As the condition is already covered for multi-column case, put this test in the monocolumn codepath.
-
Jérome Perrin authored
form_discussion_view embeds an editor, but it did not expose notifySubmit method to child gadgets. Because using Ctrl+S in the editor calls notifySubmit on parent gadget, Ctrl+S was causing a page crash. Expose such a method that would submit a comment when called.
-
Jérome Perrin authored
The previous regular expression based approach sometimes could not extract message properly. Using xml parser simplify code and fix several messages that were not extracted properly, like messages containing ", [] or {} This also fix some problems when looking for messages sources: - archived web pages were sometimes used instead of published ones - messages from gadgets implemented as page templates/OFS files were not extracted. A few more unit tests for the scripts involved in this process are added.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Fixes the handling of: - non-sequence dependency_value - incorrect dependency_value length - None in dependency_value - None in dependency_value items
-
Vincent Pelletier authored
-
Vincent Pelletier authored
So more sequence types are accepted by _getExecutableMessageSet.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 22 Jan, 2021 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 20 Jan, 2021 5 commits
-
-
Romain Courteaud authored
See nexedi/erp5@6c4f7600
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Allows to keep UI tests working independently of the login process implementation details.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 19 Jan, 2021 2 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
This reverts commit e5c160bc.
-