• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fixed ambiguous column definition in query

fixed uplevel context of query

documentation cleanup (fix @see, add -public/-private where needed)

  1. … 4 more files in changeset.
fixed query

Fixed a typo resulting from moving from the template db api to the standard

db api.

fix some broken links

  1. … 23 more files in changeset.
fix typo

converted more template db api queries to std db api

    • -20
    • +1
    ./www/modules/templates/template.tcl
    • -40
    • +12
    ./www/modules/workflow/case-create.tcl
    • -37
    • +2
    ./www/modules/workflow/overdue-items.tcl
    • -1
    • +1
    ./www/modules/workflow/overdue-items.xql
    • -22
    • +3
    ./www/modules/workflow/task-checkin.tcl
    • -25
    • +3
    ./www/modules/workflow/task-finish.tcl
    • -49
    • +4
    ./www/modules/workflow/task-reject.tcl
    • -23
    • +3
    ./www/modules/workflow/task-start.tcl
  1. … 4 more files in changeset.
converted more template db queries to std dbapi

    • -10
    • +2
    ./www/modules/workflow/case-create.tcl
    • -16
    • +3
    ./www/modules/workflow/case-status.tcl
converted more template db api queries to std db api

    • -29
    • +2
    ./www/modules/types/widget-register-3.tcl
    • -9
    • +1
    ./www/modules/types/widget-register.tcl
    • -20
    • +2
    ./www/modules/types/widget-unregister.tcl
    • -18
    • +5
    ./www/modules/users/user-search.tcl
    • -2
    • +1
    ./www/modules/workflow/case-status.tcl
converted more template db api queries to std db api queries

    • -21
    • +2
    ./www/modules/templates/template.tcl
    • -40
    • +3
    ./www/modules/types/content-method.tcl
    • -31
    • +3
    ./www/modules/types/register-templates.tcl
    • -22
    • +4
    ./www/modules/types/relation-register.tcl
    • -3
    • +1
    ./www/modules/types/unregister-mime-type.tcl
    • -42
    • +5
    ./www/modules/types/widget-register-1.tcl
    • -38
    • +2
    ./www/modules/types/widget-register-2.tcl
converted more template db api queries to std db api queries

    • -31
    • +4
    ./www/modules/templates/revisions.tcl
converted more template db api queries to std db api queries

    • -57
    • +11
    ./www/modules/templates/index.tcl
    • -2
    • +1
    ./www/modules/templates/new-folder.tcl
    • -5
    • +2
    ./www/modules/templates/new-template.tcl
    • -14
    • +8
    ./www/modules/templates/properties.tcl
converted more template db api queries to std db api queries

    • -12
    • +2
    ./www/modules/sitemap/attributes.tcl
    • -33
    • +2
    ./www/modules/sitemap/delete-items.tcl
converted more template db api queries to std db api queries

    • -40
    • +1
    ./www/modules/permissions/index.tcl
    • -7
    • +3
    ./www/modules/search/search-results.tcl
    • -43
    • +4
    ./www/modules/sitemap/ancestors.tcl
converted more template db api queries to std db api queries

    • -16
    • +2
    ./www/modules/items/revision-add-1.tcl
    • -10
    • +1
    ./www/modules/items/revision-add-2.tcl
    • -12
    • +3
    ./www/modules/items/revision-upload.tcl
    • -26
    • +11
    ./www/modules/items/status-edit.tcl
    • -0
    • +18
    ./www/modules/items/symlink-oracle.xql
    • -0
    • +17
    ./www/modules/items/symlink-postgresql.xql
    • -4
    • +1
    ./www/modules/items/template-register.tcl
converted more template db api queries to std db api queries

    • -0
    • +28
    ./www/modules/items/comment-add.tcl
    • -78
    • +23
    ./www/modules/items/publish-status.tcl
    • -44
    • +3
    ./www/modules/items/relate-items.tcl
    • -35
    • +5
    ./www/modules/items/relate-order.tcl
    • -24
    • +1
    ./www/modules/items/related-items.tcl
    • -58
    • +11
    ./www/modules/items/relationship-view.tcl
converted some more template db queries to std db api queries

    • -0
    • +3
    ./www/modules/items/comments-oracle.xql
    • -13
    • +1
    ./www/modules/items/content-add-1.tcl
    • -10
    • +1
    ./www/modules/items/content-add-2.tcl
    • -10
    • +1
    ./www/modules/items/content-download.tcl
  1. … 4 more files in changeset.
converted template queries to std db api

converted template queries to std db api

    • -12
    • +1
    ./www/modules/items/attributes-edit.tcl
converted template queries to std db api

converted template db api queries to std api queries

converted some more template db queries to std db api queries

1. Changed a lot of package info files to fix problems ...

2. Added Vinod's bboard patch

3. Rationalized party e-mail checking by putting a "before insert or update"

trigger on the table that lower-cases email (this was already done by the

party.new() func but at least one update missed this). Got rid of all

"lower(email) = " and "upper(email) = " checks and just made all use the

db email column directly and lower-cased Tcl vars. In this way the index

on the email column is always and consistently used without needing to

define functional indexes on the column (an EE feature for Oracle).

4. Rationalized naming of a couple of workflows and fixed a glossary PG bug

where apparently its workflow got overwritten by one from the CMS at some

point in time.

5. Made the .cmp/.dat/.frm filters in the template code usable though not

very beautiful nor exactly correct. But with practice you can use them

to debug pages in the packages/* hierarchy. I also turned these off by

default as there's no need to run these filters on a production site!

6. Performed minor surgery on templating, including adding a new

"ad_return_exception_template" that allows you to return a templated

error page and aborts the script.

7. ??? probably but I think this covers most stuff.

    • -2
    • +2
    ./sql/postgresql/cms-publishing-wf.sql
  1. … 73 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.

Added code to make use of David Walker's wonderfully abusive hack on the

pg_proc table that showed me how to write recursive SQL functions. We now

have good use of the index on tree_sortkey when climbing the tree, woo-hoo!

  1. … 18 more files in changeset.

Changed the representation of tree_sortkeys from "text" to "bit varying".

    • -14
    • +11
    ./sql/postgresql/cms-permissions.sql
    • -4
    • +1
    ./www/modules/items/attributes-postgresql.xql
    • -4
    • +3
    ./www/modules/items/relate-items-postgresql.xql
    • -6
    • +2
    ./www/modules/types/index-postgresql.xql
  1. … 50 more files in changeset.

Ouch - an error in a trigger killed, among another things killing some

bboard posting stuff.

initial revision of acs-workflow-4.3

initial revision of acs-workflow-4.3