aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/avatar/driver
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
* [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-036-19/+19
| | | | 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] 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] 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] Some more miscellaneous changesMarc Alexander2012-12-272-2/+2
| | | | PHPBB3-10018
* [feature/avatars] Add more consistency to codebaseMarc Alexander2012-12-112-12/+22
| | | | PHPBB3-10018
* [feature/avatars] Fix docblocks and minor cosmetic issuesMarc Alexander2012-12-014-12/+21
| | | | PHPBB3-10018
* [feature/avatars] Create setting for enabling avatar in managerMarc Alexander2012-11-305-66/+5
| | | | PHPBB3-10018
* [feature/avatars] Let avatar manager handle $ignore_configMarc Alexander2012-11-305-63/+28
| | | | | | | 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-302-17/+0
| | | | | | | | 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-256-44/+48
| | | | PHPBB3-10018
* [feature/avatars] Docblock fixes and small change for php_extMarc Alexander2012-11-254-36/+34
| | | | 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] 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-193-3/+3
| | | | PHPBB3-10018
* [feature/avatars] Fix the docs and small naming fixesMarc Alexander2012-11-195-11/+37
| | | | PHPBB3-10018
* [feature/avatars] Use https for gravatarMarc Alexander2012-11-191-3/+2
| | | | PHPBB3-10018
* [feature/avatars] Fix local and upload avatar in the ACPMarc Alexander2012-11-181-2/+3
| | | | PHPBB3-10018
* [feature/avatars] Add missing assign_block_vars() for avatar optionsMarc Alexander2012-11-181-0/+4
| | | | | | This is needed for selecting the gallery avatar while using subsilver2. PHPBB3-10018
* [feature/avatars] Use request class in upload avatarMarc Alexander2012-11-171-1/+2
| | | | PHPBB3-10018
* [feature/avatars] Small fixes after transition to service containersMarc Alexander2012-11-171-1/+1
| | | | PHPBB3-10018
* [feature/avatars] Use correct names of input fieldsMarc Alexander2012-11-162-4/+4
| | | | | | | | | | | The name of the avatar input fields seem to have been copied from the local avatar (gallery avatar). Since the input fields have different names in the template files of the remote and gravatar avatars this will not properly default to the entered values. Additionally, the focused driver wasn't correctly filtered causing use to always default to no avatar. PHPBB3-10018
* [feature/avatars] Shorten avatar driver's class nameMarc Alexander2012-11-165-6/+6
| | | | | | | | The addition of "core_" that was used until now would require additional avatar drivers (e.g. in extensions) to also include that in their class name which would be incorrect. PHPBB3-10018
* [feature/avatars] Add service containers for avatarsMarc Alexander2012-11-155-18/+39
| | | | PHPBB3-10018
* [feature/avatars] Add support for custom avatar HTML codeMarc Alexander2012-11-142-2/+2
| | | | PHPBB3-10018
* [feature/avatars] Add barebone gravatar driverMarc Alexander2012-11-131-0/+148
| | | | PHPBB3-10018
* [feature/avatars] Fix coding guidelines infractionsMarc Alexander2012-11-121-1/+2
|
* [feature/avatars] Rewrite drivers to use full class nameIgor Wiedler2012-06-275-3/+34
| | | | | | | | * Use full driver class name as avatar_type value * Move avatar drivers to core namespace * Make avatars installable through extensions PHPBB3-10018
* [feature/avatars] Remove unneeded argument for driver prepare_form()Igor Wiedler2012-06-274-7/+7
| | | | PHPBB3-10018
* [feature/avatars] Simplify clean_row, move it to avatar managerIgor Wiedler2012-04-082-52/+0
| | | | PHPBB3-10018
* [feature/avatars] Introduce an avatar driver interfaceIgor Wiedler2012-04-082-28/+82
| | | | PHPBB3-10018