aboutsummaryrefslogtreecommitdiffstats
path: root/tests/upload
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/15910] Pass object arguments by reference implicitlykasimi2018-12-121-1/+1
| | | | PHPBB3-15910
* [ticket/14972] replace all occurrences of sizeof() with the count()rxu2018-01-011-6/+6
| | | | PHPBB3-14972
* [ticket/14576] Move common required files to bootstrapMatt Friedman2016-03-313-7/+0
| | | | PHPBB3-14576
* [ticket/13904] Set properties to protected where possible in filespecMarc Alexander2015-09-132-13/+20
| | | | PHPBB3-13904
* [ticket/13904] Fix tests after changes to factoryMarc Alexander2015-09-091-3/+3
| | | | PHPBB3-13904
* [ticket/13904] Modify files for updated fast-image-size libraryMarc Alexander2015-09-092-8/+8
| | | | PHPBB3-13904
* [ticket/13904] Improve test coverage of filespec classMarc Alexander2015-09-092-5/+117
| | | | PHPBB3-13904
* [ticket/13904] Use ini_get() wrapper in file upload typesMarc Alexander2015-09-091-0/+2
| | | | PHPBB3-13904
* [ticket/13904] Modify files for changes in ini wrapperMarc Alexander2015-09-092-6/+6
| | | | PHPBB3-13904
* [ticket/13904] Switch around constructor argumentsMarc Alexander2015-09-092-15/+15
| | | | PHPBB3-13904
* [ticket/13904] Use \phpbb\php\ini class for ini_get()Marc Alexander2015-09-092-15/+20
| | | | PHPBB3-13904
* [ticket/13904] Test move file on existing errorMarc Alexander2015-09-091-0/+8
| | | | PHPBB3-13904
* [ticket/13904] Add more tests and test casesMarc Alexander2015-09-092-1/+46
| | | | PHPBB3-13904
* [ticket/13904] Set visibility in files and improve test coverageMarc Alexander2015-09-091-5/+55
| | | | PHPBB3-13904
* [ticket/13904] Improve test coverage and use constants instead of magic numbersMarc Alexander2015-09-091-0/+19
| | | | PHPBB3-13904
* [ticket/13904] Fix minor issues and move local_upload to its own classMarc Alexander2015-09-091-4/+25
| | | | PHPBB3-13904
* [ticket/13904] Remove phpbb_root_path global from filespec classMarc Alexander2015-09-092-4/+8
| | | | PHPBB3-13904
* [ticket/13904] Remove phpbb_root_path global from upload classMarc Alexander2015-09-091-8/+12
| | | | PHPBB3-13904
* [ticket/13904] Pass request service to upload instead of using globalMarc Alexander2015-09-091-11/+13
| | | | PHPBB3-13904
* [ticket/13904] Use language class instead of global user in filespecMarc Alexander2015-09-092-19/+12
| | | | PHPBB3-13904
* [ticket/13904] Fix tests againMarc Alexander2015-09-091-10/+15
| | | | PHPBB3-13904
* [ticket/13904] Remove functions_fileupload.phpMarc Alexander2015-09-092-2/+0
| | | | PHPBB3-13904
* [ticket/13904] No longer use fileerror class for extending filespec classMarc Alexander2015-09-091-10/+17
| | | | PHPBB3-13904
* [ticket/13904] Fix fileupload testsMarc Alexander2015-09-091-9/+33
| | | | PHPBB3-13904
* [ticket/13904] Fix filespec testsMarc Alexander2015-09-091-2/+3
| | | | PHPBB3-13904
* [ticket/14150] Update fast-image-size to newest versionMarc Alexander2015-09-081-2/+2
| | | | PHPBB3-14150
* Merge pull request #3524 from marc1706/ticket/8672Tristan Darricau2015-04-2711-1/+100
|\ | | | | | | [ticket/8672] Add class for retrieving imagesize without download
| * [ticket/8672] User $user->lang() instead of sprintfMarc Alexander2015-04-241-1/+1
| | | | | | | | PHPBB3-8672
| * [ticket/8672] Use fastImageSize in classesMarc Alexander2015-04-241-4/+4
| | | | | | | | PHPBB3-8672
| * [ticket/8672] Add class for retrieving imagesize without downloadMarc Alexander2015-04-2410-0/+99
| | | | | | | | | | | | | | | | 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
* | Merge branch '3.1.x'Marc Alexander2015-04-261-0/+2
|\ \ | |/ |/|
| * [ticket/13755] Ignore dots in path when determining file extension.Cesar G2015-04-101-0/+2
| | | | | | | | PHPBB3-13755
* | [ticket/13697] Moving filesystem related functions to filesystem serviceMateBartus2015-04-162-12/+19
|/ | | | | | | | | | | | | | | | * 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
* [ticket/13577] Skip filespec test requiring mimetype check on windowsMarc Alexander2015-02-051-0/+5
| | | | PHPBB3-13577
* [ticket/11148] Add mimetype guesser to filespec and fileupload classMarc Alexander2014-06-231-1/+38
| | | | | | | | The mimetype guesser will be used to get the mimetype of uploaded files. Until now, this was only used for files uploaded with plupload. If a file doesn't have a mimetype supplied, we will now try to get the correct mimetype. PHPBB3-11148
* Merge pull request #2432 from Nicofuma/ticket/11226Joas Schilling2014-05-291-0/+25
|\ | | | | | | | | | | | | | | | | | | [ticket/11226] filespec::move_file() should error correctly * Nicofuma/ticket/11226: [ticket/11226] Explicity set file_moved to false [ticket/11226] Add tests [ticket/11226] Use $user->lang() [ticket/11226] filespec::move_file() should error correctly
| * [ticket/11226] Explicity set file_moved to falseTristan Darricau2014-05-281-1/+2
| | | | | | | | PHPBB3-11226
| * [ticket/11226] Add testsTristan Darricau2014-05-281-0/+24
| | | | | | | | PHPBB3-11226
* | [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-272-12/+20
|/ | | | PHPBB3-12594
* [ticket/12211] Do not run attachment file names twice through htmlspecialcharsMarc Alexander2014-04-111-0/+14
| | | | | | | | Upload filenames are already processed via htmlspecialchars in the type_cast_helper of the new request class. There is no need to run it through htmlspecialchars() again in the filespec class. PHPBB3-12211
* [ticket/10851] Add unit and functional tests for checking attachmentsMarc Alexander2014-04-041-0/+2
| | | | | | | These tests will make sure that fileuploads now work as expected regarding the check for disallowed content. PHPBB3-10851
* [ticket/11698] Moving all autoloadable files to phpbb/Nils Adermann2013-07-141-0/+1
| | | | PHPBB3-11698
* [ticket/10763] Make functions for remote avatars staticMarc Alexander2012-12-171-2/+1
| | | | | | | | | fileupload::image_types() and filespec::get_extension() are called statically while submitting the form for the remote avatar. Make them static as described in the ticket in order to prevent a PHP notice. Also change the tests to use the static functions. PHPBB3-10763
* [ticket/10939] Modified fileupload tests to deal with new behaviourFyorl2012-08-151-1/+5
| | | | PHPBB3-10939
* [ticket/10941] Removed superfluous arrayFyorl2012-07-091-1/+1
| | | | PHPBB3-10941
* [ticket/10941] File 'txt' now too big so changed tests to reflect thatFyorl2012-07-091-1/+1
| | | | PHPBB3-10941
* [ticket/10941] Added a comment to ensure tags stay uppercaseFyorl2012-07-091-0/+1
| | | | PHPBB3-10941
* [ticket/10941] Modified tearDown to use DirectoryIterator instead of globFyorl2012-07-091-2/+7
| | | | PHPBB3-10941
* [ticket/10941] Added tests/upload/fixture/copies to trackingFyorl2012-07-091-0/+0
| | | | PHPBB3-10941
* [ticket/10941] Removed manual includes of mock classesFyorl2012-07-092-3/+0
| | | | | | | Also marked a test as incomplete even though this appears to be ignored when actually running the tests. PHPBB3-10941