• last updated 2 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.

    • -2
    • +4
    ./postgresql/workflow-case-package-body.sql
    • -3
    • +3
    ./postgresql/workflow-package-body.sql
Oracle9i porting changes

- Changed procedure names from delete to del

- Changed view declaration to use actual column names

- Changed "rel_constraints_violated_one" and "rel_constraints_violated_two"

(http://openacs.org/forums/message-view?message_id=81045)

    • -14
    • +14
    ./oracle/workflow-case-package-body.sql
    • -2
    • +2
    ./oracle/workflow-case-package-head.sql
  1. … 273 more files in changeset.
merge of 4.6.3b1 to HEAD

    • -1
    • +1
    ./postgresql/wf-callback-package-body.sql
    • -10
    • +11
    ./postgresql/workflow-case-package-body.sql
    • -0
    • +243
    ./postgresql/upgrade/upgrade-4.6-4.6.1.sql
  1. … 180 more files in changeset.
I've changed "timestamp" to "timestamptz" and have begun fixing some

code that used to be legal but as of PG 7.3 is not. You can no longer

subtract an integer from a timestamp but must cast to date, "timestamp"

disappeared (must use "interval" now), "datetime" disappeared ("timestamptz"),

and suchwhat.

Not done but closer than it was before ...

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

    • -0
    • +0
    ./postgresql/upgrade/upgrade-4.6-4.6.1.sql
A bunch of things

1. AOLserver 4.0's nsxml appears to expose a gcc bug which causes the

backwards-compatible "getattr" command to fail. I dug around nsxml

and it does appear to be a gcc bug. I changed to the proper nsxml v2

syntax.

2. In the course of exploring #1 above, I realized that the calls to

dom:: Tcl XML package commands were still being executed despite

being commented out. Typical Tcl misunderstanding on someone's part.

Net effect: we were parsing all APM .info files twice, once in Tcl

and once in ns_xml! Yuk!

3. Fixed a minor notifications bug - you couldn't delete a notification

request if any unsent notifications were pending, causing the homework

package to bomb if you deleted an uploaded homework file and the prof

hadn't yet received their notification.

4. Fixed an obscure corner case in my permissions denormalization code.

    • -0
    • +243
    ./postgresql/upgrade/upgrade-4.6-4.6.1.sql
  1. … 15 more files in changeset.
merge bartt PG 7.3 fixes from HEAD

    • -5
    • +3
    ./postgresql/workflow-case-package-body.sql
  1. … 54 more files in changeset.
Patches to make OpenACS PG 7.3 compatible.

    • -5
    • +3
    ./postgresql/workflow-case-package-body.sql
  1. … 54 more files in changeset.
Merged with the 4.5 branch (oacs-4-5 tag "don-merge-1")

  1. … 58 more files in changeset.

I'd removed jobs-start.sql but hadn't removed the include from this file.

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

    • -2
    • +2
    ./oracle/workflow-case-package-body.sql
    • -1
    • +1
    ./postgresql/workflow-case-package-body.sql
  1. … 6 more files in changeset.

I boo-booed when changing the notification callback signature.

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.

    • -9
    • +9
    ./oracle/workflow-case-package-body.sql
    • -9
    • +9
    ./postgresql/workflow-case-package-body.sql
  1. … 11 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
    • +20
    ./oracle/workflow-case-package-body.sql
    • -1
    • +8
    ./oracle/workflow-case-package-head.sql
    • -1
    • +17
    ./postgresql/workflow-case-package-body.sql

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.

    • -6
    • +4
    ./postgresql/workflow-case-package-body.sql
  1. … 7 more files in changeset.

1. Removed call to "schedule_proc" in acs-workflow. It's no longer needed.

2. Changed admin UI so you can enter the sort order when adding or editing

places.

3. Duplicated Bart Teeuwisse's glossary changes for Oracle.

  1. … 12 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
    ./postgresql/upgrade/upgrade-4.1.1-4.3.sql
  1. … 234 more files in changeset.
initial revision of acs-workflow-4.3

    • -114
    • +197
    ./oracle/sample-article-create.sql
    • -121
    • +292
    ./oracle/sample-expenses-create.sql
    • -0
    • +541
    ./oracle/upgrade-4.1.1-4.3.sql
    • -0
    • +46
    ./oracle/wf-callback-package-body.sql
    • -0
    • +34
    ./oracle/wf-callback-package-head.sql
    • -297
    • +410
    ./oracle/wf-core-create.sql
    • -0
    • +1973
    ./oracle/workflow-case-package-body.sql
  1. … 137 more files in changeset.

Had to declare v_request_id ...

    • -1
    • +2
    ./postgresql/sample-article-create.sql

A variety of minor fixes ...

  1. … 3 more files in changeset.
fixed typo

    • -2
    • +2
    ./postgresql/sample-article-create.sql
moved notification call into callback routine

    • -1
    • +22
    ./postgresql/sample-article-create.sql
    • -9
    • +19
    ./postgresql/workflow-case-package.sql
reset party_from to -1

    • -8
    • +2
    ./postgresql/workflow-case-package.sql
fixed incompatiblity in workflow due to changing from acs-notifications to acs-mail

    • -5
    • +60
    ./oracle/test/workflow-case-package-test.sql
  1. … 8 more files in changeset.
restored oracle version of test script

    • -310
    • +283
    ./oracle/test/workflow-case-package-test.sql
fixed display of CR file content in oracle

    • -2
    • +8
    ./postgresql/workflow-case-package.sql
  1. … 8 more files in changeset.
removed another vestige of acs-notification

    • -19
    • +1
    ./postgresql/workflow-case-package.sql