aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | PHPBB3-9916
* [feature/extension-manager] The class loader no longer knows about extensionsNils Adermann2011-09-291-3/+6
| | | | | | | Instead the class loader is instantiated twice. Once with the phpbb_ prefix and once with the phpbb_ext_ prefix. PHPBB3-10323
* [feature/extension-manager] Load the extension manager on all pagesNils Adermann2011-09-291-0/+3
| | | | PHPBB3-10323
* [feature/extension-manager] Extension Manager & FinderNils Adermann2011-09-291-1/+1
| | | | | | | Extensions RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41499 Ticket: http://tracker.phpbb.com/browse/PHPBB3-10323 PHPBB3-10323
* [ticket/10359] Fix phpbb_request regression in download/file.phpIgor Wiedler2011-09-081-0/+4
| | | | | | The phpbb_request object, utf-8 tools and request_var injection are missing. PHPBB3-10359
* [feature/request-class] Add server(), header() and is_ajax() to requestIgor Wiedler2011-07-151-1/+1
| | | | | | | | | | | | Extend the request class with helpers for reading server vars (server()) and HTTP request headers (header()). Refactor the existing code base to make use of these helpers, make $_SERVER a deactivated super global. Also introduce an is_ajax() method, which checks the X-Requested-With header for the value 'XMLHttpRequest', which is sent by JavaScript libraries, such as jQuery. PHPBB3-9716
* Merge branch 'develop-olympus' into developAndreas Fischer2011-06-151-6/+1
|\ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10218] Prevent startime from being overwritten by deregister_globals() [ticket/10218] Moving global deregistration, etc. to startup.php Conflicts: phpBB/install/database_update.php
| * [ticket/10218] Moving global deregistration, etc. to startup.phpYuriy Rusko2011-06-141-6/+1
| | | | | | | | | | | | | | Because startup.php deletes all variables, the constants in database_update are used to preserve settings at the top. PHPBB3-10218
* | Merge branch 'develop-olympus' into developOleg Pudeyev2011-05-101-1/+1
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.
| * [ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.Andreas Fischer2011-05-111-1/+1
| | | | | | | | | | | | Make what we want to achieve clear by using "and not" instead of "xor". PHPBB3-10126
* | [ticket/9684] Remove code in some more files especially includes/Joas Schilling2011-04-071-2/+1
| | | | | | | | | | | | Topic-Tracking is still missing. PHPBB3-9684
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-02-241-0/+9
|\ \ | |/ | | | | | | | | | | | | | | * develop-olympus: [ticket/10056] Corrected a typo in Firebird name. [ticket/10041] Use send_status_line more in download/file.php Conflicts: phpBB/download/file.php
| * [ticket/10041] Use send_status_line more in download/file.phpOleg Pudeyev2011-02-231-0/+12
| | | | | | | | PHPBB3-10041
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-02-121-1/+1
|\ \ | |/ | | | | | | | | | | | | * develop-olympus: [ticket/10038] Use request_var() in the avatar code path of download/file.php Conflicts: phpBB/download/file.php
| * [ticket/10038] Use request_var() in the avatar code path of download/file.phpAndreas Fischer2011-02-121-1/+1
| | | | | | | | | | | | | | | | | | | | There is no reason not to use request_var() here because it is available anyway since 3afd2c6948e777fde2f43f00bff1659f2691f4d8. This change especially prevents submitting an array which might then throw an error in one of the string functions substr() or strpos() later on. PHPBB3-10038
* | [task/config-class] Do not create multiple cache driver instances.Nils Adermann2011-01-121-2/+2
| | | | | | | | | | | | | | Retrieve the driver from the service instead of creating new ones over and over from the factory. PHPBB3-9988
* | [task/config-class] Always specify the config table to use.Nils Adermann2011-01-121-1/+1
| | | | | | | | PHPBB3-9988
* | [task/config-class] Implemented a config class to replace the global array.Nils Adermann2011-01-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a phpbb_config class which simply holds an array and does not persist any data. It implements ArrayAccess, Countable and IteratorAggregate to allow regular use of configuration as if it was still an array. The phpbb_config_db class depends on an instance of the dbal and a cache driver. It obtains the configuration data from cache and database as necessary and persists data to the database. The functions set_config and set_config_count remain for backward compatability but they only call methods on the new config class now instead of directly manipulating the database and cache. PHPBB3-9988
* | [task/acm-refactor] Cleaning up left over mentions of ACM and fixing tests.Nils Adermann2011-01-091-3/+3
| | | | | | | | PHPBB3-9983
* | [task/acm-refactor] Refactor the ACM classes to have a common interface.Igor Wiedler2011-01-091-3/+9
| | | | | | | | | | | | | | | | | | | | They are now refered to as cache drivers rather than ACM classes. The additional utility functions from the original cache class have been moved to the cache_service. The class loader is now instantiated without a cache instance and passed one as soon as it is constructed to allow autoloading the cache classes. PHPBB3-9983
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* | [ticket/9627] Prefix function names with 'phpbb_'.Andreas Fischer2010-10-231-1/+1
| | | | | | | | PHPBB3-9627
* | [ticket/9627] Do not increase download counter if file is requested partially.Andreas Fischer2010-10-231-2/+2
| | | | | | | | PHPBB3-9627
* | Merge branch 'ticket/bantu/9792' into developIgor Wiedler2010-10-041-395/+3
|\ \ | |/ |/| | | | | | | | | | | * ticket/bantu/9792: [ticket/9792] Move function definitions out of download/file.php Conflicts: phpBB/download/file.php
| * [ticket/9792] Move function definitions out of download/file.phpAndreas Fischer2010-08-301-394/+2
| | | | | | | | | | | | | | Move functions defined in download/file.php out to includes/functions_download.php so they can be properly reused and unit tested. PHPBB3-9792
* | [ticket/9609] Change header() calls setting HTTP status to send_status_line().Andreas Fischer2010-09-111-7/+7
|/ | | | PHPBB3-9609
* [ticket/9793] Make sure send_status_line() is defined when in avatar mode.Andreas Fischer2010-08-271-0/+1
| | | | | | | | | | | | | When download/file.php is in avatar mode set_modified_headers() can be called, which then calls send_status_line() which is not available because includes/functions.php is not included in avatar mode. We also load includes/functions.php in the bootstrap now to solve this problem. Regression from c1a4cb1d01dc19650219566b60671abc767af662. PHPBB3-9793 PHPBB3-7782
* [ticket/9694] Call error_reporting() in download/file.php when in avatar mode.Andreas Fischer2010-07-011-0/+6
| | | | PHPBB3-9694
* [ticket/9694] Make sure string offset 0 exists to avoid E_NOTICE message.Andreas Fischer2010-07-011-1/+1
| | | | PHPBB3-9694
* [ticket/7782] Send status line using refactored download/file.php logic.Oleg Pudeyev2010-05-161-9/+1
| | | | PHPBB3-7782
* #54245Henry Sudhof2009-11-211-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10282 89ea8834-ac86-4346-8a33-228a782c2dd0
* Apply locale-independent basename() to attachment filenames. New function ↵Meik Sievertsen2009-08-011-1/+1
| | | | | | added: utf8_basename(). (Bug #43335 - Patch by ocean=Yohsuke) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9905 89ea8834-ac86-4346-8a33-228a782c2dd0
* #26145Meik Sievertsen2009-04-171-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9460 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some changes to the SAPI detection. The weird fact that it doesn't work ↵Henry Sudhof2009-04-141-1/+2
| | | | | | without remains. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9448 89ea8834-ac86-4346-8a33-228a782c2dd0
* Flash files do not display anymore after update to flash player 10 (Bug #41315)Meik Sievertsen2009-03-171-9/+19
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9384 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix download count increments for image attachments without corresponding ↵Meik Sievertsen2009-03-161-5/+5
| | | | | | thumbnails. (Bug #42505) git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9373 89ea8834-ac86-4346-8a33-228a782c2dd0
* can't they decide on one single thing...Henry Sudhof2009-02-251-2/+5
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9341 89ea8834-ac86-4346-8a33-228a782c2dd0
* #38995Henry Sudhof2008-12-171-0/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9203 89ea8834-ac86-4346-8a33-228a782c2dd0
* Getting ready for IE8 which finally improves security a bit. Let's allow our ↵Henry Sudhof2008-08-281-5/+12
| | | | | | users to benefit from that git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8792 89ea8834-ac86-4346-8a33-228a782c2dd0
* close db connection before delivering file. Also make sure connection can't ↵Meik Sievertsen2008-08-211-0/+4
| | | | | | be closed twice. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8772 89ea8834-ac86-4346-8a33-228a782c2dd0
* Let's try to keep the lid on the jarHenry Sudhof2008-08-131-0/+12
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8745 89ea8834-ac86-4346-8a33-228a782c2dd0
* enable stupid php.ini fallback for readfile (#30325 - fix by bellzebu)Henry Sudhof2008-07-291-1/+1
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8724 89ea8834-ac86-4346-8a33-228a782c2dd0
* forgot a few thingsHenry Sudhof2008-07-291-12/+11
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8708 89ea8834-ac86-4346-8a33-228a782c2dd0
* Mylek is right - we should do this. Fixes some aspects of file.php, needs ↵Henry Sudhof2008-07-291-74/+85
| | | | | | testing. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8707 89ea8834-ac86-4346-8a33-228a782c2dd0
* removed executable props [Bug #6464]Nils Adermann2008-06-041-0/+0
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8598 89ea8834-ac86-4346-8a33-228a782c2dd0
* add PHPBB_INSTALLED check to file.php tooMeik Sievertsen2008-04-211-0/+6
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8514 89ea8834-ac86-4346-8a33-228a782c2dd0
* Forbidden should have an uppercase FMeik Sievertsen2008-03-231-6/+6
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8459 89ea8834-ac86-4346-8a33-228a782c2dd0
* #s23535Meik Sievertsen2008-03-211-0/+25
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8454 89ea8834-ac86-4346-8a33-228a782c2dd0
* #19955Meik Sievertsen2008-01-291-16/+16
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8348 89ea8834-ac86-4346-8a33-228a782c2dd0
* erm, yes.Henry Sudhof2007-12-201-2/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@8282 89ea8834-ac86-4346-8a33-228a782c2dd0