bse.git
9 years agoignore the Devel::Cover coverage database
Tony Cook [Fri, 2 Mar 2012 12:12:44 +0000 (23:12 +1100)]
ignore the Devel::Cover coverage database

9 years agoupdate BSE::Cache::CHI to use the more modern interface
Tony Cook [Mon, 5 Mar 2012 06:07:30 +0000 (17:07 +1100)]
update BSE::Cache::CHI to use the more modern interface

Note that CHI uses Moose and probably isn't suitable for lots of CGI

9 years agoadd access to more order fields for subscription order summary
Adrian Oldham [Mon, 5 Mar 2012 21:25:41 +0000 (08:25 +1100)]
add access to more order fields for subscription order summary

9 years agochange note for 3f015bd23
Tony Cook [Wed, 8 Feb 2012 02:19:06 +0000 (13:19 +1100)]
change note for 3f015bd23

9 years ago[rt #1301] refactor makeIndex.pl into separate CGI and command-line tools
Tony Cook [Mon, 6 Feb 2012 11:17:38 +0000 (22:17 +1100)]
[rt #1301] refactor makeIndex.pl into separate CGI and command-line tools

9 years agoavoid using the old tag where article fields conflict with other form types
Tony Cook [Mon, 6 Feb 2012 08:56:18 +0000 (19:56 +1100)]
avoid using the old tag where article fields conflict with other form types

9 years agochange note for 0324c31
Tony Cook [Mon, 6 Feb 2012 03:48:04 +0000 (14:48 +1100)]
change note for 0324c31

9 years agothe error_img tag could crash producing an inline error for logon_form
Tony Cook [Mon, 6 Feb 2012 03:45:28 +0000 (14:45 +1100)]
the error_img tag could crash producing an inline error for logon_form

_service_error() would pass the error message as $error to logon_form
which then passed that value directly to tag_error_img, which would
attempt to use the non-reference as a hash reference, crashing.

9 years agochange note for 15ff79e8
Tony Cook [Tue, 31 Jan 2012 23:19:31 +0000 (10:19 +1100)]
change note for 15ff79e8

9 years agofix the message id for the move up a level message
Tony Cook [Tue, 31 Jan 2012 23:17:58 +0000 (10:17 +1100)]
fix the message id for the move up a level message

9 years agochange notes for the last few changes
Tony Cook [Tue, 31 Jan 2012 12:40:50 +0000 (23:40 +1100)]
change notes for the last few changes

9 years agothe file iterator is now an object iterator, and efile an object tag
Tony Cook [Tue, 31 Jan 2012 12:37:47 +0000 (23:37 +1100)]
the file iterator is now an object iterator, and efile an object tag

this allows use of file_exists in the edit templates

9 years agotag_object(_plain)? now checks restricted_method() if available
Tony Cook [Tue, 31 Jan 2012 12:36:58 +0000 (23:36 +1100)]
tag_object(_plain)? now checks restricted_method() if available

tag_object also now is implemented in terms of tag_object_plain

9 years agoadd file_exists method to BSE::TB::ArticleFile to check the file exists
Tony Cook [Tue, 31 Jan 2012 12:35:12 +0000 (23:35 +1100)]
add file_exists method to BSE::TB::ArticleFile to check the file exists

full_filename no longer requires the cfg object.

9 years agofix <:which tags:> and allow fallback to hash access for tag_article
Tony Cook [Tue, 31 Jan 2012 01:09:19 +0000 (12:09 +1100)]
fix <:which tags:> and allow fallback to hash access for tag_article

9 years agogive BSE::TB::Site a restricted_method() method too
Tony Cook [Tue, 31 Jan 2012 00:28:30 +0000 (11:28 +1100)]
give BSE::TB::Site a restricted_method() method too

to avoid crashing on the section list

9 years agochange note for 86dc77f
Tony Cook [Mon, 30 Jan 2012 23:48:01 +0000 (10:48 +1100)]
change note for 86dc77f

9 years agomake tag_article smarter so sensible article methods can be called
Tony Cook [Mon, 30 Jan 2012 23:46:46 +0000 (10:46 +1100)]
make tag_article smarter so sensible article methods can be called

9 years agochange note for 573f6f8
Tony Cook [Mon, 30 Jan 2012 08:46:01 +0000 (19:46 +1100)]
change note for 573f6f8

9 years agoconsistently use admin_tags instead of the old set of admin tag methods
Tony Cook [Mon, 30 Jan 2012 08:44:43 +0000 (19:44 +1100)]
consistently use admin_tags instead of the old set of admin tag methods

9 years agochange note for ea71fc0
Tony Cook [Mon, 30 Jan 2012 08:21:23 +0000 (19:21 +1100)]
change note for ea71fc0

9 years agoconsistently use tag_article on the admin side
Tony Cook [Mon, 30 Jan 2012 08:18:31 +0000 (19:18 +1100)]
consistently use tag_article on the admin side

some may have been missed

9 years agoactually put the expected output in place for the complex space test
Tony Cook [Mon, 30 Jan 2012 04:55:52 +0000 (15:55 +1100)]
actually put the expected output in place for the complex space test

9 years agochange note for 8eaf4ce
Tony Cook [Mon, 30 Jan 2012 04:47:40 +0000 (15:47 +1100)]
change note for 8eaf4ce

9 years agoadd is_expired and is_released methods to Article
Tony Cook [Mon, 30 Jan 2012 04:46:40 +0000 (15:46 +1100)]
add is_expired and is_released methods to Article

9 years agomore complex iterator/switch test
Tony Cook [Sun, 29 Jan 2012 00:43:26 +0000 (11:43 +1100)]
more complex iterator/switch test

9 years agofix case extraction for switch with ws prefix
Tony Cook [Sun, 29 Jan 2012 00:17:19 +0000 (11:17 +1100)]
fix case extraction for switch with ws prefix

9 years agochange note for aef10b58
Tony Cook [Sat, 28 Jan 2012 03:06:31 +0000 (14:06 +1100)]
change note for aef10b58

9 years agoallow <:- and -:> to strip whitespace
Tony Cook [Sat, 28 Jan 2012 02:23:01 +0000 (13:23 +1100)]
allow <:- and -:> to strip whitespace

9 years agochange note for 495114d
Tony Cook [Fri, 27 Jan 2012 11:23:53 +0000 (22:23 +1100)]
change note for 495114d

9 years agositeuser.pl now flashes all success messages from the messages table
Tony Cook [Fri, 27 Jan 2012 11:22:23 +0000 (22:22 +1100)]
siteuser.pl now flashes all success messages from the messages table

9 years agochange notes for cfaf07ba, 4ae3f7d7 and a3bb52d7
Tony Cook [Fri, 27 Jan 2012 09:04:53 +0000 (20:04 +1100)]
change notes for cfaf07ba4ae3f7d7 and a3bb52d7

9 years ago[rt #1304] saving an empty content_type for a user/group file defaults it to the...
Tony Cook [Fri, 27 Jan 2012 09:00:23 +0000 (20:00 +1100)]
[rt #1304] saving an empty content_type for a user/group file defaults it to the type based on the display name

9 years ago[rt #1302] report validation errors for adding user/group files
Tony Cook [Fri, 27 Jan 2012 08:52:52 +0000 (19:52 +1100)]
[rt #1302] report validation errors for adding user/group files

9 years ago[rt #1303] don't populate an empty title from display_name for add user/group file
Tony Cook [Fri, 27 Jan 2012 08:37:54 +0000 (19:37 +1100)]
[rt #1303] don't populate an empty title from display_name for add user/group file

A missing title will still be populated.

9 years agochange note for 4b9daec
Tony Cook [Thu, 26 Jan 2012 00:59:43 +0000 (11:59 +1100)]
change note for 4b9daec

9 years ago[rt #1286] set whoFilled and and whenFilled when new_stage sets filled
Tony Cook [Thu, 26 Jan 2012 00:57:41 +0000 (11:57 +1100)]
[rt #1286] set whoFilled and and whenFilled when new_stage sets filled

9 years agochange note for a2e8dc8
Tony Cook [Thu, 26 Jan 2012 00:24:35 +0000 (11:24 +1100)]
change note for a2e8dc8

9 years ago[rt #1287] tagdelete or tagrename validation errors would produce a 500 error
Tony Cook [Thu, 26 Jan 2012 00:22:31 +0000 (11:22 +1100)]
[rt #1287] tagdelete or tagrename validation errors would produce a 500 error

They were calling req_tags instead of the correct req_tagshow

9 years agonote the previous changes
Tony Cook [Sun, 22 Jan 2012 11:13:44 +0000 (22:13 +1100)]
note the previous changes

9 years agoextend order list filtering
Tony Cook [Sun, 22 Jan 2012 03:23:00 +0000 (14:23 +1100)]
extend order list filtering

userId billEmail billFirstName billLastName billOrganization
  - supply any of these and they're substring matched against the order field
    so userId => "on" will match an order by "tony"

supply stage=>somestage for an exact match on that stage

supply stage=>stage1,stage2 (etc) to match any of those stages

supply name=>whatever for a substring match against any of userId,
billEmail, billFirstName, billLastName

add stage_select tag

9 years agore-work order lists
Tony Cook [Sun, 22 Jan 2012 01:30:37 +0000 (12:30 +1100)]
re-work order lists

9 years agoadd getCount() method to Squirrel::Table
Tony Cook [Sun, 22 Jan 2012 01:12:19 +0000 (12:12 +1100)]
add getCount() method to Squirrel::Table

9 years agoadd the adminurl2 admin tag
Tony Cook [Sun, 22 Jan 2012 01:11:54 +0000 (12:11 +1100)]
add the adminurl2 admin tag

9 years agonadmin can grab the target from the URL, use that for nadmin targets
Tony Cook [Sun, 22 Jan 2012 01:11:03 +0000 (12:11 +1100)]
nadmin can grab the target from the URL, use that for nadmin targets

9 years agoadd admin_url2 method
Tony Cook [Sat, 21 Jan 2012 23:37:03 +0000 (10:37 +1100)]
add admin_url2 method

9 years agonote the BSE::UI::AdminReport update
Tony Cook [Wed, 18 Jan 2012 05:28:01 +0000 (16:28 +1100)]
note the BSE::UI::AdminReport update

9 years agoadd access to admin tags
Adrian Oldham [Wed, 18 Jan 2012 05:09:57 +0000 (16:09 +1100)]
add access to admin tags

9 years agogenerate.pl would 500 if you used it unauthenticated
Tony Cook [Sat, 14 Jan 2012 01:23:05 +0000 (12:23 +1100)]
generate.pl would 500 if you used it unauthenticated

9 years agonote the nomatch change
Tony Cook [Thu, 12 Jan 2012 08:23:06 +0000 (19:23 +1100)]
note the nomatch change

9 years agocheck nomatch rules even for blank fields
Tony Cook [Thu, 12 Jan 2012 08:20:37 +0000 (19:20 +1100)]
check nomatch rules even for blank fields

9 years agoadjust verbose regen smoke test for the templated output
Tony Cook [Thu, 12 Jan 2012 08:17:02 +0000 (19:17 +1100)]
adjust verbose regen smoke test for the templated output

9 years agonote the change
Tony Cook [Wed, 11 Jan 2012 05:50:01 +0000 (16:50 +1100)]
note the change

9 years agowhen refreshing to a secure admin url, don't 500 error
Tony Cook [Wed, 11 Jan 2012 05:46:59 +0000 (16:46 +1100)]
when refreshing to a secure admin url, don't 500 error

check_secure() would call BSE::Template->get_refresh without loading
BSE::Template, causing a 500 error if something else hadn't already
loaded it.

9 years agonote the last three changes
Tony Cook [Wed, 11 Jan 2012 04:01:53 +0000 (15:01 +1100)]
note the last three changes

9 years agoadd filters to inline iterator
Adrian Oldham [Wed, 11 Jan 2012 03:39:55 +0000 (14:39 +1100)]
add filters to inline iterator

TonyC: add test and bump version

9 years agoadd new video content types
Adrian Oldham [Wed, 11 Jan 2012 03:39:29 +0000 (14:39 +1100)]
add new video content types

TonyC: bump version number

9 years agoadd access to admin tags
Adrian Oldham [Wed, 11 Jan 2012 03:38:57 +0000 (14:38 +1100)]
add access to admin tags

TonyC: bump version number

9 years agonote change for BSE::AdminUsers
Tony Cook [Mon, 9 Jan 2012 04:05:25 +0000 (15:05 +1100)]
note change for BSE::AdminUsers

9 years ago[rt #1234] update BSE::AdminUser to use admin_tags
Tony Cook [Mon, 9 Jan 2012 04:03:40 +0000 (15:03 +1100)]
[rt #1234] update BSE::AdminUser to use admin_tags

9 years agonote the referer change and move some non-bug fixes out of bug fixes
Tony Cook [Fri, 6 Jan 2012 00:42:30 +0000 (11:42 +1100)]
note the referer change and move some non-bug fixes out of bug fixes

9 years agoadd referer tag (all dynamic pages)
Tony Cook [Fri, 6 Jan 2012 00:41:33 +0000 (11:41 +1100)]
add referer tag (all dynamic pages)

9 years agonote the generate.pl template change
Tony Cook [Wed, 4 Jan 2012 01:51:59 +0000 (12:51 +1100)]
note the generate.pl template change

9 years agogenerate.pl now bases verbose output on a template
Tony Cook [Wed, 4 Jan 2012 01:45:32 +0000 (12:45 +1100)]
generate.pl now bases verbose output on a template

9 years agonote the @NO_DELETE change
Tony Cook [Wed, 4 Jan 2012 00:24:01 +0000 (11:24 +1100)]
note the @NO_DELETE change

9 years ago[rt #1209] allow @NO_DELETE in bse.cfg
Tony Cook [Wed, 4 Jan 2012 00:21:37 +0000 (11:21 +1100)]
[rt #1209] allow @NO_DELETE in bse.cfg

Add [undeletable articles] section.  For now this is a supplement, but
@NO_DELETE will be removed in a future release.

9 years agonote the thumb.pl content type change
Tony Cook [Sat, 31 Dec 2011 11:07:27 +0000 (22:07 +1100)]
note the thumb.pl content type change

9 years agodynamically generated thumb content types were image/image/*
Tony Cook [Sat, 31 Dec 2011 11:05:40 +0000 (22:05 +1100)]
dynamically generated thumb content types were image/image/*

test to avoid this reoccuring

9 years ago0.20 release r0.20 v0.20
Tony Cook [Wed, 21 Dec 2011 23:57:43 +0000 (10:57 +1100)]
0.20 release

9 years agonote the removal of checkoutcard and checkoutconfirm
Tony Cook [Tue, 20 Dec 2011 00:45:04 +0000 (11:45 +1100)]
note the removal of checkoutcard and checkoutconfirm

9 years agoremove unused checkoutcard and checkoutconfirm templates
Tony Cook [Tue, 20 Dec 2011 00:43:00 +0000 (11:43 +1100)]
remove unused checkoutcard and checkoutconfirm templates

9 years agodocument DevHelp::Payment::Eway
Tony Cook [Mon, 19 Dec 2011 04:50:27 +0000 (15:50 +1100)]
document DevHelp::Payment::Eway

9 years agochange note for message on dynamic content pages
Tony Cook [Mon, 19 Dec 2011 03:08:08 +0000 (14:08 +1100)]
change note for message on dynamic content pages

9 years agoallow dynamic content pages to display flashed messages
Tony Cook [Mon, 19 Dec 2011 03:06:21 +0000 (14:06 +1100)]
allow dynamic content pages to display flashed messages

9 years agodocument [site].secret
Tony Cook [Fri, 16 Dec 2011 22:34:39 +0000 (09:34 +1100)]
document [site].secret

9 years agofix setting the userid cookie by req_setcookie
Tony Cook [Fri, 16 Dec 2011 22:34:14 +0000 (09:34 +1100)]
fix setting the userid cookie by req_setcookie

When the userid value in the session was changed from storing $user->userId
to storing $user->id req_setcookie wasn't updated to match.

9 years agochange notes for the previous changes
Tony Cook [Fri, 16 Dec 2011 12:29:31 +0000 (23:29 +1100)]
change notes for the previous changes

9 years ago[rt #1279] when logging in (as a siteuser) start a new session object
Tony Cook [Fri, 16 Dec 2011 11:49:17 +0000 (22:49 +1100)]
[rt #1279] when logging in (as a siteuser) start a new session object

This prevents some cookie duplication attacks.

We also do the exchange to the ssl/non-ssl side of the site more
securely.

9 years agoreplace temporary logon/recover password, etc link text from original commits
Tony Cook [Fri, 16 Dec 2011 00:28:14 +0000 (11:28 +1100)]
replace temporary logon/recover password, etc link text from original commits

9 years agodelete the session data from the database when a member logs off
Tony Cook [Thu, 15 Dec 2011 09:59:02 +0000 (20:59 +1100)]
delete the session data from the database when a member logs off

9 years agoadd a user to order mapping for the delivery email address
Tony Cook [Wed, 14 Dec 2011 12:32:23 +0000 (23:32 +1100)]
add a user to order mapping for the delivery email address

9 years agonote the RT #1280 fix
Tony Cook [Wed, 14 Dec 2011 12:00:06 +0000 (23:00 +1100)]
note the RT #1280 fix

9 years ago[rt #1280] remove entry for old unimplemented confirm shop action
Tony Cook [Wed, 14 Dec 2011 11:58:33 +0000 (22:58 +1100)]
[rt #1280] remove entry for old unimplemented confirm shop action

Caused a 500 when called.

9 years agofix checkout with no logon, and the mapping for phone numbers
Tony Cook [Wed, 14 Dec 2011 07:46:06 +0000 (18:46 +1100)]
fix checkout with no logon, and the mapping for phone numbers

9 years agorefactor the site_users table into bse_siteusers
Tony Cook [Wed, 14 Dec 2011 05:18:59 +0000 (16:18 +1100)]
refactor the site_users table into bse_siteusers

9 years agoinitialize address fields from the user when calculating shipping costs
Tony Cook [Mon, 12 Dec 2011 23:29:19 +0000 (10:29 +1100)]
initialize address fields from the user when calculating shipping costs

broken by an optimization when re-working the address fields

9 years agostore a truncated card number on credit card transactions
Tony Cook [Thu, 8 Dec 2011 03:50:02 +0000 (14:50 +1100)]
store a truncated card number on credit card transactions

We no longer store the card number hash.

We again store the cardHolder, but the payment field name is now ccName.

9 years agowe no longer accept site user field names for required_fields or checkout
Tony Cook [Wed, 7 Dec 2011 11:29:46 +0000 (22:29 +1100)]
we no longer accept site user field names for required_fields or checkout

This means required_fields needs to return the current field names,
which may mean some Custom.pm needs to be updated.

This also includes some temporary hackery so that the delivMobile is
populated with nothing rather than the main mobile field from the user
record.

9 years agorevert broken checkout template changes
Tony Cook [Wed, 7 Dec 2011 10:14:37 +0000 (21:14 +1100)]
revert broken checkout template changes

9 years agoadd ifNeedDelivery tag which tracks state of the need_delivery checkbox
Tony Cook [Wed, 7 Dec 2011 07:35:25 +0000 (18:35 +1100)]
add ifNeedDelivery tag which tracks state of the need_delivery checkbox

9 years agoremove delivState from the need_delivery required fields list
Tony Cook [Wed, 7 Dec 2011 05:53:18 +0000 (16:53 +1100)]
remove delivState from the need_delivery required fields list

9 years agomap telephone numbers into the billing fields
Tony Cook [Wed, 7 Dec 2011 02:59:45 +0000 (13:59 +1100)]
map telephone numbers into the billing fields

This is a bit of a hack, since it maps the user delivMobile field into
the order billMobile field.

9 years agoadd eway credit card driver and shop integration
Tony Cook [Mon, 28 Nov 2011 03:49:33 +0000 (14:49 +1100)]
add eway credit card driver and shop integration

9 years agomake the billing address the primary address for orders, checkout
Tony Cook [Tue, 6 Dec 2011 23:52:01 +0000 (10:52 +1100)]
make the billing address the primary address for orders, checkout

9 years agomake pregenerated pages (but not extras.txt pages) dynamic
Tony Cook [Thu, 10 Nov 2011 23:08:12 +0000 (10:08 +1100)]
make pregenerated pages (but not extras.txt pages) dynamic

Bug introduced in the pregen re-work

9 years agodefault the from date for order display to 30 days ago
Tony Cook [Tue, 1 Nov 2011 23:08:48 +0000 (10:08 +1100)]
default the from date for order display to 30 days ago

10 years agomake sure common validation is inherited for products
Tony Cook [Sun, 23 Oct 2011 04:08:33 +0000 (15:08 +1100)]
make sure common validation is inherited for products

10 years agohandle use of dboptions and group access checks on a new product page
Tony Cook [Sat, 22 Oct 2011 00:08:55 +0000 (11:08 +1100)]
handle use of dboptions and group access checks on a new product page

10 years agoallow new values to be added on the product option edit page
Tony Cook [Mon, 17 Oct 2011 08:48:07 +0000 (19:48 +1100)]
allow new values to be added on the product option edit page

10 years agoallow errors to specify an alternate page display method
Tony Cook [Mon, 17 Oct 2011 08:47:38 +0000 (19:47 +1100)]
allow errors to specify an alternate page display method