acs-object-management

  • last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
Removed old dtype stuff ...

add move up/move down buttons to object view

    • -8
    • +10
    ./catalog/acs-object-management.en_US.ISO-8859-1.xml
    • -0
    • +27
    ./www/admin/view-attributes-move.tcl
    • -0
    • +25
    ./www/admin/view-attributes-move.xql
Added a bunch of new stuff for the acs object management package.

    • -5
    • +22
    ./catalog/acs-object-management.en_US.ISO-8859-1.xml
    • -0
    • +1
    ./lib/forms/generic.adp
    • -0
    • +37
    ./lib/forms/generic.tcl
    • -0
    • +13
    ./lib/forms/generic.xql
    • -0
    • +343
    ./sql/postgresql/acs-templating-changes-create.sql
    • -0
    • +78
    ./tcl/form-procs.tcl
    • -0
    • +54
    ./tcl/form-procs.xql
  1. … 44 more files in changeset.
Cleanup.

Finished documenting existing Tcl API. Fixed some bugs that had crept in

that were keeping the automated tests from working.

Added preliminary versions of view support. Documented some of the Tcl API.

    • -1
    • +6
    ./catalog/acs-object-management.en_US.ISO-8859-1.xml
    • -0
    • +38
    ./tcl/view-attribute-procs.tcl
    • -0
    • +26
    ./tcl/view-attribute-procs.xql
    • -5
    • +0
    ./www/admin/attribute-delete-confirm.adp
    • -1
    • +0
    ./www/admin/attribute-delete-confirm.tcl
    • -0
    • +17
    ./www/admin/view-attributes-add.tcl
  1. … 6 more files in changeset.
initial version

    • -0
    • +0
    ./catalog/acs-object-management.en_US.ISO-8859-1.xml
    • -0
    • +0
    ./tcl/object-type-procs-postgresql.xql
  1. … 22 more files in changeset.
Initial revision

    • -0
    • +28
    ./acs-object-management.info
    • -0
    • +67
    ./catalog/acs-object-management.en_US.ISO-8859-1.xml
    • -0
    • +105
    ./sql/postgresql/acs-content-repository-changes-create.sql
    • -0
    • +876
    ./sql/postgresql/acs-kernel-changes-create.sql
    • -0
    • +4
    ./sql/postgresql/acs-object-management-create.sql
    • -0
    • +98
    ./tcl/attribute-procs.tcl
    • -0
    • +22
    ./tcl/attribute-procs.xql
    • -0
    • +14
    ./tcl/cache-init.tcl
    • -0
    • +217
    ./tcl/object-procs.tcl
    • -0
    • +37
    ./tcl/object-procs.xql
    • -0
    • +15
    ./tcl/object-type-procs-oracle.xql
    • -0
    • +15
    ./tcl/object-type-procs-postgresql.xql
    • -0
    • +167
    ./tcl/object-type-procs.tcl
    • -0
    • +31
    ./tcl/object-type-procs.xql
    • -0
    • +20
    ./tcl/object-view-procs.tcl
  1. … 22 more files in changeset.