- 23 Jan, 2013 1 commit
-
-
Sebastien Robin authored
-
- 16 Jan, 2013 4 commits
-
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 14 Jan, 2013 2 commits
-
-
Sebastien Robin authored
-
Julien Muchembled authored
-
- 11 Jan, 2013 3 commits
-
-
Sebastien Robin authored
-
Sebastien Robin authored
-
Julien Muchembled authored
-
- 10 Jan, 2013 1 commit
-
-
Sebastien Robin authored
A dictionary was used as cached to store test result path and duration of tests. This was quite convenient, however this dictionary was growing, and since this data was commited thouzands time per day, this was making the zodb growing faster and faster. So we now rely on catalog + tags to retrieve test results. We also use int_index on test result line to order them by duration time. We will surely increase the load of sql database (we might need to add specific index), but this will avoid zodb using too much space.
-
- 21 Dec, 2012 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 17 Dec, 2012 1 commit
-
-
Jérome Perrin authored
-
- 06 Dec, 2012 1 commit
-
-
Sebastien Robin authored
-
- 21 Nov, 2012 1 commit
-
-
Aurel authored
-
- 09 Nov, 2012 1 commit
-
-
Sebastien Robin authored
-
- 05 Nov, 2012 1 commit
-
-
Kazuhiko Shiozaki authored
this commit fixes a regression in ecb09a0d.
-
- 31 Oct, 2012 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 16 Oct, 2012 2 commits
-
-
Rafael Monnerat authored
use by using "self" on transactional_cached decorator breaks ERP5Site creation due aq_base.
-
Rafael Monnerat authored
If the list of bt5 is huge same dependencies are calculated several types due recursivity at the same transaction making this method useless
-
- 15 Oct, 2012 3 commits
-
-
Rafael Monnerat authored
-
Sebastien Robin authored
- when upgradeSite is called, it will delete orphaned bt is we set delete_orphaned to true - when there is provider calculation in the dependency list, look at both installed bt and to all the dependency tree
-
Sebastien Robin authored
* fix the state of bt (new, old, present) * make resolveBusinessTemplateListDependency returning all dependencies, even installed ones * add upgradeSite method to install everything from top level bt * the code to check version restriction has been removed but it should be moved to another method
-
- 11 Oct, 2012 1 commit
-
-
Rafael Monnerat authored
-
- 08 Oct, 2012 1 commit
-
-
Sebastien Robin authored
-
- 03 Oct, 2012 1 commit
-
-
Julien Muchembled authored
All interactions and activity tags are reviewed to fix bugs like duplicated root applied rules, and also reduces the amount of duplicated/useless work, e.g: - Simulation trees are not expanded anymore when simulated objects are modified. - 'expand' activities are merged (i.e. dropped) with any other 'expand' activity for an ancestor. New implementation exposes new API that hides much complexity to the developper about activity dependencies. By default, expand() now automatically defers any work if the current transaction takes too long time. This method also gains a parameter to explicitely choose when to expand, which is often important in unit tests or solvers. In particular, when postponing work, it takes care of setting proper activity dependencies. - If you have any code requiring to expand everything immediately, you'll have to replace 'expand()' by 'expand(expand_policy="immediate")'. - On the contrary, you should replace any 'activate().expand()' by 'expand(expand_policy="deferred")'. expand() still accepts activity parameters for any extra needs. In causality workflow, 'building' state is clarified and now means « delivery may diverge but we can't know now ». A delivery remains in draft as long as it does not contain any movement built from simulation. After init/clone/builder/etc. scripts used to call 'startBuilding' & 'updateCausalityState': this calls must be removed since only SimulatedDeliveryBuilder should take care of move to 'building' state and workflows now triggers 'updateCausalityState'. Disguised interactions have been unhardcoded and either deleted, or moved to appropriate interaction workflows, which have been reorganized. Those that triggers update of portal_workflow can be easily customized or disabled. New API: - updateSimulation() on deliveries and subscription items. It takes care of creating root applied rule, expanding and reindexing parts of simulation trees. It somehow replaces: - Delivery_updateSimulation - Delivery_updateAppliedRule - Delivery.applyToDeliveryRelatedMovement - Delivery.updateAppliedRule - Delivery.expand - Delivery.expandRuleRelatedToMovement - SubscriptionItem.expand - SubscriptionItem.updateAppliedRule - Delivery.localBuild() is the new way to do local building and replaces Delivery_expandAndBuild. Private method Delivery._localBuild replaces Delivery_buildOnComposedDocument. - Simulation Movements that are being built by a builder are reindexed with the following tag: 'built:<delivery_path>'. Any after_path_and_method_id dependency against 'related_simulation_movement_path_list' and reindexing methods should be replaced by this after_tag. After builder scripts used to confirm the delivery in a separate activity, which was useless.
-
- 27 Aug, 2012 1 commit
-
-
Julien Muchembled authored
-
- 23 Aug, 2012 1 commit
-
-
Rafael Monnerat authored
This exception is required to be used in ZODB due erp5_promise.
-
- 09 May, 2012 1 commit
-
-
Leonardo Rochael Almeida authored
_getOb() is too low level and is no longer called by Zope during traversal (which uses __getitem__()), if the object is not an explicity subobject. __getitem__() is the right interface for a folder to pretend to have objects it doesn't actually have.
-
- 01 May, 2012 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 23 Apr, 2012 3 commits
-
-
Sebastien Robin authored
the code of some id generator can raise ValueError when objects are not fully installed, and this is typically a case when the compatibility code needs to run (like uid generation in the middle of the installation of id generators objects)
-
Sebastien Robin authored
-
Sebastien Robin authored
This is used to get ongoing status even though there is no failures, it allows to know what is going on on testnode side
-
- 06 Apr, 2012 1 commit
-
-
Julien Muchembled authored
-
- 02 Apr, 2012 1 commit
-
-
Kazuhiko Shiozaki authored
make it possible to specify expiration date of credential requests whose default is still current date + 1 day.
-
- 23 Dec, 2011 1 commit
-
-
Julien Muchembled authored
-
- 21 Dec, 2011 1 commit
-
-
Julien Muchembled authored
Useful to check that 'portal_simulations' is properly migrated.
-
- 20 Dec, 2011 1 commit
-
-
Ivan Tyagov authored
-
- 12 Dec, 2011 1 commit
-
-
Julien Muchembled authored
-
- 10 Dec, 2011 1 commit
-
-
Julien Muchembled authored
This fixes a regression introduced in 77d94dd5 ("Speed up RuleTool.searchRuleList by quickly filtering out rules"), causing TestRule.test_09_expandTwoRules to fail.
-