Gregwar/CaptchaBundle — pull request #36 by jeremylivingston (2012-11-14 03:49:35+00:00)
Title: Add URL generation method and update to Symfony 2.1 standards

I made quite a few changes to the bundle that I think will help prepare it for future Symfony versions and add functionality for users.

One major change that I added was the ability to configure a "use_url" option. This option will render the image with a configured route as the src. That route will then kick off the image generation and session storage. This allows IE6/7 support in a multiple-server environment.

I also removed the deprecated methods and properties that were used in the CaptchaType. This included adding a POST_BIND event listener for validation and accessing the view's vars array directly.

In addition, I added function documentation and cleaned up a few areas to adhere to Symfony's [coding standards](http://symfony.com/doc/current/contributing/code/standards.html).

Only one piece of functionality has changed -- You are no longer able to configure the following options on a per-captcha basis:

* image_folder
* web_path
* gc_freq
* expiration

I figured that these options should be a global configuration and don't make sense to configure at an individual level. The rest of the options are still configurable both globally and on a per-captcha basis.

I understand that this is quite a large commit, so it's perfectly fine if you're hesitant to merge it in. If you'd like, I can break it into smaller pull requests that each address an individual change. Also, if you'd prefer to keep these changes out of the bundle, that's perfectly fine as well.

Please let me know if I can clarify anything or help in any way.
Thanks for the useful bundle!