erp5:107a3ebfbe11e5180a74b7e262904f224f782b5a commitshttps://lab.nexedi.com/nexedi/erp5/-/commits/107a3ebfbe11e5180a74b7e262904f224f782b5a2011-09-01T10:41:05+02:00https://lab.nexedi.com/nexedi/erp5/-/commit/107a3ebfbe11e5180a74b7e262904f224f782b5aAlways assert results of used methods.2011-09-01T10:41:05+02:00Łukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/3d98a6ddf69cf85f9dfbf055c01d243fa8e6ead1Check states of documents.2011-09-01T10:16:11+02:00Łukasz Nowakluke@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/3b8ea8070d438b4c18dbcc385df65eedb1150180Avoid casting of None into 'None'2011-09-01T09:51:34+02:00Nicolas Delabynicolas@nexedi.com
return empty string by defaulthttps://lab.nexedi.com/nexedi/erp5/-/commit/de75a33d52f26b7973a41921d75262abbcf73c04Import erp5.utils.{benchmark,test_browser} from svn.erp5.org:public/erp5/trun...2011-09-01T03:05:06+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/91247aecc45c6293c00bee30a88edda47e5c2368benchmark/test_browser: prepare merge with erp5.util2011-09-01T02:43:50+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a256ed95efcef39ea2908ea0cf860be4dc81dbdaNo need to define our own counter before expiring Form instance as it's2011-08-31T14:51:53+00:00Arnaud Fontainearnaud.fontaine@nexedi.comalready available in zope.testbrowser
git-svn-id: <a href="https://svn.erp5.org/repos/public/erp5/trunk/utils@46029" rel="nofollow noreferrer noopener" target="_blank">https://svn.erp5.org/repos/public/erp5/trunk/utils@46029</a> 20353a03-c40f-0410-a6d1-a30d3c3de9dehttps://lab.nexedi.com/nexedi/erp5/-/commit/d7f0e54da8770f06e066ae7fcf89416c8ad88145The Form class must be re-created after the first attempts otherwise an2011-08-31T14:44:53+00:00Arnaud Fontainearnaud.fontaine@nexedi.comExpiredError is raised as the content is outdated
git-svn-id: <a href="https://svn.erp5.org/repos/public/erp5/trunk/utils@46028" rel="nofollow noreferrer noopener" target="_blank">https://svn.erp5.org/repos/public/erp5/trunk/utils@46028</a> 20353a03-c40f-0410-a6d1-a30d3c3de9dehttps://lab.nexedi.com/nexedi/erp5/-/commit/4d3e7ee77ddf19b546fd74a4aee6db32b9ba6a3bFix typo2011-08-31T14:40:48+00:00Arnaud Fontainearnaud.fontaine@nexedi.com
git-svn-id: <a href="https://svn.erp5.org/repos/public/erp5/trunk/utils@46027" rel="nofollow noreferrer noopener" target="_blank">https://svn.erp5.org/repos/public/erp5/trunk/utils@46027</a> 20353a03-c40f-0410-a6d1-a30d3c3de9dehttps://lab.nexedi.com/nexedi/erp5/-/commit/940eb439ed9f9924d0f75cfa3f93d327cb633830Open ERP5 main page before each test suite to avoid side effects for subseque...2011-08-31T13:22:36+00:00Arnaud Fontainearnaud.fontaine@nexedi.com
If a test suite fails with a Zope error, then 'main_form' will not be
available for the next test suite. This also allows to assume that each test
suite will be ran from ERP5 main page.
git-svn-id: <a href="https://svn.erp5.org/repos/public/erp5/trunk/utils@46026" rel="nofollow noreferrer noopener" target="_blank">https://svn.erp5.org/repos/public/erp5/trunk/utils@46026</a> 20353a03-c40f-0410-a6d1-a30d3c3de9dehttps://lab.nexedi.com/nexedi/erp5/-/commit/65d6f5fc6b0ca91ffc16343492f128587eeb3e74Improve recovery of password form2011-08-31T14:56:26+02:00Aurélien Calonneaurel@nexedi.com
user-login display depends on credential preference if it exits
fields are now required
do not assume the field will always be display on the toolhttps://lab.nexedi.com/nexedi/erp5/-/commit/3e0c88a6c6fa2e9d06cc6a5f44947bb979c163cfadd a preference to know if login must be asked when prompted to input new pa...2011-08-31T14:52:18+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/ee9e4ba265d56eb60c4bbac9b27c88357f50dde9user_login is no longer mandatory, it now depends on site configuration2011-08-31T14:47:59+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/dee188f85fb647a579c55e1398078c884ddd4033multiprocessing does not cope well with terminate() without join() straight2011-08-31T11:45:14+00:00Arnaud Fontainearnaud.fontaine@nexedi.comaway as it needs to send for example the exit status over a pipe and also the
SIGCHLD was interrupting this pipe.
Moreover, there was a race condition in the previous code leaving some
children left in some cases because some SIGCHLD got lost.
Also, ignore further SIGTERM once one has been received to avoid receiving a
SIGTERM before putting the result to the queue and interrupting
multiprocessing magic.
git-svn-id: <a href="https://svn.erp5.org/repos/public/erp5/trunk/utils@46025" rel="nofollow noreferrer noopener" target="_blank">https://svn.erp5.org/repos/public/erp5/trunk/utils@46025</a> 20353a03-c40f-0410-a6d1-a30d3c3de9dehttps://lab.nexedi.com/nexedi/erp5/-/commit/4b5f59c22c0dddd2adc880110506353843a630cfConvert the msg to a string before putting in the queue (otherwise the2011-08-31T11:45:03+00:00Arnaud Fontainearnaud.fontaine@nexedi.comexception object is serialized in order to be sent to the master process)
git-svn-id: <a href="https://svn.erp5.org/repos/public/erp5/trunk/utils@46024" rel="nofollow noreferrer noopener" target="_blank">https://svn.erp5.org/repos/public/erp5/trunk/utils@46024</a> 20353a03-c40f-0410-a6d1-a30d3c3de9dehttps://lab.nexedi.com/nexedi/erp5/-/commit/f95f56f006f63be99cc482c463975d518aaca319Only create the result logger once2011-08-31T11:44:54+00:00Arnaud Fontainearnaud.fontaine@nexedi.com
git-svn-id: <a href="https://svn.erp5.org/repos/public/erp5/trunk/utils@46023" rel="nofollow noreferrer noopener" target="_blank">https://svn.erp5.org/repos/public/erp5/trunk/utils@46023</a> 20353a03-c40f-0410-a6d1-a30d3c3de9dehttps://lab.nexedi.com/nexedi/erp5/-/commit/1a19ea70f4290c2e9c9ca5b29f33cefbc0776b18test case for recovery of usernames2011-08-31T11:33:45+02:00Aurélien Calonneaurel@nexedi.com
also fix check of email content in subscription messagehttps://lab.nexedi.com/nexedi/erp5/-/commit/931bc41dfedd6c515a347aa6387aba5b36c1cde9modify a test following cdeefdd90091b7706a38a4065507875ba09d56c9.2011-08-31T11:10:50+02:00Kazuhiko Shiozakikazuhiko@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/61f967f5b66694529ab499cfccd10b3dd43fe31bwhen creating a credential recovery for a password, reference must be setted2011-08-31T11:09:02+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/2bce3751395a9fe011f4d52d23331a1a0fb82bb7date formatting is done by substition method2011-08-31T11:05:38+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a1e81657f4781929cef2e80b85c2012f7bcc8dfathis try/except must only catch error from the getattr, not from2011-08-31T11:05:37+02:00Aurélien Calonneaurel@nexedi.comscript executionhttps://lab.nexedi.com/nexedi/erp5/-/commit/414042ade46f3a5b9e1dd1d60fc95761bc6eea7aamount generator no longer ignores quantity=0 result like legacy trade model ...2011-08-31T10:11:19+02:00Kazuhiko Shiozakikazuhiko@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/04e1768ed45482e868fe9f9819644a5f3e55353anamed parameter to avoid confusion2011-08-31T09:28:34+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/e8f8af964f8774122971867bbbbb06a141f167faremove non generic part2011-08-31T09:13:34+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/7f719af7a89812710fcf1e55bc054feb36f29a8frevert previous change and apply appropriate fix.2011-08-30T21:51:42-03:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/1f4677ca2b36ef2987574aa2818d2821a91521c4Preserve the original informations in case of error.2011-08-30T15:34:03-03:00Rafael Monneratrafael@nexedi.com
This prevents we have unfinished testshttps://lab.nexedi.com/nexedi/erp5/-/commit/76801d8640966f3d42beeda8535db6e63ee63d50Use UTF-8 and unicode to replace latin1 chars.2011-08-30T15:16:13-03:00Rafael Monneratrafael@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/8304e68eb274e5178a7f27f76c3dbb8b569cc384in case of total_quantity==0, the some of delivery_ratio should be specified ...2011-08-30T17:52:54+02:00Kazuhiko Shiozakikazuhiko@nexedi.comalso cast delivery_ratio to float for safety.https://lab.nexedi.com/nexedi/erp5/-/commit/0a3945788cde91266ac01302a4337094a097761bmake generation of reset url configurable through a type base script2011-08-30T17:41:23+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/84e59af2b839572d73e0ebc7790e7088ca019170code improvement2011-08-30T16:19:10+02:00Kazuhiko Shiozakikazuhiko@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/0a6324f268908f9e642d741bf323eef2a31391d6Avoid publishing in activities.2011-08-30T15:29:27+02:00Łukasz Nowakluke@nexedi.com
During usage of shacache and shadir it was possible to publish document
immediately.
If there is problem with such scenario, it shall be fixed in correct place with
a test proving issue.https://lab.nexedi.com/nexedi/erp5/-/commit/cabb7eaef768e281e2b01ad0574953b1c61dfb4fmake sure we do not send mail to the same email address multiple time2011-08-30T14:45:14+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/94f2c3116f8b67addc4f4509fe565fe9a33a7f87retrieve password notification message reference from preference2011-08-30T14:05:14+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/1bc2aa061f586847e772815a2753fb6e8885569eImplement recovery of username(s)2011-08-30T14:02:46+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a80de98c7a07489ca0c45dfcba8546066936835aadd notification message for username recovery2011-08-30T13:57:43+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/69401849882881cced0f994ba1ef04eeb98fb286add preference to defined recovery message reference to use2011-08-30T13:46:28+02:00Aurélien Calonneaurel@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/cdeefdd90091b7706a38a4065507875ba09d56c9deleteContent should be called in this script that has proxy roles.2011-08-30T12:26:58+02:00Kazuhiko Shiozakikazuhiko@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a1818daa2c1cbb509f9d7693ce1dd8d35bf4c5efFix the issue that the Stock tab in Production Order or Production Packing...2011-08-30T18:56:49+09:00Tatuya Kamadatatuya@nexedi.comFix the issue that the Stock tab in Production Order or Production Packing List returns all the inventories when the Deliveries do not have a resource.
https://lab.nexedi.com/nexedi/erp5/-/commit/e7e1ba71fa88ef41348268d82205eb0172f782fcFallback to default ceredential extraction.2011-08-30T11:36:17+02:00Łukasz Nowakluke@nexedi.com
As there is not default ERP5 extraction plugin, new plugins shall fallback
to default way of ERP5 extraction mechanism: DumbHTTPExtractor from PAS.https://lab.nexedi.com/nexedi/erp5/-/commit/d2d9138856144643b20a42bc2d0a32c15a60251aFix to show quantity unit title in the listbox of the Stock tab.2011-08-30T18:28:35+09:00Tatuya Kamadatatuya@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/7a899d7246f9007d733caa35f1f582cb1b9779ddFix periodic flushing of results2011-08-30T09:18:06+00:00Arnaud Fontainearnaud.fontaine@nexedi.com
git-svn-id: <a href="https://svn.erp5.org/repos/public/erp5/trunk/utils@46020" rel="nofollow noreferrer noopener" target="_blank">https://svn.erp5.org/repos/public/erp5/trunk/utils@46020</a> 20353a03-c40f-0410-a6d1-a30d3c3de9de