]> git.decadent.org.uk Git - maypole.git/blob - Changes
updating changelog
[maypole.git] / Changes
1 This file documents the revision history for Perl extension Maypole.
2 For information about current developments and future releases, see:
3     http://maypole.perl.org/?TheRoadmap
4
5 2.11 
6     Fix to documentation for CGI::Maypole (bug 7263)
7     Fix to cgi_maypole.t (bug 11346)
8     Fix to TT error reporting (bug 13991)
9
10 2.10 Tue 19 Jul 2005
11     Multiple Template Paths added ( http://rt.cpan.org/NoAuth/Bug.html?id=13447 )
12     Small fix to templates/factory/frontpage ( http://rt.cpan.org/NoAuth/Bug.html?id=11236 )
13     MasonX support in Maypole::Application ( https://rt.cpan.org/NoAuth/Bug.html?id=12383 )
14     Maypole::Model::CDBI::Plain / Maypole Config issue ( http://rt.cpan.org/NoAuth/Bug.html?id=11530 )
15     Repeat Submission detection support ( Bug #6500 )
16     Fix to setup_database in Maypole::Model::CDBI ( Bug #12384 )
17     Fix to plugin to allow Maypole::Plugin::Config::YAML to work
18     Fix to Maypole::Model::CDBI order sub from list
19     Improvement to primary display column using CDBI
20     Improved efficiency of finding stringified columns using new classmetadata field
21     Fixed BeerDB to untaint pub fields
22
23     Additional Requirements : Digest::MD5
24
25 2.09  Mon Jan 25 22:00:00 2005
26     Fixes:
27     - Fixed plugin inheritance set up by Maypole::Application, added tests
28
29     Templates:
30     - factory/addnew will only prefill values when there's a row creation error
31
32
33 2.08  Mon Jan 24 20:45:00 2005
34     - Added $r->config->template_extension() to set optional file extension
35       for templates (Dave Howorth)
36
37     Fixes:
38     - Maypole::Application adds plugin classes to caller's @ISA (Marcus Ramberg)
39     - FETCH_CODE_ATRIBUTES in M::M::Base should return an empty list if there
40       are no attributes
41     - M::M::CDBI will warn() about Class::DBI::FromCGI errors
42     
43
44 2.07  Sun Jan 16 18:45:00 2005
45     (This version was not uploaded to CPAN)
46
47     Internal changes:
48     - Removed Maypole::Model->description. It didn't work as expected and
49       clashed with 'description' columns in the database
50
51     Fixes:
52     - Model->process() shouldn't set $r->objects() to a list with a single,
53       undefined element
54     - Fixed overriding $r->template_args->{classmetadata} in M::V::Base
55       (Thanks to Dave Howorth for spotting the mistake)
56     - #9473: Maypole::Model::CDBI->related_class (Thanks David Baird)
57     - #9434: M::M::CDBI->search generated "uninitialized value" warnings
58
59     Templates:
60     - The addnew template will attempt to prefill form fields with request
61       parameters
62     - edit template includes 'addnew' if there is no object to edit
63
64 2.06  Wed Dec 29 01:30:00 2004
65     Fixes:
66     - Minor restructuring of the manual so search.cpan.org indexes it better
67     - #9129: Skip t/apache_mvc.t if Apache::Request isn't installed
68     
69
70 2.05  Fri Dec 24 03:20:00 2004
71     - Revised and updated documentation. Many thanks to Dave Howorth for his
72       hard work and 120kb documentation patches.
73     - Added support for request and response HTTP headers with
74       $r->headers_in & $r->headers_out (Maypole::Headers)
75     - Support for compound primary keys for Maypole::Model::CDBI classes
76     - Template toolkit objects are configurable with M::Config->view_options
77     - Templating performance should be improved when running Maypole with
78       mod_perl since compiled templates remain in memory. CGI users can use
79       TT2's COMPILE_DIR or COMPILE_EXT options with
80       Maypole::Config->view_options to improve performance
81
82     Internal changes:
83     - Added a new override for the model: fetch_objects(). 
84     - 'classmetadata' template variables can now be overriden individually
85     - New unit tests for Maypole, CGI::Maypole, Maypole::Headers, and others.
86       More to come.
87
88     Fixes:
89     - Maypole::CLI is more tolerant of trailing slashes in the request/uri_base
90     - fixed a bug in CGI::Maypole::parse_location() (Dave Howorth)
91     - Also applied that fix to Apache::MVC (Marcus Ramberg)
92     - some fixes for Maypole::Config, Maypole::Model::Base and
93       Maypole::Model::CDBI::Plain (Dave Howorth)
94     - Documented adding new accessors to Maypole::Config
95     - Added Apache::RequestIO to Apache::MVC (michael#diaspora.gen.nz)
96     - Applied patch to fix length of utf8 documents.
97     - support compound primary keys in CDBI fetch_objects.
98     - Check if has_a actually points to a Maypole::Model (Dave Howorth)
99     - Make test suite work with DBD::SQLite2
100     - default search() action removes empty fields from search parameters
101     - #6622 - Maypole::Application will create a separate Maypole::Config for
102       each application (instead of the current workaround for multiple apps
103       under mod_perl)
104     - #7643 - improve M::V::Base's error() messages. prefix error with label,
105       and carp()
106     - #7651 - minor POD improvements in M::M::CDBI (Dave Howorth)
107     - #7834 - minor POD update in M::M::CDBI (Kevin Connor)
108     - #7917 - if do_edit fails for object creation, try again with the correct
109       template (addnew)
110     - #7930 - handle Class::DBI constraint failures in do_edit. 
111
112     Templates:
113     - add support for compound primary keys in factory templates
114       (Dagfinn Ilmari MannsÃ¥ker)
115     - Only show buttons for public actions.
116       (Dagfinn Ilmari MannsÃ¥ker)
117     - Split the meat of the view template off to a view_item macro.
118     - New login template
119     - Other assorted css/template fixes
120
121
122 2.04  Tue Oct 27 14:00:00 2004
123     - fixed Apache::MVC version (Randal Schwartz)
124     - fixed template_args (Dave Howorth)
125     - new Maypole::Config documentation (Dave Howorth)
126     - Maypole::Model::Base::process() no more steals you the first
127       arg after fetching objects
128
129 2.03  Tue Oct 26 13:00:00 2004
130     - increased version number of Apache::MVC
131     - fixed display_tables bug (Steve Simms)
132     - fixed templates, now again XHTML compliant
133     - documentation fix (Dave Howorth)
134     - only set charset for text/*
135
136 2.02  Mon Oct 25 13:00:00 2004
137     - Fixed charset in http header.
138     - replaced action links with forms in factory templates
139
140 2.01  Sun Oct 24 14:50:00 2004
141     - documentation fix to make t/03podcoverage happy
142
143 2.0   Fri Oct 22 20:00:00 2004
144     - added parse_args() (Simon Flack)
145     - call additional_data() and authenticate() for plain templates
146     - merged Apache2::MVC (mod_perl2 support) into Apache::MVC
147     - added Maypole::Application universal front-end
148     - config parameter handling for Maypole::Model::CDBI
149     - $r->{query} is now deprecated, use $r->{params} for GET and POST
150     - fixed multiple value handling (Simon Flack)
151     - added exception handling (Simon Flack)
152     - fixed documentation bugs
153     - changed default documentencoding to utf8. Change with 
154       $r->config->{document_encoding}
155     - removed Maypole::View::Mason as it's distributed separately on CPAN.
156     - factory templates are now XHTML 1.1 compliant.
157     - made the config hash into -> Maypole::Config
158     - accessors for everything
159     - win32 support
160     - new documentation for Maypole.pm (Simon Flack)
161     - moved doc/*.pod to lib/Maypole/Manual
162     - added Maypole::Model::Base::is_public() to make it simple to overload
163       :Exported behavior
164     - added support for replacing use base qw/All My Modules/ with 
165       use Maypole::Application qw/Redirect AnotherPlugin/; note that this 
166       will only triggers with parameters to import, to preserve backwards
167       compability.
168     - fixed search ordering in Maypole::Model::CDBI and parameter
169       handling in CGI::Maypole (Dave Slack)
170     - sweet new factory templates (Danijel Milicevic)
171     - zero search fix (Dave Slack)
172
173 1.7   Sat Jul 17 20:15:26 BST 2004
174     - Emergency release - we lost the "use Maypole::Constants" from
175       CLI.pm somehow
176
177 1.6   Fri Jul 16 23:51:21 BST 2004
178     - Two very trivial fixes:
179     - Put ::Plain in the MANIFEST, so it actually ships this time
180     - Make CLI test == OK, not just true
181
182 1.5   Mon Jun 21 14:36:54 BST 2004
183     - CLI mode correctly uses Constants module
184     - Template footers as well as headers (Markus Ramberg)
185     - Fix problems on failed object create (Jesse Sheidlower)
186     - Fix related() to deal with latest version of Class::DBI (Markus)
187     - Add sample CSS to distribution
188     - Maypole::Model::CDBI::Plain, for those who already have a CDBI set
189       of classes set up
190     - Friendlier errors when a template can't be found
191     - Don't authenticate without a model class
192     - #6569 Passing DBI options in setup() (Mickael Joanne)
193     - #6571 User-defined ok_tables: patch
194     - #6572 Makefile patch: require up-to-date CBDI::AsForm (Markus Ramberg)
195     - #6573 Set empty params to '' instead of undef (Jody Belka)
196     - #6617 Required cols patch in CDBI.pm (Jesse Sheidlower)
197
198 1.4   Fri Apr 16 18:11:41 BST 2004
199     - Much, much more documentation
200     - CLI debugging mode
201     - CGI frontend (CGI::Maypole)
202     - Beginnings of a test suite
203     - Maypole::Constants module to remove dependency on Apache
204     - Refactoring of view classes to base/module-specific modules
205     - HTML::Mason view class
206     - Various small template bug fixes and enhancements
207
208 1.3   Fri Mar 26 19:16:33 GMT 2004
209     - Fix serious order/CDBI::Page interaction bug.
210     - Die if model/view class can't be compiled.
211
212 1.2   Thu Mar 25 12:35:21 GMT 2004
213     - Ensure safety when dereferencing any ->objects
214     - Support for the "frontpage" template
215     - Maypole itself no longer uses ->{ar}, which is now completely
216       refactored into the Apache::MVC class
217     - The beginnings of the documentation framework
218     - Support for paging and ordering in searches
219     - Stringify column changed from magic "name" to customizable
220       property
221     - Move BeerDB to ex/
222     - Fix SQLite dependency
223
224 1.1   Wed Feb 25 10:29:25 GMT 2004
225     - Update CDBIL dependency
226     - Don't stringify to "name" if there isn't one
227     - Better support for authentication and template changes
228     - Full set of templates
229     - Allow passing of username and password to ->setup
230     - display_columns method
231
232 1.0   Wed Feb 11 17:34:12 GMT 2004
233     - Renamed from Apache::MVC to Maypole.
234     - Clearer separation of model and view classes from controller
235     - Factoring out of Apache-specific code back into Apache::MVC
236
237 0.2   Thu Feb  5 18:03:33 GMT 2004
238     - This release adds paging of list results and ordering by column
239       (ascending and descending)
240
241 0.01  Thu Jan  8 15:50:17 2004
242         - original version; created by h2xs 1.22 with options
243                 -AX -b 5.6.0 -n Apache::MVC
244