Downloads

Download tar.gz 18.24 KB
MD5: 34b584cdb54638a621b9923b3b3293c0
SHA-1: ba20529daf2d652fd6a83036253acb10a0f4c5bb
SHA-256: b74ffbab624da1563019312eeb0214053ee335ea51e4aefa4c2ba73267a189d2
Download zip 20.42 KB
MD5: 655a36972ac27515355d0950e9692827
SHA-1: d928644a22ec21f017cd2e476cab9cffd4c507c1
SHA-256: 0bc720c59eb69e237d1c3fa5b4bc512be3125263857aefcc4317e49db6b7e93b

Release notes

Changes since 6.x-1.0:

  • Add code for printing out admin debug information. Remove underscore from _uc_canpar_package_products().
  • Remove cURL dependency, consolidate base and custom send requests into one function.
  • Handle non-service days when calculating expected delivery.
  • Fix theme_uc_canpar_option_label() to properly print estimated delivery dates when using custom rates.
  • Remove all format_date() in favor of date(), to try and placate the testbot.
  • Backport test cases to D6. Changes to date handling, which is done differently in D6 than D7. Define REQUEST_TIME as time(). Set default timezone explicitly, because Drupal doesn't do it for us in D6. Use date('N') because Drupal's format_date() doesn't recognize the 'N' format in D6.
  • Add test cases for Base and Custom rate calculations. Test cases use specially-crafted rate requests recognized by the Canpar server which return known results.
  • Add 'Canpar' to the service names to distinguish them in contexts where the logo is not present. Strip 'Canpar' when the logo is present.
  • Add insurance option.
  • Coding standards and documentation fixes.
Created by: tr
Created on: 26 Feb 2012 at 23:25 UTC
Last updated: 26 Feb 2012 at 23:25 UTC
New features
Unsupported

Other releases