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