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

added db_map for sysdate calls in a dynamic query.

    • -0
    • +19
    ./packages/ecommerce/www/admin/products/edit-3-oracle.xql

added db_map for partialquery. expanded the ec_products query to get date in standard format for ad_dateentrywidget.

    • -1
    • +12
    ./packages/ecommerce/www/admin/products/edit.tcl
    • -1
    • +1
    ./packages/ecommerce/www/admin/products/edit.xql

updated with correct names for sql creation/deletion scripts

renamed files to package-name-create/drop format so that the APM will recognize it during installation.

    • -0
    • +73
    ./packages/simple-survey/sql/postgresql/simple-survey-drop.sql

renamed the files to package-name-create/drop.sql so the APM will recognize it

    • -0
    • +69
    ./packages/simple-survey/sql/oracle/simple-survey-drop.sql
Fixed error in actually selecting bookmarks to view. Hadn't tried that yet...you can use them now.

    • -0
    • +16
    ./packages/bookmarks/www/bookmark-access-oracle.xql
    • -0
    • +26
    ./packages/bookmarks/www/bookmark-access-postgresql.xql
Fixed error in sort order on index page. Added editing and viewing. Basic

functionality is working.

    • -0
    • +47
    ./packages/bookmarks/www/bookmark-add-one-2-oracle.xql
    • -0
    • +49
    ./packages/bookmarks/www/bookmark-add-one-2-postgresql.xql
    • -0
    • +34
    ./packages/bookmarks/www/bookmark-add-one-2.xql
    • -0
    • +35
    ./packages/bookmarks/www/bookmark-edit-2-oracle.xql
    • -0
    • +45
    ./packages/bookmarks/www/bookmark-edit-2-postgresql.xql
    • -0
    • +20
    ./packages/bookmarks/www/bookmark-edit-2.xql
    • -0
    • +8
    ./packages/bookmarks/www/bookmark-edit-oracle.xql
    • -0
    • +15
    ./packages/bookmarks/www/bookmark-edit-postgresql.xql
    • -1
    • +1
    ./packages/bookmarks/www/bookmark-edit.tcl
    • -0
    • +40
    ./packages/bookmarks/www/bookmark-edit.xql
    • -0
    • +32
    ./packages/bookmarks/www/bookmark-view-oracle.xql
    • -2
    • +1
    ./packages/bookmarks/www/bookmark-view.tcl
    • -0
    • +22
    ./packages/bookmarks/www/bookmark-view.xql
    • -2
    • +3
    ./packages/bookmarks/www/index-postgresql.xql

fixed naming of fullquery. did initial pass on proc vs. QE verification.

    • -1
    • +1
    ./packages/ecommerce/tcl/ec-style-procs.xql
    • -8
    • +8
    ./packages/ecommerce/tcl/ecommerce-procs.xql
    • -16
    • +16
    ./packages/ecommerce/tcl/ecommerce-scheduled-procs-postgresql.xql

changed all procs/proc_docs to ad_proc.

    • -170
    • +170
    ./packages/ecommerce/tcl/cybercash-emulator-procs.tcl.for.testing
    • -19
    • +20
    ./packages/ecommerce/tcl/ec-style-procs.tcl
    • -49
    • +56
    ./packages/ecommerce/tcl/ecommerce-procs.tcl
    • -3
    • +3
    ./packages/ecommerce/tcl/qmail-procs.tcl

fixed ec_product__new for postgresql. also did a db_map for sysdate call.

fixed ec_product__new function

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