]> git.imager.perl.org - bse.git/log
bse.git
10 years agoadd numerous html5 formatter tags
Adrian Oldham [Fri, 18 Oct 2013 11:15:31 +0000 (22:15 +1100)]
add numerous html5 formatter tags

10 years agofix the reordering links and add a shuffle options
Tony Cook [Sat, 2 Nov 2013 00:43:18 +0000 (11:43 +1100)]
fix the reordering links and add a shuffle options

10 years agomake the mover macro check user rights
Tony Cook [Sat, 2 Nov 2013 00:43:04 +0000 (11:43 +1100)]
make the mover macro check user rights

10 years agoimplement a thumbnail method for rendering article thumbs
Tony Cook [Sat, 2 Nov 2013 00:40:34 +0000 (11:40 +1100)]
implement a thumbnail method for rendering article thumbs

10 years agomake the request object available through the generator object
Tony Cook [Sat, 2 Nov 2013 00:39:40 +0000 (11:39 +1100)]
make the request object available through the generator object

for first pass template processing

10 years agouse the correct variable name holding the dist images uri
Tony Cook [Sat, 2 Nov 2013 00:33:30 +0000 (11:33 +1100)]
use the correct variable name holding the dist images uri

10 years agoallow a sort specification of "shuffle"
Tony Cook [Fri, 1 Nov 2013 00:25:35 +0000 (11:25 +1100)]
allow a sort specification of "shuffle"

10 years agoadd shuffle to the array wrapper class
Tony Cook [Sun, 27 Oct 2013 02:32:57 +0000 (13:32 +1100)]
add shuffle to the array wrapper class

10 years agodon't strip _ and - from linkAlias in the importer
Tony Cook [Thu, 24 Oct 2013 23:31:27 +0000 (10:31 +1100)]
don't strip _ and - from linkAlias in the importer

10 years agounbreak product custom fields
Tony Cook [Wed, 11 Sep 2013 10:39:15 +0000 (20:39 +1000)]
unbreak product custom fields

10 years agofix handling of date custom fields
Tony Cook [Wed, 11 Sep 2013 09:54:12 +0000 (19:54 +1000)]
fix handling of date custom fields

10 years agofix some POD issues in BSE::Edit::Product
Tony Cook [Fri, 6 Sep 2013 11:01:34 +0000 (21:01 +1000)]
fix some POD issues in BSE::Edit::Product

10 years agofix some tag method issues:
Tony Cook [Fri, 6 Sep 2013 11:01:19 +0000 (21:01 +1000)]
fix some tag method issues:

 - tag_ids returned a tag count rather than the ids

 - allow collection_with_tags to work on the all_visible_products
   collection

10 years agopage.pl now returns a 404 error if the article id/alias isn't found
Tony Cook [Wed, 14 Aug 2013 22:40:13 +0000 (08:40 +1000)]
page.pl now returns a 404 error if the article id/alias isn't found

10 years agoavoid an undefined value warning if there's no title suffix
Tony Cook [Wed, 14 Aug 2013 22:39:52 +0000 (08:39 +1000)]
avoid an undefined value warning if there's no title suffix

10 years agoreplace non-alphanumeric with - instead of (non-replacement|underscore)
Tony Cook [Wed, 14 Aug 2013 22:36:11 +0000 (08:36 +1000)]
replace non-alphanumeric with - instead of (non-replacement|underscore)

10 years agoglobal files and image no longer require a name/identifier
Tony Cook [Sat, 10 Aug 2013 04:16:03 +0000 (14:16 +1000)]
global files and image no longer require a name/identifier

10 years agoupdate Changes.txt
Tony Cook [Mon, 22 Jul 2013 10:44:30 +0000 (20:44 +1000)]
update Changes.txt

10 years agocoupons support for the BSE shop
Tony Cook [Mon, 22 Jul 2013 00:42:45 +0000 (10:42 +1000)]
coupons support for the BSE shop

This also makes many non-coupon changes to the cart and shop handling.

10 years agoadd a need_delivery variable
Tony Cook [Fri, 12 Jul 2013 13:12:40 +0000 (23:12 +1000)]
add a need_delivery variable

10 years agolots of order and cart updates
Tony Cook [Thu, 11 Jul 2013 10:43:49 +0000 (20:43 +1000)]
lots of order and cart updates

10 years agofix an error in mailconfirm.tmpl
Tony Cook [Mon, 8 Jul 2013 08:50:58 +0000 (18:50 +1000)]
fix an error in mailconfirm.tmpl

10 years agofix a typo and remove the duplicate number function
Tony Cook [Mon, 8 Jul 2013 08:50:41 +0000 (18:50 +1000)]
fix a typo and remove the duplicate number function

10 years agotreat untiered as if it were tier #0
Tony Cook [Thu, 4 Jul 2013 08:47:10 +0000 (18:47 +1000)]
treat untiered as if it were tier #0

10 years agoon the shipped email too
Tony Cook [Wed, 3 Jul 2013 14:16:46 +0000 (00:16 +1000)]
on the shipped email too

10 years agomake the order variable available to the two purchase time mail templates
Tony Cook [Wed, 3 Jul 2013 14:13:36 +0000 (00:13 +1000)]
make the order variable available to the two purchase time mail templates

10 years agohandle existing order payments properly
Tony Cook [Tue, 2 Jul 2013 12:56:03 +0000 (22:56 +1000)]
handle existing order payments properly

10 years agoused coupons are no longer deletable nor renamable
Tony Cook [Tue, 2 Jul 2013 11:29:11 +0000 (21:29 +1000)]
used coupons are no longer deletable nor renamable

This makes incompatible changes to the orders table you need to run:

alter table orders drop coupon_code, drop coupon_code_discount_pc;

before updating the database

10 years agomake the order variable available on the user order detail page
Tony Cook [Sun, 30 Jun 2013 02:17:58 +0000 (12:17 +1000)]
make the order variable available on the user order detail page

10 years agodon't crash removing tiers from a coupon
Tony Cook [Sun, 30 Jun 2013 02:12:56 +0000 (12:12 +1000)]
don't crash removing tiers from a coupon

10 years agoavoid using a non-existent custom state
Tony Cook [Fri, 28 Jun 2013 05:18:19 +0000 (15:18 +1000)]
avoid using a non-existent custom state

10 years agochange coupon management log levels to notice
Tony Cook [Thu, 27 Jun 2013 13:51:21 +0000 (23:51 +1000)]
change coupon management log levels to notice

10 years agodon't use the delete action as the csrfp fallback for the delete action
Tony Cook [Thu, 27 Jun 2013 13:50:52 +0000 (23:50 +1000)]
don't use the delete action as the csrfp fallback for the delete action

and add checks to make sure we don't do it in future (the default action
shouldn't ever require csrfp)

10 years agofix a nesting error in the inlinefield macro
Tony Cook [Thu, 27 Jun 2013 04:32:56 +0000 (14:32 +1000)]
fix a nesting error in the inlinefield macro

10 years agoadd audit logging for coupon management functions
Tony Cook [Fri, 14 Jun 2013 00:25:06 +0000 (10:25 +1000)]
add audit logging for coupon management functions

10 years agouse canonical key ordering for dumped json
Tony Cook [Fri, 14 Jun 2013 00:24:47 +0000 (10:24 +1000)]
use canonical key ordering for dumped json

this makes comparing old and new values simpler

10 years agoconvert dates to a canonical form when processing CGI fields
Tony Cook [Fri, 14 Jun 2013 00:23:21 +0000 (10:23 +1000)]
convert dates to a canonical form when processing CGI fields

10 years agoupdate order detail page with coupon code and discount info
Tony Cook [Thu, 13 Jun 2013 05:20:10 +0000 (15:20 +1000)]
update order detail page with coupon code and discount info

10 years agocoupon orders report
Tony Cook [Thu, 13 Jun 2013 05:19:49 +0000 (15:19 +1000)]
coupon orders report

10 years agofix the product list link to the order list
Tony Cook [Thu, 13 Jun 2013 05:19:27 +0000 (15:19 +1000)]
fix the product list link to the order list

10 years agocoupon code processing from cart to order final
Tony Cook [Thu, 13 Jun 2013 01:20:35 +0000 (11:20 +1000)]
coupon code processing from cart to order final

This includes a lot of internal shop changes

10 years agolink to coupon management from the shop admin page
Tony Cook [Thu, 13 Jun 2013 01:20:01 +0000 (11:20 +1000)]
link to coupon management from the shop admin page

10 years agoavoid an uninitialized warning from BSE::UI on redirects
Tony Cook [Thu, 13 Jun 2013 01:18:06 +0000 (11:18 +1000)]
avoid an uninitialized warning from BSE::UI on redirects

10 years agorename coupon_discount to match the method in BSE::Cart
Tony Cook [Thu, 13 Jun 2013 01:17:24 +0000 (11:17 +1000)]
rename coupon_discount to match the method in BSE::Cart

for improved compat between the two

10 years agocoupon admin, cart, checkout, payment form
Tony Cook [Tue, 11 Jun 2013 00:40:57 +0000 (10:40 +1000)]
coupon admin, cart, checkout, payment form

10 years agomove a lot of cart logic to the cart object
Tony Cook [Tue, 4 Jun 2013 00:24:27 +0000 (10:24 +1000)]
move a lot of cart logic to the cart object

still more to go though

10 years agopass the dbh when validating custom fields, not just on config
Tony Cook [Sun, 21 Jul 2013 23:33:37 +0000 (09:33 +1000)]
pass the dbh when validating custom fields, not just on config

10 years agohandle at least select custom article fields
Tony Cook [Sun, 21 Jul 2013 03:07:49 +0000 (13:07 +1000)]
handle at least select custom article fields

10 years agomake the errors variable available to the article edit form
Tony Cook [Mon, 8 Jul 2013 08:43:52 +0000 (18:43 +1000)]
make the errors variable available to the article edit form

10 years agoadd expand_tag_deps() to tag owners (such as articles)
Tony Cook [Fri, 21 Jun 2013 11:33:51 +0000 (21:33 +1000)]
add expand_tag_deps() to tag owners (such as articles)

10 years agoadd fix_tag_deps() to BSE::TB::TagOwners (hence to articles)
Tony Cook [Fri, 21 Jun 2013 06:17:32 +0000 (16:17 +1000)]
add fix_tag_deps() to BSE::TB::TagOwners (hence to articles)

10 years agoallow the class used for image[] tags to be configured
Tony Cook [Thu, 20 Jun 2013 09:10:44 +0000 (19:10 +1000)]
allow the class used for image[] tags to be configured

10 years agofix some pod errors
Tony Cook [Thu, 20 Jun 2013 08:50:24 +0000 (18:50 +1000)]
fix some pod errors

10 years agosupply an output column list in site_users_to_member.sql
Tony Cook [Mon, 17 Jun 2013 11:36:42 +0000 (21:36 +1000)]
supply an output column list in site_users_to_member.sql

otherwise SQL assumes all columns in the table, which will be incorrect
as we add columns to bse_siteusers.

10 years agoadd a file_by_name method to the article and site objects
Tony Cook [Mon, 17 Jun 2013 01:43:07 +0000 (11:43 +1000)]
add a file_by_name method to the article and site objects

10 years agoimplement .wrap for templates
Tony Cook [Fri, 14 Jun 2013 05:53:42 +0000 (15:53 +1000)]
implement .wrap for templates

10 years agoadd bse.number(), similar to the number tag
Tony Cook [Tue, 11 Jun 2013 00:39:34 +0000 (10:39 +1000)]
add bse.number(), similar to the number tag

10 years agoadmin.css whitespace clean-up
Tony Cook [Fri, 7 Jun 2013 01:40:40 +0000 (11:40 +1000)]
admin.css whitespace clean-up

10 years agostyle more form fields
Tony Cook [Fri, 7 Jun 2013 01:40:17 +0000 (11:40 +1000)]
style more form fields

10 years ago(finally) style messages
Tony Cook [Fri, 7 Jun 2013 01:40:03 +0000 (11:40 +1000)]
(finally) style messages

10 years agochange shop.(pl|fcgi) to use BSE::UI for better error reporting
Tony Cook [Tue, 4 Jun 2013 00:23:06 +0000 (10:23 +1000)]
change shop.(pl|fcgi) to use BSE::UI for better error reporting

and move the docs to BSE::UI::Shop

10 years agore-work preload.tmpl and write basic documentation
Tony Cook [Fri, 31 May 2013 09:42:48 +0000 (19:42 +1000)]
re-work preload.tmpl and write basic documentation

10 years agodefine a real error_img macro
Tony Cook [Fri, 31 May 2013 08:54:55 +0000 (18:54 +1000)]
define a real error_img macro

This no longer relies on the error_img tag

10 years agoadd rule mechanisms for real number validation
Tony Cook [Fri, 31 May 2013 08:46:41 +0000 (18:46 +1000)]
add rule mechanisms for real number validation

10 years agoadd defined methods to hashes and lists, and exists to hashes
Tony Cook [Fri, 31 May 2013 07:58:13 +0000 (17:58 +1000)]
add defined methods to hashes and lists, and exists to hashes

10 years agominimal tests for parse time expression errors and some fixes
Tony Cook [Fri, 31 May 2013 07:55:57 +0000 (17:55 +1000)]
minimal tests for parse time expression errors and some fixes

10 years agotranslate and quote column names supplied in order to getBy2() etc
Tony Cook [Fri, 31 May 2013 06:11:16 +0000 (16:11 +1000)]
translate and quote column names supplied in order to getBy2() etc

10 years agoquote column names in generated insert and update SQL
Tony Cook [Fri, 31 May 2013 04:11:49 +0000 (14:11 +1000)]
quote column names in generated insert and update SQL

10 years agoimporter: only modify the price tiers that have mapped columns
Tony Cook [Tue, 28 May 2013 05:37:42 +0000 (15:37 +1000)]
importer: only modify the price tiers that have mapped columns

10 years agoadd tool to hash unhashed site and admin user passwords
Tony Cook [Mon, 27 May 2013 06:01:35 +0000 (16:01 +1000)]
add tool to hash unhashed site and admin user passwords

10 years agoadd a save hook for saving site users from admin
Tony Cook [Fri, 24 May 2013 05:31:58 +0000 (15:31 +1000)]
add a save hook for saving site users from admin

10 years agoupdate tests to skip when optional modules aren't available
Tony Cook [Mon, 20 May 2013 05:20:20 +0000 (15:20 +1000)]
update tests to skip when optional modules aren't available

10 years agoupdate the required modules list
Tony Cook [Mon, 20 May 2013 05:19:57 +0000 (15:19 +1000)]
update the required modules list

10 years agoadd missing |raw for thumbnail display on image edit page
Tony Cook [Fri, 17 May 2013 05:14:45 +0000 (15:14 +1000)]
add missing |raw for thumbnail display on image edit page

10 years agofileadd: report success and failure with JSON under Ajax
Tony Cook [Fri, 17 May 2013 05:14:12 +0000 (15:14 +1000)]
fileadd: report success and failure with JSON under Ajax

10 years agoproperly quote identifiers for generated SQL
Tony Cook [Mon, 13 May 2013 10:58:23 +0000 (20:58 +1000)]
properly quote identifiers for generated SQL

10 years agoadd the bse.json() function
Tony Cook [Mon, 13 May 2013 10:58:02 +0000 (20:58 +1000)]
add the bse.json() function

11 years agodon't render the image link when displaying thumbs in the editor
Tony Cook [Thu, 9 May 2013 01:43:51 +0000 (11:43 +1000)]
don't render the image link when displaying thumbs in the editor

11 years agosimplify testing module syntax
Tony Cook [Thu, 2 May 2013 04:43:35 +0000 (14:43 +1000)]
simplify testing module syntax

11 years agoadd some filtered ancestor accessors
Tony Cook [Thu, 2 May 2013 04:43:19 +0000 (14:43 +1000)]
add some filtered ancestor accessors

11 years agouse the ancestor accessor to make crumbs
Tony Cook [Thu, 2 May 2013 04:42:56 +0000 (14:42 +1000)]
use the ancestor accessor to make crumbs

11 years agouse Test::More's skip
Tony Cook [Thu, 2 May 2013 04:41:45 +0000 (14:41 +1000)]
use Test::More's skip

11 years agoUI sample for calling reorder.pl from JS
Tony Cook [Mon, 29 Apr 2013 09:37:19 +0000 (19:37 +1000)]
UI sample for calling reorder.pl from JS

11 years agomodernize, fix and better document reorder.pl
Tony Cook [Mon, 29 Apr 2013 09:37:02 +0000 (19:37 +1000)]
modernize, fix and better document reorder.pl

11 years agoonly add UI to tags if we have them
Tony Cook [Mon, 29 Apr 2013 09:36:27 +0000 (19:36 +1000)]
only add UI to tags if we have them

11 years agoflash a notice on article deletion
Tony Cook [Tue, 16 Apr 2013 23:47:41 +0000 (09:47 +1000)]
flash a notice on article deletion

(instead of posting it as a "message" parameter)

The message is *always* flashed, even with a caller supplied URL

11 years agoinclude the dist version of install.cfg in the manifest, not live
Tony Cook [Mon, 15 Apr 2013 00:43:21 +0000 (10:43 +1000)]
include the dist version of install.cfg in the manifest, not live

11 years agore-work installation to use a bse.cfg style file
Tony Cook [Sun, 7 Apr 2013 23:57:09 +0000 (09:57 +1000)]
re-work installation to use a bse.cfg style file

11 years agoimporter improvements:
Tony Cook [Mon, 8 Apr 2013 00:55:03 +0000 (10:55 +1000)]
importer improvements:

 - update_only
 - CSV source
 - file imports
 - tests!

11 years agoworkaround a CGI.pm handle() limitation
Tony Cook [Mon, 8 Apr 2013 00:26:03 +0000 (10:26 +1000)]
workaround a CGI.pm handle() limitation

11 years agodisplay basic metadata for articles
Tony Cook [Fri, 5 Apr 2013 10:22:44 +0000 (21:22 +1100)]
display basic metadata for articles

11 years agomake the importer web UI supply an actor to the importer object
Tony Cook [Fri, 5 Apr 2013 10:22:22 +0000 (21:22 +1100)]
make the importer web UI supply an actor to the importer object

11 years agoactually initialize the importer actor property
Tony Cook [Fri, 5 Apr 2013 10:21:53 +0000 (21:21 +1100)]
actually initialize the importer actor property

11 years agoset lastModifiedBy and createdBy sanely for imported articles
Tony Cook [Fri, 5 Apr 2013 10:21:26 +0000 (21:21 +1100)]
set lastModifiedBy and createdBy sanely for imported articles

at least for the web UI

11 years agomake error_img handle non reference $error gracefully
Tony Cook [Fri, 5 Apr 2013 10:20:36 +0000 (21:20 +1100)]
make error_img handle non reference $error gracefully

11 years agopass a real file handle through to the importer rather than the CGI bleh
Tony Cook [Fri, 5 Apr 2013 10:20:02 +0000 (21:20 +1100)]
pass a real file handle through to the importer rather than the CGI bleh

11 years agouse the same default expire date for API created articles as the editor
Tony Cook [Fri, 5 Apr 2013 10:18:42 +0000 (21:18 +1100)]
use the same default expire date for API created articles as the editor

11 years agofix the CSV source to accept input from a file handle
Tony Cook [Fri, 5 Apr 2013 10:17:37 +0000 (21:17 +1100)]
fix the CSV source to accept input from a file handle

This fixes it for use from the web UI

11 years agodocument sources work with file handles too
Tony Cook [Fri, 5 Apr 2013 10:16:50 +0000 (21:16 +1100)]
document sources work with file handles too

11 years agouse common code to update modification details for an article
Tony Cook [Fri, 5 Apr 2013 09:38:39 +0000 (20:38 +1100)]
use common code to update modification details for an article