1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-14 18:14:17 +02:00

Compare commits

...

450 Commits

Author SHA1 Message Date
Tristan Darricau
34b0692152 [prep-release-3.2.0-b1] Updates changelog 2016-02-05 13:25:59 +01:00
Tristan Darricau
cd7ceab23a [ticket/14453] Add missing dependency in the text_reparser migration
PHPBB3-14453
2016-02-05 13:14:06 +01:00
Marc Alexander
218ab3b486 [ticket/14452] Define $progressFillerText in installer.js
PHPBB3-14452
2016-02-05 13:14:06 +01:00
Tristan Darricau
60a6ac4eaa [prep-release-3.2.0-b1] Add changelog for 3.2.0-b1 2016-02-04 17:10:59 +01:00
Tristan Darricau
f7baea002e [prep-release-3.2.0-b1] Add migration for 3.2.0-b1 2016-02-04 17:10:59 +01:00
Tristan Darricau
b50f4d266d [prep-release-3.2.0-b1] Update language help files 2016-02-03 22:33:03 +01:00
Tristan Darricau
3aee46109b [prep-release-3.2.0-b1] Add schema.json 2016-02-03 21:43:32 +01:00
Tristan Darricau
f80ec7e786 [prep-release-3.2.0-b1] Update version to 3.2.0-b1 2016-02-03 21:41:22 +01:00
Tristan Darricau
03fba99074 Merge pull request #4017 from CHItA/ticket/14262
[ticket/14262] Move convertor to controller

* CHItA/ticket/14262:
  [ticket/14262] Add error handling and small CS fixes
  [ticket/14262] Remove converter template duplicate
  [ticket/14262] Fix stage navigation
  [ticket/14262] Move convertor to controller
2016-02-02 21:29:20 +01:00
Tristan Darricau
724bd471a7 Merge pull request #4155 from marc1706/ticket/14446
[ticket/14446] Add predefined placeholder variables to twig definition

* marc1706/ticket/14446:
  [ticket/14446] Add predefined placeholder variables to twig definition
2016-02-02 21:18:09 +01:00
Tristan Darricau
4133d8a5f1 Merge pull request #4156 from CHItA/ticket/14445
[ticket/14445] Force refresh before schema generation

* CHItA/ticket/14445:
  [ticket/14445] Force refresh before schema generation
2016-02-02 21:16:37 +01:00
Tristan Darricau
154c7500ea Merge pull request #4158 from CHItA/ticket/14321
[ticket/14321] Clean up arcihve controller logic

* CHItA/ticket/14321:
  [ticket/14321] Clean up arcihve controller logic
2016-02-02 21:15:17 +01:00
Mate Bartus
8f4889da58 [ticket/14445] Force refresh before schema generation
PHPBB3-14445
2016-02-02 19:48:06 +01:00
Mate Bartus
debd1bb9d6 [ticket/14321] Clean up arcihve controller logic
PHPBB3-14321
2016-02-02 18:17:11 +01:00
Marc Alexander
94f87d9318 [ticket/14446] Add predefined placeholder variables to twig definition
PHPBB3-14446
2016-02-02 17:13:47 +01:00
Mate Bartus
91f809dc3d [ticket/14262] Add error handling and small CS fixes
PHPBB3-14262
2016-02-02 16:09:40 +01:00
Marc Alexander
b432f33b49 Merge pull request #4154 from Nicofuma/ticket/14444
[ticket/14444] Fix fatal error in functions_messenger.php
2016-02-02 15:52:43 +01:00
Tristan Darricau
60c9ee068e [ticket/14444] Fix fatal error in functions_messenger.php
PHPBB3-14444
2016-02-02 15:45:03 +01:00
Tristan Darricau
8e100f000e Merge pull request #4144 from VSEphpbb/ticket/14434
[ticket/14434] Allow non-migration files inside migrations folder (continued)

* VSEphpbb/ticket/14434:
  [ticket/14434] Refactored to check migrations when setting them
  [ticket/14434] Check migrations in the database updater task
  [ticket/14434] Do not include non-migrations in CLI list
  [ticket/14434] Remove redundant conditional
  [ticket/14434] Fix whitespace mistakes
  [ticket/14434] Remove recursion to simplify is_migration method
  [ticket/14434] Extract migration check to a reusable method
  [ticket/14434] Schema generator should ignore migration helpers
2016-02-02 13:12:25 +01:00
Tristan Darricau
15e9367b5b Merge pull request #4152 from marc1706/ticket/14442
[ticket/14442] Use Goutte 2.0 for functional tests

* marc1706/ticket/14442:
  [ticket/14442] Use get_content() in functional test case
  [ticket/14442] Properly set plupload header
  [ticket/14442] Use get_content() in plupload functional tests
  [ticket/14442] Use Goutte 2.0 instead of outdated 1.0
2016-02-02 13:01:25 +01:00
Oliver Schramm
b2b99e5da8 Merge pull request #4147 from marc1706/ticket/14436
[ticket/14436] Add dependency on oauth_states migration
2016-02-01 20:25:13 +01:00
Marc Alexander
fdb1622588 [ticket/14442] Use get_content() in functional test case
PHPBB3-14442
2016-02-01 19:34:58 +01:00
Marc Alexander
2353fe39c0 [ticket/14442] Properly set plupload header
PHPBB3-14442
2016-02-01 19:33:34 +01:00
Marc Alexander
105ffe8da3 [ticket/14442] Use get_content() in plupload functional tests
PHPBB3-14442
2016-02-01 17:00:56 +01:00
Marc Alexander
e4f562bdba [ticket/14442] Use Goutte 2.0 instead of outdated 1.0
PHPBB3-14442
2016-02-01 15:25:31 +01:00
Marc Alexander
3d67606e16 Merge pull request #4145 from Nicofuma/ticket/14432
[ticket/14432] Adds a method to get raw language values
2016-02-01 12:07:02 +01:00
Marc Alexander
63fd2159e0 Merge pull request #4149 from CHItA/ticket/14438
[ticket/14438] Allign progressbar text to center
2016-01-31 20:08:39 +01:00
Marc Alexander
0d93af8324 Merge branch '3.1.x' 2016-01-31 20:05:07 +01:00
Marc Alexander
89a34ff033 Merge pull request #4150 from rxu/ticket/14439
[ticket/14439] Do not call avatar manager if avatars are disabled
2016-01-31 20:05:03 +01:00
rxu
68abcb9058 [ticket/14439] Do not call avatar manager if avatars are disabled
PHPBB3-14439
2016-01-31 23:45:24 +07:00
Mate Bartus
43cdb35b84 [ticket/14438] Allign progressbar text to center
PHPBB3-14438
2016-01-29 17:17:59 +01:00
Mate Bartus
a3f16c1f5f [ticket/14262] Remove converter template duplicate
PHPBB3-14262
2016-01-29 13:55:49 +01:00
Mate Bartus
6be1c6049d [ticket/14262] Fix stage navigation
PHPBB3-14262
2016-01-29 13:52:07 +01:00
Mate Bartus
a649768e17 [ticket/14262] Move convertor to controller
PHPBB3-14262
2016-01-29 00:03:44 +01:00
Matt Friedman
27027deb9c [ticket/14434] Refactored to check migrations when setting them
PHPBB3-14434
2016-01-28 12:17:35 -08:00
Matt Friedman
fb1acb0ef4 [ticket/14434] Check migrations in the database updater task
PHPBB3-14434
2016-01-28 07:04:55 -08:00
Matt Friedman
fc72862ca4 [ticket/14434] Do not include non-migrations in CLI list
PHPBB3-14434
2016-01-27 12:47:31 -08:00
Matt Friedman
996441a1da [ticket/14434] Remove redundant conditional
PHPBB3-14434
2016-01-27 12:24:18 -08:00
Matt Friedman
ae7aa5dc57 [ticket/14434] Fix whitespace mistakes
PHPBB3-14434
2016-01-27 11:48:24 -08:00
Matt Friedman
3bd8a2ba19 [ticket/14434] Remove recursion to simplify is_migration method
PHPBB3-14434
2016-01-27 11:46:04 -08:00
Matt Friedman
47d8aeebde [ticket/14434] Extract migration check to a reusable method
PHPBB3-14434
2016-01-27 10:50:22 -08:00
Marc Alexander
daa92f7996 [ticket/14436] Add dependency on oauth_states migration
PHPBB3-14436
2016-01-27 16:51:34 +01:00
Marc Alexander
3a4dae369d Merge branch '3.1.x' 2016-01-27 14:31:29 +01:00
Marc Alexander
3c4f150859 Merge pull request #4029 from RMcGirr83/ticket_14289
[ticket/14289] Add events to navbar header
2016-01-27 14:29:14 +01:00
Marc Alexander
b8b419704c Merge pull request #4142 from Nicofuma/ticket/14129
[ticket/14129] Caches extensions autoloaders
2016-01-27 10:44:47 +01:00
Tristan Darricau
f5ca8c363b [ticket/14432] Adds a method to get raw language values
PHPBB3-14432
2016-01-26 23:45:51 +01:00
Tristan Darricau
cc38bf550b [ticket/14129] Caches extensions autoloaders
PHPBB3-14129
2016-01-26 22:13:26 +01:00
Matt Friedman
7d2a58e271 [ticket/14434] Schema generator should ignore migration helpers
PHPBB3-14434
2016-01-26 11:45:06 -08:00
Marc Alexander
ad914a6880 Merge branch '3.1.x' 2016-01-26 08:57:36 +01:00
Marc Alexander
4250bfee29 Merge pull request #4143 from VSEphpbb/ticket/14433
[ticket/14433] Purge cache setting up extension functional tests
2016-01-26 08:57:33 +01:00
Matt Friedman
9940775550 [ticket/14433] Purge cache setting up extension functional tests
PHPBB3-14433
2016-01-25 17:49:50 -08:00
Tristan Darricau
56062a2635 Merge pull request #4009 from cunha17/ticket/14253
* cunha17-master:
  [ticket/14253] Show group requests pending aproval at the ACP groups summary
  [ticket/14253] Show group requests pending aproval at the ACP groups summary

fixes #4009
2016-01-25 13:15:52 +01:00
cunha17
57ce891d5f [ticket/14253] Show group requests pending aproval at the ACP groups summary
Currenty, you need to open each existing group in ACP to know if there
are pending group requests or not. Doing so is really boring and
annoying... :/
This patch displays the number of pending group requests at the ACP groups
summary page.

PHPBB3-14253
2016-01-25 13:13:05 +01:00
cunha17
3d03c834d0 [ticket/14253] Show group requests pending aproval at the ACP groups summary
Currenty, you need to open each existing group in ACP to know if there are
pending group requests or not. Doing so is really boring and annoying... :/
This patch displays the number of pending group requests at the ACP groups
summary page.

PHPBB3-14253
2016-01-25 13:13:05 +01:00
Marc Alexander
8e8051f41d Merge pull request #4131 from Nicofuma/ticket/13717
[ticket/13717] Set the assets after rendering the whole template
2016-01-25 10:31:23 +01:00
Tristan Darricau
b7db2717b2 Merge pull request #4126 from marc1706/ticket/13733
[ticket/13733] Allow non-migration files inside migrations folder

* marc1706/ticket/13733:
  [ticket/13733] Remove validate_classes method argument
  [ticket/13733] Make sure migration classes always have same order in tests
  [ticket/13733] Properly test setting validate_classes to false/true
  [ticket/13733] Use interface for migratinos
  [ticket/13733] Update comment explaining migration class validation
  [ticket/13733] Add isInstantiable() check.
  [ticket/13733] Braces on their own lines
  [ticket/13733] Allow tests the skip class validation
  [ticket/13733] Properly handle nonexistent classes as well
  [ticket/13733] Handle nonexistent classes as well
  [ticket/13733] Only use migration classes that extension the base migration class.
2016-01-25 09:08:23 +01:00
Tristan Darricau
e91b1fa464 [ticket/13717] Fix tests
PHPBB3-13717
2016-01-25 00:31:45 +01:00
Tristan Darricau
52b3d54805 [ticket/13717] Set the assets after rendering the whole template
The goal being to be able to call INCLUDECSS/JS from anywhere in any tempalte or event

PHPBB3-13717
2016-01-25 00:31:45 +01:00
Marc Alexander
fac4672f3f [ticket/13733] Remove validate_classes method argument
PHPBB3-13733
2016-01-24 22:39:37 +01:00
Tristan Darricau
d8af5ac4f9 Merge pull request #4140 from Crizz0/ticket/14418
[ticket/14418] Wrong language variable in viewtopic_topic_tools.html …

* Crizz0/ticket/14418:
  [ticket/14418] Wrong language variable in viewtopic_topic_tools.html fixed
2016-01-24 18:35:04 +01:00
Tristan Darricau
49e4c11bad Merge branch '3.1.x'
* 3.1.x:
  [ticket/14411] Permanently delete post if delete_permanent is set
2016-01-24 18:16:16 +01:00
Tristan Darricau
3566bb9e44 Merge pull request #4124 from marc1706/ticket/14411
[ticket/14411] Permanently delete post if delete_permanent is set

* marc1706/ticket/14411:
  [ticket/14411] Permanently delete post if delete_permanent is set
2016-01-24 18:16:00 +01:00
Tristan Darricau
36ff2c7b59 Merge branch '3.1.x'
* 3.1.x:
  [ticket/14425] Allow setting unix socket in database tests
2016-01-24 18:00:26 +01:00
Tristan Darricau
9059864dac Merge pull request #4136 from marc1706/ticket/14425
[ticket/14425] Allow setting unix socket in database tests

* marc1706/ticket/14425:
  [ticket/14425] Allow setting unix socket in database tests
2016-01-24 17:59:04 +01:00
Tristan Darricau
9d23bf1ec5 Merge pull request #4138 from marc1706/ticket/14428
[ticket/14428] Fix files types remote tests

* marc1706/ticket/14428:
  [ticket/14428] Fix files types remote tests
2016-01-24 17:39:15 +01:00
Crizzo
ca9560fc7a [ticket/14418] Wrong language variable in viewtopic_topic_tools.html fixed
In viewtopic_topic_tools.html was used the language variable L_PM_TOOLS it
had to be changed to L_TOPIC_TOOLS to display the right title in the
moderation wrench in viewtopic.php

PHPBB3-14418
2016-01-24 12:10:03 +01:00
Marc Alexander
911ba68895 Merge pull request #4132 from VSEphpbb/ticket/14420
[ticket/14420] Fix up search results topic lists
2016-01-24 11:10:30 +01:00
Marc Alexander
10bf5c1533 [ticket/14428] Fix files types remote tests
PHPBB3-14428
2016-01-23 13:46:18 +01:00
Marc Alexander
e28a5da457 Merge branch '3.1.x' 2016-01-23 12:04:43 +01:00
Marc Alexander
39538ecb85 Merge pull request #4137 from RMcGirr83/ticket_14427
[ticket/14427] Memberlist displays inaccurate information
2016-01-23 11:55:04 +01:00
Richard McGirr
b74dc1fa95 [ticket/14427] Memberlist displays inaccruate information
PHPBB3-14427
2016-01-22 06:03:42 -05:00
Marc Alexander
10756f3f87 Merge branch '3.1.x' 2016-01-21 17:37:15 +01:00
Marc Alexander
91fbdd9ff8 Merge pull request #4135 from lavigor/ticket/14423
[ticket/14423] Display database size for Aria storage engine
2016-01-21 17:37:11 +01:00
Marc Alexander
57b226ec76 [ticket/14425] Allow setting unix socket in database tests
PHPBB3-14425
2016-01-21 12:20:35 +01:00
lavigor
5832698f4f [ticket/14423] Display database size for Aria storage engine
PHPBB3-14423
2016-01-20 21:34:30 +03:00
Marc Alexander
a60935b99d [ticket/13733] Make sure migration classes always have same order in tests
PHPBB3-13733
2016-01-20 11:16:29 +01:00
Marc Alexander
0defce65c8 [ticket/13733] Properly test setting validate_classes to false/true
PHPBB3-13733
2016-01-19 23:32:07 +01:00
Richard McGirr
3af3c391a7 [ticket/14289] Fix location in events.md file
PHPBB3-14289
2016-01-19 06:29:09 -05:00
Matt Friedman
98467d2ea5 [ticket/14420] Fix up search results topic lists
PHPBB3-14420
2016-01-18 17:55:31 -08:00
Tristan Darricau
77d033f99e Merge pull request #4116 from marc1706/ticket/14402
[ticket/14402] Tidy plupload cron should not rely on user id/ip being available

* marc1706/ticket/14402:
  [ticket/14402] Directly pass user id and ip
  [ticket/14402] Get rid of globals in tidy_plupload cron
  [ticket/14402] Do not expect user id and ip to be available in cron
2016-01-18 23:46:22 +01:00
Tristan Darricau
39c9baa574 Merge pull request #4121 from marc1706/ticket/11875
[ticket/11875] Use 4-byte integer instead of 3-byte integer for ID columns

* marc1706/ticket/11875:
  [ticket/11875] Add back new line
  [ticket/11875] Change more columns to use UINT and add missings ones
  [ticket/11875] Add migration file
  [ticket/11875] Recreate schemas for install
  [ticket/11875] Create new map for UNSIGNED 4-byte integer
  [ticket/11875] Upgrade default data type from MEDIUMINT to INT
2016-01-18 23:29:41 +01:00
Tristan Darricau
bcc5eac7dd Merge pull request #4130 from marc1706/ticket/14419
[ticket/14419] Update composer dependencies and lock file

* marc1706/ticket/14419:
  [ticket/14419] Update composer dependencies and lock file
  [ticket/13908] "After" clause in migration not working
  [ticket/13908] "After" clause in migration not working
2016-01-18 23:15:56 +01:00
Marc Alexander
6e465c01bf [ticket/14419] Update composer dependencies and lock file
PHPBB3-14419
2016-01-18 21:39:51 +01:00
Marc Alexander
e954b0b82b [ticket/13733] Use interface for migratinos
PHPBB3-13733
2016-01-18 14:54:54 +01:00
Marc Alexander
a30ecb81f8 Merge branch '3.1.x' 2016-01-17 23:28:33 +01:00
Marc Alexander
0c34641abd Merge pull request #3718 from javiexin/ticket/13908
[ticket/13908] "After" clause in migration not working
2016-01-17 23:28:29 +01:00
Marc Alexander
a98f12d1fc Merge branch '3.1.x' 2016-01-16 23:18:13 +01:00
Marc Alexander
12a10de0d1 Merge pull request #4122 from lavigor/ticket/12441
[ticket/12441] Correct database size detection in MariaDB 10
2016-01-16 23:18:13 +01:00
Marc Alexander
8e5b5a5c07 Merge branch '3.1.x' 2016-01-16 23:10:37 +01:00
Marc Alexander
f34df97f8b Merge pull request #4125 from lavigor/ticket/14412
[ticket/14412] Comment fixes for PHPDoc in the events
2016-01-16 23:10:37 +01:00
Richard McGirr
9b51fe2dd5 [ticket/14289] Move append before prepend in events doc
PHPBB3-14289
2016-01-16 09:21:07 -05:00
Marc Alexander
b908524853 [ticket/13733] Update comment explaining migration class validation
PHPBB3-13733
2016-01-15 18:34:12 +01:00
Marc Alexander
0178c27092 Merge pull request #3626 from imkingdavid/ticket/13733
[ticket/13733] Allow non-migration files inside migrations folder
2016-01-15 18:31:27 +01:00
Marc Alexander
8e584dfa6b Merge pull request #4077 from Nicofuma/ticket/14306
[ticket/14306] Automatically enable a safe mode when container building fails
2016-01-15 18:13:34 +01:00
lavigor
fef03a1946 [ticket/14412] Comment fixes for PHPDoc in the events
PHPBB3-14412
2016-01-15 14:07:50 +03:00
Marc Alexander
6710ea3947 [ticket/14402] Directly pass user id and ip
PHPBB3-14402
2016-01-15 11:22:13 +01:00
Marc Alexander
3a555d94af [ticket/14402] Get rid of globals in tidy_plupload cron
PHPBB3-14402
2016-01-15 11:21:08 +01:00
Marc Alexander
3a82ace3eb [ticket/14402] Do not expect user id and ip to be available in cron
PHPBB3-14402
2016-01-15 11:21:07 +01:00
Marc Alexander
97e002cc3d Merge branch '3.1.x'
Conflicts:
	phpBB/phpbb/log/log.php
2016-01-15 11:18:13 +01:00
Marc Alexander
295a424fc7 Merge pull request #4117 from Elsensee/ticket/14403
[ticket/14403] Don't expect user_id and user_ip in phpbb\log
2016-01-15 11:15:56 +01:00
Marc Alexander
254291b644 Merge pull request #4123 from lavigor/ticket/13442
[ticket/13442] UTF-8 symbols for database host
2016-01-15 11:11:44 +01:00
Marc Alexander
15157eed61 [ticket/14411] Permanently delete post if delete_permanent is set
PHPBB3-14411
2016-01-14 23:15:36 +01:00
Oliver Schramm
d045822cd8 [ticket/14403] Set a default user id and ip in CLI
PHPBB3-14403
2016-01-14 20:31:54 +01:00
lavigor
ef09b562db [ticket/13442] UTF-8 symbols for database host
PHPBB3-13442
2016-01-14 15:38:14 +03:00
lavigor
b34dbc2e84 [ticket/12441] Correct database size detection in MariaDB 10
PHPBB3-12441
2016-01-14 12:29:17 +03:00
Marc Alexander
a94c20faa2 [ticket/11875] Add back new line
PHPBB3-11875
2016-01-13 19:36:20 +01:00
Marc Alexander
7cd7bb3c01 [ticket/11875] Change more columns to use UINT and add missings ones
PHPBB3-11875
2016-01-13 19:35:04 +01:00
Marc Alexander
31607771e1 [ticket/11875] Add migration file
PHPBB3-11875
2016-01-13 17:02:42 +01:00
Marc Alexander
192a5f19f4 Merge pull request #2064 from hjpotter92/ticket/11875
[ticket/11875] Set default data type from MEDIUMINT (3byte) to INT(10) (4byte)

Conflicts:
	phpBB/includes/db/schema_data.php
	phpBB/install/schemas/mysql_40_schema.sql
	phpBB/install/schemas/mysql_41_schema.sql
	phpBB/install/schemas/oracle_schema.sql
	phpBB/install/schemas/postgres_schema.sql
	phpBB/phpbb/db/tools/tools.php
2016-01-13 13:21:08 +01:00
Marc Alexander
08647781c0 Merge pull request #4059 from JoshyPHP/ticket/14323
[ticket/14323] Added support for truncating long URLs
2016-01-13 12:55:31 +01:00
Marc Alexander
d55a8a8cee Merge branch '3.1.x' 2016-01-13 09:27:35 +01:00
Marc Alexander
f979d2c7b2 Merge pull request #4119 from Zoddo/ticket/14407
[ticket/14407] Fix removing users from Newly Registered Users group
2016-01-13 09:27:31 +01:00
Zoddo
fff6907a22 [ticket/14407] Fix removing users from Newly Registered Users group
PHPBB3-14407
2016-01-13 08:28:30 +01:00
Marc Alexander
549e91354d Merge pull request #4118 from JoshyPHP/ticket/14405
[ticket/14405] Force a lookahead check on [URL] BBCodes
2016-01-12 17:32:14 +01:00
JoshyPHP
e4dae8ed4b [ticket/14405] Force a lookahead check on [URL] BBCodes
PHPBB3-14405
2016-01-12 11:54:20 +01:00
Marc Alexander
68d945e931 Merge branch '3.1.x' 2016-01-12 04:31:15 +01:00
Marc Alexander
826d6aac74 Merge pull request #3929 from kilianr/ticket/12618
[ticket/12618] Allow extension author to use SSL for version-check.
2016-01-12 04:11:56 +01:00
Kilian
ad34b87824 [ticket/12618] Change ssl:// to tls://
PHPBB3-12618
2016-01-10 19:33:45 +01:00
Oliver Schramm
0cc41b94b1 [ticket/14403] Don't expect user_id and user_ip in phpbb\log
PHPBB3-14403
2016-01-10 17:43:10 +01:00
Richard McGirr
469b975f94 [ticket/14289] Change to 3.1.8-RC1 and rename event
PHPBB3-14289
2016-01-10 07:17:43 -05:00
Joas Schilling
7f7b09fdeb Merge branch '3.1.x'
Conflicts:
	build/build.xml
	phpBB/docs/CHANGELOG.html
	phpBB/includes/acp/acp_bbcodes.php
2016-01-09 18:45:32 +01:00
Joas Schilling
fd5e66cbf1 Merge branch 'prep-release-3.1.7' into 3.1.x
Conflicts:
	build/build.xml
	phpBB/includes/constants.php
	phpBB/install/schemas/schema_data.sql
2016-01-09 18:42:07 +01:00
Tristan Darricau
1e0340b0cf [ticket/14306] Improves Error display
PHPBB3-14306
2016-01-09 18:03:21 +01:00
Tristan Darricau
b2324607ad Merge pull request #4058 from marc1706/ticket/13454
[ticket/13454] Remove unused variables, globals, and parameters

* marc1706/ticket/13454:
  [ticket/13454] Add excessively removed code back
  [ticket/13454] Remove more unused variables
  [ticket/13454] Remove double semi-colons
  [ticket/13454] Remove unused variables
  [ticket/13454] Fix code sniffer complaints
  [ticket/13454] Fix a few issues introduced by overdeleting stuff
  [ticket/13454] Remove unused variables
  [ticket/13454] Remove unused variables
  [ticket/13454] Remove unused variables
  [ticket/13454] Remove unused variables
2016-01-09 17:53:04 +01:00
Marc Alexander
81cbabc1f6 Merge branch '3.1.x' 2016-01-09 16:30:43 +01:00
Marc Alexander
a86a6926ee Merge pull request #4098 from Nicofuma/ticket/14382-master
[ticket/14382] Specify the branch-alias in the composer.json files
2016-01-09 16:30:42 +01:00
Marc Alexander
d64680983a Merge pull request #4097 from Nicofuma/ticket/14382
[ticket/14382] Specify the branch-alias in the composer.json files
2016-01-09 16:30:11 +01:00
Tristan Darricau
e8a4526f4a [ticket/14382] Specify the branch-alias in the composer.json files
PHPBB3-14382
2016-01-09 15:42:42 +01:00
Tristan Darricau
c1eb721650 Merge branch 'ticket/14382' into ticket/14382-master
* ticket/14382:
  [ticket/14382] Specify the branch-alias in the composer.json files
2016-01-09 15:39:26 +01:00
Tristan Darricau
3f40a89864 [ticket/14382] Specify the branch-alias in the composer.json files
PHPBB3-14382
2016-01-09 15:36:43 +01:00
Tristan Darricau
6594ef8b1e [ticket/14306] CS and correctly handle exception loop
PHPBB3-14306
2016-01-09 15:35:17 +01:00
Tristan Darricau
7f8b6c02c6 [ticket/14306] Update the error message
PHPBB3-14306
2016-01-09 15:35:17 +01:00
Tristan Darricau
761fa9da52 [ticket/14306] Doesn't try to build a "safe" container in the dev env
PHPBB3-14306
2016-01-09 15:35:17 +01:00
Tristan Darricau
78349ed80f [ticket/14306] Automatically enable a safe mode when container building fails
PHPBB3-14306
2016-01-09 15:35:17 +01:00
Joas Schilling
85e98a9d70 [prep-release-3.1.7] Add changelog for 3.1.7-pl1 2016-01-09 09:46:32 +01:00
Joas Schilling
29a239a4db [prep-release-3.1.7] Add migration for 3.1.7-pl1 2016-01-09 09:35:53 +01:00
Joas Schilling
89da4e8bf7 [prep-release-3.1.7] Update version to 3.1.7-pl1 2016-01-09 09:35:03 +01:00
Joas Schilling
c2d59b3352 Merge pull request #24 from phpbb/ticket/security-188
[ticket/security-188] Check form key in acp_bbcodes
2016-01-09 09:13:50 +01:00
kasimi
80c32fb7ef [ticket/14343] Added missing $phpbb_dispatcher
PHPBB3-14343
2016-01-09 09:13:20 +01:00
Oliver Schramm
f6524f4902 Merge branch '3.1.x' 2016-01-08 18:22:40 +01:00
Oliver Schramm
1f16421782 Merge pull request #4114 from marc1706/ticket/14396
[ticket/14396] Use VCHAR_UNI and correct depends_on() version
2016-01-08 18:22:00 +01:00
Marc Alexander
c6c7730e04 Merge branch '3.1.x' 2016-01-08 17:57:05 +01:00
Marc Alexander
45d64c4486 Merge pull request #4115 from Elsensee/ticket/14397
[ticket/14397] Fix @since tag in event 'core.ucp_prefs_view_after'
2016-01-08 17:57:00 +01:00
Oliver Schramm
a7648b0eaa [ticket/14397] Fix @since tag in event 'core.ucp_prefs_view_after'
PHPBB3-14397
2016-01-08 17:04:18 +01:00
Marc Alexander
9fe8d05d5b [ticket/14396] Use VCHAR_UNI and correct depends_on() version
PHPBB3-14396
2016-01-08 16:55:40 +01:00
Marc Alexander
0028ed3e95 Merge branch '3.1.x'
Conflicts:
	phpBB/styles/subsilver2/template/ucp_prefs_personal.html
2016-01-08 16:39:33 +01:00
Marc Alexander
2ab7b12419 Merge pull request #4112 from marc1706/ticket/13180
[ticket/13180] Increase dateformat field size
2016-01-08 16:39:03 +01:00
Oliver Schramm
b6fee9f536 Merge branch '3.1.x' 2016-01-08 16:06:46 +01:00
Oliver Schramm
ae18f8b27c Merge pull request #3924 from Senky/ticket/14190
[ticket/14190] Add core.ucp_prefs_view_after event
2016-01-08 15:51:53 +01:00
Mate Bartus
2efab1cf5a Merge branch '3.1.x'
* 3.1.x:
  [ticket/14394] Only purge cache in functional tests if necessary
2016-01-08 14:28:03 +01:00
Máté Bartus
2f7517a0fe Merge pull request #4111 from marc1706/ticket/14394
[ticket/14394] Only purge cache in functional tests if necessary
2016-01-08 14:24:24 +01:00
Saeed Hubaishan
a339b9e84f [ticket/13180] Increase dateformat field size
remove empty line as marc1706 guided

PHPBB3-13180
2016-01-07 20:03:35 +01:00
Saeed Hubaishan
678ca5dcdc [ticket/13180] Increase dateformat field size
[ticket/13180] Increase dateformat field size

change field size to 64 in these files
add new migration file to update the database schema

PHPBB3-13180
2016-01-07 17:36:02 +01:00
Marc Alexander
d3ca327f2c Merge branch '3.1.x'
Conflicts:
	phpBB/styles/prosilver/template/viewtopic_body.html
	phpBB/styles/subsilver2/template/viewtopic_body.html
2016-01-07 16:28:44 +01:00
Marc Alexander
a7058d968f Merge pull request #4079 from rxu/ticket/14356
[ticket/14356] Add template events to viewtopic around back2top link
2016-01-07 16:26:16 +01:00
Marc Alexander
ca04f61b8a Merge pull request #4000 from Elsensee/ticket/14250
[ticket/14250] Review/bump dependencies
2016-01-07 13:56:42 +01:00
Marc Alexander
cf1fc20297 [ticket/14394] Only purge cache in functional tests if necessary
PHPBB3-14394
2016-01-07 10:46:43 +01:00
Oliver Schramm
529880f911 [ticket/14250] Added symfony/debug as requirement
PHPBB3-14250
2016-01-06 16:06:27 +01:00
Marc Alexander
3f44f36817 [ticket/13454] Add excessively removed code back
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
73900d1857 [ticket/13454] Remove more unused variables
This should be the last part. Off to checking if the changes were correct.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
3b9a9bb04a [ticket/13454] Remove double semi-colons
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
7a6a16e3a5 [ticket/13454] Remove unused variables
This is part 5 and there is more to come.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
915a141fc2 [ticket/13454] Fix code sniffer complaints
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
38f3688217 [ticket/13454] Fix a few issues introduced by overdeleting stuff
PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
266576c6a4 [ticket/13454] Remove unused variables
Part 4

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
6c25ad4822 [ticket/13454] Remove unused variables
Part 3 should fix tests up a little bit again.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
f50ba9ab4f [ticket/13454] Remove unused variables
This is part 2 of the pr.

PHPBB3-13454
2016-01-06 13:52:11 +01:00
Marc Alexander
73e6e5b77f [ticket/13454] Remove unused variables
This is the first part of the changes. More to come.

PHPBB3-13454
2016-01-06 13:51:19 +01:00
Marc Alexander
d0adbe94d5 Merge branch '3.1.x'
Conflicts:
	phpBB/includes/mcp/mcp_main.php
2016-01-06 13:31:15 +01:00
Marc Alexander
e75c04f02a Merge pull request #4109 from marc1706/ticket/14343
[ticket/14343] Added missing $phpbb_dispatcher
2016-01-06 13:30:20 +01:00
Marc Alexander
ea6bcdff52 Merge branch '3.1.x' 2016-01-06 13:26:23 +01:00
Marc Alexander
11b79fec4d Merge pull request #4105 from marc1706/ticket/14387
[ticket/14387] Allow extending avatars by extensions in ACP
2016-01-06 13:26:19 +01:00
Marc Alexander
82b4eb6d3d Merge branch '3.1.x' 2016-01-06 13:22:16 +01:00
Marc Alexander
1a3f783807 Merge pull request #4110 from marc1706/ticket/14386
[ticket/14386] Fix for open_basedir restriction in effect with remote upload avatar
2016-01-06 13:22:16 +01:00
Marc Alexander
b340e45907 Merge pull request #4104 from ErnadoO/ticket/14386
[ticket/14386] Fix for open_basedir restriction in effect with remote upload avatar
2016-01-06 13:20:32 +01:00
Erwan Nader
59481da9da [ticket/14386] Use of sys_get_temp_dir()
PHPBB3-14386
2016-01-06 13:16:03 +01:00
Marc Alexander
ffd6abdeaf Merge remote-tracking branch 'ErnadoO/ticket/14386' into ticket/14386
Conflicts:
	phpBB/includes/functions_upload.php
2016-01-06 13:15:43 +01:00
kasimi
a021956644 [ticket/14343] Added missing $phpbb_dispatcher
PHPBB3-14343
2016-01-06 11:38:22 +01:00
Oliver Schramm
e45ba44754 [ticket/14250] Update symfony dev-requirements to stable
PHPBB3-14250
2016-01-05 19:12:18 +01:00
Oliver Schramm
d90509bb31 [ticket/14250] Replace abandoned guzzle packages
PHPBB3-14250
2016-01-04 03:55:18 +01:00
Oliver Schramm
b9acf83653 [ticket/14250] Track version numbers instead of commit id
PHPBB3-14250
2016-01-04 03:47:38 +01:00
Oliver Schramm
0e94693089 [ticket/14250] Fix composer.json
Symfony dependencies that aren't required by phpBB itself but by
one of its dependencies are now forced to be 2.8 LTS again.

PHPBB3-14250
2016-01-04 03:44:33 +01:00
Oliver Schramm
8ed59fb82a [ticket/14250] Change token_storage class to fit changed interface
PHPBB3-14250
2016-01-04 03:38:28 +01:00
Oliver Schramm
e738dad729 [ticket/14250] Review/bump dependencies
PHPBB3-14250
2016-01-04 03:33:42 +01:00
Erwan Nader
73ca420029 [ticket/14386] Use of sys_get_temp_dir()
PHPBB3-14386
2016-01-03 10:01:00 +01:00
Marc Alexander
b3d64b3b59 [ticket/14387] Fix avatar tests after adding get_config_name method
PHPBB3-14387
2016-01-02 17:16:32 +01:00
javiexin
917c864bbf [ticket/14387] Extend avatar-driver by extension in ACP not possible
Create two driver methods to provide the driver config name and the
driver ACP template name, and use them directly when required.
Default driver config name and template name are the same as now.
But new drivers are able to override the config name and template
name with their own, including @vendor_extension. Simplified manager
interface by reducing unneeded methods.

PHPBB3-14387
2016-01-02 17:16:23 +01:00
javiexin
06f4b6926b [ticket/14387] Extend avatar-driver by extension in ACP not possible
Create two driver methods to provide the driver config name and the
driver ACP template name, and use them within the manager method.
Default driver config name and template name are the same as now.
But new drivers are able to override the config name and template
name with their own, including @vendor_extension.

PHPBB3-14387
2016-01-02 17:16:14 +01:00
javiexin
14dc274e9e [ticket/14387] Extend avatar-driver by extension in ACP not possible
Create a driver method to provide the driver config name, and use it
within the manager method. Default driver config name is the same as now.
But new drivers are able to override the config name with their own.

PHPBB3-14387
2016-01-02 17:16:03 +01:00
Marc Alexander
dfa88441de Merge pull request #4102 from JoshyPHP/ticket/10628
[ticket/10628] http:// prepended to "www." urls
2016-01-01 09:55:34 +01:00
Marc Alexander
e0529ecfe8 Merge pull request #4103 from JoshyPHP/ticket/12221
[ticket/12221] URLs Containing javascript: are Garbled
2016-01-01 09:53:59 +01:00
JoshyPHP
2eac5a0ddd [ticket/12221] Added test
PHPBB3-12221
2015-12-28 20:10:42 +01:00
JoshyPHP
7273e24101 [ticket/10628] Added test
Tests that the textarea's content is preserved, that no "http://"
is added to the text or to the preview's HTML and that the www
URL is linkified

PHPBB3-10628
2015-12-28 19:46:46 +01:00
JoshyPHP
bc5d976786 [ticket/14323] Added should_shorten()
Explicitly tests a tag's markup to determine whether a link should be shortened

PHPBB3-14323
2015-12-28 04:19:21 +01:00
JoshyPHP
bcd5d8b512 [ticket/14323] Added tests
PHPBB3-14323
2015-12-27 18:39:53 +01:00
JoshyPHP
909f8653ec [ticket/14323] Renamed AUTOLINK_TEXT to LINK_TEXT
Expanded link text shortening to [url] BBCodes with no parameters

PHPBB3-14323
2015-12-27 16:43:45 +01:00
Marc Alexander
0efbb78afa Merge branch '3.1.x' 2015-12-26 22:10:41 +01:00
Marc Alexander
296243f34f Merge pull request #4100 from marc1706/ticket/14303
[ticket/14303] Use UTF8 quotes in app.php lang file
2015-12-26 22:10:38 +01:00
JoshyPHP
5c8373dc20 [ticket/14323] Added comment [ci skip]
PHPBB3-14323
2015-12-26 17:01:37 +01:00
JoshyPHP
791c329e94 [ticket/14323] Fixed test data
PHPBB3-14323
2015-12-26 15:43:10 +01:00
JoshyPHP
ad2c032d3b [ticket/14323] Moved autolink-related functions to a separate helper
PHPBB3-14323
2015-12-26 14:20:39 +01:00
JoshyPHP
f9d8866aee [ticket/14323] Set up global objects required during testing
PHPBB3-14323
2015-12-26 14:19:22 +01:00
JoshyPHP
9a8fb2e1df [ticket/14323] Stylistic change [ci skip]
PHPBB3-14323
2015-12-26 14:19:22 +01:00
JoshyPHP
8fe94a19b4 [ticket/14323] Added support for truncating local URLs
PHPBB3-14323
2015-12-26 14:19:22 +01:00
JoshyPHP
eb6ceb963e [ticket/14323] Added support for truncating long URLs
PHPBB3-14323
2015-12-26 14:19:22 +01:00
phpBB España
bb5a171674 [ticket/14303] Use UTF8 quotes in app.php lang file
PHPBB3-14303
2015-12-26 08:14:33 +01:00
Marc Alexander
fc97c7137d Merge pull request #4099 from marc1706/ticket/14371
[ticket/14371] Small fix for the quick links alignment
2015-12-24 15:16:21 +01:00
Melvin García
5e8105a1cd [ticket/14371] Small fix for the quick links alignment
PHPBB3-14371
2015-12-24 14:00:34 +01:00
Marc Alexander
b1e4a3e1b7 Merge pull request #4094 from Nicofuma/ticket/14377
[ticket/14377] Allow extensions to register compiler pass
2015-12-23 19:27:19 +01:00
Tristan Darricau
d256d81a51 [ticket/14377] Handle new $classname() in the sniffer
PHPBB3-14377
2015-12-23 18:45:37 +01:00
Marc Alexander
87345807de [ticket/security-188] Remove unused form key from acp_extensions
SECURITY-188
2015-12-23 17:32:31 +01:00
Marc Alexander
18abef716e [ticket/security-188] Check form key in acp_bbcodes
SECURITY-188
2015-12-23 17:31:43 +01:00
Marc Alexander
6a4e296c43 Merge branch '3.1.x'
Conflicts:
	phpBB/styles/subsilver2/template/memberlist_im.html
2015-12-23 13:32:44 +01:00
Marc Alexander
84ed888cb9 Merge pull request #4084 from exussum12/ticket/14046
[ticket/14046] Jabber message incorrect
2015-12-23 13:32:23 +01:00
Marc Alexander
e6887ec10a Merge pull request #4096 from CHItA/ticket/14380
[ticket/14380] Maintain consistent template var paths in 3.2 installer
2015-12-22 22:52:52 +01:00
Mate Bartus
84171c5776 [ticket/14380] Maintain consistent template var paths in 3.2 installer
PHPBB3-14380
2015-12-22 21:52:05 +01:00
Máté Bartus
26b068f5b3 Merge pull request #4095 from marc1706/ticket/14378
[ticket/14378] Use consistent template variable paths
2015-12-22 21:43:19 +01:00
Marc Alexander
c02fc0f63f [ticket/14378] Use consistent template variable paths
PHPBB3-14378
2015-12-22 20:02:44 +01:00
Marc Alexander
d033597c5d Merge branch '3.1.x'
Conflicts:
	phpBB/adm/style/installer_footer.html
2015-12-22 19:51:21 +01:00
Marc Alexander
a7ca311d6c Merge pull request #4093 from VSEphpbb/ticket/14374
[ticket/14374] Update dynamic fallback jquery CDN script tag
2015-12-22 19:34:22 +01:00
Tristan Darricau
d44e34aa14 [ticket/14377] Allow extensions to register compiler pass
PHPBB3-14377
2015-12-22 18:48:49 +01:00
Matt Friedman
1654caf34b [ticket/14374] Update dynamic fallback jquery CDN script tag
PHPBB3-14374
2015-12-22 09:29:29 -08:00
Tristan Darricau
332ca57942 Merge pull request #4091 from marc1706/ticket/14373
[ticket/14373] Do not pass arrays to strpos()

* marc1706/ticket/14373:
  [ticket/14373] Do not pass arrays to strpos()
2015-12-22 15:40:48 +01:00
Marc Alexander
2fe81c1ccb [ticket/14373] Do not pass arrays to strpos()
PHPBB3-14373
2015-12-20 22:20:56 +01:00
Marc Alexander
c2a5411dcb Merge pull request #4076 from Nicofuma/ticket/14177
[ticket/14177] Uses Symfony's Debug ErrorHandler in development environment
2015-12-20 12:59:23 +01:00
Marc Alexander
96bd531701 Merge pull request #4087 from VSEphpbb/ticket/14368
[ticket/14368] Fix color of post editor input boxes
2015-12-20 11:03:44 +01:00
Matt Friedman
11ad71b381 [ticket/14368] Fix color of post editor input boxes
https://tracker.phpbb.com/browse/PHPBB3-14368

PHPBB3-14368
2015-12-19 10:29:22 -08:00
Tristan Darricau
5bbb6e1215 Merge pull request #4083 from RMcGirr83/ticket_14362
[ticket/14362] Missing lang var in install file

* RMcGirr83/ticket_14362:
  [ticket/14362] Missing lang var in install file
2015-12-19 18:17:32 +01:00
Tristan Darricau
554b90b59f [release-3.2.0-a2] Update version to 3.2.0-a3 2015-12-19 17:34:46 +01:00
Tristan Darricau
e23b48490c Merge branch 'prep-release-3.2.0-a2'
* prep-release-3.2.0-a2:
  [prep-release-3.2.0-a2] Add changelog for 3.2.0-a2
  [prep-release-3.2.0-a2]  Add migration for 3.2.0-a2
  [prep-release-3.2.0-a2] Update version to 3.2.0-a2
2015-12-19 17:32:28 +01:00
Tristan Darricau
7381e99517 [prep-release-3.2.0-a2] Add changelog for 3.2.0-a2 2015-12-19 17:17:01 +01:00
Tristan Darricau
8daeb6962a [prep-release-3.2.0-a2] Add migration for 3.2.0-a2 2015-12-19 17:17:01 +01:00
Tristan Darricau
6b09dbe16c [prep-release-3.2.0-a2] Update version to 3.2.0-a2 2015-12-19 17:17:01 +01:00
Joas Schilling
9a814e21aa Merge branch '3.1.x'
Conflicts:
	build/build.xml
2015-12-19 14:23:12 +01:00
Joas Schilling
9af2dc0b6b Merge branch 'prep-release-3.1.7' into 3.1.x
Conflicts:
	build/build.xml
	phpBB/includes/constants.php
	phpBB/install/schemas/schema_data.sql
2015-12-19 14:21:57 +01:00
Joas Schilling
e3acdfed92 [prep-release-3.1.7] Add migration to update the version 2015-12-19 12:21:25 +01:00
Joas Schilling
4ec32592a4 [prep-release-3.1.7] Increase version to 3.1.7 2015-12-19 12:21:04 +01:00
rxu
33db45edac [ticket/14356] Add template events to viewtopic around back2top link
PHPBB3-14356
2015-12-17 23:18:37 +07:00
Scott Dutton
7ebbc69dbd [ticket/14046] Jabber message incorrect
When making a Jabber message, the page says the message has been sent
when loading the page for the first time, This message should only be
shown after the message has actually been sent

PHPBB3-14046
2015-12-16 22:15:29 +00:00
Richard McGirr
6eaeb7ebef [ticket/14362] Missing lang var in install file
PHPBB3-14362
2015-12-16 06:42:37 -05:00
Tristan Darricau
6ffbd26377 [ticket/14177] CS
PHPBB3-14177
2015-12-15 19:55:55 +01:00
Máté Bartus
28969511d2 Merge pull request #4081 from Nicofuma/ticket/14359
[ticket/14359] Fix console.command.reparser.reparse service definition
2015-12-14 22:34:58 +01:00
Tristan Darricau
3d6a6200d8 [ticket/14359] Fix console.command.reparser.reparse service definition
PHPBB3-14359
2015-12-14 22:32:16 +01:00
Máté Bartus
60587d77bb Merge pull request #4080 from Nicofuma/ticket/14358
[ticket/14358] Includes the composer autoloader in create_schema_files.php
2015-12-14 22:16:32 +01:00
Tristan Darricau
54d3d4be30 [ticket/14358] Includes the composer autoloader in create_schema_files.php
PHPBB3-14358
2015-12-14 22:13:23 +01:00
Marc Alexander
71738ff099 Merge branch '3.1.x' 2015-12-13 11:19:01 +01:00
Marc Alexander
67f3017274 Merge pull request #4078 from VSEphpbb/ticket/14353
[ticket/14353] Complete [list] bbcode documentation/examples
2015-12-13 11:18:53 +01:00
Joas Schilling
b2a26ab5f4 Merge branch '3.1.x'
Conflicts:
	build/build.xml
	phpBB/docs/CHANGELOG.html
	phpBB/includes/constants.php
	phpBB/install/convertors/convert_phpbb20.php
	phpBB/install/schemas/schema_data.sql
	phpBB/styles/prosilver/style.cfg
	phpBB/styles/subsilver2/style.cfg
2015-12-12 15:24:29 +01:00
Joas Schilling
1de3ede399 [3.1.x] Update version to 3.1.8-dev 2015-12-12 15:19:47 +01:00
Joas Schilling
c5a7643b72 Merge branch 'prep-release-3.1.7' into 3.1.x 2015-12-12 15:17:26 +01:00
Matt Friedman
627488da5b [ticket/14353] Complete [list] bbcode documentation/examples
PHPBB3-14353
2015-12-11 17:14:22 -08:00
Joas Schilling
099a1b5f75 [prep-release-3.1.7] Add changelog for 3.1.7-RC1 2015-12-12 01:37:56 +01:00
Joas Schilling
69cf32613d [prep-release-3.1.7] Add migration for 3.1.7-RC1 2015-12-12 01:35:05 +01:00
Joas Schilling
d2acccf92c [prep-release-3.1.7] Update version to 3.1.7-RC1 2015-12-12 01:31:31 +01:00
Tristan Darricau
dee22f4a28 [ticket/14177] Uses Symfony's Debug ErrorHandler in development environment
PHPBB3-14177
2015-12-11 21:05:53 +01:00
Máté Bartus
18377d63ee Merge pull request #4074 from marc1706/ticket/14349
[ticket/14349] Improve error messages and remove output of suppressed messages
2015-12-09 19:14:48 +01:00
Tristan Darricau
7c05b881c5 Merge pull request #4075 from marc1706/ticket/14350
[ticket/14350] Remove duplicate semi-colon in functions_user

* marc1706/ticket/14350:
  [ticket/14350] Remove duplicate semi-colon in functions_user
2015-12-08 23:38:56 +01:00
Marc Alexander
416b25b324 [ticket/14350] Remove duplicate semi-colon in functions_user
PHPBB3-14350
2015-12-08 23:20:25 +01:00
Marc Alexander
2d3e340f19 [ticket/14349] Suppress output due to duplicate definition in installer
PHPBB3-14349
2015-12-08 22:14:25 +01:00
Marc Alexander
d99927d3a6 [ticket/14349] Add cli error message on missing or invalid data
PHPBB3-14349
2015-12-08 21:21:05 +01:00
Marc Alexander
3910ffd664 [ticket/14349] Do output suppressed errors
PHPBB3-14349
2015-12-08 20:34:10 +01:00
Tristan Darricau
4bcec475fe Merge branch '3.1.x'
* 3.1.x:
  [ticket/14271] Properly use try_files in nginx sample config
  [ticket/14271] Improve try_files and use split path info
  [ticket/14271] Update sample config
2015-12-08 19:48:12 +01:00
Tristan Darricau
901785bc5e Merge pull request #4018 from marc1706/ticket/14271
[ticket/14271] Update sample config

* marc1706/ticket/14271:
  [ticket/14271] Properly use try_files in nginx sample config
  [ticket/14271] Improve try_files and use split path info
  [ticket/14271] Update sample config
2015-12-08 19:48:02 +01:00
Tristan Darricau
8ef8f49c9a Merge branch '3.1.x'
* 3.1.x:
  [ticket/14213] Add pending to core.group_add_user_after
  [ticket/14213] Mv event group_add_user_after after cache cleaning
  [ticket/14213] Fix version number
  [ticket/14213] Adding missing reference to event dispatcher
  [ticket/14213] Adding event after users have been added to a group
2015-12-08 19:47:20 +01:00
Tristan Darricau
81b3b38795 Merge pull request #4071 from marc1706/ticket/14213
[ticket/14213] Adding event after users have been added to a group

* marc1706/ticket/14213:
  [ticket/14213] Add pending to core.group_add_user_after
  [ticket/14213] Mv event group_add_user_after after cache cleaning
  [ticket/14213] Fix version number
  [ticket/14213] Adding missing reference to event dispatcher
  [ticket/14213] Adding event after users have been added to a group
2015-12-08 19:46:34 +01:00
Tristan Darricau
9130f20cb6 Merge pull request #4072 from marc1706/ticket/14344
[ticket/14344] Improve output of HTML errors trigged during install

* marc1706/ticket/14344:
  [ticket/14344] Improve output of HTML errors trigged during install
2015-12-08 19:45:43 +01:00
Marc Alexander
398590b7ab Merge pull request #4073 from CHItA/ticket/14348
[ticket/14348] Add install/index.html
2015-12-08 19:02:45 +01:00
Mate Bartus
0229eb971d [ticket/14348] Add install/index.html
PHPBB3-14348
2015-12-08 16:22:03 +01:00
Marc Alexander
0933338480 Merge pull request #4070 from VSEphpbb/ticket/14247
[ticket/14247] Use quotes around @ and % strings in YAML
2015-12-08 15:40:49 +01:00
Marc Alexander
d37d3ed3ed [ticket/14213] Add pending to core.group_add_user_after
PHPBB3-14213
2015-12-08 15:32:45 +01:00
Marc Alexander
6188a87779 [ticket/14344] Improve output of HTML errors trigged during install
PHPBB3-14344
2015-12-07 23:36:49 +01:00
Wardormeur
e6d3ed5529 [ticket/14213] Mv event group_add_user_after after cache cleaning
In order to match with the rest of the event and to have appropriate info state

PHPBB3-14213
2015-12-07 22:35:08 +01:00
Wardormeur
ffbc2d02d7 [ticket/14213] Fix version number
for core.group_add_user_after event

PHPBB3-14213
2015-12-07 22:35:04 +01:00
Wardormeur
2419f63aab [ticket/14213] Adding missing reference to event dispatcher
Required to dispatch event, wasn't included into global

PHPBB3-14213
2015-12-07 22:34:59 +01:00
Wardormeur
20e26a3920 [ticket/14213] Adding event after users have been added to a group
Allow mapping with others CMS by exposing user configuration & changes

PHPBB3-14213
2015-12-07 22:34:25 +01:00
Matt Friedman
d9d89cad94 [ticket/14247] Use quotes around @ and % strings in YAML
PHPBB3-14247
2015-12-07 13:11:22 -08:00
Tristan Darricau
f14a9b7069 Merge branch '3.1.x'
* 3.1.x:
  [ticket/14261] Fix tests by removing old code.
  [ticket/14261] Move the update of session informations to page_footer()
2015-12-07 21:52:38 +01:00
Tristan Darricau
4989df66a2 Merge pull request #4008 from Zoddo/ticket/14261
[ticket/14261] Move the update of session informations to page_footer()

* Zoddo/ticket/14261:
  [ticket/14261] Fix tests by removing old code.
  [ticket/14261] Move the update of session informations to page_footer()
2015-12-07 21:52:17 +01:00
Tristan Darricau
91df35e81e Merge branch '3.1.x'
* 3.1.x:
  [ticket/14346] Do not turn version red if update status is unknown
2015-12-07 21:42:17 +01:00
Tristan Darricau
a4c1daa259 Merge pull request #4069 from marc1706/ticket/14346
[ticket/14346] Do not turn version red if update status is unknown

* marc1706/ticket/14346:
  [ticket/14346] Do not turn version red if update status is unknown
2015-12-07 21:42:13 +01:00
Tristan Darricau
c5d286e3fb Merge branch '3.1.x'
* 3.1.x:
2015-12-07 21:38:53 +01:00
Tristan Darricau
fd533f4214 Merge pull request #4064 from marc1706/ticket/14339-master
[ticket/14339] Properly state PHP version support

* marc1706/ticket/14339-master:
  [ticket/14339] Specify that PHP 7.0 is supported instead of "prior versions"
  [ticket/14339] Properly state PHP version support
2015-12-07 21:38:48 +01:00
Tristan Darricau
ab8dc92d26 Merge pull request #4063 from marc1706/ticket/14339
[ticket/14339] Properly state PHP version support

* marc1706/ticket/14339:
  [ticket/14339] Properly state PHP version support
2015-12-07 21:38:37 +01:00
Marc Alexander
61255a8982 [ticket/14339] Specify that PHP 7.0 is supported instead of "prior versions"
PHPBB3-14339
2015-12-07 21:35:23 +01:00
Marc Alexander
1dba763e09 Merge branch 'ticket/14339' into ticket/14339-master
Conflicts:
	phpBB/composer.json
	phpBB/docs/INSTALL.html
	phpBB/docs/README.html
2015-12-07 21:33:59 +01:00
Tristan Darricau
434a04344e Merge branch '3.1.x'
* 3.1.x:
  [ticket/14343] Add event when locking/unlocking posts/topics
2015-12-07 21:06:39 +01:00
Tristan Darricau
07ae3e997c Merge pull request #4066 from kasimi/ticket/14343
[ticket/14343] Add event when locking/unlocking posts/topics

* kasimi/ticket/14343:
  [ticket/14343] Add event when locking/unlocking posts/topics
2015-12-07 21:06:22 +01:00
Tristan Darricau
f08c774485 Merge pull request #4068 from marc1706/ticket/14310
[ticket/14310] Put progress percentage inside span and make more visible

* marc1706/ticket/14310:
  [ticket/14310] Put progress percentage inside span and make more visible
2015-12-07 21:05:03 +01:00
Tristan Darricau
5285f22442 Merge pull request #4067 from marc1706/ticket/14345
[ticket/14345] Check if description exists in message ary

* marc1706/ticket/14345:
  [ticket/14345] Move new line to ternary comparison
  [ticket/14345] Check if description exists in message ary
2015-12-07 20:58:34 +01:00
Marc Alexander
4a92b85cad [ticket/14346] Do not turn version red if update status is unknown
PHPBB3-14346
2015-12-07 20:00:13 +01:00
Marc Alexander
41b4fee655 [ticket/14345] Move new line to ternary comparison
PHPBB3-14345
2015-12-07 16:59:04 +01:00
Marc Alexander
d7317c9b25 [ticket/14310] Put progress percentage inside span and make more visible
PHPBB3-14310
2015-12-07 16:51:39 +01:00
Marc Alexander
1b9ae803c5 [ticket/14345] Check if description exists in message ary
PHPBB3-14345
2015-12-07 13:53:44 +01:00
Tristan Darricau
a740befb02 Merge pull request #4046 from CHItA/ticket/14269
[ticket/14269] Use http_exceptions in the installer instead of die()

* CHItA/ticket/14269:
  [ticket/14269] Change HTTP status codes to 403
  [ticket/14269] Fix comments and language var names
  [ticket/14269] Use http_exceptions in the installer instead of die()
2015-12-07 00:28:20 +01:00
Tristan Darricau
d0779e6fda Merge pull request #4065 from michaelcullum/ticket/14341
[ticket/14341] Update dependencies to Symfony 2.8 stable

* michaelcullum/ticket/14341:
  [ticket/14341] Update dependencies to Symfony 2.8 stable
2015-12-06 20:30:20 +01:00
kasimi
94c073672d [ticket/14343] Add event when locking/unlocking posts/topics
PHPBB3-14343
2015-12-06 20:05:27 +01:00
MichaelC
d9b107d2a3 [ticket/14341] Update dependencies to Symfony 2.8 stable
PHPBB3-14341
2015-12-06 16:21:14 +01:00
Mate Bartus
44a90c9812 [ticket/14269] Change HTTP status codes to 403
PHPBB3-14269
2015-12-05 15:42:22 +01:00
Marc Alexander
e8247faacc [ticket/14339] Properly state PHP version support
PHPBB3-14339
2015-12-05 13:54:39 +01:00
Tristan Darricau
ecb98ce81f Merge pull request #4006 from brunoais/feature/sql-bool-builder
[feature/sql-bool-builder] New syntax for DBAL query builder for boolean generation

* brunoais/feature/sql-bool-builder:
  [feature/sql-bool-builder] Fixing misuse of LOGICAL_OP instead of STATEMENTS
  [feature/sql-bool-builder] Fixing typos in previous commit
  [feature/sql-bool-builder] Changing syntax pt3. Don't use magic numbers
  [feature/sql-bool-builder] Changing syntax pt2. Fix tests
  [feature/sql-bool-builder] Changing syntax
2015-12-05 11:23:27 +01:00
Tristan Darricau
b4bbc7056a Merge pull request #4005 from Elsensee/ticket/14257
[ticket/14257] Reparse after update

* Elsensee/ticket/14257:
  [ticket/14257] Add tests for reparser manager
  [ticket/14257] Fix CLI reparser and set cron interval
  [ticket/14257] Fix CLI error message
  [ticket/14257] Fix phpdoc in CLI command
  [ticket/14257] Add text_reparser manager
  [ticket/14257] Use migrations instead of cron job for some reparsers
  [ticket/14257] Fix lock acquire in CLI command
  [ticket/14257] Fix if condition
  [ticket/14257] Add reparse_lock to CLI command
  [ticket/14257] Add cron tasks for reparsing text
2015-12-05 11:21:40 +01:00
Tristan Darricau
cfd0ec7e09 Merge branch '3.1.x'
* 3.1.x:
  [ticket/14334] Use phpbb_get_avatar() in user_loader
2015-12-05 11:07:29 +01:00
Tristan Darricau
7eef7b2ea2 Merge pull request #4057 from marc1706/ticket/14334
[ticket/14334] Use phpbb_get_avatar() in user_loader

* marc1706/ticket/14334:
  [ticket/14334] Use phpbb_get_avatar() in user_loader
2015-12-05 11:02:55 +01:00
Tristan Darricau
7afc7ba3b4 Merge pull request #4050 from nickvergessen/ticket/14317
Ticket/14317 Update language help files

* nickvergessen/ticket/14317:
  [ticket/14317] Make it easier to change the language iso tag
  [ticket/14317] Run the script again
2015-12-05 11:01:42 +01:00
Tristan Darricau
0b5f4922e1 Merge pull request #4060 from rxu/ticket/14340
[ticket/14340] Revert fix for segmentation fault error on phpBB 3.2 PHP7 tests

* rxu/ticket/14340:
  [ticket/14340] Revert fix for segmentation fault error on phpBB 3.2 PHP7 tests
2015-12-05 10:58:45 +01:00
Tristan Darricau
79ee7f3641 Merge pull request #4061 from JoshyPHP/ticket/9791
[ticket/9791] Added regression test

* JoshyPHP/ticket/9791:
  [ticket/9791] Added regression test
2015-12-05 10:56:32 +01:00
Tristan Darricau
c1543618f8 Merge pull request #4062 from JoshyPHP/ticket/13451
[ticket/13451] Added regression test

* JoshyPHP/ticket/13451:
  [ticket/13451] Added regression test
2015-12-05 10:55:34 +01:00
JoshyPHP
4b8acefc6c [ticket/13451] Added regression test
PHPBB3-13451
2015-12-05 09:53:26 +01:00
JoshyPHP
ba83745795 [ticket/9791] Added regression test
PHPBB3-9791
2015-12-05 08:05:43 +01:00
rxu
8916072a2a [ticket/14340] Revert fix for segmentation fault error on phpBB 3.2 PHP7 tests
The fix was introduces with #3826, now the PHP core bug has been fixed:
https://bugs.php.net/bug.php?id=70249

PHPBB3-14340
2015-12-05 00:01:27 +07:00
Mate Bartus
02a9264780 [ticket/14269] Fix comments and language var names
PHPBB3-14269
2015-12-03 20:31:49 +01:00
Marc Alexander
91869cc43c [ticket/14334] Use phpbb_get_avatar() in user_loader
PHPBB3-14334
2015-12-03 16:43:00 +01:00
Marc Alexander
b0dfca1dbf Merge pull request #4051 from CHItA/ticket/14311
[ticket/14311] Show errors in installer invoked by trigger_error
2015-12-03 10:52:32 +01:00
Marc Alexander
5d0e8eaf09 Merge pull request #4055 from CHItA/ticket/14326
[ticket/14326] Decode diffed file's content during update
2015-12-03 09:02:15 +01:00
Mate Bartus
e95414ed54 [ticket/14326] Decode diffed file's content during update
PHPBB3-14326
2015-12-02 12:16:32 +01:00
Mate Bartus
d1fc8f79e7 [ticket/14311] Use the iohandler for notices and warnings if possible
PHPBB3-14311
2015-12-01 18:50:20 +01:00
Marc Alexander
c2dddf296d Merge pull request #4053 from CHItA/ticket/14320
[ticket/14320] Fix language selector in the installer
2015-12-01 14:35:53 +01:00
Marc Alexander
d91762202a Merge pull request #4054 from CHItA/ticket/14325
[ticket/14325] Preserve event variable BC
2015-12-01 13:20:11 +01:00
Mate Bartus
fad26c97bc [ticket/14325] Fix variable names in docblocks
PHPBB3-14325
2015-11-30 18:27:06 +01:00
Mate Bartus
065b0a632f [ticket/14325] Preserve event variable BC
PHPBB3-14325
2015-11-30 18:05:46 +01:00
Mate Bartus
151535fdaf [ticket/14311] Show errors in installer invoked by trigger_error
PHPBB3-14311
2015-11-30 13:50:29 +01:00
Mate Bartus
4aac878ec7 [ticket/14320] Fix language selector in the installer
PHPBB3-14320
2015-11-29 15:49:18 +01:00
Joas Schilling
0c66d4816a [ticket/14317] Make it easier to change the language iso tag
PHPBB3-14317
2015-11-28 11:36:05 +01:00
Joas Schilling
941d138650 [ticket/14317] Run the script again
PHPBB3-14317
2015-11-28 11:34:55 +01:00
Mate Bartus
93b37b24c2 [ticket/14269] Use http_exceptions in the installer instead of die()
PHPBB3-14269
2015-11-27 14:50:21 +01:00
Marc Alexander
1316fe2084 Merge branch '3.1.x'
Conflicts:
	phpBB/styles/subsilver2/template/memberlist_group.html
2015-11-26 14:45:36 +01:00
Marc Alexander
8899829752 Merge pull request #4030 from RMcGirr83/ticket_14283
[ticket/14283] Add a Manage Group link on a group page
2015-11-26 14:44:51 +01:00
Marc Alexander
9d4f52a5eb Merge branch '3.1.x' 2015-11-26 14:27:57 +01:00
Marc Alexander
1a367062d3 Merge pull request #4045 from RMcGirr83/ticket_14313
[ticket/14313] Check for item approved explicitly
2015-11-26 14:27:54 +01:00
Richard McGirr
4966d6c913 [ticket/14313] Check for item approved explicitly
PHPBB3-14313
2015-11-26 05:23:18 -05:00
Marc Alexander
e487ef42a2 Merge branch '3.1.x' 2015-11-25 21:06:54 +01:00
Marc Alexander
ea9b97c8a1 Merge pull request #4044 from RMcGirr83/ticket_14313
[ticket/14313] Don't display quote button on unapproved posts
2015-11-25 21:06:50 +01:00
Marc Alexander
797b0c4058 Merge pull request #4034 from hanakin/ticket/14295
[ticket/14295]Add approval icon
2015-11-25 20:33:21 +01:00
Marc Alexander
290e23fb2d Merge pull request #4043 from RMcGirr83/ticket_12649
[ticket/12649] Remove duplicated code from viewforum_body
2015-11-25 20:30:50 +01:00
RMcGirr83
4ea325029b [ticket/14313] Don't display quote button on unapproved posts
PHPBB3-14313
2015-11-25 14:29:46 -05:00
RMcGirr83
08fa0b2323 [ticket/12649] Remove duplicated code from viewforum_body
PHPBB3-12649
2015-11-25 11:39:16 -05:00
Marc Alexander
4f0ecb0180 Merge pull request #4015 from RMcGirr83/ticket_12649
[ticket/12649] Change sort & display options in footers to dropdown menu
2015-11-25 13:39:58 +01:00
Richard McGirr
31510c0ae7 [ticket/14283] Check for user being group leader
PHPBB3-14283
2015-11-25 06:33:07 -05:00
Marc Alexander
c066266ae6 Merge branch '3.1.x' 2015-11-25 09:31:07 +01:00
Marc Alexander
59e058d884 Merge pull request #4042 from Nicofuma/ticket/13656-rhea
[ticket/13656][Rhea] Updates Symfony to fix the DB password issue
2015-11-25 09:31:06 +01:00
Marc Alexander
df223eac65 Merge pull request #4040 from Nicofuma/ticket/13656
[ticket/13656] Updates Symfony to fix the DB password issue
2015-11-25 09:30:56 +01:00
Tristan Darricau
38c05bfba3 Merge branch 'ticket/13656' into ticket/13656-rhea
* ticket/13656:
  [ticket/13656] Updates Symfony to fix the DB password issue
2015-11-25 00:11:38 +01:00
Tristan Darricau
0bff95488b [ticket/13656] Updates Symfony to fix the DB password issue
PHPBB3-13656
2015-11-25 00:04:48 +01:00
Marc Alexander
b81db686a8 Merge pull request #4031 from hanakin/ticket/14293
[ticket/14293]Fix postbody and profile responsive widths
2015-11-24 22:19:37 +01:00
Marc Alexander
eecde66ed4 Merge branch '3.1.x' 2015-11-24 21:46:01 +01:00
Marc Alexander
8489cb6f40 Merge pull request #4033 from tas2580/ticket/14297
[ticket/14297] Uppercase and lowercase when sorting topics
2015-11-24 21:45:53 +01:00
Marc Alexander
da6fb67703 Merge pull request #4041 from rxu/ticket/14308
[ticket/14308] Fix multibyte input for installer
2015-11-24 21:31:56 +01:00
Michael Miday
e0893c27a2 [ticket/14295]fix report icon as well
PHPBB3-14295
2015-11-24 18:49:45 +01:00
Michael Miday
eb7b0afede [ticket/14295]fix bidi
PHPBB3-14295
2015-11-24 18:40:42 +01:00
Michael Miday
21b58dcb6a [ticket/14295]missed one
PHPBB3-14295
2015-11-24 18:40:18 +01:00
Michael Miday
9225507c45 [ticket/14295]Fix spacing
PHPBB3-14295
2015-11-24 18:38:48 +01:00
rxu
c3b9b3ab5b [ticket/14308] Fix multibyte input for installer
PHPBB3-14308
2015-11-24 22:07:02 +07:00
brunoais
a3a163dea1 [feature/sql-bool-builder] Fixing misuse of LOGICAL_OP instead of STATEMENTS
PHPBB3-13652
2015-11-24 07:31:37 +00:00
Tristan Darricau
8a3288e3aa [master] Update version to 3.2.0-a2-dev 2015-11-23 23:20:04 +01:00
Tristan Darricau
3698e9b8e0 Merge branch 'prep-release-3.2.0-a1'
* prep-release-3.2.0-a1:
  [prep-release-3.2.0-a1] Add changelog for 3.2.0-a1
  [prep-release-3.2.0-a1] Add migration for 3.2.0-a1
  [prep-release-3.2.0-a1] Update version to 3.2.0-a1
2015-11-23 23:17:01 +01:00
Tristan Darricau
f283f5bd03 Merge pull request #4016 from CHItA/ticket/14270
[ticket/14270] Purge cache when the installer is finished

* CHItA/ticket/14270:
  [ticket/14270] Purge cache when the installer is finished
2015-11-23 22:02:24 +01:00
Tristan Darricau
30e01a9e4b Merge pull request #4026 from marc1706/ticket/14281
[ticket/14281] Fix installer CLI after recent changes

* marc1706/ticket/14281:
  [ticket/14281] Add install/phpbbcli.php to executable files list
  [ticket/14281] Correctly pass parameters to add_error_message
  [ticket/14281] Fix installer CLI after recent changes
2015-11-23 22:01:07 +01:00
Oliver Schramm
762b383d2b [ticket/14257] Add tests for reparser manager
PHPBB3-14257
2015-11-21 16:19:39 +01:00
Richard McGirr
3a55cead92 [ticket/14283] Remove group founder and free up memory
PHPBB3-14283
2015-11-18 06:29:23 -05:00
Marc Alexander
75e9b2a18d Merge pull request #4032 from hanakin/ticket/14294
[ticket/14294]Fix removal of wanted icons on mark read
2015-11-17 09:41:22 +01:00
Tobi Schäfer
f4f6a4f810 [ticket/14297] Uppercase and lowercase when sorting topics
PHPBB3-14297

Ticket: https://tracker.phpbb.com/browse/PHPBB3-14297
2015-11-16 21:01:32 +01:00
Michael Miday
0b444814e5 [ticket/14295]Add approval icon
PHPBB3-14295
2015-11-16 19:09:24 +01:00
Michael Miday
e031afc5f7 [ticket/14294]Fix removal of wanted icons
PHPBB3-14294
2015-11-16 19:02:28 +01:00
Michael Miday
c9ea49e1c2 [ticket/14293]Fix postbody and profile widths
PHPBB3-14293
2015-11-16 17:59:48 +01:00
Cesar G
cbf9408e66 Merge pull request #3960 from hanakin/ticket/14229
[ticket/14229]Responsive topic specific paging
2015-11-15 11:39:18 -08:00
Marc Alexander
780e472458 Merge branch '3.1.x'
Conflicts:
	phpBB/styles/prosilver/template/viewtopic_body.html
	phpBB/styles/subsilver2/template/viewtopic_body.html
2015-11-15 19:56:30 +01:00
Marc Alexander
e3f1cca911 Merge pull request #3888 from Senky/ticket/14146
[ticket/14146] Add viewtopic_body_post_subject_before event
2015-11-15 19:48:50 +01:00
Richard McGirr
df9443a3c6 [ticket/14283] Fix spelling of the word module
PHPBB3-14283
2015-11-14 14:48:54 -05:00
Richard McGirr
03662d5a89 [ticket/14283] Add a Manage Group link on a group page
PHPBB3-14283
2015-11-14 06:10:41 -05:00
Richard McGirr
7c736d527d [ticket/14289] Add events to navbar header
PHPBB3-14289
2015-11-13 05:50:10 -05:00
Marc Alexander
f7a25ad8c3 Merge branch '3.1.x'
Conflicts:
	phpBB/styles/subsilver2/template/search_body.html
2015-11-13 09:36:04 +01:00
Marc Alexander
8bb4af6271 Merge pull request #3805 from rxu/ticket/14066
[ticket/14066] Add template events to search_body.html
2015-11-13 09:34:25 +01:00
Marc Alexander
74cd82dff8 Merge branch '3.1.x' 2015-11-13 09:23:38 +01:00
Marc Alexander
27cf9e490b Merge pull request #3996 from RMcGirr83/ticket_14242
[ticket/14242] Fix memberlist sort method
2015-11-13 09:23:34 +01:00
Marc Alexander
21fe46bf8a Merge branch '3.1.x' 2015-11-12 17:57:02 +01:00
Marc Alexander
d53c5b7e2a Merge pull request #4028 from prototech/ticket/14287
[ticket/14287] Always remove loading indicator after confirming action.
2015-11-12 17:56:59 +01:00
Cesar G
da6ce7a668 [ticket/14287] Always remove loading indicator after confirming action.
If there is no success message after the action is confirmed, the indicator
is not currently removed.

PHPBB3-14287
2015-11-12 07:58:18 -08:00
rxu
19c84dabe1 [ticket/14066] Change the events listing order in events.md.
PHPBB3-14066
2015-11-12 20:53:36 +07:00
rxu
9ef06d67e6 [ticket/14066] Add template events to search_body.html
PHPBB3-14066
2015-11-12 20:53:35 +07:00
Cesar G
f180f9a181 Merge pull request #4027 from marc1706/ticket/14284
[ticket/14284] Correctly remove link to first unread post
2015-11-12 04:05:56 -08:00
Marc Alexander
a119a91a16 Merge branch '3.1.x' 2015-11-12 09:11:37 +01:00
Marc Alexander
224efba459 Merge pull request #3850 from rxu/ticket/14117
[ticket/14117] Add core events to index.php to allow modifying birthdays list
2015-11-12 09:11:32 +01:00
Marc Alexander
77f447c07c Merge branch '3.1.x' 2015-11-12 08:50:22 +01:00
Marc Alexander
8398e0700a Merge pull request #3910 from kinerity/ticket/14170
[ticket/14170] Fix mcp_change_poster_after event
2015-11-12 08:50:18 +01:00
Marc Alexander
87446452f5 Merge branch '3.1.x' 2015-11-12 08:46:09 +01:00
Marc Alexander
13133b359b Merge pull request #4022 from RMcGirr83/3.1.x
[ticket/14276] Adjust function get_folder_status
2015-11-12 08:46:05 +01:00
brunoais
335be2e59f [feature/sql-bool-builder] Fixing typos in previous commit
PHPBB3-13652
2015-11-12 06:52:34 +00:00
Marc Alexander
a11b900de4 [ticket/14284] Correctly remove link to first unread post
PHPBB3-14284
2015-11-11 17:19:10 +01:00
brunoais
9725f5757e [feature/sql-bool-builder] Changing syntax pt3. Don't use magic numbers
PHPBB3-13652
2015-11-11 08:38:38 +00:00
brunoais
062352e312 [feature/sql-bool-builder] Changing syntax pt2. Fix tests
PHPBB3-13652
2015-11-11 08:38:38 +00:00
brunoais
bb260f02e0 [feature/sql-bool-builder] Changing syntax
Changing the syntax used to the one Nicofuma suggested.

PHPBB3-13652
2015-11-11 08:38:37 +00:00
Michael Miday
34cf357599 [ticket/14229] fix inline-block link on row-item
PHPBB3-14229
2015-11-11 09:26:51 +01:00
Michael Miday
39f1c24af9 [ticket/14229] fix paging spacing
PHPBB3-14229
2015-11-11 09:26:51 +01:00
Michael Miday
c3c41d409b [ticket/14229]Responsive changes to topic paging 2015-11-11 09:26:50 +01:00
Michael Miday
0e22521aab [ticket/14229]topictitle should be inline
PHPBB3-14229
2015-11-11 09:26:50 +01:00
Máté Bartus
6806c20bce Merge pull request #4025 from marc1706/ticket/14280
[ticket/14280] Add missing language strings for version check
2015-11-10 19:18:50 +01:00
Marc Alexander
fc1008f6a3 Merge branch '3.1.x' 2015-11-10 17:40:41 +01:00
Marc Alexander
1c1fe43e16 Merge pull request #3930 from rxu/ticket/14201
[ticket/14201] Add multiple ACP template events
2015-11-10 17:40:04 +01:00
Marc Alexander
a6acbc445e [ticket/14281] Add install/phpbbcli.php to executable files list
PHPBB3-14281
2015-11-10 16:57:25 +01:00
Marc Alexander
a1abf8253f [ticket/14281] Correctly pass parameters to add_error_message
PHPBB3-14281
2015-11-10 16:49:30 +01:00
Marc Alexander
079b3d074d [ticket/14281] Fix installer CLI after recent changes
PHPBB3-14281
2015-11-10 15:01:18 +01:00
Marc Alexander
fd6c28f103 [ticket/14280] Add missing language strings for version check
PHPBB3-14280
2015-11-10 12:00:30 +01:00
Marc Alexander
966c34d0ad [ticket/14271] Properly use try_files in nginx sample config
PHPBB3-14271
2015-11-10 08:32:51 +01:00
Marc Alexander
b27be0b857 [ticket/14271] Improve try_files and use split path info
PHPBB3-14271
2015-11-09 09:26:05 +01:00
Mate Bartus
8d178f15f0 [ticket/14270] Purge cache when the installer is finished
PHPBB3-14270
2015-11-08 18:09:04 +01:00
Oliver Schramm
900ccd79af [ticket/14257] Fix CLI reparser and set cron interval
PHPBB3-14257
2015-11-08 03:29:37 +01:00
Richard McGirr
865c16cf26 [ticket/14276] Adjust function get_folder_status
PHPBB3-14276
2015-11-07 15:33:24 -05:00
Marc Alexander
27e95864a8 [ticket/14271] Update sample config
PHPBB3-14271
2015-11-05 16:55:19 +01:00
RMcGirr83
ffc4b5a6df [ticket/12649] Fix buttons css file
PHPBB3-12649
2015-11-04 13:14:22 -05:00
RMcGirr83
32d6d2a94e [ticket/12649] Restore missing css and fix html file
PHPBB3-12649
2015-11-04 13:11:15 -05:00
RMcGirr83
b0660c47df Merge remote-tracking branch 'origin/ticket_12649' into ticket_12649 2015-11-04 11:05:51 -05:00
RMcGirr83
de984caf98 Merge remote-tracking branch 'origin/ticket_12649' into ticket_12649
PHPBB3-12649
2015-11-04 11:05:25 -05:00
RMcGirr83
f518a57d0d [ticket/12649] Fix bidi.css
PHPBB3-12649
2015-11-03 14:48:06 -05:00
RMcGirr83
9a4e998f70 [ticket/12649] Change sort & display options in footers to dropdown menu
PHPBB3-12649
2015-11-03 14:48:05 -05:00
Richard McGirr
5d7f67105b [ticket/12649] Change sort & display options in footers to dropdown menu
PHPBB3-12649
2015-11-01 06:51:03 -05:00
Oliver Schramm
081424a6c4 [ticket/14257] Fix CLI error message
PHPBB3-14257
2015-11-01 03:31:09 +01:00
RMcGirr83
21aa6cc120 [ticket/14242] Revert some changes
PHPBB3-14242
2015-10-30 13:09:55 -04:00
Zoddo
fbacd1df16 [ticket/14261] Fix tests by removing old code.
This will obselete GH-4007

PHPBB3-14261
PHPBB3-13202
2015-10-28 12:32:24 +01:00
Zoddo
88dd8a4849 [ticket/14261] Move the update of session informations to page_footer()
Currently, the unique way to disable the update of session_page is to pass
"false" to the parameter of session_begin(). This method is directly
called in app.php, so pages served from the routing system can't disable
the update of session informations.

By moving the update to page_footer, we can allow controllers to tell to
the session manager that we don't want to update the session infos.

PHPBB3-14261
2015-10-27 17:26:18 +01:00
Richard McGirr
c1d47d9e16 [ticket/14242] Fix u_sort_posts to use correct sort key
PHPBB3-14242
2015-10-26 06:42:33 -04:00
Oliver Schramm
c805fd2a73 [ticket/14257] Fix phpdoc in CLI command
PHPBB3-14257
2015-10-26 01:49:11 +01:00
Oliver Schramm
25e2b17837 [ticket/14257] Add text_reparser manager
PHPBB3-14257
2015-10-26 01:39:52 +01:00
Oliver Schramm
33500fd372 [ticket/14257] Use migrations instead of cron job for some reparsers
PHPBB3-14257
2015-10-25 02:30:01 +01:00
Oliver Schramm
8b0f8d7b3c [ticket/14257] Fix lock acquire in CLI command
PHPBB3-14257
2015-10-25 02:32:19 +02:00
Oliver Schramm
c7ebbcf9f2 [ticket/14257] Fix if condition
PHPBB3-14257
2015-10-24 21:24:34 +02:00
Oliver Schramm
c7ecb1310f [ticket/14257] Add reparse_lock to CLI command
PHPBB3-14257
2015-10-24 20:16:54 +02:00
Oliver Schramm
8376c6552a [ticket/14257] Add cron tasks for reparsing text
PHPBB3-14257
2015-10-24 20:01:15 +02:00
RMcGirr83
b23c0f1442 [ticket/14242] Fix memberlist sort method
PHPBB3-14242
2015-10-19 09:53:43 -04:00
Kailey Truscott
08739751b2 [ticket/14170] Revert mcp_change_poster_after @since change
Revert the @since change back to 3.1.6-RC1.
Add @changed line 3.1.7-RC1 and description.

PHPBB3-14170
2015-10-13 21:26:24 -04:00
Jakub Senko
d507bce98a [ticket/14146] Add viewtopic_body_post_subject_before event
PHPBB3-14146
2015-10-12 20:05:48 +02:00
rxu
b7bd210f41 [ticket/14117] Add core events to index.php to allow modifying birthdays list
PHPBB3-14117
2015-10-12 22:14:57 +07:00
rxu
1260f92813 [ticket/14201] Add events.md descriptions, fix accidentally swapped events
PHPBB3-14201
2015-10-12 21:31:09 +07:00
Jakub Senko
7799bffc65 [ticket/14190] Add core.ucp_prefs_view_after event
PHPBB3-14190
2015-10-12 16:23:53 +02:00
Kilian
49f8192ba2 [ticket/12618] Minor fix: Don't cast bool to int anymore
PHPBB3-12618
2015-09-29 00:08:34 +02:00
rxu
2642cfe298 [ticket/14201] Add more template events to ACP
PHPBB3-14201
2015-09-26 23:58:59 +07:00
rxu
3672df0bc2 [ticket/14201] Add events to acp_users.html, permission_forum_copy.html
PHPBB3-14201
2015-09-26 22:36:38 +07:00
rxu
098c8e1fe9 [ticket/14201] Add template events to acp_permissions.html
PHPBB3-14201
2015-09-26 22:20:52 +07:00
Kilian
30279347ac [ticket/12618] Allow extension author to use SSL for version-check
For version-check a new parameter 'ssl' is introduced.
If set to true, it will use 443 as port for the file_downloader.
In file_downloader, the host parameter of fsockopen is appended
with 'ssl://' in case the port is 443 in order to use SSL.

PHPBB3-12618
2015-09-25 22:16:29 +02:00
Kailey Truscott
07b55530ec [ticket/14170] Fix mcp_change_poster_after event
Move the mcp_change_poster_after event to before renewing $post_info. I
changed the "since" version as this would be fixed in 3.1.7-RC1.

PHPBB3-14170
2015-09-16 22:49:06 -04:00
javiexin
56f47c1344 [ticket/13908] "After" clause in migration not working
In a migration file, if you try to add a column to a table and specify
the order, by specifying an "after" clause, it is not used at all, even
for databases that support it (like mysql).
This fixes the issue, for mysql databases. Typo fixed.

PHPBB3-13908
2015-06-02 09:00:05 +02:00
javiexin
86945bdf84 [ticket/13908] "After" clause in migration not working
In a migration file, if you try to add a column to a table and specify
the order, by specifying an "after" clause, it is not used at all, even
for databases that support it (like mysql).
This fixes the issue, for mysql databases.

PHPBB3-13908
2015-06-01 19:50:32 +02:00
David King
9dc1729e37 [ticket/13733] Add isInstantiable() check.
PHPBB3-13733
2015-05-24 01:32:01 -04:00
David King
c485540f53 [ticket/13733] Braces on their own lines
PHPBB3-13733
2015-05-23 21:38:59 -04:00
David King
65316cffaf [ticket/13733] Allow tests the skip class validation
PHPBB3-13733
2015-05-23 21:13:30 -04:00
David King
4ecc13af83 [ticket/13733] Properly handle nonexistent classes as well
PHPBB3-13733
2015-05-23 20:13:23 -04:00
David King
9e6f9c8a64 [ticket/13733] Handle nonexistent classes as well
PHPBB3-13733
2015-05-23 19:57:32 -04:00
David King
715d365a5e [ticket/13733] Only use migration classes that extension the base migration class.
PHPBB3-13733
2015-05-23 17:06:25 -04:00
hjpotter92
7696f39ac3 [ticket/11875] Recreate schemas for install
PHPBB3-11875
2014-03-18 13:32:44 +05:30
hjpotter92
f6e45ed244 [ticket/11875] Create new map for UNSIGNED 4-byte integer
ULINT => Unsigned Large INTeger
2014-03-18 12:53:06 +05:30
hjpotter92
48fc908e6b [ticket/11875] Upgrade default data type from MEDIUMINT to INT
Use 4-byte data type INT(10) for user_id, post_id and topic_id across
all tables instead of previously used 3-byte MEDIUMINT(8)

PHPBB3-11875
2014-02-28 03:58:32 +05:30
354 changed files with 13258 additions and 3399 deletions

View File

@@ -2,9 +2,9 @@
<project name="phpBB" description="The phpBB forum software" default="all" basedir="../">
<!-- a few settings for the build -->
<property name="newversion" value="3.2.0-a1" />
<property name="prevversion" value="3.1.6" />
<property name="olderversions" value="3.0.14, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5" />
<property name="newversion" value="3.2.0-b1" />
<property name="prevversion" value="3.2.0-a2" />
<property name="olderversions" value="3.0.14, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.7-pl1, 3.2.0-a1" />
<!-- no configuration should be needed beyond this point -->
<property name="oldversions" value="${olderversions}, ${prevversion}" />
@@ -303,9 +303,25 @@
<target name="clean-vendor-dir">
<!-- Delete unrelated files from vendor/, see PHPBB3-12390 -->
<delete dir="${dir}/vendor/bantu/ini-get-wrapper/tests" />
<delete file="${dir}/vendor/bantu/ini-get-wrapper/.gitignore" />
<delete file="${dir}/vendor/bantu/ini-get-wrapper/.scrutinizer.yml" />
<delete file="${dir}/vendor/bantu/ini-get-wrapper/.travis.yml" />
<delete file="${dir}/vendor/bantu/ini-get-wrapper/phpunit.xml.dist" />
<delete file="${dir}/vendor/bantu/ini-get-wrapper/README.md" />
<delete dir="${dir}/vendor/google/recaptcha/examples" />
<delete dir="${dir}/vendor/google/recaptcha/tests" />
<delete file="${dir}/vendor/google/recaptcha/.gitignore" />
<delete file="${dir}/vendor/google/recaptcha/.travis.yml" />
<delete file="${dir}/vendor/google/recaptcha/CONTRIBUTING.md" />
<delete file="${dir}/vendor/google/recaptcha/phpunit.xml.dist" />
<delete file="${dir}/vendor/google/recaptcha/README.md" />
<delete dir="${dir}/vendor/lusitanian/oauth/examples" />
<delete dir="${dir}/vendor/lusitanian/oauth/tests" />
<delete file="${dir}/vendor/lusitanian/oauth/.gitignore" />
<delete file="${dir}/vendor/lusitanian/oauth/.scrutinizer.yml" />
<delete file="${dir}/vendor/lusitanian/oauth/.travis.yml" />
<delete file="${dir}/vendor/lusitanian/oauth/phpunit.xml.dist" />
<delete file="${dir}/vendor/lusitanian/oauth/README.md" />
@@ -391,12 +407,19 @@
<delete file="${dir}/vendor/symfony/routing/README.md" />
<delete file="${dir}/vendor/symfony/routing/phpunit.xml.dist" />
<delete dir="${dir}/vendor/symfony/twig-bridge/.git" />
<delete dir="${dir}/vendor/symfony/twig-bridge/Tests" />
<delete file="${dir}/vendor/symfony/twig-bridge/.gitignore" />
<delete file="${dir}/vendor/symfony/twig-bridge/CHANGELOG.md" />
<delete file="${dir}/vendor/symfony/twig-bridge/README.md" />
<delete file="${dir}/vendor/symfony/twig-bridge/phpunit.xml.dist" />
<delete dir="${dir}/vendor/symfony/yaml/.git" />
<delete dir="${dir}/vendor/symfony/yaml/Symfony/Tests" />
<delete file="${dir}/vendor/symfony/yaml/Symfony/.gitignore" />
<delete file="${dir}/vendor/symfony/yaml/Symfony/CHANGELOG.md" />
<delete file="${dir}/vendor/symfony/yaml/Symfony/README.md" />
<delete file="${dir}/vendor/symfony/yaml/Symfony/phpunit.xml.dist" />
<delete dir="${dir}/vendor/symfony/yaml/Tests" />
<delete file="${dir}/vendor/symfony/yaml/.gitignore" />
<delete file="${dir}/vendor/symfony/yaml/CHANGELOG.md" />
<delete file="${dir}/vendor/symfony/yaml/README.md" />
<delete file="${dir}/vendor/symfony/yaml/phpunit.xml.dist" />
<delete dir="${dir}/vendor/twig/twig/doc" />
<delete dir="${dir}/vendor/twig/twig/ext" />
@@ -404,38 +427,9 @@
<delete file="${dir}/vendor/twig/twig/.editorconfig" />
<delete file="${dir}/vendor/twig/twig/.gitignore" />
<delete file="${dir}/vendor/twig/twig/.travis.yml" />
<delete file="${dir}/vendor/twig/twig/AUTHORS" />
<delete file="${dir}/vendor/twig/twig/CHANGELOG" />
<delete file="${dir}/vendor/twig/twig/phpunit.xml.dist" />
<delete file="${dir}/vendor/twig/twig/README.markdown" />
<delete dir="${dir}/vendor/symfony/security-core/.git" />
<delete dir="${dir}/vendor/symfony/security-core/Core/Tests" />
<delete file="${dir}/vendor/symfony/security-core/Core/.gitignore" />
<delete file="${dir}/vendor/symfony/security-core/Core/CHANGELOG.md" />
<delete file="${dir}/vendor/symfony/security-core/Core/README.md" />
<delete file="${dir}/vendor/symfony/security-core/Core/phpunit.xml.dist" />
<delete dir="${dir}/vendor/symfony/security-csrf/.git" />
<delete dir="${dir}/vendor/symfony/security-csrf/Csrf/Tests" />
<delete file="${dir}/vendor/symfony/security-csrf/Csrf/.gitignore" />
<delete file="${dir}/vendor/symfony/security-csrf/Csrf/CHANGELOG.md" />
<delete file="${dir}/vendor/symfony/security-csrf/Csrf/README.md" />
<delete file="${dir}/vendor/symfony/security-csrf/Csrf/phpunit.xml.dist" />
<delete dir="${dir}/vendor/symfony/twig-bridge/.git" />
<delete dir="${dir}/vendor/symfony/twig-bridge/Symfony/Bridge/Twig/Tests" />
<delete file="${dir}/vendor/symfony/twig-bridge/Symfony/Bridge/Twig/.gitignore" />
<delete file="${dir}/vendor/symfony/twig-bridge/Symfony/Bridge/Twig/CHANGELOG.md" />
<delete file="${dir}/vendor/symfony/twig-bridge/Symfony/Bridge/Twig/README.md" />
<delete file="${dir}/vendor/symfony/twig-bridge/Symfony/Bridge/Twig/phpunit.xml.dist" />
<delete dir="${dir}/vendor/symfony/security/.git" />
<delete dir="${dir}/vendor/symfony/security/Tests" />
<delete file="${dir}/vendor/symfony/security/.gitignore" />
<delete file="${dir}/vendor/symfony/security/CHANGELOG.md" />
<delete file="${dir}/vendor/symfony/security/README.md" />
<delete file="${dir}/vendor/symfony/security/phpunit.xml.dist" />
<delete file="${dir}/vendor/twig/twig/README.rst" />
</target>
<target name="clean-diff-dir">

View File

@@ -87,6 +87,11 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements PHP_CodeSniffer_Sniff
$old_simple_statement = $simple_statement;
$simple_class_name_start = $phpcsFile->findNext(array(T_NS_SEPARATOR, T_STRING), ($simple_statement + 1));
if ($simple_class_name_start === false) {
continue;
}
$simple_class_name_end = $phpcsFile->findNext($find, ($simple_statement + 1), null, true);
$simple_class_name = trim($phpcsFile->getTokensAsString($simple_class_name_start, ($simple_class_name_end - $simple_class_name_start)));

Binary file not shown.

View File

@@ -52,7 +52,7 @@
<legend>{L_TITLE}</legend>
<dl>
<dt><label for="ban">{L_BAN_CELL}{L_COLON}</label></dt>
<dd><textarea name="ban" cols="40" rows="3" id="ban"></textarea></dd>
<dd><!-- EVENT acp_ban_cell_prepend --><textarea name="ban" cols="40" rows="3" id="ban"></textarea><!-- EVENT acp_ban_cell_append --></dd>
<!-- IF S_USERNAME_BAN --><dd>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd><!-- ENDIF -->
</dl>
<dl>

View File

@@ -19,12 +19,14 @@
<legend>{L_COMPOSE}</legend>
<dl>
<dt><label for="group">{L_SEND_TO_GROUP}{L_COLON}</label></dt>
<!-- EVENT acp_email_group_options_prepend -->
<dd><select id="group" name="g">{S_GROUP_OPTIONS}</select></dd>
<!-- EVENT acp_email_group_options_append -->
</dl>
<dl>
<dt><label for="usernames">{L_SEND_TO_USERS}{L_COLON}</label><br /><span>{L_SEND_TO_USERS_EXPLAIN}</span></dt>
<dd><textarea name="usernames" id="usernames" rows="5" cols="40">{USERNAMES}</textarea></dd>
<dd>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd>
<dd><!-- EVENT acp_email_find_username_prepend -->[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]<!-- EVENT acp_email_find_username_append --></dd>
</dl>
<dl>
<dt><label for="subject">{L_SUBJECT}{L_COLON}</label></dt>

View File

@@ -498,7 +498,7 @@
<fieldset class="quick">
{L_SELECT_FORUM}{L_COLON} <select name="parent_id" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{FORUM_BOX}</select>
<input class="button2" type="submit" value="{L_GO}" />
<!-- EVENT acp_forums_quick_select_button_prepend --><input class="button2" type="submit" value="{L_GO}" /><!-- EVENT acp_forums_quick_select_button_append -->
{S_FORM_TOKEN}
</fieldset>
</form>

View File

@@ -236,7 +236,7 @@
<dl>
<dt><label for="usernames">{L_USERNAME}{L_COLON}</label><br /><span>{L_USERNAMES_EXPLAIN}</span></dt>
<dd><textarea id="usernames" name="usernames" cols="40" rows="5"></textarea></dd>
<dd>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd>
<dd><!-- EVENT acp_groups_find_username_prepend -->[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]<!-- EVENT acp_groups_find_username_append --></dd>
</dl>
<p class="quick">
@@ -265,12 +265,14 @@
<form id="acp_groups" method="post" action="{U_ACTION}">
<!-- EVENT acp_groups_manage_before -->
<table class="table1">
<col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
<col class="col1" /><col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
<thead>
<tr>
<th style="width: 50%">{L_GROUP}</th>
<th>{L_TOTAL_MEMBERS}</th>
<th>{L_PENDING_MEMBERS}</th>
<th colspan="2">{L_OPTIONS}</th>
<th>{L_ACTION}</th>
</tr>
@@ -280,11 +282,12 @@
<!-- IF groups.S_SPECIAL -->
<!-- IF groups.S_FIRST_ROW -->
<tr>
<td colspan="5" class="row3">{L_NO_GROUPS_CREATED}</td>
<td colspan="6" class="row3">{L_NO_GROUPS_CREATED}</td>
</tr>
<!-- ENDIF -->
</tbody>
</table>
<!-- EVENT acp_groups_manage_after -->
<fieldset class="quick">
<!-- IF S_GROUP_ADD -->
@@ -300,11 +303,12 @@
<p>{L_SPECIAL_GROUPS_EXPLAIN}</p>
<table class="table1">
<col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" /><col class="col2" />
<col class="col1" /><col class="col1" /><col class="col1" /><col class="col2" /><col class="col2" />
<thead>
<tr>
<th style="width: 50%">{L_GROUP}</th>
<th>{L_TOTAL_MEMBERS}</th>
<th>{L_PENDING_MEMBERS}</th>
<th colspan="2">{L_OPTIONS}</th>
<th>{L_ACTION}</th>
</tr>
@@ -314,6 +318,7 @@
<tr>
<td><strong>{groups.GROUP_NAME}</strong></td>
<td style="text-align: center;">{groups.TOTAL_MEMBERS}</td>
<td style="text-align: center;">{groups.PENDING_MEMBERS}</td>
<td style="text-align: center;"><a href="{groups.U_EDIT}">{L_SETTINGS}</a></td>
<td style="text-align: center;"><a href="{groups.U_LIST}">{L_MEMBERS}</a></td>
<td style="text-align: center;"><!-- IF not groups.S_GROUP_SPECIAL and groups.U_DELETE --><a href="{groups.U_DELETE}" data-ajax="row_delete">{L_DELETE}</a><!-- ELSE -->{L_DELETE}<!-- ENDIF --></td>

View File

@@ -65,8 +65,10 @@
<option<!-- IF add_legend.GROUP_SPECIAL --> class="sep"<!-- ENDIF --> value="{add_legend.GROUP_ID}">{add_legend.GROUP_NAME}</option>
<!-- END add_legend -->
</select>
<!-- EVENT acp_groups_position_legend_add_button_before -->
<input class="button2" type="submit" name="submit" value="{L_ADD}" />
<input type="hidden" name="action" value="add" />
<!-- EVENT acp_groups_position_legend_add_button_after -->
{S_FORM_TOKEN}
</fieldset>
</form>
@@ -162,8 +164,10 @@
<option<!-- IF add_teampage.GROUP_SPECIAL --> class="sep"<!-- ENDIF --> value="{add_teampage.GROUP_ID}">{add_teampage.GROUP_NAME}</option>
<!-- END add_teampage -->
</select>
<!-- EVENT acp_groups_position_teampage_add_button_before -->
<input class="button2" type="submit" name="submit" value="{L_ADD}" />
<input type="hidden" name="action" value="add" />
<!-- EVENT acp_groups_position_teampage_add_button_after -->
{S_FORM_TOKEN}
</fieldset>
</form>

View File

@@ -73,7 +73,7 @@
<!-- IF S_SHOW_FORUMS -->
<fieldset class="quick">
{L_SELECT_FORUM}{L_COLON} <select name="f" onchange="if(this.options[this.selectedIndex].value != -1){ this.form.submit(); }">{S_FORUM_BOX}</select>
<input class="button2" type="submit" value="{L_GO}" />
<!-- EVENT acp_logs_quick_select_forum_button_prepend --><input class="button2" type="submit" value="{L_GO}" /><!-- EVENT acp_logs_quick_select_forum_button_append -->
</fieldset>
<!-- ENDIF -->

View File

@@ -146,7 +146,7 @@
<!-- IF S_VERSIONCHECK -->
<td>{L_BOARD_VERSION}{L_COLON} </td>
<td>
<strong><a href="{U_VERSIONCHECK}" <!-- IF S_VERSION_UP_TO_DATE -->style="color: #228822;"<!-- ELSE -->style="color: #BC2A4D;"<!-- ENDIF --> title="{L_MORE_INFORMATION}">{BOARD_VERSION}</a></strong> [&nbsp;<a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a>&nbsp;]
<strong><a href="{U_VERSIONCHECK}" <!-- IF S_VERSION_UP_TO_DATE -->style="color: #228822;" <!-- ELSEIF not S_VERSIONCHECK_FAIL -->style="color: #BC2A4D;" <!-- ENDIF -->title="{L_MORE_INFORMATION}">{BOARD_VERSION}</a></strong> [&nbsp;<a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a>&nbsp;]
</td>
<!-- ENDIF -->
<!-- IF S_TOTAL_ORPHAN -->

View File

@@ -30,7 +30,7 @@
<legend>{L_LOOK_UP_FORUM}</legend>
<!-- IF S_FORUM_MULTIPLE --><p>{L_LOOK_UP_FORUMS_EXPLAIN}</p><!-- ENDIF -->
<dl>
<dt><label for="forum">{L_LOOK_UP_FORUM}{L_COLON}</label></dt>
<dt><!-- EVENT acp_permissions_select_multiple_forum_prepend --><label for="forum">{L_LOOK_UP_FORUM}{L_COLON}</label><!-- EVENT acp_permissions_select_multiple_forum_append --></dt>
<dd><select id="forum" name="forum_id[]"<!-- IF S_FORUM_MULTIPLE --> multiple="multiple"<!-- ENDIF --> size="10">{S_FORUM_OPTIONS}</select></dd>
<!-- IF S_FORUM_ALL --><dd><label><input type="checkbox" class="radio" name="all_forums" value="1" /> {L_ALL_FORUMS}</label></dd><!-- ENDIF -->
</dl>
@@ -52,7 +52,7 @@
<legend>{L_LOOK_UP_FORUM}</legend>
<p>{L_SELECT_FORUM_SUBFORUM_EXPLAIN}</p>
<dl>
<dt><label for="sforum">{L_LOOK_UP_FORUM}{L_COLON}</label></dt>
<dt><!-- EVENT acp_permissions_select_forum_prepend --><label for="sforum">{L_LOOK_UP_FORUM}{L_COLON}</label><!-- EVENT acp_permissions_select_forum_append --></dt>
<dd><select id="sforum" name="subforum_id">{S_SUBFORUM_OPTIONS}</select></dd>
</dl>
@@ -95,7 +95,7 @@
<fieldset>
<legend>{L_LOOK_UP_GROUP}</legend>
<dl>
<dt><label for="group">{L_LOOK_UP_GROUP}{L_COLON}</label></dt>
<dt><!-- EVENT acp_permissions_select_group_prepend --><label for="group">{L_LOOK_UP_GROUP}{L_COLON}</label><!-- EVENT acp_permissions_select_group_append --></dt>
<dd><select name="group_id[]" id="group">{S_GROUP_OPTIONS}</select></dd>
</dl>
@@ -140,7 +140,7 @@
<p>{L_USERNAMES_EXPLAIN}</p>
<dl>
<dd class="full"><textarea id="username" name="usernames" rows="5" cols="5" style="width: 100%; height: 60px;"></textarea></dd>
<dd class="full" style="text-align: left;"><div style="float: {S_CONTENT_FLOW_END};">[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</div><label><input type="checkbox" class="radio" id="anonymous" name="user_id[]" value="{ANONYMOUS_USER_ID}" /> {L_SELECT_ANONYMOUS}</label></dd>
<dd class="full" style="text-align: left;"><!-- EVENT acp_permissions_find_username_prepend --><div style="float: {S_CONTENT_FLOW_END};">[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</div><!-- EVENT acp_permissions_find_username_append --><label><input type="checkbox" class="radio" id="anonymous" name="user_id[]" value="{ANONYMOUS_USER_ID}" /> {L_SELECT_ANONYMOUS}</label></dd>
</dl>
</fieldset>
@@ -183,7 +183,7 @@
<fieldset>
<legend>{L_ADD_GROUPS}</legend>
<dl>
<dd class="full"><select name="group_id[]" style="width: 100%; height: 107px;" multiple="multiple">{S_ADD_GROUP_OPTIONS}</select></dd>
<dd class="full"><!-- EVENT acp_permissions_add_group_options_prepend --><select name="group_id[]" style="width: 100%; height: 107px;" multiple="multiple">{S_ADD_GROUP_OPTIONS}</select><!-- EVENT acp_permissions_add_group_options_append --></dd>
</dl>
</fieldset>
@@ -267,7 +267,9 @@
<legend>{L_LOOK_UP_GROUP}</legend>
<dl>
<dt><label for="group_select">{L_LOOK_UP_GROUP}{L_COLON}</label></dt>
<!-- EVENT acp_permissions_select_group_before -->
<dd><select name="group_id[]" id="group_select">{S_ADD_GROUP_OPTIONS}</select></dd>
<!-- EVENT acp_permissions_select_group_after -->
<dd>&nbsp;</dd>
</dl>
</fieldset>

View File

@@ -43,7 +43,7 @@
<legend>{L_SELECT_FORUM}</legend>
<p>{L_LOOK_UP_FORUMS_EXPLAIN}</p>
<dl>
<dt><label for="forum">{L_LOOK_UP_FORUM}{L_COLON}</label></dt>
<dt><!-- EVENT acp_prune_forums_prepend --><label for="forum">{L_LOOK_UP_FORUM}{L_COLON}</label><!-- EVENT acp_prune_forums_append --></dt>
<dd><select id="forum" name="f[]" multiple="multiple" size="10">{S_FORUM_OPTIONS}</select></dd>
<dd><label><input type="checkbox" class="radio" name="all_forums" value="1" /> {L_ALL_FORUMS}</label></dd>
</dl>

View File

@@ -50,7 +50,7 @@
<dl>
<dt><label for="users">{L_ACP_PRUNE_USERS}{L_COLON}</label><br /><span>{L_SELECT_USERS_EXPLAIN}</span></dt>
<dd><textarea id="users" name="users" cols="40" rows="5"></textarea></dd>
<dd>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</dd>
<dd><!-- EVENT acp_prune_users_find_username_prepend -->[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]<!-- EVENT acp_prune_users_find_username_append --></dd>
</dl>
</fieldset>

View File

@@ -146,7 +146,9 @@
<!-- IF S_GROUP_OPTIONS -->
<fieldset class="quick">
<!-- EVENT acp_users_select_group_before -->
{L_USER_GROUP_ADD}{L_COLON} <select name="g">{S_GROUP_OPTIONS}</select> <input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
<!-- EVENT acp_users_select_group_after -->
{S_FORM_TOKEN}
</fieldset>
<!-- ENDIF -->

View File

@@ -52,7 +52,7 @@
<dl>
<dt><label for="dateoptions">{L_BOARD_DATE_FORMAT}{L_COLON}</label><br /><span>{L_BOARD_DATE_FORMAT_EXPLAIN}</span></dt>
<dd><select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){phpbb.toggleDisplay('custom_date',1);}else{phpbb.toggleDisplay('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = default_dateformat; } else { document.getElementById('dateformat').value = this.value; }">{S_DATEFORMAT_OPTIONS}</select></dd>
<dd><div id="custom_date"<!-- IF not S_CUSTOM_DATEFORMAT --> style="display:none;"<!-- ENDIF -->><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" maxlength="30" /></div></dd>
<dd><div id="custom_date"<!-- IF not S_CUSTOM_DATEFORMAT --> style="display:none;"<!-- ENDIF -->><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" maxlength="64" /></div></dd>
</dl>
<!-- EVENT acp_users_prefs_personal_append -->
</fieldset>

View File

@@ -2554,6 +2554,7 @@ fieldset.permissions .padding {
#progress-bar {
position: relative;
width: 90%;
text-align: center;
height: 25px;
margin: 20px auto;
border: 1px solid #cecece;
@@ -2563,9 +2564,7 @@ fieldset.permissions .padding {
position: absolute;
top: 0;
width: 100%;
text-align: center;
line-height: 25px;
font-weight: bold;
color: #000;
}
#progress-bar #progress-bar-filler {
@@ -2576,4 +2575,11 @@ fieldset.permissions .padding {
background-color: #3c84ad;
width: 0;
height: 25px;
overflow: hidden;
color: #fff;
}
#progress-bar p {
line-height: 25px;
font-weight: bold;
}

View File

@@ -0,0 +1,87 @@
<!-- INCLUDE installer_header.html -->
<!-- IF TITLE --><h1>{TITLE}</h1><!-- ENDIF -->
<!-- IF S_ERROR_BOX -->
<div class="errorbox">
<h3>{ERROR_TITLE}</h3>
<p>{ERROR_MSG}</p>
</div>
<!-- ENDIF -->
<!-- IF .errors -->
<div id="error-container">
<!-- BEGIN errors -->
<strong>{errors.TITLE}</strong>
<!-- IF errors.DESCRIPTION --><p>{errors.DESCRIPTION}</p><!-- ENDIF -->
<!-- END errors -->
</div>
<!-- ENDIF -->
<!-- IF BODY --><p>{BODY}</p><!-- ENDIF -->
<!-- IF CONTENT -->{CONTENT}<!-- ENDIF -->
<!-- IF S_CONV_IN_PROGRESS -->
<p class="centered-text"><a href="{U_ACTION}" class="button1<!-- IF S_REFRESH --> disabled<!-- ENDIF -->"<!-- IF S_REFRESH --> onclick="return false;"<!-- ENDIF -->>{L_SUBMIT}</a></p>
<!-- ENDIF -->
<!-- IF S_CONTINUE -->
<div id="download-wrapper" class="download-box">
<p class="centered-text">
<a href="{U_NEW_ACTION}" class="button1">{L_CONVERT_NEW_CONVERSION}</a>
<a href="{U_CONTINUE_ACTION}" class="button1">{L_CONTINUE_OLD_CONVERSION}</a>
</p>
</div>
<!-- ENDIF -->
<!-- IF S_LIST -->
<table class="table1">
<caption>{L_AVAILABLE_CONVERTORS}</caption>
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
<thead>
<tr>
<th>{L_SOFTWARE}</th>
<th>{L_VERSION}</th>
<th>{L_AUTHOR}</th>
<th>{L_CONVERT_OPTIONS}</th>
</tr>
</thead>
<tbody>
<!-- IF .convertors -->
<!-- BEGIN convertors -->
<tr>
<td>{convertors.SOFTWARE}</td>
<td>{convertors.VERSION}</td>
<td>{convertors.AUTHOR}</td>
<td><a href="{convertors.U_CONVERT}">{L_CONVERT}</a></td>
</tr>
<!-- END convertors -->
<!-- ELSE -->
<tr>
<td>{L_NO_CONVERTORS}</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<!-- ENDIF -->
</tbody>
</table>
<!-- ENDIF -->
<!-- IF .checks -->
<fieldset>
<!-- BEGIN checks -->
<!-- IF checks.S_LEGEND -->
<!-- IF not checks.S_FIRST_ROW -->
</fieldset>
<fieldset>
<!-- ENDIF -->
<legend>{checks.LEGEND}</legend>
<!-- IF checks.LEGEND_EXPLAIN --><p>{checks.LEGEND_EXPLAIN}</p><!-- ENDIF -->
<!-- ELSE -->
<dl>
<dt><label>{checks.TITLE}{L_COLON}</label><!-- IF checks.S_EXPLAIN --><br /><span class="explain">{checks.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{checks.RESULT}</dd>
</dl>
<!-- ENDIF -->
<!-- END checks -->
</fieldset>
<!-- ENDIF -->
<!-- INCLUDEJS {T_ASSETS_PATH}/javascript/installer.js -->
<!-- INCLUDE installer_footer.html -->

View File

@@ -12,8 +12,8 @@
</div>
<script type="text/javascript" src="{T_JQUERY_LINK}"></script>
<!-- IF S_ALLOW_CDN --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF -->
<script type="text/javascript" src="{T_ASSETS_PATH}javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- IF S_ALLOW_CDN --><script type="text/javascript">window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js">\x3C/script>');</script><!-- ENDIF -->
<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- INCLUDEJS admin.js -->
{$SCRIPTS}

View File

@@ -6,7 +6,7 @@
<!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title>
<link href="{T_TEMPLATE_PATH}admin.css" rel="stylesheet" type="text/css" media="screen" />
<link href="{T_TEMPLATE_PATH}/admin.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body class="{S_CONTENT_DIRECTION} nojs">

View File

@@ -9,5 +9,5 @@
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDEJS {T_ASSETS_PATH}javascript/installer.js -->
<!-- INCLUDEJS {T_ASSETS_PATH}/javascript/installer.js -->
<!-- INCLUDE installer_footer.html -->

View File

@@ -9,5 +9,5 @@
</fieldset>
</form>
<!-- ENDIF -->
<!-- INCLUDEJS {T_ASSETS_PATH}javascript/installer.js -->
<!-- INCLUDEJS {T_ASSETS_PATH}/javascript/installer.js -->
<!-- INCLUDE installer_footer.html -->

View File

@@ -4,7 +4,7 @@
<p>{L_FILES_DELETED_EXPLAIN}</p>
<fieldset id="deleted">
<legend><img src="{T_IMAGE_PATH}icon_delete.gif" alt="{L_STATUS_DELETED}" /></legend>
<legend><img src="{T_IMAGE_PATH}/icon_delete.gif" alt="{L_STATUS_DELETED}" /></legend>
<!-- BEGIN deleted -->
<dl>
<dt style="width: 100%;"><!-- IF deleted.DIR_PART -->{deleted.DIR_PART}<!-- ENDIF --><strong>{deleted.FILE_PART}</strong></dt>
@@ -20,7 +20,7 @@
<p>{L_FILES_CONFLICT_EXPLAIN}</p>
<fieldset id="conflict">
<legend><img src="{T_IMAGE_PATH}file_conflict.gif" alt="{L_STATUS_CONFLICT}" /></legend>
<legend><img src="{T_IMAGE_PATH}/file_conflict.gif" alt="{L_STATUS_CONFLICT}" /></legend>
<!-- BEGIN conflict -->
<dl>
<dt style="width: 100%;"><!-- IF conflict.DIR_PART -->{conflict.DIR_PART}<!-- ENDIF --><strong>{conflict.FILE_PART}</strong></dt>
@@ -36,7 +36,7 @@
<p>{L_FILES_MODIFIED_EXPLAIN}</p>
<fieldset id="modified">
<legend><img src="{T_IMAGE_PATH}file_modified.gif" alt="{L_STATUS_MODIFIED}" /></legend>
<legend><img src="{T_IMAGE_PATH}/file_modified.gif" alt="{L_STATUS_MODIFIED}" /></legend>
<!-- BEGIN modified -->
<dl>
<dt style="width: 100%;"><!-- IF modified.DIR_PART -->{modified.DIR_PART}<!-- ENDIF --><strong>{modified.FILE_PART}</strong></dt>
@@ -52,7 +52,7 @@
<p>{L_FILES_NEW_EXPLAIN}</p>
<fieldset id="new_files" style="display: none;">
<legend><img src="{T_IMAGE_PATH}file_new.gif" alt="{L_STATUS_NEW}" /></legend>
<legend><img src="{T_IMAGE_PATH}/file_new.gif" alt="{L_STATUS_NEW}" /></legend>
<!-- BEGIN new -->
<dl>
<dt style="width: 100%;"><!-- IF new.DIR_PART -->{new.DIR_PART}<!-- ENDIF --><strong>{new.FILE_PART}</strong>
@@ -69,7 +69,7 @@
<p>{L_FILES_NOT_MODIFIED_EXPLAIN}</p>
<fieldset id="not_modified" style="display: none;">
<legend><img src="{T_IMAGE_PATH}file_not_modified.gif" alt="{L_STATUS_NOT_MODIFIED}" /></legend>
<legend><img src="{T_IMAGE_PATH}/file_not_modified.gif" alt="{L_STATUS_NOT_MODIFIED}" /></legend>
<!-- BEGIN not_modified -->
<dl>
<dt style="width: 100%;"><!-- IF not_modified.DIR_PART -->{not_modified.DIR_PART}<!-- ENDIF --><strong>{not_modified.FILE_PART}</strong></dt>

View File

@@ -34,7 +34,7 @@
</div>
<script type="text/javascript" src="{T_JQUERY_LINK}"></script>
<!-- IF S_ALLOW_CDN --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF -->
<!-- IF S_ALLOW_CDN --><script type="text/javascript">window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->
<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- INCLUDEJS ajax.js -->
<!-- INCLUDEJS admin.js -->

View File

@@ -49,7 +49,7 @@ function marklist(id, name, state)
}
var rb = parent.getElementsByTagName('input');
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
@@ -103,7 +103,7 @@ function popup(url, width, height, name)
<p><a href="{U_ADM_INDEX}">{L_ADMIN_INDEX}</a> &bull; <a href="{U_INDEX}">{L_FORUM_INDEX}</a></p>
<p id="skip"><a href="#acp">{L_SKIP}</a></p>
</div>
<div id="page-body">
<div id="tabs">
<ul>
@@ -120,7 +120,7 @@ function popup(url, width, height, name)
<!-- DEFINE $LI_USED = 0 -->
<!-- BEGIN l_block1 -->
<!-- IF l_block1.S_SELECTED -->
<!-- BEGIN l_block2 -->
<!-- IF .l_block1.l_block2.l_block3 -->
<!-- IF $LI_USED --></ul></div><!-- ENDIF -->
@@ -129,13 +129,13 @@ function popup(url, width, height, name)
<ul>
<!-- DEFINE $LI_USED = 1 -->
<!-- ENDIF -->
<!-- BEGIN l_block3 -->
<li<!-- IF l_block1.l_block2.l_block3.S_SELECTED --> id="activemenu"<!-- ENDIF -->><a href="{l_block1.l_block2.l_block3.U_TITLE}"><span>{l_block1.l_block2.l_block3.L_TITLE}</span></a></li>
<!-- DEFINE $LI_USED = 1 -->
<!-- END l_block3 -->
<!-- END l_block2 -->
<!-- ENDIF -->
<!-- END l_block1 -->
<!-- IF $LI_USED -->
@@ -143,6 +143,13 @@ function popup(url, width, height, name)
</div>
<!-- ENDIF -->
</div>
<div id="main">
<div class="main">
{% if CONTAINER_EXCEPTION !== false %}
<div class="errorbox">
<p>{{ lang('CONTAINER_EXCEPTION') }}</p><br />
<p>{{ lang('EXCEPTION') }}{{ lang('COLON') }} {{ CONTAINER_EXCEPTION.getMessage() }}</p>
<pre>{{ CONTAINER_EXCEPTION.getTraceAsString() }}</pre>
</div>
{% endif %}

View File

@@ -12,7 +12,7 @@
<legend>{L_LOOK_UP_FORUM}</legend>
<dl>
<dt><label for="src_forum">{L_COPY_PERMISSIONS_FROM}{L_COLON}</label><br /><span>{L_COPY_PERMISSIONS_FORUM_FROM_EXPLAIN}</span></dt>
<dt><!-- EVENT acp_permission_forum_copy_src_forum_prepend --><label for="src_forum">{L_COPY_PERMISSIONS_FROM}{L_COLON}</label><br /><span>{L_COPY_PERMISSIONS_FORUM_FROM_EXPLAIN}</span><!-- EVENT acp_permission_forum_copy_src_forum_append --></dt>
<dd><select id="src_forum" name="src_forum_id"><option value="0">{L_SELECT_FORUM}</option><option value="-1">------------------</option>{S_FORUM_OPTIONS}</select></dd>
</dl>
</fieldset>
@@ -22,7 +22,7 @@
<p>{L_LOOK_UP_FORUMS_EXPLAIN}</p>
<dl>
<dt><label for="dest_forums">{L_COPY_PERMISSIONS_TO}{L_COLON}</label><br /><span>{L_COPY_PERMISSIONS_FORUM_TO_EXPLAIN}</span></dt>
<dt><!-- EVENT acp_permission_forum_copy_dest_forum_prepend --><label for="dest_forums">{L_COPY_PERMISSIONS_TO}{L_COLON}</label><br /><span>{L_COPY_PERMISSIONS_FORUM_TO_EXPLAIN}</span><!-- EVENT acp_permission_forum_copy_dest_forum_append --></dt>
<dd><select id="dest_forums" name="dest_forum_ids[]" multiple="multiple" size="10">{S_FORUM_OPTIONS}</select></dd>
</dl>
</fieldset>

View File

@@ -17,7 +17,7 @@
</div>
<script type="text/javascript" src="{T_JQUERY_LINK}"></script>
<!-- IF S_ALLOW_CDN --><script type="text/javascript">window.jQuery || document.write(unescape('%3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}" type="text/javascript"%3E%3C/script%3E'));</script><!-- ENDIF -->
<!-- IF S_ALLOW_CDN --><script type="text/javascript">window.jQuery || document.write('\x3Cscript src="{T_ASSETS_PATH}/javascript/jquery.min.js?assets_version={T_ASSETS_VERSION}">\x3C/script>');</script><!-- ENDIF -->
<script type="text/javascript" src="{T_ASSETS_PATH}/javascript/core.js?assets_version={T_ASSETS_VERSION}"></script>
<!-- EVENT acp_simple_footer_after -->

View File

@@ -306,6 +306,10 @@ phpbb.ajaxify = function(options) {
alert = phpbb.alert(res.MESSAGE_TITLE, res.MESSAGE_TEXT);
} else {
$dark.fadeOut(phpbb.alertTime);
if ($loadingIndicator) {
$loadingIndicator.fadeOut(phpbb.alertTime);
}
}
if (typeof phpbb.ajaxCallbacks[callback] === 'function') {

View File

@@ -177,7 +177,7 @@
* @param progressObject
*/
function setProgress(progressObject) {
var $statusText, $progressBar, $progressText, $progressFiller;
var $statusText, $progressBar, $progressText, $progressFiller, $progressFillerText;
if (progressObject.task_name.length) {
if (!progressBarTriggered) {
@@ -189,27 +189,34 @@
$progressBar.attr('id', 'progress-bar');
$progressText = $('<p />');
$progressText.attr('id', 'progress-bar-text');
$progressFiller = $('<span />');
$progressFiller = $('<div />');
$progressFiller.attr('id', 'progress-bar-filler');
$progressFillerText = $('<p />');
$progressFillerText.attr('id', 'progress-bar-filler-text');
$statusText = $('<p />');
$statusText.attr('id', 'progress-status-text');
$progressBar.append($progressFiller);
$progressFiller.append($progressFillerText);
$progressBar.append($progressText);
$progressBar.append($progressFiller);
$progressBarWrapper.append($statusText);
$progressBarWrapper.append($progressBar);
$progressFillerText.css('width', $progressBar.width());
progressBarTriggered = true;
} else if (progressObject.hasOwnProperty('restart')) {
clearInterval(progressTimer);
$progressFiller = $('#progress-bar-filler');
$progressFillerText = $('#progress-bar-filler-text');
$progressText = $('#progress-bar-text');
$statusText = $('#progress-status-text');
$progressText.text('0%');
$progressFillerText.text('0%');
$progressFiller.css('width', '0%');
currentProgress = 0;
@@ -236,6 +243,22 @@
}
}
// Redirects user
function redirect(url, use_ajax) {
if (use_ajax) {
resetPolling();
var xhReq = createXhrObject();
xhReq.open('GET', url, true);
xhReq.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
xhReq.send();
startPolling(xhReq);
} else {
window.location.href = url;
}
}
/**
* Parse messages from the response object
*
@@ -302,6 +325,10 @@
if (responseObject.hasOwnProperty('refresh')) {
refreshRequested = true;
}
if (responseObject.hasOwnProperty('redirect')) {
redirect(responseObject.redirect.url, responseObject.redirect.use_ajax);
}
}
/**
@@ -342,15 +369,20 @@
*
* @param $progressText
* @param $progressFiller
* @param $progressFillerText
* @param progressLimit
*/
function incrementFiller($progressText, $progressFiller, progressLimit) {
function incrementFiller($progressText, $progressFiller, $progressFillerText, progressLimit) {
if (currentProgress >= progressLimit || currentProgress >= 100) {
clearInterval(progressTimer);
return;
}
var $progressBar = $('#progress-bar');
currentProgress++;
$progressFillerText.css('width', $progressBar.width());
$progressFillerText.text(currentProgress + '%');
$progressText.text(currentProgress + '%');
$progressFiller.css('width', currentProgress + '%');
}
@@ -362,13 +394,14 @@
*/
function incrementProgressBar(progressLimit) {
var $progressFiller = $('#progress-bar-filler');
var $progressFillerText = $('#progress-bar-filler-text');
var $progressText = $('#progress-bar-text');
var progressStart = $progressFiller.width() / $progressFiller.offsetParent().width() * 100;
currentProgress = Math.floor(progressStart);
clearInterval(progressTimer);
progressTimer = setInterval(function() {
incrementFiller($progressText, $progressFiller, progressLimit);
incrementFiller($progressText, $progressFiller, $progressFillerText, progressLimit);
}, 10);
}

View File

@@ -70,6 +70,8 @@ require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
/* @var $user \phpbb\user */
$user = $phpbb_container->get('user');
$user->data['user_id'] = ANONYMOUS;
$user->ip = '127.0.0.1';
$user->add_lang('acp/common');
$user->add_lang('cli');

View File

@@ -90,8 +90,14 @@ include($phpbb_root_path . 'includes/functions_compatibility.' . $phpEx);
require($phpbb_root_path . 'includes/constants.' . $phpEx);
require($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
// Set PHP error handler to ours
set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler');
if (PHPBB_ENVIRONMENT === 'development')
{
\phpbb\debug\debug::enable();
}
else
{
set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler');
}
$phpbb_class_loader_ext = new \phpbb\class_loader('\\', "{$phpbb_root_path}ext/", $phpEx);
$phpbb_class_loader_ext->register();
@@ -104,10 +110,17 @@ try
}
catch (InvalidArgumentException $e)
{
trigger_error(
'The requested environment ' . PHPBB_ENVIRONMENT . ' is not available.',
E_USER_ERROR
);
if (PHPBB_ENVIRONMENT !== 'development')
{
trigger_error(
'The requested environment ' . PHPBB_ENVIRONMENT . ' is not available.',
E_USER_ERROR
);
}
else
{
throw $e;
}
}
$phpbb_class_loader->set_cache($phpbb_container->get('cache.driver'));

View File

@@ -25,39 +25,41 @@
"phpbb/phpbb-core": "self.version"
},
"require": {
"php": ">=5.4,<7.1",
"bantu/ini-get-wrapper": "1.0.*",
"google/recaptcha": "~1.1",
"lusitanian/oauth": "0.2.*",
"google/recaptcha": "~1.1",
"lusitanian/oauth": "^0.8.1",
"marc1706/fast-image-size": "1.1.*",
"patchwork/utf8": "1.1.*",
"php": ">=5.4",
"s9e/text-formatter": "dev-release/php5.3",
"symfony/config": "2.8.*@dev",
"symfony/console": "2.8.*@dev",
"symfony/dependency-injection": "2.8.*@dev",
"symfony/event-dispatcher": "2.8.*@dev",
"symfony/filesystem": "2.8.*@dev",
"symfony/finder": "2.8.*@dev",
"symfony/http-kernel": "2.8.*@dev",
"symfony/routing": "2.8.*@dev",
"symfony/security-core": "2.8.*@dev",
"symfony/security-csrf": "2.8.*@dev",
"symfony/twig-bridge": "2.8.*@dev",
"symfony/yaml": "2.8.*@dev",
"s9e/text-formatter": "^0.4.2",
"symfony/config": "2.8.*",
"symfony/console": "2.8.*",
"symfony/debug": "2.8.*",
"symfony/dependency-injection": "2.8.*",
"symfony/event-dispatcher": "2.8.*",
"symfony/filesystem": "2.8.*",
"symfony/finder": "2.8.*",
"symfony/http-foundation": "2.8.*",
"symfony/http-kernel": "2.8.*",
"symfony/routing": "2.8.*",
"symfony/twig-bridge": "2.8.*",
"symfony/yaml": "2.8.*",
"twig/twig": "1.*"
},
"require-dev": {
"fabpot/goutte": "1.0.*",
"fabpot/goutte": "~2.0",
"phing/phing": "2.4.*",
"phpunit/dbunit": "1.3.*",
"phpunit/phpunit": "4.1.*",
"sami/sami": "1.*",
"squizlabs/php_codesniffer": "2.*",
"symfony/browser-kit": "2.8.*@dev",
"symfony/css-selector": "2.8.*@dev",
"symfony/debug": "2.8.*@dev",
"symfony/dom-crawler": "2.8.*@dev",
"symfony/http-foundation": "2.8.*@dev",
"symfony/process": "2.8.*@dev"
"symfony/browser-kit": "2.8.*",
"symfony/css-selector": "2.8.*",
"symfony/dom-crawler": "2.8.*"
},
"extra": {
"branch-alias": {
"dev-master": "3.2.x-dev"
}
}
}

1462
phpBB/composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -36,41 +36,41 @@ services:
cache:
class: phpbb\cache\service
arguments:
- @cache.driver
- @config
- @dbal.conn
- %core.root_path%
- %core.php_ext%
- '@cache.driver'
- '@config'
- '@dbal.conn'
- '%core.root_path%'
- '%core.php_ext%'
cache.driver:
class: %cache.driver.class%
class: '%cache.driver.class%'
class_loader:
class: phpbb\class_loader
arguments:
- phpbb\
- %core.root_path%includes/
- %core.php_ext%
- '%core.root_path%includes/'
- '%core.php_ext%'
calls:
- [register, []]
- [set_cache, [@cache.driver]]
- [set_cache, ['@cache.driver']]
class_loader.ext:
class: phpbb\class_loader
arguments:
- \
- %core.root_path%ext/
- %core.php_ext%
- '%core.root_path%ext/'
- '%core.php_ext%'
calls:
- [register, []]
- [set_cache, [@cache.driver]]
- [set_cache, ['@cache.driver']]
config:
class: phpbb\config\db
arguments:
- @dbal.conn
- @cache.driver
- %tables.config%
- '@dbal.conn'
- '@cache.driver'
- '%tables.config%'
config.php:
synthetic: true
@@ -78,37 +78,37 @@ services:
config_text:
class: phpbb\config\db_text
arguments:
- @dbal.conn
- %tables.config_text%
- '@dbal.conn'
- '%tables.config_text%'
controller.helper:
class: phpbb\controller\helper
arguments:
- @template
- @user
- @config
- @symfony_request
- @request
- @routing.helper
- '@template'
- '@user'
- '@config'
- '@symfony_request'
- '@request'
- '@routing.helper'
controller.resolver:
class: phpbb\controller\resolver
arguments:
- @service_container
- %core.root_path%
- @template
- '@service_container'
- '%core.root_path%'
- '@template'
ext.manager:
class: phpbb\extension\manager
arguments:
- @service_container
- @dbal.conn
- @config
- @filesystem
- %tables.ext%
- %core.root_path%
- %core.php_ext%
- @cache.driver
- '@service_container'
- '@dbal.conn'
- '@config'
- '@filesystem'
- '%tables.ext%'
- '%core.root_path%'
- '%core.php_ext%'
- '@cache.driver'
file_downloader:
class: phpbb\file_downloader
@@ -116,45 +116,45 @@ services:
file_locator:
class: phpbb\routing\file_locator
arguments:
- @filesystem
- %core.root_path%
- '@filesystem'
- '%core.root_path%'
group_helper:
class: phpbb\group\helper
arguments:
- @language
- '@language'
log:
class: phpbb\log\log
arguments:
- @dbal.conn
- @user
- @auth
- @dispatcher
- %core.root_path%
- %core.adm_relative_path%
- %core.php_ext%
- %tables.log%
- '@dbal.conn'
- '@user'
- '@auth'
- '@dispatcher'
- '%core.root_path%'
- '%core.adm_relative_path%'
- '%core.php_ext%'
- '%tables.log%'
path_helper:
class: phpbb\path_helper
arguments:
- @symfony_request
- @filesystem
- @request
- %core.root_path%
- %core.php_ext%
- %core.adm_relative_path%
- '@symfony_request'
- '@filesystem'
- '@request'
- '%core.root_path%'
- '%core.php_ext%'
- '%core.adm_relative_path%'
plupload:
class: phpbb\plupload\plupload
arguments:
- %core.root_path%
- @config
- @request
- @user
- @php_ini
- @mimetype.guesser
- '%core.root_path%'
- '@config'
- '@request'
- '@user'
- '@php_ini'
- '@mimetype.guesser'
upload_imagesize:
class: FastImageSize\FastImageSize
@@ -163,7 +163,7 @@ services:
class: phpbb\version_helper
scope: prototype
arguments:
- @cache
- @config
- @file_downloader
- @user
- '@cache'
- '@config'
- '@file_downloader'
- '@user'

View File

@@ -3,38 +3,38 @@ services:
class: phpbb\attachment\delete
scope: prototype
arguments:
- @config
- @dbal.conn
- @dispatcher
- @filesystem
- @attachment.resync
- %core.root_path%
- '@config'
- '@dbal.conn'
- '@dispatcher'
- '@filesystem'
- '@attachment.resync'
- '%core.root_path%'
attachment.manager:
class: phpbb\attachment\manager
scope: prototype
arguments:
- @attachment.delete
- @attachment.resync
- @attachment.upload
- '@attachment.delete'
- '@attachment.resync'
- '@attachment.upload'
attachment.resync:
class: phpbb\attachment\resync
scope: prototype
arguments:
- @dbal.conn
- '@dbal.conn'
attachment.upload:
class: phpbb\attachment\upload
scope: prototype
arguments:
- @auth
- @cache
- @config
- @files.upload
- @language
- @mimetype.guesser
- @dispatcher
- @plupload
- @user
- %core.root_path%
- '@auth'
- '@cache'
- '@config'
- '@files.upload'
- '@language'
- '@mimetype.guesser'
- '@dispatcher'
- '@plupload'
- '@user'
- '%core.root_path%'

View File

@@ -7,63 +7,64 @@ services:
auth.provider_collection:
class: phpbb\auth\provider_collection
arguments:
- @service_container
- @config
- '@service_container'
- '@config'
tags:
- { name: service_collection, tag: auth.provider }
auth.provider.db:
class: phpbb\auth\provider\db
arguments:
- @dbal.conn
- @config
- @passwords.manager
- @request
- @user
- @service_container
- %core.root_path%
- %core.php_ext%
- '@dbal.conn'
- '@config'
- '@passwords.manager'
- '@request'
- '@user'
- '@service_container'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: auth.provider }
auth.provider.apache:
class: phpbb\auth\provider\apache
arguments:
- @dbal.conn
- @config
- @passwords.manager
- @request
- @user
- %core.root_path%
- %core.php_ext%
- '@dbal.conn'
- '@config'
- '@passwords.manager'
- '@request'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: auth.provider }
auth.provider.ldap:
class: phpbb\auth\provider\ldap
arguments:
- @dbal.conn
- @config
- @passwords.manager
- @user
- '@dbal.conn'
- '@config'
- '@passwords.manager'
- '@user'
tags:
- { name: auth.provider }
auth.provider.oauth:
class: phpbb\auth\provider\oauth\oauth
arguments:
- @dbal.conn
- @config
- @passwords.manager
- @request
- @user
- %tables.auth_provider_oauth_token_storage%
- %tables.auth_provider_oauth_account_assoc%
- @auth.provider.oauth.service_collection
- %tables.users%
- @service_container
- %core.root_path%
- %core.php_ext%
- '@dbal.conn'
- '@config'
- '@passwords.manager'
- '@request'
- '@user'
- '%tables.auth_provider_oauth_token_storage%'
- '%tables.auth_provider_oauth_states%'
- '%tables.auth_provider_oauth_account_assoc%'
- '@auth.provider.oauth.service_collection'
- '%tables.users%'
- '@service_container'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: auth.provider }
@@ -71,30 +72,30 @@ services:
auth.provider.oauth.service_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: auth.provider.oauth.service }
auth.provider.oauth.service.bitly:
class: phpbb\auth\provider\oauth\service\bitly
arguments:
- @config
- @request
- '@config'
- '@request'
tags:
- { name: auth.provider.oauth.service }
auth.provider.oauth.service.facebook:
class: phpbb\auth\provider\oauth\service\facebook
arguments:
- @config
- @request
- '@config'
- '@request'
tags:
- { name: auth.provider.oauth.service }
auth.provider.oauth.service.google:
class: phpbb\auth\provider\oauth\service\google
arguments:
- @config
- @request
- '@config'
- '@request'
tags:
- { name: auth.provider.oauth.service }

View File

@@ -2,26 +2,26 @@ services:
avatar.manager:
class: phpbb\avatar\manager
arguments:
- @config
- @avatar.driver_collection
- '@config'
- '@avatar.driver_collection'
# ----- Avatar drivers -----
avatar.driver_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: avatar.driver }
avatar.driver.gravatar:
class: phpbb\avatar\driver\gravatar
arguments:
- @config
- @upload_imagesize
- %core.root_path%
- %core.php_ext%
- @path_helper
- @cache.driver
- '@config'
- '@upload_imagesize'
- '%core.root_path%'
- '%core.php_ext%'
- '@path_helper'
- '@cache.driver'
calls:
- [set_name, [avatar.driver.gravatar]]
tags:
@@ -30,12 +30,12 @@ services:
avatar.driver.local:
class: phpbb\avatar\driver\local
arguments:
- @config
- @upload_imagesize
- %core.root_path%
- %core.php_ext%
- @path_helper
- @cache.driver
- '@config'
- '@upload_imagesize'
- '%core.root_path%'
- '%core.php_ext%'
- '@path_helper'
- '@cache.driver'
calls:
- [set_name, [avatar.driver.local]]
tags:
@@ -44,12 +44,12 @@ services:
avatar.driver.remote:
class: phpbb\avatar\driver\remote
arguments:
- @config
- @upload_imagesize
- %core.root_path%
- %core.php_ext%
- @path_helper
- @cache.driver
- '@config'
- '@upload_imagesize'
- '%core.root_path%'
- '%core.php_ext%'
- '@path_helper'
- '@cache.driver'
calls:
- [set_name, [avatar.driver.remote]]
tags:
@@ -58,14 +58,14 @@ services:
avatar.driver.upload:
class: phpbb\avatar\driver\upload
arguments:
- @config
- %core.root_path%
- %core.php_ext%
- @filesystem
- @path_helper
- @dispatcher
- @files.factory
- @cache.driver
- '@config'
- '%core.root_path%'
- '%core.php_ext%'
- '@filesystem'
- '@path_helper'
- '@dispatcher'
- '@files.factory'
- '@cache.driver'
calls:
- [set_name, [avatar.driver.upload]]
tags:

View File

@@ -2,15 +2,15 @@ services:
captcha.factory:
class: phpbb\captcha\factory
arguments:
- @service_container
- @captcha.plugins.service_collection
- '@service_container'
- '@captcha.plugins.service_collection'
# ----- Captcha plugins -----
# Scope MUST be prototype for all the plugins to work.
captcha.plugins.service_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: captcha.plugins }
@@ -42,9 +42,9 @@ services:
class: phpbb\captcha\plugins\qa
scope: prototype
arguments:
- %tables.captcha_qa_questions%
- %tables.captcha_qa_answers%
- %tables.captcha_qa_confirm%
- '%tables.captcha_qa_questions%'
- '%tables.captcha_qa_answers%'
- '%tables.captcha_qa_confirm%'
calls:
- [set_name, [core.captcha.plugins.qa]]
tags:

View File

@@ -2,219 +2,220 @@ services:
console.exception_subscriber:
class: phpbb\console\exception_subscriber
arguments:
- @language
- %debug.exceptions%
- '@language'
- '%debug.exceptions%'
tags:
- { name: kernel.event_subscriber }
console.command_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: console.command }
console.command.cache.purge:
class: phpbb\console\command\cache\purge
arguments:
- @user
- @cache.driver
- @dbal.conn
- @auth
- @log
- @config
- '@user'
- '@cache.driver'
- '@dbal.conn'
- '@auth'
- '@log'
- '@config'
tags:
- { name: console.command }
console.command.config.delete:
class: phpbb\console\command\config\delete
arguments:
- @user
- @config
- '@user'
- '@config'
tags:
- { name: console.command }
console.command.config.increment:
class: phpbb\console\command\config\increment
arguments:
- @user
- @config
- '@user'
- '@config'
tags:
- { name: console.command }
console.command.config.get:
class: phpbb\console\command\config\get
arguments:
- @user
- @config
- '@user'
- '@config'
tags:
- { name: console.command }
console.command.config.set:
class: phpbb\console\command\config\set
arguments:
- @user
- @config
- '@user'
- '@config'
tags:
- { name: console.command }
console.command.config.set_atomic:
class: phpbb\console\command\config\set_atomic
arguments:
- @user
- @config
- '@user'
- '@config'
tags:
- { name: console.command }
console.command.cron.list:
class: phpbb\console\command\cron\cron_list
arguments:
- @user
- @cron.manager
- '@user'
- '@cron.manager'
tags:
- { name: console.command }
console.command.cron.run:
class: phpbb\console\command\cron\run
arguments:
- @user
- @cron.manager
- @cron.lock_db
- '@user'
- '@cron.manager'
- '@cron.lock_db'
tags:
- { name: console.command }
console.command.db.list:
class: phpbb\console\command\db\list_command
arguments:
- @user
- @migrator
- @ext.manager
- @config
- @cache
- '@user'
- '@migrator'
- '@ext.manager'
- '@config'
- '@cache'
tags:
- { name: console.command }
console.command.db.migrate:
class: phpbb\console\command\db\migrate
arguments:
- @user
- @language
- @migrator
- @ext.manager
- @config
- @cache
- @log
- @filesystem
- %core.root_path%
- '@user'
- '@language'
- '@migrator'
- '@ext.manager'
- '@config'
- '@cache'
- '@log'
- '@filesystem'
- '%core.root_path%'
tags:
- { name: console.command }
console.command.db.revert:
class: phpbb\console\command\db\revert
arguments:
- @user
- @language
- @migrator
- @ext.manager
- @config
- @cache
- @filesystem
- %core.root_path%
- '@user'
- '@language'
- '@migrator'
- '@ext.manager'
- '@config'
- '@cache'
- '@filesystem'
- '%core.root_path%'
tags:
- { name: console.command }
console.command.dev.migration_tips:
class: phpbb\console\command\dev\migration_tips
arguments:
- @user
- @ext.manager
- '@user'
- '@ext.manager'
tags:
- { name: console.command }
console.command.extension.disable:
class: phpbb\console\command\extension\disable
arguments:
- @user
- @ext.manager
- @log
- '@user'
- '@ext.manager'
- '@log'
tags:
- { name: console.command }
console.command.extension.enable:
class: phpbb\console\command\extension\enable
arguments:
- @user
- @ext.manager
- @log
- '@user'
- '@ext.manager'
- '@log'
tags:
- { name: console.command }
console.command.extension.purge:
class: phpbb\console\command\extension\purge
arguments:
- @user
- @ext.manager
- @log
- '@user'
- '@ext.manager'
- '@log'
tags:
- { name: console.command }
console.command.extension.show:
class: phpbb\console\command\extension\show
arguments:
- @user
- @ext.manager
- @log
- '@user'
- '@ext.manager'
- '@log'
tags:
- { name: console.command }
console.command.fixup.recalculate_email_hash:
class: phpbb\console\command\fixup\recalculate_email_hash
arguments:
- @user
- @dbal.conn
- '@user'
- '@dbal.conn'
tags:
- { name: console.command }
console.command.reparser.list:
class: phpbb\console\command\reparser\list_all
arguments:
- @user
- @text_reparser_collection
- '@user'
- '@text_reparser_collection'
tags:
- { name: console.command }
console.command.reparser.reparse:
class: phpbb\console\command\reparser\reparse
arguments:
- @user
- @text_reparser_collection
- @config_text
- '@user'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
tags:
- { name: console.command }
console.command.thumbnail.delete:
class: phpbb\console\command\thumbnail\delete
arguments:
- @user
- @dbal.conn
- %core.root_path%
- '@user'
- '@dbal.conn'
- '%core.root_path%'
tags:
- { name: console.command }
console.command.thumbnail.generate:
class: phpbb\console\command\thumbnail\generate
arguments:
- @user
- @dbal.conn
- @cache
- %core.root_path%
- %core.php_ext%
- '@user'
- '@dbal.conn'
- '@cache'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: console.command }
console.command.thumbnail.recreate:
class: phpbb\console\command\thumbnail\recreate
arguments:
- @user
- '@user'
tags:
- { name: console.command }

View File

@@ -2,71 +2,71 @@ services:
content.visibility:
class: phpbb\content_visibility
arguments:
- @auth
- @config
- @dispatcher
- @dbal.conn
- @user
- %core.root_path%
- %core.php_ext%
- %tables.forums%
- %tables.posts%
- %tables.topics%
- %tables.users%
- '@auth'
- '@config'
- '@dispatcher'
- '@dbal.conn'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
- '%tables.forums%'
- '%tables.posts%'
- '%tables.topics%'
- '%tables.users%'
groupposition.legend:
class: phpbb\groupposition\legend
arguments:
- @dbal.conn
- @user
- '@dbal.conn'
- '@user'
groupposition.teampage:
class: phpbb\groupposition\teampage
arguments:
- @dbal.conn
- @user
- @cache.driver
- '@dbal.conn'
- '@user'
- '@cache.driver'
message.form.admin:
class: phpbb\message\admin_form
arguments:
- @auth
- @config
- @config_text
- @dbal.conn
- @user
- %core.root_path%
- %core.php_ext%
- '@auth'
- '@config'
- '@config_text'
- '@dbal.conn'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
message.form.topic:
class: phpbb\message\topic_form
arguments:
- @auth
- @config
- @dbal.conn
- @user
- %core.root_path%
- %core.php_ext%
- '@auth'
- '@config'
- '@dbal.conn'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
message.form.user:
class: phpbb\message\user_form
arguments:
- @auth
- @config
- @dbal.conn
- @user
- %core.root_path%
- %core.php_ext%
- '@auth'
- '@config'
- '@dbal.conn'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
pagination:
class: phpbb\pagination
arguments:
- @template
- @user
- @controller.helper
- @dispatcher
- '@template'
- '@user'
- '@controller.helper'
- '@dispatcher'
viewonline_helper:
class: phpbb\viewonline_helper
arguments:
- @filesystem
- '@filesystem'

View File

@@ -2,32 +2,32 @@ services:
cron.manager:
class: phpbb\cron\manager
arguments:
- @cron.task_collection
- %core.root_path%
- %core.php_ext%
- '@cron.task_collection'
- '%core.root_path%'
- '%core.php_ext%'
cron.lock_db:
class: phpbb\lock\db
arguments:
- cron_lock
- @config
- @dbal.conn
- '@config'
- '@dbal.conn'
# ----- Cron tasks -----
cron.task_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: cron.task }
cron.task.core.prune_all_forums:
class: phpbb\cron\task\core\prune_all_forums
arguments:
- %core.root_path%
- %core.php_ext%
- @config
- @dbal.conn
- '%core.root_path%'
- '%core.php_ext%'
- '@config'
- '@dbal.conn'
calls:
- [set_name, [cron.task.core.prune_all_forums]]
tags:
@@ -36,10 +36,10 @@ services:
cron.task.core.prune_forum:
class: phpbb\cron\task\core\prune_forum
arguments:
- %core.root_path%
- %core.php_ext%
- @config
- @dbal.conn
- '%core.root_path%'
- '%core.php_ext%'
- '@config'
- '@dbal.conn'
calls:
- [set_name, [cron.task.core.prune_forum]]
tags:
@@ -48,12 +48,12 @@ services:
cron.task.core.prune_shadow_topics:
class: phpbb\cron\task\core\prune_shadow_topics
arguments:
- %core.root_path%
- %core.php_ext%
- @config
- @dbal.conn
- @log
- @user
- '%core.root_path%'
- '%core.php_ext%'
- '@config'
- '@dbal.conn'
- '@log'
- '@user'
calls:
- [set_name, [cron.task.core.prune_shadow_topics]]
tags:
@@ -62,8 +62,8 @@ services:
cron.task.core.prune_notifications:
class: phpbb\cron\task\core\prune_notifications
arguments:
- @config
- @notification_manager
- '@config'
- '@notification_manager'
calls:
- [set_name, [cron.task.core.prune_notifications]]
tags:
@@ -72,9 +72,9 @@ services:
cron.task.core.queue:
class: phpbb\cron\task\core\queue
arguments:
- %core.root_path%
- %core.php_ext%
- @config
- '%core.root_path%'
- '%core.php_ext%'
- '@config'
calls:
- [set_name, [cron.task.core.queue]]
tags:
@@ -83,8 +83,8 @@ services:
cron.task.core.tidy_cache:
class: phpbb\cron\task\core\tidy_cache
arguments:
- @config
- @cache.driver
- '@config'
- '@cache.driver'
calls:
- [set_name, [cron.task.core.tidy_cache]]
tags:
@@ -93,9 +93,9 @@ services:
cron.task.core.tidy_database:
class: phpbb\cron\task\core\tidy_database
arguments:
- %core.root_path%
- %core.php_ext%
- @config
- '%core.root_path%'
- '%core.php_ext%'
- '@config'
calls:
- [set_name, [cron.task.core.tidy_database]]
tags:
@@ -104,8 +104,10 @@ services:
cron.task.core.tidy_plupload:
class: phpbb\cron\task\core\tidy_plupload
arguments:
- %core.root_path%
- @config
- '%core.root_path%'
- '@config'
- '@log'
- '@user'
calls:
- [set_name, [cron.task.core.tidy_plupload]]
tags:
@@ -114,13 +116,13 @@ services:
cron.task.core.tidy_search:
class: phpbb\cron\task\core\tidy_search
arguments:
- %core.root_path%
- %core.php_ext%
- @auth
- @config
- @dbal.conn
- @user
- @dispatcher
- '%core.root_path%'
- '%core.php_ext%'
- '@auth'
- '@config'
- '@dbal.conn'
- '@user'
- '@dispatcher'
calls:
- [set_name, [cron.task.core.tidy_search]]
tags:
@@ -129,8 +131,8 @@ services:
cron.task.core.tidy_sessions:
class: phpbb\cron\task\core\tidy_sessions
arguments:
- @config
- @user
- '@config'
- '@user'
calls:
- [set_name, [cron.task.core.tidy_sessions]]
tags:
@@ -139,10 +141,80 @@ services:
cron.task.core.tidy_warnings:
class: phpbb\cron\task\core\tidy_warnings
arguments:
- %core.root_path%
- %core.php_ext%
- @config
- '%core.root_path%'
- '%core.php_ext%'
- '@config'
calls:
- [set_name, [cron.task.core.tidy_warnings]]
tags:
- { name: cron.task }
cron.task.text_reparser.pm_text:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
calls:
- [set_name, [cron.task.text_reparser.pm_text]]
- [set_reparser, [text_reparser.pm_text]]
tags:
- { name: cron.task }
cron.task.text_reparser.poll_option:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
calls:
- [set_name, [cron.task.text_reparser.poll_option]]
- [set_reparser, [text_reparser.poll_option]]
tags:
- { name: cron.task }
cron.task.text_reparser.poll_title:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
calls:
- [set_name, [cron.task.text_reparser.poll_title]]
- [set_reparser, [text_reparser.poll_title]]
tags:
- { name: cron.task }
cron.task.text_reparser.post_text:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
calls:
- [set_name, [cron.task.text_reparser.post_text]]
- [set_reparser, [text_reparser.post_text]]
tags:
- { name: cron.task }
cron.task.text_reparser.user_signature:
class: phpbb\cron\task\text_reparser\reparser
arguments:
- '@config'
- '@config_text'
- '@text_reparser.lock'
- '@text_reparser.manager'
- '@text_reparser_collection'
calls:
- [set_name, [cron.task.text_reparser.user_signature]]
- [set_reparser, [text_reparser.user_signature]]
tags:
- { name: cron.task }

View File

@@ -2,12 +2,12 @@ services:
dbal.conn:
class: phpbb\db\driver\factory
arguments:
- @service_container
- '@service_container'
dbal.conn.driver:
class: %dbal.driver.class%
class: '%dbal.driver.class%'
calls:
- [sql_connect, [%dbal.dbhost%, %dbal.dbuser%, %dbal.dbpasswd%, %dbal.dbname%, %dbal.dbport%, false, %dbal.new_link%]]
- [sql_connect, ['%dbal.dbhost%', '%dbal.dbuser%', '%dbal.dbpasswd%', '%dbal.dbname%', '%dbal.dbport%', false, '%dbal.new_link%']]
# ----- DB Tools -----
dbal.tools.factory:
@@ -15,20 +15,20 @@ services:
dbal.tools:
class: phpbb\db\tools\tools_interface
factory: ["@dbal.tools.factory", get]
factory: ['@dbal.tools.factory', get]
arguments:
- @dbal.conn.driver
- '@dbal.conn.driver'
# ----- DB Extractor -----
dbal.extractor.factory:
class: phpbb\db\extractor\factory
arguments:
- @dbal.conn.driver
- @service_container
- '@dbal.conn.driver'
- '@service_container'
dbal.extractor:
class: phpbb\db\extractor\extractor_interface
factory: ["@dbal.extractor.factory", get]
factory: ['@dbal.extractor.factory', get]
# ----- DB Extractors for different drivers -----
# Scope MUST be prototype for all the handlers to work correctly.
@@ -36,46 +36,46 @@ services:
class: phpbb\db\extractor\mssql_extractor
scope: prototype
arguments:
- %core.root_path%
- @request
- @dbal.conn.driver
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.mysql_extractor:
class: phpbb\db\extractor\mysql_extractor
scope: prototype
arguments:
- %core.root_path%
- @request
- @dbal.conn.driver
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.oracle_extractor:
class: phpbb\db\extractor\oracle_extractor
scope: prototype
arguments:
- %core.root_path%
- @request
- @dbal.conn.driver
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.postgres_extractor:
class: phpbb\db\extractor\postgres_extractor
scope: prototype
arguments:
- %core.root_path%
- @request
- @dbal.conn.driver
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.sqlite3_extractor:
class: phpbb\db\extractor\sqlite3_extractor
scope: prototype
arguments:
- %core.root_path%
- @request
- @dbal.conn.driver
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.sqlite_extractor:
class: phpbb\db\extractor\sqlite_extractor
scope: prototype
arguments:
- %core.root_path%
- @request
- @dbal.conn.driver
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'

View File

@@ -2,13 +2,13 @@ services:
dispatcher:
class: phpbb\event\dispatcher
arguments:
- @service_container
- '@service_container'
kernel_exception_subscriber:
class: phpbb\event\kernel_exception_subscriber
arguments:
- @template
- @language
- '@template'
- '@language'
tags:
- { name: kernel.event_subscriber }

View File

@@ -2,112 +2,112 @@ services:
phpbb.feed.controller:
class: phpbb\feed\controller\feed
arguments:
- @template.twig.environment
- @symfony_request
- @controller.helper
- @config
- @dbal.conn
- @service_container
- @feed.helper
- @user
- @auth
- %core.php_ext%
- '@template.twig.environment'
- '@symfony_request'
- '@controller.helper'
- '@config'
- '@dbal.conn'
- '@service_container'
- '@feed.helper'
- '@user'
- '@auth'
- '%core.php_ext%'
feed.helper:
class: phpbb\feed\helper
arguments:
- @config
- @user
- %core.root_path%
- %core.php_ext%
- '@config'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
feed.forum:
class: phpbb\feed\forum
scope: prototype
arguments:
- @feed.helper
- @config
- @dbal.conn
- @cache.driver
- @user
- @auth
- @content.visibility
- %core.php_ext%
- '@feed.helper'
- '@config'
- '@dbal.conn'
- '@cache.driver'
- '@user'
- '@auth'
- '@content.visibility'
- '%core.php_ext%'
feed.forums:
class: phpbb\feed\forums
scope: prototype
arguments:
- @feed.helper
- @config
- @dbal.conn
- @cache.driver
- @user
- @auth
- @content.visibility
- %core.php_ext%
- '@feed.helper'
- '@config'
- '@dbal.conn'
- '@cache.driver'
- '@user'
- '@auth'
- '@content.visibility'
- '%core.php_ext%'
feed.news:
class: phpbb\feed\news
scope: prototype
arguments:
- @feed.helper
- @config
- @dbal.conn
- @cache.driver
- @user
- @auth
- @content.visibility
- %core.php_ext%
- '@feed.helper'
- '@config'
- '@dbal.conn'
- '@cache.driver'
- '@user'
- '@auth'
- '@content.visibility'
- '%core.php_ext%'
feed.overall:
class: phpbb\feed\overall
scope: prototype
arguments:
- @feed.helper
- @config
- @dbal.conn
- @cache.driver
- @user
- @auth
- @content.visibility
- %core.php_ext%
- '@feed.helper'
- '@config'
- '@dbal.conn'
- '@cache.driver'
- '@user'
- '@auth'
- '@content.visibility'
- '%core.php_ext%'
feed.topic:
class: phpbb\feed\topic
scope: prototype
arguments:
- @feed.helper
- @config
- @dbal.conn
- @cache.driver
- @user
- @auth
- @content.visibility
- %core.php_ext%
- '@feed.helper'
- '@config'
- '@dbal.conn'
- '@cache.driver'
- '@user'
- '@auth'
- '@content.visibility'
- '%core.php_ext%'
feed.topics:
class: phpbb\feed\topics
scope: prototype
arguments:
- @feed.helper
- @config
- @dbal.conn
- @cache.driver
- @user
- @auth
- @content.visibility
- %core.php_ext%
- '@feed.helper'
- '@config'
- '@dbal.conn'
- '@cache.driver'
- '@user'
- '@auth'
- '@content.visibility'
- '%core.php_ext%'
feed.topics_active:
class: phpbb\feed\topics_active
scope: prototype
arguments:
- @feed.helper
- @config
- @dbal.conn
- @cache.driver
- @user
- @auth
- @content.visibility
- %core.php_ext%
- '@feed.helper'
- '@config'
- '@dbal.conn'
- '@cache.driver'
- '@user'
- '@auth'
- '@content.visibility'
- '%core.php_ext%'

View File

@@ -2,55 +2,55 @@ services:
files.factory:
class: phpbb\files\factory
arguments:
- @service_container
- '@service_container'
files.filespec:
class: phpbb\files\filespec
scope: prototype
arguments:
- @filesystem
- @language
- @php_ini
- @upload_imagesize
- %core.root_path%
- @mimetype.guesser
- @plupload
- '@filesystem'
- '@language'
- '@php_ini'
- '@upload_imagesize'
- '%core.root_path%'
- '@mimetype.guesser'
- '@plupload'
files.upload:
class: phpbb\files\upload
scope: prototype
arguments:
- @filesystem
- @files.factory
- @language
- @php_ini
- @request
- '@filesystem'
- '@files.factory'
- '@language'
- '@php_ini'
- '@request'
files.types.form:
class: phpbb\files\types\form
scope: prototype
arguments:
- @files.factory
- @language
- @php_ini
- @plupload
- @request
- '@files.factory'
- '@language'
- '@php_ini'
- '@plupload'
- '@request'
files.types.local:
class: phpbb\files\types\form
scope: prototype
arguments:
- @files.factory
- @language
- @php_ini
- @request
- '@files.factory'
- '@language'
- '@php_ini'
- '@request'
files.types.remote:
class: phpbb\files\types\remote
scope: prototype
arguments:
- @files.factory
- @language
- @php_ini
- @request
- %core.root_path%
- '@files.factory'
- '@language'
- '@php_ini'
- '@request'
- '%core.root_path%'

View File

@@ -2,26 +2,26 @@ services:
phpbb.help.manager:
class: phpbb\help\manager
arguments:
- @dispatcher
- @language
- @template
- '@dispatcher'
- '@language'
- '@template'
phpbb.help.controller.bbcode:
class: phpbb\help\controller\bbcode
arguments:
- @controller.helper
- @phpbb.help.manager
- @template
- @language
- %core.root_path%
- %core.php_ext%
- '@controller.helper'
- '@phpbb.help.manager'
- '@template'
- '@language'
- '%core.root_path%'
- '%core.php_ext%'
phpbb.help.controller.faq:
class: phpbb\help\controller\faq
arguments:
- @controller.helper
- @phpbb.help.manager
- @template
- @language
- %core.root_path%
- %core.php_ext%
- '@controller.helper'
- '@phpbb.help.manager'
- '@template'
- '@language'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -2,6 +2,6 @@ services:
hook_finder:
class: phpbb\hook\finder
arguments:
- %core.root_path%
- %core.php_ext%
- @cache.driver
- '%core.root_path%'
- '%core.php_ext%'
- '@cache.driver'

View File

@@ -2,16 +2,16 @@ services:
http_kernel:
class: Symfony\Component\HttpKernel\HttpKernel
arguments:
- @dispatcher
- @controller.resolver
- @request_stack
- '@dispatcher'
- '@controller.resolver'
- '@request_stack'
# WARNING: The Symfony request does not escape the input and should be used very carefully
# prefer the phpbb request (service @request) as possible
symfony_request:
class: phpbb\symfony_request
arguments:
- @request
- '@request'
request_stack:
class: Symfony\Component\HttpFoundation\RequestStack
@@ -20,4 +20,4 @@ services:
class: phpbb\request\request
arguments:
- null
- %core.disable_super_globals%
- '%core.disable_super_globals%'

View File

@@ -2,21 +2,21 @@ services:
language.helper.language_file:
class: phpbb\language\language_file_helper
arguments:
- %core.root_path%
- '%core.root_path%'
language:
class: phpbb\language\language
arguments:
- @language.loader
- '@language.loader'
language.loader_abstract:
abstract: true
class: phpbb\language\language_file_loader
arguments:
- %core.root_path%
- %core.php_ext%
- '%core.root_path%'
- '%core.php_ext%'
language.loader:
parent: language.loader_abstract
calls:
- [set_extension_manager, ["@ext.manager"]]
- [set_extension_manager, ['@ext.manager']]

View File

@@ -3,16 +3,16 @@ services:
migrator:
class: phpbb\db\migrator
arguments:
- @service_container
- @config
- @dbal.conn
- @dbal.tools
- %tables.migrations%
- %core.root_path%
- %core.php_ext%
- %core.table_prefix%
- @migrator.tool_collection
- @migrator.helper
- '@service_container'
- '@config'
- '@dbal.conn'
- '@dbal.tools'
- '%tables.migrations%'
- '%core.root_path%'
- '%core.php_ext%'
- '%core.table_prefix%'
- '@migrator.tool_collection'
- '@migrator.helper'
migrator.helper:
class: phpbb\db\migration\helper
@@ -21,44 +21,44 @@ services:
migrator.tool_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: migrator.tool }
migrator.tool.config:
class: phpbb\db\migration\tool\config
arguments:
- @config
- '@config'
tags:
- { name: migrator.tool }
migrator.tool.config_text:
class: phpbb\db\migration\tool\config_text
arguments:
- @config_text
- '@config_text'
tags:
- { name: migrator.tool }
migrator.tool.module:
class: phpbb\db\migration\tool\module
arguments:
- @dbal.conn
- @cache
- @user
- @module.manager
- %core.root_path%
- %core.php_ext%
- %tables.modules%
- '@dbal.conn'
- '@cache'
- '@user'
- '@module.manager'
- '%core.root_path%'
- '%core.php_ext%'
- '%tables.modules%'
tags:
- { name: migrator.tool }
migrator.tool.permission:
class: phpbb\db\migration\tool\permission
arguments:
- @dbal.conn
- @cache
- @auth
- %core.root_path%
- %core.php_ext%
- '@dbal.conn'
- '@cache'
- '@auth'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: migrator.tool }

View File

@@ -2,7 +2,7 @@ services:
mimetype.guesser_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: mimetype.guessers }
@@ -19,18 +19,18 @@ services:
mimetype.content_guesser:
class: phpbb\mimetype\content_guesser
calls:
- [set_priority, [%mimetype.guesser.priority.low%]]
- [set_priority, ['%mimetype.guesser.priority.low%']]
tags:
- { name: mimetype.guessers }
mimetype.extension_guesser:
class: phpbb\mimetype\extension_guesser
calls:
- [set_priority, [%mimetype.guesser.priority.lowest%]]
- [set_priority, ['%mimetype.guesser.priority.lowest%']]
tags:
- { name: mimetype.guessers }
mimetype.guesser:
class: phpbb\mimetype\guesser
arguments:
- @mimetype.guesser_collection
- '@mimetype.guesser_collection'

View File

@@ -2,9 +2,9 @@ services:
module.manager:
class: phpbb\module\module_manager
arguments:
- @cache.driver
- @dbal.conn
- @ext.manager
- %tables.modules%
- %core.root_path%
- %core.php_ext%
- '@cache.driver'
- '@dbal.conn'
- '@ext.manager'
- '%tables.modules%'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -2,45 +2,45 @@ services:
notification_manager:
class: phpbb\notification\manager
arguments:
- @notification.type_collection
- @notification.method_collection
- @service_container
- @user_loader
- @dispatcher
- @dbal.conn
- @cache
- @language
- @user
- %tables.notification_types%
- %tables.user_notifications%
- '@notification.type_collection'
- '@notification.method_collection'
- '@service_container'
- '@user_loader'
- '@dispatcher'
- '@dbal.conn'
- '@cache'
- '@language'
- '@user'
- '%tables.notification_types%'
- '%tables.user_notifications%'
# ----- Notification's types -----
# Scope MUST be prototype for all the plugins to work.
notification.type_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: notification.type }
notification.type.base:
abstract: true
arguments:
- @dbal.conn
- @language
- @user
- @auth
- %core.root_path%
- %core.php_ext%
- %tables.user_notifications%
- '@dbal.conn'
- '@language'
- '@user'
- '@auth'
- '%core.root_path%'
- '%core.php_ext%'
- '%tables.user_notifications%'
notification.type.admin_activate_user:
class: phpbb\notification\type\admin_activate_user
scope: prototype
parent: notification.type.base
calls:
- [set_user_loader, [@user_loader]]
- [set_config, [@config]]
- [set_user_loader, ['@user_loader']]
- [set_config, ['@config']]
tags:
- { name: notification.type }
@@ -84,7 +84,7 @@ services:
scope: prototype
parent: notification.type.base
calls:
- [set_user_loader, [@user_loader]]
- [set_user_loader, ['@user_loader']]
tags:
- { name: notification.type }
@@ -100,8 +100,8 @@ services:
scope: prototype
parent: notification.type.base
calls:
- [set_user_loader, [@user_loader]]
- [set_config, [@config]]
- [set_user_loader, ['@user_loader']]
- [set_config, ['@config']]
tags:
- { name: notification.type }
@@ -110,8 +110,8 @@ services:
scope: prototype
parent: notification.type.base
calls:
- [set_user_loader, [@user_loader]]
- [set_config, [@config]]
- [set_user_loader, ['@user_loader']]
- [set_config, ['@config']]
tags:
- { name: notification.type }
@@ -127,7 +127,7 @@ services:
scope: prototype
parent: notification.type.post
calls:
- [set_utils, [@text_formatter.utils]]
- [set_utils, ['@text_formatter.utils']]
tags:
- { name: notification.type }
@@ -164,8 +164,8 @@ services:
scope: prototype
parent: notification.type.base
calls:
- [set_user_loader, [@user_loader]]
- [set_config, [@config]]
- [set_user_loader, ['@user_loader']]
- [set_config, ['@config']]
tags:
- { name: notification.type }
@@ -181,7 +181,7 @@ services:
notification.method_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: notification.method }
@@ -189,13 +189,13 @@ services:
class: phpbb\notification\method\board
scope: prototype # scope MUST be prototype for this to work!
arguments:
- @user_loader
- @dbal.conn
- @cache.driver
- @user
- @config
- %tables.notification_types%
- %tables.notifications%
- '@user_loader'
- '@dbal.conn'
- '@cache.driver'
- '@user'
- '@config'
- '%tables.notification_types%'
- '%tables.notifications%'
tags:
- { name: notification.method }
@@ -203,11 +203,11 @@ services:
class: phpbb\notification\method\email
scope: prototype
arguments:
- @user_loader
- @user
- @config
- %core.root_path%
- %core.php_ext%
- '@user_loader'
- '@user'
- '@config'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: notification.method }
@@ -215,10 +215,10 @@ services:
class: phpbb\notification\method\jabber
scope: prototype
arguments:
- @user_loader
- @user
- @config
- %core.root_path%
- %core.php_ext%
- '@user_loader'
- '@user'
- '@config'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: notification.method }

View File

@@ -3,10 +3,10 @@ services:
passwords.manager:
class: phpbb\passwords\manager
arguments:
- @config
- @passwords.driver_collection
- @passwords.helper
- %passwords.algorithms%
- '@config'
- '@passwords.driver_collection'
- '@passwords.helper'
- '%passwords.algorithms%'
passwords.helper:
class: phpbb\passwords\helper
@@ -14,111 +14,111 @@ services:
passwords.driver_helper:
class: phpbb\passwords\driver\helper
arguments:
- @config
- '@config'
# ----- Password's drivers -----
passwords.driver_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: passwords.driver }
passwords.driver.bcrypt:
class: phpbb\passwords\driver\bcrypt
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.bcrypt_2y:
class: phpbb\passwords\driver\bcrypt_2y
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.bcrypt_wcf2:
class: phpbb\passwords\driver\bcrypt_wcf2
arguments:
- @passwords.driver.bcrypt
- @passwords.driver_helper
- '@passwords.driver.bcrypt'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.salted_md5:
class: phpbb\passwords\driver\salted_md5
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.phpass:
class: phpbb\passwords\driver\phpass
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.convert_password:
class: phpbb\passwords\driver\convert_password
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.sha1_smf:
class: phpbb\passwords\driver\sha1_smf
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.sha1_wcf1:
class: phpbb\passwords\driver\sha1_wcf1
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.sha1:
class: phpbb\passwords\driver\sha1
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.md5_phpbb2:
class: phpbb\passwords\driver\md5_phpbb2
arguments:
- @request
- @passwords.driver.salted_md5
- @passwords.driver_helper
- %core.root_path%
- %core.php_ext%
- '@request'
- '@passwords.driver.salted_md5'
- '@passwords.driver_helper'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: passwords.driver }
passwords.driver.md5_mybb:
class: phpbb\passwords\driver\md5_mybb
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.driver.md5_vb:
class: phpbb\passwords\driver\md5_vb
arguments:
- @config
- @passwords.driver_helper
- '@config'
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }

View File

@@ -2,101 +2,101 @@ services:
profilefields.manager:
class: phpbb\profilefields\manager
arguments:
- @auth
- @dbal.conn
- @dispatcher
- @request
- @template
- @profilefields.type_collection
- @user
- %tables.profile_fields%
- %tables.profile_fields_language%
- %tables.profile_fields_data%
- '@auth'
- '@dbal.conn'
- '@dispatcher'
- '@request'
- '@template'
- '@profilefields.type_collection'
- '@user'
- '%tables.profile_fields%'
- '%tables.profile_fields_language%'
- '%tables.profile_fields_data%'
profilefields.lang_helper:
class: phpbb\profilefields\lang_helper
arguments:
- @dbal.conn
- %tables.profile_fields_options_language%
- '@dbal.conn'
- '%tables.profile_fields_options_language%'
# ----- Profile fields types -----
profilefields.type_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: profilefield.type }
profilefields.type.bool:
class: phpbb\profilefields\type\type_bool
arguments:
- @profilefields.lang_helper
- @request
- @template
- @user
- '@profilefields.lang_helper'
- '@request'
- '@template'
- '@user'
tags:
- { name: profilefield.type }
profilefields.type.date:
class: phpbb\profilefields\type\type_date
arguments:
- @request
- @template
- @user
- '@request'
- '@template'
- '@user'
tags:
- { name: profilefield.type }
profilefields.type.dropdown:
class: phpbb\profilefields\type\type_dropdown
arguments:
- @profilefields.lang_helper
- @request
- @template
- @user
- '@profilefields.lang_helper'
- '@request'
- '@template'
- '@user'
tags:
- { name: profilefield.type }
profilefields.type.googleplus:
class: phpbb\profilefields\type\type_googleplus
arguments:
- @request
- @template
- @user
- '@request'
- '@template'
- '@user'
tags:
- { name: profilefield.type }
profilefields.type.int:
class: phpbb\profilefields\type\type_int
arguments:
- @request
- @template
- @user
- '@request'
- '@template'
- '@user'
tags:
- { name: profilefield.type }
profilefields.type.string:
class: phpbb\profilefields\type\type_string
arguments:
- @request
- @template
- @user
- '@request'
- '@template'
- '@user'
tags:
- { name: profilefield.type }
profilefields.type.text:
class: phpbb\profilefields\type\type_text
arguments:
- @request
- @template
- @user
- '@request'
- '@template'
- '@user'
tags:
- { name: profilefield.type }
profilefields.type.url:
class: phpbb\profilefields\type\type_url
arguments:
- @request
- @template
- @user
- '@request'
- '@template'
- '@user'
tags:
- { name: profilefield.type }

View File

@@ -3,30 +3,30 @@ services:
phpbb.report.controller:
class: phpbb\report\controller\report
arguments:
- @config
- @user
- @template
- @controller.helper
- @request
- @captcha.factory
- @phpbb.report.handler_factory
- @phpbb.report.report_reason_list_provider
- %core.root_path%
- %core.php_ext%
- '@config'
- '@user'
- '@template'
- '@controller.helper'
- '@request'
- '@captcha.factory'
- '@phpbb.report.handler_factory'
- '@phpbb.report.report_reason_list_provider'
- '%core.root_path%'
- '%core.php_ext%'
# ----- Report handler factory -----
phpbb.report.handler_factory:
class: phpbb\report\handler_factory
arguments:
- @service_container
- '@service_container'
# ----- Report UI provider -----
phpbb.report.report_reason_list_provider:
class: phpbb\report\report_reason_list_provider
arguments:
- @dbal.conn.driver
- @template
- @user
- '@dbal.conn.driver'
- '@template'
- '@user'
# ----- Report handlers -----
# Scope MUST be prototype for all the handlers to work correctly.
@@ -34,20 +34,20 @@ services:
class: phpbb\report\report_handler_pm
scope: prototype
arguments:
- @dbal.conn.driver
- @dispatcher
- @config
- @auth
- @user
- @notification_manager
- '@dbal.conn.driver'
- '@dispatcher'
- '@config'
- '@auth'
- '@user'
- '@notification_manager'
phpbb.report.handlers.report_handler_post:
class: phpbb\report\report_handler_post
scope: prototype
arguments:
- @dbal.conn.driver
- @dispatcher
- @config
- @auth
- @user
- @notification_manager
- '@dbal.conn.driver'
- '@dispatcher'
- '@config'
- '@auth'
- '@user'
- '@notification_manager'

View File

@@ -2,57 +2,57 @@ services:
router:
class: phpbb\routing\router
arguments:
- @service_container
- @routing.chained_resources_locator
- @routing.delegated_loader
- %core.root_path%
- %core.php_ext%
- %core.environment%
- '@service_container'
- '@routing.chained_resources_locator'
- '@routing.delegated_loader'
- '%core.root_path%'
- '%core.php_ext%'
- '%core.environment%'
router.listener:
class: Symfony\Component\HttpKernel\EventListener\RouterListener
arguments:
- @router
- '@router'
- null
- null
- @request_stack
- '@request_stack'
tags:
- { name: kernel.event_subscriber }
routing.helper:
class: phpbb\routing\helper
arguments:
- @config
- @router
- @symfony_request
- @request
- @filesystem
- %core.root_path%
- %core.php_ext%
- '@config'
- '@router'
- '@symfony_request'
- '@request'
- '@filesystem'
- '%core.root_path%'
- '%core.php_ext%'
# ---- Route loaders ----
routing.delegated_loader:
class: Symfony\Component\Config\Loader\DelegatingLoader
arguments:
- @routing.resolver
- '@routing.resolver'
routing.resolver:
class: phpbb\routing\loader_resolver
arguments:
- @routing.loader.collection
- '@routing.loader.collection'
routing.loader.collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: routing.loader }
routing.loader.yaml:
class: Symfony\Component\Routing\Loader\YamlFileLoader
arguments:
- @file_locator
- '@file_locator'
tags:
- { name: routing.loader }
@@ -61,20 +61,20 @@ services:
routing.chained_resources_locator:
class: phpbb\routing\resources_locator\chained_resources_locator
arguments:
- @routing.resources_locator.collection
- '@routing.resources_locator.collection'
routing.resources_locator.collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: routing.resources_locator }
routing.resources_locator.default:
class: phpbb\routing\resources_locator\default_resources_locator
arguments:
- %core.root_path%
- %core.environment%
- @ext.manager
- '%core.root_path%'
- '%core.environment%'
- '@ext.manager'
tags:
- { name: routing.resources_locator }

View File

@@ -1,5 +1,5 @@
parameters:
text_formatter.cache.dir: %core.root_path%cache/%core.environment%/
text_formatter.cache.dir: '%core.root_path%cache/%core.environment%/'
text_formatter.cache.parser.key: _text_formatter_parser
text_formatter.cache.renderer.key: _text_formatter_renderer
@@ -10,12 +10,12 @@ services:
text_formatter.data_access:
class: phpbb\textformatter\data_access
arguments:
- @dbal.conn
- %tables.bbcodes%
- %tables.smilies%
- %tables.styles%
- %tables.words%
- %core.root_path%styles/
- '@dbal.conn'
- '%tables.bbcodes%'
- '%tables.smilies%'
- '%tables.styles%'
- '%tables.words%'
- '%core.root_path%styles/'
text_formatter.parser:
alias: text_formatter.s9e.parser
@@ -29,41 +29,45 @@ services:
text_formatter.s9e.factory:
class: phpbb\textformatter\s9e\factory
arguments:
- @text_formatter.data_access
- @cache.driver
- @dispatcher
- @config
- %text_formatter.cache.dir%
- %text_formatter.cache.parser.key%
- %text_formatter.cache.renderer.key%
- '@text_formatter.data_access'
- '@cache.driver'
- '@dispatcher'
- '@config'
- '@text_formatter.s9e.link_helper'
- '%text_formatter.cache.dir%'
- '%text_formatter.cache.parser.key%'
- '%text_formatter.cache.renderer.key%'
text_formatter.s9e.link_helper:
class: phpbb\textformatter\s9e\link_helper
text_formatter.s9e.parser:
class: phpbb\textformatter\s9e\parser
arguments:
- @cache.driver
- %text_formatter.cache.parser.key%
- @text_formatter.s9e.factory
- @dispatcher
- '@cache.driver'
- '%text_formatter.cache.parser.key%'
- '@text_formatter.s9e.factory'
- '@dispatcher'
text_formatter.s9e.quote_helper:
class: phpbb\textformatter\s9e\quote_helper
arguments:
- @user
- %core.root_path%
- %core.php_ext%
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
text_formatter.s9e.renderer:
class: phpbb\textformatter\s9e\renderer
arguments:
- @cache.driver
- %text_formatter.cache.dir%
- %text_formatter.cache.renderer.key%
- @text_formatter.s9e.factory
- @dispatcher
- '@cache.driver'
- '%text_formatter.cache.dir%'
- '%text_formatter.cache.renderer.key%'
- '@text_formatter.s9e.factory'
- '@dispatcher'
calls:
- [configure_quote_helper, [@text_formatter.s9e.quote_helper]]
- [configure_smilies_path, [@config, @path_helper]]
- [configure_user, [@user, @config, @auth]]
- [configure_quote_helper, ['@text_formatter.s9e.quote_helper']]
- [configure_smilies_path, ['@config', '@path_helper']]
- [configure_user, ['@user', '@config', '@auth']]
text_formatter.s9e.utils:
class: phpbb\textformatter\s9e\utils

View File

@@ -1,77 +1,91 @@
services:
text_reparser.manager:
class: phpbb\textreparser\manager
arguments:
- '@config'
- '@config_text'
- '@text_reparser_collection'
text_reparser.lock:
class: phpbb\lock\db
arguments:
- reparse_lock
- '@config'
- '@dbal.conn'
text_reparser_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: text_reparser.plugin }
text_reparser.contact_admin_info:
class: phpbb\textreparser\plugins\contact_admin_info
arguments:
- @config_text
- '@config_text'
tags:
- { name: text_reparser.plugin }
text_reparser.forum_description:
class: phpbb\textreparser\plugins\forum_description
arguments:
- @dbal.conn
- %tables.forums%
- '@dbal.conn'
- '%tables.forums%'
tags:
- { name: text_reparser.plugin }
text_reparser.forum_rules:
class: phpbb\textreparser\plugins\forum_rules
arguments:
- @dbal.conn
- %tables.forums%
- '@dbal.conn'
- '%tables.forums%'
tags:
- { name: text_reparser.plugin }
text_reparser.group_description:
class: phpbb\textreparser\plugins\group_description
arguments:
- @dbal.conn
- %tables.groups%
- '@dbal.conn'
- '%tables.groups%'
tags:
- { name: text_reparser.plugin }
text_reparser.pm_text:
class: phpbb\textreparser\plugins\pm_text
arguments:
- @dbal.conn
- %tables.privmsgs%
- '@dbal.conn'
- '%tables.privmsgs%'
tags:
- { name: text_reparser.plugin }
text_reparser.poll_option:
class: phpbb\textreparser\plugins\poll_option
arguments:
- @dbal.conn
- '@dbal.conn'
tags:
- { name: text_reparser.plugin }
text_reparser.poll_title:
class: phpbb\textreparser\plugins\poll_title
arguments:
- @dbal.conn
- %tables.topics%
- '@dbal.conn'
- '%tables.topics%'
tags:
- { name: text_reparser.plugin }
text_reparser.post_text:
class: phpbb\textreparser\plugins\post_text
arguments:
- @dbal.conn
- %tables.posts%
- '@dbal.conn'
- '%tables.posts%'
tags:
- { name: text_reparser.plugin }
text_reparser.user_signature:
class: phpbb\textreparser\plugins\user_signature
arguments:
- @dbal.conn
- %tables.users%
- '@dbal.conn'
- '%tables.users%'
tags:
- { name: text_reparser.plugin }

View File

@@ -1,48 +1,48 @@
parameters:
core.template.cache_path: %core.root_path%cache/%core.environment%/twig/
core.template.cache_path: '%core.root_path%cache/%core.environment%/twig/'
services:
template.twig.environment:
class: phpbb\template\twig\environment
arguments:
- @config
- @filesystem
- @path_helper
- @service_container
- %core.template.cache_path%
- @ext.manager
- @template.twig.loader
- '@config'
- '@filesystem'
- '@path_helper'
- '@service_container'
- '%core.template.cache_path%'
- '@ext.manager'
- '@template.twig.loader'
- []
template.twig.lexer:
class: phpbb\template\twig\lexer
arguments:
- @template.twig.environment
- '@template.twig.environment'
template.twig.loader:
class: phpbb\template\twig\loader
arguments:
- @filesystem
- '@filesystem'
template.twig.extensions.collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: twig.extension }
template.twig.extensions.phpbb:
class: phpbb\template\twig\extension
arguments:
- @template_context
- @language
- '@template_context'
- '@language'
tags:
- { name: twig.extension }
template.twig.extensions.routing:
class: phpbb\template\twig\extension\routing
arguments:
- @routing.helper
- '@routing.helper'
tags:
- { name: twig.extension }
@@ -52,14 +52,14 @@ services:
template:
class: phpbb\template\twig\twig
arguments:
- @path_helper
- @config
- @template_context
- @template.twig.environment
- %core.template.cache_path%
- @user
- @template.twig.extensions.collection
- @ext.manager
- '@path_helper'
- '@config'
- '@template_context'
- '@template.twig.environment'
- '%core.template.cache_path%'
- '@user'
- '@template.twig.extensions.collection'
- '@ext.manager'
template_context:
class: phpbb\template\context

View File

@@ -2,19 +2,19 @@ services:
acl.permissions:
class: phpbb\permissions
arguments:
- @dispatcher
- @user
- '@dispatcher'
- '@user'
user:
class: phpbb\user
arguments:
- @language
- %datetime.class%
- '@language'
- '%datetime.class%'
user_loader:
class: phpbb\user_loader
arguments:
- @dbal.conn
- %core.root_path%
- %core.php_ext%
- %tables.users%
- '@dbal.conn'
- '%core.root_path%'
- '%core.php_ext%'
- '%tables.users%'

View File

@@ -1,77 +1,78 @@
parameters:
tables.acl_groups: %core.table_prefix%acl_groups
tables.acl_options: %core.table_prefix%acl_options
tables.acl_roles: %core.table_prefix%acl_roles
tables.acl_roles_data: %core.table_prefix%acl_roles_data
tables.acl_users: %core.table_prefix%acl_users
tables.attachments: %core.table_prefix%attachments
tables.auth_provider_oauth_token_storage: %core.table_prefix%oauth_tokens
tables.auth_provider_oauth_account_assoc: %core.table_prefix%oauth_accounts
tables.banlist: %core.table_prefix%banlist
tables.bbcodes: %core.table_prefix%bbcodes
tables.bookmarks: %core.table_prefix%bookmarks
tables.bots: %core.table_prefix%bots
tables.captcha_qa_questions: %core.table_prefix%captcha_questions
tables.captcha_qa_answers: %core.table_prefix%captcha_answers
tables.captcha_qa_confirm: %core.table_prefix%qa_confirm
tables.config: %core.table_prefix%config
tables.config_text: %core.table_prefix%config_text
tables.confirm: %core.table_prefix%confirm
tables.disallow: %core.table_prefix%disallow
tables.drafts: %core.table_prefix%drafts
tables.ext: %core.table_prefix%ext
tables.extensions: %core.table_prefix%extensions
tables.extension_groups: %core.table_prefix%extension_groups
tables.forums: %core.table_prefix%forums
tables.forums_access: %core.table_prefix%forums_access
tables.forums_track: %core.table_prefix%forums_track
tables.forums_watch: %core.table_prefix%forums_watch
tables.groups: %core.table_prefix%groups
tables.icons: %core.table_prefix%icons
tables.lang: %core.table_prefix%lang
tables.log: %core.table_prefix%log
tables.login_attempts: %core.table_prefix%login_attempts
tables.migrations: %core.table_prefix%migrations
tables.moderator_cache: %core.table_prefix%moderator_cache
tables.modules: %core.table_prefix%modules
tables.notification_types: %core.table_prefix%notification_types
tables.notifications: %core.table_prefix%notifications
tables.poll_options: %core.table_prefix%poll_options
tables.poll_votes: %core.table_prefix%poll_votes
tables.posts: %core.table_prefix%posts
tables.privmsgs: %core.table_prefix%privmsgs
tables.privmsgs_folder: %core.table_prefix%privmsgs_folder
tables.privmsgs_rules: %core.table_prefix%privmsgs_rules
tables.privmsgs_to: %core.table_prefix%privmsgs_to
tables.profile_fields: %core.table_prefix%profile_fields
tables.profile_fields_data: %core.table_prefix%profile_fields_data
tables.profile_fields_options_language: %core.table_prefix%profile_fields_lang
tables.profile_fields_language: %core.table_prefix%profile_lang
tables.ranks: %core.table_prefix%ranks
tables.reports: %core.table_prefix%reports
tables.reports_reasons: %core.table_prefix%reports_reasons
tables.search_results: %core.table_prefix%search_results
tables.search_wordlist: %core.table_prefix%search_wordlist
tables.search_wordmatch: %core.table_prefix%search_wordmatch
tables.sessions: %core.table_prefix%sessions
tables.sessions_keys: %core.table_prefix%sessions_keys
tables.sitelist: %core.table_prefix%sitelist
tables.smilies: %core.table_prefix%smilies
tables.sphinx: %core.table_prefix%sphinx
tables.styles: %core.table_prefix%styles
tables.styles_template: %core.table_prefix%styles_template
tables.styles_template_data: %core.table_prefix%styles_template_data
tables.styles_theme: %core.table_prefix%styles_theme
tables.styles_imageset: %core.table_prefix%styles_imageset
tables.styles_imageset_data: %core.table_prefix%styles_imageset_data
tables.teampage: %core.table_prefix%teampage
tables.topics: %core.table_prefix%topics
tables.topics_posted: %core.table_prefix%topics_posted
tables.topics_track: %core.table_prefix%topics_track
tables.topics_watch: %core.table_prefix%topics_watch
tables.user_group: %core.table_prefix%user_group
tables.user_notifications: %core.table_prefix%user_notifications
tables.users: %core.table_prefix%users
tables.warnings: %core.table_prefix%warnings
tables.words: %core.table_prefix%words
tables.zebra: %core.table_prefix%zebra
tables.acl_groups: '%core.table_prefix%acl_groups'
tables.acl_options: '%core.table_prefix%acl_options'
tables.acl_roles: '%core.table_prefix%acl_roles'
tables.acl_roles_data: '%core.table_prefix%acl_roles_data'
tables.acl_users: '%core.table_prefix%acl_users'
tables.attachments: '%core.table_prefix%attachments'
tables.auth_provider_oauth_token_storage: '%core.table_prefix%oauth_tokens'
tables.auth_provider_oauth_states: '%core.table_prefix%oauth_states'
tables.auth_provider_oauth_account_assoc: '%core.table_prefix%oauth_accounts'
tables.banlist: '%core.table_prefix%banlist'
tables.bbcodes: '%core.table_prefix%bbcodes'
tables.bookmarks: '%core.table_prefix%bookmarks'
tables.bots: '%core.table_prefix%bots'
tables.captcha_qa_questions: '%core.table_prefix%captcha_questions'
tables.captcha_qa_answers: '%core.table_prefix%captcha_answers'
tables.captcha_qa_confirm: '%core.table_prefix%qa_confirm'
tables.config: '%core.table_prefix%config'
tables.config_text: '%core.table_prefix%config_text'
tables.confirm: '%core.table_prefix%confirm'
tables.disallow: '%core.table_prefix%disallow'
tables.drafts: '%core.table_prefix%drafts'
tables.ext: '%core.table_prefix%ext'
tables.extensions: '%core.table_prefix%extensions'
tables.extension_groups: '%core.table_prefix%extension_groups'
tables.forums: '%core.table_prefix%forums'
tables.forums_access: '%core.table_prefix%forums_access'
tables.forums_track: '%core.table_prefix%forums_track'
tables.forums_watch: '%core.table_prefix%forums_watch'
tables.groups: '%core.table_prefix%groups'
tables.icons: '%core.table_prefix%icons'
tables.lang: '%core.table_prefix%lang'
tables.log: '%core.table_prefix%log'
tables.login_attempts: '%core.table_prefix%login_attempts'
tables.migrations: '%core.table_prefix%migrations'
tables.moderator_cache: '%core.table_prefix%moderator_cache'
tables.modules: '%core.table_prefix%modules'
tables.notification_types: '%core.table_prefix%notification_types'
tables.notifications: '%core.table_prefix%notifications'
tables.poll_options: '%core.table_prefix%poll_options'
tables.poll_votes: '%core.table_prefix%poll_votes'
tables.posts: '%core.table_prefix%posts'
tables.privmsgs: '%core.table_prefix%privmsgs'
tables.privmsgs_folder: '%core.table_prefix%privmsgs_folder'
tables.privmsgs_rules: '%core.table_prefix%privmsgs_rules'
tables.privmsgs_to: '%core.table_prefix%privmsgs_to'
tables.profile_fields: '%core.table_prefix%profile_fields'
tables.profile_fields_data: '%core.table_prefix%profile_fields_data'
tables.profile_fields_options_language: '%core.table_prefix%profile_fields_lang'
tables.profile_fields_language: '%core.table_prefix%profile_lang'
tables.ranks: '%core.table_prefix%ranks'
tables.reports: '%core.table_prefix%reports'
tables.reports_reasons: '%core.table_prefix%reports_reasons'
tables.search_results: '%core.table_prefix%search_results'
tables.search_wordlist: '%core.table_prefix%search_wordlist'
tables.search_wordmatch: '%core.table_prefix%search_wordmatch'
tables.sessions: '%core.table_prefix%sessions'
tables.sessions_keys: '%core.table_prefix%sessions_keys'
tables.sitelist: '%core.table_prefix%sitelist'
tables.smilies: '%core.table_prefix%smilies'
tables.sphinx: '%core.table_prefix%sphinx'
tables.styles: '%core.table_prefix%styles'
tables.styles_template: '%core.table_prefix%styles_template'
tables.styles_template_data: '%core.table_prefix%styles_template_data'
tables.styles_theme: '%core.table_prefix%styles_theme'
tables.styles_imageset: '%core.table_prefix%styles_imageset'
tables.styles_imageset_data: '%core.table_prefix%styles_imageset_data'
tables.teampage: '%core.table_prefix%teampage'
tables.topics: '%core.table_prefix%topics'
tables.topics_posted: '%core.table_prefix%topics_posted'
tables.topics_track: '%core.table_prefix%topics_track'
tables.topics_watch: '%core.table_prefix%topics_watch'
tables.user_group: '%core.table_prefix%user_group'
tables.user_notifications: '%core.table_prefix%user_notifications'
tables.users: '%core.table_prefix%users'
tables.warnings: '%core.table_prefix%warnings'
tables.words: '%core.table_prefix%words'
tables.zebra: '%core.table_prefix%zebra'

View File

@@ -3,7 +3,7 @@ phpbb_report_pm_controller:
methods: [GET, POST]
defaults:
_controller: phpbb.report.controller:handle
mode: "pm"
mode: 'pm'
requirements:
id: \d+
@@ -12,6 +12,6 @@ phpbb_report_post_controller:
methods: [GET, POST]
defaults:
_controller: phpbb.report.controller:handle
mode: "post"
mode: 'post'
requirements:
id: \d+

View File

@@ -5,11 +5,11 @@
# defaults: { _controller: foo_sevice:method }
#
# The above will be accessed via app.php?controller=foo and it will
# instantiate the "foo_service" service and call the "method" method.
# instantiate the 'foo_service' service and call the 'method' method.
#
phpbb_feed_routing:
resource: "feed.yml"
resource: feed.yml
prefix: /feed
phpbb_feed_index:
@@ -17,8 +17,8 @@ phpbb_feed_index:
defaults: { _controller: phpbb.feed.controller:overall }
phpbb_help_routing:
resource: "help.yml"
resource: help.yml
prefix: /help
phpbb_report_routing:
resource: "report.yml"
resource: report.yml

View File

@@ -1,2 +1,2 @@
core.default:
resource: "../../default/routing/routing.yml"
resource: ../../default/routing/routing.yml

View File

@@ -9,6 +9,11 @@ imports:
- { resource: ../../default/container/services_twig.yml }
services:
cache.driver:
class: '%cache.driver.class%'
arguments:
- '%core.root_path%/cache/installer/'
config:
class: phpbb\config\config
arguments:
@@ -17,15 +22,24 @@ services:
controller.resolver:
class: phpbb\controller\resolver
arguments:
- @service_container
- %core.root_path%
- @template
- '@service_container'
- '%core.root_path%'
- '@template'
file_locator:
class: phpbb\routing\file_locator
arguments:
- @filesystem
- %core.root_path%
- '@filesystem'
- '%core.root_path%'
kernel_exception_subscriber:
class: phpbb\install\event\kernel_exception_subscriber
arguments:
- '@phpbb.installer.controller.helper'
- '@language'
- '@template'
tags:
- { name: kernel.event_subscriber }
language.loader:
parent: language.loader_abstract
@@ -33,48 +47,48 @@ services:
path_helper:
class: phpbb\path_helper
arguments:
- @symfony_request
- @filesystem
- @request
- %core.root_path%
- %core.php_ext%
- '@symfony_request'
- '@filesystem'
- '@request'
- '%core.root_path%'
- '%core.php_ext%'
routing.resources_locator.default:
class: phpbb\routing\resources_locator\installer_resources_locator
arguments:
- @filesystem
- %core.root_path%
- %core.environment%
- '@filesystem'
- '%core.root_path%'
- '%core.environment%'
tags:
- { name: routing.resources_locator }
template:
class: phpbb\template\twig\twig
arguments:
- @path_helper
- @config
- @template_context
- @template.twig.environment
- %core.template.cache_path%
- '@path_helper'
- '@config'
- '@template_context'
- '@template.twig.environment'
- '%core.template.cache_path%'
- null
- @template.twig.extensions.collection
- '@template.twig.extensions.collection'
template.twig.environment:
class: phpbb\template\twig\environment
arguments:
- @config
- @filesystem
- @path_helper
- @service_container
- %core.template.cache_path%
- '@config'
- '@filesystem'
- '@path_helper'
- '@service_container'
- '%core.template.cache_path%'
- null
- @template.twig.loader
- '@template.twig.loader'
- []
console.exception_subscriber:
class: phpbb\console\exception_subscriber
arguments:
- @language
- %debug.exceptions%
- '@language'
- '%debug.exceptions%'
tags:
- { name: kernel.event_subscriber }

View File

@@ -2,37 +2,37 @@ services:
installer.file_updater.factory:
class: phpbb\install\helper\file_updater\factory
arguments:
- @installer.file_updater.collection
- '@installer.file_updater.collection'
installer.file_updater.collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: file_updater }
installer.file_updater.compress:
class: phpbb\install\helper\file_updater\compression_file_updater
arguments:
- @installer.helper.update_helper
- %core.root_path%
- %core.php_ext%
- '@installer.helper.update_helper'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: file_updater }
installer.file_updater.ftp:
class: phpbb\install\helper\file_updater\ftp_file_updater
arguments:
- @installer.helper.update_helper
- %core.root_path%
- %core.php_ext%
- '@installer.helper.update_helper'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: file_updater }
installer.file_updater.file:
class: phpbb\install\helper\file_updater\file_updater
arguments:
- @filesystem
- %core.root_path%
- '@filesystem'
- '%core.root_path%'
tags:
- { name: file_updater }

View File

@@ -2,26 +2,26 @@ services:
console.installer.command_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: console.installer.command }
console.installer.command.install:
class: phpbb\install\console\command\install\install
arguments:
- @language
- @installer.helper.iohandler_factory
- @installer.installer.install
- @installer.helper.install_helper
- '@language'
- '@installer.helper.iohandler_factory'
- '@installer.installer.install'
- '@installer.helper.install_helper'
tags:
- { name: console.installer.command }
console.installer.command.config.show:
class: phpbb\install\console\command\install\config\show
arguments:
- @language
- @installer.helper.iohandler_factory
- @installer.installer.install
- '@language'
- '@installer.helper.iohandler_factory'
- '@installer.installer.install'
tags:
- { name: console.installer.command }
@@ -29,8 +29,8 @@ services:
console.installer.command.config.validate:
class: phpbb\install\console\command\install\config\validate
arguments:
- @language
- @installer.helper.iohandler_factory
- @installer.installer.install
- '@language'
- '@installer.helper.iohandler_factory'
- '@installer.installer.install'
tags:
- { name: console.installer.command }

View File

@@ -2,50 +2,65 @@ services:
phpbb.installer.controller.welcome:
class: phpbb\install\controller\installer_index
arguments:
- @phpbb.installer.controller.helper
- @language
- @template
- %core.root_path%
- '@phpbb.installer.controller.helper'
- '@language'
- '@template'
- '%core.root_path%'
phpbb.installer.controller.helper:
class: phpbb\install\controller\helper
arguments:
- @installer.helper.config
- @language
- @language.helper.language_file
- @installer.navigation.provider
- @template
- @path_helper
- @request
- @symfony_request
- @router
- %core.root_path%
- '@installer.helper.config'
- '@language'
- '@language.helper.language_file'
- '@installer.navigation.provider'
- '@template'
- '@path_helper'
- '@request'
- '@symfony_request'
- '@router'
- '%core.root_path%'
phpbb.installer.controller.install:
class: phpbb\install\controller\install
arguments:
- @phpbb.installer.controller.helper
- @installer.helper.iohandler_factory
- @installer.navigation.provider
- @language
- @template
- @request
- @installer.installer.install
- @installer.helper.install_helper
- '@phpbb.installer.controller.helper'
- '@installer.helper.iohandler_factory'
- '@installer.navigation.provider'
- '@language'
- '@template'
- '@request'
- '@installer.installer.install'
- '@installer.helper.install_helper'
phpbb.installer.controller.update:
class: phpbb\install\controller\update
arguments:
- @phpbb.installer.controller.helper
- @installer.installer.update
- @installer.helper.install_helper
- @installer.helper.iohandler_factory
- @language
- @installer.navigation.provider
- @request
- @template
- '@phpbb.installer.controller.helper'
- '@installer.installer.update'
- '@installer.helper.install_helper'
- '@installer.helper.iohandler_factory'
- '@language'
- '@installer.navigation.provider'
- '@request'
- '@template'
phpbb.installer.controller.file_downloader:
class: phpbb\install\controller\archive_download
arguments:
- @installer.helper.config
- '@installer.helper.config'
phpbb.installer.controller.convert:
class: phpbb\convert\controller\convertor
arguments:
- '@installer.helper.container_factory'
- '@installer.helper.database'
- '@phpbb.installer.controller.helper'
- '@installer.helper.install_helper'
- '@installer.helper.iohandler_factory'
- '@language'
- '@installer.navigation.provider'
- '@request'
- '@template'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -2,36 +2,36 @@ services:
installer.install_data.add_bots:
class: phpbb\install\module\install_data\task\add_bots
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- @installer.helper.container_factory
- @language
- %core.root_path%
- %core.php_ext%
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
- '@language'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: install_data_install, order: 20 }
installer.install_data.add_languages:
class: phpbb\install\module\install_data\task\add_languages
arguments:
- @installer.helper.iohandler
- @installer.helper.container_factory
- @language.helper.language_file
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
- '@language.helper.language_file'
tags:
- { name: install_data_install, order: 10 }
installer.install_data.add_modules:
class: phpbb\install\module\install_data\task\add_modules
arguments:
- @installer.helper.iohandler
- @installer.helper.container_factory
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
tags:
- { name: install_data_install, order: 30 }
installer.module.data_install_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: install_data_install, class_name_aware: true }
@@ -39,6 +39,6 @@ services:
class: phpbb\install\module\install_data\module
parent: installer.module_base
arguments:
- @installer.module.data_install_collection
- '@installer.module.data_install_collection'
tags:
- { name: installer_install_module, order: 50 }

View File

@@ -2,43 +2,43 @@ services:
installer.install_database.create_schema:
class: phpbb\install\module\install_database\task\create_schema
arguments:
- @installer.helper.config
- @installer.helper.database
- @filesystem
- @installer.helper.iohandler
- %core.root_path%
- %core.php_ext%
- '@installer.helper.config'
- '@installer.helper.database'
- '@filesystem'
- '@installer.helper.iohandler'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: install_database_install, order: 10 }
installer.install_database.add_default_data:
class: phpbb\install\module\install_database\task\add_default_data
arguments:
- @installer.helper.database
- @installer.helper.config
- @installer.helper.iohandler
- @installer.helper.container_factory
- @language
- %core.root_path%
- '@installer.helper.database'
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
- '@language'
- '%core.root_path%'
tags:
- { name: install_database_install, order: 20 }
installer.install_database.add_config_settings:
class: phpbb\install\module\install_database\task\add_config_settings
arguments:
- @filesystem
- @installer.helper.config
- @installer.helper.iohandler
- @installer.helper.container_factory
- @language
- %core.root_path%
- '@filesystem'
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@installer.helper.container_factory'
- '@language'
- '%core.root_path%'
tags:
- { name: install_database_install, order: 30 }
installer.module.install_database_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: install_database_install, class_name_aware: true }
@@ -46,6 +46,6 @@ services:
class: phpbb\install\module\install_database\module
parent: installer.module_base
arguments:
- @installer.module.install_database_collection
- '@installer.module.install_database_collection'
tags:
- { name: installer_install_module, order: 40 }

View File

@@ -2,20 +2,20 @@ services:
installer.install_filesystem.create_config_file:
class: phpbb\install\module\install_filesystem\task\create_config_file
arguments:
- @filesystem
- @installer.helper.config
- @installer.helper.database
- @installer.helper.iohandler
- %core.root_path%
- %core.php_ext%
- %installer.create_config_file.options%
- '@filesystem'
- '@installer.helper.config'
- '@installer.helper.database'
- '@installer.helper.iohandler'
- '%core.root_path%'
- '%core.php_ext%'
- '%installer.create_config_file.options%'
tags:
- { name: install_filesystem_install, order: 10 }
installer.module.install_filesystem_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: install_filesystem_install, class_name_aware: true }
@@ -23,6 +23,6 @@ services:
class: phpbb\install\module\install_filesystem\module
parent: installer.module_base
arguments:
- @installer.module.install_filesystem_collection
- '@installer.module.install_filesystem_collection'
tags:
- { name: installer_install_module, order: 30 }

View File

@@ -2,25 +2,25 @@ services:
installer.install_finish.populate_migrations:
class: phpbb\install\module\install_finish\task\populate_migrations
arguments:
- @installer.helper.container_factory
- '@installer.helper.container_factory'
tags:
- { name: install_finish, order: 10 }
installer.install_finish.notify_user:
class: phpbb\install\module\install_finish\task\notify_user
arguments:
- @installer.helper.container_factory
- @installer.helper.config
- @installer.helper.iohandler
- %core.root_path%
- %core.php_ext%
- '@installer.helper.container_factory'
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: install_finish, order: 20 }
installer.module.install_finish_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: install_finish, class_name_aware: true }
@@ -28,6 +28,6 @@ services:
class: phpbb\install\module\install_filesystem\module
parent: installer.module_base
arguments:
- @installer.module.install_finish_collection
- '@installer.module.install_finish_collection'
tags:
- { name: installer_install_module, order: 60 }

View File

@@ -2,12 +2,12 @@ services:
installer.navigation.provider:
class: phpbb\install\helper\navigation\navigation_provider
arguments:
- @installer.navigation.service_collection
- '@installer.navigation.service_collection'
installer.navigation.service_collection:
class: phpbb\di\service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: installer.navigation }
@@ -20,7 +20,7 @@ services:
installer.navigation.install_navigation:
class: phpbb\install\helper\navigation\install_navigation
arguments:
- @installer.helper.install_helper
- '@installer.helper.install_helper'
scope: prototype
tags:
- { name: installer.navigation }
@@ -28,8 +28,15 @@ services:
installer.navigation.update_navigation:
class: phpbb\install\helper\navigation\update_navigation
arguments:
- @installer.helper.install_helper
- '@installer.helper.install_helper'
scope: prototype
tags:
- { name: installer.navigation }
installer.navigation.convertor_navigation:
class: phpbb\install\helper\navigation\convertor_navigation
arguments:
- '@installer.helper.install_helper'
scope: prototype
tags:
- { name: installer.navigation }

View File

@@ -2,56 +2,56 @@ services:
installer.obtain_data.obtain_admin_data:
class: phpbb\install\module\obtain_data\task\obtain_admin_data
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- '@installer.helper.config'
- '@installer.helper.iohandler'
tags:
- { name: install_obtain_data, order: 10 }
installer.obtain_data.obtain_board_data:
class: phpbb\install\module\obtain_data\task\obtain_board_data
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- @language.helper.language_file
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@language.helper.language_file'
tags:
- { name: install_obtain_data, order: 50 }
installer.obtain_data.obtain_database_data:
class: phpbb\install\module\obtain_data\task\obtain_database_data
arguments:
- @installer.helper.database
- @installer.helper.config
- @installer.helper.iohandler
- '@installer.helper.database'
- '@installer.helper.config'
- '@installer.helper.iohandler'
tags:
- { name: install_obtain_data, order: 20 }
installer.obtain_data.obtain_email_data:
class: phpbb\install\module\obtain_data\task\obtain_email_data
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- '@installer.helper.config'
- '@installer.helper.iohandler'
tags:
- { name: install_obtain_data, order: 40 }
installer.obtain_data.obtain_imagick_path:
class: phpbb\install\module\obtain_data\task\obtain_imagick_path
arguments:
- @installer.helper.config
- '@installer.helper.config'
tags:
- { name: install_obtain_data, order: 60 }
installer.obtain_data.obtain_server_data:
class: phpbb\install\module\obtain_data\task\obtain_server_data
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- '@installer.helper.config'
- '@installer.helper.iohandler'
tags:
- { name: install_obtain_data, order: 30 }
installer.module.install_obtain_data_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: install_obtain_data, class_name_aware: true }
@@ -59,7 +59,7 @@ services:
class: phpbb\install\module\obtain_data\install_module
parent: installer.module_base
arguments:
- @installer.module.install_obtain_data_collection
- '@installer.module.install_obtain_data_collection'
- true
- false
tags:

View File

@@ -2,18 +2,18 @@ services:
installer.requirements.check_filesystem:
class: phpbb\install\module\requirements\task\check_filesystem
arguments:
- @filesystem
- @installer.helper.iohandler
- %core.root_path%
- %core.php_ext%
- '@filesystem'
- '@installer.helper.iohandler'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: installer_requirements, order: 10 }
installer.requirements.check_server_environment:
class: phpbb\install\module\requirements\task\check_server_environment
arguments:
- @installer.helper.database
- @installer.helper.iohandler
- '@installer.helper.database'
- '@installer.helper.iohandler'
tags:
- { name: installer_requirements, order: 20 }
- { name: update_requirements, order: 20 }
@@ -21,7 +21,7 @@ services:
installer.module.install_requirements_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: installer_requirements, class_name_aware: true }
@@ -30,7 +30,7 @@ services:
class: phpbb\install\module\requirements\install_module
parent: installer.module_base
arguments:
- @installer.module.install_requirements_collection
- '@installer.module.install_requirements_collection'
- true
- false
tags:

View File

@@ -19,34 +19,34 @@ services:
installer.helper.config:
class: phpbb\install\helper\config
arguments:
- @filesystem
- @php_ini
- %core.root_path%
- '@filesystem'
- '@php_ini'
- '%core.root_path%'
installer.helper.database:
class: phpbb\install\helper\database
arguments:
- @filesystem
- %core.root_path%
- '@filesystem'
- '%core.root_path%'
installer.helper.iohandler_factory:
class: phpbb\install\helper\iohandler\factory
arguments:
- @service_container
- '@service_container'
installer.helper.iohandler_abstract:
abstract: true
calls:
- [set_language, ["@language"]]
- [set_language, ['@language']]
installer.helper.iohandler_ajax:
class: phpbb\install\helper\iohandler\ajax_iohandler
parent: installer.helper.iohandler_abstract
arguments:
- @path_helper
- @request
- @template
- @router
- '@path_helper'
- '@request'
- '@template'
- '@router'
installer.helper.iohandler_cli:
class: phpbb\install\helper\iohandler\cli_iohandler
@@ -54,61 +54,62 @@ services:
installer.helper.iohandler:
class: phpbb\install\helper\iohandler\iohandler_interface
factory: ["@installer.helper.iohandler_factory", get]
factory: ['@installer.helper.iohandler_factory', get]
installer.helper.container_factory:
class: phpbb\install\helper\container_factory
arguments:
- @language
- @request
- @installer.helper.update_helper
- %core.root_path%
- %core.php_ext%
- '@language'
- '@request'
- '@installer.helper.update_helper'
- '%core.root_path%'
- '%core.php_ext%'
installer.helper.install_helper:
class: phpbb\install\helper\install_helper
arguments:
- %core.root_path%
- %core.php_ext%
- '%core.root_path%'
- '%core.php_ext%'
installer.helper.update_helper:
class: phpbb\install\helper\update_helper
arguments:
- %core.root_path%
- '%core.root_path%'
# -------- Installer --------------------------------
installer.module_base:
abstract: true
calls:
- [setup, [@installer.helper.config, @installer.helper.iohandler]]
- [setup, ['@installer.helper.config', '@installer.helper.iohandler']]
installer.installer.abstract:
class: phpbb\install\installer
abstract: true
arguments:
- @installer.helper.config
- @path_helper
- '@cache.driver'
- '@installer.helper.config'
- '@path_helper'
installer.install.module_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: installer_install_module }
installer.update.module_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: installer_update_module }
installer.installer.install:
parent: installer.installer.abstract
calls:
- [set_modules, [@installer.install.module_collection]]
- [set_modules, ['@installer.install.module_collection']]
installer.installer.update:
parent: installer.installer.abstract
calls:
- [set_modules, [@installer.update.module_collection]]
- [set_modules, ['@installer.update.module_collection']]

View File

@@ -2,19 +2,19 @@ services:
installer.update_database.update_task:
class: phpbb\install\module\update_database\task\update
arguments:
- @installer.helper.container_factory
- @filesystem
- @installer.helper.config
- @installer.helper.iohandler
- @language
- %core.root_path%
- '@installer.helper.container_factory'
- '@filesystem'
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@language'
- '%core.root_path%'
tags:
- { name: update_database_task, order: 10 }
installer.module.update_database_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: update_database_task, class_name_aware: true }
@@ -22,7 +22,7 @@ services:
class: phpbb\install\module\update_database\module
parent: installer.module_base
arguments:
- @installer.module.update_database_collection
- '@installer.module.update_database_collection'
- true
- false
tags:

View File

@@ -2,62 +2,62 @@ services:
installer.update_filesystem.check_task:
class: phpbb\install\module\update_filesystem\task\file_check
arguments:
- @filesystem
- @installer.helper.config
- @installer.helper.iohandler
- @installer.helper.update_helper
- %core.root_path%
- '@filesystem'
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@installer.helper.update_helper'
- '%core.root_path%'
tags:
- { name: update_filesystem, order: 10 }
installer.update_filesystem.diff_files:
class: phpbb\install\module\update_filesystem\task\diff_files
arguments:
- @installer.helper.container_factory
- @installer.helper.config
- @installer.helper.iohandler
- @installer.helper.update_helper
- %core.root_path%
- %core.php_ext%
- '@installer.helper.container_factory'
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@installer.helper.update_helper'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: update_filesystem, order: 20 }
installer.update_filesystem.show_file_status:
class: phpbb\install\module\update_filesystem\task\show_file_status
arguments:
- @installer.helper.container_factory
- @installer.helper.config
- @installer.helper.iohandler
- @filesystem
- @installer.file_updater.factory
- '@installer.helper.container_factory'
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@filesystem'
- '@installer.file_updater.factory'
tags:
- { name: update_filesystem, order: 30 }
installer.update_filesystem.update_files:
class: phpbb\install\module\update_filesystem\task\update_files
arguments:
- @installer.helper.container_factory
- @installer.helper.config
- @installer.helper.iohandler
- @installer.file_updater.factory
- @installer.helper.update_helper
- %core.root_path%
- '@installer.helper.container_factory'
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@installer.file_updater.factory'
- '@installer.helper.update_helper'
- '%core.root_path%'
tags:
- { name: update_filesystem, order: 40 }
installer.update_filesystem.download_updated_files:
class: phpbb\install\module\update_filesystem\task\download_updated_files
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- @filesystem
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@filesystem'
tags:
- { name: update_filesystem, order: 50 }
installer.module.update_filesystem_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: update_filesystem, class_name_aware: true }
@@ -65,7 +65,7 @@ services:
class: phpbb\install\module\update_filesystem\module
parent: installer.module_base
arguments:
- @installer.module.update_filesystem_collection
- '@installer.module.update_filesystem_collection'
- true
- false
tags:

View File

@@ -2,43 +2,43 @@ services:
installer.obtain_data.update_options:
class: phpbb\install\module\obtain_data\task\obtain_update_settings
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- '@installer.helper.config'
- '@installer.helper.iohandler'
tags:
- { name: update_obtain_data, order: 10 }
installer.obtain_data.file_updater_method:
class: phpbb\install\module\obtain_data\task\obtain_file_updater_method
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- '@installer.helper.config'
- '@installer.helper.iohandler'
tags:
- { name: update_obtain_data, order: 20 }
installer.obtain_data.update_files:
class: phpbb\install\module\obtain_data\task\obtain_update_files
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- %core.root_path%
- %core.php_ext%
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: update_obtain_data, order: 30 }
installer.obtain_data.update_ftp_settings:
class: phpbb\install\module\obtain_data\task\obtain_update_ftp_data
arguments:
- @installer.helper.config
- @installer.helper.iohandler
- @installer.helper.update_helper
- %core.php_ext%
- '@installer.helper.config'
- '@installer.helper.iohandler'
- '@installer.helper.update_helper'
- '%core.php_ext%'
tags:
- { name: update_obtain_data, order: 40 }
installer.module.update_obtain_data_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: update_obtain_data, class_name_aware: true }
@@ -46,7 +46,7 @@ services:
class: phpbb\install\module\obtain_data\update_module
parent: installer.module_base
arguments:
- @installer.module.update_obtain_data_collection
- '@installer.module.update_obtain_data_collection'
- true
- false
tags:

View File

@@ -2,10 +2,10 @@ services:
installer.requirements.check_filesystem_update:
class: phpbb\install\module\requirements\task\check_filesystem
arguments:
- @filesystem
- @installer.helper.iohandler
- %core.root_path%
- %core.php_ext%
- '@filesystem'
- '@installer.helper.iohandler'
- '%core.root_path%'
- '%core.php_ext%'
- false
tags:
- { name: update_requirements, order: 10 }
@@ -13,19 +13,19 @@ services:
installer.requirements.update_requirements:
class: phpbb\install\module\requirements\task\check_update
arguments:
- @installer.helper.container_factory
- @filesystem
- @installer.helper.iohandler
- @installer.helper.update_helper
- %core.root_path%
- %core.php_ext%
- '@installer.helper.container_factory'
- '@filesystem'
- '@installer.helper.iohandler'
- '@installer.helper.update_helper'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: update_requirements, order: 30 }
installer.module.update_requirements_collection:
class: phpbb\di\ordered_service_collection
arguments:
- @service_container
- '@service_container'
tags:
- { name: service_collection, tag: update_requirements, class_name_aware: true }
@@ -33,7 +33,7 @@ services:
class: phpbb\install\module\requirements\update_module
parent: installer.module_base
arguments:
- @installer.module.update_requirements_collection
- '@installer.module.update_requirements_collection'
- true
- false
tags:

View File

@@ -1,2 +1,2 @@
core.default:
resource: "installer.yml"
resource: installer.yml

View File

@@ -2,19 +2,19 @@ phpbb_installer_index:
path: /
defaults:
_controller: phpbb.installer.controller.welcome:handle
mode: "intro"
mode: 'intro'
phpbb_installer_license:
path: /license
defaults:
_controller: phpbb.installer.controller.welcome:handle
mode: "license"
mode: 'license'
phpbb_installer_support:
path: /support
defaults:
_controller: phpbb.installer.controller.welcome:handle
mode: "support"
mode: 'support'
phpbb_installer_install:
path: /install
@@ -35,3 +35,28 @@ phpbb_installer_update_conflict_download:
path: /download/conflict
defaults:
_controller: phpbb.installer.controller.file_downloader:conflict_archive
phpbb_convert_intro:
path: /convert/{start_new}
defaults:
_controller: phpbb.installer.controller.convert:intro
start_new: 0
phpbb_convert_settings:
path: /convert/settings/{convertor}
defaults:
_controller: phpbb.installer.controller.convert:settings
requirements:
converter: "[a-zA-Z0-9_]+"
phpbb_convert_convert:
path: /convert/in_progress/{converter}
defaults:
_controller: phpbb.installer.controller.convert:convert
requirements:
converter: "[a-zA-Z0-9_]+"
phpbb_convert_finish:
path: /convert/finished
defaults:
_controller: phpbb.installer.controller.convert:finish

View File

@@ -1,2 +1,2 @@
core.default:
resource: "../../default/routing/routing.yml"
resource: ../../default/routing/routing.yml

View File

@@ -1,2 +1,2 @@
core.default:
resource: "../../default/routing/routing.yml"
resource: ../../default/routing/routing.yml

View File

@@ -389,7 +389,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)
foreach ($sql_subary as $sql)
{
$sql = "INSERT INTO $table ($id_field, forum_id, auth_option_id, auth_setting) VALUES ($sql)";
$result = $db->sql_query($sql);
$db->sql_query($sql);
$sql = '';
}
}
@@ -397,7 +397,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)
if ($sql != '')
{
$sql = "INSERT INTO $table ($id_field, forum_id, auth_option_id, auth_setting) $sql";
$result = $db->sql_query($sql);
$db->sql_query($sql);
}
break;
@@ -405,7 +405,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)
case 'delete':
foreach ($sql_subary as $sql)
{
$result = $db->sql_query($sql);
$db->sql_query($sql);
$sql = '';
}
break;

View File

@@ -143,7 +143,7 @@ function filldb($newposts)
if ((rand(0,30) < 1) || ($forum_topic_count[$forum] == 0))
{
// create a new topic 1 in 30 times (or when there are none);
$topic = make_topic($userid, "Testing topic $i", $forum);
make_topic($userid, "Testing topic $i", $forum);
$forum_topic_count[$forum]++;
}
else

View File

@@ -38,6 +38,7 @@ define('IN_PHPBB', true);
$phpbb_root_path = dirname(__FILE__) . '/../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'vendor/autoload.php');
include($phpbb_root_path . 'includes/constants.' . $phpEx);
require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx);
$phpbb_class_loader = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx);

View File

@@ -11,18 +11,13 @@
*
*/
//
// Security message:
//
// This script is potentially dangerous.
// Remove or comment the next line (die(".... ) to enable this script.
// Do NOT FORGET to either remove this script or disable it after you have used it.
//
#die("Please read the first lines of this script for instructions on how to enable it");
define('LANGUAGE_TO_MIGRATE', 'en');
# NO CHANGES BELOW THIS LINE
define('IN_PHPBB', true);
$phpEx = substr(strrchr(__FILE__, '.'), 1);
$phpbb_root_path='./../';
$phpbb_root_path = './../';
include($phpbb_root_path . 'common.'.$phpEx);
$help_bbcode = load_help('bbcode');
@@ -239,7 +234,7 @@ trigger_error('Successfully migrated help_bbcode and help_faq to help/bbcode and
function load_help($help)
{
global $phpbb_root_path;
include($phpbb_root_path . 'language/en/help_' . $help . '.php');
include($phpbb_root_path . 'language/' . LANGUAGE_TO_MIGRATE . '/help_' . $help . '.php');
return $help;
}
@@ -250,7 +245,7 @@ function load_help($help)
function write_help($help, array $lang)
{
global $phpbb_root_path;
$fp = fopen($phpbb_root_path . 'language/en/help/' . $help . '.php', 'wb');
$fp = fopen($phpbb_root_path . 'language/' . LANGUAGE_TO_MIGRATE . '/help/' . $help . '.php', 'wb');
fwrite($fp, get_language_file_header());
fwrite($fp, '$lang = array_merge($lang, array(' . "\n");

View File

@@ -19,7 +19,7 @@ if (!headers_sent())
function unicode_to_utf8($string)
{
$utf8 = '';
$chars = array();
for ($i = 0; $i < strlen($string); $i++)
{
if (isset($string[$i + 5]) && substr($string, $i, 2) == '\\u' && ctype_xdigit(substr($string, $i + 2, 4)))

View File

@@ -49,7 +49,11 @@
<ol>
<li><a href="#changelog">Changelog</a>
<ul>
<li><a href="#v320a2">Changes since 3.2.0-a2</a></li>
<li><a href="#v320a1">Changes since 3.2.0-a1</a></li>
<li><a href="#v31x">Changes since 3.1.x</a></li>
<li><a href="#v317">Changes since 3.1.7</a></li>
<li><a href="#v316">Changes since 3.1.6</a></li>
<li><a href="#v315">Changes since 3.1.5</a></li>
<li><a href="#v314">Changes since 3.1.4</a></li>
<li><a href="#v313">Changes since 3.1.3</a></li>
@@ -114,6 +118,88 @@
<div class="content">
<a name="v320a2"></a><h3>Changes since 3.2.0-a2</h3>
<h4>Bug</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-10628">PHPBB3-10628</a>] - http:// prepended to &quot;www.&quot; urls (but not reflected in preview)</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11875">PHPBB3-11875</a>] - mediumint(8) too small for post_id</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12221">PHPBB3-12221</a>] - URLs Containing javascript: are Garbled</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14129">PHPBB3-14129</a>] - Adding custom extensions autoloaders feature slow downs the board</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14321">PHPBB3-14321</a>] - Fatal error on download the merged conflicts archive during update from 3.1.6 to 3.2-a1</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14323">PHPBB3-14323</a>] - Long urls are no longer shortened</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14368">PHPBB3-14368</a>] - Post Editors Text Should Be Black, Not Blue</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14371">PHPBB3-14371</a>] - Small fix for the aligment quick links</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14373">PHPBB3-14373</a>] - Do not use strpos() on arrays in iohandler_base::add_error_message()</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14378">PHPBB3-14378</a>] - Maintain consistent template var paths in 3.2 installer</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14380">PHPBB3-14380</a>] - Maintain consistent template var paths in 3.2 installer</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14402">PHPBB3-14402</a>] - Tidy plupload cron should not rely on user id/ip being available</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14403">PHPBB3-14403</a>] - phpbb\log should still work even when no user data is given</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14405">PHPBB3-14405</a>] - Text processor parses invalid use of url bbcode</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14419">PHPBB3-14419</a>] - Update composer dependencies and fix outdated composer lock file</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14420">PHPBB3-14420</a>] - Search Results pagination not up to date / broken</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14428">PHPBB3-14428</a>] - Use other links for files remote test</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14431">PHPBB3-14431</a>] - Remote avatar uploading does not support https</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14432">PHPBB3-14432</a>] - The lang() function needs to handle key array</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14434">PHPBB3-14434</a>] - Schema generator fails if extensions have non-migrations in migrations dir</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14436">PHPBB3-14436</a>] - Default data type migration misses oauth_states dependency</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14442">PHPBB3-14442</a>] - Use Goutte ~2.0 after allowing PHP &gt;= 5.4</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14444">PHPBB3-14444</a>] - Fatal error in functions_messenger.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14446">PHPBB3-14446</a>] - Add predefined placeholder variables to twig</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14452">PHPBB3-14452</a>] - Undefined $progressFillerText in installer.js</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14453">PHPBB3-14453</a>] - Missing dependency in the text_reparser migration</li>
</ul>
<h4>Improvement</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13454">PHPBB3-13454</a>] - Remove unused variables, globals, parameters</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13733">PHPBB3-13733</a>] - Allow non-migration files inside migrations folder</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14177">PHPBB3-14177</a>] - Catch exceptions and display a nice error page</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14253">PHPBB3-14253</a>] - Show group requests pending aproval at the ACP groups summary</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14377">PHPBB3-14377</a>] - Allow extensions to register custom compiler pass</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14418">PHPBB3-14418</a>] - Add missing language string PM_TOOLS</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14445">PHPBB3-14445</a>] - Force page refresh before the installer generates the schema</li>
</ul>
<h4>Task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14250">PHPBB3-14250</a>] - Review/bump composer dependencies</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14262">PHPBB3-14262</a>] - Move converter code into a controller</li>
</ul>
<a name="v320a1"></a><h3>Changes since 3.2.0-a1</h3>
<h4>Bug</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-9791">PHPBB3-9791</a>] - invalid [] - chars on search URI</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13451">PHPBB3-13451</a>] - A very long string inside message crashes PHP</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14273">PHPBB3-14273</a>] - Unnecessary core.root_path dependency in files.upload service</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14293">PHPBB3-14293</a>] - Responsive .postbody width not expanding</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14295">PHPBB3-14295</a>] - Icon on left side of &quot;Post awaiting approval&quot; inside messages is missing</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14311">PHPBB3-14311</a>] - Installer error messages not being reported back to client properly</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14317">PHPBB3-14317</a>] - Run lang_migrate_help_lang script on master</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14320">PHPBB3-14320</a>] - Language selector is broken in the installer</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14325">PHPBB3-14325</a>] - Renamed Event Variables Backwards Incompatible</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14326">PHPBB3-14326</a>] - Diffed files are not decoded at update</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14339">PHPBB3-14339</a>] - State support for PHP 7.0 in docs</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14344">PHPBB3-14344</a>] - Improve formatting of errors during install</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14345">PHPBB3-14345</a>] - Check if message description exists in install cli iohandler</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14349">PHPBB3-14349</a>] - Improve error messages and remove output of suppressed messages</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14350">PHPBB3-14350</a>] - Remove duplicate semi-colon from functions_user</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14358">PHPBB3-14358</a>] - Fatal error when running create_schema_files.php (missing composer autoloader)</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14359">PHPBB3-14359</a>] - Wrong service definition for console.command.reparser.reparse</li>
</ul>
<h4>Improvement</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12649">PHPBB3-12649</a>] - Change sort &amp; display options in footers to dropdown menu</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14257">PHPBB3-14257</a>] - Reparse after update</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14269">PHPBB3-14269</a>] - Use http_exceptions instead of die() in installer controllers</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14310">PHPBB3-14310</a>] - Progress bar in new installer not very clear</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14340">PHPBB3-14340</a>] - Revert the workaround fix for segmentation fault error on phpBB 3.2 PHP 7 tests</li>
</ul>
<h4>Task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14247">PHPBB3-14247</a>] - Usage of @ at begining of an unquoted string in a yaml file is deprecated</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14341">PHPBB3-14341</a>] - Update to Symfony 2.8</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14348">PHPBB3-14348</a>] - Add an index.html to the install folder</li>
</ul>
<a name="v31x"></a><h3>Changes since 3.1.x</h3>
<h4>Bug</h4>
<ul>
@@ -351,6 +437,123 @@
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14265">PHPBB3-14265</a>] - Make all tables available in the container</li>
</ul>
<a name="v317"></a><h3>Changes since 3.1.7</h3>
<h4>Security Issue</h4>
<ul>
<li>[SECURITY-188] - Check form key in acp_bbcodes</li>
</ul>
<h4>Bug</h4>
<ul>
<li>[<a href="https://tracker.phpbb.com/browse/PHPBB3-14343">PHPBB3-14343</a>] - Undefined variable $phpbb_dispatcher when (un-)locking a topic or post</li>
</ul>
<a name="v316"></a><h3>Changes since 3.1.6</h3>
<h4>Bug</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-8839">PHPBB3-8839</a>] - Wrong new status of subforumlink on index</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-8920">PHPBB3-8920</a>] - PM-Report for every moderator</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-9153">PHPBB3-9153</a>] - New member can delete pm just in one way</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-9252">PHPBB3-9252</a>] - Conflict when (dis)approving a post by two moderators at the same time</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11468">PHPBB3-11468</a>] - Controllers can not set additional parameters of page_header()</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11971">PHPBB3-11971</a>] - Validating not correctly in Spambot countermeasures</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12616">PHPBB3-12616</a>] - Report notification is not removed when post is disapproved or deleted</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13202">PHPBB3-13202</a>] - dead code in sessions.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13423">PHPBB3-13423</a>] - Driver sqlite3 failed periodically</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13636">PHPBB3-13636</a>] - Unexpect return to previous page behaviour</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13656">PHPBB3-13656</a>] - database_upgrade.php fails when database password contains a % character</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13748">PHPBB3-13748</a>] - Wrong tooltip after poll vote change</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13759">PHPBB3-13759</a>] - submit_post doesn't take $data['post_time'] - into account</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13799">PHPBB3-13799</a>] - Avatar gallery subfolders paths are handled incorrectly</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13831">PHPBB3-13831</a>] - Post deletion reason is not appearing on moderation logs</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13835">PHPBB3-13835</a>] - File upload of large files where filename contains umlauts fails</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13846">PHPBB3-13846</a>] - Permissions around soft deleting are inconsistently handled</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13851">PHPBB3-13851</a>] - &quot;Can ignore flood limit&quot; permission not taking effect</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13892">PHPBB3-13892</a>] - &quot;Someone reports a post&quot; notification setting has no effect</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13945">PHPBB3-13945</a>] - Account re-activation does not create a notification</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13950">PHPBB3-13950</a>] - If disabled extension - no hidden permission set</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13960">PHPBB3-13960</a>] - Profile field validation may break</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13976">PHPBB3-13976</a>] - Fix comment typo in salted_md5 driver</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13988">PHPBB3-13988</a>] - Atom feeds use relative links for image attachments</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13992">PHPBB3-13992</a>] - Fix html5 error from output on w3.org its new validator</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14058">PHPBB3-14058</a>] - subsilver2 Contact us form doesn't have an email subject field</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14070">PHPBB3-14070</a>] - Disabled avatar types is still displayed on the forum</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14106">PHPBB3-14106</a>] - Sorting is unworkable while moderating forum (merge topics)</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14114">PHPBB3-14114</a>] - Inconsistency in install.html in 3.1.x Automatic uopdate package</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14127">PHPBB3-14127</a>] - Error in the BBCode FAQ in 'Linking to another site'</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14142">PHPBB3-14142</a>] - Remove unused ignore_configs from avatar drivers</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14143">PHPBB3-14143</a>] - Flush the in-memory mail queue when writing it to the disk</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14153">PHPBB3-14153</a>] - Notifications dropdown header doesn't clear floats</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14159">PHPBB3-14159</a>] - Not accessible link on main ACP page</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14161">PHPBB3-14161</a>] - The core.download_file_send_to_browser_before - $vars - 'extension' it does not exist</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14163">PHPBB3-14163</a>] - Select All in code bug in Edge</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14181">PHPBB3-14181</a>] - Custom report/denial reason not shown in user notifications</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14186">PHPBB3-14186</a>] - Incorrect string concatenation in phpbb_mcp_sorting()</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14200">PHPBB3-14200</a>] - Allow hidden users to see theself on viewonline</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14215">PHPBB3-14215</a>] - [ticket/14212] - Adding event after users have been removed to a group</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14217">PHPBB3-14217</a>] - [ticket/13591] - Change SQL query into array to allow</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14224">PHPBB3-14224</a>] - Fix trailing whitespaces</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14228">PHPBB3-14228</a>] - Vertical align of numbers in polls</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14236">PHPBB3-14236</a>] - Race condition in the functional tests</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14242">PHPBB3-14242</a>] - Fix on memberlist the sort method.</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14249">PHPBB3-14249</a>] - Online list isn't sorted anymore</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14258">PHPBB3-14258</a>] - Add event in auth::Login</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14271">PHPBB3-14271</a>] - Update nginx sample config</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14276">PHPBB3-14276</a>] - Function get_folder_status not setup for use of plurals</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14287">PHPBB3-14287</a>] - Loading indicator not removed after confirming action that does not produce a message</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14297">PHPBB3-14297</a>] - Uppercase and lowercase when sorting topics</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14334">PHPBB3-14334</a>] - Do not use deprecated function get_user_avatar() in user_loader</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14339">PHPBB3-14339</a>] - State support for PHP 7.0 in docs</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14346">PHPBB3-14346</a>] - Improve version check output when phpbb.com is unreachable</li>
</ul>
<h4>Improvement</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-7362">PHPBB3-7362</a>] - Title/Post Icons Need Attribute Text</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-8800">PHPBB3-8800</a>] - Add &quot;mark topics read&quot; link to &quot;View unread posts&quot;</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-10343">PHPBB3-10343</a>] - ACP: searching for users does not show inactive accounts</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13684">PHPBB3-13684</a>] - Only resize attached file comments vertically</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13934">PHPBB3-13934</a>] - Enctype clause for forms may be needed for profile fields</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14066">PHPBB3-14066</a>] - Add template events to search_body.html</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14073">PHPBB3-14073</a>] - Add core events to the several places in includes/functions_admin.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14075">PHPBB3-14075</a>] - Event in posting preview</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14080">PHPBB3-14080</a>] - Add template events to viewforum_body.html before/after/append/prepend the topic row</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14088">PHPBB3-14088</a>] - Add core events to the search.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14089">PHPBB3-14089</a>] - [Template] - posting_topic_title_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14098">PHPBB3-14098</a>] - Add core events to the search backends (fulltext_*.php)</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14102">PHPBB3-14102</a>] - Add core event to the mcp_topic.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14113">PHPBB3-14113</a>] - Add core events to the memberlist.php for customizing members search</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14117">PHPBB3-14117</a>] - Add core events to index.php to allow modifying birthdays list</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14123">PHPBB3-14123</a>] - Add more descriptive help to the CLI commands</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14126">PHPBB3-14126</a>] - Add viewtopic_topic_title_after template event</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14133">PHPBB3-14133</a>] - Comment fix for phpbb_get_user_rank()</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14154">PHPBB3-14154</a>] - Include &quot;Clean Name&quot; for disabled Extensions</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14155">PHPBB3-14155</a>] - Add row highlighting to extensions and style management</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14156">PHPBB3-14156</a>] - Add the Symfony ResponseListener</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14164">PHPBB3-14164</a>] - Helpful instructions for database updates</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14170">PHPBB3-14170</a>] - Fix mcp_change_poster_after event</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14201">PHPBB3-14201</a>] - Add ACP template events</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14213">PHPBB3-14213</a>] - [PHP] - core.group_add_user_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14219">PHPBB3-14219</a>] - Add email address into inactive user display in ACP</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14261">PHPBB3-14261</a>] - Pages served from app.php can't disable the update of session_page</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14283">PHPBB3-14283</a>] - Add a &quot;Manage Group&quot; link on a group page</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14313">PHPBB3-14313</a>] - Don't display quote button on unapproved posts</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14343">PHPBB3-14343</a>] - Add event when locking/unlocking posts/topics</li>
</ul>
<h4>New Feature</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14144">PHPBB3-14144</a>] - [Template] - quickreply_editor_subject_before</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14146">PHPBB3-14146</a>] - [Template] - viewtopic_body_post_subject_before</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14187">PHPBB3-14187</a>] - [ACP Template] - acp_styles_before_table</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14188">PHPBB3-14188</a>] - [PHP] - core.acp_styles_action_before</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14191">PHPBB3-14191</a>] - [PHP] - core.get_gravatar_url_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14192">PHPBB3-14192</a>] - [PHP] - core.memberlist_memberrow_before</li>
</ul>
<h4>Task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14140">PHPBB3-14140</a>] - Update Symfony to benefit from improvement to the console component</li>
</ul>
<a name="v315"></a><h3>Changes since 3.1.5</h3>
<h4>Bug</h4>

View File

@@ -147,7 +147,7 @@
<li>Oracle</li>
</ul>
</li>
<li><strong>PHP 5.4.0+</strong> with support for the database you intend to use.</li>
<li><strong>PHP 5.4.0+</strong> and <strong>PHP < 7.1</strong> with support for the database you intend to use.</li>
<li>The following PHP modules are required:
<ul>
<li>json</li>

View File

@@ -323,7 +323,7 @@
<div class="content">
<p>phpBB 3.2.x takes advantage of new features added in PHP 5.4. We recommend that you upgrade to the latest stable release of PHP5 to run phpBB. The minimum version required is PHP 5.4.0.</p>
<p>phpBB 3.2.x takes advantage of new features added in PHP 5.4. We recommend that you upgrade to the latest stable release of PHP to run phpBB. The minimum version required is PHP 5.4.0 and the maximum supported version is PHP 7.0.</p>
<p>Please remember that running any application on a development (unstable, e.g. a beta release) version of PHP can lead to strange/unexpected results which may appear to be bugs in the application. Therefore, we recommend you upgrade to the newest stable version of PHP before running phpBB. If you are running a development version of PHP please check any bugs you find on a system running a stable release before submitting.</p>

View File

@@ -1,3 +1,15 @@
acp_ban_cell_append
===
* Location: adm/style/acp_ban.html
* Since: 3.1.7-RC1
* Purpose: Add content at the end of the ban cell area
acp_ban_cell_prepend
===
* Location: adm/style/acp_ban.html
* Since: 3.1.7-RC1
* Purpose: Add content at the start of the ban cell area
acp_bbcodes_actions_append
===
* Location: adm/style/acp_bbcodes.html
@@ -16,6 +28,30 @@ acp_bbcodes_edit_fieldsets_after
* Since: 3.1.0-a3
* Purpose: Add settings to BBCode add/edit form
acp_email_group_options_append
===
* Location: adm/style/acp_email.html
* Since: 3.1.7-RC1
* Purpose: Add content at the end of the group options select box
acp_email_group_options_prepend
===
* Location: adm/style/acp_email.html
* Since: 3.1.7-RC1
* Purpose: Add content at the start of the group options select box
acp_email_find_username_append
===
* Location: adm/style/acp_email.html
* Since: 3.1.7-RC1
* Purpose: Add content at the end of the fimd username link
acp_email_find_username_prepend
===
* Location: adm/style/acp_email.html
* Since: 3.1.7-RC1
* Purpose: Add content at the start of the fimd username link
acp_email_options_after
===
* Location: adm/style/acp_email.html
@@ -64,6 +100,18 @@ acp_forums_prune_settings_prepend
* Since: 3.1.2-RC1
* Purpose: Add settings to forums before prune settings section
acp_forums_quick_select_button_append
===
* Location: adm/style/acp_forums.html
* Since: 3.1.7-RC1
* Purpose: Add content after the quick select forum submit button
acp_forums_quick_select_button_prepend
===
* Location: adm/style/acp_forums.html
* Since: 3.1.7-RC1
* Purpose: Add content before the quick select forum submit button
acp_forums_rules_settings_append
===
* Location: adm/style/acp_forums.html
@@ -88,6 +136,66 @@ acp_group_options_after
* Since: 3.1.0-b4
* Purpose: Add addtional options to group settings (after GROUP_RECEIVE_PM)
acp_groups_find_username_append
===
* Location: adm/style/acp_groups.html
* Since: 3.1.7-RC1
* Purpose: Add content at the end of the find username link
acp_groups_find_username_prepend
===
* Location: adm/style/acp_groups.html
* Since: 3.1.7-RC1
* Purpose: Add content at the start of the find username link
acp_groups_manage_after
===
* Location: adm/style/acp_groups.html
* Since: 3.1.7-RC1
* Purpose: Add content after the manage groups table
acp_groups_manage_before
===
* Location: adm/style/acp_groups.html
* Since: 3.1.7-RC1
* Purpose: Add content before the manage groups table
acp_groups_position_legend_add_button_after
===
* Location: adm/style/acp_groups_position.html
* Since: 3.1.7-RC1
* Purpose: Add content after adding group to legend submit button
acp_groups_position_legend_add_button_before
===
* Location: adm/style/acp_groups_position.html
* Since: 3.1.7-RC1
* Purpose: Add content before adding group to legend submit button
acp_groups_position_teampage_add_button_after
===
* Location: adm/style/acp_groups_position.html
* Since: 3.1.7-RC1
* Purpose: Add content after adding group to teampage submit button
acp_groups_position_teampage_add_button_before
===
* Location: adm/style/acp_groups_position.html
* Since: 3.1.7-RC1
* Purpose: Add content before adding group to teampage submit button
acp_logs_quick_select_forum_button_append
===
* Location: adm/style/acp_logs.html
* Since: 3.1.7-RC1
* Purpose: Add content after the quick forum select form submit button
acp_logs_quick_select_forum_button_prepend
===
* Location: adm/style/acp_logs.html
* Since: 3.1.7-RC1
* Purpose: Add content before the quick forum select form submit button
acp_main_actions_append
===
* Location: adm/style/acp_main.html
@@ -125,6 +233,102 @@ acp_overall_header_stylesheets_after
* Purpose: Add assets after stylesheets within the `<head>` tags in the ACP.
Note that INCLUDECSS will not work with this event.
acp_permission_forum_copy_src_forum_append
===
* Location: adm/style/permission_forum_copy.html
* Since: 3.1.7-RC1
* Purpose: Add content after the sourse forum select form
acp_permission_forum_copy_src_forum_prepend
===
* Location: adm/style/permission_forum_copy.html
* Since: 3.1.7-RC1
* Purpose: Add content before the sourse forum select form
acp_permission_forum_copy_dest_forum_append
===
* Location: adm/style/permission_forum_copy.html
* Since: 3.1.7-RC1
* Purpose: Add content after the destiny forum select form
acp_permission_forum_copy_dest_forum_prepend
===
* Location: adm/style/permission_forum_copy.html
* Since: 3.1.7-RC1
* Purpose: Add content before the destiny forum select form
acp_permissions_add_group_options_append
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content after the group multiple select form
acp_permissions_add_group_options_prepend
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content before the group multiple select form
acp_permissions_find_username_append
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content after the find username link
acp_permissions_find_username_prepend
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content before the find username link
acp_permissions_select_forum_append
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content after the forum select form label
acp_permissions_select_forum_prepend
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content before the forum select form label
acp_permissions_select_group_after
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content after the group select form in usergroup view
acp_permissions_select_group_append
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content after the group select form label
acp_permissions_select_group_before
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content before the group select form in usergroup view
acp_permissions_select_group_prepend
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content before the group select form label
acp_permissions_select_multiple_forum_append
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content after the forum multiple select form label
acp_permissions_select_multiple_forum_prepend
===
* Location: adm/style/acp_permissions.html
* Since: 3.1.7-RC1
* Purpose: Add content before the forum multiple select form label
acp_posting_buttons_after
===
* Locations:
@@ -146,6 +350,34 @@ acp_profile_contact_before
* Since: 3.1.6-RC1
* Purpose: Add extra options to custom profile field configuration in the ACP
acp_prune_forums_append
===
* Locations:
+ adm/style/acp_prune_forums.html
* Since: 3.1.7-RC1
* Purpose: Add content after the forum select form label
acp_prune_forums_prepend
===
* Locations:
+ adm/style/acp_prune_forums.html
* Since: 3.1.7-RC1
* Purpose: Add content before the forum select form label
acp_prune_users_find_username_append
===
* Locations:
+ adm/style/acp_prune_users.html
* Since: 3.1.7-RC1
* Purpose: Add content after the find username link
acp_prune_users_find_username_prepend
===
* Locations:
+ adm/style/acp_prune_users.html
* Since: 3.1.7-RC1
* Purpose: Add content before the find username link
acp_ranks_edit_after
===
* Locations:
@@ -297,6 +529,18 @@ acp_users_prefs_view_prepend
* Since: 3.1.0-b3
* Purpose: Add user options fieldset to the top of ACP users view prefs settings
acp_users_select_group_after
===
* Location: adm/style/acp_users.html
* Since: 3.1.7-RC1
* Purpose: Add content after group select form
acp_users_select_group_before
===
* Location: adm/style/acp_users.html
* Since: 3.1.7-RC1
* Purpose: Add content before group select form
attachment_file_after
===
* Locations:
@@ -784,6 +1028,20 @@ navbar_header_quick_links_before
* Since: 3.1.0-RC2
* Purpose: Add links to the top of the quick-links drop-down menu in the header
navbar_header_user_profile_append
===
* Locations:
+ styles/prosilver/template/navbar_header.html
* Since: 3.1.8-RC1
* Purpose: Add links to the right of the user drop down area
navbar_header_user_profile_prepend
===
* Locations:
+ styles/prosilver/template/navbar_header.html
* Since: 3.1.8-RC1
* Purpose: Add links to the left of the notification area
navbar_header_username_append
===
* Locations:
@@ -1184,6 +1442,13 @@ quickreply_editor_subject_before
* Since: 3.1.7-RC1
* Purpose: Add content before the quick reply subject textbox
search_body_form_after
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Add content after the search form
search_body_form_before
===
* Locations:
@@ -1191,6 +1456,90 @@ search_body_form_before
* Since: 3.1.5-RC1
* Purpose: Add content before the search form
search_body_recent_search_after
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Add content after the recent search queries list
search_body_recent_search_before
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Add content before the recent search queries list
search_body_search_display_options_append
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Put content at the bottom of the search query display options fields set
search_body_search_display_options_prepend
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Put content at the top of the search query display options fields set
search_body_search_options_after
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Add content after the search query options fields set
search_body_search_options_append
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Put content at the bottom of the search query options fields set
search_body_search_options_before
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Add content before the search query options fields set
search_body_search_options_prepend
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Put content at the top of the search query options fields set
search_body_search_query_after
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Add content after the search query fields set
search_body_search_query_append
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Put content at the bottom of the search query fields set
search_body_search_query_before
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Add content before the search query fields set
search_body_search_query_prepend
===
* Locations:
+ styles/prosilver/template/search_body.html
* Since: 3.1.7-RC1
* Purpose: Put content at the top of the search query fields set
search_results_header_after
===
* Locations:
@@ -1883,6 +2232,41 @@ viewtopic_body_post_buttons_list_before
* Purpose: Add post button custom list to posts (next to edit, quote etc),
before the original list.
viewtopic_body_post_subject_before
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.1.7-RC1
* Purpose: Add data before post icon and subject
viewtopic_body_postrow_back2top_after
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.1.8-RC1
* Purpose: Add content to the post's bottom after the back to top link
viewtopic_body_postrow_back2top_append
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.1.8-RC1
* Purpose: Add content to the post's bottom directly before the back to top link
viewtopic_body_postrow_back2top_before
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.1.8-RC1
* Purpose: Add content to the post's bottom before the back to top link
viewtopic_body_postrow_back2top_prepend
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.1.8-RC1
* Purpose: Add content to the post's bottom directly before the back to top link
viewtopic_body_postrow_custom_fields_after
===
* Locations:

View File

@@ -64,6 +64,11 @@ http {
location / {
# phpbb uses index.htm
index index.php index.html index.htm;
try_files $uri $uri/ @rewriteapp;
}
location @rewriteapp {
rewrite ^(.*)$ /app.php/$1 last;
}
# Deny access to internal phpbb files.
@@ -75,12 +80,16 @@ http {
}
# Pass the php scripts to fastcgi server specified in upstream declaration.
location ~ \.php$ {
fastcgi_pass php;
# Necessary for php.
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
location ~ \.php(/|$) {
# Unmodified fastcgi_params from nginx distribution.
include fastcgi_params;
# Necessary for php.
fastcgi_split_path_info ^(.+\.php)(/.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
try_files $uri $uri/ /app.php$is_args$args;
fastcgi_pass php;
}
# Deny access to version control system directories.

View File

@@ -709,8 +709,6 @@ class acp_attachments
$forum_ids = array();
}
$extensions = array();
$sql = 'SELECT *
FROM ' . EXTENSIONS_TABLE . "
WHERE group_id = $group_id
@@ -1572,7 +1570,6 @@ class acp_attachments
if ($ip_2_counter == 0 && $ip_2_end == 254)
{
$ip_2_counter = 256;
$ip_2_fragment = 256;
$iplist[] = "'$ip_1_counter.*'";
}
@@ -1585,7 +1582,6 @@ class acp_attachments
if ($ip_3_counter == 0 && $ip_3_end == 254)
{
$ip_3_counter = 256;
$ip_3_fragment = 256;
$iplist[] = "'$ip_1_counter.$ip_2_counter.*'";
}
@@ -1598,7 +1594,6 @@ class acp_attachments
if ($ip_4_counter == 0 && $ip_4_end == 254)
{
$ip_4_counter = 256;
$ip_4_fragment = 256;
$iplist[] = "'$ip_1_counter.$ip_2_counter.$ip_3_counter.*'";
}

View File

@@ -195,7 +195,6 @@ class acp_ban
case 'user':
$field = 'username';
$l_ban_cell = $user->lang['USERNAME'];
$sql = 'SELECT b.*, u.user_id, u.username, u.username_clean
FROM ' . BANLIST_TABLE . ' b, ' . USERS_TABLE . ' u
@@ -208,7 +207,6 @@ class acp_ban
case 'ip':
$field = 'ban_ip';
$l_ban_cell = $user->lang['IP_HOSTNAME'];
$sql = 'SELECT *
FROM ' . BANLIST_TABLE . '
@@ -221,7 +219,6 @@ class acp_ban
case 'email':
$field = 'ban_email';
$l_ban_cell = $user->lang['EMAIL_ADDRESS'];
$sql = 'SELECT *
FROM ' . BANLIST_TABLE . '

View File

@@ -25,14 +25,15 @@ class acp_bbcodes
function main($id, $mode)
{
global $db, $user, $auth, $template, $cache, $request, $phpbb_dispatcher, $phpbb_container;
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx, $phpbb_log;
global $db, $user, $template, $cache, $request, $phpbb_dispatcher, $phpbb_container;
global $phpbb_log;
$user->add_lang('acp/posting');
// Set up general vars
$action = $request->variable('action', '');
$bbcode_id = $request->variable('bbcode', 0);
$submit = $request->is_set_post('submit');
$this->tpl_name = 'acp_bbcodes';
$this->page_title = 'ACP_BBCODES';
@@ -40,6 +41,11 @@ class acp_bbcodes
add_form_key($form_key);
if ($submit && !check_form_key($form_key))
{
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
}
// Set up mode-specific vars
switch ($action)
{
@@ -367,7 +373,7 @@ class acp_bbcodes
*
* @event core.acp_bbcodes_display_form
* @var string action Type of the action: modify|create
* @var string sql_ary The SQL array to get custom bbcode data
* @var array sql_ary The SQL array to get custom bbcode data
* @var array template_data Array with form template data
* @var string u_action The u_action link
* @since 3.1.0-a3

View File

@@ -30,13 +30,12 @@ class acp_board
function main($id, $mode)
{
global $db, $user, $auth, $template, $request;
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
global $user, $template, $request;
global $config, $phpbb_root_path, $phpEx;
global $cache, $phpbb_container, $phpbb_dispatcher, $phpbb_log;
$user->add_lang('acp/board');
$action = $request->variable('action', '');
$submit = (isset($_POST['submit']) || isset($_POST['allow_quick_reply_enable'])) ? true : false;
$form_key = 'acp_board';
@@ -760,7 +759,7 @@ class acp_board
*/
function select_auth_method($selected_method, $key = '')
{
global $phpbb_root_path, $phpEx, $phpbb_container;
global $phpbb_container;
/* @var $auth_providers \phpbb\auth\provider_collection */
$auth_providers = $phpbb_container->get('auth.provider_collection');
@@ -940,8 +939,6 @@ class acp_board
*/
function board_disable($value, $key)
{
global $user;
$radio_ary = array(1 => 'YES', 0 => 'NO');
return h_radio('config[board_disable]', $radio_ary, $value) . '<br /><input id="' . $key . '" type="text" name="config[board_disable_msg]" maxlength="255" size="40" value="' . $this->new_config['board_disable_msg'] . '" />';
@@ -1051,8 +1048,6 @@ class acp_board
*/
function select_news_forums($value, $key)
{
global $user, $config;
$forum_list = make_forum_select(false, false, true, true, true, false, true);
// Build forum options
@@ -1070,8 +1065,6 @@ class acp_board
function select_exclude_forums($value, $key)
{
global $user, $config;
$forum_list = make_forum_select(false, false, true, true, true, false, true);
// Build forum options
@@ -1127,7 +1120,7 @@ class acp_board
*/
function enable_mod_rewrite($value, $key)
{
global $user, $config;
global $user;
// Determine whether mod_rewrite is enabled on the server
// NOTE: This only works on Apache servers on which PHP is NOT

View File

@@ -25,8 +25,8 @@ class acp_bots
function main($id, $mode)
{
global $config, $db, $user, $auth, $template, $cache, $request, $phpbb_log;
global $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix;
global $config, $db, $user, $template, $cache, $request, $phpbb_log;
global $phpbb_root_path, $phpEx;
$action = $request->variable('action', '');
$submit = (isset($_POST['submit'])) ? true : false;

View File

@@ -25,8 +25,8 @@ class acp_captcha
function main($id, $mode)
{
global $user, $auth, $template, $phpbb_log, $request;
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx, $phpbb_container;
global $user, $template, $phpbb_log, $request;
global $config, $phpbb_container;
$user->add_lang('acp/board');
@@ -178,7 +178,7 @@ class acp_captcha
*/
function deliver_demo($selected)
{
global $db, $user, $config, $phpbb_container;
global $phpbb_container;
$captcha = $phpbb_container->get('captcha.factory')->get_instance($selected);
$captcha->init(CONFIRM_REG);

Some files were not shown because too many files have changed in this diff Show More