• last updated 47 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add Feature: Shared Workflow Definitions

Background: so far, xowf stored workflow definitions in the workflow

context, which is generated for every instantiated workflow instance

due to the needs of the State Pattern. While the old approach works

perfectly fine, when pre request only one or a few workflow instances

are created, but is inefficient, when e.g. 100 or more instances of

the workflow definition are created.

Now, the instances can share the definition, which is shared based on

the revision_id of the workflow FormPage.

OLD: obj <-> obj::wf_ctx

NEW: obj <-> obj::wf_ctx <(n)----> wf_definition

OLD scenario:

- the wf_definition was part of the context (no distinction)

- navigation from wf_ctx (and wf_definition) to object was possible

via "info parent"

NEW scenario:

- the wf_definition is separate

- one wf_definition can be used for multiple wf_ctx

- new methods are required instead of "info parent"

to navigate between these cooperating objects

* xowf::WorkflowPage.wf_context

* xowf::WorkflowConstruct.wf_context

* xowf::Context.wf_container

The navigation from a WorkflowConstruct (e.g. State) to the wf_ctx

is slow and fragile if not following usual programming conventions

and should e avoided (the methods of these constructs have the obj

passed in, so this path should not be necessary in most situations)

- as long the contents of the wf_container is constant, it can be

shared in the per-thread cache.

For now, the new feature is turned off by default via variable

::xowf::sharedWorkflowDefinition, but this will change in the future.

merged changes from the oacs-5-9 branch and resolved conflicts

    • -4
    • +14
    ./catalog/xowf.de_DE.ISO-8859-1.xml
    • -0
    • +21
    ./catalog/xowf.es_ES.ISO-8859-1.xml
    • -0
    • +21
    ./catalog/xowf.it_IT.ISO-8859-1.xml
  1. … 7820 more files in changeset.
- do not depend on beta or development versions

- make sure that released versions are not beta or development

- align version numbers (e.g. use also 5.9.1 for xotcl-core)

- bump version numbers to 5.9.1

  1. … 83 more files in changeset.
Updated spanish translation

  1. … 13 more files in changeset.
Updated italian translation

  1. … 2 more files in changeset.
bump version numbers to 5.9.1b9 respectively to 2.9.1b9 to prepare for release

  1. … 91 more files in changeset.
quote label in ExtraMenuEntries to make sure, argument is interpreted correctly, even wen message key is substituted

- make alternatives clickable in mc-questions

Internationalize "New Workflow" menu button

- add option "-path_encode" to methods "pretty_link" and "folder_path"

to allow to control, wether the result should be encoded or not

(default true)

- simplify logic around path encoding by using parameter -query of pretty_link

- Bump version number of xowiki and xowf to 5.9.1b4

  1. … 9 more files in changeset.
Avoid other double encoding when export_vars is applied on xowiki pretty_links

  1. … 6 more files in changeset.
- Fix more spelling errors

- Use uniform spelling of "Tcl"

  1. … 8 more files in changeset.
Fix spelling errors

  1. … 74 more files in changeset.
Improve robustness of "file delete" operations

  1. … 23 more files in changeset.
- improve commented out debug line

ensure HTML quoted content

remove hard-coded max-value

- reduce dependencies on xinha

- use repeat form field specs for mc exercises

- provide a more decent feedback on correct/incorrect answers

fix table reference

- fix table name

- provide a priority for atjobs and sorting by priorty and age on ns_job creation

- bump version number of OpenACS to 5.9.1b3 and DotLRN to 2.9.1b3

  1. … 79 more files in changeset.
use variable resolver instead of method for better performance

Obtain as well package_id when selecting at-jobs

Updating of German translation for many packages (many thanks to Markus Moser)

    • -0
    • +10
    ./catalog/xowf.de_DE.ISO-8859-1.xml
  1. … 25 more files in changeset.
file xowf.es_ES.ISO-8859-1.xml was initially added on branch oacs-5-9.

    • -0
    • +0
    ./catalog/xowf.es_ES.ISO-8859-1.xml
Updated es_ES translation

    • -0
    • +20
    ./catalog/xowf.es_ES.ISO-8859-1.xml
  1. … 20 more files in changeset.
Italian localization for xotcl-request-monitor and xowf

    • -0
    • +20
    ./catalog/xowf.it_IT.ISO-8859-1.xml
  1. … 1 more file in changeset.
file xowf.it_IT.ISO-8859-1.xml was initially added on branch oacs-5-9.

    • -0
    • +0
    ./catalog/xowf.it_IT.ISO-8859-1.xml
Bump version numbers for OpenACS 5.9.1b1

  1. … 81 more files in changeset.