aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | [feature/extension-manager] Refactoring the structure of extension providerNils Adermann2011-09-293-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10323
| * | | | | [feature/extension-manager] Add extension meta info classes for test extensionsNils Adermann2011-09-292-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10323
| * | | | | [feature/extension-manager] Add support for templates in extensions.Nils Adermann2011-09-293-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a template path provider to separate the process of locating (cached) paths in extensions from the template engine. The locator is supplied with a list of paths from the path provider. Admin templates can now be created in ext/<ext>/adm/style/ and regular templates go into ext/<ext>/styles/<style>/template/. Extension templates override regular templates. So if an extension supplies a file with a name used in phpBB, the extension's file will be used. A side-effect of this commit: Locator and Provider are now able to deal with arbitrary levels of template inheritance. So we can expose this through phpbb_template if we choose to, and allow styles to inherit from inherited styles. PHPBB3-10323
| * | | | | [feature/extension-manager] Don't cache the phpbb_root_path in the ext managerNils Adermann2011-09-292-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise the paths are incorrect from e.g. adm/ PHPBB3-10323
| * | | | | [feature/extension-manager] Extract extension provider functionality from cronNils Adermann2011-09-291-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10323
| * | | | | [feature/extension-manager] Prepend the phpbb_root_path if necessary.Nils Adermann2011-09-291-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10323
| * | | | | [feature/extension-manager] Add support for directories to the extension finderNils Adermann2011-09-291-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10323
| * | | | | [feature/extension-manager] Make sure the extension manager works without cacheNils Adermann2011-09-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes a test for manager without a cache PHPBB3-10323
| * | | | | [feature/extension-manager] Make the cache variable name for extensions dynamicNils Adermann2011-09-291-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows multiple instances to use cache simultaneously. PHPBB3-10323
| * | | | | [feature/extension-manager] Test creation of new extension finder cacheNils Adermann2011-09-292-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10323
| * | | | | [feature/extension-manager] Use an incremental process for enable and purgeNils Adermann2011-09-291-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The enable or purge operation of an extension could take a long time if an expensive operation needs to be executed on a large set of data. To allow this to succeed from a web interface with max_execution_time set in the webserver's php configuration, subsequent requests must continue the operation started earlier. So individual enable and purge implementations must be able to spread their work across multiple steps. PHPBB3-10323
| * | | | | [feature/extension-manager] Add filename prefix matching in extension finderNils Adermann2011-09-291-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10323
| * | | | | [feature/extension-manager] Add missing newlines at end of filesNils Adermann2011-09-296-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10323
| * | | | | [feature/extension-manager] Remove cron's dependency on the extension manager.Nils Adermann2011-09-295-20/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead a separate cron provider supplies the manager with tasks from the extension finder. PHPBB3-10323
| * | | | | [feature/extension-manager] The class loader no longer knows about extensionsNils Adermann2011-09-294-40/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead the class loader is instantiated twice. Once with the phpbb_ prefix and once with the phpbb_ext_ prefix. PHPBB3-10323
| * | | | | [feature/extension-manager] Porting cron tasks over to the extension finderNils Adermann2011-09-2910-48/+76
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10323
| * | | | | [feature/extension-manager] Extension Manager & FinderNils Adermann2011-09-2916-3/+312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extensions RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41499 Ticket: http://tracker.phpbb.com/browse/PHPBB3-10323 PHPBB3-10323
* | | | | | Merge branch 'develop-olympus' into developNils Adermann2011-11-182-0/+98
|\ \ \ \ \ \ | |_|/ / / / |/| | / / / | | |/ / / | |/| | | | | | | | * develop-olympus: [ticket/10296] Fix CROSS JOIN with INNER JOIN on MSSQL, Postgres and Oracle [ticket/10296] Add unit test for CROSS JOIN with INNER JOIN
| * | | | Merge remote-tracking branch 'github-nickvergessen/ticket/10296' into ↵Nils Adermann2011-11-182-0/+98
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | develop-olympus * github-nickvergessen/ticket/10296: [ticket/10296] Fix CROSS JOIN with INNER JOIN on MSSQL, Postgres and Oracle [ticket/10296] Add unit test for CROSS JOIN with INNER JOIN
| | * | | | [ticket/10296] Add unit test for CROSS JOIN with INNER JOINJoas Schilling2011-11-152-0/+98
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10296
* | | | | | Merge branch 'develop-olympus' into developAndreas Fischer2011-11-141-0/+35
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9066] Move regex into get_preg_expression function and add tests [ticket/9066] Disallow some database prefix to prevent same errors and problems
| * | | | | Merge remote-tracking branch 'nickvergessen/ticket/9066' into develop-olympusAndreas Fischer2011-11-141-0/+35
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | * nickvergessen/ticket/9066: [ticket/9066] Move regex into get_preg_expression function and add tests [ticket/9066] Disallow some database prefix to prevent same errors and problems
| | * | | | [ticket/9066] Move regex into get_preg_expression function and add testsJoas Schilling2011-11-141-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9066
* | | | | | Merge branch 'develop-olympus' into developAndreas Fischer2011-10-171-0/+5
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10416] Pass dbport to PDO object in ...connection_manager::connect().
| * | | | | [ticket/10416] Pass dbport to PDO object in ...connection_manager::connect().Andreas Fischer2011-10-161-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10416
* | | | | | [ticket/10414] Skip functional tests on PHP 5.2 - requires PHPUnit 3.6 on 5.2Nils Adermann2011-10-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tests still execute correctly using PHPUnit 3.5 on PHP 5.3 and above. The php version limitation for a directory was added in PHPUnit 3.6. A separate test suite is required because the functional tests are in the whitelisted tests directory. The base test for functional testing is only included in bootstrap in versions 5.3 and above. PHPBB3-10414
* | | | | | [ticket/10417] Fix array_merge() on undefined $config variable.Andreas Fischer2011-10-161-2/+4
| |_|_|_|/ |/| | | | | | | | | | | | | | PHPBB3-10417
* | | | | Merge branch 'develop-olympus' into developIgor Wiedler2011-10-141-10/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10327] Use $this->tools instead of creating a new instance of db_tools. [ticket/10327] Also change CREATE UNIQUE INDEX to use ALTER TABLE.
| * | | | Merge remote-tracking branch 'bantu/ticket/10327' into develop-olympusIgor Wiedler2011-10-141-10/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/10327: [ticket/10327] Use $this->tools instead of creating a new instance of db_tools. [ticket/10327] Also change CREATE UNIQUE INDEX to use ALTER TABLE.
| | * | | | [ticket/10327] Use $this->tools instead of creating a new instance of db_tools.Andreas Fischer2011-10-141-10/+3
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10327
* | | | | | Merge branch 'develop-olympus' into developNils Adermann2011-10-141-0/+15
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/8240] Add ability to get a list of columns of a tables to db_tools. [ticket/8240] Add ability to get a list of tables to db_tools.
| * | | | | [ticket/8240] Add ability to get a list of columns of a tables to db_tools.Andreas Fischer2011-10-141-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-8240
| * | | | | [ticket/8240] Add ability to get a list of tables to db_tools.Andreas Fischer2011-10-141-0/+7
| |/ / / / | | | | | | | | | | | | | | | PHPBB3-8240
* | | | | [feature/functional-tests] Don't add elements to backup list twiceNils Adermann2011-10-141-7/+0
| | | | | | | | | | | | | | | | | | | | PHPBB3-10414
* | | | | [feature/functional-tests] Generate config correctly and install only onceNils Adermann2011-10-142-24/+48
| | | | | | | | | | | | | | | | | | | | PHPBB3-10414
* | | | | [feature/functional-tests] Configure functional tests through config fileNils Adermann2011-10-143-61/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The functional tests now also use the test database PHPBB3-10414
* | | | | [feature/functional-tests] Implementing functional test framework with goutteIgor Wiedler2011-10-143-0/+155
| | | | | | | | | | | | | | | | | | | | PHPBB3-10414
* | | | | Merge branch 'develop-olympus' into developIgor Wiedler2011-10-141-0/+18
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * develop-olympus: [ticket/10327] Change CREATE INDEX to ALTER TABLE table ADD INDEX for MySQL.
| * | | | [ticket/10327] Change CREATE INDEX to ALTER TABLE table ADD INDEX for MySQL.Andreas Fischer2011-10-141-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * CREATE INDEX is internally mapped to an ALTER INDEX statement. * CREATE INDEX requires the INDEX permission. * ALTER TABLE requires the (more powerful) ALTER permission. * We require the ALTER permission anyway for operation. * Changing CREATE INDEX to ALTER TABLE thus removes dependency on the INDEX permission which is good because some management software does not give out the INDEX permission by default. http://dev.mysql.com/doc/refman/5.0/en/create-index.html PHPBB3-10327
* | | | | Merge branch 'develop-olympus' into developAndreas Fischer2011-10-131-1/+17
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | | | | | * develop-olympus: [ticket/10307] Add a test for PHPBB3-10307 [ticket/10307] Return false in mysqli sql_fetchrow on empty result
| * | | [ticket/10307] Add a test for PHPBB3-10307Igor Wiedler2011-10-131-1/+17
| |/ / | | | | | | | | | PHPBB3-10307
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-09-271-2/+2
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/10394] Use call_user_func_array to pass a ref into a dynamic function
| * | [ticket/10394] Use call_user_func_array to pass a ref into a dynamic functionNils Adermann2011-09-271-2/+2
| | | | | | | | | | | | PHPBB3-10394
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-09-272-3/+3
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/10394] Remove call-time pass by reference from tests for PHP 5.4
| * | [ticket/10394] Remove call-time pass by reference from tests for PHP 5.4Nils Adermann2011-09-272-3/+3
| | | | | | | | | | | | PHPBB3-10394
* | | Merge branch 'develop' of git://github.com/phpbb/phpbb3 into developAndreas Fischer2011-09-272-2/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'develop' of git://github.com/phpbb/phpbb3: [ticket/10392] Alter parent namespace stripping. [ticket/10392] Test for magic loop variables with nested namespaces. [ticket/10392] Missed fix for S_BLOCK_NAME. [ticket/10392] Fix access to nested special block variables.
| * | | [ticket/10392] Test for magic loop variables with nested namespaces.Chris Smith2011-09-272-2/+3
| | | | | | | | | | | | | | | | PHPBB3-10392
* | | | [ticket/10384] Update unit tests to test for failing variable.Chris Smith2011-09-242-5/+7
|/ / / | | | | | | | | | PHPBB3-10384
* | | Merge branch 'develop-olympus' into developNils Adermann2011-09-181-0/+35
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10369] Replace root path with "[ROOT]" as per IRC. [ticket/10369] Add warning about paths outside of phpBB root not being filtered [ticket/10369] Rename filter_errfile() to filter_root_path(). [ticket/10369] DRY code to remove phpbb path from errfile. [ticket/10369] Always include errfile and errline in format_errors().
| * | [ticket/10369] Always include errfile and errline in format_errors().Andreas Fischer2011-09-181-0/+35
| | | | | | | | | | | | | | | | | | | | | We remove the phpBB root path from errfile. This is consistent with how msg_handler handles E_WARNING messages etc. PHPBB3-10369