- 09 Jan, 2023 3 commits
-
-
Jérome Perrin authored
-
Roque authored
See merge request nexedi/erp5!1719
-
Roque authored
-
- 07 Jan, 2023 1 commit
-
-
Jérome Perrin 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 5 commits
-
-
Jérome Perrin authored
-
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.
-
Jérome Perrin authored
-
- 27 Dec, 2022 5 commits
-
-
Jérome Perrin authored
Unlike StringIO.StringIO().tell() and open().tell(), which all return int, io.BytesIO().tell() returns long. Because io.BytesIO is used when uploading files on Zope4, this cause PropertySheetValidity errors when checking consistency, because Data.size property is expected to be int.
-
Jérome Perrin authored
Checks that created document types match constraints
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
Previously, we were using an encoded string, which in practice worked, but with python3, WSGI server will encode as latin1 (because WSGI is latin1) and already with Zope4 on python2 we have issues with testing, as functional testing fake WSGI server only accepts ascii headers [1] 1: https://github.com/zopefoundation/Zope/blob/cddecf7e/src/Testing/ZopeTestCase/functional.py#L125-L126
-
- 26 Dec, 2022 4 commits
-
-
Jérome Perrin authored
Since Zope 4, the `standard_error_message` is rendered in the context of REQUEST['PUBLISHED'], which in case of publishing a skin (page template or script) in the context of a document is is the skin itself, but for error rendering in case of erp5_web Web Site or Web Section, we expect standard_error_message_template to always be rendered in the context of the document, that's why we use REQUEST.PARENTS[0] as context. REQUEST.PUBLISHED = <PythonScript at /erp5/script used for /erp5/module/document> REQUEST.PARENTS [<Document>, <Module>, <ERP5Site>, ...]
-
Jérome Perrin authored
-
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
-
- 22 Dec, 2022 1 commit
-
-
Jérome Perrin authored
-
- 21 Dec, 2022 4 commits
-
-
Jérome Perrin authored
-
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 7 commits
-
-
Jérome Perrin authored
-
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 7 commits