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