• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

fixed sort key calculation. postgres driver encloses bind variables in ' ' which makes the sort key calculation fail. the key calculation is done in tcl now.

fixed queryname names. fixed outer join which wasn't picked up by the query extractor.

fixed sort key calculations. the postgres driver puts ' ' around the bind variable. the old code performed calculations like "and sort_key = (:prev_sort_key + :next_sort_key)/2", which caused postgres to barf. this calculation is now done in tcl.

fixed oracle sign() calls

/bin/bash: q: command not found

Initial OpenACS import

    • -0
    • +96
    ./packages/acs-reference/sql/postgresql/country.sql
    • -0
    • +43
    ./packages/acs-reference/sql/postgresql/s-and-p.sql
    • -0
    • +91
    ./packages/acs-reference/sql/postgresql/us-counties.sql
    • -0
    • +40
    ./packages/acs-reference/sql/postgresql/us-states.sql
    • -0
    • +68
    ./packages/acs-reference/sql/postgresql/us-zipcodes.sql
Another PG type fix, and added overloaded new.

Worked on permissions syntax

Initial revision for OpenACS.

    • -0
    • +62
    ./packages/acs-reference/acs-reference.info
Pulled inserts into own files.

Pulled inserts out of sql files for commonality.

    • -0
    • +259
    ./packages/acs-reference/sql/common/country-data.sql
    • -0
    • +205
    ./packages/acs-reference/sql/common/currency-data.sql
    • -0
    • +146
    ./packages/acs-reference/sql/common/language-data.sql
Moved sql to data dependent dirs

Renamed data to -data and moved sql to database dependent directories.

Major change.

I put all database dependent parts in their directories and kept the data only in common.

This is needed for the database independence and pl(pg)sql differences.

    • -0
    • +47
    ./packages/acs-reference/sql/oracle/s-and-p.sql
updated to reflect removal of timezone data temporarily

Initial Postgres port. Rough only.

deleted for OpenACS. All files put in common

    • -535
    • +0
    ./packages/acs-reference/sql/oracle/timezone-data.sql
Fixed error in tree_sortkey insert trigger; hopefully tree_sortkey being created/updated properly now.

initial OpenACS revision

    • -0
    • +335
    ./packages/acs-reference/sql/common/country.sql
    • -0
    • +284
    ./packages/acs-reference/sql/common/currency.sql
    • -0
    • +188
    ./packages/acs-reference/sql/common/language.sql
    • -0
    • +123
    ./packages/acs-reference/sql/common/s-and-p-data.sql
    • -0
    • +535
    ./packages/acs-reference/sql/common/timezone-data.sql
    • -0
    • +25
    ./packages/acs-reference/sql/common/timezone-drop.sql
    • -0
    • +40049
    ./packages/acs-reference/sql/common/timezone-rules.sql
    • -0
    • +512
    ./packages/acs-reference/sql/common/timezones.sql
    • -0
    • +3154
    ./packages/acs-reference/sql/common/us-counties-data.sql
    • -0
    • +99
    ./packages/acs-reference/sql/common/us-counties.sql
    • -0
    • +122
    ./packages/acs-reference/sql/common/us-states.sql
    • -0
    • +42205
    ./packages/acs-reference/sql/common/us-zipcodes-data.sql
    • -0
    • +76
    ./packages/acs-reference/sql/common/us-zipcodes.sql
    • -0
    • +16
    ./packages/acs-reference/sql/postgresql/acs-reference-data.sql
    • -0
    • +41
    ./packages/acs-reference/sql/postgresql/acs-reference-drop.sql
patch supplied by Dave Bauer to pass in security_inherit_p flag when creating new content_item. Work-around for data-change violation

fixed helper function timespan_days. use float instead of varchar.

fixed date calculations. used timespan_days() to calculate intervals. had to cast some arithmetic into float to pass to timespan_days.

added drop function for timespan_days.

added timespan_days helper function. from OpenACS 3.2.5.

fixed oracle sign calculation

fixed query name for ec_package_url_lookup_mem.ec_mountpoint

fixed issues.tcl. used db_map to handle dynamic queries. rewrote order_by bind variable to use a normal variable with a switch statement to verify the contents. for some reason the bind variable version kept enclosing the order_by variable in ' ' which is not correct.

fixed query name in .xql file for ec_package_url_lookup.

fixed sql query within the uplevel. used upvar as DanW suggested.

    • -6
    • +5
    ./packages/ecommerce/tcl/ecommerce-procs.tcl

- changed the XML parsing throughout to go through a simplified API to later upgrade XML parsing in a central place.

- updated support for ns_xml 1.4, and added work-arounds for previous versions.

- added installer check for ns_xml compatibility at boot time.

    • -5
    • +192
    ./packages/acs-tcl/tcl/30-xml-utils-procs.tcl
    • -16
    • +16
    ./packages/acs-tcl/tcl/apm-xml-procs.tcl