- 17 Oct, 2017 2 commits
-
-
Cédric Le Ninivin authored
-
Vincent Bechu authored
/reviewed-on nexedi/erp5!456
-
- 16 Oct, 2017 4 commits
-
-
Vincent Bechu authored
/reviewed-on nexedi/erp5!453
-
Gabriel Monnerat authored
-
Jérome Perrin authored
To make predicate lookup a bit faster by keeping `predicate` and `predicate_category` small, do not index the documents we do not need in these table. This is done for `Assignment`, `Career`, `Payment Condition`, `Delivery Cells`, `Budget Line` and `Budget Cells`. /cc @vpelletier @kazuhiko @tiwariayush /reviewed-on nexedi/erp5!257
-
Jérome Perrin authored
ERP5's Code mirror supports viewing history of editions using codemirror's merge mode ( http://codemirror.net/demo/merge.html ). This was enabled for portal_components, but not for web pages. This moves the methods used by the components in a mixin class and make `TextDocument` class use this mixin. This way, we can benefit from diff view on web pages as well: ![ERP5-history-on-web-pages](/uploads/2bd381948266da46225ae26fd807bd51/ERP5-history-on-web-pages.png) @romain @vincentB @katomaso unless this interfere with your work of making codemirror works in renderjs ui, I think we can enable this. It does not include any change to codemirror code, just enable everywhere what was available only on components. @klaus I did not check, but we probably want this enabled for PyData Script as well. /reviewed-on nexedi/erp5!449
-
- 13 Oct, 2017 14 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
keep backward compatibility with erp5_officejs_support_request_ui
-
Tristan Cavelier authored
- fails if 0 - fails if too much - also applied for predecessor
-
Tristan Cavelier authored
-
Tristan Cavelier authored
keep backward compatibility with erp5_officejs_support_request_ui
-
Tristan Cavelier authored
keep backward compatibility with erp5_officejs_support_request_ui
-
Jérome Perrin authored
It was "dead code", this form was not used in any action. Fields were not following naming conventions, so search would not even work. Because we generate search dialogs based on module listbox, organisation module already had a working search dialog, so this dialog is not needed anymore.
-
Vincent Bechu authored
Prevent syncro fail on frozen document Ignore Remove attachment or document for erp5
-
Vincent Bechu authored
-
Vincent Bechu authored
Prevent issue when document is edited in multiple tab.
-
Vincent Bechu authored
And adapt cache
-
Vincent Bechu authored
To be consistant with date format in hateoas And follow Javascript default format https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/Date/parse
-
Vincent Bechu authored
-
Vincent Bechu authored
-
- 12 Oct, 2017 10 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
on form view discussable, by disabling submit button
-
Tristan Cavelier authored
on getting project list in the support request fast input dialog
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
Gabriel Monnerat authored
This will fix the issue below: ====================================================================== ERROR: test_refresh_token (erp5.component.test.erp5_version.testGoogleLogin.TestGoogleLogin) ---------------------------------------------------------------------- Traceback (most recent call last): File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 291, in setUp super(ComponentTestCase, self).setUp() File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/eggs/Zope2-2.13.24-py2.7.egg/Testing/ZopeTestCase/PortalTestCase.py", line 60, in setUp self.afterSetUp() File "<portal_components/test.erp5.testGoogleLogin>", line 143, in afterSetUp secret_key=SECRET_KEY) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 620, in newContent return FolderMixIn.newContent(self, *args, **kw) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 163, in newContent **kw) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/ERP5Type.py", line 399, in constructInstance container._setObject(id, base_ob) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 974, in _setObject return CMFBTreeFolder._setObject(self, *args, **kw) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/eggs/Products.BTreeFolder2-2.13.5-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 443, in _setObject self._setOb(id, ob) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/parts/erp5/product/ERP5Type/Core/Folder.py", line 850, in _setOb return CMFBTreeFolder._setOb(self, id, object) File "/srv/slapgrid/slappart11/srv/runner/software/46ff20cd786207637e80576bed95522d/eggs/Products.BTreeFolder2-2.13.5-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 256, in _setOb ids = mti.get(meta_type, None) AttributeError: 'NoneType' object has no attribute 'get'
-
Kasra Jamshidi authored
/reviewed-on !390
-
Vincent Pelletier authored
This is not used anywhere, and actually cannot be reused anywhere because of hard-coded document identifiers. It is too trivial to be worth salvaging, so drop it.
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
- 10 Oct, 2017 10 commits
-
-
Kasra Jamshidi authored
-
Kasra Jamshidi authored
-
Kasra Jamshidi authored
-
Kasra Jamshidi authored
-
Tristan Cavelier authored
- Text was not converted into HTML. - HTML was converted into Text before rendering.
-
Roque authored
- some method names were changed to make them clearer - new intermediate class 'SlapOSTester'
-
Roque authored
- method waitInstance moved from runner to communicator - new simple methods in communicator for request and wait instance - new methods to modularize runner code - communicator initialization code moved in runner
-
Roque authored
-
Roque authored
Variable name changed from jsonData to json_data. Old comment deleted.
-
Roque authored
Some methods in the slapos master communicator no longer exist. The unit test for scalability was updated accordingly.
-