An error occurred fetching the project authors.
- 21 Aug, 2023 2 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 03 Mar, 2023 1 commit
-
-
Aurel authored
-
- 19 Dec, 2022 1 commit
-
-
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]
-
- 02 Aug, 2021 1 commit
-
-
Jérome Perrin authored
When using report sections with title, this is supposed to create outline in PDF, but this seem to became broken somewhere in the last 10 years. This repair by using text:h instead of text:p and by setting text:outline-level
-
- 20 Jul, 2020 1 commit
-
-
Jérome Perrin authored
if for some reason an ERP5 document has some control characters in title of description and is exported in ODS/ODT, the export will fail with an etree error like this: Exception: Module Products.CMFActivity.ActivityTool, line 356, in __call__ result = method(*self.args, **self.kw) Module Products.ERP5Type.patches.PythonScript, line 179, in __call__ return self._orig_bindAndExec(args, kw, None) Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec return self._exec(bound_data, args, kw) Module Products.PythonScripts.PythonScript, line 344, in _exec result = f(*args, **kw) Module script, line 15, in Base_renderSimpleView - <PythonScript at /erp5/Base_renderSimpleView used for /erp5/sale_packing_list_module> - Line 15 report_data = getattr(context, deferred_style_dialog_method)(**params) Module AccessControl.ZopeGuards, line 369, in guarded_apply return builtin_guarded_apply(func, args, kws) Module AccessControl.ZopeGuards, line 391, in builtin_guarded_apply return func(*arglist, **argdict) Module Products.ERP5Form.Form, line 705, in __call__ return pt.pt_render(extra_context=extra_context) Module Products.ERP5OOo.OOoTemplate, line 484, in pt_render extra_context, request) Module Products.ERP5OOo.OOoTemplate, line 422, in renderIncludes xml_doc = etree.XML(text) Module lxml.etree, line 3192, in lxml.etree.XML (src/lxml/lxml.etree.c:78763) Module lxml.etree, line 1848, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:118341) Module lxml.etree, line 1736, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:117021) Module lxml.etree, line 1102, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:111265) Module lxml.etree, line 595, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:105109) Module lxml.etree, line 706, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:106817) Module lxml.etree, line 635, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:105671) XMLSyntaxError: PCDATA invalid Char value 20, line 228761, column 21 (line 228761) This is because XML does not accept the full range of characters, there are a few characters that are not allowed. To prevent these errors, we replace these invalid characters by an error character (�) before manipulating the XML with lxml.
-
- 07 Jul, 2017 1 commit
-
-
Julien Muchembled authored
- The conversion server is supposed to be configured in a system preference, so do this instead of using a normal preference. - _getConversionServerDict -> _getConversionServerUrl, to make clear that cloudooo is now configured by a url, instead of a host/port couple. - Refactoring: From the moment where setUpERP5Site() sets up things automatically, we don't the "same" duplicated code throughout many test to redo cloudooo configuration. - In the promise file, the volatile/persistent memcached url were swapped.
-
- 23 Aug, 2016 1 commit
-
-
Jérome Perrin authored
We now use URL only, old address + port way is obsolete.
-
- 22 Aug, 2016 1 commit
-
-
Tristan Cavelier authored
-
- 08 Jun, 2015 1 commit
-
-
Jérome Perrin authored
test was lost in merge / rebase
-
- 13 Jan, 2015 1 commit
-
-
Jérome Perrin authored
OOoTemplate: Fix a bug that displaying the source in the ZMI was setting a content-disposition header and downloading an OOo document
-
- 04 Sep, 2014 1 commit
-
-
Gabriel Monnerat authored
-
- 30 Jan, 2014 1 commit
-
-
- 04 Nov, 2013 1 commit
-
-
Jérome Perrin authored
-
- 13 Jun, 2013 1 commit
-
-
Jérome Perrin authored
Revert "Test deferred style with converting to a format" This reverts commit cbfa8d56. -> pushed by mistake Revert "Set cloudoo on preferences in ERP5TypeTestCase" This reverts commit 28824962. -> pushed by mistake Revert "Listbox from Folder_viewWorkflowActionDialog has hidden columns" This reverts commit 802d3f53. -> a test is failing
-
- 12 Jun, 2013 1 commit
-
-
Jérome Perrin authored
-
- 05 Apr, 2013 1 commit
-
-
Julien Muchembled authored
-
- 15 May, 2012 1 commit
-
-
Julien Muchembled authored
This is a followup to commit 8995b645 ("always start transactions with begin() and make tic() commit automatically"): there is now no need to use self.stepTic() instead of self.tic()
-
- 11 May, 2012 1 commit
-
-
Julien Muchembled authored
-
- 09 May, 2012 1 commit
-
-
Kazuhiko Shiozaki authored
since Zope 2.12.23, ObjectManager's get and __getitem__ returns only 'items' (no attributes / methods from the class or from acquisition).
-
- 16 Feb, 2011 1 commit
-
-
Sebastien Robin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43388 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 20 Jan, 2011 1 commit
-
-
Sebastien Robin authored
is only a proxy now git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42531 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 05 Jan, 2011 1 commit
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42023 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 22 Nov, 2010 1 commit
-
-
Kazuhiko Shiozaki authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40497 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Jul, 2010 1 commit
-
-
Sebastien Robin authored
Conflicts: bt5/erp5_base/bt/revision bt5/erp5_simulation/DocumentTemplateItem/InvoiceSimulationRule.py bt5/erp5_simulation/bt/revision bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/Base_viewTradeFieldLibrary.xml bt5/erp5_trade/bt/change_log bt5/erp5_trade/bt/revision products/ERP5/Document/BusinessPath.py products/ERP5/Document/SimulationMovement.py products/ERP5/Document/TradeCondition.py products/ERP5/Document/TradeModelLine.py products/ERP5/bootstrap/erp5_mysql_innodb_catalog/bt/revision products/ERP5Type/ERP5Type.py git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37129 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 May, 2010 1 commit
-
-
Nicolas Delaby authored
its preferable to return binary content as attachment. * import http response CODE from httplib git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35392 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 May, 2010 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35056 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 05 May, 2010 1 commit
-
-
Jérome Perrin authored
value is not in the list of possible values) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35013 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 12 Jan, 2010 1 commit
-
-
Ivan Tyagov authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31701 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 30 Dec, 2009 1 commit
-
-
Leonardo Rochael Almeida authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31545 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 23 Dec, 2009 1 commit
-
-
Kazuhiko Shiozaki authored
(locating in the second line only works when the first line is shebang comment.) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31447 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 14 May, 2009 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26978 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 06 Mar, 2009 1 commit
-
-
Jérome Perrin authored
testing domain_tree, not report_tree. Try to initialise the domain parameters, but someting is incorrect there, because the domain in not activated in the generated odt. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25910 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Mar, 2008 1 commit
-
-
Jérome Perrin authored
Tests the behaviour of a TextAreaField in the center group (in ODT only) git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19950 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 13 Mar, 2008 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19843 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 19 Feb, 2008 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19367 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 05 Feb, 2008 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19079 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 17 Oct, 2007 1 commit
-
-
Jérome Perrin authored
- without listbox - with empty listbox - with non-empty listbox * commit the transaction and reindex the person, so that tests for form_list shows a non-empty listbox git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17022 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 15 Oct, 2007 1 commit
-
-
Jérome Perrin authored
git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17007 20353a03-c40f-0410-a6d1-a30d3c3de9de
-
- 02 Oct, 2007 1 commit
-
-
Jérome Perrin authored
The utility class "Validator" can be reused to validate any OOoTemplate. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16780 20353a03-c40f-0410-a6d1-a30d3c3de9de
-