aboutsummaryrefslogtreecommitdiffstats
path: root/tests/security
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1716 from marc1706/feature/passwordsNils Adermann2014-02-021-0/+25
|\ | | | | [feature/passwords] Add password hashing manager with support for newer hashing algorithms
| * [feature/passwords] Get rid of set_name/get_name methods for passwords driversMarc Alexander2014-02-021-5/+0
| | | | | | | | PHPBB3-11610
| * Merge branch 'develop' of https://github.com/phpbb/phpbb into feature/passwordsMarc Alexander2013-12-292-11/+47
| |\ | | | | | | | | | | | | Conflicts: phpBB/config/services.yml
| * | [feature/passwords] Pass list of default types to passwords managerMarc Alexander2013-10-271-2/+2
| | | | | | | | | | | | | | | | | | | | | This list is in the order of how the driver types would be used. If a driver is not supported we will try the subsequent one. PHPBB3-11610
| * | [feature/passwords] Fix hash_test for use of passwords managerMarc Alexander2013-10-031-1/+4
| | | | | | | | | | | | PHPBB3-11610
| * | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into feature/passwordsMarc Alexander2013-10-031-0/+8
| |\ \ | | | | | | | | | | | | | | | | Conflicts: phpBB/includes/functions.php
| * | | [feature/passwords] Add prepending backslash to class namespacesMarc Alexander2013-10-021-8/+8
| | | | | | | | | | | | | | | | PHPBB3-11610
| * | | [feature/passwords] Fix tests after changes to phpBB hashing functionsMarc Alexander2013-10-021-0/+27
| | | | | | | | | | | | | | | | PHPBB3-11610
* | | | [ticket/11997] Add user's page dir to redirect path and fix unit tests for itMarc Alexander2013-12-281-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The user's page directory needs to be added to the redirect URL for proper redirects outside of the forum root. Fix the unit tests accordingly. PHPBB3-11997
* | | | [ticket/11997] Do not check if file or dir we redirect to existMarc Alexander2013-12-271-14/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The redirect function will now properly redirect to where we want it to. It will no longer try to check if the file or directory we redirect to exist. This will ensure compatibility with the new routes. PHPBB3-11997
* | | | [ticket/11997] Modifiy tests after adding path_helper clean_url methodMarc Alexander2013-12-211-3/+3
| | | | | | | | | | | | | | | | PHPBB3-11997
* | | | [ticket/11997] Allow redirects to parent folders like previouslyMarc Alexander2013-12-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Redirects to parent folders were possible with the previous redirect function. This change will allow these redirects again. PHPBB3-11997
* | | | [ticket/11997] Fix tests for path_helper's get_controller_redirect_url()Marc Alexander2013-12-071-9/+20
| | | | | | | | | | | | | | | | PHPBB3-11997
* | | | [ticket/11997] Use $phpbb_filesystem->clean_path() for proper redirect pathsMarc Alexander2013-11-121-23/+35
| | | | | | | | | | | | | | | | PHPBB3-11997
* | | | [ticket/11997] Correctly redirect to front controllersMarc Alexander2013-11-081-1/+15
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We currently do a lot of checks in order to prevent users from getting to a 404 page. However, this logic relies on checking if a file or folder exists. Due to the front controllers and the URL rewriting in 3.1, it is no longer possible to rely on existing files for redirecting. This patch will take care of properly redirecting users to front controller files. An incorrect link will cause users to get a 404 error though. PHPBB3-11997
* | | [ticket/11850] More namespacesNathan Guse2013-09-301-1/+1
| | | | | | | | | | | | PHPBB3-11850
* | | [ticket/11850] More namespacesNathan Guse2013-09-302-3/+3
| | | | | | | | | | | | PHPBB3-11850
* | | [ticket/11850] Update for namespacesNathan Guse2013-09-301-1/+1
| | | | | | | | | | | | PHPBB3-11850
* | | Merge branch 'develop' of github.com:phpbb/phpbb3 into ticket/11850Nathan Guse2013-09-303-3/+11
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Nils Adermann (68) and others # Via Andreas Fischer (12) and others * 'develop' of github.com:phpbb/phpbb3: (102 commits) [ticket/11876] Replace MD5 with SHA256. [ticket/11876] Move checksum generation from build PHP files to phing build.xml [develop-olympus] Build against 3.0.12 instead of 3.0.12-RC3. Tag exists now. [prep-release-3.0.12] Update changelog for 3.0.12 release. [ticket/11873] Add unit test for large password input. [ticket/11873] Do not hash very large passwords in order to safe resources. [ticket/11862] Correct var names in user_delete() events due to prune-users [develop-olympus] Use 3.0.13-dev as build version. Use latest 3.0.12 RC tag. [prep-release-3.0.12] Bumping version number for 3.0.12 final. [ticket/11852] Add class file [ticket/11852] Move tests to folder with new class name [ticket/11852] Split filesystem and path_helper into 2 classes [ticket/11868] Add @depends to test [ticket/11868] Add functional test for registration [ticket/11868] Replace phpbb_request_interface references [ticket/11866] Only single backslash in .md files [ticket/11866] Remove outdated and broken develop script [ticket/11866] More namespaces [ticket/11866] Update some occurances of phpbb_db_ to new Namespace [ticket/11865] Convert old class name to namespaced version ... Conflicts: tests/security/extract_current_page_test.php tests/session/testable_facade.php
| * | Merge branch 'develop-olympus' into developAndreas Fischer2013-09-281-0/+8
| |\ \ | | |/ | |/| | | | | | | | | | | | | * develop-olympus: [prep-release-3.0.12] Update changelog for 3.0.12 release. [ticket/11873] Add unit test for large password input. [ticket/11873] Do not hash very large passwords in order to safe resources.
| | * [ticket/11873] Add unit test for large password input.Joas Schilling2013-09-281-0/+8
| | | | | | | | | | | | | | | | | | The password should be rejected quite fast. PHPBB3-11873
| | * [ticket/11159] static public is the currently approved order.Oleg Pudeyev2012-11-062-2/+2
| | | | | | | | | | | | PHPBB3-11159
| * | [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-162-6/+6
| | | | | | | | | | | | PHPBB3-11700
| * | [ticket/11700] Modify all code to use the new interface namesNils Adermann2013-07-141-2/+2
| | | | | | | | | | | | PHPBB3-11700
* | | [ticket/11850] Fix extract current page testNathan Guse2013-09-192-11/+47
|/ / | | | | | | PHPBB3-11850
* | [ticket/9975] Moved a few E_USER_ERROR errors to /languageasperous2013-04-231-3/+3
| | | | | | | | | | | | There were a few error messages that a user could experience that would, previously, be without any the ability to be localized. There are some more E_USER_ERRORs that I did not change to a constant, for example the error message that is displayed if there aren't any folders in /language. PHPBB3-9975
* | [ticket/10973] Drop all require_once for mocks. Use autoloading.Andreas Fischer2012-07-081-2/+0
| | | | | | | | PHPBB3-10973
* | [ticket/10733] Removing static from data providersVjacheslav Trushkin2012-04-012-2/+2
| | | | | | | | | | | | Removing static from data provider functions PHPBB3-10733
* | [feature/class-prefix] Rename user and session to phpbb_*Igor Wiedler2012-03-313-6/+4
| | | | | | | | PHPBB-10609
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-01-024-4/+4
|\ \ | |/ | | | | | | | | | | | | | | | | * 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
| * [ticket/9916] Updating License in the headerUnknown2012-01-024-4/+4
| | | | | | | | PHPBB3-9916
* | [feature/request-class] Add server(), header() and is_ajax() to requestIgor Wiedler2011-07-152-20/+32
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge branch 'develop-olympus' into developOleg Pudeyev2011-03-221-0/+21
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/10101] Add test case for native phpass hashes [ticket/10101] Add support for native phpass hashes
| * [ticket/10101] Add test case for native phpass hashesIgor Wiedler2011-03-201-0/+21
| | | | | | | | PHPBB3-10101
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-01-312-8/+8
|\ \ | |/ | | | | | | | | | | | | * develop-olympus: [ticket/10011] Tests don't work on PHP < 5.3 Conflicts: tests/security/redirect_test.php
| * [ticket/10011] Tests don't work on PHP < 5.3Erik Frèrejean2011-01-312-6/+6
| | | | | | | | | | | | | | | | 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
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-01-102-0/+0
|\ \ | |/ | | | | This merge commit includes ascraeus-specific renames and adjustments.
| * [ticket/9987] Rename test files to include a _test suffixIgor Wiedler2011-01-102-0/+0
| | | | | | | | PHPBB3-9987
* | [ticket/9979] Support autoloading in unit testsIgor Wiedler2011-01-071-1/+0
|/ | | | PHPBB-9979
* [task/phpunit-xml] Use phpunit.xml for test suiteIgor Wiedler2011-01-043-42/+12
| | | | PHPBB3-9967
* [develop-olympus] Backported 3.1 unit tests to 3.0.Nils Adermann2010-03-103-0/+197
Start adding unit tests for bugs you fix! Tests for anything are welcome really. We have to work on these a lot.