1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

134 Commits

Author SHA1 Message Date
Igor Wiedler
5e52216b5e Merge remote-tracking branch 'upstream/develop' into ticket/11015
* 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
2012-11-12 10:33:40 +01:00
Igor Wiedler
d543f0ffb1 [ticket/11101] Delay execution of container processors
Also fix the name of the ext processor service.

PHPBB3-11101
2012-09-08 14:41:41 +02:00
Nils Adermann
c539c2b0f9 Merge remote-tracking branch 'github-igorw/feature/dic' into develop
* 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
  ...
2012-09-01 19:21:24 +02:00
Igor Wiedler
4feb9aa8d7 [feature/dic] Coding style: Braces
PHPBB3-10739
2012-08-25 16:43:41 +02:00
Fyorl
b1239f1c1a [feature/attach-dl] Changed $files_added checks
PHPBB3-11042
2012-08-20 21:47:29 +01:00
Fyorl
53aadd60a6 [feature/attach-dl] Renamed $post_id to $post_msg_id
PHPBB3-11042
2012-08-17 16:16:02 +01:00
Fyorl
884a213d55 [feature/attach-dl] Fixed a comment
PHPBB3-11042
2012-08-15 06:11:30 +08:00
Fyorl
f6e8d938cb [feature/attch-dl] $forum_id cast to int
PHPBB3-11042
2012-08-15 06:06:28 +08:00
Fyorl
617a5132d8 [feature/attach-dl] Fixed $file_added to $files_added
PHPBB3-11042
2012-08-15 06:05:31 +08:00
Fyorl
6376cfe766 [feature/attach-dl] Moved definition of $archive_name
PHPBB3-11042
2012-08-15 06:04:12 +08:00
Fyorl
bf3f381c7c [feature/attach-dl] Swapped the order of an if statement
PHPBB3-11042
2012-08-15 06:01:56 +08:00
Fyorl
c6449b4825 [feature/attach-dl] Added $archive_path
PHPBB3-11042
2012-08-14 13:31:33 +01:00
Fyorl
2bcff6982a [feature/attach-dl] Used COMMA_SEPARATOR instead of actual comma
PHPBB3-11042
2012-08-14 13:26:03 +01:00
Fyorl
c4b28a3936 [feature/attach-dl] Renamed $count to $files_added
PHPBB3-11042
2012-08-14 13:24:59 +01:00
Fyorl
be27afa1c7 [feature/attach-dl] Removed sprintf() use
PHPBB3-11042
2012-08-14 13:24:02 +01:00
Fyorl
ef2e7ca791 [feature/attach-dl] Removed need for array_keys()
PHPBB3-11042
2012-08-14 13:23:21 +01:00
Fyorl
5c9b3208f5 [feature/attach-dl] Removed reliance on current($row)
PHPBB3-11042
2012-08-14 13:02:12 +01:00
Fyorl
003f8b514b [feature/attach-dl] Renamed to phpbb_download_handle_forum_auth
PHPBB3-11042
2012-08-14 12:49:56 +01:00
Fyorl
b96c72c156 [feature/attach-dl] Moved PM authentication handling into own function
PHPBB3-11042
2012-08-14 12:47:10 +01:00
Fyorl
d08c1c23dc [feature/attach-dl] Remove attachments that have invalid extensions
PHPBB3-11042
2012-08-14 12:03:07 +01:00
Fyorl
20ecd046da [feature/attach-dl] Moved filename cleaning into own function
PHPBB3-11042
2012-08-14 11:42:23 +01:00
Fyorl
e8830c3369 [feature/attach-dl] Added docblock for renamed download_check_forum_auth
PHPBB3-11042
2012-08-14 11:36:16 +01:00
Fyorl
6da47555e0 [feature/attach-dl] Remove the archive after it's downloaded
PHPBB3-11042
2012-08-10 13:19:41 +01:00
Fyorl
dd7be79fc3 [feature/attach-dl] Removed strtolower and added comments
PHPBB3-11042
2012-08-10 13:08:12 +01:00
Andreas Fischer
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
Andreas Fischer
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
Andreas Fischer
ccb0baa20a [feature/attach-dl] Increase download counters closely before streaming archive
PHPBB3-11042
2012-08-10 03:24:15 +02:00
Andreas Fischer
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
Andreas Fischer
7bd81cd0cd [feature/attach-dl] Move logic for passworded forums to a function.
PHPBB3-11042
2012-08-10 03:07:38 +02:00
Andreas Fischer
9b7b794beb [feature/attach-dl] Exploit topic_id of attachment => no posts table query
PHPBB3-11042
2012-08-10 03:02:00 +02:00
Andreas Fischer
11129a5950 [feature/attach-dl] Use class_exists/require instead of require_once.
PHPBB3-11042
2012-08-10 02:36:38 +02:00
Andreas Fischer
93f630e9b1 [feature/attach-dl] Do not fetch orphaned attachments when downloading archives
PHPBB3-11042
2012-08-10 02:36:38 +02:00
Andreas Fischer
0226bc43dd [feature/attach-dl] Fix query indentation.
PHPBB3-11042
2012-08-10 02:36:38 +02:00
Andreas Fischer
dd43af0ab6 [feature/attach-dl] Make sure physical_filename is basenamed everywhere.
PHPBB3-11042
2012-08-10 02:08:04 +02:00
Andreas Fischer
c221294fb2 [feature/attach-dl] Remove commented statement.
PHPBB3-11042
2012-08-10 02:06:27 +02:00
Andreas Fischer
aa6effbb0c [feature/attach-dl] Remove backticks from SQL query.
PHPBB3-11042
2012-08-10 02:04:39 +02:00
Andreas Fischer
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
Andreas Fischer
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
Fyorl
f0804f2db6 [feature/attach-dl] Manually clean the topic title/post subject
PHPBB3-11042
2012-08-07 19:24:13 +01:00
Fyorl
c4655b32f3 [feature/attach-dl] Fixed a bug with single attachments
PHPBB3-11042
2012-08-07 18:21:29 +01:00
Fyorl
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
Fyorl
a0bc902612 [feature/attach-dl] Removed superfluous ternary statement
PHPBB3-11042
2012-08-07 16:56:13 +01:00
Andreas Fischer
8d914e05ae [feature/attach-dl] Get rid of unnecessary if block. Refactor switch block.
PHPBB3-11042
2012-08-07 17:03:46 +02:00
Andreas Fischer
3de4a7e78d [feature/attach-dl] Also initialise $attachments as an array.
PHPBB3-11042
2012-08-07 16:55:31 +02:00
Andreas Fischer
4b06a220af [feature/attach-dl] Use extension_allowed() again.
PHPBB3-11042
2012-08-07 13:51:07 +02:00
Andreas Fischer
d6e8fbf94a [feature/attach-dl] Remove extra loop over attachments to get primary keys.
PHPBB3-11042
2012-08-07 13:43:31 +02:00
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