• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Correct some PL/pgSQL errors uncovered by PG 8.3 when trying to install

this in order to test some 3rd-party OpenACS software that uses it.

No upgrade script for two reasons:

1. It's contrib/obsolete-packages

2. The old PL/pgSQL pseudo-code should still run fine in the PG 8.3 environment,

it's only compiling the source that chokes.

merge of 4.6.3b1 to HEAD

    • -10
    • +11
    ./workflow-case-package-body.sql
  1. … 180 more files in changeset.
file upgrade-4.6-4.6.1.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./upgrade/upgrade-4.6-4.6.1.sql
Patches to make OpenACS PG 7.3 compatible.

  1. … 54 more files in changeset.
1) cleaned up workflows .info file

2) fixed error message in acs-workflow

3) fixed code to reassign tasks to users

4) send return_url to task-action.adp

5) fixed bug in ticket-tracker's clarify_fire callback

6) added return_url to ticket tracker's emails

  1. … 7 more files in changeset.

1. Added session-update.tcl, a small utility which somewhat safely allows

you to put up a link that changes a session_property, for instance to

change the number of items displayed or that sort of thing. The caller

must sign their values and URL, which are verified by the callee via

ad_page_contract. If the referrer doesn't match the signed expected

referrer, you get bounced. I think this is reasonably secure (though

permissions should always be rigorously checked on all pages, of course)

2. acs_events had an html_p flag in the datamodel but no way to set it.

Fixed. It should really be a mime-type but since it's not using the

CR, and since I'm extremely busy with other stuff, I didn't fix it.

3. While doing #1 above I learned that signing and verifying arrays didn't

quite work. Fixed.

4. Found and fixed a small problem with my earlier work on the currency widget.

  1. … 13 more files in changeset.

Added a new function that returns the task_id for a particular case/taskkey.

The only way to get this (needed to fire a message transition) was for one's

client code to poke into the datamodel directly with a select.

  1. … 2 more files in changeset.

1. Changed a couple of ns_schedule_proc calls to ad_schedule_proc.

2. Moved job scheduling for workflow from the db to tcl, because PG doesn't

support in-db job scheduling.

  1. … 9 more files in changeset.
initial revision of acs-workflow-4.3

initial revision of acs-workflow-4.3

initial revision of acs-workflow-4.3

initial revision of acs-workflow-4.3

    • -0
    • +697
    ./upgrade/upgrade-4.1.1-4.3.sql
  1. … 234 more files in changeset.
initial revision of acs-workflow-4.3

    • -119
    • +213
    ./sample-article-create.sql
    • -215
    • +365
    ./sample-expenses-create.sql
    • -0
    • +697
    ./upgrade-4.1.1-4.3.sql
    • -0
    • +37
    ./wf-callback-package-body.sql
    • -0
    • +2
    ./wf-callback-package-head.sql
    • -0
    • +2056
    ./workflow-case-package-body.sql
    • -0
    • +0
    ./workflow-case-package-head.sql
  1. … 137 more files in changeset.

Had to declare v_request_id ...

fixed typo

moved notification call into callback routine

  1. … 2 more files in changeset.
reset party_from to -1

  1. … 1 more file in changeset.
fixed display of CR file content in oracle

  1. … 8 more files in changeset.
removed another vestige of acs-notification

removed requirement on acs-notifications

  1. … 7 more files in changeset.
converted notification calls to acs_mail_nt calls

  1. … 8 more files in changeset.

1. Added a check that PG was initdb's with the collation order for

characters that we expect.

2. Jon added a "sql/common" directory for the insert statements which

load data for acs-references, so I added a new datamodel type "common"

to the APM.

3. Created a new db API routine that returns true if a given db_type is

compatible with the current RDBMS.

4. Added a workaround for a PL/pgSQL "execute" bug in acs-workflow (other

cases had been fixed previously by others but this one was missed)

5. Diddled a couple of .info files using the APM.

  1. … 10 more files in changeset.
more workflow cleanup

  1. … 17 more files in changeset.
more debugging of workflow

  1. … 3 more files in changeset.
fixed up wf after initial testing

  1. … 14 more files in changeset.

Removed more of the "default '' not null" kludge.

  1. … 18 more files in changeset.
added comments for default parameters

  1. … 9 more files in changeset.
added postgresql files to package info file and commented out notifications calls until notifications is ported

  1. … 1 more file in changeset.
adding test directory to repository

    • -0
    • +587
    ./test/workflow-case-package-test.sql
cleanup of dir structure

    • -0
    • +346
    ./upgrade/upgrade-4.0-4.0.1.sql
    • -0
    • +190
    ./upgrade/upgrade-4.0.1-4.1b.sql
  1. … 2 more files in changeset.