History | View | Annotate | Download (926 Bytes)
commit adfa1656fb9d8b5bb601af1d7a6720884954d87aMerge: bd579c8 af5b9a9Author: Nils Adermann <naderman@naderman.de>Date: Mon Dec 13 16:35:55 2010 +0100
Merge branch 'ticket/igorw/9556' into develop
Copy 3.0.x branch to trunk
Okay, a first ci of the new captcha plugins. We'll add dynamic template includes later, as well as documentation on how to use this. I'm prepared to get yelled at for bugs (oh, I know that there are plenty); but please blame spammers for broken styles and MODs.
Fix some instances where we left db connections open (registration -> captcha for example)
Hiding everywhere little buggers, eh?
This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.
dumdidum... sorry. ;)
#5734- replaced array_rand($array) with mt_rand(0, sizeof($array) - 1) as array_rand did not take my seed
- compress is nicer (fixed a bug :P)- 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
some fixes
- Bug
bugs? bugs.
- removed db cache (might re-appear, but for now we do not see the need for it)- all changes to styles/subsilver/template are purely cosmetic (no functional changes)- cosmetics- bugfixes- add index to modules table- use modules ordering code for forums too
make sure custom profile fields are created correctly on registration (#2225)
- fixed a few bugs- added user_add() function- check posted images ([img]) for same domain/scipt and php files- auth_api.html updated to the coding guidelines look&feel- introduced ability to force non page-updates (cron is using it)- correctly resend coppa email
ok, this one is rather large... the most important change:re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different
apart from this, code cleanage, bug fixing, etc.
- We are now at seven different policies, not counting the non-GD version. 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!...
- CAPTCHA!
Xore and NeoThermic are very cool, you must thank them!
- streamlined reports to consist of the feature set we decided upon (Nils, your turn now)- use getenv instead of $_ENV (with $_ENV the case could be wrong)- permission fixes (there was a bug arising with getting permission flags - re-added them and handled roles deletion differently)...
- Moved the image loading outside the big loop. This brings fewer comparisons and allows us to unload the image data sooner.- Used a more appropriate method to break the images into chunks.
- ord() always returns a unsigned integer, no need to force it positive
- Remove the BBCode UIDs from the output- Faster generation of CAPTCHA images
- It turns out that a very fast Adler-32 implementation exists, this removes the bulk of my runtime fears and allows me to make the script a little more readable.- Found a neat way to express the size of the image computationally instead of counting the length...
- A bug fix ( never noticed that the unset() touched the wrong var ) and a few minor (super minor) speed improvements+ When from post inc to pre inc because pre is SLIGHTLY faster+ The [] operations are very slow, it is easy enough to feed the array an index to insert at
- This is some scary stuff!The PNG spec allows for only one method of compression inside of IDAT chunks: inflate/deflate (Zlib). However, Zlib lets us do some crazy things as long as we make it happy by giving it an Adler hash and spawning some other needed data thus emulating a part of the Zlib spec :-) I just hope this works as I think it does :P
Fixes in both CAPTCHA and Compress
Compress:- The "crc bug" is not a bug, it is actually a feature (the function returns an Adler hash, not a crc hash. This is more usefull for PNG files..) and was "fixed" by using the proper function instead of munging a substring...
- changed ucp classes to work with the new module system- mcp is no longer working, i know.
- Documentation related changes- added resend activation email dialog- fixed issue in session code- log failed/successful admin re-authentication/login- fixed simple forum dropdown box (used in mcp and posting)
ucp updates
- put consoring and smilie processing into functions (we use them all over the place) for better changing and consistency.- changed docs/AUTHORS to reflect the recent code re-use in functions_messenger.php- pleasing the users a little bit more by using table constants. :D...
Change in format of module db data, add zebra, many things probably "damaged goods" for now ... don't panic Mr. Mainwaring, don't panic
Some re-arrangement of validation routines to improve extensibility
Hello!