Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 24, 2013
  1. @racke

    Use su directive in Debian's logrotate file to avoid skipping.

    racke authored
    error: skipping "/var/log/interchange/error.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
Commits on Jul 24, 2013
  1. @racke
  2. @racke
  3. @racke
Commits on Jul 17, 2013
  1. @jonjensen
Commits on Jul 15, 2013
  1. @jonjensen

    Add emacs major mode for ITL

    jonjensen authored
Commits on Jul 12, 2013
  1. * Add short description of files needed to install for distribution

    Mike Heins authored
      perl use on RHEL and CentOS.
  2. @machack666
  3. @jonjensen
  4. * Remove redundant checks for SHA module.

    Mike Heins authored
  5. @jonjensen
  6. * Use Vend::Util::SHA1 in UserDB.

    Mike Heins authored
    * Fail hard if UserDB uses SHA1 encryption sub but no module.
    * Clean up code in to separate blocks entirely.
  7. @jonjensen

    Fix broken ContentEditor references to missing lexical $table

    jonjensen authored
    Shockingly, this has been broken since this commit:
    commit 13dcf43
    Author: Mike Heins <>
    Date:   Fri Sep 13 20:46:21 2002 +0000
    But Perl didn't notice it until version 5.18.0, where it throws many
    errors like this at Interchange startup time:
    Calling UI...UserTag 'content_modify' subroutine failed compilation:
            Global symbol "$table" requires explicit package name at [...]
  8. * Add routine that selects sha1_hex filter routine based on which

    Mike Heins authored
      module you have. Modify sha1 filter to use this.
      New globally available routine &Vend::Util::sha1_hex.
Commits on Jul 4, 2013
  1. * Add check to make sure tag won't die if hash reference is

    Mike Heins authored
      accidentally passed.
Commits on Jul 3, 2013
  1. @jdigory

    Allow passing params to error tag, which are replaced (same functiona…

    jdigory authored
    …lity as [warnings]). Useful for localization.
    		set="That was a bad username. Please contact us at %s or %s."
    		param.0="(800) 555-1212"
    		param.1="(512) 555-1212"
Commits on Jun 22, 2013
  1. @msjohns1

    Increase SEO value of more links.

    msjohns1 authored
    New body tags for [more-list] can be used to "salt" more links
    with SEO-driven content. These tags can turn a link like:[md5:x:x:x].html?mv_more_ip=1&mv_nextpage=results&pf=sql
    While the new tags will work inside any more list, they are really
    only valuable in conjunction with the use of Permanent More, so
    those higher-value links cached by search engines actually lead
    to viable resources. See release notes and documentation on
    Permanent More if you are unfamiliar with it, or you can see my blog
    post on it at:
    The new body tags are:
    * [more-pretty-url]
    This container tag includes the data of interest you'd like to plug
    into the more-list URLs to make them "pretty". The value can contain
    anything matching a-z, 0-9, /, _, and -. If any characters other
    than those described are included, they are converted in contiguous
    blocks to a single -. Any contiguous multiples of - (after
    conversion) and / are collapsed into a single one. Finally, any -
    and / are stripped from the head and tail.
    What this does is allow a flexible vat into which you can throw
    meaningful data (without having to test or sanitize at all) which
    will produce a path fragment of relevant terms that is put into the
    more-list URL between the "scan/" and "/MM=..." paths within overall
    [more-pretty-url]men's clothing/pants/bermuda shorts[/more-pretty-url]
    Produces a more link with the following format:
    Even though the body of a [more-list] is interpolated on reparse,
    the contents within [more-pretty-url] specifically are interpolated.
    It is expected that you would have some algorithm you would use to
    determine the pretty parameters and those would be rendered via ITL
    within the [more-pretty-url] tag.
    * [more-incl-pageno]
    Additionally, to provide more context and uniqueness to the URLs,
    you can optionally request that the page number be included as the
    last path segment of the "pretty" URL. This can either be the
    default (which is "page-N"), or can be any customized string you
    define, provided that you include the sprintf %d integer
    interpolation flag so that the page number will be included.
    Unlike [more-pretty-url], the contents of this tag are *not*
    Expanding the above example:
    [more-pretty-url]men's clothing/pants/bermuda shorts[/more-pretty-url]
    Produces a more link with the following format for page 4:
    Or a customized page path with:
    [more-pretty-url]men's clothing/pants/bermuda shorts[/more-pretty-url]
    [more-incl-pageno]search page %d[/more-incl-pageno]
    produces new URL for page 4:
Commits on Jun 17, 2013
  1. @perusionmike
  2. @perusionmike

    * Back out previous change, exists for array is deprecated in

    perusionmike authored
      Perl and we should not add new change based on that.
  3. @perusionmike
Commits on May 30, 2013
  1. @racke

    Add HSBC payment module.

    Lyn St George authored racke committed
  2. @msjohns1

    Support for multiple lib paths from ENV

    msjohns1 authored
    * Expand the capacity of INTERCHANGE_INSTALLPRIVLIB and
      INTERCHANGE_INSTALLARCHLIB to hold colon-separated list of
      paths to add to @INC.
Commits on May 29, 2013
  1. @jdigory

    Update Payflow payment module.

    jdigory authored
    Now supports PayPal Express Checkout as well, without requiring any
    additional payment modules.
    Supports Payflow's fraud screening service. Sends additional order
    details to Payflow, including shipping, tax, basic item details, etc.
    Brings module in line with general Interchange payment module coding
    practices, such as gen_order_id().
    Adds support for delayed captures. Raises timeout to practical
    level, akin to other payment modules. Sends new request-id for each
    backend transaction (capture, void), so as to avoid "duplicate
    transaction" errors.
  2. @racke

    Add Cardsave payment module.

    Lyn St George authored racke committed
  3. @racke
  4. @racke

    Embed Safe 2.07 into Vend::Safe to avoid various problems with recent…

    Peter Motschmann authored racke committed
    … versions of Safe.
Commits on Apr 5, 2013
  1. * Add enclair_db option to Allows logging of enclair password

    Mike Heins authored
      to separate, presumably insert-only, database table. Designed to allow
      administration personnel to look at passwords, without allowing access
      to web-connected systems. Or perhaps more properly, to check prior
      MD5-encrypted password values for repeat passwords.
      Docs in POD.
Commits on Apr 4, 2013
Commits on Apr 1, 2013
  1. @jdigory

    Allow setting of 'HttpOnly' on cookies, using Pragma. Patch by Mike H…

    jdigory authored
    "Looks like it would be a good thing to do in some cases. However, if as
    with more and more catalogs, you use Web 2.0 features that call the
    database via IC, then you will potentially break those functions."
        Pragma set_httponly
    in catalog.cfg and you would be good to go.
Commits on Mar 28, 2013
  1. @jdigory

    Add new DBI sub, foreign_hash().

    jdigory authored
    Basically a row_hash() function that uses a foreign key column instead of primary key. Example:
    code     ticket      type
    1234     9876        request
    1233     5555        response
    my $rec1 = $db->row_hash('1234');
    my $rec2 = $db->foreign_hash('ticket','9876');
    Each of the above would return the same record hash.
    Of course the foreign column has to be unique, or an array will be returned.
Commits on Mar 7, 2013
  1. @jonjensen

    Update README

    Lele authored jonjensen committed
    Updated copyright year
Commits on Mar 5, 2013
  1. @racke
Something went wrong with that request. Please try again.