- 11 Oct, 2012 5 commits
-
-
Ivan Tyagov authored
Allow pre conversion to happen on any ERP5 Web Page's content which include relative images (through <img> tags).
-
Rafael Monnerat authored
- This permit we reuse it everywhere.
-
Rafael Monnerat authored
-
Rafael Monnerat authored
- Arbitrary remove objects and delete workflow history is bad. This code was never used anyway. - Clean up code which is not used anywhere anymore, legacy from long ago implementation.
-
Rafael Monnerat authored
-
- 10 Oct, 2012 1 commit
-
-
Ivan Tyagov authored
-
- 09 Oct, 2012 7 commits
-
-
Sebastien Robin authored
This reverts commit 20f05949. While having good naming conventions is good, it's a task to make it passing. Since it shows no important regression, this should be commited when this test pass (or it can be enabled first on only one or two bt, and then on more and more)
-
Ivan Tyagov authored
-
Ivan Tyagov authored
Use permanent URL where possible.
-
Ivan Tyagov authored
-
Mame Coumba Sall authored
-
Mame Coumba Sall authored
-
Ivan Tyagov authored
-
- 08 Oct, 2012 3 commits
-
-
Sebastien Robin authored
-
Tristan Cavelier authored
In products/ERP5/Document/BusinessTemplate.py, when trying to build an item, an error occured because item was set to None by clean method.
-
Ivan Tyagov authored
it can be desired (and reflected in test) that developer needs no selections.
-
- 05 Oct, 2012 5 commits
-
-
Ivan Tyagov authored
-
Ivan Tyagov authored
Use nice URLs to access from RSS Discussion Post.
-
Ivan Tyagov authored
Add web alike getDescription (WIP)
-
Ivan Tyagov authored
-
Sebastien Robin authored
-
- 04 Oct, 2012 4 commits
-
-
Gabriel Monnerat authored
extend code to pass firefox and xvfb binaries as parameter to runUnitTest. With this, is possible run functional tests using firefox and xvfb binaries from selenium testrunner
-
Gabriel Monnerat authored
Refactor code to request installation and instanciation of external profiles passed on parameter dict
-
Sebastien Robin authored
-
Tristan Cavelier authored
-
- 03 Oct, 2012 8 commits
-
-
Julien Muchembled authored
-
Ivan Tyagov authored
-
Gabriel Monnerat authored
add workaround for Internet Explorer's bug to download files over SSL. More details here: http://support.microsoft.com/kb/316431
-
Julien Muchembled authored
- splitted expand, performance improvements and bugfixes (see commit 5c09e2e2 for more information) - Zope: monkey-patch 'transaction' to provide start time of transaction - CMFActivity: new 'merge_parent=<path>' SQLDict parameter - CMFActivity: try to reserve older messages first (ORDER BY priority, date) (see commit 275799fe to update existing activity tables) - drop legacy simulation
-
Julien Muchembled authored
-
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.
-
Sebastien Robin authored
-
Ivan Tyagov authored
-
- 02 Oct, 2012 3 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Base on work by Mame Coumba Sall <mame@nexedi.com>
-
- 01 Oct, 2012 4 commits
-
-
Jean-Paul Smets authored
-
Julien Muchembled authored
-
Julien Muchembled authored
-
Julien Muchembled authored
If specified, <path> must be the path of an ancestor and SQLDict will merge all similar messages under this path and process only the root message. This will be used in ERP5 simulation to drop 'expand' activities that are children of other 'expand' activities. Because it can be used with grouped messages, it may be interesting to used it for recursiveImmediateReindexObject.
-