[interchange-cvs] interchange - racke modified WHATSNEW

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Fri Apr 2 18:33:17 EST 2004


User:      racke
Date:      2004-04-02 23:33:17 GMT
Modified:  .        WHATSNEW
Log:
documented a number of recent changes

Revision  Changes    Path
2.201     +79 -1     interchange/WHATSNEW


rev 2.201, prev_rev 2.200
Index: WHATSNEW
===================================================================
RCS file: /anon_cvs/repository/interchange/WHATSNEW,v
retrieving revision 2.200
retrieving revision 2.201
diff -u -r2.200 -r2.201
--- WHATSNEW	29 Mar 2004 09:36:26 -0000	2.200
+++ WHATSNEW	2 Apr 2004 23:33:17 -0000	2.201
@@ -6,7 +6,7 @@
 ------------------------------------------------------------------------------
 
 
-Interchange 5.1.0 released 2004-03-29.
+Interchange 5.1.0 not yet released.
 
 Security
 --------
@@ -167,6 +167,62 @@
 
 * Optimize no-op [if] checks when test is false.
 
+* Add ability to control directory creation and umask of uploaded files.
+
+  Automatic creation of directory:
+
+   [set mv_auto_create_dir]1[/set]
+
+  The umask for creation operation:
+
+   [set mv_create_umask]02[/set]
+
+* SpecialSub -- directive to specify subroutines (catalog or global)
+  upon certain conditions, i.e. "missing".
+
+  When the routine is called, it should perform whatever action is
+  required. If it wants the catalog to continue with the default
+  action, i.e. the "missing" special page, it should return false.
+  If it returns true, and there is no second parameter of a page name
+  returned, it will be assumed all required action has
+  been taken and the default action will not be performed.
+
+  If it returns true, and a second parameter is returned, it
+  is the name of a page to display in lieu of the original one.
+
+  This allows
+
+    SpecialSub  missing  check_category
+
+    Sub check_category <<EOS
+    sub {
+        my ($name) = @_;
+        return unless $name =~ m{^[A-Z]};
+        $name =~ s,_, ,g;
+        my ($prod_group, $category) = split m{/}, $name;
+
+        $CGI->{co} = 1;
+        $CGI->{fi} = 'products';
+        $CGI->{st} = 'db';
+        $CGI->{sf} = join "\0", 'prod_group', 'category';
+        $CGI->{op} = join "\0", 'eq', 'eq';
+        $CGI->{se} = join "\0", $prod_group, $category;
+        $CGI->{sp} = 'results';
+        $CGI->{mv_todo} = 'search';
+        $Tag->update('process');
+        return (1, 'results');
+    }
+    EOS
+
+  You can also use a GlobalSub to perform actions not allowed in a catalog
+  subroutine.
+
+* The Vend::Page module is modified to call a "missing" SpecialSub if
+  it exists. No other actions are currently handled.
+
+* Vend::Table::DBI::set_slice handles passed list correctly and doesn't 
+  mangle arrays passed by reference
+
 UserTag
 -------
 
@@ -200,6 +256,18 @@
 * Add filter attribute to var tag, similar to value, cgi, and scratch,
   except that filtered value will never be saved back into the variable.
 
+* Add matrix option to [weight] UserTag for automatically
+  falling back to the base SKU weight if not filled in for the variant.
+
+* [import-fields]: sanity check on key name to avoid imports in wrong 
+  file format
+
+* Make pageonly=1 option in [history-scan] UserTag work correctly 
+  when there's no history saved in the user's session.
+
+* [row-edit]: display columns in the same order as in the columns 
+  parameter
+
 UI
 --
 
@@ -298,6 +366,16 @@
   of code to enforce option selection.
 
 * Add missing space to SQL query in Interchange 4.8 options.
+
+Payment
+-------
+
+* Always pass the customer's IP address through to PSiGate as part 
+  of the payment request.  
+  This patch was supplied by Gary Benson - thanks!
+
+* Pass credit card security code through to Verisign if provided in
+  CGI parameter mv_credit_card_cvv2.
 
 i18n
 ----








More information about the interchange-cvs mailing list