Commits on Oct 28, 2005
  1. new upstream release fixing menu editor bug (Closes: #335012)

    racke committed Oct 28, 2005
    debconf-2.0 alternative dependency added (Closes: #331860, thanks to
    Joey Hess <>)
Commits on Oct 23, 2005
  1. * Add logic to have AutoModifier work for matrix items. Only works

    perusionmike committed Oct 23, 2005
      for the non-table, non-foreign key call version, i.e.
      	  AutoModifier  modifier
      	  AutoModifier  modifier=field
      It will look in the mv_ib first, then the first then second
      products file, for both the code and the mv_sku.
      This might not be completely what would always be wanted, since
      it has the precedence:
      It is important in this case to make sure you have the table set in
      the item, as otherwise products->sku will shadow variants->code.
Commits on Oct 21, 2005
  1. fix typo

    racke committed Oct 21, 2005
Commits on Oct 19, 2005
  1. * Fix problems with variable naming (check_acct -> check_account,

    perusionmike committed Oct 19, 2005
      check_route -> check_routing, project_id -> po_number) found by Kirk
  2. * Remove mv_credit_card* fields from database. If desired, they can be

    perusionmike committed Oct 19, 2005
      stored with extra_fields.
  3. * Add mechanism for serializing value paramters to a single field

    perusionmike committed Oct 19, 2005
      in the user database.
      Having to add a field to the table every time you want to store a
      product parameter or preference is very annoying, and is not necessary.
    * Adds "extra_fields" parameter to UserDB configuration. It takes
      a space-separated list of variables which will be stored
      in the "preferences" field by default.
    * Use this to store the value of mv_same_billing and a few other
      things in the standard demo.
    * Results in a stringified hash (i.e. { mv_same_billing => 1, foo => 'bar' }
      stored in the field. Automatically saved on [userdb save] and automatically
      retrieved on login.
  4. * Remove MailOrderTo as a requirement. It is not a parameter needed

    perusionmike committed Oct 19, 2005
      for non-commerce applications, and when it shows up as the parameter
      not defined when catalog.cfg is not found, it is downright confusing.
      VendURL is a better parameter to show as unconfigured.
    * Add URL alias for VendURL.
  5. * Allow checkboxes for mv_order_* and other options in a "stacked" ar…

    perusionmike committed Oct 19, 2005
      Mechanism is to name the variable with mv[0-9][0-9]?_*, which is changed
      into an array of values.
      <input type=hidden name="mv1_order_item" value="os28004">
      <input type=hidden name="mv3_order_item" value="os28008">
      <input type=hidden name="mv9_order_item" value="os29000">
      Is the equivalent of:
      <input type=hidden name="mv_order_item" value="">
      <input type=hidden name="mv_order_item" value="os28004">
      <input type=hidden name="mv_order_item" value="">
      <input type=hidden name="mv_order_item" value="os28008">
      <input type=hidden name="mv_order_item" value="">
      <input type=hidden name="mv_order_item" value="">
      <input type=hidden name="mv_order_item" value="">
      <input type=hidden name="mv_order_item" value="">
      <input type=hidden name="mv_order_item" value="">
      <input type=hidden name="mv_order_item" value="os29000">
    * One potential problem is that the numbering starts from zero while [loop-
      increment] starts from one.
Commits on Oct 18, 2005
  1. Remove duplicate settings of $opt->{login}, which is already forced e…

    jonjensen committed Oct 18, 2005
    in the function for $opt->{auto}.
Commits on Oct 15, 2005
  1. Add new $Sub object that allows access to catalog subs and globalsubs

    jonjensen committed Oct 15, 2005
    from within [calc] and [perl] blocks.
    May need tweaking for Safe::Hole later, but that would make it more
    capable, not less, so I want to get this in for now.
  2. Add [sql] deprecation notice.

    jonjensen committed Oct 15, 2005
  3. * Fix bug that prevented the use of "<filename" to slurp configuratio…

    Daniel Browning committed Oct 15, 2005
    …n contents
      from a file.
    Currently, trying to use "Directive <filename" in catalog.cfg results in
    "Can't use file with NoAbsolute set".
Commits on Oct 14, 2005
  1. new order check natural for natural numbers

    racke committed Oct 14, 2005
    split out future,length,regex order checks
Commits on Oct 13, 2005
  1. * Add dash-seperated number as possibliity for easy reading of credit

    perusionmike committed Oct 13, 2005
      card info. Outputs a 4111-1111-1111-1111 number when you use
      MV_CREDIT_CARD_QUADS in the encryption output template, i.e.
  2. split out email_only order check

    racke committed Oct 13, 2005
  3. Add support for DBI's table_info catalog, schema, name, and type opti…

    jonjensen committed Oct 13, 2005
    This allows specifying a particular schema so that e.g. PostgreSQL won't
    see unwanted tables from other schemas, and the DatabaseAutoIgnore
    directive can be avoided, as it may exclude tables that are wanted in
    other schemas.
    This also allows views to be included when specifically request with the
    type option.
    Also moved DBIx::DBSchema check till after other checks.
    Should have no effect on directives using the older syntax.
Commits on Oct 12, 2005
  1. Sync.

    jonjensen committed Oct 12, 2005
Commits on Oct 9, 2005
  1. * Add basic widget that gives access to the FCKeditor rich text

    perusionmike committed Oct 9, 2005
    * TODO: Integrate file browser component.
    * Documentation in .widget file.
Commits on Oct 8, 2005
  1. Add new filter Mike suggested for truncating a string at the first ne…

    jonjensen committed Oct 8, 2005
    (CR or LF). Useful for preventing email header injection attempts, or any
    other place where only one line of input is wanted.
Commits on Oct 7, 2005
Commits on Oct 6, 2005
Commits on Oct 4, 2005
  1. added global variable as default for Swish command - AddDirective isn…

    racke committed Oct 4, 2005
    …'t yet
    smart enough to do that trick
  2. Add new quoting mechanism for the [query] tag, from Kevin Walsh.

    jonjensen committed Oct 4, 2005
    An example:
            SELECT * FROM products WHERE sku = [sql-quote][cgi sku][/sql-quote]
    It uses the query's database handle to access DBI's quote method.
  3. Add dbi_quote filter, which uses DBI's (or the DBD's, if it overrides)

    jonjensen committed Oct 4, 2005
    quote method to make a string safe to use in SQL. It takes into account
    any database-specific quoting needs (such as \ for PostgreSQL or MySQL,
    truncating at the first \0 for PostgreSQL, turning a newline into a
    literal two-character '\n' for MySQL, etc.).
    The database handle used is that of the first ProductFiles database,
    unless another is specified with e.g.:
        [filter dbi_quote.inventory]some string or other[/filter]
    Which is likely to result in:
        'some string or other'
    Note the containing quotes, which is different than Interchange's native
    "sql" filter. See also the DBI man page details about the quote method.
    Since this uses database handles, Safe must be considered if it's being
    used via the $Tag object in a Perl block.
  4. Make sql filter escape backslashes by default, to cover common cases of

    jonjensen committed Oct 4, 2005
    PostgreSQL and MySQL being used. Can be disabled with a pragma for
    databases where the backslash is not an escape character in strings.
  5. install te manual page as well

    racke committed Oct 4, 2005