aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/avatar
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11548] Check upload avatar URL the same way as in phpBB 3.0Marc Alexander2013-07-121-0/+26
| | | | | | | | | The upload avatar URL was checked for its length in phpBB 3.0. Additionally, starting with the new avatar system in phpBB 3.1, the URL was checked to prevent improper URLs being submitted. This minor change is needed for proper testing of the ucp and acp groups pages. PHPBB3-11548
* [ticket/11010] Fixes for number input in acpVjacheslav Trushkin2013-05-201-1/+1
| | | | PHPBB3-11010
* [ticket/11335] (avatars) Make php_ext 'php' not '.php'Nathan Guse2013-04-243-5/+5
| | | | PHPBB3-11335
* [ticket/11404] Use a default data row if $row is empty in clean_row()Marc Alexander2013-03-071-10/+16
| | | | | | | | A statically defined $default_row will be used inside the phpbb_avatar_manager::clean_row() method if the $row passed to it is empty. PHPBB3-11404
* [ticket/11404] Return empty array of avatar data if $row is emptyMarc Alexander2013-03-061-0/+11
| | | | | | | | | | While creating a group in the acp, the group data ($group_row) is empty. Due to that array_combine in phpbb_avatar_manager::clean_row() will cause PHP Warnings. In addition to that the required indexes 'avatar', 'avatar_width', 'avatar_height', and 'avatar_type' won't be defined. This patch will solve that issue. PHPBB3-11404
* [feature/avatars] Use "Main" as category for avatars in root of galleryMarc Alexander2013-02-191-6/+8
| | | | | | | | | Before this change the whole avatar gallery path would show as category. Additionally, the avatars that were selected like that had an incorrect path and didn't show up correctly. With this patch it'll display "Main" as category and properly work. PHPBBB3-10018
* [feature/avatars] Remove trailing whitespace from avatar codeMarc Alexander2013-02-193-8/+8
| | | | PHPBB3-10018
* [feature/avatars] Pass phpbb_user to prepare and process form functionsMarc Alexander2013-02-195-10/+12
| | | | | | | The phpbb_user object might be used for language variables and other things. PHPBB3-10018
* [feature/avatars] Document the use of the allowed extensions arrayMarc Alexander2013-02-131-1/+6
| | | | PHPBB3-10018
* [feature/avatars] Use array for allowed extensions and implode if neededMarc Alexander2013-02-074-4/+9
| | | | PHPBB3-10018
* [feature/avatars] Correct license, copyright and package infoMarc Alexander2013-02-037-21/+21
| | | | PHPBB3-10018
* [feature/avatars] Move list of supported formats to avatar driver classMarc Alexander2013-01-254-3/+8
| | | | | | | Using the regex and turning it into an array if necessary seemed like the cleanest approach to achieve this. PHPBB3-10018
* [feature/avatars] Add missing @var to docblocks in avatar managerMarc Alexander2013-01-091-0/+4
| | | | PHPBB3-10018
* [feature/avatars] Strictly check if avatar list is empty and cache resultMarc Alexander2013-01-081-2/+3
| | | | PHPBB3-10018
* [feature/avatars] Pass phpbb_user object to prepare_form_acp()Marc Alexander2013-01-084-6/+6
| | | | | | | The phpbb_user object might be used for language variables. Pass it as a function argument to prepare_form_acp() instead of using globals. PHPBB3-10018
* [feature/avatars] Pass phpbb_user object to get_custom_html()Marc Alexander2013-01-083-3/+6
| | | | | | | | Pass the phpbb_user object to function get_custom_html(). This object is used in that method. Also fixed incorrect arguments to get_custom_html() in phpbb_get_avatar(). PHPBB3-10018
* [feature/avatars] Remove $request property and pass as argument if neededMarc Alexander2013-01-076-33/+28
| | | | | | | | Remove the $request property from the phpbb_avatar_driver class and rather pass it as function argument if it's needed in a function. Currently this is only the case for the class methods prepare_form() and process_form(). PHPBB3-10018
* [feature/avatars] Add function for localizing errorsMarc Alexander2013-01-061-4/+29
| | | | PHPBB3-10018
* [feature/avatars] Add missing docblocks to avatar managerMarc Alexander2013-01-051-0/+16
| | | | PHPBB3-10018
* [feature/avatars] Improve handling of incorrect input for avatarsMarc Alexander2013-01-042-1/+13
| | | | | | | | | The upload avatar driver will now inform the user if insufficient data has been entered for both remote and local avatar uploads. The local avatar driver (gallery avatar) will also inform the user if he didn't select a category and/or file before submitting. PHPBB3-10018
* [feature/avatars] Let the server handle http or https for gravatarsMarc Alexander2012-12-271-1/+1
| | | | PHPBB3-10018
* [feature/avatars] Add missing explanation to docblock of get_all_drivers()Marc Alexander2012-12-271-0/+4
| | | | PHPBB3-10018
* [feature/avatars] Some more miscellaneous changesMarc Alexander2012-12-273-24/+24
| | | | PHPBB3-10018
* [feature/avatars] Use callback method in avatar manager's clean rowMarc Alexander2012-12-171-7/+12
| | | | PHPBB3-10018
* [feature/avatars] Add more consistency to codebaseMarc Alexander2012-12-112-12/+22
| | | | PHPBB3-10018
* [feature/avatars] Fix behavior of avatar manager and variablesMarc Alexander2012-12-041-10/+10
| | | | | | | The $force_all variable was only partially removed and the behavior was not consistent in all files. PHPBB3-10018
* [feature/avatars] Use seperate function for retrieving the config nameMarc Alexander2012-12-041-3/+15
| | | | PHPBB3-10018
* [feature/avatars] Use seperate function for retrieving all driversMarc Alexander2012-12-041-3/+22
| | | | PHPBB3-10018
* [feature/avatars] Removed unneeded dependenciesMarc Alexander2012-12-011-9/+1
| | | | PHPBB3-10018
* [feature/avatars] Fix docblocks and minor cosmetic issuesMarc Alexander2012-12-015-21/+25
| | | | PHPBB3-10018
* [feature/avatars] Create setting for enabling avatar in managerMarc Alexander2012-11-306-66/+21
| | | | PHPBB3-10018
* [feature/avatars] Fix variable namesMarc Alexander2012-11-301-0/+1
| | | | PHPBB3-10018
* [feature/avatars] Let avatar manager handle $ignore_configMarc Alexander2012-11-306-67/+33
| | | | | | | The avatar manager already handles if avatars are enabled. It should also handle ignoring the config settings. PHPBB3-10018
* [feature/avatars] Get list of enabled drivers from avatar managerMarc Alexander2012-11-303-21/+25
| | | | | | | | This shouldn't be done in the avatar drivers. We need to force the display all avatar drivers in the ACP or it won't be possible to enable avatars after they have been disabled. PHPBB3-10018
* [feature/avatars] Properly implement custom HTML in the interfaceMarc Alexander2012-11-293-13/+3
| | | | | | | | | Previously the driver class added a variable that defined wether an avatar driver would return custom HTML. The existence of this variable was implied in the interface. It's also not needed which is why it has been removed. PHPBB3-10018
* [feature/avatars] Check for existing functions rather than using _onceMarc Alexander2012-11-263-4/+17
| | | | PHPBB3-10018
* [feature/avatars] Even more fixes to docblocksMarc Alexander2012-11-257-61/+65
| | | | PHPBB3-10018
* [feature/avatars] Docblock fixes and small change for php_extMarc Alexander2012-11-254-36/+34
| | | | PHPBB3-10018
* [feature/avatars] Add static methods for handling driver namesMarc Alexander2012-11-251-0/+26
| | | | PHPBB3-10018
* [feature/avatars] Miscellaneous fixesMarc Alexander2012-11-252-4/+3
| | | | PHPBB3-10018
* [feature/avatars] Remove unnecessary abbreviationsMarc Alexander2012-11-254-31/+31
| | | | PHPBB3-10018
* [feature/avatars] Use RecursiveDirectoryIterator for gallery avatarMarc Alexander2012-11-211-33/+21
| | | | | | | RecursiveDirectoryIterator is now used for populating the avatar list array of the gallery avatar. PHPBB3-10018
* [feature/avatars] Get rid of array_keys() in gallery avatarMarc Alexander2012-11-211-3/+6
| | | | PHPBB3-10018
* [feature/avatars] Use isset() instead of in_array()Marc Alexander2012-11-211-2/+2
| | | | PHPBB3-10018
* [feature/avatars] Use in_array() and fix tabbingMarc Alexander2012-11-211-4/+4
| | | | PHPBB3-10018
* [feature/avatars] Move avatar specific settings to driversMarc Alexander2012-11-216-0/+61
| | | | PHPBB3-10018
* [feature/avatars] Check if gravatar is within min/max width/heightMarc Alexander2012-11-211-0/+18
| | | | PHPBB3-10018
* [feature/avatars] Use constant for URL and fix usage of getimagesizeMarc Alexander2012-11-211-16/+39
| | | | | | | | We now use a constant for the gravatar URL. Additionally the usage of getimagesize() was reduced. It should only be run if the user didn't specify both the width and height of the avatar. PHPBB3-10018
* [feature/avatars] Use protected instead of privateMarc Alexander2012-11-194-12/+12
| | | | PHPBB3-10018
* [feature/avatars] Fix the docs and small naming fixesMarc Alexander2012-11-196-20/+66
| | | | PHPBB3-10018