From interchange-cvs at icdevgroup.org Wed Jan 6 21:38:35 2016 From: interchange-cvs at icdevgroup.org (David Christensen) Date: Wed, 06 Jan 2016 21:38:35 +0000 Subject: [interchange] Created tag REL_5_10_0 Message-ID: The unsigned tag 'REL_5_10_0' was created. Tagger: David Christensen Date: Tue Jan 5 22:19:41 2016 -0600 Interchange 5.10.0 Release Changes since the last tag 'REL_5_8_2': David Christensen (12): Merge branch 'master' of ssh://git.icdevgroup.org/var/git/interchange Revert "Embed Safe 2.07 into Vend::Safe to avoid various problems with recent versions of Safe." Improve application/json POST support Make JSON non-required module Add better messages, support for application/json handling Make JSON POST handling opt-in update WHATSNEW for new release Stamp updated copyright dates and version numbers Update missing MANIFEST items Add vagrant stuffs to gitignore update copyright date fix issue with PostgreSQL stock_alert table definition Jon Jensen (4): UserDB: log timestamps to second granularity Support new DebugTemplate tokens REQUEST_METHOD, REQUEST_URI, SESSION.whatever Remove Signio module for long-defunct Payflow Pro API Update core team as per 2014-10-13 announcement Josh Lavin (24): Correct logging of bad robot to permit rerouting with ErrorDestination, Add payment module for MerchantWare 4.0 gateway, from Merchant add Strap template Fix country sorder and state's Ireland code use strap as default for makecat Update readme, whatsnew for Strap update Manifest for strap, merchantware Use strap in MakeCat.pm, too Move ncheck subroutine to global Escape deprecated braces in regex; caused warnings in Perl 5.22.0 added ncheck_category.tag to MANIFEST Remove ncheck message Removed standard template (the future is here) Use area tag for password reset Update pw_reset page to use Bootstrap 3 styles Use bcrypt in Strap demo Use bcrypt in admin Add back 'UserDB ui crypt' setting Update WHATSNEW for passwords, JSON query generation Adjust helper arrows under IMAGE_DIR during makecat Remove admin/test_code.html page Enhancements to External.pm Make bounce abort further ITL processing Removed defunct GoogleCheckout payment module, and references to it Mike Heins (6): * Fix problem where we were stepping on '%' in message even when * Add test numbers for Mastercard, Discover, Amex * Add documentation of additional approval numbers. * Allow explicit setting of negative numbers in items without * Add generation of BCrypt pepper to makecat operation. * The [jsonq] tag generates a record in a table (by default C) Peter Ajamian (7): Add support for automatic quoting of identifiers in DBI. Enable the QUOTE_IDENTIFIERS setting for all tables in the standard catalog. Fix typo. Add set_source SpecialSub. COLUMN_INDEX is lowercase. Fix --exclude option in interchange startup script. Add support for password promote from plain text. Stefan Hornburg (Racke) (1): Add architecture dependent library directory to @INC for "Require module Foo /home/bar/lib" directive. From interchange-cvs at icdevgroup.org Wed Jan 6 21:38:44 2016 From: interchange-cvs at icdevgroup.org (David Christensen) Date: Wed, 06 Jan 2016 21:38:44 +0000 Subject: [interchange] update WHATSNEW for new release Message-ID: commit a2cd5426e419c7b84fac233018e2e2deff823fa6 Author: David Christensen Date: Tue Dec 22 16:49:13 2015 -0600 update WHATSNEW for new release WHATSNEW-5.10 | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ WHATSNEW-5.8 | 38 -------------------------------- 2 files changed, 66 insertions(+), 38 deletions(-) --- diff --git a/WHATSNEW-5.10 b/WHATSNEW-5.10 new file mode 100644 index 0000000..6a781da --- /dev/null +++ b/WHATSNEW-5.10 @@ -0,0 +1,66 @@ +------------------------------------------------------------------------------ + + What's new in each version of Interchange + (since the version 5.10 branch) + + See UPGRADE document for a list of incompatible changes. + +------------------------------------------------------------------------------ + + + +Interchange 5.10.0 released January 5, 2016 + +Admin UI +-------- + +* Admin passwords encrypted with Bcrypt by default. + +* test_code page removed (deemed slight security risk). Copy in eg/ if needed. + + +Payment Modules +--------------- + +* Removed defunct GoogleCheckout module. + +* Removed defunct Signio module; use PayFlowPro instead. + +* Add support for Merchantware payment gateway. + + +Strap Demo +---------- + +* New default demo catalog, based on Bootstrap Framework. See dist/strap/README for details. +* User passwords encrypted with Bcrypt by default. + + +Standard Demo +------------- + +* The standard demo has been relegated to the annals of time. It can be obtained from previous Interchange versions. + + +External tool support +--------------------- + +* Add secure JSON query generation for interface with AJAX widgets. Allows generation of + queries vetted by login, with either public access or access gated by session. + + +Core +---- + +* [bounce] tags abort further ITL processing. + +* Support additional test credit card numbers. + +* Add "set_source" SpecialSub for affiliate change hooks. + +* Allow the quoting of identifiers in Database directives to better support + columns with keywords as names. + +* New DebugTemplate tokens for more informative logging. + +* Support direct JSON POSTs and automatic decoding of POSTed JSON entities in the $CGI::json_ref using the new UnpackJSON directive. diff --git a/WHATSNEW-5.8 b/WHATSNEW-5.8 index 2dbfbea..7b75e30 100644 --- a/WHATSNEW-5.8 +++ b/WHATSNEW-5.8 @@ -7,44 +7,6 @@ ------------------------------------------------------------------------------ -Interchange 5.10.0 not yet released. - -Admin UI --------- - -* Admin passwords encrypted with Bcrypt by default. - -* test_code page removed (deemed slight security risk). Copy in eg/ if needed. - - -Payment Modules ---------------- - -* Removed defunct GoogleCheckout module. - - -Strap Demo ----------- - -* New default demo catalog, based on Bootstrap Framework. See dist/strap/README for details. -* User passwords encrypted with Bcrypt by default. - - -Standard Demo -------------- - -* The standard demo has been relegated to the annals of time. It can be obtained from previous Interchange versions. - - -External tool support ---------------------- - -* Add secure JSON query generation for interface with AJAX widgets. Allows generation of - queries vetted by login, with either public access or access gated by session. - - ------------------------------------------------------------------------------- - Interchange 5.8.2 released on 2014-07-07. From interchange-cvs at icdevgroup.org Wed Jan 6 21:38:49 2016 From: interchange-cvs at icdevgroup.org (David Christensen) Date: Wed, 06 Jan 2016 21:38:49 +0000 Subject: [interchange] Stamp updated copyright dates and version numbers Message-ID: commit 956c0882308da3bfad0e16e8adce8b7b454038df Author: David Christensen Date: Tue Dec 22 16:49:38 2015 -0600 Stamp updated copyright dates and version numbers Makefile.PL | 4 ++-- README | 8 ++++---- README.rpm-dist | 12 ++++++------ SPECS/interchange.spec | 5 ++++- code/Filter/strip_path.filter | 2 +- configure | 2 +- dist/strap/products/mv_metadata.asc | 2 +- scripts/interchange.PL | 10 +++++----- 8 files changed, 24 insertions(+), 21 deletions(-) --- diff --git a/Makefile.PL b/Makefile.PL index b64c105..0bbb7f0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -28,7 +28,7 @@ my @mods_to_get; my @remove_old; my $Lock_troubles; -$VERSION = '5.8.2'; +$VERSION = '5.10.0'; my @os_hints; eval { @@ -154,7 +154,7 @@ sub copyright_prompt { Interchange V$VERSION - Copyright (C) 2002-2014 Interchange Development Group. + Copyright (C) 2002-2016 Interchange Development Group. Copyright (C) 1996-2002 Red Hat, Inc. Interchange is free under the terms of the GNU General Public License. diff --git a/README b/README index 523e262..701454a 100644 --- a/README +++ b/README @@ -2,9 +2,9 @@ I N T E R C H A N G E -Interchange 5.8.2 +Interchange 5.10.0 -Copyright (C) 2002-2014 Interchange Development Group +Copyright (C) 2002-2016 Interchange Development Group Copyright (C) 1996-2002 Red Hat, Inc. Originally based on Vend 0.2 and 0.3, copyright 1995-96 by Andrew M. Wilcox. @@ -105,8 +105,8 @@ as an unprivileged user who will be the only one modifying Interchange files. Here is the quick installation summary: - tar xvzf interchange-5.8.2.tar.gz - cd interchange-5.8.2 + tar xvzf interchange-5.10.0.tar.gz + cd interchange-5.10.0 perl Makefile.PL make make test diff --git a/README.rpm-dist b/README.rpm-dist index 9d8196f..731cc46 100644 --- a/README.rpm-dist +++ b/README.rpm-dist @@ -31,7 +31,7 @@ the Interchange user ID to write/create files. Sessions and temporary files: /var/cache/interchange. -Documentation: /usr/share/doc/interchange-5.8.2. +Documentation: /usr/share/doc/interchange-5.10.0. On a dedicated production server, it is wise to segregate as many of these directories as possible onto their own partitions, to prevent problems if @@ -45,7 +45,7 @@ usually come supplied with your operating system, so you will need to install them yourself. It's best to locate RPMs for each of the needed Perl modules and install them. To get a complete list of dependencies, do: -rpm -qp --requires interchange-5.8.2-1.*.rpm +rpm -qp --requires interchange-5.10.0-1.*.rpm Unfortunately, there's not currently a reliable, steady source of the latest CPAN modules in RPM format for most operating systems. Thus the easiest way @@ -66,14 +66,14 @@ perl -MCPAN -e'install Bundle::InterchangeKitchenSink' INSTALL -rpm -Uvh interchange-5.8.2-1.*.rpm -rpm -Uvh interchange-standard-5.8.2-1.*.rpm +rpm -Uvh interchange-5.10.0-1.*.rpm +rpm -Uvh interchange-standard-5.10.0-1.*.rpm If you have installed CPAN modules from source, rather than RPM, you'll need to install the main interchange package without dependency checking because RPM doesn't know about those modules you installed: -rpm -Uvh --nodeps interchange-5.8.2-1.*.rpm +rpm -Uvh --nodeps interchange-5.10.0-1.*.rpm STARTING/RESTARTING INTERCHANGE @@ -133,7 +133,7 @@ installation: INSTALL -rpm -Uvh interchange-standard-demo-5.8.2-1.*.rpm +rpm -Uvh interchange-standard-demo-5.10.0-1.*.rpm USING THE DEMO diff --git a/SPECS/interchange.spec b/SPECS/interchange.spec index ea79332..c8be0ea 100644 --- a/SPECS/interchange.spec +++ b/SPECS/interchange.spec @@ -17,7 +17,7 @@ Summary: Interchange web application platform Name: interchange -Version: 5.8.2 +Version: 5.10.0 Release: 1 Vendor: Interchange Development Group Group: System Environment/Daemons @@ -381,6 +381,9 @@ fi %changelog +* Tue Dec 22 2015 David Christensen 5.10.0-1 +- Update for new release. + * Mon Jul 07 2014 David Christensen 5.8.2-1 - Update for new release. diff --git a/code/Filter/strip_path.filter b/code/Filter/strip_path.filter index 3def6a4..87448ec 100644 --- a/code/Filter/strip_path.filter +++ b/code/Filter/strip_path.filter @@ -1,4 +1,4 @@ -# Copyright 2002-2014 Interchange Development Group and others +# Copyright 2002-2016 Interchange Development Group and others # Copyright 1996-2002 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify diff --git a/configure b/configure index 54103d3..99c9861 100755 --- a/configure +++ b/configure @@ -4,7 +4,7 @@ cat < "=Main code label default type width height options filter =Database lookup lookup field db =Help and misc help help_url prepend append pre_filter",'table_width' => "80%",'left_width' => "30%",} ui_component::mv_metadata::append textarea 60 5 Append HTML HTML to be appended to the widget. Will substitute in the macros _UI_TABLE_, _UI_COLUMN_, _UI_KEY, and _UI_VALUE_, and will resolve relative links with absolute links. ui_component::mv_metadata::attribute text 20 Column name Do not set this. diff --git a/scripts/interchange.PL b/scripts/interchange.PL index bec1b41..113d513 100644 --- a/scripts/interchange.PL +++ b/scripts/interchange.PL @@ -1,9 +1,9 @@ #!/usr/bin/perl -w ##!~_~perlpath~_~ # -# Interchange version 5.8.2 +# Interchange version 5.10.0 # -# Copyright (C) 2002-2015 Interchange Development Group +# Copyright (C) 2002-2016 Interchange Development Group # Copyright (C) 1996-2002 Red Hat, Inc. # http://www.icdevgroup.org/ # @@ -154,7 +154,7 @@ use vars qw($VERSION); require Exporter; BEGIN { - $VERSION = '5.8.2'; + $VERSION = '5.10.0'; } use Fcntl; @@ -347,7 +347,7 @@ sub dontwarn { } sub version { - print "Interchange version $VERSION copyright 2002-2015 Interchange Development Group and others.\n"; + print "Interchange version $VERSION copyright 2002-2016 Interchange Development Group and others.\n"; } =head1 NAME @@ -360,7 +360,7 @@ interchange [--options] [file] =head1 VERSION -5.8.2 +5.10.0 =head1 DESCRIPTION From interchange-cvs at icdevgroup.org Wed Jan 6 21:38:54 2016 From: interchange-cvs at icdevgroup.org (David Christensen) Date: Wed, 06 Jan 2016 21:38:54 +0000 Subject: [interchange] Update missing MANIFEST items Message-ID: commit f0057360bc3e8bb35f6774bd05da7aba64ff791b Author: David Christensen Date: Tue Dec 22 16:51:56 2015 -0600 Update missing MANIFEST items MANIFEST | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) --- diff --git a/MANIFEST b/MANIFEST index fc3ae1e..16cbf2e 100644 --- a/MANIFEST +++ b/MANIFEST @@ -241,6 +241,7 @@ code/UI_Tag/global_value.coretag code/UI_Tag/grep_mm.coretag code/UI_Tag/if_mm.coretag code/UI_Tag/import_fields.coretag +code/UI_Tag/jsonq.coretag code/UI_Tag/jsq.coretag code/UI_Tag/jsqn.coretag code/UI_Tag/list_databases.coretag @@ -1183,6 +1184,8 @@ LICENSE Makefile.PL MANIFEST This list of files MANIFEST.SKIP +MYMETA.json +MYMETA.yml README README-DEVELOPMENT README.debian @@ -1285,6 +1288,7 @@ WHATSNEW-4.5 WHATSNEW-4.7 WHATSNEW-4.9 WHATSNEW-5.1 +WHATSNEW-5.10 WHATSNEW-5.3 WHATSNEW-5.5 WHATSNEW-5.7 From interchange-cvs at icdevgroup.org Wed Jan 6 21:38:59 2016 From: interchange-cvs at icdevgroup.org (David Christensen) Date: Wed, 06 Jan 2016 21:38:59 +0000 Subject: [interchange] Add vagrant stuffs to gitignore Message-ID: commit 128adba1e07d3fe31394885b19ef9a88544fccb6 Author: David Christensen Date: Tue Dec 22 16:53:06 2015 -0600 Add vagrant stuffs to gitignore .gitignore | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index 170db97..c7541eb 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,5 @@ scripts/newcat scripts/offline scripts/restart scripts/update +.vagrant +Vagrantfile From interchange-cvs at icdevgroup.org Wed Jan 6 21:39:04 2016 From: interchange-cvs at icdevgroup.org (David Christensen) Date: Wed, 06 Jan 2016 21:39:04 +0000 Subject: [interchange] update copyright date Message-ID: commit bcf654702646e1d7b6cb21dd0f71237dc0ac2f28 Author: David Christensen Date: Tue Jan 5 20:25:16 2016 -0600 update copyright date lib/Vend/Payment/PayflowPro.pm | 2 +- lib/Vend/Payment/TestPayment.pm | 2 +- scripts/interchange.PL | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- diff --git a/lib/Vend/Payment/PayflowPro.pm b/lib/Vend/Payment/PayflowPro.pm index 5ec0fae..6f5ff16 100644 --- a/lib/Vend/Payment/PayflowPro.pm +++ b/lib/Vend/Payment/PayflowPro.pm @@ -1,6 +1,6 @@ # Vend::Payment::PayflowPro - Interchange support for PayPal Payflow Pro HTTPS POST # -# Copyright (C) 2002-2015 Interchange Development Group and others +# Copyright (C) 2002-2016 Interchange Development Group and others # Copyright (C) 1999-2002 Red Hat, Inc. # # This program is distributed in the hope that it will be useful, diff --git a/lib/Vend/Payment/TestPayment.pm b/lib/Vend/Payment/TestPayment.pm index 3dbef37..35bef19 100644 --- a/lib/Vend/Payment/TestPayment.pm +++ b/lib/Vend/Payment/TestPayment.pm @@ -2,7 +2,7 @@ # # $Id: TestPayment.pm,v 1.10 2007-08-09 13:40:55 pajamian Exp $ # -# Copyright (C) 2002-2015 Interchange Development Group +# Copyright (C) 2002-2016 Interchange Development Group # Copyright (C) 2002 Cursor Software Limited. # All Rights Reserved. # diff --git a/scripts/interchange.PL b/scripts/interchange.PL index 113d513..8075037 100644 --- a/scripts/interchange.PL +++ b/scripts/interchange.PL @@ -986,7 +986,7 @@ GNU General Public License. =head1 COPYRIGHT - Copyright (C) 2002-2015 Interchange Development Group + Copyright (C) 2002-2016 Interchange Development Group Copyright (C) 1995-2002 Red Hat, Inc. All rights reserved except those granted in the license. From interchange-cvs at icdevgroup.org Wed Jan 6 21:39:09 2016 From: interchange-cvs at icdevgroup.org (David Christensen) Date: Wed, 06 Jan 2016 21:39:09 +0000 Subject: [interchange] fix issue with PostgreSQL stock_alert table definition Message-ID: commit 6d8c2fc4f20a0a6186140d0a7c5036e78449254f Author: David Christensen Date: Tue Jan 5 22:13:22 2016 -0600 fix issue with PostgreSQL stock_alert table definition dist/strap/dbconf/pgsql/stock_alert.pgsql | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --- diff --git a/dist/strap/dbconf/pgsql/stock_alert.pgsql b/dist/strap/dbconf/pgsql/stock_alert.pgsql index 5fc8be0..861aff7 100644 --- a/dist/strap/dbconf/pgsql/stock_alert.pgsql +++ b/dist/strap/dbconf/pgsql/stock_alert.pgsql @@ -1,11 +1,11 @@ Database stock_alert stock_alert.txt __SQLDSN__ -Database stock_alert COLUMN_DEF "uid=int(11) NOT NULL auto_increment PRIMARY KEY" +Database stock_alert COLUMN_DEF "uid=serial primary key" Database stock_alert COLUMN_DEF "sku=varchar(20) DEFAULT '' NOT NULL" Database stock_alert COLUMN_DEF "price=decimal(10,2) DEFAULT '0.00' NOT NULL" Database stock_alert COLUMN_DEF "description=varchar(255) DEFAULT '' NOT NULL" Database stock_alert COLUMN_DEF "fname=varchar(255) DEFAULT NULL" Database stock_alert COLUMN_DEF "lname=varchar(255) DEFAULT NULL" Database stock_alert COLUMN_DEF "email=varchar(255) DEFAULT '' NOT NULL" -Database stock_alert COLUMN_DEF "date=date DEFAULT '0000-00-00' NOT NULL" +Database stock_alert COLUMN_DEF "date=date" Database stock_alert CREATE_EMPTY_TXT 1 Database stock_alert NAME uid sku price description fname lname email date