]> git.imager.perl.org - bse.git/log
bse.git
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

11 years agohandle cached image list when removing images
Tony Cook [Thu, 4 Apr 2013 03:03:01 +0000 (14:03 +1100)]
handle cached image list when removing images

11 years agofix an old bug: disallow duplicate linkAlias or product_code
Tony Cook [Wed, 3 Apr 2013 23:51:59 +0000 (10:51 +1100)]
fix an old bug: disallow duplicate linkAlias or product_code

11 years agodon't abort an article import just because one file failed
Tony Cook [Wed, 3 Apr 2013 03:48:06 +0000 (14:48 +1100)]
don't abort an article import just because one file failed

11 years agosupport importing article files as we do products
Tony Cook [Wed, 3 Apr 2013 03:15:49 +0000 (14:15 +1100)]
support importing article files as we do products

11 years agothe XLS parser now identifies it can't parse XLS
Tony Cook [Wed, 3 Apr 2013 03:14:12 +0000 (14:14 +1100)]
the XLS parser now identifies it can't parse XLS

11 years agodocument hide_from_list and storage in the file properties help
Tony Cook [Wed, 3 Apr 2013 03:13:30 +0000 (14:13 +1100)]
document hide_from_list and storage in the file properties help

11 years agoimplement (and basically test) update_only for import specs
Tony Cook [Tue, 2 Apr 2013 00:53:23 +0000 (11:53 +1100)]
implement (and basically test) update_only for import specs

11 years agoallow fetching products by linkAlias
Tony Cook [Tue, 2 Apr 2013 00:52:31 +0000 (11:52 +1100)]
allow fetching products by linkAlias

11 years agosupport importing from CSV files
Tony Cook [Thu, 28 Mar 2013 00:37:42 +0000 (11:37 +1100)]
support importing from CSV files

11 years agoallow extra config to be loaded from text for testing
Tony Cook [Tue, 2 Apr 2013 00:52:54 +0000 (11:52 +1100)]
allow extra config to be loaded from text for testing

11 years agomake sure OtherParents is available when used
Tony Cook [Mon, 1 Apr 2013 05:40:27 +0000 (16:40 +1100)]
make sure OtherParents is available when used

11 years agofix not implemented handling for .while loops
Tony Cook [Thu, 28 Mar 2013 00:06:32 +0000 (11:06 +1100)]
fix not implemented handling for .while loops

11 years agoBSE::TB::AuditEntry::mail() only takes the entry as the subject
Tony Cook [Sat, 23 Mar 2013 22:25:02 +0000 (09:25 +1100)]
BSE::TB::AuditEntry::mail() only takes the entry as the subject

11 years agostandardise log message wording and promote level
Adrian Oldham [Fri, 22 Mar 2013 12:33:48 +0000 (23:33 +1100)]
standardise log message wording and promote level

11 years agouse the new messages macro for the admin adduer template
Tony Cook [Fri, 22 Mar 2013 13:36:51 +0000 (00:36 +1100)]
use the new messages macro for the admin adduer template

11 years agocrazy subject handling for the audit log email template
Tony Cook [Fri, 22 Mar 2013 13:34:51 +0000 (00:34 +1100)]
crazy subject handling for the audit log email template

11 years agoadd a new .while construct to templates
Tony Cook [Fri, 22 Mar 2013 13:34:16 +0000 (00:34 +1100)]
add a new .while construct to templates

11 years agoadd substring() and match() methods to scalars
Tony Cook [Fri, 22 Mar 2013 13:33:52 +0000 (00:33 +1100)]
add substring() and match() methods to scalars

11 years agoadd a bse.debug() function that writes it's arguments to stderr
Tony Cook [Fri, 22 Mar 2013 13:33:28 +0000 (00:33 +1100)]
add a bse.debug() function that writes it's arguments to stderr

11 years agoadd a set_subject() function to BSE::ComposeMail templates
Tony Cook [Fri, 22 Mar 2013 13:32:58 +0000 (00:32 +1100)]
add a set_subject() function to BSE::ComposeMail templates

11 years agodefine variables for audit log mails and re-organize
Tony Cook [Fri, 22 Mar 2013 13:32:28 +0000 (00:32 +1100)]
define variables for audit log mails and re-organize

also added an object() method to entries

11 years agoaudit log mailing now uses the most specific email address supplied
Tony Cook [Fri, 22 Mar 2013 10:43:41 +0000 (21:43 +1100)]
audit log mailing now uses the most specific email address supplied

eg.

[mail audit log]
error=abc@example.com
bse-component-module-function=1
bse-component-module=def@example.com

will use def@example.com when mailing an audit log message of the
appropriate type.

11 years agoallow BSE::ComposeMail to accept variables
Tony Cook [Fri, 22 Mar 2013 10:41:34 +0000 (21:41 +1100)]
allow BSE::ComposeMail to accept variables

11 years agolog admin user creation
Tony Cook [Fri, 22 Mar 2013 09:52:45 +0000 (20:52 +1100)]
log admin user creation

11 years agoproperly report non-field errors
Tony Cook [Fri, 22 Mar 2013 09:52:28 +0000 (20:52 +1100)]
properly report non-field errors

11 years agoplain text passwords are no longer supported
Tony Cook [Fri, 22 Mar 2013 09:52:02 +0000 (20:52 +1100)]
plain text passwords are no longer supported

11 years agofix replacement of article attached files
Tony Cook [Wed, 20 Mar 2013 01:40:49 +0000 (12:40 +1100)]
fix replacement of article attached files

11 years agomake image_by_name case-insensitive
Tony Cook [Tue, 19 Mar 2013 11:52:15 +0000 (22:52 +1100)]
make image_by_name case-insensitive

11 years agoadd image_by_name and image_by_index methods
Tony Cook [Tue, 19 Mar 2013 08:24:57 +0000 (19:24 +1100)]
add image_by_name and image_by_index methods

11 years agoinclude the user id in the account lockout audit message
Tony Cook [Sun, 17 Mar 2013 22:41:21 +0000 (09:41 +1100)]
include the user id in the account lockout audit message

11 years agoreword and standardise log messages
Adrian Oldham [Sun, 17 Mar 2013 08:17:36 +0000 (19:17 +1100)]
reword and standardise log messages

11 years agomore log level changes from Adrian
Tony Cook [Sun, 17 Mar 2013 22:27:51 +0000 (09:27 +1100)]
more log level changes from Adrian

11 years agolevel up lockout log names to error
Adrian Oldham [Sat, 16 Mar 2013 08:24:25 +0000 (19:24 +1100)]
level up lockout log names to error

11 years agodemote admin logon failure log level
Adrian Oldham [Sat, 16 Mar 2013 08:22:58 +0000 (19:22 +1100)]
demote admin logon failure log level

11 years agolevel up log names for orders
Adrian Oldham [Sat, 16 Mar 2013 05:03:51 +0000 (16:03 +1100)]
level up log names for orders

11 years agolevel up log name for admin changepw
Adrian Oldham [Sat, 16 Mar 2013 03:46:55 +0000 (14:46 +1100)]
level up log name for admin changepw

11 years agoadrian's changes to log levels
Tony Cook [Sat, 16 Mar 2013 00:51:21 +0000 (11:51 +1100)]
adrian's changes to log levels

11 years agolevel up log names
Adrian Oldham [Sat, 16 Mar 2013 00:02:22 +0000 (11:02 +1100)]
level up log names

11 years agostandardise log level names
Adrian Oldham [Sat, 16 Mar 2013 00:00:23 +0000 (11:00 +1100)]
standardise log level names

11 years agopassword strength and lockouts for failed logons
Tony Cook [Sat, 16 Mar 2013 00:50:17 +0000 (11:50 +1100)]
password strength and lockouts for failed logons

11 years agodon't use $user when it may not be present
Tony Cook [Wed, 13 Mar 2013 04:23:15 +0000 (15:23 +1100)]
don't use $user when it may not be present

11 years agoimplement account and IP address lockouts for site and admin users
Tony Cook [Wed, 13 Mar 2013 00:45:14 +0000 (11:45 +1100)]
implement account and IP address lockouts for site and admin users

11 years agosupport > and < as operators for getBy2
Tony Cook [Wed, 13 Mar 2013 00:24:55 +0000 (11:24 +1100)]
support > and < as operators for getBy2

11 years agoinstall stored procedures
Tony Cook [Tue, 12 Mar 2013 23:48:09 +0000 (10:48 +1100)]
install stored procedures

11 years agoimplement password validation for admin users
Tony Cook [Mon, 11 Mar 2013 00:37:12 +0000 (11:37 +1100)]
implement password validation for admin users

11 years agoimplement password validation for site users
Tony Cook [Sun, 10 Mar 2013 23:59:10 +0000 (10:59 +1100)]
implement password validation for site users

11 years agopassword validation base implementation
Tony Cook [Sun, 10 Mar 2013 23:58:54 +0000 (10:58 +1100)]
password validation base implementation

11 years agomake error_img output all messages for a field if no index is supplied
Tony Cook [Sun, 10 Mar 2013 23:28:34 +0000 (10:28 +1100)]
make error_img output all messages for a field if no index is supplied

11 years agothe admin site user add form now follows modern message practice
Tony Cook [Sun, 10 Mar 2013 23:27:46 +0000 (10:27 +1100)]
the admin site user add form now follows modern message practice

11 years agomerge adrian's new formatter tags, fixing the test count
Tony Cook [Sat, 16 Mar 2013 00:43:27 +0000 (11:43 +1100)]
merge adrian's new formatter tags, fixing the test count

11 years agofix the test count
Tony Cook [Sat, 16 Mar 2013 00:42:55 +0000 (11:42 +1100)]
fix the test count

11 years agoadd more formatter tags
Adrian Oldham [Wed, 20 Feb 2013 22:06:37 +0000 (09:06 +1100)]
add more formatter tags

11 years agoreorganize documentation in Generate.pm
Tony Cook [Sat, 9 Mar 2013 23:47:28 +0000 (10:47 +1100)]
reorganize documentation in Generate.pm

11 years agopass the expected article parameter to abs_urls()
Tony Cook [Tue, 5 Mar 2013 22:49:23 +0000 (09:49 +1100)]
pass the expected article parameter to abs_urls()

11 years agoactually apply the method restrictions requested for article objects
Tony Cook [Mon, 4 Mar 2013 02:57:48 +0000 (13:57 +1100)]
actually apply the method restrictions requested for article objects

11 years agoprovide a restricted_method() method to the dummy article
Tony Cook [Mon, 4 Mar 2013 02:57:25 +0000 (13:57 +1100)]
provide a restricted_method() method to the dummy article

11 years agoexpose the generator object and add a vembed() method
Tony Cook [Sat, 2 Mar 2013 00:52:20 +0000 (11:52 +1100)]
expose the generator object and add a vembed() method

11 years agoactually tokenize the !~ operator
Tony Cook [Sat, 2 Mar 2013 00:30:02 +0000 (11:30 +1100)]
actually tokenize the !~ operator

11 years agodefine the mover macro in preload
Tony Cook [Sat, 2 Mar 2013 00:25:04 +0000 (11:25 +1100)]
define the mover macro in preload

11 years agoadd current to the loop variable for .for in templates
Tony Cook [Sat, 2 Mar 2013 00:24:50 +0000 (11:24 +1100)]
add current to the loop variable for .for in templates

11 years agomake sure child article processing doesn't mess up the current vars
Tony Cook [Fri, 1 Mar 2013 23:39:51 +0000 (10:39 +1100)]
make sure child article processing doesn't mess up the current vars

11 years agomake the "article"s used for pregen more object-like
Tony Cook [Thu, 28 Feb 2013 01:40:48 +0000 (12:40 +1100)]
make the "article"s used for pregen more object-like

11 years agoimplement an escape method for scalars
Tony Cook [Mon, 25 Feb 2013 22:40:21 +0000 (09:40 +1100)]
implement an escape method for scalars

11 years agofix message handling for user.pl
Tony Cook [Mon, 25 Feb 2013 12:17:32 +0000 (23:17 +1100)]
fix message handling for user.pl

also adds success messages for registration and saving options

11 years agoadd the url() function to template variables
Tony Cook [Mon, 25 Feb 2013 10:31:24 +0000 (21:31 +1100)]
add the url() function to template variables

11 years agofix title for the verbose page regen page
Tony Cook [Mon, 25 Feb 2013 10:26:28 +0000 (21:26 +1100)]
fix title for the verbose page regen page

11 years agodefault <:= ... :> tags to html formatting
Tony Cook [Mon, 25 Feb 2013 09:55:46 +0000 (20:55 +1100)]
default <:= ... :> tags to html formatting

this can be overriden with [html].tagformat

11 years agominor fixes to thumbnails.pod
Tony Cook [Mon, 25 Feb 2013 02:38:20 +0000 (13:38 +1100)]
minor fixes to thumbnails.pod

11 years agoadd a params "variable" that acts like the param tag
Tony Cook [Mon, 25 Feb 2013 02:38:06 +0000 (13:38 +1100)]
add a params "variable" that acts like the param tag

11 years agoadd top and dynamic variables to generated article templates
Tony Cook [Mon, 25 Feb 2013 02:07:38 +0000 (13:07 +1100)]
add top and dynamic variables to generated article templates

also re-work the pod a little

11 years agoreplace variables on the makeIndex html output
Tony Cook [Sun, 24 Feb 2013 02:04:29 +0000 (13:04 +1100)]
replace variables on the makeIndex html output

11 years ago0.24 release r0.24 v0.24
Tony Cook [Mon, 11 Feb 2013 03:48:34 +0000 (14:48 +1100)]
0.24 release

11 years agochange notes since 0.23
Tony Cook [Mon, 11 Feb 2013 03:04:48 +0000 (14:04 +1100)]
change notes since 0.23

11 years agoavoid continually adding to @INC
Tony Cook [Mon, 11 Feb 2013 02:49:32 +0000 (13:49 +1100)]
avoid continually adding to @INC

11 years agoreduce some build noise
Tony Cook [Mon, 11 Feb 2013 02:49:06 +0000 (13:49 +1100)]
reduce some build noise

11 years agomake the home article listed so the static file is generated
Tony Cook [Mon, 11 Feb 2013 02:28:29 +0000 (13:28 +1100)]
make the home article listed so the static file is generated

11 years agomore required/optional modules
Tony Cook [Sun, 10 Feb 2013 03:00:08 +0000 (14:00 +1100)]
more required/optional modules

depend on LWP::Protocol::https since that does the real work.

depend on Mozilla::CA since old installations may not have it

11 years agoupdate required modules
Tony Cook [Thu, 7 Feb 2013 00:34:33 +0000 (11:34 +1100)]
update required modules

Imager 0.62 is required for mixing scale() support that works.

Imager::Filter::Sepia for the sepia filter

Spreadsheet::ParseExcel for excel imports

11 years agofix example for BSE::Cache::Memcached
Tony Cook [Thu, 7 Feb 2013 00:33:36 +0000 (11:33 +1100)]
fix example for BSE::Cache::Memcached

11 years agoFixed international shipping module
Tony Cook [Thu, 31 Jan 2013 03:16:31 +0000 (14:16 +1100)]
Fixed international shipping module

11 years agocan't use XML /> for non XML html
Tony Cook [Thu, 31 Jan 2013 03:16:09 +0000 (14:16 +1100)]
can't use XML /> for non XML html

11 years ago[bse #1359] move [basic].public_files config to [uri]
Tony Cook [Wed, 9 Jan 2013 00:03:51 +0000 (11:03 +1100)]
[bse #1359] move [basic].public_files config to [uri]

11 years agoadd set method to arrays in templates
Tony Cook [Mon, 17 Dec 2012 01:43:20 +0000 (12:43 +1100)]
add set method to arrays in templates

11 years agoavoid a html validation error
Tony Cook [Sun, 16 Dec 2012 06:23:17 +0000 (17:23 +1100)]
avoid a html validation error

11 years agofix the bse.now variable definition
Tony Cook [Sun, 16 Dec 2012 06:22:54 +0000 (17:22 +1100)]
fix the bse.now variable definition

11 years agopass the generator object to custom base_tags()
Tony Cook [Sun, 16 Dec 2012 06:22:33 +0000 (17:22 +1100)]
pass the generator object to custom base_tags()

11 years agoadd get_def_refresh(), a convenience method for refreshing to cgi.param("r")
Tony Cook [Thu, 13 Dec 2012 02:31:33 +0000 (13:31 +1100)]
add get_def_refresh(), a convenience method for refreshing to cgi.param("r")