acs-object-management

  • last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make sure to call ad_script_abort after ad_return

  1. … 13 more files in changeset.
normalize boolean expressions in ADP files

  1. … 14 more files in changeset.
Add additional where clause to prevent cartersian product of forms and attributes when selecting attribute parameters for a form

bad cache key causing incorrect results to be returned

Added a bunch of files ...

    • -0
    • +1
    ./lib/forms/generic-cr.adp
    • -0
    • +48
    ./lib/forms/generic-cr.tcl
    • -0
    • +17
    ./lib/forms/generic-cr.xql
    • -0
    • +86
    ./sql/postgresql/upgrade/upgrade-0.0.2d1-0.0.2d2.sql
    • -0
    • +155
    ./tcl/content-procs.tcl
    • -0
    • +20
    ./tcl/content-procs.xql
Relaxed the requirement that an acs object type's specified table name

actually exists (or is null), due to broken packages like categories.

I even provided an upgrade script and bumped the package version number.

Added rudimentary content repository support.

    • -1
    • +3
    ./catalog/acs-object-management.en_US.ISO-8859-1.xml
    • -0
    • +84
    ./tcl/apm-callback-procs.tcl
allow for the extension of an existing form with an AOM object view form

1. Removed some things that couldn't be implemented easily in oracle

2. Made partial editing of a type's attributes work.

This was left over from dtypes, not used by the AOM.

export return_url to form

Removed unneeded queries

Fixed bug in regard to types that require a "to_sql" option to work

correctly. Removed Daveb's kludge to look for to_timestamp() directly.

Fixed bugs in the test code, which was confusing the issue.

Bumped kernel to 5.7.0d4. Modified acs-object-management package to reflect

the fact that attribute and type stuff was moved to acs-kernel.

    • -105
    • +0
    ./sql/postgresql/acs-content-repository-changes-create.sql
    • -0
    • +310
    ./sql/postgresql/acs-views-create.sql
add drop table cascade

Fix unterminated XML tags for required

Templating stuff was moved to core recently (by me), in 5.6.0d1, so I've

removed it from this package and made it dependent on the proper version of

acs-templating. I've tagged the previous version of the package as being

openacs-5-6-compat.

make created view with : use _ instead (fix for xowiki object types)

Add test with many datatypes

Add bind var support. Note incomplete hack to handle to_timestamp. Since when we construct the query we don't have access to the attribute/form datatypes. Also return new object_id in new_from_form procedure.

Oops, missing rdbms = pg tag

    • -0
    • +1
    ./www/admin/object-type-postgresql.xql
1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

  1. … 29 more files in changeset.
added feature to define value/options form parameters by literal or tcl proc.

    • -0
    • +12
    ./tcl/form-param-procs.tcl
    • -0
    • +20
    ./www/admin/widget-add-edit-2.js
    • -15
    • +53
    ./www/admin/widget-add-edit-2.tcl
added literal/tcl proc options for form parameters, added allowed widgets for each datatype.

    • -0
    • +6
    ./catalog/acs-object-management.en_US.ISO-8859-1.xml
    • -53
    • +357
    ./sql/postgresql/acs-templating-changes-create.sql
add acs-templating validators for number, enumeration, time_of_day datatypes.

clean up create and drop scripts

Made some changes that among other things allows for multiple automatic

forms in the same script and specification of the object_id.

fix retrieval of object_id from key

add new filename, float, naturalnum datatypes to match acs-templating validators. change money datatype to currency.

add drop script for acs-object-management package

    • -0
    • +36
    ./sql/postgresql/acs-object-management-drop.sql