Andreas Fischer
8a8f48528a
[feature/attach-dl] Correct comment for post_id and topic_id case.
...
PHPBB3-11042
2012-08-07 13:40:53 +02:00
Andreas Fischer
bba348d68a
[feature/attach-dl] phpbb_check_attach_extensions: Get rid of pass-by-reference
...
PHPBB3-11042
2012-08-07 02:47:18 +02:00
Andreas Fischer
b6d4ee4244
[feature/attach-dl] Move !download_allowed() check up.
...
PHPBB3-11042
2012-08-07 02:37:08 +02:00
Andreas Fischer
ecab0212f8
[feature/attach-dl] Putting more old code under "else if ($download_id)".
...
PHPBB3-11042
2012-08-07 02:36:20 +02:00
Andreas Fischer
60d382df4c
[feature/attach-dl] Putting some old code under "else if ($download_id)".
...
PHPBB3-11042
2012-08-07 02:10:15 +02:00
Andreas Fischer
87c822b794
[feature/attach-dl] Also merge topic_id query. a.topic_id can be used.
...
PHPBB3-11042
2012-08-07 01:59:02 +02:00
Andreas Fischer
940b9e0658
[feature/attach-dl] Combine download_id and post_id queries.
...
PHPBB3-11042
2012-08-07 01:12:19 +02:00
Andreas Fischer
56cd7e5475
[feature/attach-dl] Store query result always in $attachments first.
...
PHPBB3-11042
2012-08-07 01:03:32 +02:00
Andreas Fischer
5986676f4d
[feature/attach-dl] Exploit the "if ... else if ..." for the error message.
...
Use an "else" statement instead of checking everything at the top.
PHPBB3-11042
2012-08-07 00:33:23 +02:00
Andreas Fischer
862502aacd
[feature/attach-dl] Use table aliases in all three cases.
...
PHPBB3-11042
2012-08-07 00:31:18 +02:00
Andreas Fischer
2d32164fb0
[feature/attach-dl] Remove unnecessary LIMIT from primary key query.
...
PHPBB3-11042
2012-08-07 00:10:24 +02:00
Andreas Fischer
3fe8344104
[feature/attach-dl] Use "else if" for precedence in case of multiple arguments.
...
PHPBB3-11042
2012-08-07 00:07:22 +02:00
Fyorl
155b584a68
[feature/attach-dl] Only include compress class when needed
...
PHPBB3-11042
2012-08-04 15:58:58 +01:00
Fyorl
aa87258cc6
[feature/attach-dl] Used sql_fetchrowset
...
PHPBB3-11042
2012-08-04 15:47:22 +01:00
Fyorl
16ec660e76
[feature/attach-dl] Added a function for checking allowed extensions
...
PHPBB3-11042
2012-08-04 15:29:26 +01:00
Fyorl
50af76da7d
[feature/attach-dl] Ensure only one operation is performed
...
PHPBB3-11042
2012-08-04 14:51:11 +01:00
Fyorl
ed1435d040
[feature/attach-dl] Added function for incrementing download counter
...
PHPBB3-11042
2012-08-04 14:48:07 +01:00
Fyorl
20a2ceccbd
[feature/attach-dl] Initialised arrays if they're used
...
PHPBB3-11042
2012-08-04 14:10:26 +01:00
Fyorl
0cad61efbf
[feature/attach-dl] Added table prefix to columns
...
PHPBB3-11042
2012-08-04 14:08:49 +01:00
Fyorl
bbdbff1ab3
[feature/attach-dl] Modified SQL query format and used sql_in_set
...
PHPBB3-11042
2012-08-04 13:57:26 +01:00
Fyorl
ee7d9614c0
[feature/attach-dl] Downloading all attachments fully implemented
...
Added a function to list all available archiving methods and integrated
it with the prosilver style.
Heavy modifications to download/file.php to support archiving and
downloading of multiple files at once.
PHPBB3-11042
2012-08-04 13:18:20 +01:00
Igor Wiedler
821948b96f
[feature/event-dispatcher] Add missing dispatcher to file.php
...
PHPBB3-9550
2012-03-28 21:45:21 +02:00
Oleg Pudeyev
0af7d610c0
[feature/event-dispatcher] Delete hard dependency on composer.
...
Applications should not depend on package managers.
PHPBB3-9550
2012-03-18 02:48:55 -04:00
Igor Wiedler
e02d92ac62
[feature/event-dispatcher] Use real EventDispatcher through composer
...
* replace the copy-pasta EventDispatcher with the real one from Symfony2
* use composer for managing this dependency, use composer autoloading
PHPBB3-9550
2012-03-11 15:15:33 +01:00
Unknown
7a04c9048c
[ticket/9916] Updating header license and removing Version $Id$
...
PHPBB3-9916
2011-12-31 13:32:52 +00:00
Nils Adermann
96209e0224
[feature/extension-manager] The class loader no longer knows about extensions
...
Instead the class loader is instantiated twice. Once with the phpbb_ prefix
and once with the phpbb_ext_ prefix.
PHPBB3-10323
2011-09-29 15:42:46 +02:00
Nils Adermann
fb943d4d6b
[feature/extension-manager] Load the extension manager on all pages
...
PHPBB3-10323
2011-09-29 15:42:40 +02:00
Nils Adermann
14f1e581fa
[feature/extension-manager] Extension Manager & Finder
...
Extensions RFC: http://area51.phpbb.com/phpBB/viewtopic.php?f=84&t=41499
Ticket: http://tracker.phpbb.com/browse/PHPBB3-10323
PHPBB3-10323
2011-09-29 15:42:33 +02:00
Igor Wiedler
34bc0427df
[ticket/10359] Fix phpbb_request regression in download/file.php
...
The phpbb_request object, utf-8 tools and request_var injection are missing.
PHPBB3-10359
2011-09-08 22:37:19 +02:00
Igor Wiedler
0bf6966c52
[feature/request-class] Add server(), header() and is_ajax() to request
...
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
2011-07-15 22:34:24 +02:00
Andreas Fischer
835faff61a
Merge branch 'develop-olympus' into develop
...
* 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
2011-06-15 18:51:45 +02:00
Yuriy Rusko
f8eb154714
[ticket/10218] Moving global deregistration, etc. to startup.php
...
Because startup.php deletes all variables, the constants in
database_update are used to preserve settings at the top.
PHPBB3-10218
2011-06-14 06:11:35 -04:00
Oleg Pudeyev
cc0e6e9912
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.
2011-05-10 23:46:24 -04:00
Andreas Fischer
5a4a1e3c25
[ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.
...
Make what we want to achieve clear by using "and not" instead of "xor".
PHPBB3-10126
2011-05-11 03:56:15 +02:00
Oleg Pudeyev
786078d423
[ticket/10041] Use send_status_line more in download/file.php
...
PHPBB3-10041
2011-02-23 20:16:16 -05:00
Andreas Fischer
23d2798b6d
[ticket/10038] Use request_var() in the avatar code path of download/file.php
...
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
2011-02-12 19:22:51 +01:00
Andreas Fischer
bef108a5cc
[ticket/9609] Change header() calls setting HTTP status to send_status_line().
...
PHPBB3-9609
2010-09-11 22:01:31 +02:00
Andreas Fischer
3afd2c6948
[ticket/9793] Make sure send_status_line() is defined when in avatar mode.
...
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
2010-08-27 15:36:26 +02:00
Andreas Fischer
881c74688b
[ticket/9694] Call error_reporting() in download/file.php when in avatar mode.
...
PHPBB3-9694
2010-07-01 23:30:48 +02:00
Andreas Fischer
32882fd798
[ticket/9694] Make sure string offset 0 exists to avoid E_NOTICE message.
...
PHPBB3-9694
2010-07-01 23:29:25 +02:00
Oleg Pudeyev
c1a4cb1d01
[ticket/7782] Send status line using refactored download/file.php logic.
...
PHPBB3-7782
2010-05-16 18:24:26 -04:00
Henry Sudhof
10bc773979
#54245
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10282 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-11-21 09:14:07 +00:00
Meik Sievertsen
2958890439
Apply locale-independent basename() to attachment filenames. New function 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
2009-08-01 12:28:50 +00:00
Meik Sievertsen
556b177e9c
#26145
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9460 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-17 15:18:03 +00:00
Henry Sudhof
7479592c81
Some changes to the SAPI detection. The weird fact that it doesn't work without remains.
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9448 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-04-14 13:59:12 +00:00
Meik Sievertsen
d4ac2d4209
Flash files do not display anymore after update to flash player 10 (Bug #41315 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9384 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-17 14:42:13 +00:00
Meik Sievertsen
3b918a234e
Fix download count increments for image attachments without corresponding thumbnails. (Bug #42505 )
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9373 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-03-16 15:59:53 +00:00
Henry Sudhof
354f9edd4e
can't they decide on one single thing...
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9341 89ea8834-ac86-4346-8a33-228a782c2dd0
2009-02-25 15:09:04 +00:00
Henry Sudhof
cd6e5a85e7
#38995
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9203 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-17 13:43:08 +00:00
Henry Sudhof
761897cb1c
Getting ready for IE8 which finally improves security a bit. Let's allow our users to benefit from that
...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8792 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-08-28 13:10:05 +00:00