1. 28 Jan, 2013 1 commit
  2. 03 Oct, 2012 1 commit
    • Simulation: splitted expand, performance improvements and bugfixes · 5c09e2e2
      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.
      Julien Muchembled committed
  3. 25 Sep, 2012 1 commit
  4. 05 Jan, 2012 2 commits
  5. 18 Apr, 2011 1 commit
  6. 17 Dec, 2010 1 commit
  7. 14 Oct, 2010 1 commit
  8. 26 Jan, 2010 1 commit
  9. 22 Jan, 2010 1 commit
  10. 23 Dec, 2009 1 commit
  11. 21 Dec, 2009 1 commit
  12. 24 Sep, 2008 1 commit
  13. 15 Feb, 2008 1 commit
  14. 14 Feb, 2008 1 commit
  15. 03 Dec, 2007 1 commit
  16. 21 Nov, 2007 1 commit
  17. 02 May, 2007 1 commit
  18. 31 Jan, 2007 1 commit
  19. 24 Jan, 2007 1 commit
  20. 31 Dec, 2006 1 commit
  21. 30 Oct, 2006 1 commit
  22. 14 Oct, 2006 1 commit
  23. 14 Sep, 2006 1 commit
  24. 07 Sep, 2006 1 commit
  25. 30 Aug, 2006 1 commit
  26. 26 Aug, 2006 1 commit
  27. 12 Jul, 2006 1 commit
  28. 30 Jun, 2006 1 commit
  29. 20 Jun, 2006 1 commit
  30. 12 Jun, 2006 2 commits
  31. 14 Apr, 2006 2 commits
  32. 05 Apr, 2006 1 commit
    • Change some _filepath to start with /nexedi. · 8d2e2742
      Add a sort for document in sections by last workflow transition date (ie publication date).
      More robust global definition to handle the case where there is no default content (triggered at website creation for example).
      Correct listbox lines links : call WebSite_getListboxUrl, and make this function pass editable_mode from pages to pages.
      Protect against None references in documents.
      Keep consistency among getSomething functions : return Urls, not titles/references.
      Use translated titles in listbox.
      Use WebSite_getDocumentValueList to get WebSite_getDefaultDocumentValue and hence WebSite_getDefaultDocument.
      Add the variable 'error_message' in publication workflow.
      
      
      
      git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6467 20353a03-c40f-0410-a6d1-a30d3c3de9de
      Vincent Pelletier committed
  33. 25 Mar, 2006 1 commit
  34. 13 Feb, 2006 1 commit
  35. 03 Jan, 2006 1 commit
  36. 02 Dec, 2005 2 commits