aboutsummaryrefslogtreecommitdiffstats
path: root/tests/avatar
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12822] Correctly call \phpbb\user in avatar manager testMarc Alexander2014-08-111-1/+1
| | | | PHPBB3-12822
* Merge remote-tracking branch 'github-marc1706/ticket/12822' into ↵Nils Adermann2014-08-112-11/+90
|\ | | | | | | | | | | | | | | | | develop-ascraeus * github-marc1706/ticket/12822: [ticket/12822] Fix test runs of avatar manager_test [ticket/12822] Add method for deleting avatars and use confirm_box [ticket/12822] Remove "None" option from avatar select boxes
| * [ticket/12822] Fix test runs of avatar manager_testMarc Alexander2014-08-081-4/+11
| | | | | | | | PHPBB3-12822
| * [ticket/12822] Add method for deleting avatars and use confirm_boxMarc Alexander2014-08-072-9/+81
| | | | | | | | | | | | | | | | The method will take care of the actual deletion process in the avatar manager. Additionally, we'll be using a confirm box while deleting the avatar to prevent users from accidentally deleting their avatars. PHPBB3-12822
* | [ticket/12932] Fix tests and calls to create_datetimeMarc Alexander2014-08-101-1/+1
|/ | | | PHPBB3-12932
* Merge remote-tracking branch 'github-marc1706/ticket/11148' into ↵Nils Adermann2014-08-071-1/+16
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-ascraeus * github-marc1706/ticket/11148: [ticket/11148] Remove unneeded variable mimetype and use type octet-stream [ticket/11148] Change expected output with disallowed content in test [ticket/11148] Always use the output of the mimetype guesser in get_mimetype [ticket/11148] Get rid of extra line in mimetype guesser setter doc block [ticket/11148] Add missing parts to docblock of get_mimetype() method [ticket/11148] Default to application/octet-stream if no mimetype given [ticket/11148] Use mimetype guesser for uploaded avatars [ticket/11148] Pass mimetype guesser to upload_attachment() function [ticket/11148] Add mimetype guesser to filespec and fileupload class
| * [ticket/11148] Use mimetype guesser for uploaded avatarsMarc Alexander2014-06-231-1/+16
| | | | | | | | PHPBB3-11148
* | [ticket/12099] Remove config againJoas Schilling2014-06-291-1/+0
| | | | | | | | PHPBB3-12099
* | [ticket/12099] Add request argument to path_helper servicePico882014-06-291-0/+2
|/ | | | PHPBB3-12099
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | PHPBB3-12594
* [ticket/12504] Use local variables where possibleJoas Schilling2014-05-051-5/+8
| | | | PHPBB3-12504
* [ticket/12504] Use defined variablesJoas Schilling2014-05-051-2/+2
| | | | PHPBB3-12504
* [ticket/12504] Remove unused request object from avatar manager testJoas Schilling2014-05-051-1/+0
| | | | PHPBB3-12504
* [ticket/12503] All tests should extend \phpbb_test_caseJoas Schilling2014-05-051-1/+1
| | | | PHPBB3-12503
* [ticket/11859] Add missing get_template_name method to test driversMarc Alexander2013-11-272-0/+10
| | | | PHPBB3-11859
* Merge pull request #1815 from marc1706/ticket/11525Nils Adermann2013-11-131-27/+41
|\ | | | | [ticket/11525] Only remove group or user prefix from given avatar data
| * [ticket/11525] Use foreach instead of array_walk in method clean_row()Marc Alexander2013-11-131-37/+13
| | | | | | | | | | | | | | | | This approach is cleaner and probably even faster the previous ways that included using array_walk() or array_map() and other helper functions and methods. PHPBB3-11525
| * [ticket/11525] Fix expected value of group avatar testJoas Schilling2013-11-111-1/+1
| | | | | | | | PHPBB3-11525
| * [ticket/11525] Compare correct array to expected valueJoas Schilling2013-11-111-1/+1
| | | | | | | | PHPBB3-11525
| * [ticket/11525] Only remove group or user prefix from given avatar dataMarc Alexander2013-10-241-3/+41
| | | | | | | | | | | | | | | | | | | | | | Until now, the user data had both user_id and group_id keys in the avatar data. As both group_ and user_ prefixes were removed the group_id was collapsed onto the user_id and therefore all users in the same group had the same prefix for their uploaded avatars. This patch will make sure that the correct id is used depending on whether it's a group's or user's avatar data. PHPBB3-11525
* | [ticket/11857] Use passed service collection instead of container in managerMarc Alexander2013-10-271-2/+2
|/ | | | | | | | The service collection that was already passed to the avatar manager should be used in the avatar manager method get_driver() instead of the container itself. PHPBB3-11857
* [ticket/11930] Move path_helper in front of optional cache argumentMarc Alexander2013-10-211-2/+2
| | | | | | Optional method arguments should be after any mandatory ones. PHPBB3-11930
* [ticket/11930] Fix tests after adding phpbb\path_helper to avatar driversMarc Alexander2013-10-171-2/+10
| | | | PHPBB3-11930
* [ticket/11700] Fix avatar testsNils Adermann2013-09-163-5/+9
| | | | PHPBB3-11700
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-163-8/+8
| | | | PHPBB3-11700
* [ticket/11700] Modify all code to use the new interface namesNils Adermann2013-07-141-1/+1
| | | | PHPBB3-11700
* [ticket/11600] Remove duplicate test caseMarc Alexander2013-07-041-2/+0
| | | | PHPBB3-11600
* [ticket/11600] Use lowercase null and remove duplicate test casesMarc Alexander2013-06-251-11/+7
| | | | PHPBB3-11600
* [ticket/11600] Use local variable for $user in test_localize_errorsMarc Alexander2013-06-251-7/+5
| | | | PHPBB3-11600
* [ŧicket/11600] Split get driver tests into tests for all and only enabled onesMarc Alexander2013-06-251-10/+34
| | | | PHPBB3-11600
* [ticket/11600] Increase code test coverage of avatar managerMarc Alexander2013-06-101-22/+92
| | | | | | | Currently, not all methods and their possible behaviors are tested with unit tests. Add them for better code coverage. PHPBB3-11600
* [ticket/11404] Remove version ID from manager_test.php file headerMarc Alexander2013-03-111-1/+0
| | | | PHPBB3-11404
* [ticket/11404] Add tests for phpbb_avatar_manager::clean_row()Marc Alexander2013-03-111-0/+71
| | | | PHPBB3-11404
* [ticket/11404] Convert manager_test to UNIX line endingsMarc Alexander2013-03-111-90/+90
| | | | PHPBB3-11404
* [feature/avatars] Pass phpbb_user to prepare and process form functionsMarc Alexander2013-02-192-4/+4
| | | | | | | The phpbb_user object might be used for language variables and other things. PHPBB3-10018
* [feature/avatars] Differentiate tests for get drivers functionsMarc Alexander2013-01-082-1/+31
| | | | | | Tests for get_all_drivers() and get_enabled_drivers() should be different. PHPBB3-10018
* [feature/avatars] Remove $request property and pass as argument if neededMarc Alexander2013-01-072-5/+5
| | | | | | | | 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 testing to also check for enabled driversMarc Alexander2012-12-271-4/+15
| | | | PHPBB3-10018
* [feature/avatars] Fix behavior of avatar manager and variablesMarc Alexander2012-12-041-2/+5
| | | | | | | 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 all driversMarc Alexander2012-12-041-1/+1
| | | | PHPBB3-10018
* [feature/avatars] Remove unnecessary "implements" from foobar avatarMarc Alexander2012-12-021-1/+1
| | | | PHPBB3-10018
* [feature/avatars] Do not use gravatar avatar in testsMarc Alexander2012-12-022-33/+35
| | | | PHPBB3-10018
* [feature/avatars] Add tests for avatar managerMarc Alexander2012-12-011-0/+82
PHPBB3-10018