aboutsummaryrefslogtreecommitdiffstats
path: root/tests/upload
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [ticket/10941] Added subdirectory for file operationsFyorl2012-07-097-0/+389
Also removed common.php as it was unnecessary. PHPBB3-10941