]> git.decadent.org.uk Git - maypole.git/log
maypole.git
17 years agoadded new attribute to Maypole::Config - request_options
Aaron Trevena [Wed, 13 Jun 2007 15:31:20 +0000 (15:31 +0000)]
added new attribute to Maypole::Config - request_options

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@570 48953598-375a-da11-a14b-00016c27c3ee

17 years agoupdated changelog, fixed mistake in CGI::Maypole
Aaron Trevena [Mon, 11 Jun 2007 14:12:46 +0000 (14:12 +0000)]
updated changelog, fixed mistake in CGI::Maypole

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@569 48953598-375a-da11-a14b-00016c27c3ee

17 years agoadded preprocess_location method
Aaron Trevena [Wed, 6 Jun 2007 12:12:33 +0000 (12:12 +0000)]
added preprocess_location method

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@568 48953598-375a-da11-a14b-00016c27c3ee

17 years agoadded preprocess_location method
Aaron Trevena [Tue, 5 Jun 2007 21:37:40 +0000 (21:37 +0000)]
added preprocess_location method

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@567 48953598-375a-da11-a14b-00016c27c3ee

17 years agofix to Apache::MVC redirect_request
Aaron Trevena [Fri, 1 Jun 2007 12:39:38 +0000 (12:39 +0000)]
fix to Apache::MVC redirect_request

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@566 48953598-375a-da11-a14b-00016c27c3ee

17 years agofix to View::TT
Aaron Trevena [Fri, 18 May 2007 19:32:03 +0000 (19:32 +0000)]
fix to View::TT

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@565 48953598-375a-da11-a14b-00016c27c3ee

17 years agomade setting user() and session() backward compatible
Aaron Trevena [Fri, 18 May 2007 19:17:55 +0000 (19:17 +0000)]
made setting user() and session() backward compatible

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@564 48953598-375a-da11-a14b-00016c27c3ee

17 years agoremoved C3 and no longer require it
Aaron Trevena [Fri, 18 May 2007 17:33:32 +0000 (17:33 +0000)]
removed C3 and no longer require it

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@563 48953598-375a-da11-a14b-00016c27c3ee

17 years agofix to bug raised by mst with FromCGI
Aaron Trevena [Thu, 19 Apr 2007 19:38:34 +0000 (19:38 +0000)]
fix to bug raised by mst with FromCGI

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@562 48953598-375a-da11-a14b-00016c27c3ee

17 years agochange template path to only look for custom, factory, etc on first/only path provided
Aaron Trevena [Mon, 26 Mar 2007 15:55:35 +0000 (15:55 +0000)]
change template path to only look for custom, factory, etc on first/only path provided

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@561 48953598-375a-da11-a14b-00016c27c3ee

17 years agofixed MANIFEST to include Maypole::HTTPD
Aaron Trevena [Sat, 24 Mar 2007 20:37:16 +0000 (20:37 +0000)]
fixed MANIFEST to include Maypole::HTTPD

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@560 48953598-375a-da11-a14b-00016c27c3ee

17 years agoapplied nicg fix, to make code match pod, i.e. make the get_user and get_session...
Aaron Trevena [Sat, 24 Mar 2007 12:53:49 +0000 (12:53 +0000)]
applied nicg fix, to make code match pod, i.e. make the get_user and get_session calls do something

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@559 48953598-375a-da11-a14b-00016c27c3ee

17 years agochange to view::base to only call display_columns, stringify_columns, to_cgi if...
Aaron Trevena [Fri, 23 Mar 2007 19:10:55 +0000 (19:10 +0000)]
change to view::base to only call display_columns,  stringify_columns, to_cgi if model class can()

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@558 48953598-375a-da11-a14b-00016c27c3ee

17 years agoapplied patch from nicg : Modified sub warn to use parent package's ar record if...
Aaron Trevena [Fri, 23 Mar 2007 18:57:47 +0000 (18:57 +0000)]
applied patch from nicg : Modified sub warn to use parent package's ar record if there is one

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@557 48953598-375a-da11-a14b-00016c27c3ee

17 years agoapplied patch from nicg : Modified DFV.pm to allow for multiple column primary keys
Aaron Trevena [Fri, 23 Mar 2007 17:57:25 +0000 (17:57 +0000)]
applied patch from nicg : Modified DFV.pm to allow for multiple column primary keys

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@556 48953598-375a-da11-a14b-00016c27c3ee

17 years agoapplied patch from nicg : Modified MVC.pm to correct problem with LocationMatch and...
Aaron Trevena [Fri, 23 Mar 2007 17:55:43 +0000 (17:55 +0000)]
applied patch from nicg : Modified MVC.pm to correct problem with LocationMatch and regex based

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@555 48953598-375a-da11-a14b-00016c27c3ee

17 years agofixes to fixes to changes to fixes
Aaron Trevena [Sat, 9 Dec 2006 10:36:38 +0000 (10:36 +0000)]
fixes to fixes to changes to fixes

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@554 48953598-375a-da11-a14b-00016c27c3ee

17 years agofix to bug 23722
Aaron Trevena [Thu, 30 Nov 2006 16:46:12 +0000 (16:46 +0000)]
fix to bug 23722

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@553 48953598-375a-da11-a14b-00016c27c3ee

17 years agofixed bug 22899 + broken link in manual contents, removed some warnings, fixed DFV...
Aaron Trevena [Thu, 30 Nov 2006 16:07:44 +0000 (16:07 +0000)]
fixed bug 22899 + broken link in manual contents, removed some warnings, fixed DFV test, fixed and added global populate cgi attribute and usage

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@552 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed bug with multiple template roots in TT, fixed bug with frontpage path of /...
Aaron Trevena [Mon, 6 Nov 2006 14:04:33 +0000 (14:04 +0000)]
fixed bug with multiple template roots in TT, fixed bug with frontpage path of /, removed lots of warnings

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@551 48953598-375a-da11-a14b-00016c27c3ee

18 years agochanged template path ordering a bit more in TT
Aaron Trevena [Mon, 6 Nov 2006 13:37:28 +0000 (13:37 +0000)]
changed template path ordering a bit more in TT

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@550 48953598-375a-da11-a14b-00016c27c3ee

18 years agochanged template path ordering, no longer return empty paths in TT view
Aaron Trevena [Mon, 6 Nov 2006 13:30:31 +0000 (13:30 +0000)]
changed template path ordering, no longer return empty paths in TT view

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@549 48953598-375a-da11-a14b-00016c27c3ee

18 years agoapplied parse_path fix to CGI::Maypole
Aaron Trevena [Mon, 6 Nov 2006 11:21:17 +0000 (11:21 +0000)]
applied parse_path fix to CGI::Maypole

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@548 48953598-375a-da11-a14b-00016c27c3ee

18 years agofix to bug in Apache::MVC location handling
Aaron Trevena [Sun, 5 Nov 2006 17:41:36 +0000 (17:41 +0000)]
fix to bug in Apache::MVC location handling

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@547 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed fixes to bugs in DFV model when updating and creating object
Aaron Trevena [Fri, 3 Nov 2006 11:51:16 +0000 (11:51 +0000)]
fixed fixes to bugs in DFV model when updating and creating object

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@546 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed bug in DFV model when updating object
Aaron Trevena [Fri, 3 Nov 2006 11:17:39 +0000 (11:17 +0000)]
fixed bug in DFV model when updating object

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@545 48953598-375a-da11-a14b-00016c27c3ee

18 years agosome tidying of factory templates
Aaron Trevena [Thu, 2 Nov 2006 16:56:43 +0000 (16:56 +0000)]
some tidying of factory templates

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@544 48953598-375a-da11-a14b-00016c27c3ee

18 years agosearch_form now uses search columns
Aaron Trevena [Thu, 2 Nov 2006 15:08:01 +0000 (15:08 +0000)]
search_form now uses search columns

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@543 48953598-375a-da11-a14b-00016c27c3ee

18 years agosearch_form now uses search columns
Aaron Trevena [Thu, 2 Nov 2006 14:53:14 +0000 (14:53 +0000)]
search_form now uses search columns

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@542 48953598-375a-da11-a14b-00016c27c3ee

18 years agoanother change to object stringification in selects in AsForm
Aaron Trevena [Thu, 2 Nov 2006 10:37:10 +0000 (10:37 +0000)]
another change to object stringification in selects in AsForm

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@541 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed pod for warn method
Aaron Trevena [Mon, 30 Oct 2006 19:06:48 +0000 (19:06 +0000)]
fixed pod for warn method

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@540 48953598-375a-da11-a14b-00016c27c3ee

18 years agoanother stringify fix in AsForm
Aaron Trevena [Mon, 30 Oct 2006 18:00:15 +0000 (18:00 +0000)]
another stringify fix in AsForm

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@539 48953598-375a-da11-a14b-00016c27c3ee

18 years agosome more cleaning up and fixing for AsForm, changed CDBI::Base model to not always...
Aaron Trevena [Wed, 25 Oct 2006 15:36:30 +0000 (15:36 +0000)]
some more cleaning up and fixing for AsForm, changed CDBI::Base model to not always populate cgi classmetadata

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@538 48953598-375a-da11-a14b-00016c27c3ee

18 years agoAsForm select handling tested and works, debug warnings removed
Aaron Trevena [Wed, 25 Oct 2006 11:16:06 +0000 (11:16 +0000)]
AsForm select handling tested and works, debug warnings removed

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@537 48953598-375a-da11-a14b-00016c27c3ee

18 years agolots of debug warnings, fixes to AsForm select handling
Aaron Trevena [Tue, 24 Oct 2006 10:54:11 +0000 (10:54 +0000)]
lots of debug warnings, fixes to AsForm select handling

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@536 48953598-375a-da11-a14b-00016c27c3ee

18 years agoadded dfv check method to DFV model
Aaron Trevena [Sun, 22 Oct 2006 19:19:02 +0000 (19:19 +0000)]
added dfv check method to DFV model

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@535 48953598-375a-da11-a14b-00016c27c3ee

18 years agonew warn function, other small trivial changes and fixes
Aaron Trevena [Mon, 16 Oct 2006 16:23:52 +0000 (16:23 +0000)]
new warn function, other small trivial changes and fixes

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@534 48953598-375a-da11-a14b-00016c27c3ee

18 years agoDFV model tested and working, new additional method in Maypole::Config, new warn...
Aaron Trevena [Mon, 16 Oct 2006 11:22:42 +0000 (11:22 +0000)]
DFV model tested and working, new additional method in Maypole::Config, new warn method in Maypole

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@533 48953598-375a-da11-a14b-00016c27c3ee

18 years agoDFV model mostly working with Postgres
Aaron Trevena [Sun, 15 Oct 2006 15:08:51 +0000 (15:08 +0000)]
DFV model mostly working with Postgres

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@532 48953598-375a-da11-a14b-00016c27c3ee

18 years agoDFV model mostly working with Postgres
Aaron Trevena [Sun, 15 Oct 2006 14:51:58 +0000 (14:51 +0000)]
DFV model mostly working with Postgres

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@531 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed DFV model
Aaron Trevena [Sun, 15 Oct 2006 14:03:33 +0000 (14:03 +0000)]
fixed DFV model

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@530 48953598-375a-da11-a14b-00016c27c3ee

18 years agoupdated db_colinfo test, and fixed syntax error in DFV model
Aaron Trevena [Mon, 9 Oct 2006 16:46:47 +0000 (16:46 +0000)]
updated db_colinfo test, and fixed syntax error in DFV model

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@529 48953598-375a-da11-a14b-00016c27c3ee

18 years agonew compilation test
Aaron Trevena [Mon, 9 Oct 2006 11:51:59 +0000 (11:51 +0000)]
new compilation test

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@528 48953598-375a-da11-a14b-00016c27c3ee

18 years agoreorganised model inheritance, new test
Aaron Trevena [Mon, 9 Oct 2006 11:50:29 +0000 (11:50 +0000)]
reorganised model inheritance, new test

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@527 48953598-375a-da11-a14b-00016c27c3ee

18 years agocheck some hashrefs for existence before trying to access in some column_* meths.
biopete [Thu, 5 Oct 2006 17:55:46 +0000 (17:55 +0000)]
check some hashrefs for existence before trying to access in some column_* meths.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@526 48953598-375a-da11-a14b-00016c27c3ee

18 years agomade db_colinfo test less fragile, changed test on @ISA to work with different ordering
Aaron Trevena [Mon, 2 Oct 2006 16:37:24 +0000 (16:37 +0000)]
made db_colinfo test less fragile, changed test on @ISA to work with different ordering

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@525 48953598-375a-da11-a14b-00016c27c3ee

18 years agoC3, inheritence changes and adding skeleton DFV model
Aaron Trevena [Mon, 2 Oct 2006 15:49:30 +0000 (15:49 +0000)]
C3, inheritence changes and adding skeleton DFV model

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@524 48953598-375a-da11-a14b-00016c27c3ee

18 years agoupdated action names in manual for standard templates
Aaron Trevena [Mon, 2 Oct 2006 14:54:13 +0000 (14:54 +0000)]
updated action names in manual for standard templates

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@523 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed typo in factory/edit template
Aaron Trevena [Mon, 2 Oct 2006 14:23:21 +0000 (14:23 +0000)]
fixed typo in factory/edit template

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@522 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed db_colinfo wrong number of tests
Aaron Trevena [Mon, 28 Aug 2006 14:42:07 +0000 (14:42 +0000)]
fixed db_colinfo wrong number of tests

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@521 48953598-375a-da11-a14b-00016c27c3ee

18 years agomoved ex to examples, fix to edit template
Aaron Trevena [Thu, 10 Aug 2006 13:40:40 +0000 (13:40 +0000)]
moved ex to examples, fix to edit template

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@520 48953598-375a-da11-a14b-00016c27c3ee

18 years agotested and it seems to work
Aaron Trevena [Mon, 31 Jul 2006 19:18:01 +0000 (19:18 +0000)]
tested and it seems to work

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@519 48953598-375a-da11-a14b-00016c27c3ee

18 years agoadded tests for and fixed new column_required and _column_info methods in CDBI.pm
Aaron Trevena [Mon, 31 Jul 2006 11:26:59 +0000 (11:26 +0000)]
added tests for and fixed new column_required and _column_info methods in CDBI.pm

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@518 48953598-375a-da11-a14b-00016c27c3ee

18 years agochanges to get/set default columns and column metadata
Aaron Trevena [Sun, 30 Jul 2006 16:19:02 +0000 (16:19 +0000)]
changes to get/set default columns and column metadata

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@517 48953598-375a-da11-a14b-00016c27c3ee

18 years agobug in options_from_hashes
biopete [Fri, 21 Jul 2006 15:28:31 +0000 (15:28 +0000)]
bug in options_from_hashes

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@516 48953598-375a-da11-a14b-00016c27c3ee

18 years agosmall updates to docs, etc
Aaron Trevena [Thu, 20 Jul 2006 20:51:59 +0000 (20:51 +0000)]
small updates to docs, etc

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@515 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed mysql test in db_colinfo to skip if no MySQL DBD driver
Aaron Trevena [Thu, 20 Jul 2006 15:54:14 +0000 (15:54 +0000)]
fixed mysql test in db_colinfo to skip if no MySQL DBD driver

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@514 48953598-375a-da11-a14b-00016c27c3ee

18 years agoupped Class::DBI::SQLite requirement, quiettened tests and build, cleaned up document...
Aaron Trevena [Thu, 20 Jul 2006 12:33:12 +0000 (12:33 +0000)]
upped Class::DBI::SQLite requirement, quiettened tests and build, cleaned up documentation a bit. this is 2.11_pre5 and should hopefully turn out to be 2.11 final

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@513 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixes to url tests to handle ordering of arguments and to fix horrid code in tests
Aaron Trevena [Wed, 19 Jul 2006 14:18:10 +0000 (14:18 +0000)]
fixes to url tests to handle ordering of arguments and to fix horrid code in tests

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@512 48953598-375a-da11-a14b-00016c27c3ee

18 years agominor bug fixes.
biopete [Mon, 17 Jul 2006 06:05:56 +0000 (06:05 +0000)]
minor bug fixes.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@511 48953598-375a-da11-a14b-00016c27c3ee

18 years agoadd_to_from_cgi is cool.
biopete [Mon, 17 Jul 2006 06:04:39 +0000 (06:04 +0000)]
add_to_from_cgi is cool.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@510 48953598-375a-da11-a14b-00016c27c3ee

18 years agodb_colinfo now works with (my) sqlite, uncommented perldoc for 'undocumented' validat...
Aaron Trevena [Sun, 16 Jul 2006 21:29:20 +0000 (21:29 +0000)]
db_colinfo now works with (my) sqlite, uncommented perldoc for 'undocumented' validate method and labelled it experimental

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@509 48953598-375a-da11-a14b-00016c27c3ee

18 years agocolumn_info tests, AsForm select fixings and docs.
biopete [Fri, 14 Jul 2006 21:51:35 +0000 (21:51 +0000)]
column_info tests, AsForm select fixings and docs.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@508 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed mysql tests a bit - checks for and creates test db if needed, type matching...
Aaron Trevena [Fri, 14 Jul 2006 10:34:18 +0000 (10:34 +0000)]
fixed mysql tests a bit - checks for and creates test db if needed, type matching now less pedantic

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@507 48953598-375a-da11-a14b-00016c27c3ee

18 years agoFinally, FromCGI seems functional and the documentation is accurate at
biopete [Wed, 12 Jul 2006 05:01:52 +0000 (05:01 +0000)]
Finally, FromCGI seems functional and the documentation is accurate at
first read.  Added "add_to_from_cgi" because it was too hard for Drinker
to drink a Pint without it.  And it was easy.  Still need official
tests. Arghh.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@506 48953598-375a-da11-a14b-00016c27c3ee

18 years agoDrinker uses add_to_from_cgi and other stuff. Now it is a nice working
biopete [Wed, 12 Jul 2006 04:58:02 +0000 (04:58 +0000)]
Drinker uses add_to_from_cgi and other stuff. Now it is a nice working
basic example with lots to do such as berrs, brewery, adding handpumps
to pubs, styles.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@505 48953598-375a-da11-a14b-00016c27c3ee

18 years agoBeginning to a fancy example app of 2.11 features . See
biopete [Tue, 11 Jul 2006 17:44:37 +0000 (17:44 +0000)]
Beginning to a fancy example app of 2.11 features . See
BeerDB::Drinker.pm for FromCGI and AsForm stuff. Still needs much work.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@504 48953598-375a-da11-a14b-00016c27c3ee

18 years agoFixed FromCGI and AsForm some more. No official tests in crud.t yet but
biopete [Tue, 11 Jul 2006 17:03:06 +0000 (17:03 +0000)]
Fixed FromCGI and AsForm some more. No official tests in crud.t yet but
i have a working demo and will move code to synopsis or tests.

The macros, i just tweaked it a little so it would display and array in
view_item  and make a default name out of column name if colnames has no
entry for "column".

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@503 48953598-375a-da11-a14b-00016c27c3ee

18 years agoaoeuaou
biopete [Mon, 3 Jul 2006 19:16:37 +0000 (19:16 +0000)]
aoeuaou

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@502 48953598-375a-da11-a14b-00016c27c3ee

18 years agotest for various column info stuff.
biopete [Mon, 3 Jul 2006 18:43:33 +0000 (18:43 +0000)]
test for various column info stuff.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@501 48953598-375a-da11-a14b-00016c27c3ee

18 years agoAdded column_* interface for retrieving column matadata that is stored
biopete [Fri, 30 Jun 2006 14:38:44 +0000 (14:38 +0000)]
Added column_* interface for retrieving column matadata that is stored
in the database. This is all added to the MMCDBI.pm

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@500 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed index action, you can now over-ride it, but otherwise it just calls list
Aaron Trevena [Fri, 23 Jun 2006 10:47:56 +0000 (10:47 +0000)]
fixed index action, you can now over-ride it, but otherwise it just calls list

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@499 48953598-375a-da11-a14b-00016c27c3ee

18 years agoupdates to Makefile.PL and MANIFEST
Aaron Trevena [Thu, 22 Jun 2006 15:00:35 +0000 (15:00 +0000)]
updates to Makefile.PL and MANIFEST

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@498 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed Maypole versions of Untaint and AsForm to pass pod::coverage tests, fixed test...
Aaron Trevena [Thu, 22 Jun 2006 14:56:27 +0000 (14:56 +0000)]
fixed Maypole versions of Untaint and AsForm to pass pod::coverage tests, fixed test in 01basic.t

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@497 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed path for crud.t, fixed rounding assumption in crud.t test for negative values
Aaron Trevena [Wed, 14 Jun 2006 08:53:33 +0000 (08:53 +0000)]
fixed path for crud.t, fixed rounding assumption in crud.t test for negative values

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@496 48953598-375a-da11-a14b-00016c27c3ee

18 years agoCRUD tests, FromCGI that works, test to prove it ;)
biopete [Tue, 13 Jun 2006 18:49:06 +0000 (18:49 +0000)]
CRUD tests, FromCGI that works, test to prove it ;)

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@495 48953598-375a-da11-a14b-00016c27c3ee

18 years agoNow request model_class is not set unless the model class is a Maypole::Model::Base.
biopete [Mon, 12 Jun 2006 20:34:32 +0000 (20:34 +0000)]
Now request model_class is not set unless the model class is a Maypole::Model::Base.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@494 48953598-375a-da11-a14b-00016c27c3ee

18 years agofixed error template in TT.pm and possible work around for ->object to work
Aaron Trevena [Mon, 12 Jun 2006 14:25:36 +0000 (14:25 +0000)]
fixed error template in TT.pm and possible work around for ->object to work

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@493 48953598-375a-da11-a14b-00016c27c3ee

18 years agoadded object method to templates
Aaron Trevena [Mon, 12 Jun 2006 10:00:34 +0000 (10:00 +0000)]
added object method to templates

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@492 48953598-375a-da11-a14b-00016c27c3ee

18 years agoadded object method, not added to templates yet
Aaron Trevena [Mon, 12 Jun 2006 09:31:38 +0000 (09:31 +0000)]
added object method, not added to templates yet

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@491 48953598-375a-da11-a14b-00016c27c3ee

18 years agoHTML::Element is now a prerequisite.
biopete [Thu, 1 Jun 2006 15:09:11 +0000 (15:09 +0000)]
HTML::Element is now a prerequisite.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@490 48953598-375a-da11-a14b-00016c27c3ee

18 years ago2.11 release unless I find a problem sharpish
Aaron Trevena [Mon, 22 May 2006 15:33:13 +0000 (15:33 +0000)]
2.11 release unless I find a problem sharpish

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@489 48953598-375a-da11-a14b-00016c27c3ee

18 years agoBug fixxes to AsForm -- has_many select and zero filled pks not being selected
biopete [Tue, 9 May 2006 04:38:32 +0000 (04:38 +0000)]
Bug fixxes to AsForm -- has_many select and zero filled pks not being selected

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@488 48953598-375a-da11-a14b-00016c27c3ee

18 years agoAJT synch
Aaron Trevena [Wed, 3 May 2006 14:14:47 +0000 (14:14 +0000)]
AJT synch

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@487 48953598-375a-da11-a14b-00016c27c3ee

18 years agoinit accessors -- bug fix 15147
biopete [Fri, 28 Apr 2006 11:55:48 +0000 (11:55 +0000)]
init accessors -- bug fix 15147

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@486 48953598-375a-da11-a14b-00016c27c3ee

18 years agoFixed Apache::MVC to use HTTP::Body to get the params for MP2 and also to put Apache...
biopete [Thu, 27 Apr 2006 16:52:31 +0000 (16:52 +0000)]
Fixed Apache::MVC to use HTTP::Body to get the params for MP2 and also to put  Apache2::Request object in ar if available. AsForm bug fixes and hopefully less warning. changed all refs to Class::DBI::AsForm .

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@485 48953598-375a-da11-a14b-00016c27c3ee

18 years ago2.11_pre2, updated Changes
Aaron Trevena [Tue, 25 Apr 2006 13:27:42 +0000 (13:27 +0000)]
2.11_pre2, updated Changes

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@484 48953598-375a-da11-a14b-00016c27c3ee

18 years agochanged error code constant, and related test
Aaron Trevena [Tue, 25 Apr 2006 13:19:47 +0000 (13:19 +0000)]
changed error code constant, and related test

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@483 48953598-375a-da11-a14b-00016c27c3ee

18 years agohopefully fixed Apache::MVC with HTTP::Body fallback to handle url args
Aaron Trevena [Mon, 24 Apr 2006 15:42:52 +0000 (15:42 +0000)]
hopefully fixed Apache::MVC with HTTP::Body fallback to handle url args

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@482 48953598-375a-da11-a14b-00016c27c3ee

18 years agoupdated Changes
Aaron Trevena [Mon, 17 Apr 2006 18:12:44 +0000 (18:12 +0000)]
updated Changes

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@481 48953598-375a-da11-a14b-00016c27c3ee

18 years agoremoving C::DBI::AsForm requirement
Aaron Trevena [Mon, 17 Apr 2006 18:10:30 +0000 (18:10 +0000)]
removing C::DBI::AsForm requirement

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@480 48953598-375a-da11-a14b-00016c27c3ee

18 years agoupdated tests, and exception handling a little
Aaron Trevena [Fri, 14 Apr 2006 09:37:02 +0000 (09:37 +0000)]
updated tests, and exception handling a little

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@479 48953598-375a-da11-a14b-00016c27c3ee

18 years agoadded table/name moniker change to Changes
Aaron Trevena [Fri, 14 Apr 2006 08:45:56 +0000 (08:45 +0000)]
added table/name moniker change to Changes

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@478 48953598-375a-da11-a14b-00016c27c3ee

18 years agoChanged View so it uses table name rather than class moniker in template paths.
biopete [Thu, 13 Apr 2006 16:45:07 +0000 (16:45 +0000)]
Changed View so it uses table name rather than class moniker in template paths.

Added optgroups arg so to_select can group items in optgroups. Still needs docs.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@477 48953598-375a-da11-a14b-00016c27c3ee

18 years agocomponents now work
Aaron Trevena [Wed, 12 Apr 2006 14:30:13 +0000 (14:30 +0000)]
components now work

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@476 48953598-375a-da11-a14b-00016c27c3ee

18 years agopossible fix for components, added another test to MANIFEST
Aaron Trevena [Wed, 12 Apr 2006 13:57:40 +0000 (13:57 +0000)]
possible fix for components, added another test to MANIFEST

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@475 48953598-375a-da11-a14b-00016c27c3ee

18 years agoajt updates, fixed AsForm to pass pod and podcoverage tests, also removed usless...
Aaron Trevena [Wed, 12 Apr 2006 13:37:38 +0000 (13:37 +0000)]
ajt updates, fixed AsForm to pass pod and podcoverage tests, also removed usless use of constant in void context warnings by using parenthesis correctly

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@474 48953598-375a-da11-a14b-00016c27c3ee

18 years agoAdded _options_from_hash so you can say:
biopete [Tue, 11 Apr 2006 00:28:59 +0000 (00:28 +0000)]
Added _options_from_hash so you can say:

$beer->to_field('brewery', 'select', {items => { 'Option  Content1 ' => 'Opt Val', ... });

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@473 48953598-375a-da11-a14b-00016c27c3ee

18 years agoPeter -- uses more standard method for mp1 and mp2 compatibility in BEGIN block
biopete [Fri, 7 Apr 2006 18:05:02 +0000 (18:05 +0000)]
Peter -- uses more standard method for mp1 and mp2 compatibility in BEGIN block

Fixed redirect_request so it works.

Needs testing on MP1.

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@472 48953598-375a-da11-a14b-00016c27c3ee

18 years agoAsForm bug fixes -- to_cgi args, to_enum_select , search_inputs adds blank field...
biopete [Fri, 7 Apr 2006 14:31:00 +0000 (14:31 +0000)]
AsForm bug fixes -- to_cgi args, to_enum_select , search_inputs adds blank field correctly (mostly :) ).

macros -- try to call " accessor_name_for" before cdbi deprecated "accessor_name"

git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@471 48953598-375a-da11-a14b-00016c27c3ee