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

the tools directory was added because the customer-service code calls tools/spell.tcl.

    • -0
    • +65
    ./tools/form-custom.tcl
    • -0
    • +73
    ./tools/sort-custom.tcl
    • -0
    • +287
    ./tools/spell.tcl
    • -0
    • +28
    ./tools/spelling-dictionary-add-to.tcl
    • -0
    • +65
    ./tools/table-custom.tcl

fixed outer joins and nulls and dates

    • -0
    • +36
    ./customer-service/interaction-add-3-oracle.xql
    • -0
    • +38
    ./customer-service/interaction-add-3-postgresql.xql
    • -6
    • +14
    ./customer-service/interaction-add-3.tcl
    • -11
    • +0
    ./customer-service/interaction-add-3.xql
    • -0
    • +11
    ./customer-service/issue-oracle.xql
    • -1
    • +11
    ./customer-service/issue-postgresql.xql

these queries were not picked up by the QE

    • -0
    • +41
    ./products/custom-field-add-3-oracle.xql
    • -0
    • +41
    ./products/custom-field-add-3-postgresql.xql

added partial postgresql support. trigger creation and alter table ... drop column not supported yet.

fixed single quote error for postgresql. Reported by Bart T.

moved the time check inside the if statment for expected_arrival_time

fixed bug when all_items_p is selected, the item_id_list was not set to item_id so only the last item_id would get passed to fulfill-3.tcl. Also added a time check to make sure all parts of the time had two digits. PostgreSQL chokes if it's not formatted exactly (ie. HH:MI:SS). Created a new function called: ec_timeentrywidget_time_check to do the check.

fixed search query

    • -0
    • +74
    ./orders/search-oracle.xql
    • -0
    • +74
    ./orders/search-postgresql.xql

fixed money_select query

used db_map for dynamic queries with date calcs

    • -0
    • +26
    ./orders/refunds-oracle.xql
    • -0
    • +26
    ./orders/refunds-postgresql.xql

used db_map for dynamic sql queries with date calcs

    • -0
    • +27
    ./orders/gift-certificates-issued-oracle.xql
    • -0
    • +27
    ./orders/gift-certificates-issued-postgresql.xql

added db_map for dynamic queries with dates

    • -0
    • +28
    ./orders/gift-certificates-oracle.xql
    • -0
    • +27
    ./orders/gift-certificates-postgresql.xql

fixed date filters by adding db_map for dynamic sql

    • -0
    • +21
    ./orders/by-order-state-and-time-oracle.xql
    • -0
    • +27
    ./orders/by-order-state-and-time-postgresql.xql

fixed date queries to use timespan_days for interval calculation

    • -3
    • +3
    ./customer-service/issues-postgresql.xql

fixed date queries by using db_map

    • -0
    • +50
    ./orders/shipments-postgresql.xql

postgresql returns the full timestamp including the time which screws up some procs which assume that the date returned is formatted as YYYY-MM-DD. a simple to_char statement fixes the problem

fixed order_select query

function logical_negation was changed to util__logical_negation (acs-kernel)

    • -1
    • +1
    ./products/toggle-active-p-postgresql.xql
    • -1
    • +1
    ./products/toggle-no-shipping-avail-p-postgresql.xql

added db_map for sysdate calls in a dynamic query.

    • -0
    • +19
    ./products/edit-3-oracle.xql
    • -0
    • +19
    ./products/edit-3-postgresql.xql

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

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

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.

    • -1
    • +1
    ./cat/subsubcategory-add-2-postgresql.xql

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.

    • -1
    • +1
    ./cat/subcategory-add-2-postgresql.xql

fixed oracle sign() calls

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.

    • -0
    • +83
    ./customer-service/issues-oracle.xql
    • -0
    • +86
    ./customer-service/issues-postgresql.xql

added missing <queryset> tag

fixed .xql files. changed some db_dmls to db_exec_plsql in .tcl files for queries that call functions or package procedures.

  1. … 4 more files in changeset.

Initial Commit of .xql files.

    • -0
    • +15
    ./mailing-lists/member-add.xql
    • -0
    • +25
    ./mailing-lists/member-remove-2.xql

Initial commit of admin directory. All subdirectories in admin have been ported with the exception of products/add-4-postgresql.xql. Dynamic queries have not been ported yet. Files in the root directory of admin have not been ported yet.

    • -0
    • +17
    ./audit-table-oracle.xql
    • -0
    • +17
    ./audit-table-postgresql.xql
    • -0
    • +13
    ./restore-one-id-oracle.xql
    • -0
    • +13
    ./restore-one-id-postgresql.xql
    • -0
    • +13
    ./cat/category-add-0.xql
    • -0
    • +16
    ./cat/category-add-2-oracle.xql
    • -0
    • +16
    ./cat/category-add-2-postgresql.xql
    • -0
    • +21
    ./cat/category-add-2.xql
    • -0
    • +13
    ./cat/category-add-oracle.xql
    • -0
    • +13
    ./cat/category-add-postgresql.xql
    • -0
    • +13
    ./cat/category-add.xql
    • -0
    • +76
    ./cat/category-delete-2.xql
    • -0
    • +18
    ./cat/category-edit-oracle.xql
    • -0
    • +18
    ./cat/category-edit-postgresql.xql
  1. … 319 more files in changeset.

Forgot to define binary files before importing, so .gifs were messed up.

  1. … 2465 more files in changeset.