1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-21 09:52:26 +01:00

34 Commits

Author SHA1 Message Date
rxu
2fd4dbb685
[ticket/16690] Fix htmlspecialchars and htmlspecialchars_decode default flag
PHPBB3-16690
2021-01-20 00:21:24 +07:00
Marc Alexander
ebac54aa9e
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
2019-05-09 21:40:06 +02:00
Rubén Calvo
688d022f42
[ticket/15738] Remove code related with safe_mode
PHPBB3-15738
2019-05-09 18:47:50 +02:00
kasimi
83f4074116
[ticket/15910] Pass object arguments by reference implicitly
PHPBB3-15910
2018-12-12 12:41:56 +01:00
Matt Friedman
14e8113fcf [ticket/14576] Move common required files to bootstrap
PHPBB3-14576
2016-03-31 11:06:47 -07:00
Marc Alexander
759dc9bb84 [ticket/13904] Set properties to protected where possible in filespec
PHPBB3-13904
2015-09-13 09:30:56 +02:00
Marc Alexander
327e36a4d6 [ticket/13904] Modify files for updated fast-image-size library
PHPBB3-13904
2015-09-09 09:41:40 +02:00
Marc Alexander
591995267a [ticket/13904] Improve test coverage of filespec class
PHPBB3-13904
2015-09-09 08:29:07 +02:00
Marc Alexander
16f3b8c2b9 [ticket/13904] Modify files for changes in ini wrapper
PHPBB3-13904
2015-09-09 08:29:05 +02:00
Marc Alexander
36545d5cbe [ticket/13904] Switch around constructor arguments
PHPBB3-13904
2015-09-09 08:28:11 +02:00
Marc Alexander
cdde86ce7e [ticket/13904] Use \phpbb\php\ini class for ini_get()
PHPBB3-13904
2015-09-09 08:28:10 +02:00
Marc Alexander
7ba0fe47a8 [ticket/13904] Test move file on existing error
PHPBB3-13904
2015-09-09 08:28:09 +02:00
Marc Alexander
46e3d82196 [ticket/13904] Add more tests and test cases
PHPBB3-13904
2015-09-09 08:28:08 +02:00
Marc Alexander
3e99816fa2 [ticket/13904] Set visibility in files and improve test coverage
PHPBB3-13904
2015-09-09 08:28:07 +02:00
Marc Alexander
b871dbcf1f [ticket/13904] Remove phpbb_root_path global from filespec class
PHPBB3-13904
2015-09-09 08:27:54 +02:00
Marc Alexander
697ac5f4aa [ticket/13904] Use language class instead of global user in filespec
PHPBB3-13904
2015-09-09 08:27:52 +02:00
Marc Alexander
25df7f8149 [ticket/13904] Remove functions_fileupload.php
PHPBB3-13904
2015-09-09 08:27:47 +02:00
Marc Alexander
2915647a54 [ticket/13904] Fix filespec tests
PHPBB3-13904
2015-09-09 08:27:42 +02:00
Tristan Darricau
734b89e75c Merge pull request #3524 from marc1706/ticket/8672
[ticket/8672] Add class for retrieving imagesize without download
2015-04-27 16:26:40 +02:00
Marc Alexander
03eae6fddd Merge branch '3.1.x' 2015-04-26 09:24:09 +02:00
Marc Alexander
55c5bc126d [ticket/8672] User $user->lang() instead of sprintf
PHPBB3-8672
2015-04-24 13:34:18 +02:00
MateBartus
4bdef6fd21 [ticket/13697] Moving filesystem related functions to filesystem service
* 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
2015-04-16 13:24:10 +02:00
Cesar G
47514ca2df [ticket/13755] Ignore dots in path when determining file extension.
PHPBB3-13755
2015-04-10 16:23:51 -07:00
Marc Alexander
48b64b0a61 [ticket/13577] Skip filespec test requiring mimetype check on windows
PHPBB3-13577
2015-02-05 13:37:34 +01:00
Marc Alexander
9bc6e641bf [ticket/11148] Add mimetype guesser to filespec and fileupload class
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
2014-06-23 21:37:47 +02:00
Yuriy Rusko
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00
Marc Alexander
106be54de3 [ticket/12211] Do not run attachment file names twice through htmlspecialchars
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
2014-04-11 21:10:28 +02:00
Marc Alexander
91c3ad07ec [ticket/10851] Add unit and functional tests for checking attachments
These tests will make sure that fileuploads now work as expected regarding
the check for disallowed content.

PHPBB3-10851
2014-04-04 11:48:41 +02:00
Marc Alexander
54d96dfac7 [ticket/10763] Make functions for remote avatars static
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
2012-12-17 17:42:13 +01:00
Fyorl
65d7aae2f3 [ticket/10941] Removed superfluous array
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
d046b25124 [ticket/10941] File 'txt' now too big so changed tests to reflect that
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
f470eee8ab [ticket/10941] Modified tearDown to use DirectoryIterator instead of glob
PHPBB3-10941
2012-07-09 14:08:21 +01:00
Fyorl
9f3a02d475 [ticket/10941] Removed manual includes of mock classes
Also marked a test as incomplete even though this appears to be
ignored when actually running the tests.

PHPBB3-10941
2012-07-09 14:08:20 +01:00
Fyorl
580cec619b [ticket/10941] Added subdirectory for file operations
Also removed common.php as it was unnecessary.

PHPBB3-10941
2012-07-09 14:08:20 +01:00