| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
PHPBB3-13904
|
|
|
|
| |
PHPBB3-13904
|
|
|
|
| |
PHPBB3-13904
|
|
|
|
| |
PHPBB3-13904
|
|
|
|
| |
PHPBB3-13904
|
|
|
|
| |
PHPBB3-14150
|
|\
| |
| |
| | |
[ticket/8672] Add class for retrieving imagesize without download
|
| |
| |
| |
| | |
PHPBB3-8672
|
| |
| |
| |
| | |
PHPBB3-8672
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
PHPBB3-13755
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
PHPBB3-13031
|
|
|
|
|
|
|
|
|
|
| |
If we already have a mimetype and the guesser's guess is the default fallback,
we should keep the already existing mimetype the browser supplied. Otherwise,
platforms that might not support mimetype guessers will cause us to always
have the mimetype set to application/octet-stream on images. This will prevent
users from uploading images.
PHPBB3-13031
|
|
|
|
| |
PHPBB3-12941
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[ticket/12557] Fix doc block errors found by Sami for ascraeus
* n-aleha/ticket/12557ascraeus:
[ticket/12557] Fix load active module description
[ticket/12557] Fix php file description
[ticket/12557] Fix post data description for notifications
[ticket/12557] Fix pass by reference doc blocks
[ticket/12557] Fix doc block in extension base class
[ticket/12557] Fix doc block in mimetype guesser
[ticket/12557] Fix var $preserve_cr description
[ticket/12557] Fix doc block errors found by Sami
[ticket/12557] Fix doc block errors found by Sami
[ticket/12557] Fix doc block errors found by Sami
[ticket/12557] Template fixes
[ticket/12557] Search, cron and profilefields fixes
[ticket/12557] Notification fixes
[ticket/12557] Fix doc block errors found by Sami pt1
[ticket/12557] Fix doc block errors found by Sami
[ticket/12557] Fix doc block errors found by Sami
|
| |
| |
| |
| | |
PHPBB3-12557
|
| |
| |
| |
| |
| |
| | |
More corrections.
PHPBB3-12557
|
| |
| |
| |
| | |
PHPBB3-12557
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
The variable $mimetype is not used in the method local_upload() afterwards
so it shouldn't be assigned. The correct default mimetype should be
application/octet-stream and not application/octetstream according to RFC 2046.
PHPBB3-11148
|
| |
| |
| |
| | |
PHPBB3-11148
|
| |
| |
| |
| | |
PHPBB3-11148
|
| |
| |
| |
| |
| |
| |
| | |
This should prevent us from having an empty mimetype while uploading a file
using local_upload().
PHPBB3-11148
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/|
| |
| |
| |
| |
| |
| | |
* develop-olympus:
[ticket/12755] Apply de morgan to conditional
[ticket/12755] Terminate upload loop if upload reaches filesize
[ticket/12755] Change upload in remote_upload() method to fit get_remote_file
[ticket/12755] Add language string for timed out remote upload
[ticket/12755] Add timeout to remote upload to prevent infinite loop
|
| |
| |
| |
| | |
PHPBB3-12755
|
| |
| |
| |
| |
| |
| |
| | |
Terminate the upload loop if the expected filesize has been reached instead
of trying to read more bytes until the timeout has been reached.
PHPBB3-12755
|
| |
| |
| |
| | |
PHPBB3-12755
|
| |
| |
| |
| | |
PHPBB3-12755
|
| |
| |
| |
| | |
PHPBB3-12755
|
| |
| |
| |
| | |
PHPBB3-12673
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[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
|
| | |
| | |
| | |
| | | |
PHPBB3-11226
|
| | |
| | |
| | |
| | | |
PHPBB3-11226
|
| | |
| | |
| | |
| | | |
PHPBB3-11226
|
|/ /
| |
| |
| | |
PHPBB3-12594
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* There MUST NOT be trailing whitespace at the end of lines.
* There MUST NOT be whitespace before the first content of a file.
* There MUST NOT be whitespace after the last content of a file.
* Functions MUST NOT contain multiple empty lines in a row.
PHPBB3-12458
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| | |
This commit is a highly-refactored and up-to-date version of Fyorl's work
which was part of his Google Summer of Code 2012 project "Attachment
Improvements".
PHPBB3-10929
|
| |
| |
| |
| | |
PHPBB3-11700
|
| |
| |
| |
| | |
PHPBB3-11700
|
| |
| |
| |
| | |
PHPBB3-10763
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
PHPBB3-10939
|
| |
| |
| |
| | |
PHPBB3-10944
|
| |
| |
| |
| |
| |
| |
| | |
is_image now just checks the mimetype reported by the browser
and get_mimetype goes back to being unused.
PHPBB3-10944
|
| |
| |
| |
| |
| |
| |
| | |
filespec::get_mimetype now uses the finfo class in order to detect the
mimetype of a given filename. filespec::is_image() now uses this method.
PHPBB3-10963
|
| |
| |
| |
| | |
PHPBB3-10963
|