Commit Graph

49 Commits

Author SHA1 Message Date
Gregwar f06ff4d2c2 Clarification 2015-12-13 12:12:45 +01:00
Gregwar 42cb26794d Getting compatible with php>=5.3.9 2015-12-13 12:10:14 +01:00
Gregwar 52107b0c32 Using ::class instead of type alias (working w/ sf3, see #148) 2015-12-06 23:07:05 +01:00
Max Kovpak 87d38d98a4 Update CaptchaType.php
Checkout version
2015-08-26 11:26:01 +03:00
Max Kovpak 3cc4b072c3 POST_BIND deprecated
POST_BIND deprecated since version 2.3, to be removed in 3.0. Use POST_SUBMIT instead.
2015-08-25 17:15:15 +03:00
StudioMaX 2e49f50c1a Add configureOptions method to form types for SF 2.7 2015-07-09 22:19:21 +06:00
Piotr Antosik 9614209d83 update docblock, fix typos, improve composer.json 2014-08-19 12:19:27 +02:00
Gregwar 162a2a87cd Changing gcp to gcb 2014-07-31 16:41:27 +02:00
Arnaud Dezandee b87b05e29d Fix session key variable naming 2014-07-29 19:03:41 +02:00
Piotr Antosik 458e7cafef fix multiple captcha on page 2014-07-21 14:46:14 +02:00
Gregwar 35cbc6226c Adding text & background color to persist options (see #18) 2014-05-07 17:18:57 +02:00
Gregwar 7f30646c68 Moving the "reload without as_url" exception to catch more cases (see 2013-08-07 10:57:56 +02:00
Gregwar 4e13d2d4cb Moving translation logic to the validator (fixes for 2.2, see #52) 2013-03-03 13:54:31 +01:00
Björn Fromme 5f2afc623c Changed deprecated default option 2013-02-13 18:29:40 +01:00
Gregwar 45e4f72394 [CaptchaType] Adding length to the persisted options to work with as_url
(see #49)
2013-02-12 11:23:22 +01:00
Gregwar 42f6e92560 Cleaning session usage to keep options during as_url (fixes #41) 2013-01-21 15:18:36 +01:00
Gregwar 435cc44f91 Renaming view variable to image_id to avoid collision with the field id (see #43) 2013-01-04 08:31:59 +01:00
Gregwar 35405aca2e Adds an option to renew the code (fixes #43) 2012-12-25 20:07:00 +01:00
Gregwar 11fe650bde Adding option "humanity" (fixes #40) 2012-12-04 12:20:23 +01:00
Gregwar 31d080a9b7 Fixing session key, removing valid_keys which was painful to transport
the whitelist in the session (see #36)
2012-12-04 11:33:54 +01:00
Jeremy Livingston 1437f0c7e0 Remove caching of form name for key 2012-12-03 18:54:39 -05:00
Jeremy Livingston a41e4dd865 Add URL generation method and update to Symfony 2.1 standards 2012-11-13 22:33:36 -05:00
Grégoire Passault 141b976479 Merge pull request #29 from piscis/patch-1
Fix Bundle for symfony 2.1 beta4
2012-07-24 14:17:21 -07:00
Alexander Pirsig c025ea9b0d Fixing call to undefined methode 2012-07-24 16:31:51 +03:00
Alexander Pirsig b9f003c9cf Fix Bundle for symfony 2.1 beta4 2012-07-24 00:02:37 +03:00
Jeremy Livingston f9885acde9 Add bypass_code configuration parameter to force captcha validation for development/automation. 2012-06-30 12:18:05 -04:00
Jeremy Livingston 8d54bfd598 Add invalid_message configuration option 2012-06-29 10:23:05 -04:00
Jeremy Livingston 3269c1d772 Updated CaptchaType to comply with the Symfony 2.1 FormTypeInterface updates 2012-06-19 15:16:13 -04:00
Gregwar 57ab1fe3f5 [CaptchaType] Fixing getDefaultOptions for sf2.1 (fixes #16) 2012-06-06 18:34:44 +02:00
Jeremy Livingston 63190cf896 Modified Session namespace for Symfony 2.1 2012-04-25 22:54:51 -04:00
Gregwar 0453ae2e0e [CaptchaType] Cleaning options management (fixes #15) 2012-02-08 19:53:22 +01:00
Gregwar f9c57e6970 [Configuration] Added JPEG quality node (fixes #13) 2011-12-14 10:35:10 +01:00
Gregwar 53e5605103 [CaptchaType] Makes sure that the field is empty on form loading (fixes 2011-12-14 10:28:21 +01:00
Gregwar a3ce06f263 [Generator] Fingerprinting CAPTCHAs to keep the same image between two
requests (fixes #11)
2011-12-02 19:26:31 +01:00
Gregwar 726f21e2ad [Configuration] Adding font (fixes #9) 2011-12-02 19:07:28 +01:00
Gregwar a8434542af [Configuration] Adding a "keep_value" key (fixes #11) 2011-12-02 18:54:42 +01:00
Gregwar 537716fe38 [Configuration] The charset is configurable (fixes #8) 2011-12-02 18:41:16 +01:00
Gregwar c0530a0b26 [Configuration] Cleaner organization (fixes #10) 2011-12-02 18:36:34 +01:00
Wojciech Sznapka eb97a9c0af One more fix in generate method 2011-11-28 20:23:10 +01:00
Wojciech Sznapka 3ecbec4ae6 Changed session key checking 2011-11-28 18:49:36 +01:00
Wojciech Sznapka e92b657796 Added ability to store captcha value in session between page redirects 2011-11-28 00:51:53 +01:00
Björn Fromme c6b47017b2 Added options for garbage collection frequency and expiration time of captcha image files. 2011-11-09 17:58:53 +01:00
Bjoern Fromme 572b58a41a Added functionality to generate image files for older browsers. 2011-11-09 14:43:25 +01:00
Gregory McLean 5d5ca993a1 The captach field is not bound to a entity method by default. 2011-09-11 15:11:13 -04:00
Gregwar 4e59281467 Added "length" option and changed the parameters names 2011-09-09 20:02:47 +02:00
Gregwar ab882512f1 Added the possibility of overriding the width & height in the options 2011-09-09 19:46:12 +02:00
Gregory McLean e2a705dda7 Added captcha image width and height as a configuration setting. 2011-09-08 11:07:04 -04:00
Gregwar bb2f9b94b8 The CAPTCHA type now works 2011-08-25 23:10:24 +02:00
Gregwar 4e1892fc02 Created captcha type (this works, but still no image generation) 2011-08-25 22:50:59 +02:00