erp5:f0023bef914967974d8f4879d180f39327aec4e7 commitshttps://lab.nexedi.com/nexedi/erp5/-/commits/f0023bef914967974d8f4879d180f39327aec4e72011-07-11T18:29:43+02:00https://lab.nexedi.com/nexedi/erp5/-/commit/f0023bef914967974d8f4879d180f39327aec4e7Implement directory based JSON task distribution tool.2011-07-11T18:29:43+02:00Ćukasz Nowakluke@nexedi.com
JSON allows to exchange python dictionaries in safe and simple way.
So thanks to using directory where test results are posted, it is possible that call
external tool will call erunTestSuite, which would later attach to such directory
"x" and do "something" more with stored test results.https://lab.nexedi.com/nexedi/erp5/-/commit/cac06a886dff11bb615c86e5f2759035872eaa35BusinessTemplate: fix removal of allowed types on already removed portal types2011-07-08T20:05:34+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/30470464bc64062c6b0489a4d5463d9ec95724f5TrashTool: fix removal of broken objects from a BTreeFolder22011-07-08T20:05:34+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/439cd4791d406cf55f0d3c89541e0e745d5021e2We must inherit from ERP5TypeTestCase.2011-07-08T12:07:51-03:00Lucas Carvalholucas@nexedi.com
Now is possible to run these tests under portal_classes due the "magic" done by runLiveTest and also run using runUnitTest.https://lab.nexedi.com/nexedi/erp5/-/commit/e23637e9801e95363333b75f3471c7fdd228631aMake sure that the user can have assignment for shacache and other of shadir.2011-07-08T12:07:51-03:00Lucas Carvalholucas@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/de1a71eb03bc8b847242d2e434d50433dda06bfeTrashTool: do not backup broken objects due to a bug in ZODB.ExportImport2011-07-08T15:26:52+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/dc11344d264290c42ec487a1dfda37a23f1614ddPrevent infinite recursion.2011-07-08T12:23:28+00:00Vincent Pelletiervincent@nexedi.com
This can happen, for example, when there is a broken subobject on a
property sheet.
The main advantage of this change is to make the error cause easier to
track down.https://lab.nexedi.com/nexedi/erp5/-/commit/a68a2fcafd225dff728d5a61f5fc9689afe8a658Cleanup property_sheet_generating_portal_type_set2011-07-08T12:22:40+00:00Vincent Pelletiervincent@nexedi.com
Whatever the reason we exit this code, we are not generating this portal
type anymore. So remove it from set.https://lab.nexedi.com/nexedi/erp5/-/commit/27d57647e96329a326b484249dbe5abbf4b4df2fRemove unnecessary comment2011-07-07T17:47:17+02:00Leonardo Rochael Almeidaleonardo@nexedi.com
simulation_movement.setPropertyList(
'variation_category',
movement.getProperty('variation_category_list'))
Does work after all. Note the absence of the _list suffix on the setting
property.https://lab.nexedi.com/nexedi/erp5/-/commit/cd997726f228030fb7d7866a28e7f2d6b6c60583Fix AcceptSolver for category with multiple values2011-07-07T17:09:50+02:00Leonardo Rochael Almeidaleonardo@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/408d9ab07bbbb9a7130a8db38861a9a88c8d0636Fix thinko and add dire warning2011-07-07T17:09:49+02:00Leonardo Rochael Almeidaleonardo@nexedi.com
If a mapped property had a '-', it would be called like:
document.setProperty('-price', -20.0)
Also, add a warning about trying to set 'variation_category_list' in a
SimulationMovement with property mapping.https://lab.nexedi.com/nexedi/erp5/-/commit/91d9fdd4ec3d32262ebfba3c5b7cee0fd4e49ee8ERP5VCS: fix 'push' option when commit is interrupted by a login dialog2011-07-07T17:04:29+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/3a2f0bf44ecc335af8dbb7b29001abfed8076012erp5_core: remove 2 useless scripts2011-07-07T17:04:29+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/336a8d63bdcabd92bfe3d9466685e5cd47fad716create support request's reference just same as event's reference.2011-07-07T16:19:16+02:00Kazuhiko Shiozakikazuhiko@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/79523eee393223c95eb9afca6afa4e0057b09b34ERP5Type.constructInstance: simplify code2011-07-07T11:32:35+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/3dbabf8a258d29da91a37df359632f6473aab255Revert "Make newContent call _edit sooner (before computing local roles)"2011-07-07T11:32:33+02:00Julien Muchembledjm@nexedi.com
<a href="/tomo/erp5/-/commit/66cb9c9617417c7139ba4b48ea00209255d2ddf9" data-original="66cb9c9617417c7139ba4b48ea00209255d2ddf9" data-link="false" data-link-reference="false" data-project="850" data-commit="66cb9c9617417c7139ba4b48ea00209255d2ddf9" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Make newContent call _edit sooner (before computing local roles)" class="gfm gfm-commit has-tooltip">66cb9c96</a> prevented init scripts to be used to
set default values, so original order of initialization must be reverted.
_edit may also trigger interactions that require workflows to be initialized.
Code simplication is kept, and _edit **kw is now passed to init script as an
alternate way for init scripts to know properties given to newContent.https://lab.nexedi.com/nexedi/erp5/-/commit/8c4fb3f8c33e180e63b4e47124f93882520931ddOverride the WebSite class using portal_classes.2011-07-06T11:59:33-03:00Lucas Carvalholucas@nexedi.com
Applying mixin classes dynamically under portal types, does not allow to overwrite the methods which already exists in the inherit tree for the methods provided by the mixin class.
So with this new document (WebSite.py), we can force which implementation must be used in that case.https://lab.nexedi.com/nexedi/erp5/-/commit/3136232396ba107ac0dbc545e367db607742b639Revert "Exporting the Web Site portal type with VirtualFolderMixin enabled."2011-07-06T11:46:03-03:00Lucas Carvalholucas@nexedi.com
This reverts commit <a href="/tomo/erp5/-/commit/688cf160053e4e3c30c75067907519293f8f3bce" data-original="688cf160053e4e3c30c75067907519293f8f3bce" data-link="false" data-link-reference="false" data-project="850" data-commit="688cf160053e4e3c30c75067907519293f8f3bce" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Exporting the Web Site portal type with VirtualFolderMixin enabled." class="gfm gfm-commit has-tooltip">688cf160</a>.https://lab.nexedi.com/nexedi/erp5/-/commit/70755602564b704eb2724331d8a7e7a097f56ea8fix typos in security declarations.2011-07-06T15:18:28+02:00Kazuhiko Shiozakikazuhiko@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/5272cf4791915dc920285468e39dd8047f8ca06eGit: 'rev-parse --symbolic-full-name HEAD' returns HEAD in "detached HEAD" state2011-07-06T11:16:41+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/24bf5b0091bf87781cb1efd115fab7ada76fba6fFix passing 'created_by_builder' parameter to init scripts2011-07-06T10:49:15+02:00Julien Muchembledjm@nexedi.com
This fixes a regression in <a href="/tomo/erp5/-/commit/66cb9c9617417c7139ba4b48ea00209255d2ddf9" data-original="66cb9c9617417c7139ba4b48ea00209255d2ddf9" data-link="false" data-link-reference="false" data-project="850" data-commit="66cb9c9617417c7139ba4b48ea00209255d2ddf9" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Make newContent call _edit sooner (before computing local roles)" class="gfm gfm-commit has-tooltip">66cb9c96</a>https://lab.nexedi.com/nexedi/erp5/-/commit/20b961399ca5fff8668f85ccc71033e48b8b7899fix a bug in free_text question case and fix a typo.2011-07-06T10:05:44+02:00Kazuhiko Shiozakikazuhiko@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/f05aab2af04a87d9486fbb0d84e7195174204fe7portal contributions does the same and much more, so we must use it.2011-07-05T20:39:32-03:00Lucas Carvalholucas@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/bb106904a74eb7bff9ba7b4bf1f074cef76f0231Document mysql_db_count property.2011-07-05T09:50:56+00:00Vincent Pelletiervincent@nexedi.com
That property can be used to request more databases in a given suite.
This removes the need of fetching an hardcoded number of connection strings
at an hardcoded position in mysql_db_list, which in turns fixes a python
mistake ("string + list").https://lab.nexedi.com/nexedi/erp5/-/commit/ee7eafb44e0663512221528c5ed147d8443e2d45Fix getSortedCategoryList. Category may be a predicate located in non base ca...2011-07-05T17:41:30+09:00Yusei Taharayusei@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/688cf160053e4e3c30c75067907519293f8f3bceExporting the Web Site portal type with VirtualFolderMixin enabled.2011-07-05T02:28:40-03:00Lucas Carvalholucas@nexedi.com
With this mixin enabled it is possible to handle the PUT methods for document creation.https://lab.nexedi.com/nexedi/erp5/-/commit/f77cd3ea9b6960dc535dde829e8cad3bd6c1d62fThe document is not published alive anymore. It is now only published.2011-07-05T02:22:57-03:00Lucas Carvalholucas@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/33dd37efec71a6d9dfa2792ee7864577689a5b9eUpdated the tests with latest changes.2011-07-05T02:21:25-03:00Lucas Carvalholucas@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/03fed990388729c555e4cfc8ce0ec97802d29605We do not publish alive the document anymore.2011-07-05T02:21:01-03:00Lucas Carvalholucas@nexedi.com
ShaDir reuses the code of ShaCache. WebSection_putFactory takes care about publishing the document.https://lab.nexedi.com/nexedi/erp5/-/commit/ad38c89d1aeed3aff31d9ece890965720ceb94acUpdated test with latest changes.2011-07-05T02:18:11-03:00Lucas Carvalholucas@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/f0ff55f12791ab97d8503a881f56b47cbebd0e50Configuring Web Site portal type to _verifyObjectPaste return TRUE.2011-07-05T02:17:39-03:00Lucas Carvalholucas@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/f57ac544f12bf9d8afcf55fdce7e017383a7b298Make sure that the document is only published by last.2011-07-05T02:13:29-03:00Lucas Carvalholucas@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/0eb076a705628a15d256f701e7c7284d9fceb6a5This script must be invoked by last.2011-07-05T02:09:39-03:00Lucas Carvalholucas@nexedi.com
It is required to publish the document, but it can only be done after all.
Otherwise, it can lead in security problems.https://lab.nexedi.com/nexedi/erp5/-/commit/e4279b29a6e246bbb30bc98987d503ec654f3d22Brown paper bag commit.2011-07-04T16:33:41+00:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/2d04e9c8c441147a576f6a16594ba3e5f44349cdRemove unnecessary imports.2011-07-04T16:33:21+00:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/13d8cf779fda27830f6ed2badb5c01ef6cf8d0fbMore renaming.2011-07-04T16:14:03+00:00Vincent Pelletiervincent@nexedi.com
Forgotten in <a href="/tomo/erp5/-/commit/557ebc2a2a5158b433b1499708ebe255e12cbeda" data-original="557ebc2a2a5158b433b1499708ebe255e12cbeda" data-link="false" data-link-reference="false" data-project="850" data-commit="557ebc2a2a5158b433b1499708ebe255e12cbeda" data-reference-type="commit" data-container="body" data-placement="top" data-html="true" title="Rename misnamed class." class="gfm gfm-commit has-tooltip">557ebc2a</a>.https://lab.nexedi.com/nexedi/erp5/-/commit/035e5926d3259e4d43839b50d7d416cbf33ca615Make classes available to test suite declarations.2011-07-04T16:11:00+00:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/557ebc2a2a5158b433b1499708ebe255e12cbedaRename misnamed class.2011-07-04T16:10:59+00:00Vincent Pelletiervincent@nexedi.com
This class has nothing to do with ProjectTestSuite, so drop "Project" in
its name.https://lab.nexedi.com/nexedi/erp5/-/commit/66cb9c9617417c7139ba4b48ea00209255d2ddf9Make newContent call _edit sooner (before computing local roles)2011-07-04T17:51:21+02:00Julien Muchembledjm@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/7f7cc0cf016e35c0ee7d8ea0f3a088bb45b31582Return unique test names.2011-07-04T14:43:53+00:00Vincent Pelletiervincent@nexedi.com
Homonyms cannot be distinguished by test runner, so if there are multiple
matches (because of duplicated product, or duplicate path_list entry, ...)
it will be just the same test executed multiple time.