Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: cvs

interchange - jon modified WHATSNEW-5.5

 

 

Interchange cvs RSS feed   Index | Next | Previous | View Threaded


interchange-cvs at icdevgroup

Apr 23, 2008, 7:56 AM

Post #1 of 3 (59 views)
Permalink
interchange - jon modified WHATSNEW-5.5

User: jon
Date: 2008-04-23 14:56:11 GMT
Modified: . WHATSNEW-5.5
Log:
Add many missing change descriptions, and clean up some whitespace.

Revision Changes Path
1.108 interchange/WHATSNEW-5.5


rev 1.108, prev_rev 1.107
Index: WHATSNEW-5.5
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW-5.5,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -u -r1.107 -r1.108
--- WHATSNEW-5.5 23 Apr 2008 13:33:41 -0000 1.107
+++ WHATSNEW-5.5 23 Apr 2008 14:56:11 -0000 1.108
@@ -5,7 +5,7 @@

------------------------------------------------------------------------------

-See UPGRADE document for incompatible changes not listed here.
+See UPGRADE document for a list of incompatible changes.

Interchange 5.5.2 (unreleased).

@@ -15,7 +15,7 @@
* Allow box-based widgets access to VALUE from option template (in addition
to LABEL). With VALUE added, the following template becomes possible:

- option_template => "<img src='/images/{VALUE}.gif'>&nbsp;{LABEL}"
+ option_template => "<img src='/images/{VALUE}.gif'>&nbsp;{LABEL}"

* Fixed the MinQuantityField and MaxQuantityField enforcement code so that
it takes the entire cart into account when SeparateItems is in use.
@@ -28,18 +28,18 @@

* Fix to the "random" parameter used by looping tags.

- -- If set to "no" or "false" or "0" then return all of the results
- their original order (previously returned one random result).
+ -- If set to "no" or "false" or "0" then return all of the results
+ their original order (previously returned one random result).
+
+ -- If set to "yes" or "true" then then return all results in a
+ random order (again, previously returned one random result).
+
+ -- If set to a numeric > 0 then return that many random results.
+
+ -- If set to a numeric > the available results then return all
+ results in a random order (previously returned the original
+ results in the original order).

- -- If set to "yes" or "true" then then return all results in a
- random order (again, previously returned one random result).
-
- -- If set to a numeric > 0 then return that many random results.
-
- -- If set to a numeric > the available results then return all
- results in a random order (previously returned the original
- results in the original order).
-
If you're using "random=yes" to request one random result then you
will need to change your code to use random=1 instead.

@@ -61,7 +61,7 @@
* Created a new [PREFIX-include] loop sub-tag. This works just like the
[include] tag, except that it allows other [PREFIX-*] sub-tags to be
parsed from within the included file.
-
+
Note: Files included with [PREFIX-include] cannot contain further
[PREFIX-include] sub-tags. This could be easily created (respecting
the "include_depth" Limit etc.) but I felt that that was an unnecessary
@@ -73,11 +73,14 @@
* You can now change the default display type for Matrix widgets (ie if you
want the default to be seperate widgets instead of single widget) with a line
in catalog.cfg like this:
- Options Matrix display_type separate
+ Options Matrix display_type separate

* New Multiple CodeDef flag to indicate that a widget can return multiple
selections. Usage example:
- CodeDef checkbox Multiple 1
+ CodeDef checkbox Multiple 1
+
+* Added some simple options code to Matrix.pm so that it can support mixed
+ Matrix/Simple option products.

* Set new Multiple flag for checkbox, movecombo, check_nbsp and multiple
widgets.
@@ -94,7 +97,7 @@
tag to suppress its output. For example [calcn hide=1]$foo='bar'[/calcn] will
still set $foo to bar, but won't output bar from the tag itself.

-* Recognize "cc" and "bcc" headers in Route settings for emails generated
+* Recognize "cc" and "bcc" headers in Route settings for emails generated
directly by the routes.

* Avoid multiple identical cookies (#150).
@@ -107,23 +110,157 @@
* Allow specifying alternate location of counter files in the Database directive
with AUTO_NUMBER_FILE setting.

+* Add option to use a custom SQL function as a counter.
+
+ This allows something other than a plain database sequence to be used to
+ replace counter files, for example to allow character prefixes or suffixes
+ with sequences, or to avoid writing files locally when in a cluster
+ environment.
+
+ For example, if you create a function called "custom_counter" in PostgreSQL,
+ you would set up catalog.cfg like this:
+
+ UserDB default sql_counter "userdb:custom_counter('userdb_username_seq')"
+ Route default sql_counter "transactions:custom_counter('order_number_seq')"
+
+ And whatever the custom_counter function returns will be used by Interchange.
+
* Allow [if var ...] as shorthand for [if variable ...].

* Quell threaded perl warning for 5.8.8 and above.

* Fail gracefully on bad searches (#164).

-* Fix bug where previous rows values were left in $Row if [loop] was iterated
- with [PREFIX-next].
+* Make global ActionMap input consistent with catalog ActionMaps (RT #48), such
+ that they all have the action at the beginning of the path.

-UserTag
--------
+* Add new Preload catalog directive. This is just like Autoload but runs at the
+ earliest possible stage of page processing, which allows tweaking the session,
+ path, robot status, cookie handling, authorization, cookie handling, etc.
+
+* Add new UserTrack boolean catalog directive, which enables or disables
+ sending the X-Track HTTP response header. Off by default, but formerly was on.
+
+* Allow the shipping.asc weight to be modified with weight_callout SpecialSub.
+
+ This SpecialSub modifies the 'weight' criteria in shipping.asc. It does not
+ affect other calculations, such as the [weight] usertag. In the following
+ example, it is used to exclude items that are part of a free shipping
+ promotion from the calculation of the shipping cost. That is, if two out of
+ three items qualify for free shipping, then only the weight of the third
+ item would be used for weight-based shipping methods.
+
+ # Override the normal shipping.asc weight calculations to take the free
+ # shipping promotion into consideration. Uses custom is_free_shipping and
+ # weight Item Modifiers. Only non-free-shipping items have their weight
+ # included.
+ Sub custom_weight <<EOF
+ sub {
+ my ($normal_weight) = @_;
+
+ my $new_weight = 0;
+ for my $item (@$Items) {
+ $new_weight += $item->{weight} * $item->{quantity}
+ unless $item->{is_free_shipping};
+ }
+ return $new_weight;
+ }
+ EOF
+ SpecialSub weight_callout custom_weight
+
+* Allow default error labels to be set in the Locale.
+
+ The previous behavior was to use the variable name when no label was given.
+ This change causes it to first check for a default label in the form of an
+ error_label_${variable name} entry in the Locale configuration before
+ falling back on just the variable name. As such, it is fully backwards
+ compatible.
+
+ This is useful if you use Locale to override the error messages in core
+ modules and also want to override the display of the label without setting
+ up or modifying the profile everywhere the error may be displayed (with
+ labels) on the site. For example:
+
+ Locale en_US <<EOF
+ {
+ # Override an error in Order.pm with one specific to this catalog.
+ "'%s' for item %s is not numeric/integer",
+ "We do not offer fractions of a product. (The quantity you entered was '%s'.)",
+
+ # Also override the error label.
+ "error_label_mv_order_quantity",
+ "Quantity",
+ }
+ EOF
+
+* Allow rounding of negative numbers by round_to_frac_digits routine.
+
+* Allow empty field changes to stick, fixing "(none)" image selections.
+
+* Give the "flypage" SpecialSub the choice of returning a plain SKU value
+ rather than the overly-complicated { mv_results => [[$sku]] } hashref.
+
+* Added a cache to save on lookups in the min/max quantity enforcement code.
+
+* Stop including an old version of HTML::Entities with Interchange.
+ Use the current CPAN version instead.
+
+* Remove never-used dump command, which is only for the DBM sessions that
+ no one uses any more.
+
+* Fix problems caused by prototype mismatch in Perl 5.10.
+
+* UserDB: Allow saved shipping and billing addresses to be returned as a raw
+ hashref for use in Perl.
+
+* Add ability to set attrDefault for the Widget codedef type, which then
+ transmits that to the opt hash prior to widget routine call.
+
+* Add ability to define multiple columns in the same Database COLUMN_DEF line.
+
+* Make explicit the various implicit dependencies between PreFork,
+ PreForkSingleFork, and StartServers.
+
+ PreForkSingleFork should only ever affect behavior in conjunction with
+ PreFork true, ensuring the prefork code path is entirely controllable by
+ the value of PreFork.
+
+ Fixed condition on StartServers where a positive value for that parameter
+ when not in PreFork mode spawned a StartServers number of superfluous
+ daemons that were never used. Now, StartServers is effectively ignored
+ unless PreFork is also true.
+
+* UserTag aliases now allow names tags to be specified using hyphens or
+ underscores. Previously, only underscores were allowed.
+
+ITL
+---

* Added scratch option to [get-url] for saving binary content into a scratch
variable instead of returning it.

* Fixed invalid JavaScript generated by the button tag (#135).

+* Allow [include] et al. to scan the local TemplateDir as well as the global
+ version.
+
+* [save-cart]: Don't delete the cart after saving if the new "keep" parameter
+ is set true.
+
+* Respect new "charset" parameter for [email] to allow sending UTF-8 emails.
+
+* Correct output of value-extended after successful file write.
+
+ The docs here:
+
+ http://www.icdevgroup.org/interchange-doc-5.2.0/frames/ictags_121.html
+
+ state, and it makes intuitive sense, that Perly true should be returned when
+ a file is successfully written. This was not the case before.
+
+* Fix bug where previous rows values were left in $Row if [loop] was iterated
+ with [PREFIX-next].
+
Payment
-------

@@ -133,6 +270,11 @@

* Added Getitcard payment module.

+* Added Protx2 payment module.
+
+* Authorize.net: Support auto-cleared mv_credit_card_cvv2 if cvv2 isn't set,
+ and send customer IP.
+
Jobs
----

@@ -147,13 +289,15 @@
* Fixed a bug which caused overwriting a forum post.

* Fixed a security bug where an attacker could craft a URI that tricks
- Interchange into executing arbitrary Perl code. The Perl code would be
- subject to the Safe constraints of course, but could still be devastating
+ Interchange into executing arbitrary Perl code. The Perl code would be
+ subject to the Safe constraints of course, but could still be devastating
to the security of the target website.

* Display modified date on Saved Carts / Recurring Order page in a human
readable format (#37).

+* Add Croatian & Slovenian localization (RT #4).
+
UI
--

@@ -182,6 +326,14 @@
* Option editor will now correctly generate variants for options that use
widgets capable of multiple selections (ie, multiple or checkbox widgets).

+* Add new ynzero widget, which does a 1/0 yes/no for integer type field.
+
+Linking
+-------
+
+* Improvements to Interchange::Link: Return an HTTP 404 response code when
+ appropriate. Avoid segmentation faults on broken pipe.
+
Packaging
---------

@@ -190,6 +342,10 @@
* Added missing dbconfig-common hooks and set defaults for database name and
database user to interchange-cat-standard Debian package.

+
+------------------------------------------------------------------------------
+
+
Interchange 5.5.1 released on 2007-08-21.

Core
@@ -237,7 +393,7 @@

* Fix [on-match]/[no-match] for loop lists without matchlimit generated from
embedded Perl objects
-
+
* Fixed problem where both set_row() and set_slice() would try to get the key
from last_sequence_value() for returning even if we already know the key and
even on an UPDATE which can cause problems.
@@ -296,7 +452,7 @@
* Adjusted housekeeping to cull out old pids so that PIDcheck was enforced in
PreFork (#107).

-* Pass $opt to labeled_list fixing behaviour of fly-list to be matching other
+* Pass $opt to labeled_list fixing behaviour of fly-list to be matching other
x-list tags (#89).

* Pass applylocale option into Vend::Form::options_to_array in order to
@@ -329,8 +485,8 @@
------

* Fixed UserDB login issues within embedded Perl by using
- Vend::Util::string_to_ref for deserialization of carts and other
- hashes.
+ Vend::Util::string_to_ref for deserialization of carts and other
+ hashes.

* New validchars option to customize valid characters for usernames, e.g.
adding the + character to the list of valid characters:
@@ -339,36 +495,36 @@

* Add new options for determining date of events in the userdb:

- UserDB <profile> created_date_iso <field_name>
- UserDB <profile> created_date_epoch <field_name>
- UserDB <profile> updated_date_iso <field_name>
- UserDB <profile> updated_date_epoch <field_name>
-
- created_date_iso
- Place a string ISO date in this field when user created.
- created_date_epoch
- Place a string epoch date in this field when user created.
- Only works if no iso date defined.
- updated_date_iso
- Place a string ISO date in this field when user updated via
- [userdb save] (i.e. set_values()).
- updated_date_epoch
- Place a string epoch date in this field when user updated via
- [userdb save] (i.e. set_values()).
- Only works if no iso date defined.
+ UserDB <profile> created_date_iso <field_name>
+ UserDB <profile> created_date_epoch <field_name>
+ UserDB <profile> updated_date_iso <field_name>
+ UserDB <profile> updated_date_epoch <field_name>
+
+ created_date_iso
+ Place a string ISO date in this field when user created.
+ created_date_epoch
+ Place a string epoch date in this field when user created.
+ Only works if no iso date defined.
+ updated_date_iso
+ Place a string ISO date in this field when user updated via
+ [userdb save] (i.e. set_values()).
+ updated_date_epoch
+ Place a string epoch date in this field when user updated via
+ [userdb save] (i.e. set_values()).
+ Only works if no iso date defined.

Default is not to use this feature, though this is now in
the standard template:

- UserDB default created_date_epoch created
- UserDB default updated_date_epoch updated
-
+ UserDB default created_date_epoch created
+ UserDB default updated_date_epoch updated
+
along with the appropriate fields.
-
+
UserTag
-------

-* Make [save-cart] keep cart if userdb returns with an error.
+* Make [save-cart] keep cart if userdb returns with an error.

* Make [formel] call [display] on unknown types.

@@ -410,7 +566,7 @@

* Allow parameters passed to jobs, acknowledges --email commandline option
now (#103).
-
+
UI
--

@@ -418,7 +574,7 @@

* Tidied up some code in customer_mailing.html

-* Fixed test to see if sku exists on creation of new item
+* Fixed test to see if sku exists on creation of new item
in quick_question.html (#17)

* Avoid crashes on table export if data contains Interchange tags (#100).





_______________________________________________
interchange-cvs mailing list
interchange-cvs[at]icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs


interchange-cvs at icdevgroup

Apr 23, 2008, 11:11 AM

Post #2 of 3 (57 views)
Permalink
interchange - jon modified WHATSNEW-5.5 [In reply to]

User: jon
Date: 2008-04-23 18:11:39 GMT
Modified: . WHATSNEW-5.5
Log:
Add a few more change notes, and move UserDB changes under correct version.

Revision Changes Path
1.109 interchange/WHATSNEW-5.5


rev 1.109, prev_rev 1.108
Index: WHATSNEW-5.5
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW-5.5,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -u -r1.108 -r1.109
--- WHATSNEW-5.5 23 Apr 2008 14:56:11 -0000 1.108
+++ WHATSNEW-5.5 23 Apr 2008 18:11:39 -0000 1.109
@@ -59,13 +59,9 @@
quantity that you want to consider when allowing orders.

* Created a new [PREFIX-include] loop sub-tag. This works just like the
- [include] tag, except that it allows other [PREFIX-*] sub-tags to be
- parsed from within the included file.
-
- Note: Files included with [PREFIX-include] cannot contain further
- [PREFIX-include] sub-tags. This could be easily created (respecting
- the "include_depth" Limit etc.) but I felt that that was an unnecessary
- overhead.
+ [include] tag, except that it allows other [PREFIX-*] sub-tags to be parsed
+ from within the included file. Files included with [PREFIX-include] cannot
+ contain further [PREFIX-include] sub-tags.

* Allow for the proper display of product options that use text or textarea
widgets by showing the actual value if a label doesn't exist for the value.
@@ -73,10 +69,12 @@
* You can now change the default display type for Matrix widgets (ie if you
want the default to be seperate widgets instead of single widget) with a line
in catalog.cfg like this:
+
Options Matrix display_type separate

* New Multiple CodeDef flag to indicate that a widget can return multiple
selections. Usage example:
+
CodeDef checkbox Multiple 1

* Added some simple options code to Matrix.pm so that it can support mixed
@@ -233,8 +231,44 @@
* UserTag aliases now allow names tags to be specified using hyphens or
underscores. Previously, only underscores were allowed.

-ITL
----
+* Disallow negative tax in salestax() routine if no_negative_tax pragma is set.
+
+* Allow comments (starting with "#" and ending with EOL) in the Robot*
+ directive lists, and added more robots to the list.
+
+* Add new options for determining date of events in the userdb:
+
+ UserDB <profile> created_date_iso <field_name>
+ UserDB <profile> created_date_epoch <field_name>
+ UserDB <profile> updated_date_iso <field_name>
+ UserDB <profile> updated_date_epoch <field_name>
+
+ created_date_iso
+ Place a string ISO date in this field when user created.
+ created_date_epoch
+ Place a string epoch date in this field when user created.
+ Only works if no iso date defined.
+ updated_date_iso
+ Place a string ISO date in this field when user updated via
+ [userdb save] (i.e. set_values()).
+ updated_date_epoch
+ Place a string epoch date in this field when user updated via
+ [userdb save] (i.e. set_values()).
+ Only works if no iso date defined.
+
+ Default is not to use this feature, though this is now in
+ the standard template:
+
+ UserDB default created_date_epoch created
+ UserDB default updated_date_epoch updated
+
+ along with the appropriate fields.
+
+* During compilation of custom routines, keep warnings and errors separated
+ from valid Perl that doesn't resolve to a sub ref.
+
+Tags
+----

* Added scratch option to [get-url] for saving binary content into a scratch
variable instead of returning it.
@@ -261,6 +295,13 @@
* Fix bug where previous rows values were left in $Row if [loop] was iterated
with [PREFIX-next].

+* Don't add a ".html" suffix to the "process" page URI if
+ [process add_dot_html=no] is specified. If the "add_dot_html" parameter is
+ not specified then the "mv_add_dot_html" scratchpad variable will be in
+ control of the suffix.
+
+* In [image] tag, quote filename when shelling out in case it contains spaces.
+
Payment
-------

@@ -452,6 +493,12 @@
* Adjusted housekeeping to cull out old pids so that PIDcheck was enforced in
PreFork (#107).

+* Make PreFork handle idle children more intelligently.
+
+ If a child is idle, then don't needlessly respawn it at PIDcheck seconds.
+ To make sure we still catch child processes that have spun out of control,
+ track idle vs. active state.
+
* Pass $opt to labeled_list fixing behaviour of fly-list to be matching other
x-list tags (#89).

@@ -493,34 +540,6 @@

UserDB default validchars "-A-Za-z0-9_[at].+"

-* Add new options for determining date of events in the userdb:
-
- UserDB <profile> created_date_iso <field_name>
- UserDB <profile> created_date_epoch <field_name>
- UserDB <profile> updated_date_iso <field_name>
- UserDB <profile> updated_date_epoch <field_name>
-
- created_date_iso
- Place a string ISO date in this field when user created.
- created_date_epoch
- Place a string epoch date in this field when user created.
- Only works if no iso date defined.
- updated_date_iso
- Place a string ISO date in this field when user updated via
- [userdb save] (i.e. set_values()).
- updated_date_epoch
- Place a string epoch date in this field when user updated via
- [userdb save] (i.e. set_values()).
- Only works if no iso date defined.
-
- Default is not to use this feature, though this is now in
- the standard template:
-
- UserDB default created_date_epoch created
- UserDB default updated_date_epoch updated
-
- along with the appropriate fields.
-
UserTag
-------






_______________________________________________
interchange-cvs mailing list
interchange-cvs[at]icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs


interchange-cvs at icdevgroup

Apr 28, 2008, 12:00 PM

Post #3 of 3 (44 views)
Permalink
interchange - jon modified WHATSNEW-5.5 [In reply to]

User: jon
Date: 2008-04-28 19:00:25 GMT
Modified: . WHATSNEW-5.5
Log:
Correct comment; thanks, Davor.

Revision Changes Path
1.113 interchange/WHATSNEW-5.5


rev 1.113, prev_rev 1.112
Index: WHATSNEW-5.5
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW-5.5,v
retrieving revision 1.112
retrieving revision 1.113
diff -u -u -r1.112 -r1.113
--- WHATSNEW-5.5 28 Apr 2008 17:38:19 -0000 1.112
+++ WHATSNEW-5.5 28 Apr 2008 19:00:25 -0000 1.113
@@ -396,8 +396,8 @@
* Added eg/merge-tab-files, helpful for merging tab-delimited files on
matching keys.

-* Added eg/check_perl_itl, a helper for syntax-checking [calc] and [perl]
- blocks in ITL pages from within an editor.
+* Added eg/check_perl_itl, a helper for syntax-checking [calc] blocks in
+ ITL pages from within an editor.


------------------------------------------------------------------------------





_______________________________________________
interchange-cvs mailing list
interchange-cvs[at]icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-cvs

Interchange cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.