]> git.imager.perl.org - bse.git/commitdiff
add version numbers to all modules r0.19
authorTony Cook <tony@develop-help.com>
Mon, 8 Nov 2010 04:07:36 +0000 (04:07 +0000)
committertony <tony@45cb6cf1-00bc-42d2-bb5a-07f51df49f94>
Mon, 8 Nov 2010 04:07:36 +0000 (04:07 +0000)
253 files changed:
Makefile
site/cgi-bin/modules/AdminUtil.pm
site/cgi-bin/modules/Apache/Session/DBIreal.pm
site/cgi-bin/modules/Apache/Session/Store/DBIreal.pm
site/cgi-bin/modules/Article.pm
site/cgi-bin/modules/Articles.pm
site/cgi-bin/modules/BSE/API.pm
site/cgi-bin/modules/BSE/Admin/StepParents.pm
site/cgi-bin/modules/BSE/AdminLogon.pm
site/cgi-bin/modules/BSE/AdminMenu.pm
site/cgi-bin/modules/BSE/AdminSiteUsers.pm
site/cgi-bin/modules/BSE/AdminUsers.pm
site/cgi-bin/modules/BSE/Arrows.pm
site/cgi-bin/modules/BSE/CGI.pm
site/cgi-bin/modules/BSE/Cache.pm
site/cgi-bin/modules/BSE/Cache/CHI.pm
site/cgi-bin/modules/BSE/Cache/Cache.pm
site/cgi-bin/modules/BSE/Cache/Memcached.pm
site/cgi-bin/modules/BSE/Cfg.pm
site/cgi-bin/modules/BSE/CfgInfo.pm
site/cgi-bin/modules/BSE/ChangePW.pm
site/cgi-bin/modules/BSE/ComposeMail.pm
site/cgi-bin/modules/BSE/Countries.pm
site/cgi-bin/modules/BSE/Custom.pm
site/cgi-bin/modules/BSE/CustomBase.pm
site/cgi-bin/modules/BSE/DB.pm
site/cgi-bin/modules/BSE/DB/MSSQL.pm
site/cgi-bin/modules/BSE/DB/Mysql.pm
site/cgi-bin/modules/BSE/Dynamic/Article.pm
site/cgi-bin/modules/BSE/Dynamic/Catalog.pm
site/cgi-bin/modules/BSE/Dynamic/Product.pm
site/cgi-bin/modules/BSE/Dynamic/Seminar.pm
site/cgi-bin/modules/BSE/Edit/Article.pm
site/cgi-bin/modules/BSE/Edit/Base.pm
site/cgi-bin/modules/BSE/Edit/Catalog.pm
site/cgi-bin/modules/BSE/Edit/Product.pm
site/cgi-bin/modules/BSE/Edit/Seminar.pm
site/cgi-bin/modules/BSE/Edit/Site.pm
site/cgi-bin/modules/BSE/EmailBlackEntry.pm
site/cgi-bin/modules/BSE/EmailBlacklist.pm
site/cgi-bin/modules/BSE/EmailRequest.pm
site/cgi-bin/modules/BSE/EmailRequests.pm
site/cgi-bin/modules/BSE/FileEditor.pm
site/cgi-bin/modules/BSE/FileHandler/Base.pm
site/cgi-bin/modules/BSE/FileHandler/Default.pm
site/cgi-bin/modules/BSE/FileHandler/FLV.pm
site/cgi-bin/modules/BSE/FileMetaMeta.pm
site/cgi-bin/modules/BSE/Formatter.pm
site/cgi-bin/modules/BSE/Formatter/Article.pm
site/cgi-bin/modules/BSE/Formatter/Subscription.pm
site/cgi-bin/modules/BSE/Generate/Seminar.pm
site/cgi-bin/modules/BSE/Handler/Base.pm
site/cgi-bin/modules/BSE/Handler/Page.pm
site/cgi-bin/modules/BSE/ImageHandler/Base.pm
site/cgi-bin/modules/BSE/ImageHandler/Flash.pm
site/cgi-bin/modules/BSE/ImageHandler/Img.pm
site/cgi-bin/modules/BSE/ImportSourceBase.pm
site/cgi-bin/modules/BSE/ImportSourceXLS.pm
site/cgi-bin/modules/BSE/ImportTargetArticle.pm
site/cgi-bin/modules/BSE/ImportTargetBase.pm
site/cgi-bin/modules/BSE/ImportTargetProduct.pm
site/cgi-bin/modules/BSE/Importer.pm
site/cgi-bin/modules/BSE/Index/BSE.pm
site/cgi-bin/modules/BSE/Index/Base.pm
site/cgi-bin/modules/BSE/Jobs/AuditClean.pm
site/cgi-bin/modules/BSE/Mail.pm
site/cgi-bin/modules/BSE/Mail/SMTP.pm
site/cgi-bin/modules/BSE/Mail/Sendmail.pm
site/cgi-bin/modules/BSE/Message.pm
site/cgi-bin/modules/BSE/MessageScanner.pm
site/cgi-bin/modules/BSE/NLFilter/SQL.pm
site/cgi-bin/modules/BSE/NotifyFiles.pm
site/cgi-bin/modules/BSE/Password/Crypt.pm
site/cgi-bin/modules/BSE/Password/CryptMD5.pm
site/cgi-bin/modules/BSE/Password/CryptSHA256.pm
site/cgi-bin/modules/BSE/Password/Plain.pm
site/cgi-bin/modules/BSE/Passwords.pm
site/cgi-bin/modules/BSE/PayPal.pm
site/cgi-bin/modules/BSE/Permissions.pm
site/cgi-bin/modules/BSE/ProductImportXLS.pm
site/cgi-bin/modules/BSE/Report.pm
site/cgi-bin/modules/BSE/Request.pm
site/cgi-bin/modules/BSE/Request/Base.pm
site/cgi-bin/modules/BSE/Request/Test.pm
site/cgi-bin/modules/BSE/Search/BSE.pm
site/cgi-bin/modules/BSE/Search/Base.pm
site/cgi-bin/modules/BSE/Session.pm
site/cgi-bin/modules/BSE/Shipping.pm
site/cgi-bin/modules/BSE/Shop/Util.pm
site/cgi-bin/modules/BSE/Sort.pm
site/cgi-bin/modules/BSE/Storage/AmazonS3.pm
site/cgi-bin/modules/BSE/Storage/Base.pm
site/cgi-bin/modules/BSE/Storage/FTP.pm
site/cgi-bin/modules/BSE/Storage/LocalBase.pm
site/cgi-bin/modules/BSE/Storage/LocalFiles.pm
site/cgi-bin/modules/BSE/Storage/LocalImages.pm
site/cgi-bin/modules/BSE/Storage/LocalThumbs.pm
site/cgi-bin/modules/BSE/StorageMgr/Base.pm
site/cgi-bin/modules/BSE/StorageMgr/Files.pm
site/cgi-bin/modules/BSE/StorageMgr/Images.pm
site/cgi-bin/modules/BSE/StorageMgr/Thumbs.pm
site/cgi-bin/modules/BSE/SubscribedUser.pm
site/cgi-bin/modules/BSE/SubscribedUsers.pm
site/cgi-bin/modules/BSE/SubscriptionType.pm
site/cgi-bin/modules/BSE/SubscriptionTypes.pm
site/cgi-bin/modules/BSE/TB/AdminBase.pm
site/cgi-bin/modules/BSE/TB/AdminBases.pm
site/cgi-bin/modules/BSE/TB/AdminGroup.pm
site/cgi-bin/modules/BSE/TB/AdminGroups.pm
site/cgi-bin/modules/BSE/TB/AdminMembership.pm
site/cgi-bin/modules/BSE/TB/AdminMemberships.pm
site/cgi-bin/modules/BSE/TB/AdminPerm.pm
site/cgi-bin/modules/BSE/TB/AdminPerms.pm
site/cgi-bin/modules/BSE/TB/AdminUIState.pm
site/cgi-bin/modules/BSE/TB/AdminUIStates.pm
site/cgi-bin/modules/BSE/TB/AdminUser.pm
site/cgi-bin/modules/BSE/TB/AdminUsers.pm
site/cgi-bin/modules/BSE/TB/ArticleFile.pm
site/cgi-bin/modules/BSE/TB/ArticleFileMeta.pm
site/cgi-bin/modules/BSE/TB/ArticleFileMetas.pm
site/cgi-bin/modules/BSE/TB/ArticleFiles.pm
site/cgi-bin/modules/BSE/TB/AuditEntry.pm
site/cgi-bin/modules/BSE/TB/AuditLog.pm
site/cgi-bin/modules/BSE/TB/BackgroundTask.pm
site/cgi-bin/modules/BSE/TB/BackgroundTasks.pm
site/cgi-bin/modules/BSE/TB/FileAccessLog.pm
site/cgi-bin/modules/BSE/TB/FileAccessLogEntry.pm
site/cgi-bin/modules/BSE/TB/Image.pm
site/cgi-bin/modules/BSE/TB/Images.pm
site/cgi-bin/modules/BSE/TB/Location.pm
site/cgi-bin/modules/BSE/TB/Locations.pm
site/cgi-bin/modules/BSE/TB/Order.pm
site/cgi-bin/modules/BSE/TB/OrderItem.pm
site/cgi-bin/modules/BSE/TB/OrderItemOption.pm
site/cgi-bin/modules/BSE/TB/OrderItemOptions.pm
site/cgi-bin/modules/BSE/TB/OrderItems.pm
site/cgi-bin/modules/BSE/TB/Orders.pm
site/cgi-bin/modules/BSE/TB/OwnedFile.pm
site/cgi-bin/modules/BSE/TB/OwnedFiles.pm
site/cgi-bin/modules/BSE/TB/ProductOption.pm
site/cgi-bin/modules/BSE/TB/ProductOptionValue.pm
site/cgi-bin/modules/BSE/TB/ProductOptionValues.pm
site/cgi-bin/modules/BSE/TB/ProductOptions.pm
site/cgi-bin/modules/BSE/TB/Seminar.pm
site/cgi-bin/modules/BSE/TB/SeminarBooking.pm
site/cgi-bin/modules/BSE/TB/SeminarBookings.pm
site/cgi-bin/modules/BSE/TB/SeminarSession.pm
site/cgi-bin/modules/BSE/TB/SeminarSessions.pm
site/cgi-bin/modules/BSE/TB/Seminars.pm
site/cgi-bin/modules/BSE/TB/Site.pm
site/cgi-bin/modules/BSE/TB/SiteCommon.pm
site/cgi-bin/modules/BSE/TB/SiteUserGroup.pm
site/cgi-bin/modules/BSE/TB/SiteUserGroups.pm
site/cgi-bin/modules/BSE/TB/Subscription.pm
site/cgi-bin/modules/BSE/TB/Subscription/Calc.pm
site/cgi-bin/modules/BSE/TB/Subscriptions.pm
site/cgi-bin/modules/BSE/TagFormats.pm
site/cgi-bin/modules/BSE/Template.pm
site/cgi-bin/modules/BSE/Thumb/Imager.pm
site/cgi-bin/modules/BSE/Thumb/Imager/Colourize.pm
site/cgi-bin/modules/BSE/Thumb/Imager/RandomCrop.pm
site/cgi-bin/modules/BSE/ThumbLow.pm
site/cgi-bin/modules/BSE/UI/API.pm
site/cgi-bin/modules/BSE/UI/AdminDispatch.pm
site/cgi-bin/modules/BSE/UI/AdminMessages.pm
site/cgi-bin/modules/BSE/UI/AdminNewsletter.pm
site/cgi-bin/modules/BSE/UI/AdminPregen.pm
site/cgi-bin/modules/BSE/UI/AdminReport.pm
site/cgi-bin/modules/BSE/UI/AdminSeminar.pm
site/cgi-bin/modules/BSE/UI/AdminSendEmail.pm
site/cgi-bin/modules/BSE/UI/AdminShop.pm
site/cgi-bin/modules/BSE/UI/Affiliate.pm
site/cgi-bin/modules/BSE/UI/Background.pm
site/cgi-bin/modules/BSE/UI/Dispatch.pm
site/cgi-bin/modules/BSE/UI/FileProgress.pm
site/cgi-bin/modules/BSE/UI/Formmail.pm
site/cgi-bin/modules/BSE/UI/Image.pm
site/cgi-bin/modules/BSE/UI/NAdmin.pm
site/cgi-bin/modules/BSE/UI/NUser.pm
site/cgi-bin/modules/BSE/UI/Page.pm
site/cgi-bin/modules/BSE/UI/Redirect.pm
site/cgi-bin/modules/BSE/UI/Search.pm
site/cgi-bin/modules/BSE/UI/Shop.pm
site/cgi-bin/modules/BSE/UI/SiteUserUpdate.pm
site/cgi-bin/modules/BSE/UI/SiteuserCommon.pm
site/cgi-bin/modules/BSE/UI/SubAdmin.pm
site/cgi-bin/modules/BSE/UI/Tellafriend.pm
site/cgi-bin/modules/BSE/UI/Thumb.pm
site/cgi-bin/modules/BSE/UI/User.pm
site/cgi-bin/modules/BSE/UI/UserCommon.pm
site/cgi-bin/modules/BSE/UserReg.pm
site/cgi-bin/modules/BSE/Util/ContentType.pm
site/cgi-bin/modules/BSE/Util/DynSort.pm
site/cgi-bin/modules/BSE/Util/DynamicTags.pm
site/cgi-bin/modules/BSE/Util/HTML.pm
site/cgi-bin/modules/BSE/Util/Iterate.pm
site/cgi-bin/modules/BSE/Util/SQL.pm
site/cgi-bin/modules/BSE/Util/Secure.pm
site/cgi-bin/modules/BSE/Util/Tags.pm
site/cgi-bin/modules/BSE/Util/Thumb.pm
site/cgi-bin/modules/BSE/Util/Valid.pm
site/cgi-bin/modules/BSE/Validate.pm
site/cgi-bin/modules/BSE/WebUtil.pm
site/cgi-bin/modules/Constants.pm
site/cgi-bin/modules/Courier.pm
site/cgi-bin/modules/Courier/AustraliaPost.pm
site/cgi-bin/modules/Courier/AustraliaPost/Air.pm
site/cgi-bin/modules/Courier/AustraliaPost/Express.pm
site/cgi-bin/modules/Courier/AustraliaPost/Sea.pm
site/cgi-bin/modules/Courier/AustraliaPost/Standard.pm
site/cgi-bin/modules/Courier/Fastway.pm
site/cgi-bin/modules/Courier/Fastway/Road.pm
site/cgi-bin/modules/Courier/Fastway/Satchel.pm
site/cgi-bin/modules/Courier/Null.pm
site/cgi-bin/modules/DevHelp/Cfg.pm
site/cgi-bin/modules/DevHelp/Date.pm
site/cgi-bin/modules/DevHelp/DynSort.pm
site/cgi-bin/modules/DevHelp/FileUpload.pm
site/cgi-bin/modules/DevHelp/Formatter.pm
site/cgi-bin/modules/DevHelp/HTML.pm
site/cgi-bin/modules/DevHelp/LoaderData.pm
site/cgi-bin/modules/DevHelp/Payments/Inpho.pm
site/cgi-bin/modules/DevHelp/Payments/SecurePay.pm
site/cgi-bin/modules/DevHelp/Payments/SecurePayXML.pm
site/cgi-bin/modules/DevHelp/Payments/Test.pm
site/cgi-bin/modules/DevHelp/Report.pm
site/cgi-bin/modules/DevHelp/Tags.pm
site/cgi-bin/modules/DevHelp/Tags/Iterate.pm
site/cgi-bin/modules/DevHelp/Validate.pm
site/cgi-bin/modules/Generate.pm
site/cgi-bin/modules/Generate/Article.pm
site/cgi-bin/modules/Generate/Catalog.pm
site/cgi-bin/modules/Generate/Product.pm
site/cgi-bin/modules/Generate/Subscription.pm
site/cgi-bin/modules/Order.pm
site/cgi-bin/modules/OrderItem.pm
site/cgi-bin/modules/OrderItems.pm
site/cgi-bin/modules/Orders.pm
site/cgi-bin/modules/OtherParent.pm
site/cgi-bin/modules/OtherParents.pm
site/cgi-bin/modules/Product.pm
site/cgi-bin/modules/Products.pm
site/cgi-bin/modules/SiteUser.pm
site/cgi-bin/modules/SiteUsers.pm
site/cgi-bin/modules/Squirrel/GPG.pm
site/cgi-bin/modules/Squirrel/ImageEditor.pm
site/cgi-bin/modules/Squirrel/PGP5.pm
site/cgi-bin/modules/Squirrel/PGP6.pm
site/cgi-bin/modules/Squirrel/Row.pm
site/cgi-bin/modules/Squirrel/Table.pm
site/cgi-bin/modules/Squirrel/Template.pm
site/cgi-bin/modules/Util.pm
site/util/check_versions.pl [new file with mode: 0644]

index bfe49285584451b74be2d8d00ebaaea4d7ecf3db..008fce2c72790017c0c2ee04898adf90975c1039 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION=0.18
+VERSION=0.19
 DISTNAME=bse-$(VERSION)
 DISTBUILD=$(DISTNAME)
 DISTTAR=../$(DISTNAME).tar
@@ -100,11 +100,14 @@ testinst: distdir
        perl -MExtUtils::Command -e rm_rf $(DISTBUILD)
        cd `perl -lne 'do { print $$1; exit; } if /^base_dir\s*=\s*(.*)/' test.cfg`/util ; perl loaddata.pl ../data/db
 
-testup: distdir
+testup: checkver distdir
        perl localinst.perl $(DISTBUILD) leavedb
        perl -MExtUtils::Command -e rm_rf $(DISTBUILD)
        cd `perl -lne 'do { print $$1; exit; } if /^base_dir\s*=\s*(.*)/' test.cfg`/util ; perl upgrade_mysql.pl -b ; perl loaddata.pl ../data/db
 
+checkver:
+       perl site/util/check_versions.pl
+
 TEST_FILES=t/*.t
 
 test: testup
index bf9149919c25851c961393b98b73e4243a287a3d..9c3cbedf1c659667ad2369c5b1d186a6f607574f 100644 (file)
@@ -1,6 +1,8 @@
 package AdminUtil;
 use strict;
 
+our $VERSION = "1.000";
+
 require Exporter;
 use base qw(Exporter);
 use vars qw/@EXPORT_OK/;
index a1f7bd8529989605daeef6f85497834fae2bb382..ad22c2ef5659bcc30655658abfe29e00c38ecf70 100644 (file)
@@ -2,6 +2,8 @@ package Apache::Session::DBIreal;
 use strict;
 use vars qw(@ISA $VERSION);
 
+our $VERSION = "1.000";
+
 $VERSION = '1.01';
 @ISA = qw(Apache::Session);
 
index 7d007a27eec30e3a5a892e28837fc06ce4cb0068..37af7387e8b5280a9559ce4fd3a7e54e4151173d 100644 (file)
@@ -1,5 +1,7 @@
 package Apache::Session::Store::DBIreal;
 
+our $VERSION = "1.000";
+
 use strict;
 
 use DBI;
index 0fc6cd07b3727b84ab708108d418c4dbc6f02d2b..bae58880be098e88a842e45b926e22d76c23a831 100644 (file)
@@ -7,6 +7,8 @@ use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row BSE::TB::SiteCommon/;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id parentid displayOrder title titleImage body
     thumbImage thumbWidth thumbHeight imagePos
index 3f4cc79be481df2f49f6811ace4b379c1c2d9fa0..0aacb094c7273c4210c3a00ccc69a5fd1570a6a4 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use Article;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'Article';
 }
index e95afd9d3a0c17d46945d32d22e3f154a72be697..240ad2538f48ea3b444aabf22bc194481adab8bd 100644 (file)
@@ -11,6 +11,8 @@ use Carp qw(confess croak);
 use Fcntl qw(:seek);
 use Cwd;
 
+our $VERSION = "1.000";
+
 my %acticle_defaults =
   (
    titleImage => '',
index 78ab4b9357d4a5163ed4616355248a48026982ee..2d8d86f9a260d077317d4de23a659af679d9f963 100644 (file)
@@ -4,6 +4,8 @@ use Articles;
 use OtherParents;
 use BSE::Util::SQL qw/date_to_sql/;
 
+our $VERSION = "1.000";
+
 sub add {
   my ($class, $parent, $child, $release, $expire) = @_;
 
index af1f504d61e57e7feb79a31159a8669265b2446f..a65cea513a8dfb6caf7205e22a3b96f1abf59120 100644 (file)
@@ -4,6 +4,8 @@ use BSE::Util::Tags qw(tag_error_img);
 use BSE::Util::HTML;
 use BSE::CfgInfo 'admin_base_url';
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    logon_form=>1,
index 297f0072dd4a49dfb16ff5a89409af10c98d72a9..c15816eb880c272299e58e959faa0e249e0a7237 100644 (file)
@@ -4,6 +4,8 @@ use BSE::Util::Tags;
 use base 'BSE::UI::AdminDispatch';
 use DevHelp::HTML;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    menu=>1,
index a53c2fdb0aa7ca8921ed1eeec4dee2335b9fce8b..c137abb897fc02041f9405bb5e72185b9935cb2d 100644 (file)
@@ -13,6 +13,8 @@ use constant SITEUSER_GROUP_SECT => 'BSE Siteuser groups validation';
 use BSE::Template;
 use DevHelp::Date qw(dh_parse_date_sql dh_parse_time_sql);
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    list                     => 'bse_members_user_list',
index 1f00ed8a810a8878785cc7e32808c1c82a59d7c6..394585a6e51f62edf90415ab36fd0db6219b8552 100644 (file)
@@ -6,6 +6,8 @@ use BSE::Util::HTML qw(:default popup_menu);
 use BSE::CfgInfo qw(admin_base_url);
 use BSE::Template;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    users=>1,
index d5cfbf2c355245fe7c4394cb2bc92e445366284f..a001d4559eada120481baee4c43a54bcb9c3703e 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Arrows;
 use strict;
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 use base 'Exporter';
 
 use vars qw(@EXPORT);
index 85d1423bb71c3cc1ebb38188adc9ffe06f65943f..312f6aa3f9bfd33233a90caaa77476c93c97bafe 100644 (file)
@@ -2,6 +2,8 @@ package BSE::CGI;
 use strict;
 use Encode;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $q, $charset) = @_;
 
index d8d272f6169ec29ae20ebb12084693da84e9253f..99b8a421a1ccbbe5eef8aec1f9145ddf5f44f1ed 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Cache;
 use strict;
 
+our $VERSION = "1.000";
+
 sub load {
   my ($class, $cfg) = @_;
 
index ce38519f1b1d038c72f1fca3e19aaa84e9554f87..3b558265ed4161bb41227af98c39d9908a40bc75 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Cache::CHI;
 use strict;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $cfg) = @_;
 
index fd91fe592a1ec3dbb3b213339d5f7f1d589971ca..c308cb7c8d8526f76301b12c92f6c8745fa0050b 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Cache::Cache;
 use strict;
 
+our $VERSION = "1.000";
+
 # BSE cache interface for Cache interface compatible caches.
 
 sub new {
index 5d1a7ae8f84c0339a96a37b5a25b33b929414ab8..c6b917bdff21ec68dcf2d761bd83e9d2cb89ec33 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Cache::Memcached;
 use strict;
 use Cache::Memcached::Fast;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $cfg) = @_;
 
index 3914e4b4f18b96eceb48267d50f058f37d62679e..4e404ebe3100fa8c3445a6c294ea5641c4a25507 100644 (file)
@@ -4,6 +4,8 @@ use base "DevHelp::Cfg";
 use Carp qw(confess);
 use constant MAIN_CFG => 'bse.cfg';
 
+our $VERSION = "1.000";
+
 my %cache;
 
 my $single;
index bfbb00f9458a36c06ee77507c3f08f389fcc8e42..73d12ee07012945aadc65a15b625ddb75fdb28f7 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::CfgInfo;
 use strict;
 
+our $VERSION = "1.000";
+
 use vars qw(@ISA @EXPORT_OK);
 require Exporter;
 @ISA = qw(Exporter);
index 756c6068dcc2030ebdead80a521b804c1255168c..c747e5ffa8e19e6c8ac29341b29111a8e60e6096 100644 (file)
@@ -4,6 +4,8 @@ use BSE::Util::Tags qw(tag_error_img);
 use BSE::Util::HTML;
 use base 'BSE::UI::AdminDispatch';
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    form=>1,
index ecba59b64e376ce931d2be60d4440499c8c2d790..81d93bbba9b462671f6bf54fa507772ac5490e1f 100644 (file)
@@ -5,6 +5,8 @@ use BSE::Mail;
 use Carp 'confess';
 use Digest::MD5 qw(md5_hex);
 
+our $VERSION = "1.000";
+
 =head1 NAME
 
 BSE::ComposeMail - compose mail for BSE
index 0d6c53c739d5a8db88f9604cd2dee4f761600529..f21a3317bcdf05fc3de32dc4dca956836fb5bf41 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base "Exporter";
 our @EXPORT_OK = qw(bse_country_code);
 
+our $VERSION = "1.000";
+
 my %country_name_to_code;
 my %code_to_country;
 my @codes;
index b3bb492987889dd4182b24b36204052c33881b92..f3451c0ffeeedacb8908f6967723a8f415133c74 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Custom;
 use BSE::CustomBase;
 use strict;
 
+our $VERSION = "1.000";
+
 use vars qw(@ISA);
 @ISA = qw(BSE::CustomBase);
 
index 351e64e9771b74e25e607fb2d5f85facc6086d89..66a31eba08126998e8d621a37447e74527379413 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::CustomBase;
 use strict;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %params) = @_;
 
index bdaae66de4d59641e324c1fc1da2e58051ec7374..6e2c10f19c3845fc2b9998623cb5ecebd2ac1e35 100644 (file)
@@ -4,6 +4,8 @@ use strict;
 use Carp qw(croak);
 use Carp qw/confess/;
 
+our $VERSION = "1.000";
+
 use vars qw($VERSION);
 $VERSION = '1.00';
 
index 28e7625a6f319bb4494297d991f587658e1d2006..f84793858bb58eb687378096f93ed089e967752a 100755 (executable)
@@ -2,6 +2,8 @@ package BSE::DB::MSSQL;
 use strict;
 use DBI;
 
+our $VERSION = "1.000";
+
 use vars qw($VERSION);
 
 use Constants 0.1 qw/$DSN $DBOPTS $UN $PW/;
index 07328c28ba2012998fc65380c60440eb497a1fb2..8bac3debd000e4f23b96f960882e3d60f97d981e 100644 (file)
@@ -5,6 +5,8 @@ use vars qw/@ISA/;
 use Carp 'confess';
 @ISA = qw(BSE::DB);
 
+our $VERSION = "1.000";
+
 use vars qw($VERSION $MAX_CONNECTION_AGE);
 
 use Constants 0.1 qw/$DSN $UN $PW $DBOPTS/;
index 39f7f466e9c82c471d92568a6b6491d60953d429..de2f381d47068f720bcc8e5acd16c2af89e71ed4 100644 (file)
@@ -5,6 +5,8 @@ use BSE::Template;
 use BSE::Util::HTML;
 use base qw(BSE::Util::DynamicTags);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $req, %opts) = @_;
 
index c69bde36697d3f6349de83964a3e8e14bd38a757..b2cfb0b4a5382e6e184a0b8de66d44db4db916bc 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Dynamic::Catalog;
 use strict;
 use base 'BSE::Dynamic::Article';
 
+our $VERSION = "1.000";
+
 # no specific behavious yet
 
 sub tags {
index d58bd6dbac2fd492cd952d520479365820db2110..8238b3498043c36a6662145df294d704cee414b0 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'BSE::Dynamic::Article';
 use Products;
 
+our $VERSION = "1.000";
+
 sub get_real_article {
   my ($self, $article) = @_;
 
index 1ee60ec716866d8f41eb9bc80eb1e74b92b5f26f..2fba63cacab7a220d389ff046ac7199f4309bef4 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'BSE::Dynamic::Product';
 use BSE::TB::Seminars;
 
+our $VERSION = "1.000";
+
 sub get_real_article {
   my ($self, $article) = @_;
 
index 8fa90f924241cbd724de63c2418654a7fec375ef..5c02be242af8e122a9216deab7d5db18c2e51443 100644 (file)
@@ -13,6 +13,8 @@ use BSE::Util::ContentType qw(content_type);
 use DevHelp::Date qw(dh_parse_date dh_parse_sql_date);
 use constant MAX_FILE_DISPLAYNAME_LENGTH => 255;
 
+our $VERSION = "1.000";
+
 =head1 NAME
 
   BSE::Edit::Article - editing functionality for BSE articles
index 141fff5aae187f3e85597cca9598fa98c193ec80..a9833a441af76af4843a7acd142d1484330385c9 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Edit::Base;
 use strict;
 
+our $VERSION = "1.000";
+
 # one day I might put something useful here
 sub new {
   my ($class, %parms) = @_;
index 1c7b13074a44c5189b33cf155e358f5407eb6d9f..5dcf8024374d694aea6385de82a8a2e782f1b3f2 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'BSE::Edit::Article';
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 sub base_template_dirs {
   return ( "catalog" );
 }
index 3014b5209e2a0d71840573bcec076dbd76790067..5dcc6204d402806c587033aa312603e7d904e945 100644 (file)
@@ -9,6 +9,8 @@ use BSE::Util::HTML;
 use BSE::CfgInfo 'product_options';
 use BSE::Util::Tags qw(tag_hash);
 
+our $VERSION = "1.000";
+
 =head1 NAME
 
 BSE::Edit::Product - tags and actions for editing BSE products
index b5f8c2725b5ae954e286f557bfd0c53c31047016..6f823c72d2e9aa39e5f0b81d5565aaec7d27306b 100644 (file)
@@ -9,6 +9,8 @@ use constant SECT_SEMSESSION_VALIDATION => 'BSE Seminar Session Validation';
 use BSE::Util::HTML qw(escape_html);
 use BSE::Util::Iterate;
 
+our $VERSION = "1.000";
+
 sub article_actions {
   my ($self) = @_;
 
index 7b699e535f4a7f0f359a33699d2acecff2958fb1..c6169b6eb698bbd142939c19c1c67115299e5caa 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Edit::Site;
 use strict;
 
+our $VERSION = "1.000";
+
 use base 'BSE::Edit::Article';
 use BSE::TB::Site;
 
index d7015a261f8483ed1d500945ff4ebceee9a626ef..3f705e41814f39f1906beb43ab0da4f373b7e257 100644 (file)
@@ -5,6 +5,8 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id email why/;
 }
index 0a37d423627958490fd2b932653756531458f360..ad8cde8160d44d04fff01260566ed913f655e6e9 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::EmailBlackEntry;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::EmailBlackEntry';
 }
index 1be1b95ba9af51085965b2216c4ef0697fef6399..f716b4ce16d6f9c6536ba3b905a9f84335c05897 100644 (file)
@@ -5,6 +5,8 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id email genEmail lastConfSent unackedConfMsgs/;
 }
index e3c89becde3a345d34c1a0e47c03dd4d2dc57382..f2b34116ade475701b9e1152a4740f7ce9148ac2 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::EmailRequest;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::EmailRequest';
 }
index 2b0f9e8f79827f2d83a3da1ff724cc54617ab3fc..4a2628117bf3e711c83215e39bb8bbdedad3aaf2 100644 (file)
@@ -6,6 +6,8 @@ use BSE::TB::ArticleFiles;
 use BSE::Util::HTML;
 use Util qw/refresh_to/;
 
+our $VERSION = "1.000";
+
 =head1 NAME
 
   BSE::FileEditor - maintains a list of files associated with an article
index 6ef9f72b78960291b41e89092f992da5954e141c..cb2eff2fa44d14eedea1e7c70c27b5ee10743341 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use Carp qw(confess);
 use DevHelp::HTML;
 
+our $VERSION = "1.000";
+
 =head1 NAME
 
 BSE::FileHandler::Base - base class for file handlers
index 1686233555789be2bde2651141169a2820cb08d3..cef558a9cc51051761c7c8133bb82f5fce4aa970 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base "BSE::FileHandler::Base";
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 sub process_file {
   my ($self, $file) = @_;
 
index 8fab547eaba0c8c632d407fc09aa626b698d09fc..86ffdfe3dddfb6dde47f2b5af04ee6bb54287380 100644 (file)
@@ -4,6 +4,8 @@ use base "BSE::FileHandler::Base";
 use BSE::Util::Tags qw(tag_hash);
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 sub process_file {
   my ($self, $file) = @_;
 
index c0473eeb40c62fa66e200e1030c5c2132a1ba1bb..032bb710311153db99152d1e05973979da2ce8fa 100644 (file)
@@ -2,6 +2,8 @@ package BSE::FileMetaMeta;
 use strict;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 my %meta_rules =
   (
    meta_real =>
index 01ea8e78ce901a3c110fd158cd503536a0c4c9aa..3f1f1a09516f44bd95a5044d1a3b74b4e55adb3c 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use BSE::Util::HTML;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 use base 'DevHelp::Formatter';
 
 my $pop_nameid = 'AAAAAA';
index 430e1fec099689d448b05bf946c4ac02dc787fae..8eb72784bcb895bfa067a464c3359220affa1201 100644 (file)
@@ -4,6 +4,8 @@ use base 'BSE::Formatter';
 use BSE::Util::HTML;
 use Digest::MD5 qw(md5_hex);
 
+our $VERSION = "1.000";
+
 sub link {
   my ($self, $url, $text) = @_;
 
index 0ecd1dc826f02db65d518dc8210cff7854ff7b5f..ffd93cf3442dcc103074fc92fc37a8f267e452a7 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Formatter::Subscription;
 use strict;
 use base 'BSE::Formatter';
 
+our $VERSION = "1.000";
+
 # eventually this will attach the image
 sub image_url {
   my ($self, $im) = @_;
index f01925b83fbff96a2bf7ecd3282a387841a32eff..34fb7111460c75828d186e9a2d5e58c6557de2f3 100644 (file)
@@ -6,6 +6,8 @@ use BSE::Util::HTML;
 use BSE::Util::Tags qw(tag_article);
 use BSE::Util::Iterate;
 
+our $VERSION = "1.000";
+
 sub baseActs {
   my ($self, $articles, $acts, $seminar, $embedded) = @_;
 
index f76935e40c529aabb0dad5147750fbcbd1659fbb..ea11a9ffd8abb06e8f64bf4635ad6d14c542e8d9 100644 (file)
@@ -4,6 +4,8 @@ use BSE::Cfg;
 use Apache::Request;
 use BSE::Request;
 
+our $VERSION = "1.000";
+
 sub handler {
   my ($class, $r) = @_;
 
index a65a17ca6328f436d9f080f61de8ae93de88ae25..772c711978fbebf162ec87f0029f60dcf585320a 100644 (file)
@@ -12,6 +12,8 @@ use BSE::Dynamic::Product;
 use BSE::Dynamic::Catalog;
 use BSE::Dynamic::Seminar;
 
+our $VERSION = "1.000";
+
 sub handler {
   my ($r) = @_;
 
index e8d031771772dfc67764bd86d1edc501430aa2f3..96fbec74e1fbb69935c36926011df43b82b7070d 100644 (file)
@@ -2,6 +2,8 @@ package BSE::ImageHandler::Base;
 use strict;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 339a9debe03714dd6736d99ca4702041ba994ce3..8de535b00cd206689744134f9c13d90fab4cb086 100644 (file)
@@ -4,6 +4,8 @@ use base 'BSE::ImageHandler::Base';
 use BSE::Util::HTML;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 my @flash_opts = qw/quality wmode id play loop menu bgcolor flashvars class/;
 my %flash_defs =
   (
index 57a74ad9332fe7510c46676a763f3d9a3efb7208..9559fc79bd654ce16b9e33015a107bb8844a046a 100644 (file)
@@ -4,6 +4,8 @@ use base 'BSE::ImageHandler::Base';
 use Carp qw(confess);
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 sub thumb_base_url {
   '/cgi-bin/thumb.pl';
 }
index eda178280c68cdccd2852615b67c12403642030e..eb773b0e0ab36b9e023c9dc2d5632e28f3af5925 100644 (file)
@@ -2,6 +2,8 @@ package BSE::ImportSourceBase;
 use strict;
 use Config;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index b019b4f91e269c74b9cd21c597363f3692838cb2..667ea3d769a78e78fbf8f3f0c23546b0b40010fc 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'BSE::ImportSourceBase';
 use Spreadsheet::ParseExcel;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index a16ad5e2b350cf915dfdc0ff17c17ad11fa67e89..3cc69af2aac81009c1d9f25d648464a67aefb3e0 100644 (file)
@@ -6,6 +6,8 @@ use Articles;
 use Products;
 use OtherParents;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 45ecfbec65823af435a8a6ee62b45463dd1ea0c6..e8c0057aa4a8d0f16d17eed73dfc15d1d838dbcf 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::ImportTargetBase;
 use strict;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 403040169986a85fd6e100bfa89acd2c14fed6f5..9cd8ed4e6e2bebfcde81a0e11fa991ff6970a246 100644 (file)
@@ -7,6 +7,8 @@ use Products;
 use BSE::TB::ProductOptions;
 use BSE::TB::ProductOptionValues;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index f0ce8367fc876e4556a2dd2f9c26608ed7f4214b..b729a0818ab99c98b83e1ce8c871ba3aa9f0e6aa 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Importer;
 use strict;
 use Config;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 31bea3a4dd97481c90e8ba7b300e559d3cf7cc7b..a8c3da651749bfd3e4c30425e6ae5ab8a46959c2 100644 (file)
@@ -4,6 +4,8 @@ use base 'BSE::Index::Base';
 use BSE::DB;
 use Constants qw($DATADIR $MAXPHRASE);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index a8b7c2a0976cc5e486b867d8e4c7793986d499ff..196c8688c91cd857cc488d5d85726cbfe7b44317 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Index::Base;
 use strict;
 
+our $VERSION = "1.000";
+
 1;
 
 __END__
index ed5c683ef0fbb47afd4ce53c398040c02fcc7ba0..bf4069c0ba3de4c0064195251a2155acb6a5d1f3 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Jobs::AuditClean;
 use strict;
 use BSE::DB;
 
+our $VERSION = "1.000";
+
 sub run {
   my $days = BSE::Cfg->single->entry("basic", "audit_log_age", 30);
   my $count = BSE::DB->run(bseAuditLogClean => $days);
index e482c9535c501f6264917f0e08fbe9dfd329266b..52fd22c52c11507fc97487857092c09704679891 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use Constants;
 use Carp qw/confess/;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
   my $cfg = $opts{cfg}
index 11aaea419ca391b26e78cc8be81b8d9551fdccdb..b064c70e0411935bcbdd482087fb5020e3983610 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use vars qw/@ISA/;
 use Net::SMTP;
 
+our $VERSION = "1.000";
+
 @ISA = qw/BSE::Mail/;
 
 sub new {
index 59a7dfcbcc4c5718e16d1d368e84790805ae41f9..35951171fedd6ccecc8bb94dfa0506c542da845b 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Mail::Sendmail;
 use strict;
 use vars qw/@ISA/;
 
+our $VERSION = "1.000";
+
 @ISA = qw/BSE::Mail/;
 
 sub new {
index 8f0300316ae742dd0ec00b0211cca0b157463bb3..60dcdc9573aba6fceb8562771e6e35a002aa8b71 100644 (file)
@@ -9,6 +9,8 @@ use overload
   "&{}" => sub { my $self = $_[0]; return sub { $self->_old_msg(@_) } },
   "bool" => sub { 1 };
 
+our $VERSION = "1.000";
+
 my $single;
 
 =head1 NAME
index 76c53570597cf49d960eb88b7aad4c986c778fa4..6e8a59110fac37864e28d0a91c9e045b3083da12 100644 (file)
@@ -2,6 +2,8 @@ package BSE::MessageScanner;
 use strict;
 use File::Find;
 
+our $VERSION = "1.000";
+
 =item BSE::MessageScanner->scan(\@basepaths)
 
 Scan .tmpl, .pm and .pl files under the given directories for apparent
index 279489b01eb40b38db41f2895e36e4add7b6f254..c93d46fc6f990527a87f06b781cbd46449880d64 100644 (file)
@@ -2,6 +2,8 @@ package BSE::NLFilter::SQL;
 use strict;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
   
index c6b2a5579fa16a6891b9ea1375748a9aae37962a..c0ef0199b0f7a97752e7f9dd77d0e3d1cb09777f 100644 (file)
@@ -9,6 +9,8 @@ use DevHelp::Tags::Iterate;
 use BSE::TB::SiteUserGroups;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 5feb3fb82b192c3d3cefc2e4245420ead06143a0..a10e19e64c0219982f1a8b7ac310c104fb78a7b4 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Password::Crypt;
 use strict;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class) = @_;
 
index f8cd27adea9f163a9609642729a8837169ca3b9b..50bb67ad9e4a8d419a75ed24919e43ae999dd77d 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Password::CryptMD5;
 use strict;
 use base "BSE::Password::Crypt";
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class) = @_;
 
index 14d5ff1a24d162526dbadf272e0e91a8bbfd5754..1fc6895b02d9816dc6738f3e9e18697eb25b941a 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Password::CryptSHA256;
 use strict;
 use base "BSE::Password::Crypt";
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class) = @_;
 
index ae81407aa08734d5340572af54a4e6cf43de3214..13655a9690283592b022cdcfbc673de1588c99d9 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Password::Plain;
 use strict;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class) = @_;
 
index 493ab0b2d2e77cab83c1942e9e079755d8b94a4f..22a91ea365dabff0a5de3eb7f904a08d3050296c 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Passwords;
 use strict;
 
+our $VERSION = "1.000";
+
 # wrapper around using the BSE::Password classes
 
 sub new_password_hash {
index c173d06dae13902ef7c5ed7ea6f6af7d3fffd2dd..45a41e37cf52ed08138ba11041ebb9c4228b535d 100644 (file)
@@ -5,6 +5,8 @@ use BSE::Util::HTML;
 use BSE::Shop::Util qw(:payment);
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 use constant DEF_TEST_WS_URL => "https://api-3t.sandbox.paypal.com/nvp";
 use constant DEF_TEST_REFRESH_URL => "https://www.sandbox.paypal.com/webscr";
 
index 4e4128784e8e6dff7dd758c3343cf33b4a63be5b..4406ef3db1a22bb2c3a88d4202132e0fbb4fdd2c 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Permissions;
 use strict;
 
+our $VERSION = "1.000";
+
 # these are the permissions that are checked beyond just whether the permissions DB allows them
 my @checks =
   qw(
index 702901a21d61f25e7f4d437590bdc1e79c524478..6dec69bce6ab51ba18b5d7dd0acb472a07af4e84 100644 (file)
@@ -6,6 +6,8 @@ use Articles;
 use Products;
 use Config;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $cfg, $profile, %opts) = @_;
 
index 07d2fcc47fcca8bf0371aeff92329377735e8c43..410e6a855c87fbc1168222f8c5ba2fe485627d7a 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Report;
 use strict;
 
+our $VERSION = "1.000";
+
 use base 'DevHelp::Report';
 
 sub new {
index 23fde9a0039dae90b14ace77252f36df56f75299..975efa6de7fb3a4a4dc8b73f1d187f17645a7690 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Request;
 use strict;
 use base 'BSE::Request::Base';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 5cdb085ab80ed8ca731f926f831cfddcfc1862e1..e7b8b419761e7fe1067f1ee2614383d28f167cb1 100644 (file)
@@ -5,6 +5,8 @@ use BSE::Cfg;
 use BSE::Util::HTML;
 use Carp qw(cluck confess);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 138710cf2876ccd4d85da482de77e6fb9eaa4be7..7971f1b7ffad5563cde355378be710bd59ee01f5 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Request::Test;
 use strict;
 use base 'BSE::Request::Base';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 8bbda90d35b409fbc0ca4f4ba0461aa64e28f433..871173bd07506d2697f43973fe0af05e45bd112c 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Search::BSE;
 use strict;
 use Constants qw(:search);
 
+our $VERSION = "1.000";
+
 use base 'BSE::Search::Base';
 
 sub new {
index 5487bc4fe8712edc032b02925d2cbe45a043b67b..7eaa307d91290eb4a387b92f3ee8eb2ab6f6152d 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Search::Base;
 use strict;
 
+our $VERSION = "1.000";
+
 1;
 
 __END__
index d3115120ecec216924ad1114d1d667fbd13623c8..7f3cda077611af0f06a82406b4d3b8215201a6da 100644 (file)
@@ -4,6 +4,8 @@ use CGI::Cookie;
 use BSE::DB;
 use BSE::CfgInfo qw/custom_class/;
 
+our $VERSION = "1.000";
+
 sub _session_require {
   my ($cfg) = @_;
 
index dce31927f41b97a3530adcaa70d6675973da4dea..6519d1443d27cea1dda27ac12520713282b04b00 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Shipping;
 use strict;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub get_couriers {
     my ($class, $cfg, $wanted) = @_;
 
index 14bd950ace38bf1a6f02cc28aabf2afb02f286db..2891e06efdcb664113450394318d82243cacf8fe 100644 (file)
@@ -7,6 +7,8 @@ use vars qw(@ISA @EXPORT_OK);
                 payment_types order_item_opts
  PAYMENT_CC PAYMENT_CHEQUE PAYMENT_CALLME PAYMENT_MANUAL PAYMENT_PAYPAL/;
 
+our $VERSION = "1.000";
+
 
 our %EXPORT_TAGS =
   (
index ffbbfd6a89ffac12f4fb2e5a2fa2c2791e4496e0..279f7a2ca6e27baf419d212fbdfe7eee18c960dd 100644 (file)
@@ -5,6 +5,8 @@ require 'Exporter.pm';
 @ISA = qw(Exporter);
 @EXPORT = qw(bse_sort);
 
+our $VERSION = "1.000";
+
 my %backwhacked =
   (
    "\\"=> "\\",
index 58f80a7242439dbe23f232df66a33247bb8b3449..656b8bfa53cec23168fc06904b82a3ab6e451d2d 100644 (file)
@@ -5,6 +5,8 @@ our @ISA = qw(BSE::Storage::Base);
 use Net::Amazon::S3;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index f070cc3260606c239a1057270d10317f382502c2..1191ec43e6bfd43aa605401c6999b72cf43e072d 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Storage::Base;
 use strict;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 205686047b2f0b70cbb183f24adc001aadbdcfe8..97259d770ebe979d449848b0f54490e05f580da1 100644 (file)
@@ -5,6 +5,8 @@ our @ISA = qw(BSE::Storage::Base);
 use Net::FTP;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 61453a6c590acdb555d379eb7a697b30c7da1ae1..70cd5c33cc19440b0ca457a1e92d2a8cfd314948 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use BSE::Storage::Base;
 our @ISA = qw(BSE::Storage::Base);
 
+our $VERSION = "1.000";
+
 sub unstore {
   my ($self, $basename) = @_;
   # nothing to do
index 3e18ed7ba1f9aebd0df2ae22b21bf068e4aa2f73..04abfafeb91387b85dc92e6742c4726818c5579b 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use BSE::Storage::LocalBase;
 our @ISA = qw(BSE::Storage::LocalBase);
 
+our $VERSION = "1.000";
+
 sub store {
   my ($self, $path, $basename) = @_;
   # nothing to do
index 6be80fd93a2c092165de006cee975e0b0dc532a2..695a8eb6138a60a906f3c3e6e8295350ca2c2445 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use BSE::Storage::LocalBase;
 our @ISA = qw(BSE::Storage::LocalBase);
 
+our $VERSION = "1.000";
+
 sub store {
   my ($self, $path, $basename) = @_;
   # nothing to do
index f0ba132aae291220513208b1c914adb3099ad6b9..d206ce75d5a8ca32ed25c0fbe7e25f2fa785883d 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use BSE::Storage::LocalBase;
 our @ISA = qw(BSE::Storage::LocalBase);
 
+our $VERSION = "1.000";
+
 sub _base_url {
   my ($self) = @_;
 
index e3dfe23f34390e20fd14e6cdc1829800126060ea..a19cbf55f1e9eea93d320c43fd95a6c76fbd61b4 100644 (file)
@@ -2,6 +2,8 @@ package BSE::StorageMgr::Base;
 use strict;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 632d6065801163b248b8bcf339d992582cca48c6..f42ca48be8a3d5da58c4ab3c01e509040e7b7aea 100644 (file)
@@ -5,6 +5,8 @@ our @ISA = qw(BSE::StorageMgr::Base);
 use BSE::Storage::LocalFiles;
 use BSE::Util::ContentType qw(content_type);
 
+our $VERSION = "1.000";
+
 sub filebase {
   my ($self) = @_;
 
index f2d89e44624f0046d8b629d75bad450940f71354..94e000ac5507d390eff6cff86b3656b600d06a53 100644 (file)
@@ -6,6 +6,8 @@ use BSE::CfgInfo qw(cfg_image_dir);
 use BSE::Storage::LocalImages;
 use BSE::Util::ContentType qw(content_type);
 
+our $VERSION = "1.000";
+
 sub filebase {
   my ($self) = @_;
 
index 14ef13ef7b0f463e7cb1e1b2411006d89f17a836..4a82187e0572aa0ab052df665bfd5307e07b8933 100644 (file)
@@ -6,6 +6,8 @@ use BSE::CfgInfo qw(cfg_image_dir);
 use BSE::Storage::LocalThumbs;
 use BSE::Util::ContentType qw(content_type);
 
+our $VERSION = "1.000";
+
 sub filebase {
   my ($self) = @_;
 
index fd322c1076083abe18820dec2e79c37141530ad6..ecf4dd832c30615c9a915a581b62e5d5c38b2071 100644 (file)
@@ -5,6 +5,8 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id subId userId/;
 }
index 7c65adfdeadcf73988c454e2965cbf05236165d9..9a7f9df82823d5d12b1a725dce1a506b8cf1fa21 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::SubscribedUser;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::SubscribedUser';
 }
index d9544eede90b78ccb7ed97cecda022f920c4393a..1b2112cce0932c50d7a735a9766b020cf70d4c96 100644 (file)
@@ -5,6 +5,8 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id name title description frequency keyword archive 
             article_template html_template text_template parentId lastSent
index bc78486068c45e23b171d55c3e8882608a7b9f0a..f2762ea24d46eba751a6326b409f2d61b8e6fc5c 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::SubscriptionType;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::SubscriptionType';
 }
index 7425ae5731b64455a36ec1d47ee01b80276e88f2..7f401d62c8c989f785971f1f06ae5403249d16ae 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::AdminBase;
 use strict;
 use base qw(Squirrel::Row);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id type/;
 }
index 24db72995163c53a3d9a3f4d27ce6c6c1da5021e..3af32e59ffbc51729c6a4bc97dfddc516bae240b 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::AdminBase;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::AdminBase';
 }
index 3c06d6367d690450a0d53c170df7f1a2bba28771..8d97e55031ce21f298a864b66f03d61c36763aa3 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::AdminGroup;
 use strict;
 use base qw(BSE::TB::AdminBase);
 
+our $VERSION = "1.000";
+
 sub columns {
   return ($_[0]->SUPER::columns,
          qw/base_id name description perm_map template_set/ );
index ac12a8a8e6c8c9fe1d48171cb1443ccabd53e159..2698a600be5b28ef6f06534500a649e95f88cd05 100644 (file)
@@ -4,6 +4,8 @@ use base 'Squirrel::Table';
 use BSE::TB::AdminGroup;
 use constant SECT_TEMPLATE_SETS => 'admin group template sets';
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::AdminGroup';
 }
index 1829e6514e695f7d4bd365341c1f3f87f46a9ab6..9bc454c3eb643328b2e90253190275dbe97f2260 100644 (file)
@@ -3,6 +3,8 @@ package BSE::TB::AdminMembership;
 use strict;
 use base qw(Squirrel::Row);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/user_id group_id/;
 }
index a6827e559b6f32b7a9410be0d79eddacf92b5326..bb268a3a558e4a9611bd51bf5b68b120a7f3c425 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::AdminMembership;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::AdminMembership';
 }
index 1e927ad16503da3519e85f826217a52399afb8e5..5c6a3ecb74e2cd76d480dcdbaeade420357c7266 100644 (file)
@@ -3,6 +3,8 @@ package BSE::TB::AdminPerm;
 use strict;
 use base qw(Squirrel::Row);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/object_id admin_id/;
 }
index 76186d56a260afe950184eab0428eef5ff8f4f3f..4eab9b25987a4fb8a4be8e09c546a084f9c4bd18 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::AdminPerm;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::AdminPerm';
 }
index 0603998cebff979ddafeec6afd99353d843d0021..3f365c4e15cead63527eb1cb7acb8e2e522d2dbb 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::AdminUIState;
 use strict;
 use base "Squirrel::Row";
 
+our $VERSION = "1.000";
+
 sub columns {
   qw/id user_id name val/;
 }
index 6fd212db3ef712b29d84f49a2b6ede8fbc19b25b..87a3f99078b1c2f2265001d55172cb11176cfc52 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base "Squirrel::Table";
 use BSE::TB::AdminUIState;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   "BSE::TB::AdminUIState";
 }
index 4a0617c292b58e50cef1bcde953205e7cd020437..c44463c1ad87b92008f6c146a1543526fbe13cc7 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::AdminUser;
 use strict;
 use base qw(BSE::TB::AdminBase);
 
+our $VERSION = "1.000";
+
 sub columns {
   return ($_[0]->SUPER::columns,
          qw/base_id logon name password perm_map password_type/);
index de323c41578ddc4ff123edf513c33a9bbb786c72..5dde1bffbd12d3f834127a94e4408008903de107 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::AdminUser;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::AdminUser';
 }
index 7541d81406212dacdb6501c1820bb424cb8e13d5..70fbbaeecd6a95f703438ef2aa375d66a8e1cf3a 100644 (file)
@@ -6,6 +6,8 @@ use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id articleId displayName filename sizeInBytes description 
             contentType displayOrder forSale download whenUploaded
index d8f76c6707268237d1f06db083a0381b04c746fb..643fc66fe7fbcd179737306af6ba73068ddca217 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::ArticleFileMeta;
 use strict;
 use base 'Squirrel::Row';
 
+our $VERSION = "1.000";
+
 sub table {
   "bse_article_file_meta";
 }
index a1c7910c51782fb20b203209fbab45fdc1a18588..ccdc76e86ae5455f8141b629be5bd4e3da92492a 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::ArticleFileMeta;
 
+our $VERSION = "1.000";
+
 sub rowClass { "BSE::TB::ArticleFileMeta" }
 
 1;
index 3470ef7e7fd596f84ecb7c0fb7408c2bfff35fb0..0eecdd282f9ca7bad776cb51de2b50be4f8962d8 100644 (file)
@@ -6,6 +6,8 @@ use vars qw(@ISA $VERSION);
 use BSE::TB::ArticleFile;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::ArticleFile';
 }
index 71b393d50ae56b397bf1b275b8b95913ef2efa12..615fb4fa037b40aa712da7d3f3de708cc18a4b98 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::AuditEntry;
 use strict;
 use base qw(Squirrel::Row);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id 
             when_at
index 138773b4e98f2db2af5ce771ad0af44f513331b5..4111ffc9962cb55a957ca94b9d2c44b168c3eba2 100644 (file)
@@ -6,6 +6,8 @@ use vars qw(@ISA $VERSION);
 use BSE::TB::AuditEntry;
 use Scalar::Util qw(blessed);
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::AuditEntry';
 }
index b7ad5dc2b226890ebd90a131166c0f6ee0bd6b8c..0bbe92a8e41c5e94e07e44e92f13d5fa94ec4d45 100644 (file)
@@ -5,6 +5,8 @@ use BSE::Util::SQL qw(now_sqldatetime);
 use Carp qw(confess);
 use Errno qw(EPERM EACCES);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id description modname binname bin_opts stoppable start_right running task_pid last_exit last_started last_completion long_desc/;
 }
index 7f924491622d7e94883cc7a33a0b48f587f80f0a..bb3ad06dfd4de12fdea3f797e33d75c1e12535b3 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::BackgroundTask;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   'BSE::TB::BackgroundTask';
 }
index afcc86ee1c61cbad11f304bd121f12c5148b3f6a..41a00e7b72c4ecb82b93a39bf10dc4df18d81543 100644 (file)
@@ -4,6 +4,8 @@ use base 'Squirrel::Table';
 use BSE::TB::FileAccessLogEntry;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub rowClass {
   'BSE::TB::FileAccessLogEntry';
 }
index 6063fa74c27f14cd49fd64b11bdac19f61d21e2b..e05599f755c7483239e6b38767bb5dbead86259f 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Row';
 use BSE::Util::SQL qw(now_sqldatetime);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id when_at siteuser_id siteuser_logon file_id owner_type owner_id category filename display_name content_type download title modwhen size_in_bytes/;
 }
index 9c1e3f80d8d6e5e069304b25ad773207adb6950c..3c861075c019d1e6bd4551605f83882a588515aa 100644 (file)
@@ -7,6 +7,8 @@ use vars qw/@ISA/;
 use Carp qw(confess);
 use BSE::Util::HTML qw(escape_html);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id articleId image alt width height url displayOrder name
             storage src ftype/;
index 881785dbdcc85623fc3f1ba956467ee68c62b957..019a154d5e1ce758e3f793179a546a286ecc8b0d 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::TB::Image;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::Image';
 }
index 8175bc6562c3690d82b1b4a92046d00b8e1c0cad..132b3b9a7152b9391c375d259c0b22650e443e97 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::Location;
 use strict;
 use base qw(Squirrel::Row);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id 
             description 
index 5126232c9323e5756a490dcc58f3fc373cf0c1b8..9b38fa74adb993cde5d7af79c77c59ecfc4974c3 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::TB::Location;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::Location';
 }
index 6ec8c9550a63e68179bc00410b1fd9e9f0b2dec4..3f377676b87f1cc0c4dee80f5caa0923de3e7194 100644 (file)
@@ -6,6 +6,8 @@ use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id
            delivFirstName delivLastName delivStreet delivSuburb delivState
index 5614f4f294da5b1e84071be217922683985d9edf..05475b600896f36da328ff5ee6bed3b45770a795 100644 (file)
@@ -5,6 +5,8 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id productId orderId units price wholesalePrice gst options
             customInt1 customInt2 customInt3 customStr1 customStr2 customStr3
index a30ba69d14b004f524b867f81b99c2a3f2a7148a..6924e31ebde4fc5df784d16a2953de7e27974b3d 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::OrderItemOption;
 use strict;
 use base 'Squirrel::Row';
 
+our $VERSION = "1.000";
+
 sub table {
   "bse_order_item_options";
 }
index 66b64a0048f405d29bcad77160eea357f310bddc..4403f23490246e0ea97c08d495b035e2424e4cb2 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::OrderItemOption;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   'BSE::TB::OrderItemOption';
 }
index c66b43ed4e3b1a9590837bac25490d6cacf75c0a..3c4cbe4acd7f3c68cfb730c82bae62ab2ea7c33a 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::TB::OrderItem;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::OrderItem';
 }
index 6dd5285a920ecac164d171e56ff7414ea2506fac..f726a0802fd718f4b76f88bdedbd49634a44a50f 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::TB::Order;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::Order';
 }
index 35b0b79a21e46bfc9d48881034c56e19b86e7524..d98bbafc549774e5fd7bcdb50cad065e39d7131b 100644 (file)
@@ -4,6 +4,8 @@ use base 'Squirrel::Row';
 use BSE::Util::SQL qw(now_sqldatetime);
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id owner_type owner_id category filename display_name content_type download title body modwhen size_in_bytes filekey/;
 }
index d0df5bcbf79fc6f19f533ca00d6a85572d767758..8bb5d4adff24b4326caf676f660a5031d30eb43d 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::OwnedFile;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   'BSE::TB::OwnedFile';
 }
index baf4fc51de533984ef2119fc4ae33557b8fcde59..6be94f2f42715e6c7769d43cff30441456a360dc 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::ProductOption;
 use strict;
 use base 'Squirrel::Row';
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id product_id name type global_ref display_order enabled default_value/;
 }
index fde73a1c65b573035b8c23e1cc9ec1bf27140601..65e63253ead13d2d82031231be5060a5396267a7 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::ProductOptionValue;
 use strict;
 use base "Squirrel::Row";
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id product_option_id value display_order/;
 }
index 51ba9ad37e2922ee7a2da2993ec715fcea36f5f8..c04035d1870116f0f5bc0308a1d226421e4d0161 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::ProductOptionValue;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   'BSE::TB::ProductOptionValue';
 }
index 7c8abef69b49ae09bfa7fea929c065cfb7915aac..4201715b75e5553c7a30589ace7cefafe136524b 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::ProductOption;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   'BSE::TB::ProductOption';
 }
index a309131ff7eec7513f7f26ada331480ae4f8e19c..30e9274fba965b993bc0ba940eb6f599011fbe8e 100644 (file)
@@ -6,6 +6,8 @@ use vars qw/@ISA/;
 @ISA = qw/Product/;
 use BSE::Util::SQL qw(now_sqldatetime);
 
+our $VERSION = "1.000";
+
 sub columns {
   return ($_[0]->SUPER::columns(), 
          qw/seminar_id duration/ );
index 95cbc784f7c9de5ce18038432e7f74ae3f5267ac..edc9b1b874b4020b90d25309e1c3a3eac061a3e2 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::SeminarBooking;
 use strict;
 use base qw(Squirrel::Row);
 
+our $VERSION = "1.000";
+
 sub columns {
   qw/id session_id siteuser_id roll_present options customer_instructions 
      support_notes/;
index e13aca8e3ccf0b983ae5e1b2c762cec9265abf38..553f4c1acad97291d355f2e53e87089ae8f9ab94 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base qw(Squirrel::Table);
 use BSE::TB::SeminarBooking;
 
+our $VERSION = "1.000";
+
 sub rowClass { 'BSE::TB::SeminarBooking' }
 
 1;
index 4119d10ffbebd7272fdda6db9b0045e86c475d0f..3c1d87c689f50537f91c141fd799156a4a32885e 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base qw(Squirrel::Row);
 use BSE::Util::SQL qw(now_sqldatetime);
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id seminar_id location_id when_at roll_taken/;
 }
index baf63d71bc317186ae19b5cfbd709bdb54c4c030..65c1ac5e938f4b7ca3eb45d80ef8041ff8fc9167 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::SeminarSession;
 
+our $VERSION = "1.000";
+
 sub rowClass { 'BSE::TB::SeminarSession' }
 
 1;
index de07ae1203f788b016d6acb20ca54549356dfc44..d6756bdff6141fcebffbc4bb7d83d223a91c9029 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::TB::Seminar;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::Seminar';
 }
index adc26374707e4490a3cb16c07a13fe1617eabe8b..a90df068e08a64973caee2a63067fb71287253f1 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::Site;
 use strict;
 use base qw(BSE::TB::SiteCommon);
 
+our $VERSION = "1.000";
+
 # like an article, but doesn't exist in the database
 
 sub new {
index 7acaca2201e2cb6e0608ba1ce5fcbad1fc02adb3..22c4f9cd2ddde3de82ef576e0959b8ef1c6bde4f 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::SiteCommon;
 use strict;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub step_parents {
   my ($self) = @_;
 
index bf3c225a9824c81ae5280ce96ee0a5cdd1f08739..d02e318d01807ad2edc23b40c9b67218a4632560 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Row';
 use constant OWNER_TYPE => "G";
 
+our $VERSION = "1.000";
+
 sub columns {
   qw(id name);
 }
index 809e2c616c7819203e6e54b850c7be12a4fe1c3c..db49b007bafb9e0c82baa2123755fdcda68f0a70 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use base 'Squirrel::Table';
 use BSE::TB::SiteUserGroup;
 
+our $VERSION = "1.000";
+
 use constant SECT_QUERY_GROUPS => "Query Groups";
 use constant SECT_QUERY_GROUP_PREFIX => 'Query group ';
 
index 3bab531662bbd1bb580091ccced54d9215eb413b..5835f937f42faefe30a4804ceb3bd0fcbc58380b 100644 (file)
@@ -4,6 +4,8 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/subscription_id text_id title description max_lapsed/;
 }
index b4ed51602ae821bf48b1df348b4795755d417f62..a78b88eaa997e0cca54c974996227348ba963aa9 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TB::Subscription::Calc;
 use strict;
 use BSE::Util::SQL qw(:datemath);
 
+our $VERSION = "1.000";
+
 # this code is here to allow testing of it without having real data
 # in the database.
 
index 5f574420004f187da8ffb99101ab6efc0d1a7f4f..bfcf65f03c22b0accbdea4240e21d19bb7fa881e 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use BSE::TB::Subscription;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::Subscription';
 }
index c773676635211d1f45b6ff0879b7c8259dc2bb6d..318c34adf63fa7ae03857352e61ce1db4e9ed43a 100644 (file)
@@ -2,6 +2,8 @@ package BSE::TagFormats;
 use strict;
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 sub _format_image {
   my ($self, $im, $align, $rest) = @_;
 
index 9185b7612e7fb8e22f5860a0c6459a6921023011..c1541381ecf3c75d31c401b5df546ded5679430c 100644 (file)
@@ -4,6 +4,8 @@ use Squirrel::Template;
 use Carp qw(confess cluck);
 use Config ();
 
+our $VERSION = "1.000";
+
 sub templater {
   my ($class, $cfg, $rsets) = @_;
 
index 1afcbf5f221e60b0680bbbd10ce60926767c881e..8471a6299968e258491e8bb75d8fb071b5516710 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use constant CFG_SECTION => 'imager thumb driver';
 use Config;
 
+our $VERSION = "1.000";
+
 my %handlers =
   (
    # default handlers
index db362ef8773d0181a01e866e1bae75a40b65b190..a7e3640cf87b4169d4151deaa1f308a260dbc032 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Thumb::Imager::Colourize;
 use strict;
 use base 'BSE::Thumb::Imager::Handler';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $text, $error, $thumb) = @_;
   
index 7399d595164f5ea533a06a5b3f47e5fc4a7db579..cc0d56bd9e141344df3d1c7aff454fa115b5ca03 100644 (file)
@@ -2,6 +2,8 @@ package BSE::Thumb::Imager::RandomCrop;
 use strict;
 use base 'BSE::Thumb::Imager::Handler';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $text, $error, $thumb) = @_;
   
index 60cfa6ad8ffdcfe9c7eaffcad326a612ae27c293..356c6b51e7b2ab814878b2baf7c154a4b160fdaa 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::ThumbLow;
 use strict;
 
+our $VERSION = "1.000";
+
 sub _thumbimage_low {
   my ($self, $geo_id, $im, $field, $cfg, $static) = @_;
 
index 1540fa6fd48bdf3b1121e18e80c0dcd3a3c52b21..4d2979a6026d2f7d2d0f0b1f145cc3bb569cf3f5 100644 (file)
@@ -2,6 +2,8 @@ package BSE::UI::API;
 use strict;
 use base "BSE::UI::Dispatch";
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    config => 1,
index 2732ae169ed8e88794da79616c67fbb1cfc85c6d..5740781b41ad1e35b6b685e4b0361d6ba074e893 100644 (file)
@@ -4,6 +4,8 @@ use base qw(BSE::UI::Dispatch);
 use BSE::CfgInfo qw(admin_base_url);
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 # checks we're coming from HTTPS
 sub check_secure {
   my ($class, $req, $rresult) = @_;
index 4c0406b090786f23ec0406d90313e33ec4841577..bccac3bb15693c219c08c4c9ef87d1ef3b458913 100644 (file)
@@ -4,6 +4,8 @@ use base 'BSE::UI::AdminDispatch';
 use BSE::Util::Iterate;
 use BSE::Message;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    index => "bse_msg_view",
index 3085803742ec322fadea76807a57a1cb38483f9c..815ed5c4cbeae7b5745c2f49f8fdfd9d901e5739 100644 (file)
@@ -8,6 +8,8 @@ use BSE::Util::HTML qw(:default popup_menu);
 use BSE::Util::Iterate;
 use base 'BSE::UI::AdminDispatch';
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    list => '',
index bcf3e50e791a9abb86e9d13cf96c25eac2289064..fd6cf5410f64d417c1c98148ba27874a59a17cc2 100644 (file)
@@ -4,6 +4,8 @@ use base qw(BSE::UI::AdminDispatch);
 use BSE::Util::Iterate;
 use BSE::Util::Tags qw(tag_hash);
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    list => "",
index 01a3f818fcbed4558f4b5acdcc77426dfbe4e3f9..6c2c2e907c04f9e21454929ce39c4382c6825191 100644 (file)
@@ -5,6 +5,8 @@ use BSE::Util::Tags;
 use BSE::Report;
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    prompt => '',
index bc2731e57c9674f678a4eccb73f3e20e43f9d298..9a74e68285d89485a05cdaffb9964d489ced4a8d 100644 (file)
@@ -11,6 +11,8 @@ use constant SECT_LOCATION_VALIDATION => "BSE Location Validation";
 use BSE::CfgInfo 'product_options';
 use DevHelp::Date qw(dh_strftime_sql_datetime);
 
+our $VERSION = "1.000";
+
 my %rights =
   (
    loclist              => 'bse_location_list',
index 2cbef1fdfb0792e26328d34b85b619188d763ffb..c21814d7222855ee27501d8ea8e4ab4bc497066a 100644 (file)
@@ -4,6 +4,8 @@ use base 'BSE::UI::AdminDispatch';
 use SiteUsers;
 use BSE::Util::Tags qw(tag_hash_plain);
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    send => 1,
index 0582d011db7ea3c0a25983aec1a8293778a81e62..1e34f76e2d5950ce4f4989c083a1f4a60bf94fc0 100644 (file)
@@ -19,6 +19,8 @@ use BSE::Util::HTML qw(:default popup_menu);
 use BSE::Arrows;
 use BSE::Shop::Util qw(:payment order_item_opts nice_options);
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    order_list => 'shop_order_list',
index 91f05a1a4fe5f9f0d682d6390cb7f62ba67b0704..039e3189d13cdd53342ddeee52c2c369f7847e6d 100644 (file)
@@ -4,6 +4,8 @@ use base qw(BSE::UI::Dispatch BSE::UI::SiteuserCommon);
 use BSE::Util::Tags qw(tag_hash);
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    set => 1,
index 50d80cc60eda5a3b01b673f75d081dbd3004ebd9..a599772b98ba35339aac13744808971b8dcf4096 100644 (file)
@@ -10,6 +10,8 @@ use IO::File;
 use BSE::Util::Tags qw(tag_hash);
 use Config;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    list => "",
index e17cd88fb4c4d006eec0d71146a16203e9459949..009b52547d309a87097f9b630d5af452b2b0981f 100644 (file)
@@ -2,6 +2,8 @@ package BSE::UI::Dispatch;
 use strict;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index ec83d2727e404fe6777063f6b92a2e19d649275f..c7194868264336289cd86e1400cce8c1efa5a4df 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::UI::FileProgress;
 use strict;
 
+our $VERSION = "1.000";
+
 sub dispatch {
   my ($class, $req) = @_;
 
index 24720bd951735d74d95f5fad526ee058b16d5346..0510702088324797af46bdb425153b01c3960a89 100644 (file)
@@ -7,6 +7,8 @@ use DevHelp::Validate qw(dh_validate dh_configure_fields);
 use BSE::Util::Iterate;
 use constant DISPLAY_TIMEOUT => 300;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    show => 1,
index 2fa2b1ef6b82dcca3eb47859c409a9aad78b6421..e9ad1c951128f0a235d477030d5fdfe51d722f1a 100644 (file)
@@ -5,6 +5,8 @@ use BSE::TB::Images;
 use BSE::Util::Tags qw(tag_hash);
 use BSE::Util::HTML qw(escape_uri);
 
+our $VERSION = "1.000";
+
 # we don't do anything fancy on dispatch yet, so don't use the 
 # dispatch classes
 sub dispatch {
index d961c9906db232f5298df01001607df8b9e4d5f6..5a48c55671dc81c20a3a6986271fd10d8edb120e 100644 (file)
@@ -2,6 +2,8 @@ package BSE::UI::NAdmin;
 use strict;
 use base qw/BSE::UI::NUser/;
 
+our $VERSION = "1.000";
+
 sub controller_section {
   'nadmin controllers';
 }
index f8165810376d2d1e96ff72808724253d92d944e0..ce9821b90eeb5f105c8dd83277882778f684d107 100644 (file)
@@ -2,6 +2,8 @@ package BSE::UI::NUser;
 use strict;
 use base 'BSE::UI::Dispatch';
 
+our $VERSION = "1.000";
+
 sub controller_section {
   'nuser controllers';
 }
index 2a418218f9c7b0a1392296666450e3564931fdcf..9d9f18d3bed666ac391ab847af5e9b5762c32b88 100644 (file)
@@ -5,6 +5,8 @@ use BSE::Util::HTML qw(escape_uri);
 use BSE::UI::Dispatch;
 our @ISA = qw(BSE::UI::Dispatch);
 
+our $VERSION = "1.000";
+
 # we don't do anything fancy on dispatch yet, so don't use the 
 # dispatch classes
 sub dispatch {
index ec5ce1a1c97e06e73a0f3ee8328ae5f3a4def739..4f60e7555d6d0656c066fc7a58371c611f6b11de 100644 (file)
@@ -4,6 +4,8 @@ use base qw(BSE::UI::Dispatch);
 use Digest::MD5 qw(md5_hex);
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    redir => 1,
index 38bb2766baad448cb33e5f9bbf143f50889126e0..19f172d6550e2b54b7dc0d625077891d4a649146 100644 (file)
@@ -11,6 +11,8 @@ use BSE::Util::HTML qw':default popup_menu';
 use BSE::Util::Tags qw(tag_article);
 use BSE::Request;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    search => 1,
index 127f06bb038304c246f36607eab148aed3a1fd44..c4a7ce26aa88d811aa196f2ec4706b9be8e60b23 100644 (file)
@@ -18,6 +18,8 @@ use BSE::Shipping;
 use BSE::Countries qw(bse_country_code);
 use BSE::Util::Secure qw(make_secret);
 
+our $VERSION = "1.000";
+
 use constant MSG_SHOP_CART_FULL => 'Your shopping cart is full, please remove an item and try adding an item again';
 
 my %actions =
index 7c28bd1865de61938d10c4076dac54c11c2a498b..debcaf5d9263b0d0f5cf99ddd3924b9d759ea7a7 100644 (file)
@@ -11,6 +11,8 @@ use BSE::Util::Secure qw/make_secret/;
 use BSE::SubscribedUsers;
 use BSE::CfgInfo qw(custom_class);
 
+our $VERSION = "1.000";
+
 my %rights =
   (
    importform => 'bse_siteuser_list',
index 7f2dd74fb64c93b6d8d85dad225f958612b035c4..9a33ddc5f1cb727b80ffe437afeb82e5b58d0bb4 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use BSE::Util::HTML;
 use BSE::Util::Tags qw(tag_hash);
 
+our $VERSION = "1.000";
+
 use constant MAXWIDTH => 10000;
 use constant MAXHEIGHT => 10000;
 use constant MAXSIZE => 1_000_000;
index 2e352c3092a1be2a735e0a627be32b4230dfbc10..0ab9be8d16aaab901fb72393ab7d938ff290da61 100644 (file)
@@ -9,6 +9,8 @@ use BSE::Util::Iterate;
 use BSE::TB::Subscriptions;
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 my %rights =
   (
    list => 'bse_subscr_list',
index 7153326cf7dbbc413cf4f0975cd7d2a02fd12a3b..1a6ec8517f945293a6a3c81d6df3c6f1e6acbb05 100644 (file)
@@ -6,6 +6,8 @@ use BSE::Util::Tags qw(tag_hash tag_error_img tag_hash_plain tag_article tag_art
 use BSE::ComposeMail;
 use Articles;
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    form => 1,
index b6e17d7a3c28e5bb7ff029838ddb555b5a6ee86c..ecbd0b6b4e2d4b631b382de4711d3f3eb7844c08 100644 (file)
@@ -5,6 +5,8 @@ use BSE::TB::Images;
 use BSE::CfgInfo qw(cfg_image_dir);
 use BSE::Util::Thumb;
 
+our $VERSION = "1.000";
+
 sub dispatch {
   my ($class, $req) = @_;
 
index f903ed6dd85929c30ff166c4b225f52665498db6..56e4afaa88959d6a677be4b415552367a8a02c4c 100644 (file)
@@ -8,6 +8,8 @@ use BSE::Util::SQL qw/now_datetime/;
 use DevHelp::Date qw(dh_strftime_sql_datetime);
 use base 'BSE::UI::UserCommon';
 
+our $VERSION = "1.000";
+
 my %actions =
   (
    info => 1,
index bf44b4495acfee61d8e682fea40936a3797d97fe..104fe2e4c56b7cc07a34b0a4ecf12dc91c02db5d 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::UI::UserCommon;
 use strict;
 
+our $VERSION = "1.000";
+
 # code common to both BSE::UserReg and BSE::UI::User
 # see also BSE::UI::SiteuserCommon
 
index b984560af06a297657dc0a729801b226ad8a7727..5e4f7719a345c444a178cbd13ac81dabf5487d15 100644 (file)
@@ -18,6 +18,8 @@ use BSE::Util::Iterate;
 use base 'BSE::UI::UserCommon';
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 use constant MAX_UNACKED_CONF_MSGS => 3;
 use constant MIN_UNACKED_CONF_GAP => 2 * 24 * 60 * 60;
 
index 54e4c1b46414597e952c6824cb00c87c2ebe6842..54f085f9df1146e9dc5249fe7f13fbf535ce894b 100644 (file)
@@ -4,6 +4,8 @@ require Exporter;
 our @ISA = qw(Exporter);
 our @EXPORT_OK = qw(content_type);
 
+our $VERSION = "1.000";
+
 my %types =
   (
    qw(
index 1be04d9cb0c37e25692b1d4774592913b6d86f3e..b00f82454f0cea464dbdd088b9d979cab0140fcc 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Util::DynSort;
 use strict;
 
+our $VERSION = "1.000";
+
 use DevHelp::DynSort qw(tag_sorthelp);
 use vars qw(@EXPORT_OK);
 use base 'Exporter';
index f8bce1f89109c336af6867089e71a0c6c8d17bd3..c736e83aaf88df8b6d551317d5599c91746c5db1 100644 (file)
@@ -6,6 +6,8 @@ use base 'BSE::ThumbLow';
 use base 'BSE::TagFormats';
 use BSE::CfgInfo qw(custom_class);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $req) = @_;
   return bless { req => $req }, $class;
index 64d7e4841ccd5bd0bad62f856338b80bfa6cfabf..d56a374a7a1690cbb48c4ed60d325d9c9cbcb3a4 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use BSE::Cfg;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 require Exporter;
 use vars qw(@EXPORT_OK @EXPORT @ISA %EXPORT_TAGS);
 @EXPORT_OK = qw(escape_html escape_uri unescape_html unescape_uri popup_menu escape_xml);
index 31b575f6fb9a7cac0e83b74b91c103b18e1ba294..1ffc5aef40a266b94238dfa14b9e5f17509b0e91 100644 (file)
@@ -4,6 +4,8 @@ use base 'DevHelp::Tags::Iterate';
 use BSE::Util::HTML;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub escape {
   escape_html($_[1]);
 }
index 07c07308dcfb0c84fe9f38b57066c8958edac9a4..9cc2fea8f1e6e9599f4d0e64149f3e60c14b116f 100644 (file)
@@ -12,6 +12,8 @@ require 'Exporter.pm';
   );
 @ISA = qw/Exporter/;
 
+our $VERSION = "1.000";
+
 use constant SECONDS_PER_DAY => 86400;
 
 =head1 NAME
index e37bcf06796a57d1f698401dbd287cdf816a4c64..c732655b046fb9fb48809f8f767db276cab1fcb7 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::Util::Secure;
 use strict;
 
+our $VERSION = "1.000";
+
 use vars qw(@ISA @EXPORT_OK);
 
 @ISA = qw(Exporter);
index 3edce1c3807b0617455b27a88239037b902f54b8..a1750c9a8293cff5ebd2b94e411957031834ce9a 100644 (file)
@@ -8,6 +8,8 @@ use vars qw(@EXPORT_OK @ISA);
 @ISA = qw(Exporter);
 require Exporter;
 
+our $VERSION = "1.000";
+
 sub _get_parms {
   my ($acts, $args) = @_;
 
index 374a7854da669695c738731ceaa3fca1c7e3839b..887218577b662c82f21224756dc37a994f729b8c 100644 (file)
@@ -4,6 +4,8 @@ use BSE::TB::Images;
 use BSE::CfgInfo qw(cfg_image_dir);
 use BSE::StorageMgr::Thumbs;
 
+our $VERSION = "1.000";
+
 # returns a list of $url, $filename, $basename
 sub generate_thumb {
   my ($class, $cfg, $image, $geometry_id, $thumbs) = @_;
index c2c8de16dc443d0172be0da343fbdab34547ea7d..6e6fab5be50ab106ece661881755be5cea9bb837 100644 (file)
@@ -5,6 +5,8 @@ require 'Exporter.pm';
 @EXPORT_OK = qw/valid_date convert_date_to_sql/;
 @ISA = qw/Exporter/;
 
+our $VERSION = "1.000";
+
 sub valid_date {
   $_[0] =~ m!^\d+[/-]\d+[/-]\d+$!;
 }
index a074a4c9d8d91b2ba47055295dd3c53e79a0dc05..635aa5a37aa6aabd51c538c86212cba05ba08774 100644 (file)
@@ -6,6 +6,8 @@ use vars qw(@EXPORT @EXPORT_OK);
 @EXPORT = ();
 @EXPORT_OK = qw(bse_validate bse_validate_hash bse_configure_fields);
 
+our $VERSION = "1.000";
+
 sub bse_validate {
   return dh_validate(@_);
 }
index a78efdb614a18a9b92e0eaf1b9063bff1e583ba3..2643676d8cbbb174ce0949a1347d54ebe846ec66 100644 (file)
@@ -1,6 +1,8 @@
 package BSE::WebUtil;
 use strict;
 
+our $VERSION = "1.000";
+
 use vars qw(@EXPORT_OK @ISA);
 require Exporter;
 @ISA = qw(Exporter);
index 0a61e658ee6a6e5da6e73dcda6d819980e3e8141..7103218357a4fa9e7660440e856eca79e308c88b 100644 (file)
@@ -1,6 +1,8 @@
 package Constants;
 use strict;
 
+our $VERSION = "1.000";
+
 # this needs to be re-organized
 use vars qw(@EXPORT_OK %EXPORT_TAGS @ISA $VERSION 
 $DSN $DBOPTS $DBCLASS $UN $PW $D_00 $D_99 $D_XX
index 6af6cd9faddb8a71a2abaa2e19bc9f07d16b0614..6f2ccdbf21efd42779c23e61882fd0bcc86bf51c 100644 (file)
@@ -1,5 +1,7 @@
 package Courier;
 
+our $VERSION = "1.000";
+
 use strict;
 use LWP::UserAgent;
 
index 4f69e61a62d37752700122caeb560cfaf8322108..63ab0bc3b2ef3c69cb893a880dc00f258c6cf602 100644 (file)
@@ -1,5 +1,7 @@
 package Courier::AustraliaPost;
 
+our $VERSION = "1.000";
+
 use strict;
 use Courier;
 use BSE::Countries qw(bse_country_code);
index ee64eebe383d0355c7e883dc59aefcf3ec3d0e5d..f52fb33ae42c10b985a6e84d6e888b7ee7830bbc 100644 (file)
@@ -1,5 +1,7 @@
 package Courier::AustraliaPost::Air;
 
+our $VERSION = "1.000";
+
 use strict;
 use Courier::AustraliaPost;
 
index a6e01d399a2fb6c444b7bcf83678e7752d0e1106..618613649337d419b1b79cf694c267b1a24650b9 100644 (file)
@@ -1,5 +1,7 @@
 package Courier::AustraliaPost::Express;
 
+our $VERSION = "1.000";
+
 use strict;
 use Courier::AustraliaPost;
 
index 32d3e0fe1a129b0550f290fdee523b9c17e08ff8..b58fca4b5bd51f90681f14dba1aebdcbcfc68b75 100644 (file)
@@ -1,5 +1,7 @@
 package Courier::AustraliaPost::Sea;
 
+our $VERSION = "1.000";
+
 use strict;
 use Courier::AustraliaPost;
 
index 09140bbdd7dc096d47b18eabd8c90d00d4b9eab8..39a32b3e578f43951531f7cfad91fedeae0222b3 100644 (file)
@@ -1,5 +1,7 @@
 package Courier::AustraliaPost::Standard;
 
+our $VERSION = "1.000";
+
 use strict;
 use Courier::AustraliaPost;
 
index 3c5bcfe871eff22b1557bc7e2a4d9da89b3c92fd..6ba9b775c5ed664fb00a20e8159b385a22b027d2 100644 (file)
@@ -1,5 +1,7 @@
 package Courier::Fastway;
 
+our $VERSION = "1.000";
+
 use strict;
 use Courier;
 use XML::Parser;
index c32281d1b4ade314189c9c8a20e9d3dbab4d5a20..da09f177f5dcdf7668ccfa4b545432aeb17e3256 100644 (file)
@@ -1,5 +1,7 @@
 package Courier::Fastway::Road;
 
+our $VERSION = "1.000";
+
 use strict;
 use Courier::Fastway;
 
index 88f109d357f79b01b69231732e13cc4dcab44aaf..74457a6c3873d0f755ffd9556fd5276bf4d068cb 100644 (file)
@@ -1,5 +1,7 @@
 package Courier::Fastway::Satchel;
 
+our $VERSION = "1.000";
+
 use strict;
 use Courier::Fastway;
 
index ae968fb9d81c273d77e17c86f7da139d17546874..f0681b9976ac64f6424f85943fe9abbd7cb3d480 100644 (file)
@@ -1,5 +1,7 @@
 package Courier::Null;
 
+our $VERSION = "1.000";
+
 use strict;
 use Courier;
 
index 2d2d553c706a5f2657c66e7cfa08072c73edf80a..b28f86466c44189562dc9eed21484993feacc948 100644 (file)
@@ -6,6 +6,8 @@ use constant CFG_DEPTH => 5; # unused so far
 use constant CACHE_AGE => 30;
 use constant VAR_DEPTH => 10;
 
+our $VERSION = "1.000";
+
 my %cache;
 
 =head1 NAME
index 4884016c5b3e907d8251b15f84370ae0102c6940..6b3285df306c091d7ce04508598d4642de7b27c5 100644 (file)
@@ -13,6 +13,8 @@ use vars qw(@EXPORT_OK %EXPORT_TAGS @ISA);
    sql => [ grep /_sql$/, @EXPORT_OK ],
   );
 
+our $VERSION = "1.000";
+
 use constant SECS_PER_DAY => 24 * 60 * 60;
 
 # for now just a simple date parser
index 9d0bf15a96c1e0da9aceba1d7be7d753a17107b7..67352165319c85d362351b88840e9b53a4f982e9 100644 (file)
@@ -5,6 +5,8 @@ use base 'Exporter';
 @EXPORT_OK = qw(sorter tag_sorthelp);
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub sorter {
   my (%opts) = @_;
   
index fec5975652f4109d48785f92d9d3856dddeb8fca..cfb679f33b629876693b3b10ab4f756b60c05d2e 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use IO::File;
 use File::Copy;
 
+our $VERSION = "1.000";
+
 =head1 NAME
 
   DevHelp::FileUpload - tools to maintain a file upload directory
index 202a304486e653e664e54212c20e2eed4793a96b..b293c20281a818656941d3b6affb9b48d7709149 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use DevHelp::HTML;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 use constant DEBUG => 0;
 
 sub new {
index 37424fb06f1f4c3b132995b27e447bf0891505d2..cdddd44af8ae0485d6e1731540b3a8281e69b8d2 100644 (file)
@@ -2,6 +2,8 @@ package DevHelp::HTML;
 use strict;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 require Exporter;
 use vars qw(@EXPORT_OK @EXPORT @ISA %EXPORT_TAGS);
 @EXPORT_OK = qw(escape_html escape_uri unescape_html unescape_uri popup_menu escape_xml);
index a014e7ad9e748adebaecb88a029570d5381f89cd..a2ffb9ff0e1c5d7e188c63c4f8cac8b5255a5bd3 100644 (file)
@@ -2,6 +2,8 @@ package DevHelp::LoaderData;
 use strict;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $file, %opts) = @_;
   
index 5e3e93b15b63e22c951cb805a76fe90ac3436a1b..a3273569a5183a2e54076017054cf8a6ea03e625 100644 (file)
@@ -4,6 +4,8 @@ use Carp 'confess';
 use LWP::UserAgent;
 use DevHelp::HTML;
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $cfg) = @_;
 
index ad93f589fad8c089ed7d15c4d944016959c7816e..6fba42e04ece875de929e9e8d28cb9ccb7146b47 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use Config;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $cfg) = @_;
 
index e9d34523a91a60c00607da9da59f51e1ed74d498..0dab84e9b2d22d1de4ebd8fe5dfad1e40c2fcf21 100644 (file)
@@ -6,6 +6,8 @@ use POSIX qw(strftime);
 use LWP::UserAgent;
 use XML::Simple;
 
+our $VERSION = "1.000";
+
 my $sequence = 0;
 
 sub new {
index 7744461655d658dd58460ecc39884a41d856b795..459c346ca9c423bd8d9e1e63653ea444a469beb4 100644 (file)
@@ -2,6 +2,8 @@ package DevHelp::Payments::Test;
 use strict;
 use Carp 'confess';
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $cfg) = @_;
 
index 590e5a1b70447b930f67315e4156f159c3830842..847e1fb7fd61f13932007ab4c5dfde425d30dffd 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use DevHelp::Tags;
 use DevHelp::HTML qw(escape_html popup_menu escape_uri);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, $cfg, $section) = @_;
 
index 287caa52ce25e835a71248daa1184321fe0045c3..6620e4834c5f46c3392251262c5f886ea205b4ad 100644 (file)
@@ -1,6 +1,8 @@
 package DevHelp::Tags;
 use strict;
 
+our $VERSION = "1.000";
+
 sub make_iterator {
   my ($class, $array, $single, $plural, $saveto) = @_;
 
index 650b0acd325ae146c898f1e838ef631f7db4ec29..bebd2060dc787e882a5ec0cc1fe6abd8b725f9a9 100644 (file)
@@ -2,6 +2,8 @@ package DevHelp::Tags::Iterate;
 use strict;
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
 
index 418886a61c16f384842f3c8819db0a62f8497450..68a1a49a1bf79e25d52230e8bcf2af9e34097fc4 100644 (file)
@@ -6,6 +6,8 @@ use vars qw(@EXPORT_OK @ISA);
 @ISA = qw(Exporter);
 use Carp qw(confess);
 
+our $VERSION = "1.000";
+
 my %built_ins =
   (
    email => 
index 0073c8aa21091e41d9dc7f5ba23c38e40417b8e6..1a5b8175fdf1e82f5c407361276beeda8228628b 100644 (file)
@@ -11,6 +11,8 @@ use BSE::Util::Iterate;
 use base 'BSE::ThumbLow';
 use base 'BSE::TagFormats';
 
+our $VERSION = "1.000";
+
 my $excerptSize = 300;
 
 sub new {
index 3b9347438428bfdaf8f2a574eedc692ae6398a24..6429eee33f915f66a935b7a6dbed611c17445563 100644 (file)
@@ -15,6 +15,8 @@ use BSE::Arrows;
 use Carp 'confess';
 use BSE::Util::Iterate;
 
+our $VERSION = "1.000";
+
 my $excerptSize = 300;
 
 my %level_names = map { $_, $LEVEL_DEFAULTS{$_}{display} }
index dc0ad7b9e5ea6e78014168da0ce25df9fbce6dc8..abd24f0a130d803388e66cf5e4a875a839406f73 100644 (file)
@@ -1,5 +1,7 @@
 package Generate::Catalog;
 
+our $VERSION = "1.000";
+
 use strict;
 use Generate;
 use Products;
index 003198f2d9027ff8c1ad42529e2574101fb522a2..8cd9a64248c56c97108ab864578e5f38f7b16d07 100644 (file)
@@ -9,6 +9,8 @@ use Carp qw(confess);
 use BSE::Util::HTML;
 use BSE::Util::Tags qw(tag_article);
 
+our $VERSION = "1.000";
+
 sub edit_link {
   my ($self, $id) = @_;
   return "/cgi-bin/admin/add.pl?id=$id";
index 6089bc510d104bfb1e70b79fe9f4fd14165c7834..3e04f7f7bc9dd2100b8c5a27d158a9468997b5e3 100644 (file)
@@ -5,6 +5,8 @@ use Generate::Article;
 @ISA = qw(Generate::Article);
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 sub set_user {
   my ($self, $user) = @_;
 
index 4a9c125060899cfcffaedfc8bad7836a26a6d073..0eeabc4a4d4f87092f0deb58002e42c3b3f4771d 100644 (file)
@@ -5,6 +5,8 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id
            delivFirstName delivLastName delivStreet delivSuburb delivState
index 0077f0c2f82ed77b527667ff5eded886201bf926..5313599284eee9c0cade93aa88f8f15e6749cfbb 100644 (file)
@@ -5,6 +5,8 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
+our $VERSION = "1.000";
+
 sub columns {
   return qw/id productId orderId units price wholesalePrice gst options
             customInt1 customInt2 customInt3 customStr1 customStr2 customStr3
index 2aff2ea02178f47e4d98e1649a9abfdc3d0aa4a3..1bec6ca049dff6e9b70969586833db468cfe3dbe 100644 (file)
@@ -4,6 +4,8 @@ use Squirrel::Table;
 use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'BSE::TB::OrderItem';
 }
index a99b17e3c6315572ca568967ae2ef3fa2567e581..97ffd0c01cedf05fe2e656cf5481b0b3705112d9 100644 (file)
@@ -4,6 +4,8 @@ use Squirrel::Table;
 use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'Order';
 }
index f860be8e858ec1ed9e2ce0e43fc8b6230c01e724..4f30d51ad6a3c061978ac8b83e26adf6a6eec460 100644 (file)
@@ -4,6 +4,8 @@ use Squirrel::Row;
 use vars qw/@ISA/;
 @ISA = qw/Squirrel::Row/;
 
+our $VERSION = "1.000";
+
 # id is only needed due to limitations in BSE's Squirrel::Row
 sub columns {
   qw/id parentId childId parentDisplayOrder childDisplayOrder release expire/;
index d3e8d570ea17e22540fa204e0b60b071ccd01f90..9af936ab1717317b6a051f0f3393f7cd905162f2 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use OtherParent;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'OtherParent';
 }
index 2d6b6aa1d45e05ba53c32a88e5f261854bb03068..9ce03eddb5da555008f373a6e119cb1229c6809e 100644 (file)
@@ -5,6 +5,8 @@ use Articles;
 use vars qw/@ISA/;
 @ISA = qw/Article/;
 
+our $VERSION = "1.000";
+
 # subscription_usage values
 use constant SUBUSAGE_START_ONLY => 1;
 use constant SUBUSAGE_RENEW_ONLY => 2;
index 7fe8fea77872ca9f4564f0e6c34480a7b6427976..98a960fe6195df0a593471bb10ec080c48380611 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use Product;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'Product';
 }
index 23836a62b08dcd7fe6913f948d9b50997d6b3836..333f23aa4350031281cbfa40657375b7c56e7dcb 100644 (file)
@@ -8,6 +8,8 @@ use Constants qw($SHOP_FROM);
 use Carp qw(confess);
 use BSE::Util::SQL qw/now_datetime now_sqldate sql_normal_date sql_add_date_days/;
 
+our $VERSION = "1.000";
+
 use constant MAX_UNACKED_CONF_MSGS => 3;
 use constant MIN_UNACKED_CONF_GAP => 2 * 24 * 60 * 60;
 use constant OWNER_TYPE => "U";
index 68daa811f86160f5fdee71415b74127f12f8e758..3a237b29110a28aaa15464c469517f238ae1ecee 100644 (file)
@@ -5,6 +5,8 @@ use vars qw(@ISA $VERSION);
 @ISA = qw(Squirrel::Table);
 use SiteUser;
 
+our $VERSION = "1.000";
+
 sub rowClass {
   return 'SiteUser';
 }
index 1e009fd3b910f3b7989615a7136d1ce536183f34..38e0802c3ca5b2e6ce31ebefd3a187b71c25b673 100644 (file)
@@ -3,6 +3,8 @@ use strict;
 use IO::File;
 use POSIX ();
 
+our $VERSION = "1.000";
+
 sub new {
   return bless {}, $_[0];
 }
index b837f052d381131da5de4dc16c158c7ef34a147a..b6db7528ddbd26cf6cbba56f33373a5d7a3cc094 100644 (file)
@@ -3,6 +3,8 @@ package Squirrel::ImageEditor;
 use strict;
 use Constants qw($TMPLDIR %TEMPLATE_OPTS);
 
+our $VERSION = "1.000";
+
 sub new {
   my ($class, %opts) = @_;
   $opts{message} = '';
index eeb8afa1022eb362278ea72ea759fad36b13d5b5..4afc1f32ad13f25aa27bdc124cce6d7da7a54073 100644 (file)
@@ -1,6 +1,8 @@
 package Squirrel::PGP5;
 use strict;
 
+our $VERSION = "1.000";
+
 sub new {
   return bless {}, $_[0];
 }
index 61675f3cfada600de645691361c392b8a8bd692c..a771be0b0abc6807cded7f492db86f102e0bdb50 100644 (file)
@@ -1,6 +1,8 @@
 package Squirrel::PGP6;
 use strict;
 
+our $VERSION = "1.000";
+
 sub new {
   return bless {}, $_[0];
 }
index 21532111e19dfcf6f6bbe422e4b11ffe83a9000f..f2c3cac4213c2e3637883af5c2ff896d3f3649d9 100644 (file)
@@ -2,6 +2,8 @@ package Squirrel::Row;
 require 5.005;
 use strict;
 
+our $VERSION = "1.000";
+
 use Carp;
 use BSE::DB;
 
index 8aeb13854f6f35e736c88b6e063699caeddc4400..5a2689440efbf4dac0450306d6de3f3a4ab026a0 100644 (file)
@@ -1,5 +1,7 @@
 package Squirrel::Table;
 
+our $VERSION = "1.000";
+
 use vars qw($VERSION);
 use Carp;
 use strict;
index 324a0b95feee2967d1d7e44a51b901c8c6c586bb..adddf33dc7f6980a736e4f14cd8d7b1ca5d99c9d 100644 (file)
@@ -9,6 +9,8 @@ BEGIN {
   }
 }
 
+our $VERSION = "1.000";
+
 $VERSION="0.09";
 
 sub new {
index 90a4b29dbd4ec8b5034a70eba86e47ac87eb536f..17866b99666dd60d7b8af4185f061d253a11aa50 100644 (file)
@@ -10,6 +10,8 @@ use Carp qw(confess);
 use BSE::WebUtil qw(refresh_to_admin);
 use BSE::Util::HTML;
 
+our $VERSION = "1.000";
+
 # returns non-zero if the Regenerate button should work
 sub generate_button {
   if ($GENERATE_BUTTON) {
diff --git a/site/util/check_versions.pl b/site/util/check_versions.pl
new file mode 100644 (file)
index 0000000..29655c6
--- /dev/null
@@ -0,0 +1,52 @@
+#!perl -w
+use strict;
+
+my %vers;
+
+my @check = `svn status`;
+chomp @check;
+@check = sort grep /cgi-bin\/.*\.pm$/, @check;
+my @errors;
+for my $check (@check) {
+  $check =~ /^D/ and next;
+  $check =~ s/^(\S)\S*\s+//;
+  my $type = $1;
+  -e $check or die "Cannot find file $check\n";
+
+  my $ver = file_vers($check);
+
+  unless ($type eq "A") {
+    my $svn = `svn cat $check`;
+    my $old_ver = content_vers($svn);
+
+    if (defined $old_ver) {
+      $old_ver eq $ver
+       and push @errors, "Version not updated in $check\n";
+    }
+  }
+}
+
+@errors and die @errors;
+
+sub file_vers {
+  my ($filename) = @_;
+
+  open my $file, "<", $filename
+    or die "Cannot open $filename; $!\n";
+  my $content = do { local $/; <$file> };
+  close $file;
+
+  my $vers = content_vers($content)
+    or die "No version found in $filename\n";
+
+  return $vers;
+}
+
+sub content_vers {
+  my ($lines) = @_;
+
+  $lines =~ /^our \$VERSION = "([0-9.]+)";/m
+    or return;
+
+  return $1;
+}