1. 17 Mar, 2021 1 commit
  2. 16 Mar, 2021 7 commits
    • Arnaud Fontaine's avatar
      WWIP: Configurator Workflow. · 49fe8284
      Arnaud Fontaine authored
      49fe8284
    • Arnaud Fontaine's avatar
      WIP: Hacks to be removed. · 12bf13f2
      Arnaud Fontaine authored
      12bf13f2
    • Arnaud Fontaine's avatar
    • Arnaud Fontaine's avatar
      WWIP: Configurator Workflow. · 2ba20879
      Arnaud Fontaine authored
      * Rename WorkflowConfigurator PropertySheet to ConfiguratorWorkflow.
      * Add ConfiguratorWorkflowTransition PropertySheet for transition_form_id.
        => Should it be moved to standard 'action' instead?
      * Avoid defining Configurator-specific API in Workflow API, such as
        initializeDocument(). TODO: What about:
        - state.getAvailableTransitionList()
        - state.executeTransition()
        - state.getWorkflowHistory()
        - state.undoTransition()
        => erp5_configurator_standard:testStandardConfigurationWorkflow
      2ba20879
    • Arnaud Fontaine's avatar
      RFC: ERP5Workflow: Existing Workflow PythonScript should not require any change. · eece41db
      Arnaud Fontaine authored
      * Add WORKFLOW.{scripts,transitions...} property which is just a ComputedAttribute
        returning a dict (TODO: Instead of a dict, this should be ContainerTab to have
        objectIds()...).
      
      * Allow a Workflow Script to call another one by overriding portal_workflow.__getattr__.
        With DCWorkflow, `container` was bound to its parent (WORKFLOW.scripts which is a
        mapping), but now `container` is bound to the WORKFLOW itself as Transitions, Scripts
        and Variables are all at the same level. This is not very efficient but this is only
        in DCWorkflow compatibility mode after all.
      
        The initial implementation was creating a `ScriptContext`, a temporary object with
        all scripts of the current Workflow added. However, this required changing existing
        Workflow Script code and especially this did not work with the following use case:
        1. Script Context is created before calling a Workflow Script.
        2. That script calls a Workflow Script from another Workflow.
           => This will fail as ScriptContext is only created for the Workflow.
      eece41db
    • Arnaud Fontaine's avatar
      WIP: Merge erp5_workflow into erp5_core. · db090455
      Arnaud Fontaine authored
      Ignore for now the differences between ERP5Workflow implemented for Configurator
      a long time ago and "new" ERP5Workflow.
      db090455
    • Arnaud Fontaine's avatar
      WIP: ERP5Workflow: DC Workflows are now ERP5 object and migrated to ERP5Workflow. · ee567550
      Arnaud Fontaine authored
      Work done by Wenjie Zheng, Isabelle Vallet, Sebastien Robin and myself.
      ee567550
  3. 18 Feb, 2021 1 commit
  4. 09 Feb, 2021 1 commit
  5. 29 Jan, 2021 1 commit
  6. 28 Jan, 2021 1 commit
  7. 26 Jan, 2021 1 commit
  8. 30 Nov, 2020 1 commit
  9. 26 Nov, 2020 15 commits
  10. 23 Nov, 2020 2 commits
  11. 17 Nov, 2020 4 commits
  12. 13 Nov, 2020 2 commits
  13. 12 Nov, 2020 1 commit
    • Jérome Perrin's avatar
      ERP5TypeFunctionalTestCase: wait a bit longer for Xvfb to start · 6708c75a
      Jérome Perrin authored
      When running on testnode, runUniTest is responsible for picking a free $DISPLAY.
      This is implemented by starting Xvfb on a $DISPLAY, waiting a bit and if it is
      still running we assume the $DISPLAY was free. But it seems sometimes we don't
      wait enough, when testnodes are overloaded.
      
      This implementation is wrong, we could run a command check that X is running,
      but as explained in the code command below, xdpyinfo or other tools are
      currently not available in test environment. Since we are considering switching
      this to seleniumserver (which would take care of running a X Server for us) so
      this is OK for now.
      6708c75a
  14. 11 Nov, 2020 1 commit
  15. 09 Nov, 2020 1 commit