aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'remotes/nickv/ticket/10714' into developNathaniel Guse2013-03-041-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Joas Schilling # Via Joas Schilling * remotes/nickv/ticket/10714: (56 commits) [ticket/10714] Get log from container in install, update and download/file [ticket/10714] Use $phpbb_adm_relative_path instead of hardcoded adm/ [ticket/10714] Logs are disabled for this page call only [ticket/10714] Update add_log docs block with @param and @deprecated [ticket/10714] Remove fallback code from previous commits and move global [ticket/10714] Fix missing parameter and global phpbb_log in unit tests [ticket/10714] Add getter for is_in_admin and use it [ticket/10714] Fix more comments [ticket/10714] Cast values to integer before using them in the query [ticket/10714] Fix several doc blocks and comments [ticket/10714] Fix missing 8th argument in unit tests [ticket/10714] Use new core.adm_relative_path to create the object. [ticket/10714] Fix several comments and variable names [ticket/10714] Fix database driver class name [ticket/10714] Forgot most important, use container to create $phpbb_log [ticket/10714] Remove type hinting to allow the usage of mocks in tests [ticket/10714] Fix dependency injections in unit tests with mocks [ticket/10714] Use dependencies instead of globals [ticket/10714] Compare log_type to false, rather then null [ticket/10714] Add global variables for the unit tests ...
| * [ticket/10714] Get log from container in install, update and download/fileJoas Schilling2013-03-041-0/+1
| | | | | | | | PHPBB3-10714
* | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into feature/avatarsMarc Alexander2013-01-041-12/+1
|\ \ | |/ | | | | | | Conflicts: phpBB/includes/ucp/ucp_groups.php
| * [ticket/11306] Introduce phpbb_create_default_containerIgor Wiedler2013-01-021-12/+1
| | | | | | | | | | | | | | Extracts default container construction to factory function, removing boilerplate duplication for container construction. PHPBB3-11306
* | Merge branch 'develop' of github.com:marc1706/phpbb3 into feature/avatarsMarc Alexander2012-12-241-1/+0
|\ \ | |/
| * Merge remote-tracking branch 'upstream/develop' into ticket/11015Oleg Pudeyev2012-12-061-0/+1
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: (196 commits) [ticket/11219] Coding guidelines and naming consistency changes [ticket/10841] Revert more whitespace changes. [ticket/10841] Revert whitespace changes. [ticket/10841] adding space after if [ticket/10841] removing unnecessary spacing [ticket/10841] changing affectedrows check to COUNT in sql [ticket/10841] Modifying style and language selectors in UCP [ticket/11247] Fix wrong property reference in flock class. [ticket/10602] Avoid a race condition. [ticket/10602] Use last_queue_run for its intended purpose. [ticket/10716] Collect standard error from executed php process. [ticket/10716] Skip test if php is not in PATH. [ticket/10716] Exclude our dependencies from linting. [ticket/10103] New and improved wording. [ticket/10716] Only lint on php 5.3+. [ticket/10103] Assert with messages. [ticket/10103] assertLessThan/assertGreaterThan. [ticket/10103] Inline assignment is bad? [ticket/10103] $rv had too few characters. [ticket/10103] Correct flock class documentation. ... Conflicts: phpBB/includes/functions.php tests/cache/cache_test.php
| * \ Merge remote-tracking branch 'upstream/develop' into ticket/11015Igor Wiedler2012-11-121-16/+22
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 ...
| * \ \ Merge remote-tracking branch 'upstream/develop' into ticket/11015Igor Wiedler2012-11-121-151/+238
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/11015] Make DBAL classes autoloadableIgor Wiedler2012-07-211-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 branch 'develop' into feature/avatarsMarc Alexander2012-12-091-2/+1
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: phpBB/install/database_update.php
| * | | | [feature/controller] Rename kernel pass class properlyDavid King2012-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-10864
| * | | | [feature/controller-new] Call pass to subscribe the Kernel event listenerDavid King2012-11-161-0/+1
| | | | | | | | | | | | | | | | | | | | PHPBB3-10864
| * | | | [ticket/11206] Remove includes to non-existent files from download/file.phpIgor Wiedler2012-11-161-2/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | This makes avatars work again. PHPBB3-11206
* | | | [feature/avatars] Small fixes after transition to service containersMarc Alexander2012-11-171-1/+1
| | | | | | | | | | | | | | | | PHPBB3-10018
* | | | Merge branch 'feature/avatars' of https://github.com/igorw/phpbb3 into ↵Marc Alexander2012-11-121-0/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | feature/avatars Conflicts: phpBB/adm/style/acp_groups.html phpBB/adm/style/acp_users_avatar.html phpBB/includes/acp/acp_groups.php phpBB/includes/acp/acp_users.php phpBB/includes/functions_display.php phpBB/install/database_update.php phpBB/install/schemas/mssql_schema.sql phpBB/styles/prosilver/template/ucp_avatar_options.html
| * | | [feature/avatars] Rewrite drivers to use full class nameIgor Wiedler2012-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use full driver class name as avatar_type value * Move avatar drivers to core namespace * Make avatars installable through extensions PHPBB3-10018
| * | | [feature/avatars] Introduce global phpbb_avatar_managerIgor Wiedler2012-04-081-0/+2
| |/ / | | | | | | | | | PHPBB3-10018
* | | [ticket/11193] Instantiate a single collection_pass for all collectionsNils Adermann2012-11-111-1/+1
| | | | | | | | | | | | PHPBB3-11193
* | | [ticket/11152] Remove old container processor callsIgor Wiedler2012-11-111-7/+0
| | | | | | | | | | | | PHPBB3-11152
* | | [ticket/11152] Rename collection to collection_passIgor Wiedler2012-11-111-1/+1
| | | | | | | | | | | | PHPBB3-11152
* | | [ticket/11152] Create separate function for debug-dependent containerIgor Wiedler2012-11-101-1/+1
| | | | | | | | | | | | PHPBB3-11152
* | | [ticket/11152] Change phpbb_di_pass_cron to generic phpbb_di_pass_collectionIgor Wiedler2012-11-101-1/+1
| | | | | | | | | | | | PHPBB3-11152
* | | [ticket/11152] Move container functions to a separate function fileIgor Wiedler2012-11-101-1/+2
| | | | | | | | | | | | PHPBB3-11152
* | | [feature/compiled-dic] Fix cron task loadingDavid King2012-11-101-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | We cannot use container tags at run time if we are using a cached, compiled container object (i.e. phpbb_cache_container) so we have to load them beforehand. PHPBB3-11152
* | | [feature/compiled-dic] Move this to the other PRDavid King2012-11-101-3/+1
| | | | | | | | | | | | PHPBB3-11152
* | | [feature/compiled-dic] Compile the DI Container into a cached classDavid King2012-11-101-9/+22
| |/ |/| | | | | PHPBB3-11152
* | [ticket/11101] Delay execution of container processorsIgor Wiedler2012-09-081-7/+7
| | | | | | | | | | | | Also fix the name of the ext processor service. PHPBB3-11101
* | Merge remote-tracking branch 'github-igorw/feature/dic' into developNils Adermann2012-09-011-19/+32
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * github-igorw/feature/dic: (35 commits) [feature/dic] Spaces to tabs, add useless docblocks [feature/dic] Remove unneeded newline [feature/dic] Add a doc block for the prune_forum cron task forum_data [feature/dic] Update composer.lock to symfony/* RC1 [feature/dic] Fix re-ordering of services [feature/dic] Fix parse errors [feature/dic] Add docblock for cron_manager::wrap_task() [feature/dic] Make cron task attributes protected, one per line [feature/dic] Coding style: Braces [feature/dic] Re-order services alphabetically [feature/dic] Remove duplicate event-dispatcher dependency [feature/dic] Adjust installer script to work with partially configured container [feature/dic] Generate full cache driver class name on fresh install [feature/dic] Adjust cache driver class name for BC [feature/dic] Rename {phpEx => php_ext} for consistency [feature/dic] Add trailing newline to htaccess [feature/dic] Require symfony/* 2.1.*, tabs instead of spaces, --dev lock file [feature/dic] Load services from extensions [feature/dic] Introduce DI processors instead of abusing compiler passes [feature/dic] Add dbal_ class prefix to dbal.driver.class ...
| * | [feature/dic] Coding style: BracesIgor Wiedler2012-08-251-1/+2
| | | | | | | | | | | | PHPBB3-10739
| * | [feature/dic] Load services from extensionsIgor Wiedler2012-07-211-1/+6
| | | | | | | | | | | | PHPBB3-10739
| * | [feature/dic] Introduce DI processors instead of abusing compiler passesIgor Wiedler2012-07-211-4/+4
| | | | | | | | | | | | PHPBB3-10739
| * | [feature/dic] Configure container via config.php, use compiler passIgor Wiedler2012-07-211-4/+10
| | | | | | | | | | | | PHPBB3-10739
| * | [feature/dic] Rewrite cron system to use DICIgor Wiedler2012-04-091-13/+14
| | | | | | | | | | | | PHPBB3-10739
| * | [feature/dic] Make use of calls to cut down on boilerplateIgor Wiedler2012-03-311-6/+1
| | | | | | | | | | | | PHPBB3-10739
| * | [feature/dic] Use DIC in download/file and install/indexIgor Wiedler2012-03-311-17/+22
| |/ | | | | | | PHPBB3-10739
* | [feature/attach-dl] Changed $files_added checksFyorl2012-08-201-2/+2
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Renamed $post_id to $post_msg_idFyorl2012-08-171-7/+7
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Fixed a commentFyorl2012-08-151-1/+1
| | | | | | | | PHPBB3-11042
* | [feature/attch-dl] $forum_id cast to intFyorl2012-08-151-1/+1
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Fixed $file_added to $files_addedFyorl2012-08-151-1/+1
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Moved definition of $archive_nameFyorl2012-08-151-1/+1
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Swapped the order of an if statementFyorl2012-08-151-3/+3
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Added $archive_pathFyorl2012-08-141-3/+4
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Used COMMA_SEPARATOR instead of actual commaFyorl2012-08-141-1/+1
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Renamed $count to $files_addedFyorl2012-08-141-4/+4
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Removed sprintf() useFyorl2012-08-141-1/+1
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Removed need for array_keys()Fyorl2012-08-141-2/+2
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Removed reliance on current($row)Fyorl2012-08-141-4/+4
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Renamed to phpbb_download_handle_forum_authFyorl2012-08-141-2/+2
| | | | | | | | PHPBB3-11042
* | [feature/attach-dl] Moved PM authentication handling into own functionFyorl2012-08-141-28/+5
| | | | | | | | PHPBB3-11042