- 13 Feb, 2023 1 commit
-
-
Jérome Perrin authored
-
- 10 Feb, 2023 3 commits
-
-
Roque authored
See merge request nexedi/erp5!1711
-
Léo-Paul Géneau authored
-
Roque authored
- new API methods - rename fixed wing drone AIP - new parameters - parameters optimization - parameters validation - physics implementation - DroneManager-droneAPIs refactor - general cleanup and better comments
-
- 09 Feb, 2023 1 commit
-
-
Jérome Perrin authored
It's not functionally different and this way it is more beautiful on Zope 4
-
- 08 Feb, 2023 5 commits
-
-
Jérome Perrin authored
This reverts commit 00e8d126.
-
Jérome Perrin authored
-
Julien Muchembled authored
See commit c45c2295 ("erp5_web_shadir: more useful checks").
-
Julien Muchembled authored
-
Julien Muchembled authored
This fixes how the builder processes the result of IMovementGroup.test. Testing deliveries to find one that can be updated should have no impact on properties if the builder ends up creating a delivery.
-
- 06 Feb, 2023 1 commit
-
-
Xiaowu Zhang authored
When i upgrade/install erp5_notebook in an instance which use neo storage instead of zeo, Neo stopped immediately, as consequence, erp5_notebook can't be installed/upgraded. The reason is in erp5_notebook, there has a one big file scipy.data.bin 157MB [1] which can't be installed as it is in neo. The solution suggested by @jm is to wrapper it by Pdata when install a BT5. See merge request nexedi/erp5!953 [1] https://lab.nexedi.com/nexedi/erp5-bin/blob/7d3505fd/bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/scipy.data.bin
-
- 04 Feb, 2023 1 commit
-
-
Jérome Perrin authored
In 44e0b22f (Move to new API, detailed properties take precedence, 2011-09-09) we introduce a new data model for coordinates, in the case of emails, we have "url_string" fro the "detailed" form and "coordinate_text", for the "store what user entered" form. In some places of erp5_credential, we use setDefaultEmailText, which calls Coordinate.setText which uses the deprecated Coordinate.fromText, which sets the same value for "url_string" and "coordinate_text", which seems a questionable behavior, because the data is saved twice and some code might be using the wrong property. This changes every usage to the new coordinate_text property
-
- 03 Feb, 2023 16 commits
-
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
Update ZMI pages with the design of Products.ZMySQLDA and with the usage of manage_page_header, which sets the content-type to html
-
Jérome Perrin authored
-
Jérome Perrin authored
fixup! ERP5Catalog: Fix UnicodeDecodeError on non ascii catalog search when the inituser name is unicode variable was not zope_testSearchNonAsciiWithLegacyUserFolderUser
-
Jérome Perrin authored
Products.CMFCore.CachingPolicyManager.CPMCache became a new style class
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
-
Jérome Perrin authored
This backports parts of zope 4 commits [bb7837c66 (Explicitly make all classes new-style., 2017-09-15)](https://github.com/zopefoundation/Zope/commit/bb7837c66) and [173658008 (Fix unpickling of instances those base class changed to a new-style class. (#208), 2017-10-24)](https://github.com/zopefoundation/Zope/commit/173658008) for zope2. This is done for two reasons: - so that business template XML are same when exported from zope4 and from zope2 - so that a business template created from zope4 can still be installed on zope2. See merge request nexedi/erp5!1596
-
Jérome Perrin authored
This is used to trigger recompilation of bytecode, but we don't export the byte code so we don't need to export it. This also prevent diffs when the Script_magic changed, like it's the case with Products.PythonScripts 4.2 , with commit 590125a (Force recompilation of scripts., 2017-10-23).
-
Jérome Perrin authored
This is patched to DateTime.DateTime._dt_reconstructor but we don't want _dt_reconstructor to appear in pickles, especially business templates ones.
-
Jérome Perrin authored
These properties are supposed to never be set on ERP5 documents. See https://lab.nexedi.com/nexedi/erp5/blob/34f4ae37/product/ERP5Type/Constraint/PropertyTypeValidity.py#L65
-
Jérome Perrin authored
This backports parts of zope commit bb7837c66 (Explicitly make all classes new-style., 2017-09-15) and 173658008 (Fix unpickling of instances those base class changed to a new-style class. (#208), 2017-10-24). This is done for two reasons: - so that business template XML are same when exported from zope4 and from zope2 - so that a business template created from zope4 can still be installed on zope2.
-
Jérome Perrin authored
This properties are not used, no need to have them exported
-
Jérome Perrin authored
-
- 02 Feb, 2023 1 commit
-
-
Yusei Tahara authored
-
- 31 Jan, 2023 1 commit
-
-
Kazuhiko Shiozaki authored
because __str__() returns id in Zope2 but returns login in Zope4.
-
- 30 Jan, 2023 10 commits
-
-
Kazuhiko Shiozaki authored
-
Jérome Perrin authored
If there's an error during the --save setup, we don't need to run the --load steps, because test failed already and if they don't fail in --load step, it would be a case where some errors are not reported.
-
Jérome Perrin authored
-
Jérome Perrin authored
XMLExportImport encode strings in base64 when they can not safely be represented in XML (including for exemple "\n"), so we can not use this information to decide if this a BINBYTES or a BINSTRING pickle opcode. For now, it's still unclear how bytes and str should be handled, so while using python2 it's better to keep using str everywhere and not introduce zodbpickle.binary that looks like str on python2 but will become bytes on python3 and have consistent data everywhere (ie. everything str) BINBYTES is not fully removed from the patch, because we'll want to use it later, but it is in "if" that is always false.
-
Jérome Perrin authored
-
Jérome Perrin authored
This reverts commit c45c2295. to get test passing again
-
Jérome Perrin authored
On Zope4 these settings are no longer in zope.conf
-
Jérome Perrin authored
We now target transaction 3 so this patch is not longer compatible and no longer needed according to discussions on the launchpad issue. _sort_key is also set to '1' on recent Products.ZSQLMethods
-
Arnaud Fontaine authored
For now, remove it completely. If necessary `registerHelp()` can be used. commit f3ab4409bfa9a3e1943099c8ae391a2f0273b53b Date: Sat Jul 2 18:26:53 2011 +0000 Removed the old help system, in favor of the current Sphinx documentation hosted at http://docs.zope.org/zope2/. For backwards compatibility the `registerHelp` and `registerHelpTitle` methods are still available on the ProductContext used during the `initialize` function.
-
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.
-