...
 
Commits (5391)

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

Changes
=======
0.4.68 (2020-05-22)
-------------------
* erp5.util.taskdistribution:
- fix DummyTaskDistributor API to be able to run tests locally
* erp5.util.testnode:
- fix upgrader when HEAD is a merge commit
- don't log distributor URL
0.4.67 (2020-04-27)
-------------------
* erp5.util:
- testnode: pass --log_directory to runTestSuite
- EggTestSuite: support --log_directory
- testnode: include a link to snapshot dir in log viewer
- testnode: don't crash log viewer app on network error
- testnode: make the number of days to keep log configurable
0.4.66 (2020-01-30)
-------------------
* erp5.util:
- testnode: Use shared parts when building softwares
0.4.65 (2019-10-30)
-------------------
* erp5.util:
- testnode: Allow to run scalability tests against already existing instance
0.4.64 (2019-10-10)
-------------------
* erp5.util:
- testnode: fix Computer.updateConfiguration call (Compatibility with slapos.core 1.5.0)
0.4.63 (2019-10-08)
-------------------
* erp5.util:
- testnode: avoid testnode crash when trying to kill a process already dead
- testnode: testnode: import xml2dict from its new place (Compatibility with slapos.core 1.5.0)
0.4.62 (2019-10-01)
-------------------
* erp5.util:
- testnode: Fix scalability test runner logic for importing a test suite class
0.4.61 (2019-09-18)
-------------------
* erp5.util:
- testnode: Fix scalability test runner
0.4.60 (2019-09-01)
-------------------
* erp5.util:
- testnode: Fix some typos in the SlaOS API
0.4.59.1 (2019-08-13)
---------------------
* erp5.util:
- Minor fix: Add missing 'six' dependency on setup.py
0.4.59 (2019-08-13)
-------------------
* erp5.util:
- testnode: Update the SlapOS API
- erp5.util: add support for Python 3
- testnode: handle cases of errors when updating git repositories
- testnode: fixed condition to not build dependencies like firefox
- testnode: kill processes having slapos_directory in command line
- testnode: spawn with close_fds=True in ProcessManager
0.4.58 (2019-03-05)
-------------------
* erp5.util
- testnode: Give more time to supervisord to kill subprocess [Sebastien Robin]
0.4.57 (2019-02-25)
-------------------
* erp5.util
- testnode: Allow to pass max_quantity to runComputerPartition [Lukasz Nowak]
- testnode: use CPUs a bit less agressively [Jerome Perrin]
- testnode: avoid to rebuild testnode dependencies (firefox) all the time [Sebastien Robin]
- testnode: try much more agressively to kill remaining processes [Sebastien Robin]
0.4.56 (2018-09-28)
-------------------
* erp5.util
- testnode: give more time for the slapos proxy to start
0.4.55 (2018-09-28)
-------------------
* erp5.util
- testnode: properly support deletion of chmod'ed files [Jerome Perrin]
0.4.54 (2018-09-13)
-------------------
* erp5.util
- testnode: update path of firefox
0.4.53 (2018-09-07)
-------------------
* erp5.util
- testnode: give project title to runTestSuite [Sebastien Robin]
- testnode: support chmod'ed files during directories cleanups [Jerome Perrin]
0.4.52 (2018-08-21)
-------------------
* erp5.util
- Make scalability testing framework more stable. Stop using a dummy frontend master
and use host.vifib.net frontend with a valid SSL certificate instead. Always use
https.
[Yusei Tahara]
0.4.51 (2017-07-17)
-------------------
* erp5.util
- scalability testing framework [Roque Porchetto]
0.4.50 (2017-11-22)
-------------------
* erp5.util.testnode
- call only methods on Distributor [Lukasz Nowak]
0.4.49 (2017-05-11)
-------------------
* erp5.util.taskdistribution:
- Wrap in xmlrpclib.Binary if needed
0.4.48 (2017-04-20)
-------------------
* erp5.util.testnode:
- fix values of --firefox_bin and --xvfb_bin [Julien Muchembled]
0.4.47 (2017-04-05)
-------------------
* erp5.util.testnode:
- Make it more robust in cases where we have from time to time failures [Sebastien Robin]
- cosmetic: avoid -repository suffix [Julien Muchembled]
0.4.46 (2016-09-29)
-------------------
* erp5.util.testnode:
......
......@@ -2,10 +2,7 @@
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="WebSite" module="Products.ERP5.Document.WebSite"/>
<tuple/>
</tuple>
<global name="Web Site" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
......@@ -244,10 +241,7 @@
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<global name="WebSiteTraversalHook" module="Products.ERP5.Document.WebSite"/>
<tuple/>
</tuple>
<global name="WebSiteTraversalHook" module="Products.ERP5.Document.WebSite"/>
</pickle>
<pickle>
<dictionary/>
......
erp5_web
\ No newline at end of file
......@@ -10,7 +10,7 @@ result = {'group_list': [],
'site_list': [],
'function_list': [],
'destination_trade_relative_url': None}
person = portal.ERP5Site_getAuthenticatedMemberPersonValue(user_name=user_name)
person = portal.Base_getUserValueByUserId(user_name)
if person is None:
return result
......
......@@ -3,7 +3,7 @@
from Products.ERP5Type.JSONEncoder import encodeInJson as dumps
portal = context.getPortalObject()
reference = portal.portal_membership.getAuthenticatedMember().getUserName()
reference = portal.portal_membership.getAuthenticatedMember().getIdOrUserName()
processing = None
if reference == "Anonymous User":
......
......@@ -2,7 +2,7 @@
portal = context.getPortalObject()
member = portal.portal_membership.getAuthenticatedMember()
reference = member.getUserName()
reference = member.getIdOrUserName()
if reference == "Anonymous User":
return context.WebSection_viewUploadFileDialog()
else:
......
......@@ -6,4 +6,7 @@
<item>Reference</item>
<item>Url</item>
</portal_type>
<portal_type id="Template Tool">
<item>TemplateToolERP5AccessTokenExtractionPluginConstraint</item>
</portal_type>
</property_sheet_list>
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Property Sheet" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>TemplateToolERP5AccessTokenExtractionPluginConstraint</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Property Sheet</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>