6da47555e0
[feature/attach-dl] Remove the archive after it's downloaded
...
PHPBB3-11042
2012-08-10 13:19:41 +01:00
dd7be79fc3
[feature/attach-dl] Removed strtolower and added comments
...
PHPBB3-11042
2012-08-10 13:08:12 +01:00
6dd0bd0bce
[feature/attach-dl] Do not check for passworted forum when it's a PM.
...
PHPBB3-11042
2012-08-10 03:29:47 +02:00
62305bec6d
[feature/attach-dl] Send 404 if we get empty row from privmsg|posts|topic table
...
PHPBB3-11042
2012-08-10 03:28:53 +02:00
ccb0baa20a
[feature/attach-dl] Increase download counters closely before streaming archive
...
PHPBB3-11042
2012-08-10 03:24:15 +02:00
e5a3bc03b4
[feature/attach-dl] Consider that post_id can mean private message id as well.
...
PHPBB3-11042
2012-08-10 03:14:55 +02:00
7bd81cd0cd
[feature/attach-dl] Move logic for passworded forums to a function.
...
PHPBB3-11042
2012-08-10 03:07:38 +02:00
9b7b794beb
[feature/attach-dl] Exploit topic_id of attachment => no posts table query
...
PHPBB3-11042
2012-08-10 03:02:00 +02:00
11129a5950
[feature/attach-dl] Use class_exists/require instead of require_once.
...
PHPBB3-11042
2012-08-10 02:36:38 +02:00
93f630e9b1
[feature/attach-dl] Do not fetch orphaned attachments when downloading archives
...
PHPBB3-11042
2012-08-10 02:36:38 +02:00
0226bc43dd
[feature/attach-dl] Fix query indentation.
...
PHPBB3-11042
2012-08-10 02:36:38 +02:00
dd43af0ab6
[feature/attach-dl] Make sure physical_filename is basenamed everywhere.
...
PHPBB3-11042
2012-08-10 02:08:04 +02:00
c221294fb2
[feature/attach-dl] Remove commented statement.
...
PHPBB3-11042
2012-08-10 02:06:27 +02:00
aa6effbb0c
[feature/attach-dl] Remove backticks from SQL query.
...
PHPBB3-11042
2012-08-10 02:04:39 +02:00
8f3c1d8ea1
[feature/attach-dl] Refactor the remaining code into their sections.
...
Refactor the remaining code into their sections instead of checking things
over and over again.
PHPBB3-11042
2012-08-10 02:00:39 +02:00
a7694dd512
[feature/attach-dl] Get rid of second query. Fetch all required info at once.
...
PHPBB3-11042
2012-08-10 01:54:41 +02:00
f0804f2db6
[feature/attach-dl] Manually clean the topic title/post subject
...
PHPBB3-11042
2012-08-07 19:24:13 +01:00
c4655b32f3
[feature/attach-dl] Fixed a bug with single attachments
...
PHPBB3-11042
2012-08-07 18:21:29 +01:00
10f0fc0713
[feature/attach-dl] Added identifiers to attachment archive name
...
Attachment archives now include the post/topic id and the subject.
Attachments downloaded from a topic are prefixed with their post
id.
PHPBB3-11042
2012-08-07 18:19:58 +01:00
a0bc902612
[feature/attach-dl] Removed superfluous ternary statement
...
PHPBB3-11042
2012-08-07 16:56:13 +01:00
8d914e05ae
[feature/attach-dl] Get rid of unnecessary if block. Refactor switch block.
...
PHPBB3-11042
2012-08-07 17:03:46 +02:00
3de4a7e78d
[feature/attach-dl] Also initialise $attachments as an array.
...
PHPBB3-11042
2012-08-07 16:55:31 +02:00
4b06a220af
[feature/attach-dl] Use extension_allowed() again.
...
PHPBB3-11042
2012-08-07 13:51:07 +02:00
d6e8fbf94a
[feature/attach-dl] Remove extra loop over attachments to get primary keys.
...
PHPBB3-11042
2012-08-07 13:43:31 +02:00
8a8f48528a
[feature/attach-dl] Correct comment for post_id and topic_id case.
...
PHPBB3-11042
2012-08-07 13:40:53 +02:00
bba348d68a
[feature/attach-dl] phpbb_check_attach_extensions: Get rid of pass-by-reference
...
PHPBB3-11042
2012-08-07 02:47:18 +02:00
b6d4ee4244
[feature/attach-dl] Move !download_allowed() check up.
...
PHPBB3-11042
2012-08-07 02:37:08 +02:00
ecab0212f8
[feature/attach-dl] Putting more old code under "else if ($download_id)".
...
PHPBB3-11042
2012-08-07 02:36:20 +02:00
60d382df4c
[feature/attach-dl] Putting some old code under "else if ($download_id)".
...
PHPBB3-11042
2012-08-07 02:10:15 +02:00
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
940b9e0658
[feature/attach-dl] Combine download_id and post_id queries.
...
PHPBB3-11042
2012-08-07 01:12:19 +02:00
56cd7e5475
[feature/attach-dl] Store query result always in $attachments first.
...
PHPBB3-11042
2012-08-07 01:03:32 +02:00
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
862502aacd
[feature/attach-dl] Use table aliases in all three cases.
...
PHPBB3-11042
2012-08-07 00:31:18 +02:00
2d32164fb0
[feature/attach-dl] Remove unnecessary LIMIT from primary key query.
...
PHPBB3-11042
2012-08-07 00:10:24 +02:00
3fe8344104
[feature/attach-dl] Use "else if" for precedence in case of multiple arguments.
...
PHPBB3-11042
2012-08-07 00:07:22 +02:00
155b584a68
[feature/attach-dl] Only include compress class when needed
...
PHPBB3-11042
2012-08-04 15:58:58 +01:00
aa87258cc6
[feature/attach-dl] Used sql_fetchrowset
...
PHPBB3-11042
2012-08-04 15:47:22 +01:00
16ec660e76
[feature/attach-dl] Added a function for checking allowed extensions
...
PHPBB3-11042
2012-08-04 15:29:26 +01:00
50af76da7d
[feature/attach-dl] Ensure only one operation is performed
...
PHPBB3-11042
2012-08-04 14:51:11 +01:00
ed1435d040
[feature/attach-dl] Added function for incrementing download counter
...
PHPBB3-11042
2012-08-04 14:48:07 +01:00
20a2ceccbd
[feature/attach-dl] Initialised arrays if they're used
...
PHPBB3-11042
2012-08-04 14:10:26 +01:00
0cad61efbf
[feature/attach-dl] Added table prefix to columns
...
PHPBB3-11042
2012-08-04 14:08:49 +01:00
bbdbff1ab3
[feature/attach-dl] Modified SQL query format and used sql_in_set
...
PHPBB3-11042
2012-08-04 13:57:26 +01:00
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
50bc453aa6
[feature/dic] Load services from extensions
...
PHPBB3-10739
2012-07-21 21:02:55 +02:00
967cc550ed
[feature/dic] Introduce DI processors instead of abusing compiler passes
...
PHPBB3-10739
2012-07-21 20:42:07 +02:00
90a957ad26
[ticket/11015] Make DBAL classes autoloadable
...
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
2012-07-21 18:11:14 +02:00
32d2ee61f7
[feature/dic] Configure container via config.php, use compiler pass
...
PHPBB3-10739
2012-07-21 16:14:40 +02:00
df16bd1c49
[feature/avatars] Rewrite drivers to use full class name
...
* Use full driver class name as avatar_type value
* Move avatar drivers to core namespace
* Make avatars installable through extensions
PHPBB3-10018
2012-06-27 21:02:07 +02:00