Permalink
Commits on Jul 22, 2002
Commits on Jul 21, 2002
  1. * A couple of minor changes making mv_order_number and payment order ID

      honor a sql_counter setting.
    perusionmike committed Jul 21, 2002
  2. * Change cron facility to:

    	-- Use $Vend::Cfg->{Cron} for setup
    	-- Now emails either to command line address or $Vend::Cfg->{Cron}{email}.
    	-- Now logs to $Vend::Cfg->{Cron}{log}.
    	-- Can add session dump when $Vend::Cfg->{Cron}{add_session}.
    	-- Base directory set by  $Vend::Cfg->{Cron}{base_directory}, defaults
    	   to etc/cron.
    
    * TODO: Think about adding "disable" param to block execution.
    perusionmike committed Jul 21, 2002
Commits on Jul 20, 2002
  1. * Item name updates (Mike Heins <mike@perusion.com>)

    	- Length filter now customizable via QB_ITEM_LENGTH
    	- Default is 30 (backwards compatible)
    	- Item name taken from 'title' first, 'description' second.
    
    * Change [var] notation to __...__ for readability
    
    * A little more documentation
    Daniel Browning committed Jul 20, 2002
  2. * Fix bad previous patch.

    perusionmike committed Jul 20, 2002
  3. * Fix the quickbooks support recently added.

    * It's funny how these things work just fine at 1 am, and then stop working in the morning when you're in your right mind.  ;-)
    Daniel Browning committed Jul 20, 2002
  4. * Quickbooks Extension fixes and enhancements:

    * Fixed: When an auto-created user orders from the same company as an existing Quickbooks customer, it overwrites the customer.
    	-> Save the auto-created user id (e.g. U00001) and use it in the Customer Name as a unique identifier, just as logged-in users.
    
    * New variables for easy customization of export features via Admin UI, documented via item-specific meta referenced in the ic_qb.pod.
    
    * Fixed: "INTL" showing up without country (now matches US or USA)
    
    * Put the company name on a separate line in Ship-to and Bill-to addresses.
    	- Now utilizing all 5 lines
    
    * Item names allowed length up to 45 (may cause problems with versions older than 2000).
    
    * Optionally cause Quickbooks invoice number to be blank, to keep Quickbooks invoice number progression unmodified.
    Daniel Browning committed Jul 20, 2002
  5. * Fix bug in change_pass function which could prevent and cause

      case-matching problems with ignore_case set. Found and patch supplied
      by Mike Weisenborn <mw@clearbult.com>.
    perusionmike committed Jul 20, 2002
Commits on Jul 19, 2002
  1. Three of the variable conversions Mike took out the other day are still

    used in Vend::Util for writing URLs. Even foundation breaks without mv_pc
    and mv_arg in the URLs. :) I'm putting these back, though someday someone
    may want to change Vend::Util to not require them anymore.
    jonjensen committed Jul 19, 2002
  2. Entry only needed in stable branch.

    Daniel Browning committed Jul 19, 2002
  3. * Add nascent "cron" capability. While we don't keep the time, and

      a scheduler will have to set the execution time, it allows ITL
      to be run without the hassles of having to deal with HTTP.
    
    * Somewhat documented in pod for bin/interchange
    
    * TODO: Add email of results.
    
    * TODO: Add "Cron" directive to specify directory. Current practice
      of picking a directory in PageDir or *TemplateDir is weak. Cron
      directive could also specify email address and log file for results,
      and possibly other things like write_control for databases, precursor
      ITL, etc.
    
    * TODO: Interchange-core discussion of this facility and its
      features before it goes anywhere.
    perusionmike committed Jul 19, 2002
  4. * Fix call to [item-tag object name].

    * Add aliase e=encode_entities for Filter.
    perusionmike committed Jul 19, 2002
  5. Minor update from last month.

    Daniel Browning committed Jul 19, 2002
Commits on Jul 18, 2002
  1. * Add ability to automatically drop existing sequence if

    	Database sometable AUTO_SEQUENCE_DROP 1
    
      is in the configuration.
    perusionmike committed Jul 18, 2002
  2. * Add BASE_CAPABILITY configuration parameter to allow testing of a new

      SQL database type with settings based on one of the known types. If
      behavior is different in particulars, that capability can be modified
      in the config file.
    perusionmike committed Jul 18, 2002
  3. * Make AUTO_SEQUENCE transparent for MySQL, Postgres, and Oracle.

    * To do a minimal sequenced table, all you need to do is:
    
    	Database  sequenced sequenced.txt __DBIDSN__
    	Database  sequenced AUTO_SEQUENCE sequenced
    
      The parameter passed to AUTO_SEQUENCE (in the above, "sequenced") will
      be used as the sequence name for Postgres and Oracle (and presumably others
      that emulate them).
    
      For MySQL, the same technique that Stefan introduced is used, with an
      AUTO_INCREMENT field. The value in AUTO_SEQUENCE is just a non-false
      value. The behavior depends on the definition of
      $capability->{LAST_SEQUENCE_FUNCTION}.
    
      If MySQL is the DB in use,
    
    	  $key = $s->autonumber();
    
      returns nothing and the key will be later found with
    
    	  $key = $s->last_sequence_value($key);
    
      and returned in $db->set_slice, etc. ($db->set_row also uses this, but
      the key value is never returned. You can get it with
      $db->last_sequence_value if you need it.)
    
      If Postgres/Oracle is used, the key is returned with
    
    	  $key = $s->autonumber();
    
      and is just parroted back with
    
    	  $key = $s->last_sequence_value($key);
    
      If the table is being created, the sequence will be created as well. If
      it exists, it will not be dropped. If the "code" or key field is not
      set with a COLUMN_DEF, the field type to be used will be found in
      $capability->{SEQUENCE_KEY}.
    
      Capablility entries used:
    
    	SEQUENCE_CREATE	         Query to create a sequence on table creation.
    	SEQUENCE_QUERY	         Query to get next value in sequence.
    	SEQUENCE_KEY	         Type definition for key field when AUTO_SEQUENCE
    	                         table is created.
    	SEQUENCE_VALUE_FUNCTION	 Query to get current value of sequence.
    	SEQUENCE_LAST_FUNCTION	 Query to get key when MySQL behavior is wanted.
    perusionmike committed Jul 18, 2002
  4. * Add support for slaving Levies cart to current shopping cart.

    * Do a better job of finding the cart name when it is not known.
    perusionmike committed Jul 18, 2002
  5. * Fixed bug where decimal pricing would not be forced, causing failur…

    …e for
    
      round amounts with some gateways.
    
    * Additional debug put in DEVEL, not stable, for future development.
    perusionmike committed Jul 18, 2002
  6. Sync.

    jonjensen committed Jul 18, 2002
  7. Add temporary corny 4.9 graphic for alpha release, so people don't get

    confused by an admin interface that still says 4.8. :)
    jonjensen committed Jul 18, 2002
Commits on Jul 17, 2002
Commits on Jul 16, 2002
  1. Note recent additions.

    jonjensen committed Jul 16, 2002
  2. new options for history_scan and image documented

    formel change appeared in stable, so it is not new for 5.0
    racke committed Jul 16, 2002
Commits on Jul 15, 2002
  1. Added descriptionfields and exists_only options to [image].

    (Documented in tag.)
    jonjensen committed Jul 15, 2002
  2. Fix set_slice bug that removed all values from array after code, if

    code was passed in array (separately from code parameter in sub call).
    
    A bug still remains: Since the initial call to set_row with nothing but a
    key was removed to make databases with foreign key constraints happy,
    auto_number doesn't work, since that was being done in set_row. I haven't
    thought of an elegant solution yet and don't want to just cut and paste
    the auto_number code ...
    jonjensen committed Jul 15, 2002