Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
114
Merge Requests
114
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
41f9cd88
Commit
41f9cd88
authored
Sep 02, 2014
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing whitespaces
parent
96df5d16
Changes
587
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
587 changed files
with
5214 additions
and
5219 deletions
+5214
-5219
SOAPpy_WSDL.py
product/AGProjects/patches/SOAPpy_WSDL.py
+3
-3
ActiveObject.py
product/CMFActivity/ActiveObject.py
+1
-1
ActiveProcess.py
product/CMFActivity/ActiveProcess.py
+1
-1
Queue.py
product/CMFActivity/Activity/Queue.py
+2
-2
SQLBase.py
product/CMFActivity/Activity/SQLBase.py
+1
-1
SQLDict.py
product/CMFActivity/Activity/SQLDict.py
+3
-3
SQLQueue.py
product/CMFActivity/Activity/SQLQueue.py
+2
-2
ActivityTool.py
product/CMFActivity/ActivityTool.py
+9
-9
testCMFActivity.py
product/CMFActivity/tests/testCMFActivity.py
+26
-26
Category.py
product/CMFCategory/Category.py
+18
-18
CategoryTool.py
product/CMFCategory/CategoryTool.py
+17
-17
Filter.py
product/CMFCategory/Filter.py
+1
-1
Renderer.py
product/CMFCategory/Renderer.py
+1
-1
testCMFCategory.py
product/CMFCategory/tests/testCMFCategory.py
+16
-16
AggregatedAmountList.py
product/ERP5/AggregatedAmountList.py
+2
-2
GLPK.py
product/ERP5/Capacity/GLPK.py
+7
-7
AccountTypeConstraint.py
product/ERP5/Constraint/AccountTypeConstraint.py
+3
-3
AccountingTransactionBalance.py
product/ERP5/Constraint/AccountingTransactionBalance.py
+4
-4
DocumentReferenceConstraint.py
product/ERP5/Constraint/DocumentReferenceConstraint.py
+1
-1
TransactionQuantityValueFeasability.py
...ct/ERP5/Constraint/TransactionQuantityValueFeasability.py
+2
-2
TransactionQuantityValueValidity.py
product/ERP5/Constraint/TransactionQuantityValueValidity.py
+1
-1
Converter.py
product/ERP5/Converter/Converter.py
+1
-1
AccountTypeConstraint.py
product/ERP5/Document/AccountTypeConstraint.py
+2
-2
AccountingTransaction.py
product/ERP5/Document/AccountingTransaction.py
+1
-1
AccountingTransactionLine.py
product/ERP5/Document/AccountingTransactionLine.py
+1
-1
Acknowledgement.py
product/ERP5/Document/Acknowledgement.py
+2
-2
Agent.py
product/ERP5/Document/Agent.py
+2
-2
Alarm.py
product/ERP5/Document/Alarm.py
+10
-10
AmortisationRule.py
product/ERP5/Document/AmortisationRule.py
+49
-49
Amount.py
product/ERP5/Document/Amount.py
+14
-14
AttributeBlacklistedConstraint.py
product/ERP5/Document/AttributeBlacklistedConstraint.py
+4
-4
AttributeUnicityConstraint.py
product/ERP5/Document/AttributeUnicityConstraint.py
+2
-2
BalanceTransaction.py
product/ERP5/Document/BalanceTransaction.py
+20
-20
BaseDomain.py
product/ERP5/Document/BaseDomain.py
+1
-1
Budget.py
product/ERP5/Document/Budget.py
+1
-1
BudgetCell.py
product/ERP5/Document/BudgetCell.py
+1
-1
BudgetLine.py
product/ERP5/Document/BudgetLine.py
+2
-2
BudgetModel.py
product/ERP5/Document/BudgetModel.py
+3
-3
BudgetTransaction.py
product/ERP5/Document/BudgetTransaction.py
+2
-2
BudgetTransfer.py
product/ERP5/Document/BudgetTransfer.py
+1
-1
BudgetTransferLine.py
product/ERP5/Document/BudgetTransferLine.py
+1
-1
BudgetVariation.py
product/ERP5/Document/BudgetVariation.py
+2
-2
BusinessLink.py
product/ERP5/Document/BusinessLink.py
+9
-9
BusinessProcess.py
product/ERP5/Document/BusinessProcess.py
+31
-31
BusinessTemplate.py
product/ERP5/Document/BusinessTemplate.py
+20
-20
Capacity.py
product/ERP5/Document/Capacity.py
+1
-1
Category.py
product/ERP5/Document/Category.py
+1
-1
CategoryAcquiredMembershipStateConstraint.py
...RP5/Document/CategoryAcquiredMembershipStateConstraint.py
+2
-2
CategoryBudgetVariation.py
product/ERP5/Document/CategoryBudgetVariation.py
+6
-6
CategoryMembershipStateConstraint.py
product/ERP5/Document/CategoryMembershipStateConstraint.py
+1
-1
CategoryRelatedMembershipStateConstraint.py
...ERP5/Document/CategoryRelatedMembershipStateConstraint.py
+2
-2
Consumption.py
product/ERP5/Document/Consumption.py
+8
-8
Container.py
product/ERP5/Document/Container.py
+7
-7
Coordinate.py
product/ERP5/Document/Coordinate.py
+1
-1
Delivery.py
product/ERP5/Document/Delivery.py
+1
-1
DeliveryCell.py
product/ERP5/Document/DeliveryCell.py
+2
-2
DeliveryLine.py
product/ERP5/Document/DeliveryLine.py
+3
-3
Document.py
product/ERP5/Document/Document.py
+10
-10
Domain.py
product/ERP5/Document/Domain.py
+7
-7
EmailDocument.py
product/ERP5/Document/EmailDocument.py
+7
-7
EmbeddedFile.py
product/ERP5/Document/EmbeddedFile.py
+1
-2
Event.py
product/ERP5/Document/Event.py
+2
-2
ExternalSource.py
product/ERP5/Document/ExternalSource.py
+2
-2
File.py
product/ERP5/Document/File.py
+2
-2
FloatEquivalenceTester.py
product/ERP5/Document/FloatEquivalenceTester.py
+3
-3
Gadget.py
product/ERP5/Document/Gadget.py
+1
-1
GeographicAddress.py
product/ERP5/Document/GeographicAddress.py
+1
-1
Image.py
product/ERP5/Document/Image.py
+3
-3
ImmobilisableItem.py
product/ERP5/Document/ImmobilisableItem.py
+11
-11
Immobilisation.py
product/ERP5/Document/Immobilisation.py
+1
-1
ImmobilisationDelivery.py
product/ERP5/Document/ImmobilisationDelivery.py
+2
-2
ImmobilisationMovement.py
product/ERP5/Document/ImmobilisationMovement.py
+17
-17
InternetProtocolAddress.py
product/ERP5/Document/InternetProtocolAddress.py
+1
-1
InventoryCell.py
product/ERP5/Document/InventoryCell.py
+2
-2
InvoiceLine.py
product/ERP5/Document/InvoiceLine.py
+1
-1
Item.py
product/ERP5/Document/Item.py
+1
-1
LeavePeriod.py
product/ERP5/Document/LeavePeriod.py
+2
-2
Machine.py
product/ERP5/Document/Machine.py
+1
-1
MailMessage.py
product/ERP5/Document/MailMessage.py
+1
-1
Movement.py
product/ERP5/Document/Movement.py
+15
-15
MovementGroup.py
product/ERP5/Document/MovementGroup.py
+3
-3
NodeBudgetVariation.py
product/ERP5/Document/NodeBudgetVariation.py
+4
-4
PackingList.py
product/ERP5/Document/PackingList.py
+1
-1
PaySheetTransactionLine.py
product/ERP5/Document/PaySheetTransactionLine.py
+1
-1
PeriodicityLine.py
product/ERP5/Document/PeriodicityLine.py
+1
-1
Person.py
product/ERP5/Document/Person.py
+4
-4
PredicateGroup.py
product/ERP5/Document/PredicateGroup.py
+1
-1
PredicateMatrix.py
product/ERP5/Document/PredicateMatrix.py
+6
-6
PresencePeriod.py
product/ERP5/Document/PresencePeriod.py
+1
-1
PropertyAssignmentMovementGroup.py
product/ERP5/Document/PropertyAssignmentMovementGroup.py
+2
-2
PropertyGroupingMovementGroup.py
product/ERP5/Document/PropertyGroupingMovementGroup.py
+2
-2
PythonScript.py
product/ERP5/Document/PythonScript.py
+2
-2
QuantitySignMovementGroup.py
product/ERP5/Document/QuantitySignMovementGroup.py
+1
-1
Resource.py
product/ERP5/Document/Resource.py
+7
-7
SQLNonContinuousIncreasingIdGenerator.py
...ct/ERP5/Document/SQLNonContinuousIncreasingIdGenerator.py
+4
-4
SimulatedDeliveryBuilder.py
product/ERP5/Document/SimulatedDeliveryBuilder.py
+2
-2
SimulationMovement.py
product/ERP5/Document/SimulationMovement.py
+1
-1
SolverDecision.py
product/ERP5/Document/SolverDecision.py
+1
-1
StringAttributeMatchConstraint.py
product/ERP5/Document/StringAttributeMatchConstraint.py
+4
-4
SupplyChain.py
product/ERP5/Document/SupplyChain.py
+10
-10
SupplyLine.py
product/ERP5/Document/SupplyLine.py
+3
-3
TaxLine.py
product/ERP5/Document/TaxLine.py
+1
-1
Telephone.py
product/ERP5/Document/Telephone.py
+2
-2
TextDocument.py
product/ERP5/Document/TextDocument.py
+3
-3
TradeModelPath.py
product/ERP5/Document/TradeModelPath.py
+1
-1
Transformation.py
product/ERP5/Document/Transformation.py
+1
-1
Url.py
product/ERP5/Document/Url.py
+1
-1
WebSection.py
product/ERP5/Document/WebSection.py
+2
-2
WebSite.py
product/ERP5/Document/WebSite.py
+2
-2
Wiki.py
product/ERP5/Document/Wiki.py
+33
-33
ZODBContinuousIncreasingIdGenerator.py
product/ERP5/Document/ZODBContinuousIncreasingIdGenerator.py
+1
-1
ERP5Site.py
product/ERP5/ERP5Site.py
+1
-1
ExplanationCache.py
product/ERP5/ExplanationCache.py
+13
-13
CheckPortalTypes.py
product/ERP5/Extensions/CheckPortalTypes.py
+1
-1
Diff.py
product/ERP5/Extensions/Diff.py
+1
-1
ImportAll.py
product/ERP5/Extensions/ImportAll.py
+1
-1
__init__.py
product/ERP5/Extensions/__init__.py
+1
-1
Interaction.py
product/ERP5/Interaction.py
+7
-7
CopyToTarget.py
product/ERP5/TargetSolver/CopyToTarget.py
+9
-9
Redirect.py
product/ERP5/TargetSolver/Redirect.py
+2
-2
ResourceBackpropagation.py
product/ERP5/TargetSolver/ResourceBackpropagation.py
+1
-1
SplitAndDefer.py
product/ERP5/TargetSolver/SplitAndDefer.py
+1
-1
SplitQuantity.py
product/ERP5/TargetSolver/SplitQuantity.py
+2
-2
TransformationSourcingCopyToTarget.py
...t/ERP5/TargetSolver/TransformationSourcingCopyToTarget.py
+2
-2
AcknowledgementTool.py
product/ERP5/Tool/AcknowledgementTool.py
+10
-10
AlarmTool.py
product/ERP5/Tool/AlarmTool.py
+1
-1
CertificateAuthorityTool.py
product/ERP5/Tool/CertificateAuthorityTool.py
+1
-1
ContributionOpener.py
product/ERP5/Tool/ContributionOpener.py
+1
-1
ContributionTool.py
product/ERP5/Tool/ContributionTool.py
+6
-6
ConversionTool.py
product/ERP5/Tool/ConversionTool.py
+7
-7
DomainTool.py
product/ERP5/Tool/DomainTool.py
+15
-15
GadgetTool.py
product/ERP5/Tool/GadgetTool.py
+1
-1
InterpolationTool.py
product/ERP5/Tool/InterpolationTool.py
+1
-1
IntrospectionTool.py
product/ERP5/Tool/IntrospectionTool.py
+17
-17
LogMixin.py
product/ERP5/Tool/LogMixin.py
+6
-6
NotificationTool.py
product/ERP5/Tool/NotificationTool.py
+2
-2
SolverProcessTool.py
product/ERP5/Tool/SolverProcessTool.py
+3
-3
SolverTool.py
product/ERP5/Tool/SolverTool.py
+3
-3
TemplateTool.py
product/ERP5/Tool/TemplateTool.py
+1
-1
TestTool.py
product/ERP5/Tool/TestTool.py
+1
-1
__init__.py
product/ERP5/__init__.py
+1
-1
MetaNode.py
product/ERP5/ancient/Core/MetaNode.py
+2
-2
Movement.py
product/ERP5/ancient/Core/Movement.py
+1
-1
Node.py
product/ERP5/ancient/Core/Node.py
+1
-1
bigfile_client_example.py
product/ERP5/bin/bigfile_client_example.py
+3
-3
extension.erp5.DocumentExtraction.py
...em/portal_components/extension.erp5.DocumentExtraction.py
+2
-2
extension.erp5.InventoryBrain.py
...teItem/portal_components/extension.erp5.InventoryBrain.py
+1
-1
extension.erp5.StandardSecurity.py
...Item/portal_components/extension.erp5.StandardSecurity.py
+9
-9
extension.erp5.ZODBHistory.py
...plateItem/portal_components/extension.erp5.ZODBHistory.py
+4
-4
amount.py
product/ERP5/interfaces/amount.py
+10
-10
amount_list.py
product/ERP5/interfaces/amount_list.py
+1
-1
base_convertable.py
product/ERP5/interfaces/base_convertable.py
+2
-2
business_link.py
product/ERP5/interfaces/business_link.py
+9
-9
business_process.py
product/ERP5/interfaces/business_process.py
+16
-16
convertable.py
product/ERP5/interfaces/convertable.py
+10
-10
crawlable.py
product/ERP5/interfaces/crawlable.py
+3
-3
document.py
product/ERP5/interfaces/document.py
+5
-5
explainable.py
product/ERP5/interfaces/explainable.py
+4
-4
extensible_traversable.py
product/ERP5/interfaces/extensible_traversable.py
+2
-2
generated_delivery_builder.py
product/ERP5/interfaces/generated_delivery_builder.py
+7
-7
html_convertable.py
product/ERP5/interfaces/html_convertable.py
+1
-1
id_generator.py
product/ERP5/interfaces/id_generator.py
+3
-3
id_tool.py
product/ERP5/interfaces/id_tool.py
+4
-4
immobilisation_item.py
product/ERP5/interfaces/immobilisation_item.py
+1
-1
login_account_provider.py
product/ERP5/interfaces/login_account_provider.py
+6
-7
mapped_value.py
product/ERP5/interfaces/mapped_value.py
+1
-1
mime_sender.py
product/ERP5/interfaces/mime_sender.py
+2
-2
movement.py
product/ERP5/interfaces/movement.py
+7
-7
movement_collection.py
product/ERP5/interfaces/movement_collection.py
+3
-3
movement_collection_diff.py
product/ERP5/interfaces/movement_collection_diff.py
+5
-5
movement_collection_updater.py
product/ERP5/interfaces/movement_collection_updater.py
+4
-4
movement_group.py
product/ERP5/interfaces/movement_group.py
+2
-2
movement_list.py
product/ERP5/interfaces/movement_list.py
+1
-1
predicate.py
product/ERP5/interfaces/predicate.py
+2
-2
property_recordable.py
product/ERP5/interfaces/property_recordable.py
+1
-1
referenceable.py
product/ERP5/interfaces/referenceable.py
+3
-3
rounding_tool.py
product/ERP5/interfaces/rounding_tool.py
+1
-1
rule.py
product/ERP5/interfaces/rule.py
+1
-1
sendable.py
product/ERP5/interfaces/sendable.py
+9
-9
similarity_provider.py
product/ERP5/interfaces/similarity_provider.py
+2
-2
simulated_delivery_builder.py
product/ERP5/interfaces/simulated_delivery_builder.py
+7
-8
simulation_movement.py
product/ERP5/interfaces/simulation_movement.py
+6
-6
solver.py
product/ERP5/interfaces/solver.py
+3
-3
trade_model_path.py
product/ERP5/interfaces/trade_model_path.py
+2
-2
translatable.py
product/ERP5/interfaces/translatable.py
+1
-1
uploadable.py
product/ERP5/interfaces/uploadable.py
+12
-12
variated.py
product/ERP5/interfaces/variated.py
+23
-23
variation_range.py
product/ERP5/interfaces/variation_range.py
+1
-1
versionable.py
product/ERP5/interfaces/versionable.py
+3
-3
watermarkable.py
product/ERP5/interfaces/watermarkable.py
+2
-2
cached_convertable.py
product/ERP5/mixin/cached_convertable.py
+1
-1
document.py
product/ERP5/mixin/document.py
+2
-2
explainable.py
product/ERP5/mixin/explainable.py
+4
-4
extensible_traversable.py
product/ERP5/mixin/extensible_traversable.py
+1
-1
login_account_provider.py
product/ERP5/mixin/login_account_provider.py
+7
-8
periodicity.py
product/ERP5/mixin/periodicity.py
+4
-4
property_recordable.py
product/ERP5/mixin/property_recordable.py
+1
-1
rule.py
product/ERP5/mixin/rule.py
+4
-4
variated.py
product/ERP5/mixin/variated.py
+18
-18
variation.py
product/ERP5/mixin/variation.py
+3
-3
erp5_url_checker.py
product/ERP5/tests/erp5_url_checker.py
+1
-1
testAccounting.py
product/ERP5/tests/testAccounting.py
+153
-153
testAccountingReports.py
product/ERP5/tests/testAccountingReports.py
+254
-254
testAccounting_l10n_fr_m9.py
product/ERP5/tests/testAccounting_l10n_fr_m9.py
+12
-12
testAdvancedInvoicing.py
product/ERP5/tests/testAdvancedInvoicing.py
+11
-11
testAlarm.py
product/ERP5/tests/testAlarm.py
+4
-4
testAmount.py
product/ERP5/tests/testAmount.py
+24
-24
testApparelTransformation.py
product/ERP5/tests/testApparelTransformation.py
+54
-54
testAuthenticationPolicy.py
product/ERP5/tests/testAuthenticationPolicy.py
+123
-123
testAutoLogout.py
product/ERP5/tests/testAutoLogout.py
+11
-11
testBase.py
product/ERP5/tests/testBase.py
+43
-43
testBudget.py
product/ERP5/tests/testBudget.py
+26
-26
testBug.py
product/ERP5/tests/testBug.py
+6
-6
testBusinessTemplate.py
product/ERP5/tests/testBusinessTemplate.py
+7
-7
testCRM.py
product/ERP5/tests/testCRM.py
+17
-17
testContentTranslation.py
product/ERP5/tests/testContentTranslation.py
+1
-1
testCrmReports.py
product/ERP5/tests/testCrmReports.py
+129
-129
testDataProtection.py
product/ERP5/tests/testDataProtection.py
+1
-1
testDeliveryBuilderToSupportMultipleLines.py
...t/ERP5/tests/testDeliveryBuilderToSupportMultipleLines.py
+1
-1
testDivergenceTester.py
product/ERP5/tests/testDivergenceTester.py
+10
-10
testDomainTool.py
product/ERP5/tests/testDomainTool.py
+2
-2
testERP5Administration.py
product/ERP5/tests/testERP5Administration.py
+5
-5
testERP5Base.py
product/ERP5/tests/testERP5Base.py
+18
-18
testERP5Category.py
product/ERP5/tests/testERP5Category.py
+4
-4
testERP5Commerce.py
product/ERP5/tests/testERP5Commerce.py
+6
-6
testERP5Coordinate.py
product/ERP5/tests/testERP5Coordinate.py
+2
-2
testERP5Core.py
product/ERP5/tests/testERP5Core.py
+1
-1
testERP5Credential.py
product/ERP5/tests/testERP5Credential.py
+4
-4
testERP5CurrencyExchangeLine.py
product/ERP5/tests/testERP5CurrencyExchangeLine.py
+19
-19
testERP5Discussion.py
product/ERP5/tests/testERP5Discussion.py
+11
-11
testERP5Simulation.py
product/ERP5/tests/testERP5Simulation.py
+1
-1
testERP5WebCodingStyle.py
product/ERP5/tests/testERP5WebCodingStyle.py
+1
-1
testERP5eGov.py
product/ERP5/tests/testERP5eGov.py
+13
-13
testEditorField.py
product/ERP5/tests/testEditorField.py
+17
-17
testExternalAccount.py
product/ERP5/tests/testExternalAccount.py
+8
-8
testFieldLibraryGuideline.py
product/ERP5/tests/testFieldLibraryGuideline.py
+26
-26
testGeographicalAddress.py
product/ERP5/tests/testGeographicalAddress.py
+4
-4
testICal.py
product/ERP5/tests/testICal.py
+37
-37
testIdTool.py
product/ERP5/tests/testIdTool.py
+4
-4
testIdToolUpgrade.py
product/ERP5/tests/testIdToolUpgrade.py
+1
-1
testImmobilisation.py
product/ERP5/tests/testImmobilisation.py
+138
-138
testInternalOrder.py
product/ERP5/tests/testInternalOrder.py
+1
-1
testInvalidationBug.py
product/ERP5/tests/testInvalidationBug.py
+1
-1
testInvoice.py
product/ERP5/tests/testInvoice.py
+22
-22
testItem.py
product/ERP5/tests/testItem.py
+29
-29
testKM.py
product/ERP5/tests/testKM.py
+193
-193
testMRP.py
product/ERP5/tests/testMRP.py
+1
-1
testMovementGroup.py
product/ERP5/tests/testMovementGroup.py
+1
-1
testNotificationTool.py
product/ERP5/tests/testNotificationTool.py
+17
-17
testOpenOrder.py
product/ERP5/tests/testOpenOrder.py
+1
-1
testOrder.py
product/ERP5/tests/testOrder.py
+5
-5
testPackingList.py
product/ERP5/tests/testPackingList.py
+3
-3
testPackingListRoundingPrecision.py
product/ERP5/tests/testPackingListRoundingPrecision.py
+1
-1
testPayroll.py
product/ERP5/tests/testPayroll.py
+12
-12
testPerson.py
product/ERP5/tests/testPerson.py
+12
-12
testPredicate.py
product/ERP5/tests/testPredicate.py
+33
-33
testProductionOrder.py
product/ERP5/tests/testProductionOrder.py
+40
-40
testProductionOrderApparel.py
product/ERP5/tests/testProductionOrderApparel.py
+38
-38
testProject.py
product/ERP5/tests/testProject.py
+5
-5
testPurchaseOrder.py
product/ERP5/tests/testPurchaseOrder.py
+2
-2
testQueryModule.py
product/ERP5/tests/testQueryModule.py
+2
-2
testResource.py
product/ERP5/tests/testResource.py
+10
-10
testResourceVariation.py
product/ERP5/tests/testResourceVariation.py
+16
-16
testReturnedSalePackingList.py
product/ERP5/tests/testReturnedSalePackingList.py
+79
-79
testSQLCachedWorklist.py
product/ERP5/tests/testSQLCachedWorklist.py
+1
-1
testSupply.py
product/ERP5/tests/testSupply.py
+3
-3
testTask.py
product/ERP5/tests/testTask.py
+19
-19
testTaskReportDivergence.py
product/ERP5/tests/testTaskReportDivergence.py
+5
-5
testTemplate.py
product/ERP5/tests/testTemplate.py
+2
-2
testTemplateTool.py
product/ERP5/tests/testTemplateTool.py
+2
-2
testTradeCondition.py
product/ERP5/tests/testTradeCondition.py
+6
-6
testTradeModelLine.py
product/ERP5/tests/testTradeModelLine.py
+2
-2
testTradeReports.py
product/ERP5/tests/testTradeReports.py
+51
-51
testTrashTool.py
product/ERP5/tests/testTrashTool.py
+5
-5
testUrl.py
product/ERP5/tests/testUrl.py
+11
-11
testWorklist.py
product/ERP5/tests/testWorklist.py
+20
-20
testXHTML.py
product/ERP5/tests/testXHTML.py
+1
-1
BaobabMixin.py
product/ERP5Banking/BaobabMixin.py
+1
-1
BankingOperation.py
product/ERP5Banking/Document/BankingOperation.py
+5
-5
CashDelivery.py
product/ERP5Banking/Document/CashDelivery.py
+1
-1
CashDeliveryCell.py
product/ERP5Banking/Document/CashDeliveryCell.py
+2
-2
CashDeliveryLine.py
product/ERP5Banking/Document/CashDeliveryLine.py
+1
-1
CashInventory.py
product/ERP5Banking/Document/CashInventory.py
+1
-1
TestERP5BankingMixin.py
product/ERP5Banking/tests/TestERP5BankingMixin.py
+13
-13
testERP5BankingAccountingCancellation.py
...RP5Banking/tests/testERP5BankingAccountingCancellation.py
+5
-5
testERP5BankingAccountingDate.py
product/ERP5Banking/tests/testERP5BankingAccountingDate.py
+2
-2
testERP5BankingAvailableInventory.py
...ct/ERP5Banking/tests/testERP5BankingAvailableInventory.py
+24
-24
testERP5BankingBankAccountInventory.py
.../ERP5Banking/tests/testERP5BankingBankAccountInventory.py
+6
-6
testERP5BankingCashBalanceRegulation.py
...ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py
+19
-19
testERP5BankingCashClassification.py
...ct/ERP5Banking/tests/testERP5BankingCashClassification.py
+5
-5
testERP5BankingCashExchange.py
product/ERP5Banking/tests/testERP5BankingCashExchange.py
+6
-6
testERP5BankingCashMovement.py
product/ERP5Banking/tests/testERP5BankingCashMovement.py
+7
-7
testERP5BankingCashSorting.py
product/ERP5Banking/tests/testERP5BankingCashSorting.py
+5
-5
testERP5BankingCashToCurrencySale.py
...ct/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py
+1
-1
testERP5BankingCheckDeposit.py
product/ERP5Banking/tests/testERP5BankingCheckDeposit.py
+3
-3
testERP5BankingCheckPayment.py
product/ERP5Banking/tests/testERP5BankingCheckPayment.py
+16
-16
testERP5BankingCheckbookDelivery.py
...uct/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py
+5
-5
testERP5BankingCheckbookReception.py
...ct/ERP5Banking/tests/testERP5BankingCheckbookReception.py
+17
-17
testERP5BankingCheckbookUsualCashTransfer.py
...anking/tests/testERP5BankingCheckbookUsualCashTransfer.py
+18
-18
testERP5BankingCheckbookVaultTransfer.py
...RP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py
+14
-14
testERP5BankingClassificationSurvey.py
.../ERP5Banking/tests/testERP5BankingClassificationSurvey.py
+7
-7
testERP5BankingCounterRendering.py
product/ERP5Banking/tests/testERP5BankingCounterRendering.py
+4
-4
testERP5BankingDestructionSurvey.py
...uct/ERP5Banking/tests/testERP5BankingDestructionSurvey.py
+6
-6
testERP5BankingForeignCashReception.py
.../ERP5Banking/tests/testERP5BankingForeignCashReception.py
+5
-5
testERP5BankingInternalMoneyDeposit.py
.../ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py
+12
-12
testERP5BankingInternalMoneyPayment.py
.../ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py
+13
-13
testERP5BankingMonetaryDestruction.py
...t/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py
+42
-42
testERP5BankingMonetaryIssue.py
product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py
+2
-2
testERP5BankingMonetaryRecall.py
product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py
+18
-18
testERP5BankingMonetaryReception.py
...uct/ERP5Banking/tests/testERP5BankingMonetaryReception.py
+2
-2
testERP5BankingMonetarySurvey.py
product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py
+5
-5
testERP5BankingMoneyDeposit.py
product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py
+12
-12
testERP5BankingMoneyDepositRendering.py
...ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py
+1
-1
testERP5BankingMutilatedBanknote.py
...uct/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py
+9
-9
testERP5BankingStopPayment.py
product/ERP5Banking/tests/testERP5BankingStopPayment.py
+19
-19
testERP5BankingTravelerCheckPurchase.py
...ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py
+5
-5
testERP5BankingTravelerCheckSale.py
...uct/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py
+9
-9
testERP5BankingUsualCashRendering.py
...ct/ERP5Banking/tests/testERP5BankingUsualCashRendering.py
+1
-1
testERP5BankingUsualCashTransfer.py
...uct/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py
+5
-5
testERP5BankingVaultTransfer.py
product/ERP5Banking/tests/testERP5BankingVaultTransfer.py
+1
-1
CatalogTool.py
product/ERP5Catalog/CatalogTool.py
+1
-1
Archive.py
product/ERP5Catalog/Document/Archive.py
+2
-2
ArchiveTool.py
product/ERP5Catalog/Tool/ArchiveTool.py
+6
-6
testArchive.py
product/ERP5Catalog/tests/testArchive.py
+7
-7
testERP5Catalog.py
product/ERP5Catalog/tests/testERP5Catalog.py
+100
-100
testERP5CatalogSecurityUidOptimization.py
...P5Catalog/tests/testERP5CatalogSecurityUidOptimization.py
+2
-2
AccountingPeriodConfiguratorItem.py
...Configurator/Document/AccountingPeriodConfiguratorItem.py
+1
-1
OrganisationConfiguratorItem.py
...ERP5Configurator/Document/OrganisationConfiguratorItem.py
+1
-1
RoleConfiguratorItem.py
product/ERP5Configurator/Document/RoleConfiguratorItem.py
+1
-1
WorkflowSecurityConfiguratorItem.py
...Configurator/Document/WorkflowSecurityConfiguratorItem.py
+1
-1
ConfiguratorTool.py
product/ERP5Configurator/Tool/ConfiguratorTool.py
+3
-3
configurator_item.py
product/ERP5Configurator/interfaces/configurator_item.py
+2
-2
configurator_item.py
product/ERP5Configurator/mixin/configurator_item.py
+1
-1
ConfiguratorTestMixin.py
product/ERP5Configurator/tests/ConfiguratorTestMixin.py
+16
-16
testConfiguratorItem.py
product/ERP5Configurator/tests/testConfiguratorItem.py
+12
-12
CaptchaField.py
product/ERP5Form/CaptchaField.py
+32
-32
CreatePropertySheet.py
product/ERP5Form/CreatePropertySheet.py
+27
-27
Preference.py
product/ERP5Form/Document/Preference.py
+2
-2
DurationField.py
product/ERP5Form/DurationField.py
+5
-5
EditorField.py
product/ERP5Form/EditorField.py
+3
-3
ERP5Site_createModuleScribus.py
product/ERP5Form/Extensions/ERP5Site_createModuleScribus.py
+2
-2
ERP5Site_updateModuleScribus.py
product/ERP5Form/Extensions/ERP5Site_updateModuleScribus.py
+19
-19
Folder_getWorkflowActionDocumentList.py
...P5Form/Extensions/Folder_getWorkflowActionDocumentList.py
+11
-11
Folder_viewSearchDialog.py
product/ERP5Form/Extensions/Folder_viewSearchDialog.py
+15
-15
Form.py
product/ERP5Form/Form.py
+5
-5
FormBox.py
product/ERP5Form/FormBox.py
+1
-1
GadgetField.py
product/ERP5Form/GadgetField.py
+1
-1
HyperLinkField.py
product/ERP5Form/HyperLinkField.py
+1
-1
ImageField.py
product/ERP5Form/ImageField.py
+1
-1
ListBox.py
product/ERP5Form/ListBox.py
+7
-7
MatrixBox.py
product/ERP5Form/MatrixBox.py
+26
-26
MultiLinkField.py
product/ERP5Form/MultiLinkField.py
+3
-3
MultiRelationField.py
product/ERP5Form/MultiRelationField.py
+28
-28
OOoChart.py
product/ERP5Form/OOoChart.py
+1
-1
PDFForm.py
product/ERP5Form/PDFForm.py
+2
-2
PDFParser.py
product/ERP5Form/PDFParser.py
+15
-15
POSBox.py
product/ERP5Form/POSBox.py
+15
-15
ParallelListField.py
product/ERP5Form/ParallelListField.py
+8
-8
PlanningBox.py
product/ERP5Form/PlanningBox.py
+34
-34
PreferenceTool.py
product/ERP5Form/PreferenceTool.py
+1
-1
ProxyField.py
product/ERP5Form/ProxyField.py
+27
-27
RelationField.py
product/ERP5Form/RelationField.py
+5
-5
Report.py
product/ERP5Form/Report.py
+3
-3
ScribusParser.py
product/ERP5Form/ScribusParser.py
+14
-14
ScribusUtils.py
product/ERP5Form/ScribusUtils.py
+76
-76
Selection.py
product/ERP5Form/Selection.py
+3
-3
SelectionTool.py
product/ERP5Form/Tool/SelectionTool.py
+11
-11
ZPyChart.py
product/ERP5Form/ZPyChart.py
+6
-6
testFields.py
product/ERP5Form/tests/testFields.py
+7
-7
testOOoChart.py
product/ERP5Form/tests/testOOoChart.py
+4
-4
testPlanningBox.py
product/ERP5Form/tests/testPlanningBox.py
+8
-8
testPreferences.py
product/ERP5Form/tests/testPreferences.py
+4
-4
testScribusUtils.py
product/ERP5Form/tests/testScribusUtils.py
+9
-9
OOoDocument.py
product/ERP5OOo/Document/OOoDocument.py
+1
-1
FormPrintout.py
product/ERP5OOo/FormPrintout.py
+2
-2
OOoUtils.py
product/ERP5OOo/OOoUtils.py
+3
-3
testDms.py
product/ERP5OOo/tests/testDms.py
+81
-81
testDmsWithFlare.py
product/ERP5OOo/tests/testDmsWithFlare.py
+1
-1
testDmsWithPreConversion.py
product/ERP5OOo/tests/testDmsWithPreConversion.py
+3
-3
testIngestion.py
product/ERP5OOo/tests/testIngestion.py
+18
-18
testOOoBatchMode.py
product/ERP5OOo/tests/testOOoBatchMode.py
+4
-4
testOOoConversionCache.py
product/ERP5OOo/tests/testOOoConversionCache.py
+1
-1
testOOoDynamicStyle.py
product/ERP5OOo/tests/testOOoDynamicStyle.py
+14
-14
testOOoImport.py
product/ERP5OOo/tests/testOOoImport.py
+7
-7
testOOoStyle.py
product/ERP5OOo/tests/testOOoStyle.py
+1
-1
oood_commandtransform.py
product/ERP5OOo/transforms/oood_commandtransform.py
+2
-2
SecurePaymentTool.py
product/ERP5SecurePayment/Tool/SecurePaymentTool.py
+32
-32
__init__.py
product/ERP5SecurePayment/__init__.py
+25
-25
payment_service.py
product/ERP5SecurePayment/interfaces/payment_service.py
+7
-7
ERP5RoleManager.py
product/ERP5Security/ERP5RoleManager.py
+1
-1
ERP5UserFactory.py
product/ERP5Security/ERP5UserFactory.py
+3
-3
ERP5UserManager.py
product/ERP5Security/ERP5UserManager.py
+8
-8
testERP5Security.py
product/ERP5Security/tests/testERP5Security.py
+2
-2
DummyGateway.py
product/ERP5ShortMessage/Document/DummyGateway.py
+48
-48
EssendexGateway.py
product/ERP5ShortMessage/Document/EssendexGateway.py
+79
-80
MobytGateway.py
product/ERP5ShortMessage/Document/MobytGateway.py
+71
-71
Errors.py
product/ERP5ShortMessage/Errors.py
+25
-25
Permissions.py
product/ERP5ShortMessage/Permissions.py
+25
-25
SMSGateway.py
product/ERP5ShortMessage/PropertySheet/SMSGateway.py
+25
-25
SMSTool.py
product/ERP5ShortMessage/Tool/SMSTool.py
+39
-39
__init__.py
product/ERP5ShortMessage/__init__.py
+26
-26
sms_gateway.py
product/ERP5ShortMessage/interfaces/sms_gateway.py
+27
-27
ERP5ShopOrderConduit.py
product/ERP5SyncML/Conduit/ERP5ShopOrderConduit.py
+3
-3
ERP5SyncMLMobileServer.py
product/ERP5SyncML/ERP5SyncMLMobileServer.py
+5
-5
conduit.py
product/ERP5SyncML/interfaces/conduit.py
+2
-2
ERP5NodeConduit.py
product/ERP5TioSafe/Conduit/ERP5NodeConduit.py
+1
-1
ERP5PaymentTransactionConduit.py
product/ERP5TioSafe/Conduit/ERP5PaymentTransactionConduit.py
+11
-11
TioSafeResourceConduit.py
product/ERP5TioSafe/Conduit/TioSafeResourceConduit.py
+2
-2
SalesforceConnection.py
product/ERP5TioSafe/ConnectionPlugin/SalesforceConnection.py
+1
-1
IntegrationSite.py
product/ERP5TioSafe/Document/IntegrationSite.py
+1
-1
OAuthTool.py
product/ERP5TioSafe/Tool/OAuthTool.py
+11
-11
testPersonPrestashopSynchronization.py
.../ERP5TioSafe/tests/testPersonPrestashopSynchronization.py
+5
-5
testProductPrestashopSynchronization.py
...ERP5TioSafe/tests/testProductPrestashopSynchronization.py
+6
-6
Accessor.py
product/ERP5Type/Accessor/Accessor.py
+1
-1
Constant.py
product/ERP5Type/Accessor/Constant.py
+1
-1
List.py
product/ERP5Type/Accessor/List.py
+1
-1
RelatedValue.py
product/ERP5Type/Accessor/RelatedValue.py
+3
-3
TypeDefinition.py
product/ERP5Type/Accessor/TypeDefinition.py
+1
-1
Base.py
product/ERP5Type/Base.py
+3
-3
CSSPacker.py
product/ERP5Type/CSSPacker.py
+1
-1
Cache.py
product/ERP5Type/Cache.py
+1
-1
BaseCache.py
product/ERP5Type/CachePlugins/BaseCache.py
+2
-2
DistributedRamCache.py
product/ERP5Type/CachePlugins/DistributedRamCache.py
+7
-7
DummyCache.py
product/ERP5Type/CachePlugins/DummyCache.py
+13
-13
RamCache.py
product/ERP5Type/CachePlugins/RamCache.py
+2
-2
CodingStyle.py
product/ERP5Type/CodingStyle.py
+1
-1
AttributeBlacklisted.py
product/ERP5Type/Constraint/AttributeBlacklisted.py
+1
-1
AttributeEquality.py
product/ERP5Type/Constraint/AttributeEquality.py
+2
-2
AttributeUnicity.py
product/ERP5Type/Constraint/AttributeUnicity.py
+1
-1
CategoryAcquiredMembershipState.py
...ct/ERP5Type/Constraint/CategoryAcquiredMembershipState.py
+1
-1
CategoryExistence.py
product/ERP5Type/Constraint/CategoryExistence.py
+2
-2
CategoryMembershipState.py
product/ERP5Type/Constraint/CategoryMembershipState.py
+1
-1
CategoryRelatedMembershipArity.py
...uct/ERP5Type/Constraint/CategoryRelatedMembershipArity.py
+1
-1
CategoryRelatedMembershipState.py
...uct/ERP5Type/Constraint/CategoryRelatedMembershipState.py
+1
-1
Constraint.py
product/ERP5Type/Constraint/Constraint.py
+3
-3
PortalTypeClass.py
product/ERP5Type/Constraint/PortalTypeClass.py
+1
-1
StringAttributeMatch.py
product/ERP5Type/Constraint/StringAttributeMatch.py
+2
-2
TALESConstraint.py
product/ERP5Type/Constraint/TALESConstraint.py
+2
-2
CopySupport.py
product/ERP5Type/CopySupport.py
+8
-8
CacheFactory.py
product/ERP5Type/Core/CacheFactory.py
+1
-1
DistributedRamCache.py
product/ERP5Type/Core/DistributedRamCache.py
+1
-1
Folder.py
product/ERP5Type/Core/Folder.py
+29
-29
Predicate.py
product/ERP5Type/Core/Predicate.py
+1
-1
RamCache.py
product/ERP5Type/Core/RamCache.py
+2
-2
DateUtils.py
product/ERP5Type/DateUtils.py
+5
-5
DiffUtils.py
product/ERP5Type/DiffUtils.py
+12
-12
DivergenceMessage.py
product/ERP5Type/DivergenceMessage.py
+1
-1
ERP5Type.py
product/ERP5Type/ERP5Type.py
+2
-2
Globals.py
product/ERP5Type/Globals.py
+1
-1
Message.py
product/ERP5Type/Message.py
+2
-2
ObjectMessage.py
product/ERP5Type/ObjectMessage.py
+5
-5
SSHConnection.py
product/ERP5Type/SSHConnection.py
+1
-1
CacheTool.py
product/ERP5Type/Tool/CacheTool.py
+1
-1
MemcachedTool.py
product/ERP5Type/Tool/MemcachedTool.py
+2
-2
SessionTool.py
product/ERP5Type/Tool/SessionTool.py
+16
-16
Utils.py
product/ERP5Type/Utils.py
+1
-1
Workflow.py
product/ERP5Type/Workflow.py
+3
-3
XMLExportImport.py
product/ERP5Type/XMLExportImport.py
+1
-1
__init__.py
product/ERP5Type/__init__.py
+7
-7
id_as_reference.py
product/ERP5Type/id_as_reference.py
+2
-2
category_access_provider.py
product/ERP5Type/interfaces/category_access_provider.py
+6
-6
divergence_message.py
product/ERP5Type/interfaces/divergence_message.py
+1
-1
property_translatable.py
product/ERP5Type/mixin/property_translatable.py
+1
-1
ActionInformation.py
product/ERP5Type/patches/ActionInformation.py
+1
-1
ActionsTool.py
product/ERP5Type/patches/ActionsTool.py
+3
-3
CMFCoreSkinsTool.py
product/ERP5Type/patches/CMFCoreSkinsTool.py
+1
-1
CachingPolicyManager.py
product/ERP5Type/patches/CachingPolicyManager.py
+1
-1
CookieCrumbler.py
product/ERP5Type/patches/CookieCrumbler.py
+3
-3
DA.py
product/ERP5Type/patches/DA.py
+3
-3
DCWorkflow.py
product/ERP5Type/patches/DCWorkflow.py
+2
-2
DCWorkflowGraph.py
product/ERP5Type/patches/DCWorkflowGraph.py
+2
-2
OFSImage.py
product/ERP5Type/patches/OFSImage.py
+2
-2
PropertiedUser.py
product/ERP5Type/patches/PropertiedUser.py
+4
-4
States.py
product/ERP5Type/patches/States.py
+1
-1
transforms.py
product/ERP5Type/patches/transforms.py
+5
-5
CodingStyleTestCase.py
product/ERP5Type/tests/CodingStyleTestCase.py
+3
-3
ERP5TypeLiveTestCase.py
product/ERP5Type/tests/ERP5TypeLiveTestCase.py
+5
-5
ProcessingNodeTestCase.py
product/ERP5Type/tests/ProcessingNodeTestCase.py
+1
-1
SecurityTestCase.py
product/ERP5Type/tests/SecurityTestCase.py
+5
-5
Sequence.py
product/ERP5Type/tests/Sequence.py
+1
-1
runFunctionalTest.py
product/ERP5Type/tests/runFunctionalTest.py
+14
-14
runUnitTest.py
product/ERP5Type/tests/runUnitTest.py
+5
-5
testCSSPacker.py
product/ERP5Type/tests/testCSSPacker.py
+1
-1
testCache.py
product/ERP5Type/tests/testCache.py
+5
-5
testCacheTool.py
product/ERP5Type/tests/testCacheTool.py
+6
-6
testCachedSkinsTool.py
product/ERP5Type/tests/testCachedSkinsTool.py
+1
-1
testCookieCrumbler.py
product/ERP5Type/tests/testCookieCrumbler.py
+1
-1
testDynamicClassGeneration.py
product/ERP5Type/tests/testDynamicClassGeneration.py
+2
-2
testFolder.py
product/ERP5Type/tests/testFolder.py
+5
-5
testFunctionalKM.py
product/ERP5Type/tests/testFunctionalKM.py
+1
-1
testJSPacker.py
product/ERP5Type/tests/testJSPacker.py
+1
-1
testPerformance.py
product/ERP5Type/tests/testPerformance.py
+1
-1
testSessionTool.py
product/ERP5Type/tests/testSessionTool.py
+4
-4
testTimerService.py
product/ERP5Type/tests/testTimerService.py
+1
-1
testTransactionalVariable.py
product/ERP5Type/tests/testTransactionalVariable.py
+1
-1
testXMLMatrix.py
product/ERP5Type/tests/testXMLMatrix.py
+11
-11
utils.py
product/ERP5Type/tests/utils.py
+7
-7
SubversionClient.py
product/ERP5VCS/SubversionClient.py
+35
-35
WorkingCopy.py
product/ERP5VCS/WorkingCopy.py
+1
-1
ERP5RemoteUserManager.py
product/ERP5Wizard/PAS/ERP5RemoteUserManager.py
+1
-1
WizardTool.py
product/ERP5Wizard/Tool/WizardTool.py
+5
-5
State.py
product/ERP5Workflow/Document/State.py
+1
-1
testERP5Workflow.py
product/ERP5Workflow/tests/testERP5Workflow.py
+10
-10
EGOVGroupManager.py
product/ERP5eGovSecurity/EGOVGroupManager.py
+1
-1
EGOVUserManager.py
product/ERP5eGovSecurity/EGOVUserManager.py
+2
-2
DummyField.py
product/Formulator/DummyField.py
+3
-3
Errors.py
product/Formulator/Errors.py
+2
-2
Field.py
product/Formulator/Field.py
+23
-23
FieldHelpTopic.py
product/Formulator/FieldHelpTopic.py
+5
-5
FieldRegistry.py
product/Formulator/FieldRegistry.py
+16
-16
Form.py
product/Formulator/Form.py
+53
-53
ListTextAreaField.py
product/Formulator/ListTextAreaField.py
+1
-1
MethodField.py
product/Formulator/MethodField.py
+7
-7
PatternChecker.py
product/Formulator/PatternChecker.py
+8
-8
StandardFields.py
product/Formulator/StandardFields.py
+1
-1
TALESField.py
product/Formulator/TALESField.py
+8
-8
Validator.py
product/Formulator/Validator.py
+25
-25
Widget.py
product/Formulator/Widget.py
+15
-15
XMLObjects.py
product/Formulator/XMLObjects.py
+6
-6
XMLToForm.py
product/Formulator/XMLToForm.py
+4
-4
__init__.py
product/Formulator/__init__.py
+5
-5
BasicForm.py
product/Formulator/help/BasicForm.py
+2
-2
Field.py
product/Formulator/help/Field.py
+8
-8
Form.py
product/Formulator/help/Form.py
+8
-8
ZMIForm.py
product/Formulator/help/ZMIForm.py
+4
-4
testForm.py
product/Formulator/tests/testForm.py
+9
-9
testFormValidator.py
product/Formulator/tests/testFormValidator.py
+17
-17
testSerializeForm.py
product/Formulator/tests/testSerializeForm.py
+10
-10
HBTreeFolder2.py
product/HBTreeFolder2/HBTreeFolder2.py
+10
-10
MTMultipart.py
product/MailTemplates/MTMultipart.py
+5
-5
safe_html.py
product/PloneHotfix20121106/safe_html.py
+1
-1
__init__.py
product/PortalTransforms/__init__.py
+1
-1
data.py
product/PortalTransforms/data.py
+3
-3
interfaces.py
product/PortalTransforms/interfaces.py
+5
-5
utils.py
product/PortalTransforms/libtransforms/utils.py
+2
-2
zope27rest.py
product/PortalTransforms/libtransforms/zope27rest.py
+6
-6
setuphandlers.py
product/PortalTransforms/setuphandlers.py
+1
-1
test_python.py
product/PortalTransforms/tests/input/test_python.py
+1
-1
test_engine.py
product/PortalTransforms/tests/test_engine.py
+4
-4
test_graph.py
product/PortalTransforms/tests/test_graph.py
+3
-3
test_intelligenttext.py
product/PortalTransforms/tests/test_intelligenttext.py
+21
-21
test_transforms.py
product/PortalTransforms/tests/test_transforms.py
+1
-1
__init__.py
product/PortalTransforms/transforms/__init__.py
+1
-1
broken.py
product/PortalTransforms/transforms/broken.py
+1
-1
html_to_text.py
product/PortalTransforms/transforms/html_to_text.py
+1
-1
html_to_web_intelligent_plain_text.py
...ansforms/transforms/html_to_web_intelligent_plain_text.py
+2
-2
lynx_dump.py
product/PortalTransforms/transforms/lynx_dump.py
+2
-2
office_uno.py
product/PortalTransforms/transforms/office_uno.py
+1
-1
pdf_to_html.py
product/PortalTransforms/transforms/pdf_to_html.py
+1
-1
pdf_to_text.py
product/PortalTransforms/transforms/pdf_to_text.py
+1
-1
png_to_text.py
product/PortalTransforms/transforms/png_to_text.py
+1
-1
rest.py
product/PortalTransforms/transforms/rest.py
+7
-7
safe_html.py
product/PortalTransforms/transforms/safe_html.py
+1
-1
textile_to_html.py
product/PortalTransforms/transforms/textile_to_html.py
+2
-2
tiff_to_text.py
product/PortalTransforms/transforms/tiff_to_text.py
+1
-1
w3m_dump.py
product/PortalTransforms/transforms/w3m_dump.py
+1
-1
web_intelligent_plain_text_to_html.py
...ansforms/transforms/web_intelligent_plain_text_to_html.py
+1
-1
TimerService.py
product/TimerService/TimerService.py
+3
-3
__init__.py
product/TimerService/__init__.py
+1
-1
setup.py
product/TimerService/timerserver/setup.py
+2
-2
Entry.py
product/ZLDAPConnection/Entry.py
+17
-17
LDCAccessors.py
product/ZLDAPConnection/LDCAccessors.py
+2
-2
ZLDAP.py
product/ZLDAPConnection/ZLDAP.py
+8
-8
LM.py
product/ZLDAPMethods/LM.py
+1
-1
ldifvar.py
product/ZLDAPMethods/ldifvar.py
+2
-2
DA.py
product/ZMySQLDA/DA.py
+21
-21
DABase.py
product/ZMySQLDA/DABase.py
+25
-25
__init__.py
product/ZMySQLDA/__init__.py
+21
-21
db.py
product/ZMySQLDA/db.py
+22
-22
ColumnMap.py
product/ZSQLCatalog/ColumnMap.py
+8
-8
zsqlbrain.py
product/ZSQLCatalog/Extensions/zsqlbrain.py
+3
-3
ComplexQuery.py
product/ZSQLCatalog/Query/ComplexQuery.py
+2
-2
EntireQuery.py
product/ZSQLCatalog/Query/EntireQuery.py
+2
-2
SQLExpression.py
product/ZSQLCatalog/SQLExpression.py
+1
-1
KeywordKey.py
product/ZSQLCatalog/SearchKey/KeywordKey.py
+1
-1
SearchKey.py
product/ZSQLCatalog/SearchKey/SearchKey.py
+2
-2
TableDefinition.py
product/ZSQLCatalog/TableDefinition.py
+4
-4
ZSQLCatalog.py
product/ZSQLCatalog/ZSQLCatalog.py
+11
-11
ZCatalog.py
product/ZSQLCatalog/help/ZCatalog.py
+9
-9
query_catalog.py
product/ZSQLCatalog/interfaces/query_catalog.py
+1
-1
search_key.py
product/ZSQLCatalog/interfaces/search_key.py
+1
-1
testSQLCatalog.py
product/ZSQLCatalog/tests/testSQLCatalog.py
+2
-2
testZSQLCatalog.py
product/ZSQLCatalog/tests/testZSQLCatalog.py
+3
-3
generator.py
product/Zelenium/generator.py
+5
-5
tinyWebServer.py
product/Zelenium/scripts/tinyWebServer.py
+8
-8
test_zuite.py
product/Zelenium/tests/test_zuite.py
+1
-1
zuite.py
product/Zelenium/zuite.py
+5
-5
No files found.
product/AGProjects/patches/SOAPpy_WSDL.py
View file @
41f9cd88
...
...
@@ -5,17 +5,17 @@
# That licence is (as of release 0.12.0):
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
#
# Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
#
# Neither the name of actzero, inc. nor the names of its contributors may
# be used to endorse or promote products derived from this software without
# specific prior written permission.
#
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
...
...
product/CMFActivity/ActiveObject.py
View file @
41f9cd88
...
...
@@ -53,7 +53,7 @@ class ActiveObject(ExtensionClass.Base):
>>> obj.activate().aMethod()
This will defer the call to obj.aMethod()
This will defer the call to obj.aMethod()
"""
security
=
ClassSecurityInfo
()
...
...
product/CMFActivity/ActiveProcess.py
View file @
41f9cd88
...
...
@@ -145,7 +145,7 @@ class ActiveProcess(Base):
security
.
declareProtected
(
CMFCorePermissions
.
View
,
'hasErrorActivity'
)
def
hasErrorActivity
(
self
,
**
kw
):
"""
Tells if some attached activities are in a error
Tells if some attached activities are in a error
"""
return
self
.
hasActivity
(
processing_node
=
INVOKE_ERROR_STATE
)
...
...
product/CMFActivity/Activity/Queue.py
View file @
41f9cd88
...
...
@@ -94,7 +94,7 @@ class Queue(object):
if
not
getattr
(
m
,
'is_deleted'
,
0
):
# We try not to delete twice
# However this can not be garanteed in the case of messages loaded from SQL
activity_tool
.
deferredDeleteMessage
(
self
,
m
)
activity_tool
.
deferredDeleteMessage
(
self
,
m
)
m
.
is_deleted
=
1
def
dequeueMessage
(
self
,
activity_tool
,
processing_node
):
...
...
@@ -199,7 +199,7 @@ class Queue(object):
def
hasActivity
(
self
,
activity_tool
,
object
,
processing_node
=
None
,
active_process
=
None
,
**
kw
):
return
0
def
flush
(
self
,
activity_tool
,
object
,
**
kw
):
def
flush
(
self
,
activity_tool
,
object
,
**
kw
):
pass
def
getOrderValidationText
(
self
,
message
):
...
...
product/CMFActivity/Activity/SQLBase.py
View file @
41f9cd88
...
...
@@ -90,7 +90,7 @@ class SQLBase(Queue):
"""
Define a set of common methods for SQL-based storage of activities.
"""
def
getNow
(
self
,
context
):
"""
Return the current value for SQL server's NOW().
...
...
product/CMFActivity/Activity/SQLDict.py
View file @
41f9cd88
...
...
@@ -36,7 +36,7 @@ import transaction
from
zLOG
import
LOG
,
TRACE
,
WARNING
,
ERROR
,
INFO
,
PANIC
# Stop validating more messages when this limit is reached
MAX_VALIDATED_LIMIT
=
1000
MAX_VALIDATED_LIMIT
=
1000
# Read up to this number of messages to validate.
READ_MESSAGE_LIMIT
=
1000
...
...
@@ -331,9 +331,9 @@ class SQLDict(SQLBase):
path
=
[
path
]
if
isinstance
(
method_id
,
str
):
method_id
=
[
method_id
]
result
=
activity_tool
.
SQLDict_validateMessageList
(
method_id
=
method_id
,
result
=
activity_tool
.
SQLDict_validateMessageList
(
method_id
=
method_id
,
path
=
path
,
message_uid
=
message_uid
,
message_uid
=
message_uid
,
tag
=
tag
,
serialization_tag
=
None
,
count
=
1
)
...
...
product/CMFActivity/Activity/SQLQueue.py
View file @
41f9cd88
...
...
@@ -107,9 +107,9 @@ class SQLQueue(SQLBase):
path
=
[
path
]
if
isinstance
(
method_id
,
str
):
method_id
=
[
method_id
]
result
=
activity_tool
.
SQLQueue_validateMessageList
(
method_id
=
method_id
,
result
=
activity_tool
.
SQLQueue_validateMessageList
(
method_id
=
method_id
,
path
=
path
,
message_uid
=
message_uid
,
message_uid
=
message_uid
,
tag
=
tag
,
serialization_tag
=
None
,
count
=
1
)
...
...
product/CMFActivity/ActivityTool.py
View file @
41f9cd88
...
...
@@ -395,7 +395,7 @@ Named Parameters: %r
is_executed can be one of MESSAGE_NOT_EXECUTED, MESSAGE_EXECUTED and
MESSAGE_NOT_EXECUTABLE (variables defined above).
exc_info must be - if given - similar to sys.exc_info() return value.
log must be - if given - True or False. If True, a log line will be
...
...
@@ -579,10 +579,10 @@ class ActivityTool (Folder, UniqueObject):
security
.
declareProtected
(
CMFCorePermissions
.
ManagePortal
,
'manage_overview'
)
manage_overview
=
DTMLFile
(
'dtml/explainActivityTool'
,
globals
()
)
security
.
declareProtected
(
CMFCorePermissions
.
ManagePortal
,
'manageLoadBalancing'
)
manageLoadBalancing
=
DTMLFile
(
'dtml/manageLoadBalancing'
,
globals
()
)
distributingNode
=
''
_nodes
=
()
activity_creation_trace
=
False
...
...
@@ -643,7 +643,7 @@ class ActivityTool (Folder, UniqueObject):
if
not
service
:
LOG
(
'ActivityTool'
,
INFO
,
'TimerService not available'
)
return
False
path
=
'/'
.
join
(
self
.
getPhysicalPath
())
if
path
in
service
.
lisSubscriptions
():
return
True
...
...
@@ -782,7 +782,7 @@ class ActivityTool (Folder, UniqueObject):
def
manage_beforeDelete
(
self
,
item
,
container
):
self
.
unsubscribe
()
Folder
.
inheritedAttribute
(
'manage_beforeDelete'
)(
self
,
item
,
container
)
def
manage_afterAdd
(
self
,
item
,
container
):
self
.
subscribe
()
Folder
.
inheritedAttribute
(
'manage_afterAdd'
)(
self
,
item
,
container
)
...
...
@@ -826,7 +826,7 @@ class ActivityTool (Folder, UniqueObject):
'node identifier.'
,
DeprecationWarning
)
currentNode
=
self
.
getServerAddress
()
return
currentNode
security
.
declarePublic
(
'getDistributingNode'
)
def
getDistributingNode
(
self
):
""" Return the distributingNode """
...
...
@@ -881,10 +881,10 @@ class ActivityTool (Folder, UniqueObject):
def
_isValidNodeName
(
self
,
node_name
)
:
"""Check we have been provided a good node name"""
return
isinstance
(
node_name
,
str
)
security
.
declarePublic
(
'manage_setDistributingNode'
)
def
manage_setDistributingNode
(
self
,
distributingNode
,
REQUEST
=
None
):
""" set the distributing node """
""" set the distributing node """
if
not
distributingNode
or
self
.
_isValidNodeName
(
distributingNode
):
self
.
distributingNode
=
distributingNode
if
REQUEST
is
not
None
:
...
...
@@ -1212,7 +1212,7 @@ class ActivityTool (Folder, UniqueObject):
# XXX: PATH_INFO might not be set when runing unit tests.
if
request
.
environ
.
get
(
'PATH_INFO'
)
is
None
:
request
.
environ
[
'PATH_INFO'
]
=
'/Control_Panel/timer_service/process_timer'
# restore request information
new_request
=
request
.
clone
()
request_info
=
message
.
request_info
...
...
product/CMFActivity/tests/testCMFActivity.py
View file @
41f9cd88
...
...
@@ -1211,7 +1211,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
# Just wait for the active object to be abandoned.
self
.
flushAllActivities
(
silent
=
1
,
loop_size
=
100
)
self
.
assertEqual
(
len
(
activity_tool
.
getMessageList
()),
1
)
self
.
assertEqual
(
activity_tool
.
getMessageList
()[
0
]
.
processing_node
,
self
.
assertEqual
(
activity_tool
.
getMessageList
()[
0
]
.
processing_node
,
INVOKE_ERROR_STATE
)
# Make sure that persistent objects are not present in the connection
...
...
@@ -1462,7 +1462,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
ZopeTestCase
.
_print
(
message
)
LOG
(
'Testing... '
,
0
,
message
)
portal
=
self
.
getPortal
()
portal
=
self
.
getPortal
()
organisation
=
portal
.
organisation
.
_getOb
(
self
.
company_id
)
# Defined a group method
foobar_list
=
[]
...
...
@@ -1471,7 +1471,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
for
obj
,
args
,
kw
,
_
in
object_list
:
obj
.
foobar
=
getattr
(
obj
.
aq_base
,
'foobar'
,
0
)
+
kw
.
get
(
'number'
,
1
)
from
Products.ERP5Type.Core.Folder
import
Folder
Folder
.
setFoobar
=
setFoobar
Folder
.
setFoobar
=
setFoobar
def
getFoobar
(
self
):
return
(
getattr
(
self
,
'foobar'
,
0
))
...
...
@@ -1557,7 +1557,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self
.
assertNotEquals
(
0
,
len
(
messages_for_o1
))
for
m
in
messages_for_o1
:
self
.
assertEqual
(
m
.
activity_kw
.
get
(
'tag'
),
'The Tag'
)
def
test_82_LossOfVolatileAttribute
(
self
,
quiet
=
0
,
run
=
run_all_test
):
"""
Test that the loss of volatile attribute doesn't loose activities
...
...
@@ -1730,7 +1730,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
pass
invoke
=
activity_tool
.
__class__
.
invoke
invokeGroup
=
activity_tool
.
__class__
.
invokeGroup
try
:
try
:
activity_tool
.
__class__
.
invoke
=
modifySQLAndFail
activity_tool
.
__class__
.
invokeGroup
=
modifySQLAndFail
Organisation
.
dummy
=
dummy
...
...
@@ -1746,7 +1746,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
delattr
(
Organisation
,
'dummy'
)
activity_tool
.
__class__
.
invoke
=
invoke
activity_tool
.
__class__
.
invokeGroup
=
invokeGroup
def
test_87_ActivityToolInvokeFailureDoesNotCommitCMFActivitySQLConnectionSQLQueue
(
self
,
quiet
=
0
,
run
=
run_all_test
):
"""
Check that CMFActivity SQL connection is rollback if activity_tool.invoke raises.
...
...
@@ -1968,7 +1968,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
ZopeTestCase
.
_print
(
message
)
LOG
(
'Testing... '
,
0
,
message
)
self
.
TryUserNotificationRaise
(
'SQLQueue'
)
def
test_94_ActivityToolCommitFailureDoesNotCommitCMFActivitySQLConnectionSQLDict
(
self
,
quiet
=
0
,
run
=
run_all_test
):
"""
Check that CMFActivity SQL connection is rollback if transaction commit raises.
...
...
@@ -2007,7 +2007,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
def
fake_commit
(
*
args
,
**
kw
):
transaction
.
get
()
.
__class__
.
commit
=
commit
raise
KeyError
,
'always fail'
try
:
try
:
Organisation
.
modifySQL
=
modifySQL
obj
=
self
.
getPortal
()
.
organisation_module
.
newContent
(
portal_type
=
'Organisation'
)
group_method_id
=
'
%
s/modifySQL'
%
(
obj
.
getPath
(),
)
...
...
@@ -2023,7 +2023,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self
.
assertEqual
(
activity_tool
.
countMessage
(
method_id
=
'dummy_activity'
),
0
)
finally
:
delattr
(
Organisation
,
'modifySQL'
)
def
test_95_ActivityToolCommitFailureDoesNotCommitCMFActivitySQLConnectionSQLQueue
(
self
,
quiet
=
0
,
run
=
run_all_test
):
"""
Check that CMFActivity SQL connection is rollback if activity_tool.invoke raises.
...
...
@@ -2461,7 +2461,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self
.
assertEqual
(
o
.
absolute_url
(),
'http://test.erp5.org:9080/virtual_root/test_obj'
)
o
.
activate
()
.
checkAbsoluteUrl
()
# Reset server URL and virtual root before executing messages.
# This simulates the case of activities beeing executed with different
# REQUEST, such as TimerServer.
...
...
@@ -2588,7 +2588,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
# release activity_lock wait for activity_lock internal wait
# wait for activity_thread (finish) internal wait
# wait for process_shutdown_thread None (finish)
#
#
# This test only checks that:
# - activity tool can exit between 2 processable activity batches
# - activity tool won't process activities after process_shutdown was called
...
...
@@ -2707,7 +2707,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
def
test_active_object_hasActivity_does_not_catch_exceptions
(
self
):
"""
Some time ago, hasActivity was doing a silent try/except, and this was
a possible disaster for some projects. Here we make sure that if the
a possible disaster for some projects. Here we make sure that if the
SQL request fails, then the exception is not ignored
"""
active_object
=
self
.
portal
.
organisation_module
.
newContent
(
...
...
@@ -2751,7 +2751,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
for
i
in
range
(
10
):
o
.
activate
(
activity
=
'SQLQueue'
)
.
dummy_counter
()
self
.
flushAllActivities
()
self
.
assertEqual
(
call_count
,
10
)
finally
:
...
...
@@ -2776,7 +2776,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
method_name
=
'dummy_counter_
%
s'
%
i
setattr
(
Organisation
,
method_name
,
dummy_counter
)
getattr
(
o
.
activate
(
activity
=
'SQLDict'
),
method_name
)()
self
.
flushAllActivities
()
self
.
assertEqual
(
call_count
,
10
)
finally
:
...
...
@@ -2887,7 +2887,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
Test behaviour of PlacelessDefaultReindexParameters.
"""
portal
=
self
.
portal
# Make a new Person object to make sure that the portal type
# is migrated to an instance of a portal type class, otherwise
# the portal type may generate an extra active object.
...
...
@@ -2897,10 +2897,10 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
original_reindex_parameters
=
portal
.
getPlacelessDefaultReindexParameters
()
if
original_reindex_parameters
is
None
:
original_reindex_parameters
=
{}
tag
=
'SOME_RANDOM_TAG'
tag
=
'SOME_RANDOM_TAG'
activate_kw
=
original_reindex_parameters
.
get
(
'activate_kw'
,
{})
.
copy
()
activate_kw
[
'tag'
]
=
tag
activate_kw
[
'tag'
]
=
tag
portal
.
setPlacelessDefaultReindexParameters
(
activate_kw
=
activate_kw
,
\
**
original_reindex_parameters
)
current_default_reindex_parameters
=
portal
.
getPlacelessDefaultReindexParameters
()
...
...
@@ -2913,12 +2913,12 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self
.
assertEqual
(
1
,
portal
.
portal_activities
.
countMessageWithTag
(
tag
))
self
.
tic
()
self
.
assertEqual
(
0
,
portal
.
portal_activities
.
countMessageWithTag
(
tag
))
# restore originals ones
portal
.
setPlacelessDefaultReindexParameters
(
**
original_reindex_parameters
)
person
=
portal
.
person_module
.
newContent
(
portal_type
=
'Person'
)
# .. now no messages with this tag should apper
self
.
assertEqual
(
0
,
portal
.
portal_activities
.
countMessageWithTag
(
tag
))
self
.
assertEqual
(
0
,
portal
.
portal_activities
.
countMessageWithTag
(
tag
))
def
TryNotificationSavedOnEventLogWhenNotifyUserRaises
(
self
,
activity
):
activity_tool
=
self
.
getActivityTool
()
...
...
@@ -2937,7 +2937,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self
.
_catch_log_errors
()
obj
.
activate
(
activity
=
activity
,
priority
=
6
)
.
failingMethod
()
self
.
commit
()
self
.
flushAllActivities
(
silent
=
1
,
loop_size
=
100
)
self
.
flushAllActivities
(
silent
=
1
,
loop_size
=
100
)
message
,
=
activity_tool
.
getMessageList
()
self
.
commit
()
for
log_record
in
self
.
logged
:
...
...
@@ -2970,7 +2970,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
message
=
'
\n
Check the error is saved on event log even if the mail notification is not sent (SQLQueue)'
ZopeTestCase
.
_print
(
message
)
LOG
(
'Testing... '
,
0
,
message
)
self
.
TryNotificationSavedOnEventLogWhenNotifyUserRaises
(
'SQLQueue'
)
self
.
TryNotificationSavedOnEventLogWhenNotifyUserRaises
(
'SQLQueue'
)
def
TryUserMessageContainingNoTracebackIsStillSent
(
self
,
activity
):
portal
=
self
.
getPortalObject
()
...
...
@@ -3002,7 +3002,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
activity_tool
.
manageCancel
(
message
.
object_path
,
message
.
method_id
)
finally
:
Message
.
notifyUser
=
original_notifyUser
delattr
(
Organisation
,
'failingMethod'
)
delattr
(
Organisation
,
'failingMethod'
)
def
test_120_sendMessageWithNoTracebackWithSQLQueue
(
self
,
quiet
=
0
,
run
=
run_all_test
):
if
not
run
:
return
...
...
@@ -3019,7 +3019,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
ZopeTestCase
.
_print
(
message
)
LOG
(
'Testing... '
,
0
,
message
)
self
.
TryUserMessageContainingNoTracebackIsStillSent
(
'SQLDict'
)
def
TryNotificationSavedOnEventLogWhenSiteErrorLoggerRaises
(
self
,
activity
):
# Make sure that no active object is installed.
activity_tool
=
self
.
getPortal
()
.
portal_activities
...
...
@@ -3056,7 +3056,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
self
.
commit
()
for
log_record
in
self
.
logged
:
if
log_record
.
name
==
'ActivityTool'
and
log_record
.
levelname
==
'WARNING'
:
type
,
value
,
trace
=
log_record
.
exc_info
type
,
value
,
trace
=
log_record
.
exc_info
self
.
assertTrue
(
activity_unit_test_error
is
value
)
finally
:
SiteErrorLog
.
raising
=
original_raising
...
...
@@ -3100,7 +3100,7 @@ class TestCMFActivity(ERP5TypeTestCase, LogInterceptor):
conn
.
db
()
.
invalidate
({
oid
:
tid
})
except
TypeError
:
conn
.
db
()
.
invalidate
(
tid
,
{
oid
:
tid
})
activity_tool
.
__class__
.
doSomething
=
doSomething
activity_tool
.
activate
(
activity
=
'SQLQueue'
)
.
doSomething
()
self
.
commit
()
...
...
product/CMFCategory/Category.py
View file @
41f9cd88
...
...
@@ -282,7 +282,7 @@ class Category(Folder):
are not included.
DEPRECATED, use filter_node=1 if you don't want
to display categories having childs.
is_self_excluded - if set to 1, exclude this category from the list
sort_on, sort_order - the same semantics as ZSQLCatalog
...
...
@@ -408,7 +408,7 @@ class Category(Folder):
given list of base categories. Uses getTitleOrId as default method
"""
return
self
.
getCategoryChildItemList
(
recursive
=
recursive
,
display_id
=
'title_or_id'
,
base
=
base
,
**
kw
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getCategoryChildTitleAndIdItemList'
)
def
getCategoryChildTitleAndIdItemList
(
self
,
recursive
=
1
,
base
=
0
,
**
kw
):
...
...
@@ -429,7 +429,7 @@ class Category(Folder):
return
self
.
getCategoryChildItemList
(
recursive
=
recursive
,
display_id
=
'compact_title'
,
base
=
base
,
**
kw
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getCategoryChildTranslatedCompactTitleItemList'
)
def
getCategoryChildTranslatedCompactTitleItemList
(
self
,
recursive
=
1
,
base
=
0
,
**
kw
):
...
...
@@ -451,7 +451,7 @@ class Category(Folder):
return
self
.
getCategoryChildItemList
(
recursive
=
recursive
,
display_id
=
'logical_path'
,
base
=
base
,
**
kw
)
def
getCategoryChildTranslatedLogicalPathItemList
(
self
,
recursive
=
1
,
base
=
0
,
**
kw
):
"""
...
...
@@ -485,7 +485,7 @@ class Category(Folder):
return
self
.
getCategoryChildItemList
(
recursive
=
recursive
,
display_id
=
'compact_logical_path'
,
base
=
base
,
**
kw
)
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'getCategoryChildIndentedTitleItemList'
)
def
getCategoryChildIndentedTitleItemList
(
self
,
...
...
@@ -583,13 +583,13 @@ class Category(Folder):
if
not
cache
:
return
_renderCategoryChildItemList
(
recursive
=
recursive
,
base
=
base
,
**
kw
)
# If checked_permission is specified, we include the username in the
# cache key
username
=
None
if
'checked_permission'
in
kw
:
username
=
str
(
getSecurityManager
()
.
getUser
())
# Some methods are language dependent so we include the language in the
# key
localizer
=
getToolByName
(
self
,
'Localizer'
)
...
...
@@ -672,7 +672,7 @@ class Category(Folder):
if
strict_membership
:
sql_text
=
'(
%
s.category_uid =
%
s AND
%
s.base_category_uid =
%
s '
\
'AND
%
s.category_strict_membership = 1)'
%
\
(
table
,
self
.
getUid
(),
table
,
(
table
,
self
.
getUid
(),
table
,
base_category
.
getBaseCategoryUid
(),
table
)
else
:
sql_text
=
'(
%
s.category_uid =
%
s AND
%
s.base_category_uid =
%
s)'
%
\
...
...
@@ -684,7 +684,7 @@ class Category(Folder):
security
.
declareProtected
(
Permissions
.
AccessContentsInformation
,
'asSqlExpression'
)
asSqlExpression
=
asSQLExpression