- 13 Oct, 2017 10 commits
-
-
Georgios Dagkakis authored
Note: This is not a complete work, i.e. it is not supposed to update all url calculations of generic ERP5. It is done so that: - Other pending work can use it - Demonstrate how the API should be used and test it
-
Georgios Dagkakis authored
for a base document, given the form_id, document_reference and GET parameters Commit contains also a test in testERP5Core
-
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 nexedi/erp5!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 14 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.
-
Roque authored
An update in zope.testbrowser dropped the mechanize dependency used by the browser. Now it uses WebTest instead. Details of the update: https://pypi.python.org/pypi/zope.testbrowser/5.2.1
-
Roque authored
- Most of the communication with slapos master is done using the new Slapos Master Communicator instead of Slapos Controller: * supply, request, check instance status, check software status. - Refactor of related methods (waitInstance, isSoftwareReleaseReady, etc.) - Initialization of communicator: initialize connection to SlapOS usign key and certificate - General refactor and cleanup: some unnecesary sentences, comments and methods were removed.
-
Roque authored
- The base of this code comes from some work done by Rafael in here: https://lab.nexedi.com/nexedi/slapos.toolbox/blob/master/slapos/agent/tester.py - Refactor in communication with slap objects for supply and request. - Added method to check if instance is requested. - Refactor in log calls.
-
Jérome Perrin authored
Each step was still sending emails, not only the controller. This is not useful.
-
- 09 Oct, 2017 1 commit
-
-
Jérome Perrin authored
In the report code, this at_date is used and report generation would fail if user does not select an `at_date`.
-
- 06 Oct, 2017 5 commits
-
-
Tomáš Peterka authored
/reviewed-on nexedi/erp5!448
-
Eteri authored
-
Xueyun Qian authored
-
Xueyun Qian authored
-
Gabriel Monnerat authored
This merge request contains the feature to login in ERP5 with Google Account. Also, this branch is based on the work done in nexedi/erp5!185 We have a lot of discussion about this changes in nexedi/erp5!179, but with a lot of merge conflicts, a new MR is better to review. This branch will wake up the discuss of "Moving API Keys from preference to a better place", I can work on it but I am not sure if we have a good design yet. Any comment is welcome /cc @tb @romain @rafael @kazuhiko @vincent @jerome /reviewed-on nexedi/erp5!219
-