aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/captcha/captcha_gd.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11854] Move captcha stuff to phpbb/ and use DI for pluginsTristan Darricau2014-08-111-2629/+0
| | | | PHPBB3-11854
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-15/+7
| | | | PHPBB3-12594
* [ticket/12458] Apply Squiz.WhiteSpace.SuperfluousWhitespace.* to legacy code.Andreas Fischer2014-04-291-11/+10
| | | | | | | | | * There MUST NOT be trailing whitespace at the end of lines. * There MUST NOT be whitespace before the first content of a file. * There MUST NOT be whitespace after the last content of a file. * Functions MUST NOT contain multiple empty lines in a row. PHPBB3-12458
* [ticket/10763] Fix static calls to non static methods in colour_managerJoas Schilling2014-03-091-16/+16
| | | | PHPBB3-10763
* [task/code-sniffer] Replace spaces with tabs.Andreas Fischer2013-10-301-7/+8
| | | | PHPBB3-11980
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | PHPBB3-9916
* Merge branch 'develop-olympus' into developNils Adermann2011-06-051-1/+1
|\ | | | | | | | | | | | | * develop-olympus: [ticket/10042] GD CAPTCHA: Call phpbb_mt_rand() where required. [ticket/10042] GD CAPTCHA: Round offset to the next pixel. [ticket/10042] Add mt_rand() wrapper which allows swapping $min and $max.
| * Merge branch 'ticket/bantu/10042' into develop-olympusNils Adermann2011-06-051-1/+1
| |\ | | | | | | | | | | | | | | | | | | * ticket/bantu/10042: [ticket/10042] GD CAPTCHA: Call phpbb_mt_rand() where required. [ticket/10042] GD CAPTCHA: Round offset to the next pixel. [ticket/10042] Add mt_rand() wrapper which allows swapping $min and $max.
| | * [ticket/10042] GD CAPTCHA: Call phpbb_mt_rand() where required.Andreas Fischer2011-03-051-1/+1
| | | | | | | | | | | | PHPBB3-10042
| | * [ticket/10042] GD CAPTCHA: Round offset to the next pixel.Andreas Fischer2011-03-051-1/+1
| | | | | | | | | | | | PHPBB3-10042
* | | Merge branch 'develop-olympus' into developIgor Wiedler2011-03-311-27/+27
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/10112] Replaced a couple occurrences of count() with sizeof()
| * | [ticket/10112] Replaced a couple occurrences of count() with sizeof()Callum Macrae2011-03-301-27/+27
| |/ | | | | | | | | | | As per the coding guidlines, sizeof() should be used instead of count(). PHPBB3-10112
| * Use dynamic includes, fix some style bugs, make the old default captcha ↵Henry Sudhof2009-06-171-3/+2
| | | | | | | | | | | | family backwards compatible to 3.0.5 styles git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9609 89ea8834-ac86-4346-8a33-228a782c2dd0
| * Oh right. PHP4Henry Sudhof2009-06-131-0/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9581 89ea8834-ac86-4346-8a33-228a782c2dd0
| * some shapesHenry Sudhof2009-03-201-465/+1428
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9403 89ea8834-ac86-4346-8a33-228a782c2dd0
| * ermHenry Sudhof2009-02-091-1/+1
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9324 89ea8834-ac86-4346-8a33-228a782c2dd0
| * some fixes, need feedback about parameters and shapesHenry Sudhof2009-02-091-23/+37
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9323 89ea8834-ac86-4346-8a33-228a782c2dd0
| * a little lessHenry Sudhof2009-02-081-2/+2
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9322 89ea8834-ac86-4346-8a33-228a782c2dd0
| * and another CAPTCHA setting - add new noise shapes to the noise array for ↵Henry Sudhof2009-02-081-1/+62
| | | | | | | | | | | | more variations. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9320 89ea8834-ac86-4346-8a33-228a782c2dd0
| * New option for the GD VC. Parameters need some more tweakingHenry Sudhof2009-01-211-4/+39
| | | | | | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9283 89ea8834-ac86-4346-8a33-228a782c2dd0
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* | Copy 3.0.x branch to trunkMeik Sievertsen2009-10-041-0/+2640
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@10211 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Move trunk/phpBB to old_trunk/phpBB Meik Sievertsen2009-10-041-2636/+0
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@10210 89ea8834-ac86-4346-8a33-228a782c2dd0
* | Merge most changes from 3.0.x branch since the 25th december.Meik Sievertsen2009-03-221-443/+1513
| | | | | | | | | | | | (Captcha changes for refreshing captcha image not included) git-svn-id: file:///svn/phpbb/trunk@9404 89ea8834-ac86-4346-8a33-228a782c2dd0
* | $config to phpbb::$configMeik Sievertsen2008-12-281-9/+8
| | | | | | | | git-svn-id: file:///svn/phpbb/trunk@9242 89ea8834-ac86-4346-8a33-228a782c2dd0
* | oh boy...David M2008-01-031-66/+66
|/ | | | | | | - Migrate code base to PHP 5.1+ git-svn-id: file:///svn/phpbb/trunk@8295 89ea8834-ac86-4346-8a33-228a782c2dd0
* dumdidum... sorry. ;)Meik Sievertsen2007-10-051-13/+16
| | | | git-svn-id: file:///svn/phpbb/trunk@8147 89ea8834-ac86-4346-8a33-228a782c2dd0
* While we are at it ...Henry Sudhof2007-05-061-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@7487 89ea8834-ac86-4346-8a33-228a782c2dd0
* Trying to improve readability in the cube3d captcha. The freetype one might ↵Henry Sudhof2007-05-061-35/+27
| | | | | | | | | | make a comeback as option :|. #10547 #10543 git-svn-id: file:///svn/phpbb/trunk@7486 89ea8834-ac86-4346-8a33-228a782c2dd0
* Introducing a new CAPTCHA. Thanks to Robert "Xore" Hetzler for idea & code ↵Henry Sudhof2007-05-051-83/+1494
| | | | | | | | | and Ashley "Neothermic" Pinner for her expertise and contributions to said code. This introduces new language variables, so take note translators :). git-svn-id: file:///svn/phpbb/trunk@7478 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fix some oddities (doubled spaces for example)Meik Sievertsen2007-01-261-1/+1
| | | | | | | | | | - changed the way make_forum_select() is returning the forum list - now including skipped forums but being disabled. This should make identifying the correct forum much more easier. - Changed some permission namings based on suggestions by the community - Tried to comply to the permission field ordering within the language files while displaying permission sets. Hopefully it's worth the additional processing time. - Disable submit buttons after clicking for installation and conversions. git-svn-id: file:///svn/phpbb/trunk@6930 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixing some bugsMeik Sievertsen2007-01-201-1/+7
| | | | | | | | - removing utf8 characters from email files (has been discussed internally, you guys know why) - making sure some opendir calls are checked before calling readdir. git-svn-id: file:///svn/phpbb/trunk@6912 89ea8834-ac86-4346-8a33-228a782c2dd0
* #5734David M2006-12-031-3/+6
| | | | | | | - replaced array_rand($array) with mt_rand(0, sizeof($array) - 1) as array_rand did not take my seed git-svn-id: file:///svn/phpbb/trunk@6705 89ea8834-ac86-4346-8a33-228a782c2dd0
* #5672David M2006-11-281-1/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@6687 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixes for the following bugs:Meik Sievertsen2006-11-151-29/+14
| | | | | | | | | | | | | | | | | | #5326 #5318 #5304 #5290 #5288 #5278 #5276 #5272 #5266 - also fixed the "Call-time pass-by-reference" bug #5252 - within this step changed the normalize calls to require references. - added captcha size variables to the class scope (suggestion was posted at area51) git-svn-id: file:///svn/phpbb/trunk@6584 89ea8834-ac86-4346-8a33-228a782c2dd0
* - compress is nicer (fixed a bug :P)David M2006-11-031-3353/+81
| | | | | | | | - UTF-8 code is nicer (fixed a bug :P) - new CAPTCHA. Replaced the old one for size and usability issues. The old CAPTCHA will most likely be released as a separate package git-svn-id: file:///svn/phpbb/trunk@6549 89ea8834-ac86-4346-8a33-228a782c2dd0
* put a comment to the captcha_gd header so everyone understands that no more ↵Meik Sievertsen2006-08-201-3/+13
| | | | | | policies are allowed to the extend that some will most likely be removed. git-svn-id: file:///svn/phpbb/trunk@6304 89ea8834-ac86-4346-8a33-228a782c2dd0
* radius += 2David M2006-08-121-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6283 89ea8834-ac86-4346-8a33-228a782c2dd0
* *** empty log message ***David M2006-08-121-30/+12
| | | | git-svn-id: file:///svn/phpbb/trunk@6282 89ea8834-ac86-4346-8a33-228a782c2dd0
* *** empty log message ***David M2006-08-121-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6281 89ea8834-ac86-4346-8a33-228a782c2dd0
* - New color generation system, please report any images that have issues.David M2006-08-121-345/+1088
| | | | git-svn-id: file:///svn/phpbb/trunk@6267 89ea8834-ac86-4346-8a33-228a782c2dd0
* bugs? bugs.David M2006-07-011-20/+20
| | | | git-svn-id: file:///svn/phpbb/trunk@6133 89ea8834-ac86-4346-8a33-228a782c2dd0
* make sure custom profile fields are created correctly on registration (#2225)Meik Sievertsen2006-06-131-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6058 89ea8834-ac86-4346-8a33-228a782c2dd0
* - We are now at _seven_ different policies, not counting the non-GD version. ↵David M2006-05-301-181/+524
| | | | | | | | | | | | | We must remove something... - Made the CAPTCHA system idiot proof, disabling all the policies still lets an image get created. - We handle the case of a user having GD but no TTF. Thankfully, we have CAPTCHAs that don't need TTF! - Fixed that stupid language string... - Renamed Occlude to Overlap - Shape is now only enabled if TTF support is detected git-svn-id: file:///svn/phpbb/trunk@5985 89ea8834-ac86-4346-8a33-228a782c2dd0
* a few changes ;-)David M2006-05-191-4/+209
| | | | git-svn-id: file:///svn/phpbb/trunk@5934 89ea8834-ac86-4346-8a33-228a782c2dd0
* - captcha stuffDavid M2006-05-131-33/+20
| | | | | | | - unique_id git-svn-id: file:///svn/phpbb/trunk@5911 89ea8834-ac86-4346-8a33-228a782c2dd0
* - introduce new function build_url to easily build a valid url from the ↵Meik Sievertsen2006-05-121-1/+16
| | | | | | | | | | | | | | user->page object as well as optionally removing certain keys - changed attachment config to utilize the config build methods - cleaned up posting.php - the submit/delete_post functions are now usable (functions_posting.php) - adjusted header icons (transparency) - a bunch of fixes for mssql - bug fixes git-svn-id: file:///svn/phpbb/trunk@5902 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some adjustements for phpdocumentorMeik Sievertsen2006-05-051-2/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@5883 89ea8834-ac86-4346-8a33-228a782c2dd0
* - CAPTCHA!David M2006-04-291-0/+2154
Xore and NeoThermic are very cool, you must thank them! git-svn-id: file:///svn/phpbb/trunk@5862 89ea8834-ac86-4346-8a33-228a782c2dd0