]> git.imager.perl.org - bse.git/log
bse.git
11 years agoignore the unescaped <> warning
Tony Cook [Thu, 9 Aug 2012 03:04:09 +0000 (13:04 +1000)]
ignore the unescaped <> warning

11 years agotest we don't go backwards on POD errors
Tony Cook [Tue, 7 Aug 2012 10:28:53 +0000 (20:28 +1000)]
test we don't go backwards on POD errors

11 years agoupdate change notes
Tony Cook [Thu, 2 Aug 2012 06:54:34 +0000 (16:54 +1000)]
update change notes

11 years agodocumentation fixes and improvements
Tony Cook [Thu, 2 Aug 2012 06:54:25 +0000 (16:54 +1000)]
documentation fixes and improvements

11 years agoadd a test (that currently TODOs) to test for pod syntax
Tony Cook [Thu, 2 Aug 2012 06:49:28 +0000 (16:49 +1000)]
add a test (that currently TODOs) to test for pod syntax

11 years agoadd a target to build HTML documentation from all pod
Tony Cook [Thu, 2 Aug 2012 06:49:04 +0000 (16:49 +1000)]
add a target to build HTML documentation from all pod

This needs a better index, and better CSS, but one step at a time

11 years agoremove obsolete and unused Order modules
Tony Cook [Thu, 2 Aug 2012 06:02:22 +0000 (16:02 +1000)]
remove obsolete and unused Order modules

These have been BSE::TB::* for years

11 years agodocument the imageclean.pl targets
Tony Cook [Thu, 2 Aug 2012 03:56:31 +0000 (13:56 +1000)]
document the imageclean.pl targets

11 years agofill out the image clean intro page
Tony Cook [Thu, 2 Aug 2012 03:56:17 +0000 (13:56 +1000)]
fill out the image clean intro page

11 years agoupdate Changes.txt up to b368043
Tony Cook [Thu, 2 Aug 2012 03:31:38 +0000 (13:31 +1000)]
update Changes.txt up to b368043

11 years agothe -b option takes a parameter
Tony Cook [Wed, 1 Aug 2012 09:48:34 +0000 (19:48 +1000)]
the -b option takes a parameter

11 years ago[rt #1358] revamp imageclean.pl
Tony Cook [Wed, 1 Aug 2012 07:34:35 +0000 (17:34 +1000)]
[rt #1358] revamp imageclean.pl

- now uses a template for display

- provides a preview of the work to be done

- adds a command-line tool

- allows selection of files to remove (web UI)

- the web UI is now access controlled

11 years agoadd BSE::Console as a framework tool for console apps
Tony Cook [Wed, 1 Aug 2012 06:40:15 +0000 (16:40 +1000)]
add BSE::Console as a framework tool for console apps

It doesn't do much yet, but gives access to the message catalog.

11 years agowhen selecting alternate languages allow for .charset on a lang id
Tony Cook [Wed, 1 Aug 2012 06:39:11 +0000 (16:39 +1000)]
when selecting alternate languages allow for .charset on a lang id

eg. en_AU.utf8 would only search for exactly that rather than the
desired en_AU.utf, en_AU and en.

11 years agoadd iterateBy() to Squirrel::Table to iterate over result sets
Tony Cook [Wed, 1 Aug 2012 06:38:07 +0000 (16:38 +1000)]
add iterateBy() to Squirrel::Table to iterate over result sets

The intent here is to allow low memory iteration over large
result sets without having to either load all objects or all ids
into memory.

11 years agoquote column names used in generated queries
Tony Cook [Wed, 1 Aug 2012 06:36:42 +0000 (16:36 +1000)]
quote column names used in generated queries

This uses the quote character(s) specified by the DBD

11 years agoadd some docs to Squirrel::Table
Tony Cook [Wed, 1 Aug 2012 06:35:22 +0000 (16:35 +1000)]
add some docs to Squirrel::Table

11 years agoprovide a mechanism to trace some ENOIMPL messages
Tony Cook [Wed, 1 Aug 2012 06:33:49 +0000 (16:33 +1000)]
provide a mechanism to trace some ENOIMPL messages

This should make it simpler to track down why some tags aren't replaced

11 years agothe tags tests were missing from the manifest, add them
Tony Cook [Wed, 1 Aug 2012 06:32:42 +0000 (16:32 +1000)]
the tags tests were missing from the manifest, add them

11 years agotest the article/site add_file() method
Tony Cook [Sat, 28 Jul 2012 05:49:46 +0000 (15:49 +1000)]
test the article/site add_file() method

11 years agocfg_data_dir() now validates the configured value
Tony Cook [Sat, 28 Jul 2012 05:46:46 +0000 (15:46 +1000)]
cfg_data_dir() now validates the configured value

also fixed the default config in bse.cfg

11 years agohandle lack of DBM::Deep a bit better
Tony Cook [Sat, 28 Jul 2012 05:42:40 +0000 (15:42 +1000)]
handle lack of DBM::Deep a bit better

11 years agoupdate installed scripts with the configured perl
Tony Cook [Thu, 26 Jul 2012 11:14:07 +0000 (21:14 +1000)]
update installed scripts with the configured perl

Also fixed deps to allow tests to run, and adjusted some
test scripts to skip if their deps aren't available.

11 years agoconsistently load the managed images directory from the config file
Tony Cook [Thu, 26 Jul 2012 08:56:18 +0000 (18:56 +1000)]
consistently load the managed images directory from the config file

Previously it was handled inconsistently.

This also consistently uses the images uri configured in the config file.

You can also configure a separate base uri for the images included with
BSE as [uri].dist_images.

DATADIR is also now configurable as [paths].data

11 years agot10edit.t now cleans up the article it creates
Tony Cook [Thu, 26 Jul 2012 07:07:10 +0000 (17:07 +1000)]
t10edit.t now cleans up the article it creates

11 years agot40images.t now removes the article it creates
Tony Cook [Thu, 26 Jul 2012 06:37:49 +0000 (16:37 +1000)]
t40images.t now removes the article it creates

11 years agotest loading of search index modules
Tony Cook [Thu, 26 Jul 2012 05:34:22 +0000 (15:34 +1000)]
test loading of search index modules

11 years agoallow the search index depth to be configured in bse.cfg
Tony Cook [Thu, 26 Jul 2012 05:33:59 +0000 (15:33 +1000)]
allow the search index depth to be configured in bse.cfg

Previously only configurable in Constants.pm

11 years agodrop the tag category tables on a fresh install
Tony Cook [Thu, 26 Jul 2012 05:20:31 +0000 (15:20 +1000)]
drop the tag category tables on a fresh install

previously we'd error attempting to create them over themselves

11 years agoSquirrel::ImageEditor is unused, remove it
Tony Cook [Wed, 25 Jul 2012 06:32:10 +0000 (16:32 +1000)]
Squirrel::ImageEditor is unused, remove it

11 years agothe AdminUtil module is unused, remove it
Tony Cook [Wed, 25 Jul 2012 05:59:59 +0000 (15:59 +1000)]
the AdminUtil module is unused, remove it

11 years agodocument [basic].all_dynamic
Tony Cook [Thu, 19 Jul 2012 08:55:32 +0000 (18:55 +1000)]
document [basic].all_dynamic

11 years agosort [basic] entries by name
Tony Cook [Thu, 19 Jul 2012 08:44:44 +0000 (18:44 +1000)]
sort [basic] entries by name

11 years agoorder payment would fail if the CC fields weren't present
Tony Cook [Thu, 19 Jul 2012 04:50:50 +0000 (14:50 +1000)]
order payment would fail if the CC fields weren't present

11 years agoadd a test for <:if !Foo:> (with the space after if)
Tony Cook [Thu, 19 Jul 2012 04:48:22 +0000 (14:48 +1000)]
add a test for <:if !Foo:> (with the space after if)

11 years agoteach admin.pl how to pass admin mode to bse.* variables
Tony Cook [Wed, 4 Jul 2012 13:07:00 +0000 (23:07 +1000)]
teach admin.pl how to pass admin mode to bse.* variables

11 years agochange note for b6a28bd17 da08a72b5
Tony Cook [Wed, 4 Jul 2012 01:53:58 +0000 (11:53 +1000)]
change note for b6a28bd17 da08a72b5

11 years agomake the article and product collections visible as bse. variables
Tony Cook [Wed, 4 Jul 2012 01:50:43 +0000 (11:50 +1000)]
make the article and product collections visible as bse. variables

11 years agomake some tag processing visible as article methods
Tony Cook [Wed, 4 Jul 2012 01:50:23 +0000 (11:50 +1000)]
make some tag processing visible as article methods

Unfortunately naming between old-style tag processing and collection
methods isn't in sync so back integration is non-trivial

11 years agofix TODO test to test for the right thing
Tony Cook [Mon, 2 Jul 2012 04:50:04 +0000 (14:50 +1000)]
fix TODO test to test for the right thing

11 years agochange note for 7c11c1950fe0
Tony Cook [Tue, 26 Jun 2012 01:32:39 +0000 (11:32 +1000)]
change note for 7c11c1950fe0

11 years ago.set treated unimplemented values as an error
Tony Cook [Tue, 26 Jun 2012 01:23:04 +0000 (11:23 +1000)]
.set treated unimplemented values as an error

11 years agothe previous caching fix was badly broken
Tony Cook [Sun, 24 Jun 2012 01:06:58 +0000 (11:06 +1000)]
the previous caching fix was badly broken

one character fix.

11 years agochange notes for cb0f8be6 and d0fd63d7
Tony Cook [Fri, 22 Jun 2012 05:26:30 +0000 (15:26 +1000)]
change notes for cb0f8be6 and d0fd63d7

11 years ago[rt #1353] cache SQL statement lookups from the database
Tony Cook [Fri, 22 Jun 2012 05:22:55 +0000 (15:22 +1000)]
[rt #1353] cache SQL statement lookups from the database

including caching not found SQL so we can fallback to the generated
SQL more quickly.

11 years agoMerge branch 'tagcats'
Tony Cook [Thu, 21 Jun 2012 06:46:09 +0000 (16:46 +1000)]
Merge branch 'tagcats'

11 years agouse the new common tag categorization code for old style tagging
Tony Cook [Mon, 18 Jun 2012 04:08:59 +0000 (14:08 +1000)]
use the new common tag categorization code for old style tagging

11 years agotest the updated categorize_tags()
Tony Cook [Mon, 18 Jun 2012 03:53:28 +0000 (13:53 +1000)]
test the updated categorize_tags()

11 years agohoist the page list into preload.tmpl
Tony Cook [Fri, 15 Jun 2012 01:46:29 +0000 (11:46 +1000)]
hoist the page list into preload.tmpl

reduces hate from building page list displays

11 years agoallow filtering the tag category list
Tony Cook [Fri, 15 Jun 2012 01:45:43 +0000 (11:45 +1000)]
allow filtering the tag category list

11 years agoreturn the category list as names rather than single element hashes
Tony Cook [Fri, 15 Jun 2012 01:45:11 +0000 (11:45 +1000)]
return the category list as names rather than single element hashes

11 years agoadd JS interface and some fixes
Tony Cook [Fri, 15 Jun 2012 00:36:55 +0000 (10:36 +1000)]
add JS interface and some fixes

11 years agoimplement tag category management
Tony Cook [Thu, 14 Jun 2012 06:04:13 +0000 (16:04 +1000)]
implement tag category management

11 years agoproperly order the options returned by db_options()
Tony Cook [Wed, 20 Jun 2012 04:42:43 +0000 (14:42 +1000)]
properly order the options returned by db_options()

11 years agouse the newer C<engine => syntax to set table engines
Tony Cook [Mon, 18 Jun 2012 06:51:07 +0000 (16:51 +1000)]
use the newer C<engine => syntax to set table engines

11 years agoallow no ws after <:= and <:%
Tony Cook [Fri, 15 Jun 2012 01:36:40 +0000 (11:36 +1000)]
allow no ws after <:= and <:%

<:=foo:> and <:%foo:> would return a confusing error.

11 years agoallow .call to contain newlines
Tony Cook [Fri, 15 Jun 2012 01:25:34 +0000 (11:25 +1000)]
allow .call to contain newlines

11 years agochange notes for recent commits
Tony Cook [Mon, 11 Jun 2012 06:13:14 +0000 (16:13 +1000)]
change notes for recent commits

11 years agoallow in memory caching of templates
Tony Cook [Mon, 11 Jun 2012 06:12:56 +0000 (16:12 +1000)]
allow in memory caching of templates

11 years agouse title when description isn't set
Tony Cook [Mon, 11 Jun 2012 05:25:49 +0000 (15:25 +1000)]
use title when description isn't set

11 years agoimplement generate() in terms of baseActs()
Tony Cook [Mon, 11 Jun 2012 05:13:31 +0000 (15:13 +1000)]
implement generate() in terms of baseActs()

This may allow caching of the compiled template.

11 years ago[rt #1341] make the catalog generate_low() into a baseActs().
Tony Cook [Mon, 11 Jun 2012 05:12:58 +0000 (15:12 +1000)]
[rt #1341] make the catalog generate_low() into a baseActs().

As it should be.

This allows the base class generate() to implement in terms of baseActs() and
possibly improve performance.

11 years agoBe less strict on the shop page context check
Tony Cook [Mon, 11 Jun 2012 05:00:23 +0000 (15:00 +1000)]
Be less strict on the shop page context check

11 years agotreat <:embed start:> and <:embed end:> as no-ops
Tony Cook [Mon, 11 Jun 2012 04:52:12 +0000 (14:52 +1000)]
treat <:embed start:> and <:embed end:> as no-ops

a coming commit will make this useful

11 years agotest loading a few more modules
Tony Cook [Mon, 11 Jun 2012 04:51:15 +0000 (14:51 +1000)]
test loading a few more modules

11 years ago0.22 release r0.22 v0.22
Tony Cook [Fri, 8 Jun 2012 01:52:37 +0000 (11:52 +1000)]
0.22 release

11 years agochange note for 49cca15
Tony Cook [Fri, 8 Jun 2012 00:30:48 +0000 (10:30 +1000)]
change note for 49cca15

11 years ago[rt #1351] allow single siteuser edit/view to access a userId aas well as id
Tony Cook [Fri, 8 Jun 2012 00:28:01 +0000 (10:28 +1000)]
[rt #1351] allow single siteuser edit/view to access a userId aas well as id

11 years agoallow dummy shipping methods to be selected when shipping disabled
Tony Cook [Wed, 30 May 2012 12:46:27 +0000 (22:46 +1000)]
allow dummy shipping methods to be selected when shipping disabled

11 years agoadd extraargs parameter to bse.url()
Tony Cook [Wed, 30 May 2012 01:03:44 +0000 (11:03 +1000)]
add extraargs parameter to bse.url()

11 years agodocument evaltag
Tony Cook [Wed, 30 May 2012 00:23:20 +0000 (10:23 +1000)]
document evaltag

11 years agoadd the evaltag to wrapped scalars for template expressions
Tony Cook [Wed, 30 May 2012 00:21:28 +0000 (10:21 +1000)]
add the evaltag to wrapped scalars for template expressions

11 years agogive catalogs access to variables for the static pass
Tony Cook [Tue, 29 May 2012 10:41:57 +0000 (20:41 +1000)]
give catalogs access to variables for the static pass

11 years agotest is_descendant_of()
Tony Cook [Tue, 29 May 2012 10:41:36 +0000 (20:41 +1000)]
test is_descendant_of()

11 years agodocument more article methods (vaguely for the accessors)
Tony Cook [Tue, 29 May 2012 07:46:45 +0000 (17:46 +1000)]
document more article methods (vaguely for the accessors)

11 years agoallow an article id to be supplied to is_descendant_of() and fix the docs
Tony Cook [Tue, 29 May 2012 07:46:24 +0000 (17:46 +1000)]
allow an article id to be supplied to is_descendant_of() and fix the docs

11 years agoneed to use BSE::TB::Site before using it
Tony Cook [Tue, 29 May 2012 07:05:44 +0000 (17:05 +1000)]
need to use BSE::TB::Site before using it

11 years agoextract common variables and add bse.categorize_tags()
Tony Cook [Tue, 29 May 2012 06:41:31 +0000 (16:41 +1000)]
extract common variables and add bse.categorize_tags()

11 years agofix loop.is_last, it would never be true
Tony Cook [Tue, 29 May 2012 01:57:08 +0000 (11:57 +1000)]
fix loop.is_last, it would never be true

11 years agochange note for refresh fix
Tony Cook [Mon, 28 May 2012 06:58:54 +0000 (16:58 +1000)]
change note for refresh fix

11 years agogenerate the correct refresh URL for nadmin.pl/foo targets
Tony Cook [Mon, 28 May 2012 06:56:22 +0000 (16:56 +1000)]
generate the correct refresh URL for nadmin.pl/foo targets

11 years agoallow use of the new template system from static pages
Tony Cook [Mon, 28 May 2012 05:40:08 +0000 (15:40 +1000)]
allow use of the new template system from static pages

11 years agopass variables to the template engine for dynamic article pages
Tony Cook [Mon, 28 May 2012 04:13:00 +0000 (14:13 +1000)]
pass variables to the template engine for dynamic article pages

11 years agoallow _ in the variable names settable by .set
Tony Cook [Mon, 28 May 2012 04:01:59 +0000 (14:01 +1000)]
allow _ in the variable names settable by .set

11 years agochange note for 03c73acfe
Tony Cook [Wed, 23 May 2012 03:47:32 +0000 (13:47 +1000)]
change note for 03c73acfe

11 years agofix thumb scale() with a transparent source and a background
Tony Cook [Wed, 23 May 2012 03:45:18 +0000 (13:45 +1000)]
fix thumb scale() with a transparent source and a background

11 years agofix a syntax error in admin/order_detail.tmpl
Tony Cook [Wed, 23 May 2012 03:09:41 +0000 (13:09 +1000)]
fix a syntax error in admin/order_detail.tmpl

11 years agoreset paid_manually when marking an order unpaid
Tony Cook [Tue, 22 May 2012 01:02:04 +0000 (11:02 +1000)]
reset paid_manually when marking an order unpaid

If left set, payment via the public interface (which doesn't set paid_manually
to zero) could be treated as a manual payment.

I could have updated every other payment mechanism to reset paid_manually but
it's too likely I'd have missed a change.

11 years agohandle plain scalar errors passed to the message() method
Tony Cook [Tue, 22 May 2012 00:58:20 +0000 (10:58 +1000)]
handle plain scalar errors passed to the message() method

11 years agonotes for the manual payment changes
Tony Cook [Mon, 21 May 2012 09:28:59 +0000 (19:28 +1000)]
notes for the manual payment changes

11 years agoadd a paid_manually column and use that to mark an order having been paid manually
Tony Cook [Mon, 21 May 2012 06:15:59 +0000 (16:15 +1000)]
add a paid_manually column and use that to mark an order having been paid manually

also, send the paid/unpaid note to the audit log

also, require a csrfp for these actions

12 years agofix parsing of link aliases in doclink[]
Tony Cook [Tue, 8 May 2012 05:30:30 +0000 (15:30 +1000)]
fix parsing of link aliases in doclink[]

12 years agodoclink[] accepts a link alias too
Tony Cook [Tue, 8 May 2012 05:13:54 +0000 (15:13 +1000)]
doclink[] accepts a link alias too

12 years agowhen requesting a html version of a generic message, escape the result if it turns...
Tony Cook [Wed, 2 May 2012 23:57:54 +0000 (09:57 +1000)]
when requesting a html version of a generic message, escape the result if it turns out not to be a message id

12 years agoan unclosed .if construct would crash
Tony Cook [Wed, 2 May 2012 23:56:55 +0000 (09:56 +1000)]
an unclosed .if construct would crash

12 years agoadd the Courier::FixedAU shipping driver.
Tony Cook [Mon, 30 Apr 2012 02:07:06 +0000 (12:07 +1000)]
add the Courier::FixedAU shipping driver.

12 years ago[rt #1290] set the eimage variable to the image being edited
Tony Cook [Fri, 27 Apr 2012 09:09:50 +0000 (19:09 +1000)]
[rt #1290] set the eimage variable to the image being edited

12 years agonote changes to bsexlsprod.pl and the docs
Tony Cook [Fri, 27 Apr 2012 09:07:32 +0000 (19:07 +1000)]
note changes to bsexlsprod.pl and the docs

12 years agoupdate importer to do price tiers and tags
Tony Cook [Fri, 27 Apr 2012 06:10:50 +0000 (16:10 +1000)]
update importer to do price tiers and tags

and briefly document the thing so I don't need to reverse engineer
it each time.

12 years agoremove some junk left in Changes from the template3 merge
Tony Cook [Mon, 23 Apr 2012 00:53:28 +0000 (10:53 +1000)]
remove some junk left in Changes from the template3 merge