aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14972] replace all occurrences of sizeof() with the count()rxu2018-01-011-1/+1
| | | | PHPBB3-14972
* [ticket/14938] Add missing language class to extension manager mockMarc Alexander2017-04-161-1/+4
| | | | PHPBB3-14938
* Merge branch '3.1.x' into 3.2.xMarc Alexander2017-04-161-0/+2
|\
| * [ticket/14938] Inconsistency in ext_mgr all_available vs is_availablejaviexin2017-02-101-0/+2
| | | | | | | | | | | | | | | | | | | | Made is_available much more strict, in line with the checks in all_available Refactor all_available to use is_available, saving duplicate code. Further simplify is_available by using metadata_manager. Make optional the template object on metadata_manager creation. Fix extension_manager_mock to have config and user components. PHPBB3-14938
* | Merge branch 'ticket/14957' into ticket/14957-rheaMarc Alexander2017-01-031-0/+8
|\ \ | |/
* | [ticket/14875] Add raw_variable() to request mockMarc Alexander2016-12-021-0/+5
| | | | | | | | PHPBB3-14875
* | [ticket/14576] Move common required files to bootstrapMatt Friedman2016-03-311-2/+0
| | | | | | | | PHPBB3-14576
* | Merge pull request #4144 from VSEphpbb/ticket/14434Tristan Darricau2016-02-021-4/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/14434] Allow non-migration files inside migrations folder (continued) * VSEphpbb/ticket/14434: [ticket/14434] Refactored to check migrations when setting them [ticket/14434] Check migrations in the database updater task [ticket/14434] Do not include non-migrations in CLI list [ticket/14434] Remove redundant conditional [ticket/14434] Fix whitespace mistakes [ticket/14434] Remove recursion to simplify is_migration method [ticket/14434] Extract migration check to a reusable method [ticket/14434] Schema generator should ignore migration helpers
| * | [ticket/14434] Refactored to check migrations when setting themMatt Friedman2016-01-281-4/+0
| | | | | | | | | | | | PHPBB3-14434
* | | [ticket/14129] Caches extensions autoloadersTristan Darricau2016-01-261-0/+10
|/ / | | | | | | PHPBB3-14129
* | [ticket/14237] Use $language class for notificationsMatt Friedman2015-10-131-1/+2
| | | | | | | | PHPBB3-14237
* | [ticket/13904] Add more tests and test casesMarc Alexander2015-09-091-1/+2
| | | | | | | | PHPBB3-13904
* | [ticket/13645] Move the feeds to controllersNicofuma2015-08-231-13/+0
| | | | | | | | PHPBB3-13645
* | [ticket/11444] Update tests and cleanup types/methodsTristan Darricau2015-07-131-0/+5
| | | | | | | | PHPBB3-11444
* | [ticket/11444] Moving the in-board notifications to a method classNicofuma2015-07-133-8/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the in-board method for the notifications is hardcoded and cannot be disabled. This method should be in his own class extending `phpbb\notification\method\method_interface`. It also add the possibility, for each method, to be enabled by default (ie: no entry in the DB => notification enabled). https://tracker.phpbb.com/browse/PHPBB3-11444 https://tracker.phpbb.com/browse/PHPBB3-11967 PHPBB3-11444
* | [ticket/13697] Moving filesystem related functions to filesystem serviceMateBartus2015-04-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Merge branch 'develop-ascraeus' into developJoas Schilling2014-11-222-0/+29
|\ \ | |/
| * [ticket/security-171] Modify tests for new file_downloader classMarc Alexander2014-11-211-0/+27
| | | | | | | | SECURITY-171
| * [ticket/security-171] Sanitize data from composer.jsonMarc Alexander2014-11-211-0/+2
| | | | | | | | SECURITY-171
* | [ticket/13063] Introduces a new \phpbb\routing\router classTristan Darricau2014-11-202-3/+29
|/ | | | PHPBB3-13063
* [ticket/13280] Output escaping for the symfony request objectTristan Darricau2014-11-162-1/+23
| | | | PHPBB3-13280
* [ticket/13059] Add core event to generate_page_link()rxu2014-10-011-2/+11
| | | | | | | | Add core event to generate_page_link() to allow overriding/modifying pagination URLs. Event request: http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=45905 PHPBB3-13059
* Merge pull request #2932 from Nicofuma/ticket/12963Marc Alexander2014-09-172-1/+57
|\ | | | | | | [ticket/12963] Load extensions migrations from /migration
| * [ticket/12963] Add unit testsTristan Darricau2014-09-102-1/+57
| | | | | | | | PHPBB3-12963
* | [ticket/13034] Fix testsTristan Darricau2014-09-161-1/+2
| | | | | | | | PHPBB3-13034
* | [ticket/13034] Fix the route generated for the frontend not in the phpbb rootTristan Darricau2014-09-041-1/+2
|/ | | | PHPBB3-13034
* Merge pull request #2671 from Nicofuma/ticket/12775Andreas Fischer2014-07-111-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ticket/12775] Replace functions_container with a container_builder class. * Nicofuma/ticket/12775: (34 commits) [ticket/12775] Set dbal.conn.driver as synthetic during installation [ticket/12775] Add the definition of dbal.conn in fixtures/config/services.yml [ticket/12775] Inject the connection when created in the container [ticket/12775] Extract the vars later in install/install_update.php [ticket/12775] Rename config_php_handler to config_php_file container_builder [ticket/12775] Set defined_vars as a property of config_php_file [ticket/12775] Fix doc blocks in the container builder [ticket/12775] Remove useless includes of config.php [ticket/12775] Move phpbb_convert_30_dbms_to_31 into the config file class [ticket/12775] Fix comments [ticket/12775] Update doc blocks [ticket/12775] Fix container_builder [ticket/12775] Rename config_php to config_php_file [ticket/12775] Renamed to \phpbb\di\container_builder [ticket/12775] Remove the last include of functions_container [ticket/12775] Fix unit tests [ticket/12775] Add tests for \phpbb\config_php [ticket/12775] Add tests for the container factory [ticket/12775] Use a field instead of a local var in load_config_var() [ticket/12775] Update container and config in install/ ...
| * [ticket/12775] Fix container_builderTristan Darricau2014-07-071-1/+1
| | | | | | | | PHPBB3-12775
| * [ticket/12775] Renamed to \phpbb\di\container_builderTristan Darricau2014-07-071-1/+1
| | | | | | | | PHPBB3-12775
| * [ticket/12775] Fix unit testsTristan Darricau2014-07-071-1/+1
| | | | | | | | PHPBB3-12775
| * [ticket/12775] Add tests for the container factoryTristan Darricau2014-07-071-0/+20
| | | | | | | | PHPBB3-12775
* | [ticket/12787] Updates phpbb_mock_controller_helperTristan Darricau2014-07-081-0/+5
|/ | | | PHPBB3-12787
* [ticket/12352] Add tests for phpBB2 md5 passwords driverMarc Alexander2014-06-011-0/+19
| | | | PHPBB3-12352
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-2720-70/+149
| | | | PHPBB3-12594
* [ticket/11497] Rename set_ext_finder in find_routing_filesTristan Darricau2014-05-051-1/+1
| | | | PHPBB3-11497
* [ticket/11497] Change the date in the package declarationTristan Darricau2014-05-031-1/+1
| | | | PHPBB3-11497
* [ticket/11497] Use a mock object to define the root folder for the finderTristan Darricau2014-05-031-0/+22
| | | | PHPBB3-11497
* [ticket/10521] Fix broken tests using set_cookieMatt Friedman2014-05-021-1/+1
| | | | PHPBB3-10521
* Merge remote-tracking branch 'github-nickvergessen/ticket/12113' into ↵Nils Adermann2014-04-101-0/+5
|\ | | | | | | | | | | | | | | | | develop-ascraeus * github-nickvergessen/ticket/12113: [ticket/12113] Fix view_log() tests [ticket/12113] Correctly use plurals when deleting user warnings [ticket/12113] Allow log entries to use plurals
| * [ticket/12113] Fix view_log() testsJoas Schilling2014-04-011-0/+5
| | | | | | | | PHPBB3-12113
* | [ticket/12282] Use interface for type hintingJoas Schilling2014-04-011-1/+1
|/ | | | PHPBB3-12282
* [ticket/11959] Add unit tests.Cesar G2014-03-191-0/+36
| | | | PHPBB3-11959
* Merge pull request #1735 from nickvergessen/ticket/11852Nathan Guse2013-09-301-7/+1
|\ | | | | Ticket/11852 filesystem class must not depend on a web request
| * [ticket/11852] Split filesystem and path_helper into 2 classesJoas Schilling2013-09-261-7/+1
| | | | | | | | PHPBB3-11852
* | [ticket/11868] Replace phpbb_request_interface referencesVjacheslav Trushkin2013-09-261-1/+1
|/ | | | PHPBB3-11868
* [ticket/11700] Fix unit tests after develop mergeNils Adermann2013-09-171-1/+1
| | | | PHPBB3-11700
* Merge remote-tracking branch 'github-phpbb/develop' into ticket/11700Nils Adermann2013-09-171-1/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * github-phpbb/develop: [ticket/11832] Correct paths in tests [ticket/11832] Correct ROOT_PATH variable [ticket/11832] get_url() from phpbb_template_asset should return web path [ticket/11832] Fix INCLUDE(JS/CSS) [ticket/11832] Fix constructions of phpbb_filesystem [ticket/11832] Fix smiley paths [ticket/11832] Create phpbb_symfony_request to handle initiating symfony_request [ticket/11832] Fix build_url and the S_LOGIN_ACTION [ticket/11832] Changing comments to say app.php rather than index.php [ticket/11832] We must instantiate the $phpbb_filesystem in common [ticket/11832] Fix the web path corrections [ticket/11832] More extensive testing [ticket/11832] Use dirname(__FILE__) [ticket/11832] Use $phpbb_filesystem instead of the container in append_sid Revert "[ticket/11832] Make $phpbb_container a global initiated by the framework" [ticket/11832] Make $phpbb_container a global initiated by the framework [ticket/11832] Fix log tests [ticket/11832] update_web_root_path helper and tests [ticket/11832] Inject dependencies for phpbb_get_web_root_path (also moving) Conflicts: phpBB/common.php phpBB/config/services.yml phpBB/includes/bbcode.php phpBB/includes/functions.php phpBB/includes/functions_messenger.php phpBB/install/index.php phpBB/phpbb/filesystem.php phpBB/phpbb/template/twig/environment.php phpBB/phpbb/template/twig/node/includeasset.php phpBB/phpbb/template/twig/twig.php tests/controller/helper_url_test.php tests/dbal/migrator_test.php tests/extension/manager_test.php tests/extension/metadata_manager_test.php tests/filesystem/clean_path_test.php tests/mock/extension_manager.php tests/template/template_events_test.php tests/template/template_test_case.php tests/template/template_test_case_with_tree.php tests/test_framework/phpbb_functional_test_case.php
| * [ticket/11832] Fix INCLUDE(JS/CSS)Nathan Guse2013-09-131-1/+2
| | | | | | | | PHPBB3-11832
| * [ticket/11832] Fix constructions of phpbb_filesystemNathan Guse2013-09-131-1/+6
| | | | | | | | PHPBB3-11832
| * Merge branch 'develop' of github.com:phpbb/phpbb3 into ticket/11832Nathan Guse2013-09-121-0/+5
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Joseph Warner (187) and others # Via Andreas Fischer (2) and others * 'develop' of github.com:phpbb/phpbb3: (189 commits) [ticket/11835] Fix ucp_auth_link adding in migration [prep-release-3.0.12] Remove changelog entry for ticket that was not resolved. [feature/oauth] Fix tabindex [feature/oauth] Fix bug on ucp_auth_link related to error display [feature/oauth] More small fixes [feature/oauth] More minor changes from review [feature/oauth] Fix small bug introduced by update in OAuth library [feature/oauth] Fix small issues on ucp pages [feature/oauth] Fix typo in OAuth logout method [feature/oauth] Make token storage service ignorant [feature/oauth] Update oauth::logout() to use clearAllTokens() [feature/oauth] Update storage implementation due to inteface change [feature/oauth] Update lusitanian/oauth to stable branch [feature/oauth] Update comment on oauth service exception [feature/oauth] Forgot to remove placeholder comment [feature/oauth] OAuth service exception [feature/oauth] A few more minor changes [feature/oauth] Changes due to code review [feature/oauth] Fix redirects [feature/oauth] Fix issues on ucp_login_link from review ...