aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [feature/extension-manager] Add support for templates in extensions.Nils Adermann2011-09-2911-92/+241
| | | | | | | | | | | | | | | | | | 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-294-7/+15
| | | | | | Otherwise the paths are incorrect from e.g. adm/ PHPBB3-10323
* [feature/extension-manager] Extract extension provider functionality from cronNils Adermann2011-09-293-49/+70
| | | | PHPBB3-10323
* [feature/extension-manager] Prepend the phpbb_root_path if necessary.Nils Adermann2011-09-292-8/+27
| | | | PHPBB3-10323
* [feature/extension-manager] Correct formatting of documentationNils Adermann2011-09-291-4/+5
| | | | PHPBB3-10323
* [feature/extension-manager] Add support for directories to the extension finderNils Adermann2011-09-292-6/+59
| | | | PHPBB3-10323
* [feature/extension-manager] Always store the full class name as module basenameNils Adermann2011-09-292-9/+41
| | | | | | The updater swaps out all basenames. PHPBB3-10323
* [feature/extension-manager] Make sure the extension manager works without cacheNils Adermann2011-09-292-2/+19
| | | | | | Includes a test for manager without a cache PHPBB3-10323
* [feature/extension-manager] The default fulltext native backend was renamedNils Adermann2011-09-291-1/+1
| | | | | | This was done to make it autoloadable. PHPBB3-10323
* [feature/extension-manager] Create an extension manager on update and installNils Adermann2011-09-292-2/+14
| | | | | | It's required when adding modules PHPBB3-10323
* [feature/extension-manager] Make the cache variable name for extensions dynamicNils Adermann2011-09-293-10/+17
| | | | | | Allows multiple instances to use cache simultaneously. PHPBB3-10323
* [feature/extension-manager] Use _ext for cache - avoids conflict with file extNils Adermann2011-09-292-4/+4
| | | | PHPBB3-10323
* [feature/extension-manager] Test creation of new extension finder cacheNils Adermann2011-09-293-6/+42
| | | | PHPBB3-10323
* [feature/extension-manager] Correct usage of false cache return valueNils Adermann2011-09-292-1/+8
| | | | PHPBB3-10323
* [feature/extension-manager] Add docblocks for query members of extension finderNils Adermann2011-09-291-0/+9
| | | | PHPBB3-10323
* [feature/extension-manager] Remove 5.2 incompatible \ in front of SPL classnameNils Adermann2011-09-291-1/+1
| | | | PHPBB-10323
* [feature/extension-manager] Use an incremental process for enable and purgeNils Adermann2011-09-2913-22/+151
| | | | | | | | | | | 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 missing sql_freeresult callNils Adermann2011-09-291-0/+1
| | | | PHPBB3-10323
* [feature/extension-manager] Allow extensions to define captcha plugins.Nils Adermann2011-09-293-24/+32
| | | | | | | The base class for captcha plugins has been renamed, but the old name continues to exist as an empty subclass of it for backwards compatability. PHPBB3-10323
* [feature/extension-manager] Avoid unecessary loading of acp classesNils Adermann2011-09-291-10/+6
| | | | PHPBB3-10323
* [feature/extension-manager] Fix whitespace in acp_modulesNils Adermann2011-09-291-13/+13
| | | | PHPBB3-10323
* [feature/extension-manager] Load (A/U/M)CP modules from extensionsNils Adermann2011-09-292-75/+94
| | | | | | | | | To avoid large bc breaking changes, modules in the old includes directory structure still follow the same naming conventions. Modules in extensions have to be placed in an xcp/ folder and need a _module suffix. The corresponding info file is in the same directory but with an _info suffix. PHPBB3-10323
* [feature/extension-manager] Add filename prefix matching in extension finderNils Adermann2011-09-292-5/+62
| | | | PHPBB3-10323
* [feature/extension-manager] Remove the ext_active index for lack of specificityNils Adermann2011-09-299-14/+2
| | | | 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-299-66/+156
| | | | | | | 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-299-81/+77
| | | | | | | Instead the class loader is instantiated twice. Once with the phpbb_ prefix and once with the phpbb_ext_ prefix. PHPBB3-10323
* [feature/extension-manager] Skip phpbb_search_base by checking for get_name()Nils Adermann2011-09-291-1/+1
| | | | PHPBB3-10323
* [feature/extension-manager] Never cache extension finder queries in debug modeNils Adermann2011-09-291-1/+1
| | | | | | | During development the detection of files should happen immediately and performance is less of a concern. PHPBB3-10323
* [feature/extension-manager] Make search backends loadable from extensionsNils Adermann2011-09-298-46/+44
| | | | | | | | Search backends are now required to be autoloadable. The database updater to 3.1 tries to guess the class name as phpbb_search_<oldname> which works for the default backends we ship. PHPBB3-10323
* [feature/extension-manager] Load the extension manager on all pagesNils Adermann2011-09-292-1/+7
| | | | PHPBB3-10323
* [feature/extension-manager] Porting cron tasks over to the extension finderNils Adermann2011-09-2911-147/+102
| | | | PHPBB3-10323
* [feature/extension-manager] Extension Manager & FinderNils Adermann2011-09-2934-15/+1049
| | | | | | | 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 developAndreas Fischer2011-09-271-2/+2
|\ | | | | | | | | * develop-olympus: [ticket/10394] Use call_user_func_array to pass a ref into a dynamic function
| * Merge remote-tracking branch 'naderman/ticket/10394' into develop-olympusAndreas Fischer2011-09-271-2/+2
| |\ | | | | | | | | | | | | * naderman/ticket/10394: [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-271-5/+3
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/10315] Add top/bottom margin to the options in ACP to avoid overlapping
| * | Merge remote-tracking branch 'nickvergessen/ticket/10315' into develop-olympusAndreas Fischer2011-09-271-5/+3
| |\ \ | | | | | | | | | | | | | | | | * nickvergessen/ticket/10315: [ticket/10315] Add top/bottom margin to the options in ACP to avoid overlapping
| | * | [ticket/10315] Add top/bottom margin to the options in ACP to avoid overlappingJoas Schilling2011-09-211-5/+3
| | | | | | | | | | | | | | | | PHPBB3-10315
* | | | Merge remote-tracking branch 'cs278/ticket/10387' into developAndreas Fischer2011-09-271-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * cs278/ticket/10387: [ticket/10387] Add CURRENT_PAGE var to the template when pagination is used.
| * | | | [ticket/10387] Add CURRENT_PAGE var to the template when pagination is used.Chris Smith2011-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-10387
* | | | | 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
| * | | | Merge remote-tracking branch 'naderman/ticket/10394' into develop-olympusAndreas Fischer2011-09-272-3/+3
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | * naderman/ticket/10394: [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-273-7/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '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.
| * \ \ \ Merge remote-tracking branch 'github-cs278/ticket/10392' into developNils Adermann2011-09-273-7/+17
| |\ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * github-cs278/ticket/10392: [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] Alter parent namespace stripping.Chris Smith2011-09-271-2/+9
| | | | | | | | | | | | | | | | | | | | PHPBB3-10392
| | * | | [ticket/10392] Test for magic loop variables with nested namespaces.Chris Smith2011-09-272-2/+3
| | | | | | | | | | | | | | | | | | | | PHPBB3-10392
| | * | | [ticket/10392] Missed fix for S_BLOCK_NAME.Chris Smith2011-09-271-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-10392
| | * | | [ticket/10392] Fix access to nested special block variables.Chris Smith2011-09-261-4/+6
| |/ / / | | | | | | | | | | | | PHPBB3-10392