| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
PHPBB3-14948
|
|
|
|
| |
PHPBB3-14972
|
|
|
|
| |
PHPBB3-15742
|
|
|
|
| |
PHPBB3-14576
|
|\
| |
| |
| |
| |
| |
| | |
* 3.1.x:
[ticket/14481] Add tests for x_forwarded_proto header
[ticket/14481] Use port 443 if https is specified in x-forwarded-proto
[ticket/14481] Respect HTTP_X_FORWARDED headers for implying https
|
| |
| |
| |
| | |
PHPBB3-14481
|
|/
|
|
| |
PHPBB3-13455
|
|
|
|
| |
PHPBB3-12594
|
|
|
|
| |
PHPBB3-11700
|
|
|
|
| |
PHPBB3-11700
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fyorl/ticket/10939:
[ticket/10939] Added documentation for phpbb_request::file
[ticket/10939] Added tests for phpbb_request::file
[ticket/10939] Modified the default return for $request->file
[ticket/10939] Modified fileupload tests to deal with new behaviour
[ticket/10939] Modified mock request class to handle deactivated $_FILES
[ticket/10939] Modified acp_groups.php to not use $_FILES
[ticket/10939] Modified ucp_groups.php to not use $_FILES
[ticket/10939] Modified functions_user.php to not use $_FILES
[ticket/10939] Modified message_parser.php to not use $_FILES
[ticket/10939] Modified functions_upload to not use $_FILES
[ticket/10939] Modified request test slightly to include $_FILES
[ticket/10939] Added $_FILES handling to phpbb_request
|
| |
| |
| |
| | |
PHPBB3-10939
|
| |
| |
| |
| | |
PHPBB3-10939
|
| |
| |
| |
| | |
PHPBB3-8713
|
| |
| |
| |
| | |
PHPBB3-8713
|
| |
| |
| |
| | |
PHPBB3-8713
|
| |
| |
| |
| | |
PHPBB3-8713
|
|/
|
|
|
|
|
|
|
| |
Create a function to request variables which are not trimmed.
All requests for passwords (except forum passwords) now use the
untrimmed request function.
PHPBB3-8713
|
|
|
|
|
|
| |
Removing static from data provider functions
PHPBB3-10733
|
|
|
|
| |
PHPBB3-9916
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* develop-olympus:
[ticket/9916] Changing header in non-distributed files
[ticket/9916] Changing coding guidelines license
[ticket/9916] Updating License in the header
Conflicts:
tests/mock/cache.php
|
| |
| |
| |
| | |
PHPBB3-9916
|
| |
| |
| |
| | |
PHPBB3-9716
|
| |
| |
| |
| | |
PHPBB3-9716
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
$request->server() should not auto html-escape values. header() however should.
Also introduce some tests for this behaviour.
Thanks to nn- for catching this.
PHPBB3-9716
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Extend the request class with helpers for reading server vars (server())
and HTTP request headers (header()). Refactor the existing code base
to make use of these helpers, make $_SERVER a deactivated super global.
Also introduce an is_ajax() method, which checks the X-Requested-With
header for the value 'XMLHttpRequest', which is sent by JavaScript
libraries, such as jQuery.
PHPBB3-9716
|
| |
| |
| |
| | |
PHPBB3-10080
|
| |
| |
| |
| |
| |
| | |
Apply the `__DIR__` fix to some remaining Ascraeus tests
PHPBB3-10011
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
* develop-olympus:
[ticket/10011] Tests don't work on PHP < 5.3
Conflicts:
tests/security/redirect_test.php
|
| |
| |
| |
| |
| |
| |
| |
| | |
Due to the usage of `__DIR__` for the file includes the tests can't
be ran on systems with PHP < 5.3. Replace all occurances of
`__DIR__` with `dirname(__FILE__)`.
PHPBB3-10011
|
|\ \
| |/
| |
| | |
This merge commit includes ascraeus-specific renames and adjustments.
|
| |
| |
| |
| | |
PHPBB3-9987
|
|\ \
| | |
| | |
| | |
| | | |
* ticket/igorw/9979:
[ticket/9979] Support autoloading in unit tests
|
| | |
| | |
| | |
| | | |
PHPBB-9979
|
|\ \ \
| |/ /
|/| /
| |/
| | |
* develop-olympus:
[ticket/9981] Fix unit test dependencies
|
| |
| |
| |
| | |
PHPBB3-9981
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit also ports all ascraeus tests to the new format.
Conflicts:
tests/all_tests.php
tests/network/all_tests.php
tests/request/all_tests.php
tests/request/request_var.php
tests/template/templates/includephp.html
|
| |
| |
| |
| | |
PHPBB3-9967
|
| |
| |
| |
| | |
PHPBB3-9716
|
| |
| |
| |
| | |
PHPBB3-9716
|
| |
| |
| |
| |
| |
| | |
htmlspecialchars twice
PHPBB3-9716
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
All class names have been adjusted to use a phpbb_request prefix,
allowing them to be autoloaded.
Also introduces some improvements to autoloading in general.
PHPBB3-9716
|
| |
| |
| |
| |
| |
| |
| |
| | |
Removed the dependency of the request class test on having an actual
phpbb_type_cast_helper instance, by replacing it with an object mocking
the phpbb_type_cast_helper_interface.
PHPBB3-9716
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The request class
- now makes use of the new type cast helper (dependency injection)
- has no static methods anymore.
- now has a constructor argument to leave super globals turned on
Brought back the set_var function in functions.php. It is now a wrapper
around the type cast helper. It creates an instance on the fly.
The request_var wrapper function now has an optional last argument to
inject the request class instance, rather than abusing the $var_name.
PHPBB3-9716
|
| |
| |
| |
| |
| |
| |
| |
| | |
These methods should be available without having to instantiate a request class
object, better separation of concerns. A set_var wrapper around this class no
longer requires a request object at all.
PHPBB3-9716
|
| |
| |
| |
| |
| |
| |
| | |
So we can enable this old 3 level deep array input entry in
the request_var data provider, it is now also supported!
PHPBB3-9716
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The well known request_var function is now a wrapper that calls a method
on a phpbb_request object. The class provides additional functionality.
It can replace all super globals with special objects that throw errors
when being accessed. They still allow isset operations to keep backward
compatibility with isset($_POST['var']) checks. The phpbb_request class
implements the phpbb_request_interface which is available for easy mocking
of input in tests.
PHPBB3-9716
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
tests/all_tests.php
tests/request/all_tests.php
tests/request/request_var.php
tests/security/all_tests.php
tests/security/extract_current_page.php
tests/security/redirect.php
tests/template/all_tests.php
tests/template/template.php
tests/template/templates/define.html
tests/template/templates/expressions.html
tests/template/templates/if.html
tests/template/templates/includephp.html
tests/template/templates/loop.html
tests/template/templates/loop_advanced.html
tests/template/templates/loop_vars.html
tests/test_framework/framework.php
tests/test_framework/phpbb_test_case.php
tests/text_processing/all_tests.php
tests/text_processing/make_clickable.php
tests/utf/all_tests.php
tests/utf/utf8_clean_string_test.php
tests/utf/utf8_wordwrap_test.php
|
|
|
|
|
| |
Start adding unit tests for bugs you fix! Tests for anything are
welcome really. We have to work on these a lot.
|
|
|
|
|
|
| |
template/bbcode yet)
git-svn-id: file:///svn/phpbb/trunk@10212 89ea8834-ac86-4346-8a33-228a782c2dd0
|