aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/extension/manager.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11415] Move while loop from ext manager to acp_extensions.phpNathaniel Guse2013-05-011-18/+3
| | | | | | | Now enable_step works as it's supposed to (do one step at a time) and less refreshes are required for the user. PHPBB3-11415
* [ticket/11335] (extension manager/finder) Make php_ext 'php' not '.php'Nathan Guse2013-04-241-2/+2
| | | | PHPBB3-11335
* [ticket/11362] Extension manager depends on filesystemJoas Schilling2013-04-171-2/+4
| | | | PHPBB3-11362
* [ticket/11386] Send list of migrations instead of using load_migrationsNathaniel Guse2013-03-031-12/+20
| | | | | | | | | Remove dependency of extension manager for migrator. Keeping load_migrations function for others to use if they desire but requiring the finder be sent to it in order to use it. PHPBB3-11386
* [ticket/11386] Use finder to find migration filesNathaniel Guse2013-03-021-2/+9
| | | | PHPBB3-11386
* [feature/migrations] Call revert correctly when purging an extensionNathaniel Guse2013-02-091-8/+13
| | | | PHPBB3-11318
* [feature/migrations] Inject Migrator instead of using the container to fetchNathaniel Guse2013-02-091-7/+8
| | | | PHPBB3-11318
* [feature/migrations] Fix path to extension migrationsNathaniel Guse2013-02-061-1/+1
| | | | PHPBB3-11318
* [feature/migrations] Automatically install/revert migrations for extensionsNathan Guse2013-02-061-0/+62
| | | | | | | | Migrations from ext/ext_name/migrations/ are automatically installed when enabling the extension and automatically reverted when the extension is purged. PHPBB3-11318
* [feature/migrations] Make the container available to extension installersNathan Guse2013-02-061-3/+10
| | | | | | | This allows extensions to load and install migrations easily as per their needs. PHPBB3-11318
* [ticket/11283] Extension manager follow symlinks.Erik Frèrejean2012-12-231-1/+1
| | | | | | | | | | | | | All extensions are located in the `phpBB/ext` directory, however the `phpbb_extension_manager::all_available()` method only looks into actual directories and ignores symlinks. Add the `RecursiveDirectoryIterator::FOLLOW_SYMLINKS` flag to the `new RecursiveDirectoryIterator` call so that you can store extensions in a different location and use symlinks so that phpBB can recognise them. PHPBB3-11283
* [ticket/11015] Change more docblocks.Oleg Pudeyev2012-12-041-1/+1
| | | | PHPBB3-11015
* Merge remote-tracking branch 'upstream/develop' into ticket/11015Igor Wiedler2012-11-121-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: (31 commits) [ticket/11194] Service tag data is stored in an array so access it correctly [ticket/11193] Instantiate a single collection_pass for all collections [ticket/11152] Basic tests for the container functions [ticket/11152] Compile the install container [ticket/11152] Throw error if services.yml is missing [ticket/11152] Remove old container processor calls [ticket/11152] Use realpath in container extensions consistently [ticket/11152] Rename collection to collection_pass [ticket/11152] Remove @api docblocks [ticket/11152] Create separate function for debug-dependent container [ticket/11152] Change phpbb_di_pass_cron to generic phpbb_di_pass_collection [ticket/11152] Convert cron_task_collection to generic di_service_collection [ticket/11152] Use relative root path in container, one dumped container per path [ticket/11152] Move container functions to a separate function file [feature/compiled-dic] Rename $phpEx to $php_ext in new code [feature/compiled-dic] Use an absolute path for core.root_path parameter [feature/compiled-dic] Update the composer.lock file [feature/compiled-dic] Purge cache to make ext services available right away [feature/compiled-dic] Fix root path when container is created after install [feature/compiled-dic] Remove old test ...
| * [feature/compiled-dic] Purge cache to make ext services available right awayDavid King2012-11-101-5/+5
| | | | | | | | PHPBB3-11152
* | Merge remote-tracking branch 'upstream/develop' into ticket/11015Igor Wiedler2012-11-121-2/+28
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: (666 commits) [ticket/11077] Remove code from old global announcements system [ticket/11189] Replace DEBUG_EXTRA with DEBUG [ticket/11189] Always log critical errors when in cron or in image output [ticket/11187] Added a blank array to fix errors in functional tests [ticket/10780] Make L_COLON available in the installer. [ticket/11183] Remove $load_extensions and weird dl() calls [ticket/10970] Added extra documentation to parse_dynamic_path. [ticket/10939] Added documentation for phpbb_request::file [ticket/10865] Use code tags for install/database_update.php. [ticket/10865] Should have been a slash. [ticket/10780] Use L_COLON on LDAP page. [ticket/10780] Use L_COLON on search backend ACP pages. [ticket/10780] Use L_COLON for "download all attachments". [ticket/10780] Use colon from language in ucp_pm_compose.php where possible. [ticket/10780] Replace colons in phpBB/adm/style/acp_ext_details.html. [ticket/10780] Replace colon usage in adm template output with {L_COLON} [ticket/10780] Replace colon usage in template output with {L_COLON} [ticket/11181] Bump PHP requirement to 5.3.3 (from 5.3.2) [develop-olympus] [ticket/11181] Bump PHP requirement to 5.3.3 (from 5.3.2) [ticket/10172] Show prosilver birthday list even if there are no birthdays. ... Conflicts: phpBB/common.php phpBB/download/file.php phpBB/includes/db/dbal.php phpBB/includes/db/firebird.php phpBB/includes/db/mssql.php phpBB/includes/db/mssql_odbc.php phpBB/includes/db/mssqlnative.php phpBB/includes/db/mysql.php phpBB/includes/db/mysqli.php phpBB/includes/db/oracle.php phpBB/includes/db/postgres.php phpBB/includes/db/sqlite.php phpBB/includes/extension/manager.php phpBB/install/database_update.php
| * [ticket/11154] Do not try to load any extensions when installing.Oleg Pudeyev2012-11-071-1/+11
| | | | | | | | | | | | Might be the right fix, might be not. Works for me. PHPBB3-11154
| * [ticket/10631] get_extension_metadata_manager -> ↵Nathan Guse2012-09-011-1/+1
| | | | | | | | | | | | create_extension_metadata_manager PHPBB3-10631
| * [ticket/10631] Fix some issues as noted in github comments, significantly ↵Nathan Guse2012-09-011-1/+1
| | | | | | | | | | | | simplified validation PHPBB3-10631
| * [ticket/10631] Validation for extensionsNathan Guse2012-09-011-2/+5
| | | | | | | | PHPBB3-10631
| * [ticket/10631] Various tidbits and cleanup on the acp extensions managerNathan Guse2012-09-011-0/+13
| | | | | | | | PHPBB3-10631
| * [ticket/10631] Some tidying upMichael Cullum2012-09-011-0/+1
| | | | | | | | PHPBB3-10631
| * [ticket/10631] Remove the now un-used methodMichael Cullum2012-09-011-65/+0
| | | | | | | | PHPBB3-10631
| * [ticket/10631] Fixing some items mentioned in PRMichael Cullum2012-09-011-0/+64
| | | | | | | | PHPBB3-10631
* | Merge branch 'develop' into ticket/11015Igor Wiedler2012-07-211-6/+6
|\ \ | |/ | | | | | | | | | | | | | | | | * develop: [ticket/11012] Fix php_ext change in mock_extension_manager [ticket/11012] Normalize $phpEx member vars to $php_ext [ticket/11002] Use translating option to rename the Etc/GMT options Conflicts: phpBB/includes/extension/manager.php
| * [ticket/11012] Normalize $phpEx member vars to $php_extIgor Wiedler2012-07-211-7/+7
| | | | | | | | PHPBB3-11012
* | [ticket/11015] Make DBAL classes autoloadableIgor Wiedler2012-07-211-2/+2
|/ | | | | | | | PHPBB3-11015 This allows us to just create the object without having to include the driver first. However, it also means that users must specify the full class name in config.php
* Merge remote-tracking branch 'imkingdavid/ticket/10586' into developIgor Wiedler2012-03-281-0/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * imkingdavid/ticket/10586: [ticket/10586] Added space in if statement [ticket/10586] Tidy up comments [ticket/10586] Tests finally work (thanks naderman) [ticket/10586] Correctly purge board cache and don't rename install directory [ticket/10586] trying to get tests to work [ticket/10586] more work on getting tests to pass [ticket/10586] Tests are coming along, just a little more to go [ticket/10586] Rename install directory back to install/ after tests [ticket/10586] browse tests now work, but mine dont. at least we are making progress [ticket/10586] initial work on copying fixtures. Note that this depends on 10706 [ticket/10586] Adding the extensions used by the tests [ticket/10586] Now tests run, but fail. But here is what I have. [ticket/10586] some bootstrap additions and test changes to try and make it work [ticket/10586] test stuff. does not work yet, still need to put phpBB objects in bootstrap.php [ticket/10586] Copy/paste fail fixed [ticket/10586] Sanitize periods from class names, use manager to get path. [ticket/10586] Removed file_exists() check because class_exists() covers that. [ticket/10586] Extension front controller
| * [ticket/10586] Tidy up commentsDavid King2012-03-271-1/+1
| | | | | | | | PHPBB3-10586
| * [ticket/10586] Sanitize periods from class names, use manager to get path.David King2012-03-191-1/+1
| | | | | | | | PHPBB3-10586
| * [ticket/10586] Extension front controllerDavid King2012-03-191-0/+22
| | | | | | | | | | | | Handle extension front pages PHPBB3-10586
* | [ticket/10703] Added a condition to check if ext directory existsDhruv Goel2012-03-231-0/+4
|/ | | | | | | | The existence of ext directory is checked, if not present a proper error message that file doesn't exist is printed out. No Fatal Error messages. PHPBB3-10703
* [ticket/10614] Unbreak all_available on extension manager.Oleg Pudeyev2012-02-111-1/+2
| | | | | | | | By default RecursiveIteratorIterator skips all directories. This results in extension manager not finding any extensions. Add RecursiveIteratorIterator::SELF_FIRST to correct this. PHPBB3-10614
* [ticket/10614] Check if cache exists before destroying itIgor Wiedler2012-02-091-5/+20
| | | | PHPBB3-10614
* [ticket/10614] Remove ext manager exceptions for nowIgor Wiedler2012-02-091-19/+1
| | | | PHPBB3-10614
* [ticket/10614] Refactor list command to use manager APIIgor Wiedler2012-02-091-1/+11
| | | | PHPBB3-10614
* [ticket/10614] Tweak list output, show state, purge cache, handle missing extsIgor Wiedler2012-02-091-1/+19
| | | | PHPBB3-10614
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-1/+1
| | | | PHPBB3-9916
* [feature/extension-manager] Split disabling extensions up into steps as wellNils Adermann2011-11-181-6/+40
| | | | PHPBB3-10323
* [feature/extension-manager] Clarify comment on ext meta class instantiatorNils Adermann2011-11-181-1/+1
| | | | PHPBB3-10323
* [feature/extension-manager] Support extensions in subdirectories of ext/Nils Adermann2011-10-141-6/+12
| | | | PHPBB3-10323
* [feature/extension-manager] Add prefix to extension meta data / install classesNils Adermann2011-10-141-1/+1
| | | | PHPBB3-10323
* [feature/extension-manager] Support for loading language files from extensionsNils Adermann2011-10-141-2/+3
| | | | | | | The referenced extension needs to be explicitly specified in an add_lang_ext() call. PHPBB3-10323
* [feature/extension-manager] Don't cache the phpbb_root_path in the ext managerNils Adermann2011-09-291-4/+10
| | | | | | Otherwise the paths are incorrect from e.g. adm/ PHPBB3-10323
* [feature/extension-manager] Make sure the extension manager works without cacheNils Adermann2011-09-291-2/+6
| | | | | | Includes a test for manager without a cache PHPBB3-10323
* [feature/extension-manager] Make the cache variable name for extensions dynamicNils Adermann2011-09-291-4/+7
| | | | | | Allows multiple instances to use cache simultaneously. PHPBB3-10323
* [feature/extension-manager] Use _ext for cache - avoids conflict with file extNils Adermann2011-09-291-2/+2
| | | | PHPBB3-10323
* [feature/extension-manager] Correct usage of false cache return valueNils Adermann2011-09-291-1/+3
| | | | PHPBB3-10323
* [feature/extension-manager] Use an incremental process for enable and purgeNils Adermann2011-09-291-14/+71
| | | | | | | | | | | 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] Extension Manager & FinderNils Adermann2011-09-291-0/+301
Extensions RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41499 Ticket: http://tracker.phpbb.com/browse/PHPBB3-10323 PHPBB3-10323