- 11 Jan, 2023 7 commits
-
-
Romain Courteaud authored
See nexedi/erp5@0c2dd107
-
Romain Courteaud authored
-
Romain Courteaud authored
Coding crime. See nexedi/erp5@cbb3b35b
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Romain Courteaud authored
-
Nicolas Wavrant authored
`python` command doesn't exist anymore in most recent distribution and our PASS (theia), but python3 has been available for years now.
-
- 10 Jan, 2023 1 commit
-
-
Roque authored
-
- 09 Jan, 2023 2 commits
-
-
Roque authored
See merge request nexedi/erp5!1719
-
Roque authored
-
- 06 Jan, 2023 3 commits
-
-
Xiaowu Zhang authored
See merge request nexedi/erp5!1718
-
Xiaowu Zhang authored
context is actually a web section
- 28 Dec, 2022 3 commits
-
-
Jérome Perrin authored
replaces nexedi/erp5!1691 See merge request nexedi/erp5!1709
-
Jérome Perrin authored
See merge request nexedi/erp5!1715
-
Jérome Perrin authored
There is no good reason to prevent editing in cancelled state and it can be needed, for example to remove a cancelled payment transaction from a payment transaction group.
-
- 26 Dec, 2022 2 commits
-
-
Jérome Perrin authored
This is different from the total of durations of test result lines because they are executed in parralel on different testnodes. The actual duration is just the difference between start and stop, so that we don't have to calculate.
-
Jérome Perrin authored
This makes it easier to understand the duration in minutes and hours
-
- 21 Dec, 2022 3 commits
-
-
Jérome Perrin authored
Ran https://github.com/python/cpython/blob/3.7/Lib/lib2to3/fixes/fix_asserts.py after adding the missing methods (assertRegex and assertRaisesRegex) on ERP5TypeTestCase. Also ran a custom fixer rewriting ```py self.assertTrue(a in b) ``` into ```py self.assertIn(a, b) ``` See merge request nexedi/erp5!1708
-
Jérome Perrin authored
Prepare for https://github.com/zopefoundation/Zope/pull/1075 ( Zope 4.8.7 ) See merge request nexedi/erp5!1707
-
Jérome Perrin authored
and fix some missing cache
-
- 20 Dec, 2022 6 commits
-
-
Romain Courteaud authored
See merge request !1674
-
Jérome Perrin authored
automaticLayout can not be used with firefox 68 (the browser from test nodes) because it lacks support for ResizeObserver
-
Jérome Perrin authored
triggered manually with "Format Document" of "Format Selection" actions
-
Jérome Perrin authored
This enables usage of @ in quick pick to search for symbols and make sticky scroll show the current context
-
Rafael Monnerat authored
Probably there are missing files but it is a start.
-
Jérome Perrin authored
With tweaks to support firefox 68 from test nodes: - build with babel, see jerome/monaco-editor-erp5@cf10f2d5 - special handling of ResizeObserver that does not exist in Firefox 68: it is used only for automaticLayout, which is not strictly needed. So this feature will not work for firefox 68. Enable sticky scroll Set caching manager to must_revalidate_http_cache
-
- 19 Dec, 2022 13 commits
-
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Roque authored
-
Vincent Pelletier authored
Unindexation happens in a transation after the corresponding document was deleted. So there is no context available to check the type of the deleted document. So these filter expressions are meaningless.
-
Vincent Pelletier authored
Unindexation happens in a transation after the corresponding document was deleted. So there is no context available to check the type of the deleted document. So these filter expressions are meaningless.
-
Vincent Pelletier authored
Unindexation happens in a transation after the corresponding document was deleted. So there is no context available to check the type of the deleted document. So these filter expressions are meaningless.
-
Jérome Perrin authored
-
Jérome Perrin authored
The add-hoc assertin filter: -- from typing import List import lib2to3 from lib2to3.fixer_base import BaseFix from lib2to3.fixer_util import Comma, Name class FixAssertIn(BaseFix): PATTERN = """ power< any+ trailer< '.' meth=("assertTrue" | "assertFalse")> trailer< '(' comparison< (needle=any ( comp_op<'not' 'in'> | 'in' ) haystack=any) > ')' > > """ def transform(self, node: lib2to3.pytree.Node, results: List[lib2to3.pytree.Base]): needle = results['needle'] haystack = results['haystack'] meth = results["meth"][0] method_map = {True: 'assertIn', False: 'assertNotIn'} method_in = meth.value == 'assertTrue' if 'not' in str(needle.parent.children[1]): method_in = not method_in meth.replace(Name(method_map[method_in], prefix=meth.prefix)) needle.parent.children = [needle, Comma(), haystack]
-
Jérome Perrin authored
so that we can run 2to3.fix_assert
-