aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_download.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '3.2.x' into 3.3.xMarc Alexander2019-06-171-2/+2
|\
| * [ticket/15984] Use private cache-controlJakub Senko2019-05-271-2/+2
| | | | | | | | PHPBB3-15984
* | [ticket/15663] Remove flash attachments supportRubén Calvo2019-05-091-17/+9
|/ | | | PHPBB3-15663
* [ticket/14972] replace all occurrences of sizeof() with the count()rxu2018-01-011-1/+1
| | | | PHPBB3-14972
* Merge pull request #4868 from javiexin/ticket/15266Marc Alexander2017-12-271-1/+5
|\ | | | | | | [ticket/15266] Fix events in content_visibility
| * [ticket/15266] Expand functionality of content_visibilityjaviexin2017-12-271-1/+5
| | | | | | | | | | | | | | | | Added new function "is_visible", and replaced several immediate uses of the above, including a single event in the new function to handle change in all places consistently, and much simpler. PHPBB3-15266
* | Merge branch '3.1.x' into 3.2.xMarc Alexander2016-12-281-1/+21
|\ \ | |/
| * Merge pull request #4531 from senky/ticket/14817Marc Alexander2016-12-281-1/+21
| |\ | | | | | | | | | [ticket/14817] Add core.send_file_to_browser_before
| | * [ticket/14817] Add core.send_file_to_browser_beforeJakub Senko2016-12-181-1/+21
| | | | | | | | | | | | PHPBB3-14817
* | | Merge branch '3.1.x' into 3.2.xMarc Alexander2016-11-271-0/+14
|\ \ \ | |/ /
| * | [ticket/14853] Add core event to allow modifying PM attachments download authrxu2016-11-041-0/+14
| |/ | | | | | | PHPBB3-14853
* | Merge pull request #4440 from danchr/ticket/14774Tristan Darricau2016-09-111-43/+55
|\ \ | | | | | | | | | | | | | | | | | | [ticket/14774] Support partial downloads of attachments * danchr/ticket/14774: [ticket/14774] Support partial downloads of attachments
| * | [ticket/14774] Support partial downloads of attachmentsDan Villiom Podlaski Christiansen2016-09-071-43/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | phpBB already had limited support for partial downloads, but only for resuming downloads, disregarding any range ending before EOF. WebKit on iOS and OS X uses partial downloads when fetching media files. Previously, only MP3 attachments could play directly in the browser, reported as a live stream, but with this change, all supported media formats should render as expected. Tested using cURL by verifying that partial downloads give exactly the same results compared to Apache. PHPBB3-14774
* | | Merge branch '3.1.x' into 3.2.xMarc Alexander2016-09-091-1/+1
|\ \ \ | | |/ | |/|
| * | [ticket/12133] fix download file names for WebKit-derived browsersDan Villiom Podlaski Christiansen2016-09-071-1/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All browser engines that descend from WebKit declare themselves as Safari in the user agent, including Chrome. Currently, the code assumes that any Safari-like browser cannot handle the RFC-compliant filename syntax. At least for recent versions of Safari, this is no longer the case, and the legacy syntax results in URI-quoted filenames. Using the standard syntax works as expected in both Safari 9 and Chrome 45. The ticket reporting this issue is from January 2014, so we can safely ignore compatibility: any browser still relying on the previous behaviour is unlikely to receive security updates. PHPBB3-12133
* | Merge branch '3.1.x' into 3.2.xAndreas Fischer2016-06-111-1/+1
|\ \ | |/ | | | | | | * 3.1.x: [ticket/14291] Do not update filesize if displaying thumbnail
| * [ticket/14291] Do not update filesize if displaying thumbnailMarc Alexander2016-05-301-1/+1
| | | | | | | | PHPBB3-14291
* | Merge branch '3.1.x' into 3.2.xTristan Darricau2016-03-251-1/+1
|\ \ | |/ | | | | | | * 3.1.x: [ticket/14290] Correctly use modified since header
| * [ticket/14290] Correctly use modified since headerMarc Alexander2016-03-241-1/+1
| | | | | | | | PHPBB3-14290
* | Merge branch 'ticket/14136' into ticket/14136-3.2.xMarc Alexander2016-03-241-0/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | Conflicts: phpBB/adm/style/install_update_diff.html phpBB/adm/style/installer_header.html phpBB/install/database_update.php phpBB/install/index.php phpBB/styles/subsilver2/template/overall_header.html phpBB/styles/subsilver2/template/simple_header.html phpBB/styles/subsilver2/template/ucp_pm_viewmessage_print.html phpBB/styles/subsilver2/template/viewtopic_print.html
| * [ticket/14136] Add back X-UA-Compatible meta tagMarc Alexander2016-03-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | This was previously removed without needing to. Adding it back to force users to not emulate the page for previous versions of IE. The imagetoolbar http-equiv tag was not restored as IE does not contain that anymore since IE7. Also, the chome=1 has been removed from the X-UA-Compatible content as ChromeFrame does not receive any further updates since 2014 and is potentially broken. PHPBB3-14136
* | [ticket/13454] Remove unused variablesMarc Alexander2016-01-061-1/+1
| | | | | | | | | | | | This is the first part of the changes. More to come. PHPBB3-13454
* | [ticket/13455] Update calls to `request_var()`Gaëtan Muller2015-02-031-2/+2
|/ | | | PHPBB3-13455
* Merge branch 'develop-olympus' into develop-ascraeusAndreas Fischer2015-01-281-5/+5
| | | | | | | | * develop-olympus: [ticket/13414] Set Content-Length header only if status is not 304 Conflicts: phpBB/download/file.php
* [ticket/13125] $user->browser to $browserJakub Senko2014-10-021-1/+1
| | | | PHPBB3-13125
* [ticket/13045] Remove Pragma headersJakub Senko2014-09-171-3/+3
| | | | PHPBB3-13045
* [ticket/13044] \G\M\T to GMT in whole projectJakub Senko2014-09-171-3/+3
| | | | | | Note that there are more uses of "\G\M\T" in vendor files. PHPBB3-13044
* [ticket/13044] move GMT string out of gmdate()Jakub Senko2014-09-171-2/+2
| | | | PHPBB3-13044
* [ticket/13044] Correct Expires headersJakub Senko2014-09-171-2/+2
| | | | PHPBB3-13044
* [ticket/12938] Remove the 'Download all attachments' feature.Andreas Fischer2014-08-091-21/+0
| | | | PHPBB3-12938
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | PHPBB3-12594
* [ticket/12282] Use interface for type hintingJoas Schilling2014-04-011-4/+4
| | | | PHPBB3-12282
* [ticket/12171] Send correct status 403 when forbidden and 404 when not foundJoas Schilling2014-02-101-3/+7
| | | | PHPBB3-12171
* [ticket/12171] Check topic visibility before allowing to download attachmentsJoas Schilling2014-02-101-5/+13
| | | | PHPBB3-12171
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-6/+6
| | | | PHPBB3-11700
* Merge branch 'ticket/10820' into ticket/10820-developDhruv2013-06-141-1/+1
| | | | | | | | * ticket/10820: [ticket/10820] fix if condition to check for IE Conflicts: phpBB/download/file.php
* Merge branch 'ticket/10820' into ticket/10820-developDhruv2013-06-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | # By Dhruv (13) and riadhchtara (1) * ticket/10820: [ticket/10820] Add additional check for IE in condition [ticket/10820] Fix function docblock [ticket/10820] Inject IE version in function [ticket/10820] fix regex Extract IE version from user agent string and then compare it with 7 [ticket/10820] remove unnecessary parentheses [ticket/10820] fix docblock [ticket/10820] add param and return to function [ticket/10820] simplify regex and escape dot [ticket/10820] Use singular return [ticket/10820] remove unnecessary condition checks [ticket/10820] add function docblock [ticket/10820] fix IE check function [ticket/10820] proper usage of global and local variable browser [ticket/10820] Image downloader recognize new version of ie When a user download image attachement using ie8, the file is displayed. However, when he uses ie version greater than 8, the image is download. A changes are made to phpbb/download/file.php to solve the problem. We check now if the ie version is greater or equal to 8 and not only equal to 8 Conflicts: phpBB/download/file.php
* Merge branch 'develop' into ticket/10820-developDhruv2013-06-131-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By Joas Schilling (146) and others # Via Andreas Fischer (50) and others * develop: (356 commits) [ticket/11599] Copy the forums into a static array for later reuse [ticket/11602] Do not call localize_errors() if avatars are disabled [ticket/11601] Add protected method for database sync and call it [ticket/11601] Split post_setup_synchronisation logic from xml parsing [ticket/11550] Specify a valid path so it's clearer that it must be a path [ticket/11550] Move comments to correct function [ticket/11550] We use a different fixture set for extension_acp_test.php [ticket/11550] Fixtures should only be directories not files [ticket/11550] Use new functionality from the test case helpers [ticket/11550] Move functionality for copying/restoring to test case helpers [ticket/11550] Fix copying the fixtures in extension_permission_lang_test.php [ticket/11543] Add more users so #hidden <> #normal [ticket/11590] Close database connections when tearDown() is called [ticket/develop/11543] Use plurals in develop [ticket/11543] Use correct IP addresses and inject time for correct values [ticket/11543] Add unit tests for obtain_users_online_string() [ticket/11543] Add unit tests for obtain_users_online() with empty forum [ticket/11543] Add unit tests for obtain_users_online() [ticket/11543] Add unit tests for obtain_guest_count() [ticket/11481] Move prepended slash from calls into function ...
| * Merge branch 'develop-olympus' into developAndreas Fischer2013-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/11144] Add missing {FORUM_NAME} variable [ticket/11144] Add missing {FORUM_NAME} variable Conflicts: phpBB/download/file.php phpBB/styles/prosilver/template/login_forum.html
* | Merge branch 'ticket/10820' into ticket/10820-developDhruv2013-06-081-1/+1
| | | | | | | | | | | | | | | | * ticket/10820: [ticket/10820] Fix function docblock Conflicts: phpBB/download/file.php
* | Merge branch 'ticket/10820' into ticket/10820-developDhruv2013-06-051-7/+8
| | | | | | | | | | | | | | | | * ticket/10820: [ticket/10820] Inject IE version in function Conflicts: phpBB/download/file.php
* | Merge branch 'ticket/10820' into ticket/10820-developDhruv2013-05-121-1/+9
| | | | | | | | | | | | | | | | * ticket/10820: [ticket/10820] fix regex Extract IE version from user agent string and then compare it with 7 Conflicts: phpBB/download/file.php
* | Merge remote-tracking branch 'dhruvgoel92/ticket/10820' into ↵Andreas Fischer2013-04-271-6/+18
|/ | | | | | | | | | | | | | | | | | | ticket/10820-develop * dhruvgoel92/ticket/10820: [ticket/10820] remove unnecessary parentheses [ticket/10820] fix docblock [ticket/10820] add param and return to function [ticket/10820] simplify regex and escape dot [ticket/10820] Use singular return [ticket/10820] remove unnecessary condition checks [ticket/10820] add function docblock [ticket/10820] fix IE check function [ticket/10820] proper usage of global and local variable browser [ticket/10820] Image downloader recognize new version of ie Conflicts: phpBB/download/file.php
* Merge remote-tracking branch 'upstream/develop' into ticket/11015Oleg Pudeyev2012-12-061-1/+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
| * [ticket/11227] @return void -> @return null, per coding guidelines.Oleg Pudeyev2012-11-301-1/+1
| | | | | | | | PHPBB3-11227
* | [ticket/11015] Change more docblocks.Oleg Pudeyev2012-12-041-4/+4
|/ | | | PHPBB3-11015
* [feature/attach-dl] Optimised an sql queryFyorl2012-08-151-2/+2
| | | | PHPBB3-11042
* [feature/attach-dl] Fixed the logic in an sql statementFyorl2012-08-151-2/+4
| | | | PHPBB3-11042
* [feature/attach-dl] Cast variables to intFyorl2012-08-141-3/+3
| | | | PHPBB3-11042
* [feature/attach-dl] Renamed to phpbb_download_handle_forum_authFyorl2012-08-141-2/+2
| | | | PHPBB3-11042