• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 more files in changeset.
added switch to turn off logging of case changes since this produces a lot of waste in acs_objects and content-repository

restoring timoh's addition 1.37.2.1 of the parameter case_id to case::new

Localised label variable for workflow notifications.

Fixing last patch. The workflow notifications were only broken on

workflow_assignee and workflow_my_cases. Exclude workflow_case so that

'watches' proceed as normal.

Fixing last patch. The workflow notifications were only broken on

workflow_assignee and workflow_my_cases. Exclude workflow_case so that

'watches' proceed as normal.

Correctly determine assignees. Someone should double check this.

Correctly get the assignees for the notification. Someone should

doublecheck this.

This patch fixes two bugs in the workflow::case::action::notify proc in

the workflow package. I am not very familiar with the way this package

works so someone should check my work before releasing this into the

wild.

Patch 1 - Retrieve the non-cached version of the activity log. While

debugging my application I noticed that if I fired off two actions quite

quickly the second action's notification would be the same as the first.

Patch 2 - When firing an action that has no assignees the default

behavior is to notify EVERYONE who has subscribed to be notified of

their cases. Since no one has been assigned it's nobody's case yet.

With this change no one will be notified except people who are

subscribed to the workflow if an action occurs on a case without any

assignees.

This patch fixes two bugs in the workflow::case::action::notify proc in the workflow package. I am not very

familiar with the way this package works so someone should check my work

before releasing this into the wild.

Patch 1 - Retrieve the non-cached version of the activity log. While

debugging my application I noticed that if I fired off two actions quite

quickly the second action's notification would be the same as the first.

Patch 2 - When firing an action that has no assignees the default

behavior is to notify EVERYONE who has subscribed to be notified of

their cases. Since no one has been assigned it's nobody's case yet.

With this change no one will be notified except people who are

subscribed to the workflow if an action occurs on a case without any

assignees.

added parameter case_id to case::new

Call to workflow::case::state_changed_handler must come before workflow::case::action::notify, otherwise assignees arent't created yet when notifications go out, which causes the notification to be sent to everyone

commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.
adding the deputy Tcl procs that seems to have been lost (or maybe we forgot to add them)

  1. … 2 more files in changeset.
Apply patch 304, fixes bug 889: $action_pretty_past_tense not localized.

Made some changes to allow wf case objects to be plain objects (items worked without problems), see: http://openacs.org/forums/message-view?message_id=192465 ... I have not been able to test the upgrade script for Oracle.

  1. … 4 more files in changeset.
Adding the role_ids switch to the workflow::case::role::add_assignee_widgets proc. With that switch you can add assignee widgets for a restricted set of roles

merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 647 more files in changeset.
internationalizing the email notificaiton part of workflow. TODO: make sure the locale used for the email matches the preference of the receiving user

merging a few days of HEAD work back to the branch

  1. … 27 more files in changeset.
Use action(child_action_ids) instead of separate query to get child actions

fixing bug in action::execute - it wouldn't work when executed outside an HTTP request (from the timeout sweeper). Now timeout tasks will have a null user_id which is not ideal. We might want to pass on the trigger type (time) to the case log entry to more clearly indicate when an action timed out.

  1. … 3 more files in changeset.
porting queries in the 2.0 version of workflow from postgres to oracle. Moving common query workflow::case::fsm::get_state_info_not_cached.select_state_info into shared xql file.

  1. … 5 more files in changeset.
porting the table-create sql script and the 1.2-2.0d1 upgrade script from PG to Oracle

  1. … 4 more files in changeset.
throwing error from workflow::case::new if workflow doesn't have any state (it's not functional without states).

Ensure that child workflows have an initial action, and that it changes state

Added support for workflows with hierarchy, parallel actions, and dynamic number of parallel actions. Phew.

  1. … 17 more files in changeset.
adding the workflow::case::role::assignee_remove proc. Adding the id_values switch to the workflow::role::get_options proc

  1. … 2 more files in changeset.
- Generating spec/new_from_spec/cloning recursive workflows

- Automatically create initial action when new workflow is created

  1. … 4 more files in changeset.
Removed aa_log statements