aboutsummaryrefslogtreecommitdiffstats
path: root/tests/avatar
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14948] Adjust calls for twig and phpunit updatesMarc Alexander2019-05-091-1/+1
| | | | PHPBB3-14948
* [ticket/14972] Migrate from deprecated getMock() method to createMock()rxu2019-05-081-11/+22
| | | | PHPBB3-14972
* [prep-release-3.2.6] Fix expected data in avatar manager testMarc Alexander2019-04-271-1/+1
|
* [ticket/15833] Add core.avatar_manager_avatar_delete_after eventJakub Senko2018-10-281-1/+1
| | | | PHPBB3-15833
* [ticket/security/210] Fix tests for 3.2.xMarc Alexander2017-07-161-2/+1
| | | | SECURITY-210
* Merge branch 'ticket/security/210' into ticket/security/210-rheaMarc Alexander2017-07-101-1/+4
|\
| * [ticket/security/210] Adjust regex and add tests for IPv6Marc Alexander2017-07-101-1/+4
| | | | | | | | SECURITY-210
* | Merge branch 'ticket/security/210' into ticket/security/210-rheaMarc Alexander2017-07-091-0/+52
|\ \ | |/
| * [ticket/security/210] Prevent using IP addresses or ports for remote avatarMarc Alexander2017-07-091-0/+52
| | | | | | | | SECURITY-210
* | Merge branch '3.1.x'Marc Alexander2016-01-061-1/+4
|\ \ | |/
| * [ticket/14387] Fix avatar tests after adding get_config_name methodMarc Alexander2016-01-021-1/+4
| | | | | | | | PHPBB3-14387
* | [ticket/13904] Pass filesystem to upload avatar againMarc Alexander2015-09-091-1/+1
| | | | | | | | PHPBB3-13904
* | [ticket/13904] Remove unneeded parameters from avatars and fix testsMarc Alexander2015-09-091-1/+3
| | | | | | | | PHPBB3-13904
* | [ticket/14150] Update fast-image-size to newest versionMarc Alexander2015-09-081-1/+1
| | | | | | | | PHPBB3-14150
* | Merge branch '3.1.x'Marc Alexander2015-08-081-1/+3
|\ \ | |/ | | | | | | | | Conflicts: phpBB/phpbb/avatar/driver/upload.php tests/avatar/manager_test.php
| * [ticket/13981] Add events to capture avatar deletion or overwritingjaviexin2015-07-231-1/+3
| | | | | | | | | | | | | | | | An event to capture overwriting, and another to capture deletion. Includes better error processing. Replaced global by dependency injection. Fix Travis tests. PHPBB3-13981
* | [ticket/13762] Moving language related functionality into a separate classMateBartus2015-05-021-2/+9
| | | | | | | | PHPBB3-13762
* | [ticket/8672] Use fastImageSize in classesMarc Alexander2015-04-241-1/+1
| | | | | | | | PHPBB3-8672
* | [ticket/8672] Add class for retrieving imagesize without downloadMarc Alexander2015-04-241-2/+3
| | | | | | | | | | | | | | | | getimagesize() always downloads the complete file before checking the actual image dimensions. This class will be able to do the same without having to download possibly large files. PHPBB3-8672
* | [ticket/13697] Moving filesystem related functions to filesystem serviceMateBartus2015-04-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moving filesystem service to \phpbb\filesystem namespace * Wraping Symfony's Filesystem component * Moving filesystem related functions from includes/functions.php into \phpbb\filesystem\filesystem Functions moved (and deprecated): - phpbb_chmod - phpbb_is_writable - phpbb_is_absolute - phpbb_own_realpath - phpbb_realpath * Adding interface for filesystem service PHPBB3-13697
* | Merge branch 'develop-ascraeus' into developJoas Schilling2014-11-212-11/+73
|\ \ | |/
| * [ticket/13197] Test that user's group avatar is deleted by group avatar deleteMarc Alexander2014-10-262-11/+73
| | | | | | | | PHPBB3-13197
* | [ticket/12620] Fix rebaseTristan Darricau2014-11-202-52/+52
|/ | | | PHPBB3-12620
* [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