]> Dogcows Code - chaz/p5-CGI-Ex/blob - Changes
CGI::Ex 2.32
[chaz/p5-CGI-Ex] / Changes
1 2.32
2 2010-02-25
3 * (Validate) Allow for default to be an arrayref
4
5 2.31
6 2010-02-24
7 * (Auth) allow for secure flag via cookie_secure
8 * Allow validate.js to use change and blur on individual elements
9 * Allow validate.js to not strip trailing whitespace on change
10 * (Validate) Allow more items in local parts
11 * (Ex) Make sure make_form doesn't die on non-arrayref keys
12
13 2.27
14 2008-09-15
15 * (App) Fix morph history during errors or other direct morph calls
16 * (App) Allow for step=foo/bar to look for file foo/bar.html
17 * (App) Allow for step=foo/bar to use internal name of foo__bar
18 * (App) Allow for step=foo/bar to morph to package App::Foo::Bar
19 * (Validate) Added the set_all_hook and clear_all_hook in validate.js
20 * (Validate) Streamline validate
21 * (Validate) Added generate_form to Validate
22 * (App) Added hooks in App to generate_form
23 * (Validate) Allow for "error" parameter in validation that is the general error message
24 * (Auth) Allow passing filename in Auth login_header, login_form, login_script and login_footer
25 * (Auth) Allow verify_token to be easily overridable
26 * (Auth) Allow passing cookie_domain, cookie_path, cookie_no_expires (force session cookie) in Auth for much more granular control
27 * (Auth) Allow for passing user without password to verify user matches a previously set cookie
28 * (App) Remove allow_nested_morph since allow_morph is more than capable of filling this role
29 * (App) Allow step name to be "jumped" to even if not in the path
30 * (App) Make jump unmorph if in the middle of lineage, deprecates some early morph cases.
31 * (Auth) Don't blank out form user field on failure (fixed bug in Auth login_hash_common)
32 * (App) Cleanup run_hook_as
33 * (App) Allow path_info_map to have second argument be a code ref that is passed form and matches
34 * (Validate) validate.js updates to make in sync more with Validate.pm (such as fields and order are synonymous)
35 * (Validate) Make validation names prettier by default
36
37 2.26
38 2008-07-21
39 * (App) Error handling bug again (accept refs in $@ again)
40
41 2.25
42 2008-07-08
43 * (Validate) Fix bugs in was_valid checking of Validate
44 * (JSONDump) Quote more keys in JSONDump
45 * (App) Allow for passing a coderef instead of the step name to run_hook
46 * (App) Handle fatal errors more gracefully
47 * (App) Make morph and unmorph calls be hooks
48 * (App) Allow allow_morph to return 2 (which requires a morph)
49 * (App) Add run_hook_as functionality
50
51 2.24
52 2008-02-26
53 * Allow for smith.name
54 * Simplify some code in App.
55 * Allow for post_navigate to get called even in case of error.
56 * Added morph_base to App
57 * Added validate_when_data hook.
58 * Added samples/app/app1 which is a path based application
59
60 2.23
61 2007-12-20
62 * Add the onevent load option - make sure validate_if figures into dependencies
63 * Add was_valid, had_error, and was_checked validation options
64 * Add vif_disable option.
65 * Pass more information to clear/set hooks using named args
66
67 2.22
68 2007-12-14
69 * Allow for no errors with a username of "0"
70 * Run hash_form hook before others so dump_history shows it in order of use
71 * Fix Validate error with passing in the field name
72 * Simplify and modernize validate.js
73 * Add onevent: change, blur and submit types.
74 * Add hooks and better overriding to valiate.js
75 * Cleanup Validate.pm pod
76 * Be sure Conf json read requires JSON
77
78 2.21
79 2007-10-18
80 * Add logout_hook to Auth
81 * Remove key_payload
82 * Only accept payload from cram styles
83 * Added disable_simple_cram to enforce protecting server generated payloads
84
85 2.20
86 2007-10-08
87 * Added success_hook and failure_hook to Auth (not documented)
88 * Fix precedence issue in conf reading in App (thanks to Krassimir Berov)
89 * Fix bug in validate.js with LOCAL_PART matching (thanks to Thomas den Braber)
90 * Add support for clear_on_error to validate.js (thanks to Thomas den Braber)
91
92 2.19
93 2007-10-05
94 * Make verify_token more granualar in Auth
95 * Added parse_token method and/or property
96 * Added verify_password method and/or property
97 * Added verify_payload method and/or property
98 * Fix filename based conf reading in App
99 * Added check_valid_auth, handle_success, handle_failure
100 key_loggedout, bounce_on_logout to Auth.
101
102 2.18
103 2007-07-24
104 * Merry Pioneer Day - http://en.wikipedia.org/wiki/Pioneer_Day_(Utah)
105 * Allow for check_valid_auth in App
106 * Allow for set_cookie, delete_cookie, location_bounce to be overridden in Auth
107 * Add get_valid_auth to the history
108 * Massive refactor of CGI::Ex::App
109 * Rename conf_ext to ext_conf to be similar to ext_print and ext_val
110 * Add undocumented conf_die_on_fail (which defaults to true)
111 * Fix bug in handle_error
112 * Allow empty hashrefs passed to Validate - (broken in 2.17)
113 * Add tests to help with Devel::Cover coverage.
114
115 2.17
116 2007-06-26
117 * Add load_conf and conf* methods to App to allow for easier external configuration
118 * Add more documentation
119 * Allow print_content_type('text/html', 'utf-8')
120 * Allow App to pass mimetime and charset to print_out.
121 * Update path methods.
122
123 2.16
124 2007-06-21
125 * Add default __error step which is called by default handle_error method.
126 * Default base_dir_abs to '.'
127
128 2.15
129 2007-06-20
130 * Fix some warning issues with the Recipe sample in App
131 * Cleanup require_auth interface in App (you will want to
132 double check if you have overwritten require_auth in your
133 application to make sure your implementation is still compatible)
134 * Require latest Template::Alloy
135
136 2.14
137 2007-06-12
138 * Moved CGI::Ex::Template to Template::Alloy
139 * Template::Alloy is now required as a dependency
140 * Update some portions of App POD.
141
142 2.13
143 2007-05-21
144 * Added full support for HTML::Template and HTML::Template::Expr.
145 * Added missing HTML::Template::Expr vmethods.
146 * Added support for using Text vmethods as top level items.
147 * Added SYNTAX configuration item.
148 * Added V2EQUALS configuration item.
149 * Broke Extra and HTE out to its own area.
150 * Added many more tests.
151 * Allow QR_PRIVATE to be false.
152
153
154 2.12
155 2007-05-11
156 * Add STAT_TTL
157 * Add NEGATIVE_STAT_TTL
158 * Add WRAPPER configuation
159 * Add ERROR and ERRORS configuration
160 * Cleanup handling of PRE_PROCESS and POST_PROCESS
161 * Add more tests for the file operations
162 * Cleanup some potential argument issues on cached USE and THROW
163
164 2.11 2007-05-07
165 * Add more samples to App synopsis.
166 * Add VIEW directive support to Template.
167 * Update data storage to more easily support TT2 parsers.
168 * Add regex support in Template.
169 * Add CONFIG directive in Template.
170 * Better error reporting.
171 * Allow parser to parse all TT2 tests in TT2 test suite.
172 * Add V2PIPE configuration to provide backward support for TT2 non-inline pipes.
173 * Add vmethod url.
174 * Cleanup argument parsing to be more compatible with TT2.
175
176 2.10 2007-04-27
177 * Allow for fully regex grammar based engine.
178 * Move to generic operator parse tree. All constructs are now only arrayrefs.
179 This should allow for easy porting to other languages.
180 * Allow for nested tags [% "[% 2 %]" | eval %].
181 * Added back in references in Template - but fast and simple.
182 * Allow for regex based TAGS.
183 * Allow for "unquoted" in TAGS.
184 * Catch parsing bug in "1 - + 2" in Template.
185 * Fix minor bug in Template qw() construct.
186 * Re-added ANYCASE support.
187 * Added V1DOLLAR support.
188 * Remove GROUP support from CGI::Ex::Validate.
189 * Allow for crypted passwords to work in Auth.
190
191 2.09 2007-04-05
192 * Add more documentation about file paths
193 * Allow for base_dir_abs to return a single value, or an arrayref of values, or
194 a coderef that returns a single value or arrayref.
195 * Allow CGI::Ex send_status to work on mod_perl2.
196 * Add tests to cover all virtual methods in CGI::Ex::Template.
197 * Bring all virtual methods into line with TT2.18
198
199 2.08 2007-03-02
200 * Allow for digits passed to %*s patterns in format, and fmt or CGI::Ex::Template
201 * Fix bug in validate.js to allow for non-existant fields (with replace)
202 * Warn clean in Validate.pm for non-existant field (with replace)
203 * Fix bug in validate.js with trim_control_chars - was broken entirely
204 * Add no_tag_splitting flag to JSONDump
205 * Allow for more types of numbers to be quoted in JSONDump
206 * Add path_info_map_base method to CGI::Ex::App
207 * Add path_info_map hook to CGI::Ex::App
208 * Updated and added much documentation to CGI::Ex::App
209
210 2.07 2007-01-30
211 * Add clear_app method which flushes items pertaining to navigation.
212 * Allow for CGI::Ex::Template PLUGIN_BASE to be a scalar OR an arrayref.
213 * Add sort keys to DUMP directive
214 * Add trim_control_chars as a validate directive
215 * Allow for . in the QR_PRIVATE of Template
216 * Add dump_parse_expr to CGI::Ex::Template
217 * Fix JSONDump to handle more number cases
218 * Fix JSONDump to output more IE friendly JS
219 * Allow fill to work only with form elements with attributes
220
221 2.06 2006-07-21
222 * Allow for JSONDump to swap --> to --"+">
223 * Fix memory issue in App with closures
224 * Remove weak_copy routine from Template (memory issue)
225
226 2.05 2006-07-19
227 * Allow for CGI::Ex to be compatible with Mandrake and Fedora mod_perl 2, as well as debian mod_perl2
228 and older mod_perl1.
229 * Allow for CGI::Ex::Dump to localize the Data::Dumper options to not stomp on anybody elses toes.
230 * Update various perldoc bugs
231 * Fix JSONDump of \t and \r
232 * Change .as to .fmt to coincide with Perl6 (.as is still there - just not documented)
233
234 2.04 2006-07-10
235 * Allow for items not in group order to get added to validation correctly in CGI::Ex::Validate.
236 * Add samples/index.cgi
237 * Fix samples/app/cgi_ex_* to actually work.
238 * Added CGI::Ex::JSONDump
239 * Change Validate to use JSONDump instaed of JSON
240 * Various perldoc and other bug fixes.
241 * Removed CGI-Ex.spec - use cpan2rpm or cpan2deb instead.
242
243 2.03 2006-06-10
244 * Fix the associativity of operators in Template to match perl
245 * Allow for multiple prefix operators.
246 * Change name of parse_variable to parse_expr
247 * Change name of get_variable to play_expr
248
249 2.02 2006-06-08
250 * Fix the yaml tests
251 * Add failed_sleep to Auth
252 * Various pod fixes
253 * Allow for conf_read and write errors to die - we really do need to have those bubble up.
254 * Fix all tests
255 * Allow for validate.js to work with existing onsubmit handlers of forms
256 * Added "as" virtual methods to Template
257 * Added Virtual Objects to Template
258 * Added self modifiers (*= etc) to Template
259 * Added increment and decrement (++ --) to Template
260 * Allow for scientific notation and hexidecimal in Template
261 * Added int, rand and random virtual methods to Template
262
263 2.01 2006-05-31
264 * Added App refine_path hook.
265 * Added App destroy method.
266 * Fix CGI::Ex::Template perldoc.
267
268 2.00 2006-05-30
269 * Added CGI::Ex::Template and test suites
270 * Allow for CGI::Ex::Template to be fully TT2 syntax compliant
271 * Re-implementation of CGI::Ex::Auth
272 * Allow for step to be automatically untainted during loop in CGI::Ex::App
273 * Fix base_dir_rel to work with "" as the dir in CGI::Ex::App
274 * Bug fixes in CGI::Ex::Fill
275 * Better perldoc in CGI::Ex::Fill
276 * Add named parameter function called fill in CGI::Ex::Fill
277 * DProfd CGI::Ex::Conf for improvements
278 * DProfd CGI::Ex::Validate for improvements
279 * Added conf_read and conf_write methods for Conf
280 * Cleanup of all of the test
281 * Add missing tests
282 * Add Array Prototype fixes from Eamon Daly
283 * Add examples and cleanup to CGI::Ex::App
284 * Cleanup hooks in App (add fill_args and template_args)
285 * Change run_hook syntax in App
286 * Add dump_history with more history information
287 * Integrate CGI::Ex::Auth with App
288
289 1.14 2005-02-28
290 * Bug fix in validate (OR's were not working)
291 * Allow for checking for package existence without require in App
292 * Add hash_swap
293 * Add hash_base
294 * Add add_to_ methods for swap, fill, form, common, and errors
295 * Swap the run_hook order of step and hookname
296 * Allow for untaint in CGI::Ex::Validate
297 * Allow for !field in equals of CGI::Ex::Validate
298 * Allow for return of names in CGI::Ex::Validate
299 * Allow CGI::Ex to work better with CGI/mod_perl1/mod_perl2
300 * Fix required => 0 in javascript
301
302 1.13 2004-12-02
303 * Show more App perldoc examples
304 * Fix some App path bugs
305 * Add more app hooks
306 * Cleanup app code
307 * Allow for Conf to write to each of the types
308
309 1.12 2004-11-10
310 * Show more App perldoc examples
311 * Fix some App path bugs
312 * Change some App method names
313 * Allow for App js_validation
314 * Allow for App validation redirection
315
316 1.11 2004-11-08
317 * Let file path dependent tests succeed
318 * Allow for next current and previous steps in App
319 * Couple of warn cleans in App
320
321 1.10 2004-11-05
322 * Make CGI::Ex::App->print really work with Template
323 * Fix very large javascript variable swapping bug
324 * Numerous upgrades to App
325 * Fix module access in CGI::Ex
326 * Allow validate to populate what_was_validated array
327 * Allow for App to cleanup crossed references
328
329 1.00 2004-04-23
330 * Added set_path method
331 * Added Auth module
332 * Fix validate.js for select-multiple
333 * Fix validate.js for max_values
334 * Add min_in_set and max_in_set types for validate
335 * Add default for validate (sets default value)
336
337 0.99 2004-03-22
338 * Allow swap_template to be called with one argument
339 * Added extended examples in t/samples/cgi_ex_*
340 * Remove dependency on CGI::Util (doesn't exists on some perls)
341 * A few fixes on App
342 * Added set_form
343 * Updated tests
344
345 0.98 2004-03-19
346 * Multiple fixes in Fill module
347 * Updates on perldocs (thanks to Simon Bellwood for bug reports)
348 * Addition of Dump (debug) module
349 * Addition of Die module
350 * Addition of App module
351
352 0.97 2004-03-05
353 * Allow for custom_js type
354 * Fix unshift, shift, and push in ie 5.0
355 * Fix type CC in validate.js
356 * Allow for duplicate field definitions
357
358 0.96 2003-11-26
359 * Fix for pos not resetting in CGI::Ex::Fill
360 * Fix for general items set in self not being passed to generate_js
361 * Workaround for yaml_load.js |- not properly trimming whitespace
362
363 0.94 2003-11-26
364 * Javascript functionality is in.
365
366 0.0 2003-11-01
367 * Version 0.0 checked in
This page took 0.04677 seconds and 4 git commands to generate.