- 22 Jan, 2021 17 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
This make everything slow as hell and prevent to quickly save.
-
Romain Courteaud authored
Example: <h2 class="foo">bar</h2> => <h3 class="foo">bar</h3>
-
Romain Courteaud authored
-
Romain Courteaud authored
erp5_web_renderjs_ui: keep previous focus color
-
Romain Courteaud authored
-
Romain Courteaud authored
-
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. erp5_core: viewer add css erp5_core: cleanup the HTML erp5_core: html viewer do not keep the body element erp5_core: HARDCODED html viewer css example erp5_core: viewer css erp5_core: html viewer define the interface erp5_core: html viewer css erp5_core: viewer ensure to return a dom element
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud 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 5 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
This reverts commit e5c160bc.
-
Kazuhiko Shiozaki authored
-
Georgios Dagkakis authored
in API script AccountingTransaction_createReversalTransaction
-
Jérome Perrin authored
Opening an accounting period is refused if the start date of the period is more than one day after the stop date of the previous period, but this check did not take into account that "next day" might be more than 24 hours, like it's the case when daylight saving happen between these dates. Instead we check that the difference is less than 1.9 days. Reorganise tests to group accounting period related tests in a dedicated test class and add missing tests for period validation checks. Also fix a few race conditions with catalog indexing that are probably not a problem in real life but were revealed by the test.
-
- 18 Jan, 2021 2 commits
-
-
Vincent Pelletier authored
See SQLBase._getExecutableMessageSet for operation principle. Removes the notion of order_validation_text: activity validation is no longer evaluated per-activity , but per-dependency for multiple activities at a time. In this context, order_validation_text does not make sense as it flattens all dependency types for a given activity. Rework activity-dependency-to-SQL methods: use a dict rather dynamically-generated method names. Based on initial work by Julien Muchembled.
-
Vincent Pelletier authored
Seen happen on SQLDict with 94 indexation activities being stuck assigned to a processing node on which load failed because of an SQL deadlock.
-
- 14 Jan, 2021 3 commits
-
-
Jérome Perrin authored
The main reason for not using cache.addAll was to fill the cache as a low priority task, not to generate too much traffic, the safari compatibility was secondary. Now that safari seems to support cache.addAll, remove the comment about safari.
-
Jérome Perrin authored
Components also have some extra checks in checkConsistency, we should include this in coding style test. See merge request nexedi/erp5!1324
-
Jérome Perrin authored
This simplify code and also bring the functionnality of c484f8aa (erp5_xhtml_style Base_cancel and logged_in: do not allow redirection outside ERP5 site., 2016-02-12) for the cases where authentication_policy is installed. This also fixes a problem with translations of "Your password will expire at {date}", which was using different messages for every possible date. Tests needed to be updated because we now redirect with properly URL encoded parameters.
-
- 13 Jan, 2021 7 commits
-
-
Romain Courteaud authored
See nexedi/erp5@ea219b74
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Vincent Pelletier authored
-
- 12 Jan, 2021 1 commit
-
-
Kazuhiko authored
-