[interchange-cvs] interchange - racke modified WHATSNEW

interchange-core@icdevgroup.org interchange-core@icdevgroup.org
Thu Apr 3 20:09:00 2003


User:      racke
Date:      2003-04-04 01:08:07 GMT
Modified:  .        WHATSNEW
Log:
added a few more changes

Revision  Changes    Path
2.114     +54 -1     interchange/WHATSNEW


rev 2.114, prev_rev 2.113
Index: WHATSNEW
===================================================================
RCS file: /anon_cvs/repository/interchange/WHATSNEW,v
retrieving revision 2.113
retrieving revision 2.114
diff -u -r2.113 -r2.114
--- WHATSNEW	1 Apr 2003 23:59:25 -0000	2.113
+++ WHATSNEW	4 Apr 2003 01:08:07 -0000	2.114
@@ -150,7 +150,8 @@
 File
 ----
 
-* Add new Vend::File module with minimal functions.
+* Add new Vend::File module with minimal functions, changed UserTags
+  to support it.
 
 * Relocate following routines (and their subsidiaries) from Vend::Util:
 
@@ -204,6 +205,42 @@
 * Changed display_special_page so that special page entries with ../
   will not break things.
 
+* Created $Vend::File::errstr which is set to get the error message,
+  otherwise defaults to the standard one.
+
+* Add both global- and catalog-level FileControl directive that allows
+  mapping subroutines (or named pre-existing subroutines) to a path.
+  Does a depth-first search starting with the file name.
+
+* In either interchange.cfg (takes priority) or catalog.cfg put:
+
+	FileControl include/junk  <<EOR
+	sub {
+		my ($fn, $write, @caller) = @_;
+
+		## Allow write to files containing "foo"
+		if($write) {
+			return $fn =~ /foo/;
+		}
+
+		## Allow read if file doesn't contain "bar"
+		return $fn !~ /bar/;
+	}
+	EOR
+
+* In either interchange.cfg (takes priority) or catalog.cfg put:
+
+	FileControl  include/junk  some_sub
+
+  This uses either Sub or GlobalSub
+
+* Only in interchange.cfg, you can put a mapped routine name:
+
+	FileControl  include/junk  Vend::SomeModule::file_control
+
+* If no FileControl is not set, the checks are not done for performance
+  reasons.
+
 Options
 -------
 
@@ -325,6 +362,16 @@
 			specific-image-link=1
 			reparse=0]
 
+* Add ability to load tree-based menus where items inhabit more than
+  one category. To wit:
+
+    code    sku       prod_group        category
+    1       os28003   Tools             Brushes
+    2       os28003   Painting Supplies Brushes
+
+  The tree will allow search and find of these items in more than
+  one category.
+
 Form
 ----
 
@@ -445,6 +492,8 @@
 
 * Allow exclusion of fields for database imports.
 
+* Fixed typo in file_navigator tag.
+
 Payment
 -------
 
@@ -605,6 +654,10 @@
   lookup in the database structure which didn't work properly
 
 * each_nokey is now properly replacing the shadowed fields.
+
+* Moved configuration code to the module itself.
+
+* Add name method.
 
 Miscellaneous
 -------------