1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-12 09:10:44 +02:00

Compare commits

..

1245 Commits

Author SHA1 Message Date
Marc Alexander
929bd2ac3c [prep-release-3.2.3] Update changelog after merging PR 2018-03-26 20:29:17 +02:00
Marc Alexander
364407ab59 Merge pull request #5163 from VSEphpbb/ticket/15595
[ticket/15595] Fix module exists tool when ignoring parent check
2018-03-26 20:22:16 +02:00
Matt Friedman
d7db5d366b [ticket/15595] Fix module exists tool when parent is false
PHPBB3-15595
2018-03-19 16:45:44 -07:00
Marc Alexander
1c30a9778d [prep-release-3.2.3] Update changelog for 3.2.3-RC1 2018-02-28 21:35:00 +01:00
Marc Alexander
747ed95678 [prep-release-3.2.3] Add migration for 3.2.3-RC1 2018-02-28 21:32:52 +01:00
Marc Alexander
4bde2511b8 [prep-release-3.2.3] Update versions for 3.2.3 2018-02-28 21:31:05 +01:00
Marc Alexander
25c57cc457 [prep-release-3.2.3] Update version numbers for 3.2.3-RC1 2018-02-28 21:30:24 +01:00
Marc Alexander
17c3bf0b39 Merge pull request #5147 from marc1706/ticket/15569
[ticket/15569] Suggest using file replacing instead of automatic updater
2018-02-28 21:21:24 +01:00
Marc Alexander
5cdefdde2e Merge pull request #5146 from kasimi/ticket/15570
[ticket/15570] Allow file downloader to use TLS greater than 1.0
2018-02-28 21:02:58 +01:00
Marc Alexander
9474d6d50e [ticket/15569] Suggest using file replacing instead of automatic updater
PHPBB3-15569
2018-02-25 17:26:38 +01:00
kasimi
488de11493 [ticket/15570] Allow file downloader to use TLS greater than 1.0
PHPBB3-15570
2018-02-25 10:25:33 +01:00
Marc Alexander
98232a06ac Merge pull request #5145 from marc1706/ticket/15568
[ticket/15568] Update dependencies to latest versions
2018-02-24 18:58:17 +01:00
Marc Alexander
aff9414f68 Merge pull request #5144 from marc1706/ticket/15466
[ticket/15466] Update CREDITS.txt to reflect Nils leaving [ci skip]
2018-02-24 18:55:04 +01:00
Marc Alexander
1de6434a48 [ticket/15568] Update dependencies to latest versions
PHPBB3-15568
2018-02-24 17:44:28 +01:00
Marc Alexander
a9ef821253 [ticket/15466] Update CREDITS.txt to reflect Nils leaving [ci skip]
PHPBB3-15466
2018-02-22 21:41:20 +01:00
Marc Alexander
50cf6443b9 Merge pull request #5131 from kasimi/ticket/15561
[ticket/15561] Add events for adding columns to search index
2018-02-22 20:34:24 +01:00
Marc Alexander
cf517509c8 Merge pull request #5133 from rubencm/ticket/15563
[ticket/15563] Check if database file is writable only if exists
2018-02-22 20:06:49 +01:00
Marc Alexander
4b0a04b109 Merge pull request #5138 from senky/ticket/15559
[ticket/15559] Fix wrongly assigned uid and bitfield
2018-02-22 19:49:00 +01:00
Marc Alexander
f17bd9e1e0 Merge pull request #5094 from JoshyPHP/ticket/15518
[ticket/15518] Add a setting to toggle permission checks for pms in viewtopic
2018-02-21 21:14:00 +01:00
Marc Alexander
1c920859db Merge pull request #5089 from marc1706/ticket/15516
[ticket/15516] Add instructions for running UI tests
2018-02-21 20:55:20 +01:00
Marc Alexander
94c168291c [ticket/15516] Fix typo in UI test instructions
[ci skip]

PHPBB3-15516
2018-02-21 20:43:56 +01:00
Marc Alexander
89e29bb846 Merge pull request #5118 from FH3095/patch-1
[ticket/15520] sql_build_query build subquery
2018-02-21 19:05:56 +01:00
Marc Alexander
eecff95ce1 Merge pull request #5116 from kasimi/ticket/15537
[ticket/15537] Add core.search_(native|mysql|postgres|sphinx)_index_before
2018-02-20 20:00:23 +01:00
Marc Alexander
00777eec62 Merge pull request #5128 from akbarhashmi/ticket/12579
[ticket/12579] Add "BUTTON_" strings for Post and PM buttons
2018-02-19 20:09:45 +01:00
Marc Alexander
c5f4ad24f9 Merge pull request #5137 from senky/ticket/15558
[ticket/15558] Fix wrongly assigned uid and bitfield
2018-02-19 19:44:14 +01:00
Jakub Senko
325b14550d [ticket/15559] Fix wrongly assigned uid and bitfield
PHPBB3-15559
2018-02-19 16:48:36 +01:00
Jakub Senko
692a770fc3 [ticket/15558] Fix wrongly assigned uid and bitfield
PHPBB3-15558
2018-02-19 16:46:43 +01:00
Marc Alexander
961e241b26 Merge remote-tracking branch 'GerB/patch-4' into 3.2.x 2018-02-19 08:01:54 +01:00
Marc Alexander
8ac4f52924 Merge remote-tracking branch 'senky/ticket/15522' into 3.2.x 2018-02-19 07:54:39 +01:00
Marc Alexander
07930c0917 Merge pull request #5105 from senky/ticket/15398
[ticket/15398] Add core.oauth_login_after_check_if_provider_id_has_match
2018-02-18 17:10:22 +01:00
Rubén Calvo
c160882cdb [ticket/15563] Check if database file is writable only if exists
PHPBB3-15563
2018-02-17 18:50:04 +01:00
kasimi
a6dc32b381 [ticket/15561] Add events for adding columns to search index
PHPBB3-15561
2018-02-16 21:40:18 +01:00
Marc Alexander
7dca3f4d6c Merge pull request #5081 from hubaishan/ticket/15492
[ticket/15492] Fix permission role combobox in RTL
2018-02-14 19:58:51 +01:00
GerB
3244cab370 [ticket/15547] Add file object to event
Add file object to core.avatar_driver_upload_move_file_before.

PHPBB3-15547
2018-02-13 20:56:08 +01:00
Akbar
bee9ddbfdf [ticket/12579] Add "BUTTON_" strings for Post and PM buttons
PHPBB3-12579
2018-02-13 16:09:30 +05:30
FH
4577404fc2 [ticket/15520] sql_build_query build subquery
Fix for the building of subqueries
in sql_build_query

PHPBB3-15520
2018-02-03 21:06:12 +01:00
Marc Alexander
f29784e288 Merge pull request #5112 from marc1706/ticket/15535
[ticket/15535] Add S_FIRST_POST to postrow in viewtopic
2018-01-31 19:59:00 +01:00
Marc Alexander
ef7a5a0280 Merge pull request #5113 from Crizz0/ticket/14936
[ticket/14936] Add missing error message INST_ERR_DB to language files
2018-01-29 18:53:52 +01:00
kasimi
9f7f3d1463 [ticket/15537] Add cur_words argument to core.search_native_index_before
PHPBB3-15537
2018-01-28 18:02:22 +01:00
kasimi
013f9819b0 [ticket/15537] Add core.search_(native|mysql|postgres|sphinx)_index_before
PHPBB3-15537
2018-01-28 16:14:29 +01:00
Christian Schnegelberger
1d97f4491e [ticket/14936] Add missing error message to language files
PHPBB3-14936
2018-01-27 22:34:22 +01:00
Jakub Senko
3b28f620fc [ticket/15522] Allow multiple color palettes on one page
PHPBB3-15522
2018-01-27 17:20:45 +01:00
Daniel Mota
b68a64de84 [ticket/15535] Add S_FIRST_POST to postrow in viewtopic
PHPBB3-15535
2018-01-27 16:29:20 +01:00
Jakub Senko
82adb1f4f5 [ticket/15398] Add core.oauth_login_after_check_if_provider_id_has_match
PHPBB3-15398
2018-01-27 15:40:52 +01:00
Marc Alexander
4c7af15d0a Merge pull request #5111 from hubaishan/ticket/15507
[ticket/15507] Fix PHP 7.2 warning in functions_messenger.php
2018-01-27 12:58:21 +01:00
Marc Alexander
536a8a6a85 Merge pull request #5110 from rxu/ticket/15534
[ticket/15534] Update extensions database link in ACP for phpBB 3.2
2018-01-27 12:53:59 +01:00
rxu
c831f183bf [ticket/15534] Update also language packs database link in ACP for phpBB 3.2
PHPBB3-15534
2018-01-27 13:18:41 +07:00
Marc Alexander
361e8c6fea Merge pull request #5109 from rxu/ticket/15533
[ticket/15533] Fix typo in viewtopic_topic_tools.html
2018-01-25 21:23:52 +01:00
hubaishan
1e1097f06f [ticket/15507] Fix PHP 7.2 warning in functions_messenger.php
By pre assgin `$extra_headers` to array.

PHPBB3-15507
2018-01-25 23:00:40 +03:00
rxu
9e1e77f4f9 [ticket/15534] Update also styles database link in ACP for phpBB 3.2
PHPBB3-15534
2018-01-26 01:04:32 +07:00
Marc Alexander
c89051eb28 Merge pull request #5103 from JoshyPHP/ticket/15531
[ticket/15531] Log malformed BBCodes
2018-01-25 18:23:09 +01:00
rxu
f1afccb662 [ticket/15534] Update extensions database link in ACP for phpBB 3.2
PHPBB3-15534
2018-01-25 20:59:10 +07:00
rxu
ca2e2e6107 [ticket/15533] Fix typo in viewtopic_topic_tools.html
PHPBB3-15533
2018-01-25 20:49:10 +07:00
Marc Alexander
a74658091b Merge pull request #5102 from JoshyPHP/ticket/15527
[ticket/15527] Skip malformed BBCodes during merge_duplicate_bbcodes migration
2018-01-24 23:35:49 +01:00
Marc Alexander
3a8305e190 Merge pull request #5098 from VSEphpbb/ticket/15526
[ticket/15526] Cast bbcode id to INT in merge bbcodes migration
2018-01-24 19:19:29 +01:00
Marc Alexander
928a8c0e89 Merge pull request #5100 from senky/ticket/15528
[ticket/15528] Display style phpBB version
2018-01-24 19:16:24 +01:00
Marc Alexander
128a6e4c8d Merge pull request #5101 from senky/ticket/15529
[ticket/15529] Color groups in ACP
2018-01-24 19:09:25 +01:00
Marc Alexander
532afbf83a [ticket/15527] Remove "use" and specify full class name for exception
PHPBB3-15527
2018-01-24 18:47:40 +01:00
Marc Alexander
10691fda8e Merge pull request #5104 from Crizz0/ticket/15532
[ticket/15532] PR-template: Updates the links for guidelines and message format
2018-01-24 18:40:01 +01:00
Marc Alexander
23a1f3feda Merge pull request #5106 from senky/ticket/15514
[ticket/15514] Improve SMTP_SERVER lang key
2018-01-24 18:31:37 +01:00
Marc Alexander
b9cb75bf60 Merge pull request #5099 from VSEphpbb/ticket/15525
[ticket/15525] Update to valid SPDX license name GPL-2.0-only
2018-01-24 18:12:02 +01:00
Jakub Senko
277f4efcc7 [ticket/15514] Improve SMTP_SERVER lang key
PHPBB3-15514
2018-01-24 13:34:23 +01:00
Christian Schnegelberger
329eb201d9 [ticket/15532] Updates the links for guidelines and message format
PHPBB3-15532
2018-01-22 22:17:25 +01:00
Jakub Senko
233a07ceda [ticket/15528] Rename column label
PHPBB3-15528
2018-01-22 22:04:23 +01:00
JoshyPHP
3c5b3254d1 [ticket/15531] Workaround for false-positive sniff
PHPBB3-15531
2018-01-22 16:36:12 +01:00
JoshyPHP
531d9dfa1f [ticket/15531] Log malformed BBCodes
PHPBB3-15531
2018-01-22 03:34:47 +01:00
JoshyPHP
5c8a667db2 [ticket/15527] Skip malformed BBCodes during merge_duplicate_bbcodes migration
PHPBB3-15527
2018-01-22 02:37:47 +01:00
Jakub Senko
875dc63c6f [ticket/15529] Color groups in ACP
PHPBB3-15529
2018-01-21 11:04:07 +01:00
Jakub Senko
abe218c34a [ticket/15528] Display style phpBB version
PHPBB3-15528
2018-01-21 10:54:07 +01:00
Marc Alexander
d0143bec88 Merge pull request #5084 from hubaishan/ticket/15510
[ticket/15510] Link Orphan attachments in ACP General to its page
2018-01-20 19:57:33 +01:00
Marc Alexander
55e13693b0 Merge pull request #5078 from Crizz0/ticket/15500
[ticket/15500] Updates PHP requirements to 5.4.7+ in docs/
2018-01-20 19:51:35 +01:00
Marc Alexander
5c989b1e8e Merge pull request #5067 from hubaishan/ticket/15491
[ticket/15491] Fix out dated linkes in Installer support page
2018-01-20 19:50:11 +01:00
Marc Alexander
8f742fb7d5 Merge pull request #5097 from canonknipser/ticket/15513
[ticket/15513] Signature edit in acp gives error
2018-01-20 19:45:46 +01:00
Matt Friedman
f08887e277 [ticket/15526] Cast bbcode id to INT in merge bbcodes migration
PHPBB3-15526
2018-01-20 09:54:45 -08:00
Matt Friedman
2d8b856a63 [ticket/15525] Update to valid SPDX license name GPL-2.0-only
PHPBB3-15525
2018-01-20 09:52:14 -08:00
Marc Alexander
227e7cadba Merge pull request #5096 from kasimi/ticket/15523
[ticket/15523] Fix AdBlocker causing JS error when using CookieConsent
2018-01-20 18:40:31 +01:00
canonknipser
122f61e1ca [ticket/15513] Signature edit in acp gives error
When editing a users signature in acp, a error is thrown.

PHPBB3-15513
2018-01-20 18:00:44 +01:00
kasimi
ce6adeea02 [ticket/15523] Fix AdBlocker causing JS error when using CookieConsent
PHPBB3-15523
2018-01-19 18:41:58 +01:00
Christian Schnegelberger
bb442c498b [ticket/15500] Adds 7.1 and 7.2 to tested versions
PHPBB3-15500
2018-01-19 18:16:17 +01:00
hubaishan
ccc260b179 [ticket/15491] Add twitter and facebook
Add twitter and facebook

PHPBB3-15491
2018-01-19 19:07:16 +03:00
hubaishan
ede0a36076 [ticket/15510] Link Orphan attachments in ACP General to its page
change `IF TOTAL_ORPHAN` to `IF TOTAL_ORPHAN > 0`

PHPBB3-15510
2018-01-19 16:28:54 +03:00
Marc Alexander
adc75b700f Merge pull request #5083 from JoshyPHP/ticket/15512
[ticket/15512] Avoid reparsing non-existent polls
2018-01-19 12:20:54 +01:00
Marc Alexander
fb5247a726 Merge pull request #5095 from senky/ticket/15099
[ticket/15099] Remove type attr from INCLUDECSS and INCLUDEJS
2018-01-17 23:06:16 +01:00
Jakub Senko
ad748ec0a7 [ticket/15099] Fix tests
PHPBB3-15099
2018-01-17 22:10:53 +01:00
Jakub Senko
84ff21a586 [ticket/15099] Remove type attr from INCLUDECSS and INCLUDEJS
PHPBB3-15099
2018-01-17 18:30:21 +01:00
JoshyPHP
f01e29effe [ticket/15518] Add a setting to toggle permission checks for pms in viewtopic
PHPBB3-15518
2018-01-17 00:16:26 +01:00
Christian Schnegelberger
1f80b668f1 [ticket/15500] Remove number from upper PHP limit
PHPBB3-15500
2018-01-16 21:42:38 +01:00
Marc Alexander
1cd8bbac0c Merge pull request #5071 from dsinn/ticket/15495
[ticket/15495] Use transaction in ACP move_forum
2018-01-16 21:34:20 +01:00
Marc Alexander
3469545e3a [ticket/15516] Add instructions for running UI tests
PHPBB3-15516
2018-01-14 12:59:01 +01:00
JoshyPHP
5878d66ebf [ticket/15512] Avoid reparsing non-existent polls
PHPBB3-15512
2018-01-12 16:28:37 +01:00
hubaishan
baabcad8ab [ticket/15510] Link Orphan attachments in ACP General to its page
Link Orphan attachments in ACP General to Orphaned attachments page
if Orphan attachments>0

PHPBB3-15510
2018-01-12 18:23:16 +03:00
Derky
7f6ececf95 Merge pull request #5079 from rxu/ticket/15502
[ticket/15502] Fix migrations
2018-01-12 07:30:51 +01:00
Derky
d268a63812 Merge pull request #5082 from marc1706/ticket/15506
[ticket/15506] Assign attachrow_template_vars before foreach
2018-01-11 21:43:49 +01:00
Marc Alexander
16bfb5bfc3 Merge pull request #5072 from Derky/ticket/15499
[ticket/15499] Remove HHVM from Travis build matrix
2018-01-11 21:32:37 +01:00
Derky
500cd2916e Merge pull request #5080 from marc1706/ticket/15055
[ticket/15055] Display content on unexpted server error
2018-01-11 21:02:12 +01:00
Marc Alexander
350d4f3e6d [ticket/15506] Assign attachrow_template_vars before foreach
The attachrow_template_vars array needs to be defined once in front of the
foreach instead of resetting the array on every iteration of the foreach.

PHPBB3-15506
2018-01-11 21:00:19 +01:00
hubaishan
8c89194cc6 [ticket/15492] Fix permission role combobox in RTL
Varius fixes to css and js for correct
displaying permission role combbox in RTL mode

PHPBB3-15492
2018-01-11 19:10:32 +03:00
Marc Alexander
6a75fe26fc [ticket/15055] Use regex to copy php to tools php
PHPBB3-15055
2018-01-10 21:41:53 +01:00
Marc Alexander
8d551e2ded [ticket/15055] Specifiy PHP 7.1.12 and use development ini
PHP 7.1.13 seems to randomly fail. Use 7.1.12 for now.

PHPBB3-15055
2018-01-10 20:47:24 +01:00
Marc Alexander
62f8fed797 [ticket/15055] Run sql2016 builds with PHP 7.1
PHPBB3-15055
2018-01-09 21:29:40 +01:00
Marc Alexander
3c7f45c166 [ticket/15055] Fix line break and disable sql server 2017 for now
SQL Server 2017 currently fails for unknown reasons and just results in
an overall longer build time. Therefore disabling it for now.

PHPBB3-15055
2018-01-09 21:22:58 +01:00
Marc Alexander
daf668a969 [ticket/15055] Display content on unexpted server error
PHPBB3-15055
2018-01-08 21:17:38 +01:00
rxu
0391b48d7e [ticket/15502] Fix migrations
PHPBB3-15502
2018-01-09 01:01:49 +07:00
Christian Schnegelberger
81a8a76c59 [ticket/15500] Updates PHP requirements to 5.4.7+ in docs/
PHPBB3-15500
2018-01-07 22:22:41 +01:00
Marc Alexander
f26cf2dc1f [3.2.x] Update versions to 3.2.3-dev 2018-01-07 18:51:18 +01:00
Marc Alexander
d2226b3664 Merge branch '3.1.x' into 3.2.x 2018-01-07 18:44:58 +01:00
Marc Alexander
7e2136587a Merge branch 'prep-release-3.2.2' into 3.2.x 2018-01-07 18:43:45 +01:00
Marc Alexander
77b275181a [prep-release-3.2.2] Add 3.1.12 to build and fix display of download box 2018-01-07 16:59:14 +01:00
Marc Alexander
dc8ff9da28 Merge branch 'prep-release-3.1.12' into 3.1.x 2018-01-07 13:29:47 +01:00
Marc Alexander
e4fc82bee5 Merge branch 'prep-release-3.1.12' into prep-release-3.2.2 2018-01-07 11:52:38 +01:00
Marc Alexander
f38fce5ce5 [prep-release-3.1.12] Update changelog 2018-01-07 11:47:59 +01:00
Marc Alexander
f8180ca97b [prep-release-3.2.2] Add migration for 3.2.2 2018-01-07 11:45:49 +01:00
Marc Alexander
e7c5fc32d2 [prep-release-3.2.2] Update changelog for 3.2.2 release 2018-01-07 11:43:54 +01:00
Marc Alexander
4aab9e792a Merge pull request #5077 from marc1706/ticket/15353
[ticket/15353] Do not use empty to not offer empty archive for download
2018-01-07 11:06:18 +01:00
Marc Alexander
f26b2c00de Merge pull request #5076 from marc1706/ticket/15496
[ticket/15496] Add sort key to SELECT in fulltext_postgres
2018-01-07 11:06:09 +01:00
Marc Alexander
2a6c9233e9 Merge pull request #5075 from marc1706/ticket/15497
[ticket/15497] Backport fix for create_insert_array() declaration in admin_activate_user
2018-01-07 11:05:14 +01:00
Marc Alexander
69a168bcb2 Merge pull request #5074 from marc1706/ticket/15498
[ticket/15498] Do not pass whether URL uses router to is_route
2018-01-07 11:04:37 +01:00
Marc Alexander
c7b3407eb2 Merge pull request #5068 from Derky/ticket/15489
[ticket/15489] Remove NO_FORUMS message for categories with subforums
2018-01-07 11:04:22 +01:00
Marc Alexander
1b4bad6583 Merge remote-tracking branch 'upstream/3.2.x' into prep-release-3.2.2 2018-01-07 11:02:31 +01:00
Marc Alexander
3ae0169542 Merge remote-tracking branch 'phpbb-security/prep-release-3.1.12' into prep-release-3.2.2 2018-01-07 10:48:43 +01:00
Marc Alexander
2a939fa779 Merge pull request #41 from phpbb/ticket/security/211-rhea
[ticket/security/211] Rhea version of security fix
2018-01-07 10:28:59 +01:00
Marc Alexander
57179fbb79 [ticket/15353] Do not use empty to not offer empty archive for download
PHPBB3-15353
2018-01-06 19:59:55 +01:00
Marc Alexander
d05c7fd342 [ticket/15496] Add sort key to SELECT in fulltext_postgres
Postgres requires that the column being ordered also appears in the
SELECT part of the query.

PHPBB3-15496
2018-01-06 16:06:59 +01:00
rxu
101e6c8f96 [ticket/14972] Fix create_insert_array() declaration in admin_activate_user
PHPBB3-14972
2018-01-06 11:10:43 +01:00
Marc Alexander
e31474542d [ticket/15498] Do not pass whether URL uses router to is_route
is_route expects a flag of whether this is a route that was generated
with the router as opposed to is_router_used() which returns whether
the router will be used via app.php.

PHPBB3-15498
2018-01-06 10:53:12 +01:00
Derky
90e440855e [ticket/15499] Remove HHVM from Travis build matrix
PHPBB3-15499
2018-01-06 00:09:02 +01:00
Derky
182a96f273 Merge pull request #4680 from marc1706/ticket/15055
[ticket/15055] Add appveyor file to allow running tests on appveyor as well
2018-01-05 22:44:34 +01:00
Marc Alexander
98c5069500 [ticket/15055] Display appveyor badges in readme
PHPBB3-15055
2018-01-05 21:22:24 +01:00
Derky
2fcb8ab87f Merge pull request #5069 from marc1706/ticket/14972-rhea
[ticket/14972] Backport for PHP 7.2 compatibility
2018-01-04 21:20:46 +01:00
Derky
2119dee53d [ticket/15489] Add NO_FORUMS_IN_CATEGORY message
PHPBB3-15489
2018-01-04 21:09:39 +01:00
Daniel Sinn
84ccb3aded [ticket/15495] Use transaction in ACP move_forum
Should prevent the forums table from getting messed up if an error or
concurrent execution happens.

PHPBB3-15495
2018-01-03 16:18:14 -05:00
Marc Alexander
7b6be23117 [ticket/15055] Use getMock() for phpBB 3.2 compatibility
PHPBB3-15055
2018-01-01 19:25:11 +01:00
Marc Alexander
4afb53dd8d [ticket/15055] Add comments explaining overriden createXMLDataSet()
PHPBB3-15055
2018-01-01 18:57:56 +01:00
Marc Alexander
ee8b72d733 [ticket/15055] Properly support index length check on mssql
PHPBB3-15055
2018-01-01 18:57:50 +01:00
Marc Alexander
d99ef03446 [ticket/15055] Run phantomjs for UI tests
PHPBB3-15055
2018-01-01 18:56:31 +01:00
Marc Alexander
a999718b42 [ticket/15055] Support console questions on windows
PHPBB3-15055
2018-01-01 18:56:20 +01:00
Marc Alexander
ede339c1c8 [ticket/15055] Extend build matrix and trim text in extension_acp_test
PHPBB3-15055
2018-01-01 18:56:13 +01:00
Marc Alexander
9883aa4930 [ticket/15055] Run also on PHP 7.0
PHPBB3-15055
2018-01-01 18:56:06 +01:00
Marc Alexander
6f6750b629 [ticket/15055] Specify utf8 as character set in sqlsrv_connect
This is needed to be able to correctly retrieve unicode data from the db.

PHPBB3-15055
2018-01-01 18:55:25 +01:00
Marc Alexander
27a24d0a67 [ticket/15055] Try using build matrix
PHPBB3-15055
2018-01-01 18:55:19 +01:00
Marc Alexander
400fc0f73d [ticket/15055] Only drop dependent PK indexes and fix more tests for mssql
PHPBB3-15055
2018-01-01 18:55:12 +01:00
Marc Alexander
f4381a20d4 [ticket/15055] Handle default identity column on mssql in database tests
PHPBB3-15055
2018-01-01 18:55:06 +01:00
Marc Alexander
f903e5b3c0 [ticket/15055] Try moving to PHP 7.1
PHPBB3-15055
2018-01-01 18:54:49 +01:00
Marc Alexander
635befa00e [ticket/15055] Drop primary keys when necessary and fix test comparisons
PHPBB3-15055
2018-01-01 18:54:41 +01:00
Marc Alexander
5bb62f5560 [ticket/15055] Use unicode column types where necessary
PHPBB3-15055
2018-01-01 18:54:34 +01:00
Marc Alexander
f296014c23 [ticket/15055] Start fixing missing keys in fixtures
PHPBB3-15055
2018-01-01 18:54:24 +01:00
Marc Alexander
44ba0f5054 [ticket/15055] Start setting up IIS
PHPBB3-15055
2018-01-01 18:54:16 +01:00
Marc Alexander
66143e99be [ticket/15055] Further fixes to ensure PHP 7.1 & mssql compatibility
PHPBB3-15055
2018-01-01 18:54:08 +01:00
Marc Alexander
4a2e203a80 [ticket/15055] Debug issues
PHPBB3-15055
2018-01-01 18:53:57 +01:00
Marc Alexander
d65d776d92 [ticket/15055] Output test config to test_config.php
PHPBB3-15055
2018-01-01 18:53:49 +01:00
Marc Alexander
cbee288eeb [ticket/15055] Add .appveyor.yml file
PHPBB3-15055
2018-01-01 18:53:35 +01:00
Marc Alexander
c1ec6517bf [ticket/14972] Add PHP 7.2 to build matrix
PHPBB3-14972
2018-01-01 15:40:12 +01:00
rxu
f8fbe37936 [ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2018-01-01 13:56:04 +01:00
Marc Alexander
ff18802656 [ticket/14972] Fix template context use of sizeof()
PHPBB3-14972
2018-01-01 13:56:04 +01:00
rxu
11e09f1b3c [ticket/14972] Fix test_collection_with_mask test
In PHP 7.2, the severity of the message “Use of undefined constant” was raised
from E_NOTICE to E_WARNING, so calling $array[ITEM] causes warning caught by
error collector. Use undefined offset notice to get an empty message as such.

PHPBB3-14972
2018-01-01 13:56:04 +01:00
rxu
6e6195c303 [ticket/14972] Avoid using self as constant in tests
PHPBB3-14972
2018-01-01 13:56:03 +01:00
rxu
e1376e14de [ticket/14972] Fix create_insert_array() declaration in admin_activate_user
PHPBB3-14972
2018-01-01 13:56:03 +01:00
rxu
dec06d10fe [ticket/14972] Fix use of deprecated media attachment constants
PHPBB3-14972
2018-01-01 13:56:03 +01:00
rxu
8c3808e9e7 [ticket/14972] Fix sizeof calls
As of PHP 7.2, only arrays and objects implementing the Countable interface
should be passed as a count() or sizeof() parameter.
See https://github.com/php/php-src/blob/php-7.2.0alpha2/UPGRADING#L197-L198
Also, sizeof() seems to be sheduled for deprecation, see
https://wiki.php.net/rfc/deprecations_php_7_2#suggested_deprecations

PHPBB3-14972
2018-01-01 13:08:12 +01:00
Marc Alexander
bf5f11e11a Merge branch 'ticket/security/211' into ticket/security/211-rhea 2018-01-01 11:54:37 +01:00
Marc Alexander
b2dacefbe7 Merge branch 'prep-release-3.1.12' into 3.1.x 2017-12-31 17:12:50 +01:00
Marc Alexander
0c3f7c6c8e [prep-release-3.1.12] Update changelog for 3.1.12 2017-12-31 16:41:47 +01:00
Marc Alexander
5def7e255e [prep-release-3.1.12] Add migration for 3.1.12 2017-12-31 16:39:02 +01:00
Marc Alexander
7dfd57077a Merge pull request #40 from phpbb/ticket/security/211
[ticket/security/211] Make sure website URL only uses http & https schemes
2017-12-31 16:37:58 +01:00
Marc Alexander
92350db572 [prep-release-3.1.12] Update version numbers to 3.1.12 2017-12-31 16:36:16 +01:00
Marc Alexander
a2daf30415 [prep-release-3.1.12] Update version numbers to 3.1.12 2017-12-31 16:31:04 +01:00
abyssmedia
949f07e8ba [ticket/15303] Correctly refer to $memcached and not $memcache
PHPBB3-15303
2017-12-31 16:23:45 +01:00
Derky
4fe09b98b0 [ticket/15489] Remove NO_FORUMS message for categories with subforums
PHPBB3-15489
2017-12-31 15:55:10 +01:00
hubaishan
ea01890407 [ticket/15491] Fix out dated linkes in Installer support page
Fix out dated linkes in Installer support page

PHPBB3-15491
2017-12-31 13:35:33 +03:00
Marc Alexander
0ff5f9fa0e [3.2.x] Update version number to 3.2.3-dev 2017-12-28 22:03:10 +01:00
Marc Alexander
90210bf371 Merge branch 'prep-release-3.2.2' into 3.2.x 2017-12-28 22:00:13 +01:00
Marc Alexander
39b1420774 [prep-release-3.2.2] Update changelog for 3.2.2-RC1 2017-12-28 15:10:03 +01:00
Marc Alexander
bd52c64e68 [prep-release-3.2.2] Add migration for 3.2.2-RC1 2017-12-28 15:02:37 +01:00
Marc Alexander
adad3aac66 [prep-release-3.2.2] Update version to 3.2.2 2017-12-28 14:59:00 +01:00
Marc Alexander
ca4a3f4698 [prep-release-3.2.2] Update version to 3.2.2-RC1 2017-12-28 14:58:01 +01:00
Marc Alexander
1f1835ede0 Merge pull request #5066 from marc1706/ticket/15179
[ticket/15179] Update dependencies for 3.2.x
2017-12-28 14:34:18 +01:00
Marc Alexander
e90e3ec368 [ticket/15179] Update dependencies for 3.2.x
PHPBB3-15179
2017-12-28 13:52:51 +01:00
Marc Alexander
d90680d685 Merge pull request #4971 from Elsensee/ticket/15339
[ticket/15339] Use manual method when adding modules
2017-12-28 10:50:55 +01:00
Marc Alexander
7c0ff6ddd4 Merge pull request #5045 from senky/ticket/15454
[ticket/15454] Add core.mcp_queue_approve_details_template
2017-12-28 10:43:27 +01:00
Marc Alexander
b6ac183a32 [ticket/15454] Add post template data to event
PHPBB3-15454
2017-12-28 09:09:21 +01:00
Marc Alexander
0b52923129 Merge pull request #5044 from hubaishan/ticket/15453
[ticket/15453] Add core event after language deleted in acp_language.php
2017-12-28 08:29:28 +01:00
Marc Alexander
53ce1330d6 Merge pull request #5063 from vinny/ticket/15485
[ticket/15485] Add template event for forum images
2017-12-28 08:22:36 +01:00
Marc Alexander
602e440cfd Merge pull request #5039 from hubaishan/ticket/15445
[ticket/15445] Update URIs in README.md
2017-12-27 21:37:14 +01:00
hubaishan
cf1e6e5e6b [ticket/15445] Update URIs in README.md
Update Coding  and Git  Guidelines URIs in README.md

PHPBB3-15445
2017-12-27 21:35:58 +01:00
Marc Alexander
01181f1e4e Merge pull request #5040 from kasimi/ticket/15446
[ticket/15446] Add event core.acp_profile_action
2017-12-27 21:31:31 +01:00
Marc Alexander
d8f9cb4961 Merge pull request #5041 from kasimi/ticket/15447
[ticket/15447] Add event core.acp_profile_modify_profile_row
2017-12-27 21:27:11 +01:00
Marc Alexander
20a6182a86 Merge pull request #5042 from kinerity/ticket/15451
[ticket/15451] Add template event mcp_topic_postrow_attachments_before/after
2017-12-27 21:13:38 +01:00
Marc Alexander
dddcf28a2d Merge pull request #5043 from kinerity/ticket/15452
[ticket/15452] Add template event mcp_topic_postrow_post_before
2017-12-27 20:56:47 +01:00
hubaishan
c906335ce4 [ticket/15453] Add core event after language deleted in acp_language.php
Add core event after language deleted in acp_language.php

PHPBB3-15453
2017-12-27 20:54:15 +01:00
Marc Alexander
d1f10d54fc Merge pull request #5055 from dsinn/ticket/15471
[ticket/15471] Add core events to ACP when pruning a forum
2017-12-27 20:44:40 +01:00
Marc Alexander
69416b65f3 [ticket/15485] Add missing separation below event title
PHPBB3-15485
2017-12-27 20:40:55 +01:00
Marc Alexander
bdda36798b Merge pull request #5064 from rxu/ticket/15486
[ticket/15486] Add core event to the user_add() to modify notifications data
2017-12-27 20:28:10 +01:00
Derky
8e19bb83b5 Merge pull request #5061 from marc1706/ticket/15322
[ticket/15322] Add config for envelope sender & remove mail function setting
2017-12-27 19:30:27 +01:00
Marc Alexander
8f662eac40 Merge pull request #5037 from hubaishan/ticket/14857
[ticket/14857] Throw `S` from dateformat for non English languages
2017-12-27 19:13:59 +01:00
Marc Alexander
64dad1a362 Merge pull request #5038 from JoshyPHP/ticket/15444
[ticket/15444] Merge duplicate BBCodes via a migration
2017-12-27 19:08:12 +01:00
Marc Alexander
9d5c81ea7a Merge pull request #5053 from JoshyPHP/ticket/15468
Add a service to merge duplicate BBCodes
2017-12-27 18:39:16 +01:00
Marc Alexander
9632294730 Merge pull request #5046 from JoshyPHP/ticket/15457
[ticket/15457] Updated s9e/text-formatter dependency
2017-12-27 18:11:18 +01:00
Marc Alexander
6acfe2a0cb Merge pull request #4868 from javiexin/ticket/15266
[ticket/15266] Fix events in content_visibility
2017-12-27 14:15:27 +01:00
Marc Alexander
9567162295 [ticket/15322] Adjust language variables as suggested
PHPBB3-15322
2017-12-27 13:31:09 +01:00
Marc Alexander
dc48f28da1 [ticket/15266] Update since, add changed, and use empty where applicable
PHPBB3-15266
2017-12-27 13:28:04 +01:00
javiexin
bd81af3b9e [ticket/15266] Expand functionality of content_visibility
Added new function "is_visible", and replaced several immediate
uses of the above, including a single event in the new function
to handle change in all places consistently, and much simpler.

PHPBB3-15266
2017-12-27 13:27:38 +01:00
Oliver Schramm
2b16b7cada [ticket/15339] Fix tests
PHPBB3-15339
2017-12-24 19:55:03 +01:00
hubaishan
34d52a131b [ticket/14857] Throw S from dateformat for non English languages
Throw `S` (ordinal suffix) from dateformat for non English languages

PHPBB3-14857
2017-12-24 10:31:30 +01:00
Marc Alexander
cb233c862b Merge pull request #5036 from JoshyPHP/ticket/15442
[ticket/15442] Allow unsafe HTML in bbcode.html
2017-12-23 13:23:01 +01:00
Marc Alexander
e2e47a87c3 Merge pull request #5032 from rxu/ticket/15224
[ticket/15224] Fix some MySQL fulltext index searching errors
2017-12-22 19:45:16 +01:00
Marc Alexander
e23b671d32 Merge pull request #5060 from dsinn/ticket/15478
[ticket/15478] Fix core.js $loadingIndicator JavaScript errors
2017-12-18 20:06:17 +01:00
rxu
c077b90f8b [ticket/15486] Add core event to the user_add() to modify notifications data
Additionally, fix some typos in two other events docblocks.

PHPBB3-15486
2017-12-19 00:05:58 +07:00
Daniel Sinn
bf55546d2d [ticket/15471] Fix event documentation for core.prune_forums_settings_confirm
PHPBB3-15471
2017-12-18 08:14:42 -05:00
vinny
5bfd609cc8 [ticket/15485] Add template event for forum images
PHPBB3-15485
2017-12-18 02:52:35 -03:00
Derky
57772a0d32 Merge pull request #5035 from kasimi/ticket/15440
[ticket/15440] Added core.ucp_register_agreement_modify_template_data
2017-12-17 23:53:23 +01:00
Derky
d2dc314a30 [ticket/15440] State deprecated version for core.ucp_register_agreement
PHPBB3-15440
2017-12-17 23:36:26 +01:00
kasimi
79464c9951 [ticket/15440] Added core.ucp_register_agreement_modify_template_data
PHPBB3-15440
2017-12-17 23:35:59 +01:00
Marc Alexander
6d864a9df5 Merge pull request #5059 from kasimi/ticket/15476
[ticket/15476] Add event core.search_modify_post_row
2017-12-17 21:37:50 +01:00
Marc Alexander
751de0c2e9 Merge pull request #5052 from hanakin/ticket/15455
[ticket/15455] Fix UCP padding issues
2017-12-17 16:21:57 +01:00
Marc Alexander
d546e7fbd9 Merge pull request #5054 from hanakin/ticket/15470
[ticket/15470] Add font-size prop to .attachbox
2017-12-17 16:10:39 +01:00
Marc Alexander
4bbda5bc45 [ticket/15322] Adjust email language and move force sender setting
PHPBB3-15322
2017-12-16 18:32:55 +01:00
Marc Alexander
4e045ed767 [ticket/15322] Try to make new email setting more readable
PHPBB3-15322
2017-12-13 21:31:07 +01:00
Marc Alexander
9f055e1af3 [ticket/15322] Add config setting for -f parameter & remove mail function name
The -f parameter can now be added via configuration in the ACP. Addtionally,
the config setting for the mail function name has been removed.

PHPBB3-15322
2017-12-11 21:56:21 +01:00
Daniel Sinn
c94b7f69b7 [ticket/15478] Fix core.js $loadingIndicator JavaScript errors
PHPBB3-15478
2017-12-11 14:31:20 -05:00
Marc Alexander
cc3f77b5fc Merge pull request #5057 from Derky/ticket/15475
[ticket/15475] Fix Travis pull request commit messages validation
2017-12-10 10:44:58 +01:00
JoshyPHP
485a4a75b2 [ticket/15444] Add a migration to merge duplicate BBCodes
PHPBB3-15444
2017-12-10 04:00:18 +01:00
JoshyPHP
75e7e7b293 [ticket/15468] Add a service to merge duplicate BBCodes
PHPBB3-15468
2017-12-10 02:57:07 +01:00
JoshyPHP
b9dce3fa65 [ticket/15457] Updated s9e/text-formatter dependency
PHPBB3-15457
2017-12-10 02:55:10 +01:00
kasimi
3083dd997b [ticket/15476] Add event core.search_modify_post_row
PHPBB3-15476
2017-12-09 15:40:55 +01:00
kitsiosk
b4ca1bdb00 [ticket/15322] Fix bug wrong return in emails
PHPBB3-15322
2017-12-09 16:19:41 +02:00
Derky
5ab3eac014 [ticket/15475] Fix Travis pull request commit messages validation
It stopped working because of Travis's default clone depth of 50.

PHPBB3-15475
2017-12-08 23:49:49 +01:00
Derky
2643e851f2 Merge pull request #5022 from kasimi/ticket/15431
[ticket/15431] Add event core.ucp_register_modify_template_data
2017-12-03 22:49:14 +01:00
kasimi
6cc46a3d39 [ticket/15431] Moved phpbb_timezone_select() before the event
PHPBB3-15431
2017-12-03 19:02:40 +01:00
kasimi
65c529e66d [ticket/15431] Split up $template_vars
PHPBB3-15431
2017-12-03 18:47:17 +01:00
Marc Alexander
551c3fd511 Merge pull request #5025 from hubaishan/ticket/15433
[ticket/15433] Fix phpbbcli can enable non-existent extension
2017-12-03 17:49:39 +01:00
hubaishan
03b3b38db1 [ticket/15433] Fix phpbbcli can enable non-existent extension
Fix phpbbcli can enable non-existent extension

PHPBB3-15433
2017-12-03 15:01:31 +01:00
Daniel Sinn
5b22ccfa76 [ticket/15471] Add core events to ACP when pruning a forum
PHPBB3-15471
2017-11-30 15:40:18 -05:00
kasimi
9c93c180b0 [ticket/15431] Removed $page_title
PHPBB3-15431
2017-11-29 19:35:36 +01:00
Michael Miday
20ab0e16f0 [ticket/15470] Add font-size
PHPBB3-15470
2017-11-28 09:20:27 -05:00
Michael Miday
58fe69d721 [ticket/15455] Remove unessecary jumpbox
PHPBB3-15455
2017-11-27 11:46:39 -05:00
MichaelC
b66b497429 Merge remote-tracking branch 'rxu/ticket/15460' into 3.2.x
* rxu/ticket/15460:
  [ticket/15460] Fix group name displayed in the manage users ACP module
2017-11-26 22:12:19 +00:00
MichaelC
6ed40857ed Merge remote-tracking branch 'CHItA/ticket/15463' into 3.2.x
* CHItA/ticket/15463:
  [ticket/15463] Add MichaelC and Hanakin to the dev credits
2017-11-26 21:54:49 +00:00
Marc Alexander
a2f5468e8e Merge pull request #4991 from Sophist-UK/ticket/15390
[ticket/15390] Fix vertical bar permission tooltip
2017-11-26 21:58:59 +01:00
Marc Alexander
5485563e05 [ticket/15390] Prevent dropdown from being incorrectly offset
PHPBB3-15390
2017-11-26 20:06:43 +01:00
Marc Alexander
81a71f71c7 Merge pull request #5051 from JoshyPHP/ticket/15464
[ticket/15464] Detect BBCodes in uppercase when reparsing
2017-11-26 18:33:54 +01:00
JoshyPHP
a7664811dd [ticket/15464] Detect BBCodes in uppercase when reparsing
PHPBB3-15464
2017-11-23 16:25:48 +01:00
Máté Bartus
d6d77a199b [ticket/15463] Add MichaelC and Hanakin to the dev credits
PHPBB3-15463
2017-11-23 09:16:54 +01:00
Derky
85ece822db Merge pull request #5048 from CHItA/ticket/15461
[ticket/15461] Add Derky to the list of contributors.
2017-11-21 14:09:23 +01:00
Máté Bartus
57323d1650 [ticket/15461] Add Derky to the list of contributors.
PHPBB3-15461
2017-11-21 14:02:43 +01:00
rxu
cb0e13aa19 [ticket/15460] Fix group name displayed in the manage users ACP module
PHPBB3-15460
2017-11-20 21:13:37 +07:00
Oliver Schramm
719a49d387 [ticket/15339] Free sql results in migration module tool
PHPBB3-15339
2017-11-17 01:31:31 +01:00
Oliver Schramm
aa961991fd [ticket/15339] Allow a module to have multiple parents
Also restore old behaviour from Olympus regarding re-sorting modules

PHPBB3-15339
2017-11-17 01:29:38 +01:00
Marc Alexander
0517e43dff Merge pull request #4976 from rubencm/ticket/15171
[ticket/15171] Replace all BBCode templates by default
2017-11-16 21:56:57 +01:00
Máté Bartus
1a1a2dc046 Merge pull request #4949 from marc1706/ticket/15353
[ticket/15353] Make sure users can continue update after merging file diff
2017-11-15 21:44:53 +01:00
Jakub Senko
5585cb79b2 [ticket/15454] Add core.mcp_queue_approve_details_template
PHPBB3-15454
2017-11-13 14:24:58 +01:00
Kailey Truscott
a24839d21d [ticket/15452] Add template event mcp_topic_postrow_post_before
PHPBB3-15452
2017-11-13 07:39:59 -05:00
Kailey Truscott
da3a1a5d20 [ticket/15451] Add template event mcp_topic_postrow_attachments_before/after
PHPBB3-15451
2017-11-13 07:37:08 -05:00
kasimi
b9254cfda8 [ticket/15447] Add event core.acp_profile_modify_profile_row
PHPBB3-15447
2017-11-08 18:00:52 +01:00
kasimi
0318cea910 [ticket/15446] Add event core.acp_profile_action
PHPBB3-15446
2017-11-08 17:58:26 +01:00
kasimi
0409191be9 [ticket/15431] Fixed event argument description
PHPBB3-15431
2017-11-08 14:45:33 +01:00
JoshyPHP
288def143c [ticket/15442] Allow unsafe HTML in bbcode.html
PHPBB3-15442
2017-11-07 10:34:11 +01:00
Marc Alexander
44d5bde616 Merge pull request #5002 from JoshyPHP/ticket/15408
[ticket/15408] Reject duplicate BBCodes in ACP
2017-11-05 11:06:15 +01:00
rxu
f9b9d659a1 [ticket/15224] Fix some MySQL fulltext index searching errors
PHPBB3-15224
2017-11-04 19:14:04 +07:00
JoshyPHP
9933380d80 [ticket/15408] Reject duplicate BBCodes in ACP
PHPBB3-15408
2017-11-03 13:13:46 +01:00
Marc Alexander
b71e725c0b Merge pull request #5016 from Elsensee/ticket/15195
[ticket/15195] Fix code block in rtl print version
2017-11-02 21:33:56 +01:00
Marc Alexander
3b5f5113ac Merge pull request #5008 from rubencm/ticket/15041
[ticket/15041] Add pagination to orphaned attachments
2017-11-02 21:14:09 +01:00
Oliver Schramm
c67cfb2b41 [ticket/15195] Fix floatings in print view
PHPBB3-15195
2017-11-02 20:24:21 +01:00
Oliver Schramm
3b977eacc1 [ticket/15195] Add bidi.css to ucp_pm_viewmessage_print
PHPBB3-15195
2017-11-02 20:23:54 +01:00
Marc Alexander
c3cc6bcbac Merge pull request #4977 from rxu/ticket/15384
[ticket/15384] Add linebreaks to SMTP/Jabber configuration option explanations
2017-11-01 21:33:35 +01:00
Marc Alexander
e86afe6799 [ticket/15384] Use html5 version of <br> instead of xhtml one
PHPBB3-15384
2017-11-01 20:08:45 +01:00
Marc Alexander
22e97296af Merge pull request #5019 from marc1706/ticket/14994
[ticket/14994] Refactor template->assign_block_var
2017-11-01 17:23:33 +01:00
Marc Alexander
18a0abcaa3 Merge pull request #5024 from kasimi/ticket/15432
[ticket/15432] Don't remove dark background if fadedark is false
2017-11-01 16:08:41 +01:00
Marc Alexander
44277d6a0d Merge pull request #5013 from rxu/ticket/15419
[ticket/15419] Fix Sphinx UTF8 search in delta index
2017-11-01 15:59:05 +01:00
Marc Alexander
1b480df535 Merge pull request #5015 from kasimi/ticket/15423
[ticket/15423] Fix wrong title for topic's "Unappproved posts" icon
2017-11-01 15:51:27 +01:00
Marc Alexander
5cdec6199c Merge pull request #4984 from senky/ticket/15111
[ticket/15111] Fix the typo in ucp_pm_view_messsage
2017-11-01 15:45:11 +01:00
Marc Alexander
96cb62fe6d Merge pull request #5026 from marc1706/ticket/15387
[ticket/15387] Make vertical bars full height on board index forum rows
2017-11-01 13:21:33 +01:00
Marc Alexander
a9f850c36d Merge pull request #5018 from marc1706/ticket/15133
[ticket/15133] Update fast-image-size to 1.1.4
2017-11-01 12:32:51 +01:00
javiexin
a30693a594 [ticket/14994] Refactor template->assign_block_var
Refactor assign_block_var to use the same block selection mechanism
as is used in alter_block_array.  This allows creating new blocks
at any position in the template structure, not only on the last block.
Allows selecting a block as outer[2].middle.
Added tests. Added PHP 7.2 compatibility.

PHPBB3-14994
2017-11-01 12:29:49 +01:00
javiexin
c2043e47da [ticket/14994] Refactor template->assign_block_var
Refactor assign_block_var to use the same block selection mechanism
as is used in alter_block_array.  This allows creating new blocks
at any position in the template structure, not only on the last block.
Allows selecting a block as outer[2].middle.
Added tests. Added PHP 7.2 compatibility.

PHPBB3-14994
2017-11-01 12:29:49 +01:00
javiexin
bf882826e4 [ticket/14994] Refactor template->assign_block_var
Refactor assign_block_var to use the same block selection mechanism
as is used in alter_block_array.  This allows creating new blocks
at any position in the template structure, not only on the last block.
Allows selecting a block as outer[2].middle.
Added tests.

PHPBB3-14994
2017-11-01 12:29:47 +01:00
Marc Alexander
c14cc433b7 Merge pull request #4988 from Elsensee/ticket/15389
[ticket/15389] Allow arrays in event dispatcher
2017-11-01 12:00:23 +01:00
Sophist
ab83b25857 [ticket/15387] Make vertical bars full height - fix MCP
Fix issue where changes were half applied to MCP creating c. 990px of
whitespace.

PHPBB3-15387
2017-11-01 11:03:00 +01:00
Sophist
e5860288be [ticket/15387] Make vertical bars full height - fix 1
Fix issue with 2px gap at the bottom of the bars.

PHPBB3-15387
2017-11-01 11:00:49 +01:00
Sophist
44a0a9e3e0 [ticket/15387] Make vertical bars full height on forum topic rows - consistency
Make extra size consistent with immediately following css i.e. use 999px
not 99999px as v. large to exceed possible box size.

PHPBB3-15387
2017-11-01 11:00:33 +01:00
Sophist
a6b994d95e [ticket/15387] Make vertical bars full height on board index forum rows
Make vertical left border bars for height for Topics and Posts columns
in board index forum rows when these columns have less height than e.g.
the Last Post column.

PHPBB3-15387
2017-11-01 11:00:06 +01:00
Marc Alexander
a6c5204cbd Merge pull request #4973 from DavidIQ/ticket/15372
[ticket/15372] Add permission for listing topics without being able to read them
2017-11-01 10:39:56 +01:00
kasimi
8df79ba5a4 [ticket/15432] Don't remove dark background if fadedark is false
PHPBB3-15432
2017-10-31 17:36:29 +01:00
Marc Alexander
131c264492 Merge pull request #4985 from senky/ticket/13150
[ticket/13150] Add core.phpbb_log_get_topic_auth_sql_after
2017-10-31 16:13:34 +01:00
Marc Alexander
200562548e Merge pull request #4980 from senky/ticket/15381
[ticket/15381] Better explain CONTACT_US_ENABLE_EXPLAIN
2017-10-31 15:51:20 +01:00
Marc Alexander
1744d829ad Merge pull request #4978 from ftc2/3.2.x
[ticket/15385] nginx.sample.conf: www redirection, security regex
2017-10-31 15:47:09 +01:00
kasimi
be15e26e5f [ticket/15431] Add event core.ucp_register_modify_template_data
PHPBB3-15431
2017-10-31 14:56:41 +01:00
Rubén Calvo
4bf0f4a50f [ticket/15171] Add migration
PHPBB3-15171
2017-10-31 14:37:36 +01:00
Rubén Calvo
a0ba57dc4f [ticket/15171] Fix test
PHPBB3-15171
2017-10-31 14:30:45 +01:00
Rubén Calvo
3bfd006e77 [ticket/15171] Fix texformatter
PHPBB3-15171
2017-10-31 14:30:45 +01:00
Rubén Calvo
508caa9bd4 [ticket/15171] Replace all BBCode templates by default
PHPBB3-15171
2017-10-31 14:30:45 +01:00
Marc Alexander
78610f0406 Merge pull request #4975 from senky/ticket/15273
[ticket/15273] Better explain cookie path
2017-10-31 14:17:28 +01:00
Marc Alexander
f31dcfc937 Merge pull request #4970 from rxu/ticket/15374
[ticket/15374] Add core event to modify page title in viewforum.php
2017-10-31 12:58:40 +01:00
Marc Alexander
fbbd1713d7 Merge pull request #4969 from Elsensee/ticket/15245
[ticket/15245] Fix images in feeds when accessing via app.php
2017-10-31 09:58:29 +01:00
Marc Alexander
d56e573a8e Merge pull request #4950 from Nicofuma/ticket/15357-3.2.x
[ticket/15298] Never suppress exception trace when using CLI
2017-10-29 12:49:16 +01:00
Marc Alexander
d0e25f2eed Merge pull request #5012 from kasimi/ticket/15060
[ticket/15060] Set correct forum id in user session data if f= is missing
2017-10-29 11:34:47 +01:00
Marc Alexander
53e8e12621 [ticket/15133] Update other dependencies to latest versions as well
PHPBB3-15133
2017-10-29 11:24:50 +01:00
javiexin
e32324c72a [ticket/14994] Refactor template->assign_block_var
Refactor assign_block_var to use the same block selection mechanism
as is used in alter_block_array.  This allows creating new blocks
at any position in the template structure, not only on the last block.
Allows selecting a block as outer[2].middle.

PHPBB3-14994
2017-10-29 11:06:18 +01:00
Marc Alexander
9c8eb3de90 [ticket/15133] Update fast-image-size to 1.1.4
Fixes various issues with JPEG, TIFF, and adds WebP support.

PHPBB3-15133
2017-10-29 11:04:47 +01:00
Oliver Schramm
dcf33148a7 [ticket/15195] Fix code block in rtl print version
PHPBB3-15195
2017-10-28 03:46:43 +02:00
kasimi
a35a225adf [ticket/15423] Fix wrong title for topic's "Unappproved posts" icon
PHPBB3-15423
2017-10-27 11:04:22 +02:00
David Colón
33ceceda02 [ticket/15372] Add permission to schema and copy from f_read 2017-10-26 16:21:50 -04:00
David Colón
4ae7cb89ff [ticket/15372] Remove revert_data from migration 2017-10-26 16:09:01 -04:00
David Colón
2ba529e144 [ticket/15372] Fix pagination and don't render viewtopic link 2017-10-26 16:09:01 -04:00
David Colón
e55480385b [ticket/15372] Migration for adding f_list_topic permission 2017-10-26 16:09:01 -04:00
David Colón
dc5267728b [ticket/15372] Add and handle f_list_topics permission 2017-10-26 16:09:01 -04:00
rxu
4f0b736f14 [ticket/15419] Fix Sphinx UTF8 search in delta index
PHPBB3-15419
2017-10-24 20:35:25 +07:00
kasimi
60596eb675 [ticket/15060] Set correct forum id in user session data if f= is missing
PHPBB3-15060
2017-10-23 22:36:29 +02:00
Marc Alexander
3b5c624c03 Merge pull request #4930 from rubencm/ticket/15201
[ticket/15201] Set user style to default style when it is disabled or uninstalled
2017-10-22 10:19:30 +02:00
Marc Alexander
1d12d76790 Merge pull request #4948 from Elsensee/ticket/15267
[ticket/15267] Hide birthday list if permission wasn't granted
2017-10-18 21:10:52 +02:00
Marc Alexander
0e9a1e0d54 Merge pull request #4910 from javiexin/ticket/15331_B
[ticket/15331] Allow gravatars to be overridden by existing event - B
2017-10-17 21:13:40 +02:00
Marc Alexander
c1c3004fa1 Merge pull request #5003 from kasimi/ticket/15409
[ticket/15409] Add u_action to core.acp_users_overview_run_quicktool
2017-10-17 20:48:49 +02:00
Marc Alexander
7bdff132ff Merge pull request #4997 from kasimi/ticket/15396
[ticket/15396] Fix revert_schema() steps not executed in correct order
2017-10-17 19:54:19 +02:00
Rubén Calvo
cc361144f9 [ticket/15041] Show error if there are not attachments
PHPBB3-15041
2017-10-17 18:58:43 +02:00
Rubén Calvo
3f95d49fee [ticket/15041] Add pagination to orphaned attachments
PHPBB3-15041
2017-10-17 18:47:47 +02:00
kasimi
0b42b34531 [ticket/15409] Add u_action to core.acp_users_overview_run_quicktool
PHPBB3-15409
2017-10-16 22:59:41 +02:00
Marc Alexander
ee9eb586dd Merge pull request #4999 from marc1706/ticket/15401
[ticket/15401] Use separate constant for memcached driver config
2017-10-15 21:31:53 +02:00
Marc Alexander
7fa30de9d5 Merge pull request #4944 from Elsensee/ticket/14677
[ticket/14677] Add exclamation mark to outdated extensions
2017-10-15 20:28:43 +02:00
Julien Tant
5aceccf00b [ticket/15401] Use separate constant for memcached driver config
PHPBB3-15401
2017-10-15 14:13:26 +02:00
kasimi
490626d985 [ticket/15396] Added test for correct order of revert_schema() steps
PHPBB3-15396
2017-10-14 15:59:42 +02:00
Marc Alexander
e1966c3476 Merge pull request #4888 from javiexin/ticket/15306
[ticket/15306] Error and missing data in core.acp_users_profile_validate
2017-10-13 19:39:42 +02:00
kasimi
ed9b896d22 [ticket/15396] Fix revert_schema() steps not executed in correct order
PHPBB3-15396
2017-10-13 14:46:32 +02:00
Marc Alexander
f57e377847 [ticket/15353] Use empty where applicable
PHPBB3-15353
2017-10-12 21:56:59 +02:00
Marc Alexander
2c01fe67e9 Merge pull request #4942 from rubencm/ticket/15172
[ticket/15172] Fix redirection to wrong port
2017-10-11 21:00:33 +02:00
Marc Alexander
2f799fa993 Merge pull request #4994 from hanakin/ticket/15391
[ticket/15391] image-rendering not needed for Topic/Forum imgs
2017-10-11 19:06:48 +02:00
Michael Miday
e213b8264d [ticket/15391] image-rendering no longer needed
PHPBB3-15391
2017-10-11 10:11:10 -04:00
Marc Alexander
f6d1dd8b33 Merge pull request #4995 from senky/ticket/15394
[ticket/15394] Add $user_cache
2017-10-11 13:29:00 +02:00
Jakub Senko
5c16ef0657 [ticket/15394] Add $post_edit_list
PHPBB3-15394
2017-10-09 19:08:16 +02:00
Jakub Senko
bad711e0d9 [ticket/15394] Add $user_cache
PHPBB3-15394
2017-10-09 17:55:47 +02:00
Jakub Senko
4d333e7f70 [ticket/13150] Add core.phpbb_log_get_topic_auth_sql_after
PHPBB3-13150
2017-10-09 16:42:48 +02:00
Sophist
4a8aa339d0 [ticket/15390] Fix vertical bar permission tooltip
Fix a vertical bar and menu text running through the Admin Permission
Role Tooltip pop-up caused by z-index on menu div (and opacity of the
popup of .95 rather than 1).

PHPBB3-15390
2017-10-05 22:21:53 +01:00
Máté Bartus
cfba5613b7 Merge pull request #4989 from Elsensee/ticket/15361
[ticket/15361] Fix paths and names of graphics
2017-10-05 20:45:57 +02:00
Oliver Schramm
69985f9b0c [ticket/15361] Fix paths and names of graphics
PHPBB3-15361
2017-10-05 17:58:57 +02:00
Oliver Schramm
9c91bc4976 Merge pull request #4967 from Leinad4Mind/3.2.x
[PHPBB3-14629] round() the log() explicitly to a proper integer
2017-10-05 15:40:24 +02:00
Oliver Schramm
e1ae3236b2 Merge pull request #4981 from senky/ticket/15362
[ticket/15362] Fix colspan in notification options table
2017-10-05 15:13:41 +02:00
Oliver Schramm
5c33c852ae Merge pull request #4961 from hanakin/ticket/15361
[ticket/15361] Topic / Forum Icon rendering across all browsers
2017-10-05 15:00:50 +02:00
Oliver Schramm
16159f20f6 Merge branch '3.1.x' into 3.2.x 2017-10-05 14:54:52 +02:00
Oliver Schramm
5514b10699 Merge pull request #4960 from rxu/ticket/15367
[ticket/15367] Escape special characters in Sphinx search backend
2017-10-05 14:54:47 +02:00
Oliver Schramm
6c04a6715c [ticket/15389] Match multiple events in dispatcher in php_exporter
I've also improved some regular expressions

PHPBB3-15389
2017-10-04 20:12:34 +02:00
Oliver Schramm
f788b7384b [ticket/15389] Allow arrays in event dispatcher
PHPBB3-15389
2017-10-04 04:52:41 +02:00
Jakub Senko
7fcb07572b [ticket/15111] Fix the typo in ucp_pm_view_messsage
PHPBB3-15111
2017-10-03 11:43:29 +02:00
Jakub Senko
2cdb27a0d1 [ticket/15362] Fix colspan in notification options table
PHPBB3-15362
2017-10-02 12:24:33 +02:00
Jakub Senko
99374731d1 [ticket/15381] Better explain CONTACT_US_ENABLE_EXPLAIN
PHPBB3-15381
2017-10-02 12:17:04 +02:00
ftc2
8f97887683 [ticket/15385] nginx.sample.conf: www redirection, security regex
according to the latest wiki info:
    http://wiki.nginx.org/Pitfalls#Taxing_Rewrites
`return 301` is preferred over a rewrite.

also, the 'security' regex breaks some official extensions because it
will match and deny access to `/ext/phpbb`.
looking through the names of dirs and files containing `phpbb`, it
looks like the intent of the regex was to only disallow the folder
`phpbb` in the root dir and not other `/phpbb` matches.
a negative lookbehind was added to specifically not match `/ext/phpbb`
but still match other occurrences of `/phpbb`.

Tracker ticket: https://tracker.phpbb.com/browse/PHPBB3-15385
2017-10-01 22:57:21 -06:00
rxu
c5e8b759c1 [ticket/15384] Add linebreaks to SMTP/Jabber configuration option explanations
PHPBB3-15384
2017-10-02 10:55:25 +07:00
Oliver Schramm
886089d28e [ticket/15245] Fix tests
PHPBB3-15245
2017-10-01 19:14:12 +02:00
Oliver Schramm
221e5a01b1 [ticket/15245] Fix comments, class names and code style
PHPBB3-15245
2017-09-28 23:55:28 +02:00
Marc Alexander
fc3d3a83db Merge pull request #4974 from Elsensee/ticket/15379
[ticket/15379] Fix assignments in reparser cron job
2017-09-28 21:33:19 +02:00
Oliver Schramm
3da67ce581 [ticket/15245] Configure TextFormatter before rendering feeds
PHPBB3-15245
2017-09-28 20:02:50 +02:00
Oliver Schramm
e71cb17b64 Merge pull request #4958 from kasimi/ticket/15365
[ticket/15365] Fix invalidating OPcache
2017-09-28 18:57:44 +02:00
Jakub Senko
402b7a0973 [ticket/15273] Better explain cookie path
PHPBB3-15273
2017-09-28 13:53:59 +02:00
Oliver Schramm
e41819e37a [ticket/15379] Only initialize reparsers on first call in migration
PHPBB3-15379
2017-09-25 17:48:37 +02:00
Oliver Schramm
4069cdd518 [ticket/15379] Fix the assignments in reparser cron job
PHPBB3-15379
2017-09-25 17:46:00 +02:00
Oliver Schramm
4a7ead0239 [ticket/15245] Remove unnecessary arguments and fix whitespace
PHPBB3-15245
2017-09-22 15:51:10 +02:00
rxu
ae02cf785a [ticket/15374] Add core event to modify page title in viewforum.php
PHPBB3-15374
2017-09-22 20:15:05 +07:00
Oliver Schramm
2592d59765 [ticket/15339] Use manual method when adding modules
This will fix cases where the module is deleted in later
versions and the migrator thus cannot retrieve the info.

PHPBB3-15339
2017-09-22 14:34:38 +02:00
Oliver Schramm
27ae01c27a [ticket/15245] Fix images in feeds when accessing via app.php
PHPBB3-15245
2017-09-22 13:03:14 +02:00
Daniel Mota
f79b7f1896 [PHPBB3-14629] round() the log() explicitly to a proper integer 2017-09-21 17:24:16 +01:00
Oliver Schramm
aea84322e9 [ticket/14677] Use classes for colors in ext list
PHPBB3-14677
2017-09-20 14:20:06 +02:00
Marc Alexander
d095e620c1 Merge pull request #4963 from DavidIQ/ticket/15368
[ticket/15368] Correct function reference in MSSQL db tools
2017-09-19 19:22:16 +02:00
David Colón
3574832ddb [ticket/15368] Correct function reference in MSSQL db tools 2017-09-17 18:04:14 -04:00
Michael Miday
77401ff354 [ticket/15361] fix forum_link
PHPBB3-15361
2017-09-16 15:40:37 -04:00
Michael Miday
d0e2b29492 [ticket/15361] new graphics to fix chrome & safari
PHPBB3-15361
2017-09-16 15:28:53 -04:00
rxu
ca5678cc1c [ticket/15367] Escape special characters in Sphinx search backend
PHPBB3-15367
2017-09-16 23:54:25 +07:00
kasimi
f1f35f7f3d [ticket/15365] Fix invalidating OPcache
PHPBB3-15365
2017-09-16 11:10:04 +02:00
Máté Bartus
cd14b2cdf8 Merge pull request #4955 from hanakin/ticket/13214
[ticket/13214] Contact us page textarea looks narrow in responsive mode
2017-09-15 10:07:56 +02:00
Máté Bartus
969048293d Merge pull request #4956 from hanakin/ticket/15271
[ticket/15271] align forum and topic row columns
2017-09-15 10:05:08 +02:00
Michael Miday
78c9d07a7b [ticket/15271] align forum and topic row columns
PHPBB3-15271
2017-09-11 13:00:56 -04:00
Michael Miday
840bfb1226 [ticket/13214] Fix weird alignment of labels
PHPBB3-13214
2017-09-11 11:38:02 -04:00
Michael Miday
2522c70675 [ticket/13214] remove inputbox from textarea
PHPBB3-13214
2017-09-11 11:37:28 -04:00
Oliver Schramm
b1e3787197 Merge pull request #4889 from javiexin/ticket/15307
[ticket/15307] Extensions may add modes to acp_users
2017-09-10 15:32:23 +02:00
Máté Bartus
16c4564272 Merge pull request #4943 from Elsensee/ticket/14933
[ticket/14933] Make "route not found" more user-friendly
2017-09-10 15:17:54 +02:00
Tristan Darricau
6e86cd9e15 [ticket/15298] Never suppress exception trace when using CLI
PHPBB3-15298
2017-09-10 13:34:31 +02:00
Rubén Calvo
7b489638d7 [ticket/15172] Cast port to integer
PHPBB3-15172
2017-09-10 13:24:10 +02:00
Marc Alexander
1e1c8e7a9d Merge pull request #4945 from Elsensee/ticket/15353
[ticket/15353] Fix html in acp_board.html
2017-09-10 13:02:11 +02:00
Oliver Schramm
77e7a27c11 [ticket/15267] Hide birthday list if permission wasn't granted
PHPBB3-15267
2017-09-10 12:53:26 +02:00
Marc Alexander
f8f985c099 [ticket/15353] Make sure users can continue update after merging file diff
PHPBB3-15353
2017-09-10 12:52:12 +02:00
Oliver Schramm
38bf2e3771 [ticket/14677] Make the exclamation mark red
PHPBB3-14677
2017-09-10 12:19:13 +02:00
Rubén Calvo
f6b8f69e7e [ticket/15172] Add symfony_request to some tests
PHPBB3-15172
2017-09-10 12:16:51 +02:00
Oliver Schramm
4b39b99d56 [ticket/14933] Fix docblock for kernel_exception_subscriber
PHPBB3-14933
2017-09-10 11:08:59 +02:00
Oliver Schramm
9adf7474a9 [ticket/15353] Fix html in acp_board.html
PHPBB3-15353
2017-09-09 19:06:12 +02:00
Oliver Schramm
41077cae64 [ticket/14677] Add exclamation mark to outdated extensions
PHPBB3-14677
2017-09-09 19:01:30 +02:00
Oliver Schramm
7f8407b321 [ticket/14933] Fix parameter for kernel_exception_subscriber
PHPBB3-14933
2017-09-09 17:37:10 +02:00
Rubén Calvo
3f9de5b1d4 [ticket/15172] Use symfony request component to get port
PHPBB3-15172
2017-09-09 17:32:06 +02:00
Máté Bartus
954af4f180 Merge pull request #4876 from JoshyPHP/ticket/15290
[ticket/15290] Add core.text_formatter_s9e_configure_finalize event
2017-09-09 17:20:20 +02:00
Máté Bartus
9ebe4da725 Merge pull request #4885 from JoshyPHP/ticket/15301
[ticket/15301] Set quotes' nesting limit when configuring a parser
2017-09-09 17:10:43 +02:00
Tristan Darricau
e465af28d1 Merge pull request #4941 from Elsensee/ticket/15149
[ticket/15149] Fix Ctrl+Submit action on posting

* github.com:phpbb/phpbb:
  [ticket/15149] Fix Ctrl+Submit action on posting
2017-09-09 17:09:08 +02:00
Oliver Schramm
a29048abd6 [ticket/14933] Make "route not found" more user-friendly
PHPBB3-14933
2017-09-09 17:08:27 +02:00
Tristan Darricau
e767b753a4 Merge pull request #4940 from Elsensee/ticket/15355
[ticket/15355] Remove version field when no update is available

* github.com:phpbb/phpbb:
  [ticket/15355] Remove version field when no update is available
2017-09-09 17:04:31 +02:00
Oliver Schramm
6a96249e24 [ticket/15149] Fix Ctrl+Submit action on posting
PHPBB3-15149
2017-09-09 15:54:10 +02:00
Oliver Schramm
ed7ec01fea [ticket/15355] Remove version field when no update is available
PHPBB3-15355
2017-09-09 13:41:04 +02:00
Máté Bartus
c265eab081 Merge pull request #4932 from Nicofuma/ticket/15351
[ticket/15351] Makes confirm_works in a router context (app.php)
2017-09-09 12:07:52 +02:00
Tristan Darricau
c368d170cf [ticket/15351] Makes confirm_works in a router context (app.php)
PHPBB3-15351
2017-09-08 16:26:39 +02:00
Oliver Schramm
16da17a4ba Merge branch '3.1.x' into 3.2.x 2017-09-08 16:06:47 +02:00
Oliver Schramm
93621aa184 Merge pull request #4929 from marc1706/ticket/15347
[ticket/15347] Use single quotes in update hashes query
2017-09-08 16:06:46 +02:00
Rubén Calvo
bace8dd31f [ticket/15201] Add casting
PHPBB3-15201
2017-09-08 15:02:29 +02:00
Oliver Schramm
b75a9dcbe3 Merge pull request #4936 from marc1706/ticket/7845
[ticket/7845] Ensure config script path is not empty
2017-09-08 15:02:25 +02:00
Oliver Schramm
1095a67a1b Merge pull request #4934 from marc1706/ticket/7488
[ticket/7488] Display no forums message if user can't see forums of category
2017-09-08 14:22:17 +02:00
Oliver Schramm
65692e8785 Merge pull request #4935 from JimMH/patch-4
[ticket/15352] Descriptions are not used in categories
2017-09-08 13:53:17 +02:00
Jim Mossing Holsteyn
563fc6ed6c [ticket/15352] Descriptions are not using in categories
PHPBB3-15352
2017-09-08 13:50:42 +02:00
Marc Alexander
654c2370ea [ticket/7845] Ensure config script path is not empty
PHPBB3-7845
2017-09-08 11:54:42 +02:00
Marc Alexander
339ec5bded [ticket/7488] Display no forums message if user can't see forums of category
PHPBB3-7488
2017-09-08 11:42:50 +02:00
Rubén Calvo
4b1ec6abb7 [ticket/15201] Fix tests
PHPBB3-15201
2017-09-08 10:59:47 +02:00
Marc Alexander
7e4498dfb5 [ticket/15347] Fix query quotes in update hashes cli command
PHPBB3-15347
2017-09-08 10:54:58 +02:00
Marc Alexander
38cbdb6768 [ticket/15347] Use single quotes in update hashes query
PHPBB3-15347
2017-09-07 16:27:49 +02:00
Tristan Darricau
7221a47bb6 Merge pull request #4928 from Crizz0/ticket/15350
[ticket/15350] Changes outdated wiki-link for plural-rules to new docs/

* github.com:phpbb/phpbb:
  [ticket/15350] Changes outdated wiki-link to new docs/
2017-09-07 15:17:57 +02:00
Máté Bartus
114f38648b Merge pull request #4900 from rxu/ticket/15318
[ticket/15318] Make user option to disable word censoring effective again
2017-09-07 15:09:48 +02:00
Máté Bartus
f6166225cf Merge pull request #4902 from MoleDJ/patch-1
[ticket/15320] 	Redis cache does not save keys withouth expiration
2017-09-07 15:09:08 +02:00
Máté Bartus
da357f80f8 Merge pull request #4903 from rxu/ticket/15323
[ticket/15323] Allow Twig syntax in bbcode.html
2017-09-07 15:08:12 +02:00
Crizzo
4dfd12d5b2 [ticket/15350] Changes outdated wiki-link to new docs/
PHPBB3-15350
2017-09-07 15:05:53 +02:00
Tristan Darricau
9af394eff3 Merge pull request #4920 from hanakin/ticket/15262
[ticket/15262] Update button font-weight

* github.com:phpbb/phpbb:
  [ticket/15262] Update the font-weight of buttons
2017-09-07 14:59:55 +02:00
Tristan Darricau
c52bb42dcf Merge pull request #4919 from sdschulze/ticket/15309
[ticket/15309] Fix pagination overlap in prosilver via "left-box"

* github.com:phpbb/phpbb:
  [ticket/15309] Add margin to pagination
  [ticket/15309] Right-align responsive pagination for consistency
  [ticket/15309] Fix pagination overlap
2017-09-07 14:44:21 +02:00
Tristan Darricau
1ee4968a01 Merge pull request #4913 from kasimi/ticket/15333
[ticket/15333] Call callback when confirm dialog is canceled

* github.com:phpbb/phpbb:
  [ticket/15333] Call callback when confirm dialog is canceled
2017-09-07 14:41:49 +02:00
Máté Bartus
0755ae423b Merge pull request #4905 from rxu/ticket/15324
[ticket/15324] Add more core and template events
2017-09-07 14:39:39 +02:00
Máté Bartus
908b1c9bc9 Merge pull request #4906 from rxu/ticket/15327
[ticket/15327] Add post anchor to the log postlink
2017-09-07 14:37:51 +02:00
Tristan Darricau
f3b5862468 Merge pull request #4912 from kasimi/ticket/15332
[ticket/15332] Don't remove dark background if fadedark is false

* github.com:phpbb/phpbb:
  [ticket/15332] Don't remove dark background if fadedark is false
2017-09-07 14:36:09 +02:00
Máté Bartus
6c13ca7a19 Merge pull request #4908 from hubaishan/ticket/15317
[ticket/15317] Fix phpbbcli language
2017-09-07 14:32:27 +02:00
Máté Bartus
24d0b06466 Merge pull request #4914 from kasimi/ticket/15334
[ticket/15334] Add template event viewtopic_topic_title_before
2017-09-07 14:31:38 +02:00
Máté Bartus
6e7593a5db Merge pull request #4918 from kasimi/ticket/15328
[ticket/15328] Disable checkbox if notification method isn't supported
2017-09-07 14:31:04 +02:00
Tristan Darricau
c1b00896b4 Merge pull request #4922 from DavidIQ/ticket/15340
[ticket/15340] Update plupload to version 2.3.3

* github.com:phpbb/phpbb:
  [ticket/15340] Update plupload to version 2.3.3
2017-09-07 14:19:24 +02:00
Máté Bartus
384ece3621 Merge pull request #4924 from rubencm/ticket/15346
[ticket/15346] Check if extension is enableable during install
2017-09-07 14:12:18 +02:00
Máté Bartus
9c0bb4afb5 Merge pull request #4927 from rubencm/ticket/15349
[ticket/15349] Check if an extension if enableable before enable with CLI
2017-09-07 14:08:14 +02:00
kasimi
edd1ce7443 [ticket/15328] Use type_interface
PHPBB3-15328
2017-09-07 13:30:39 +02:00
Rubén Calvo
bf289de26f [ticket/15349] Return 1 instead of 2 in case of error
PHPBB3-15346
2017-09-07 12:56:39 +02:00
Rubén Calvo
aa23af38d4 [ticket/15349] Check if extension is enableable before enable
PHPBB3-15346
2017-09-07 12:56:29 +02:00
Marc Alexander
1084b91b66 Merge pull request #4926 from JoshyPHP/ticket/15348
[ticket/15348] Ignore smilies that are immediately followed by a word
2017-09-06 19:07:25 +02:00
JoshyPHP
837dc9b3a7 [ticket/15348] Ignore smilies that are immediately followed by a word
PHPBB3-15348
2017-09-06 03:35:26 +02:00
Rubén Calvo
d99dbf1f0e [ticket/15346] Add log message if extension is not enableable
PHPBB3-15346
2017-09-05 18:48:02 +02:00
Rubén Calvo
e854e5b71f [ticket/15346] Check if extension is enableable during install
PHPBB3-15346
2017-09-03 17:53:10 +02:00
David Colón
638f0ff248 [ticket/15340] Update plupload to version 2.3.3 2017-08-31 10:16:03 -04:00
Soeren D. Schulze
eff68f3487 [ticket/15309] Add margin to pagination
Set margin-top and margin-bottom of pagination to 3px

PHPBB3-15309
2017-08-31 02:23:21 +02:00
Michael Miday
311c7c0561 [ticket/15262] Update the font-weight of buttons
PHPBB3-15262
2017-08-30 17:31:29 -04:00
Soeren D. Schulze
dd542ca630 [ticket/15309] Right-align responsive pagination for consistency
Left-aligning pagination is no longer needed after fix

PHPBB3-15309
2017-08-28 22:42:37 +02:00
Soeren D. Schulze
3c0a555c24 [ticket/15309] Fix pagination overlap
Mark the contents of the column as "left-box", enabling proper alignment

PHPBB3-15309
2017-08-28 22:40:27 +02:00
Rubén Calvo
13b0f39961 [ticket/15201] Migration to fix current invalid styles
PHPBB3-15201
2017-08-28 18:33:38 +02:00
Rubén Calvo
4719f94cec [ticket/15201] Remove wrong user style check
PHPBB3-15201
2017-08-28 18:33:38 +02:00
Rubén Calvo
48a3bd1a9e [ticket/15201] Fix
PHPBB3-15201
2017-08-28 18:33:38 +02:00
Rubén Calvo
b0a2216326 [ticket/15201] Castings
PHPBB3-15201
2017-08-28 18:33:38 +02:00
Rubén Calvo
0ced93ccd5 [ticket/15201] Set user style to default style when it is disabled or uninstalled
PHPBB3-15201
2017-08-28 18:33:38 +02:00
JoshyPHP
e1e94683bd [ticket/15301] Remove quote limits when creating a parser
PHPBB3-15301
2017-08-24 14:17:42 +02:00
kasimi
ec2d983ab1 [ticket/15328] Disable checkbox if notification method isn't supported
PHPBB3-15328
2017-08-24 10:39:59 +02:00
kasimi
1f041c79c6 [ticket/15334] Add template event viewtopic_topic_title_before
PHPBB3-15334
2017-08-21 18:32:26 +02:00
kasimi
d3305ad13e [ticket/15332] Don't remove dark background if fadedark is false
PHPBB3-15332
2017-08-21 15:37:46 +02:00
kasimi
b9854b4c89 [ticket/15333] Call callback when confirm dialog is canceled
PHPBB3-15333
2017-08-21 15:33:46 +02:00
javiexin
e6796a690c [ticket/15331] Allow gravatars to be changed in the existing event
Option B:
- change the get_avatar function

PHPBB3-15331
2017-08-19 22:36:47 +02:00
hubaishan
b5e850b6df [ticket/15317] Fix phpbbcli language
Updated as Nicofuma said

PHPBB3-15317
2017-08-18 20:13:42 +03:00
hubaishan
ce17a5d892 [ticket/15317] Fix phpbbcli language
Fix language by adding set_default_language

PHPBB3-15317
2017-08-17 21:29:01 +03:00
rxu
79093c1145 [ticket/15327] Add post anchor to the log postlink
PHPBB3-15327
2017-08-17 00:45:28 +07:00
rxu
68c3a0307d [ticket/15324] Add more core and template events
PHPBB3-15324
2017-08-16 22:38:34 +07:00
rxu
e67d2ae3b9 [ticket/15323] Run s9e configurator tests on twigified bbcode.html
PHPBB3-15323
2017-08-15 17:10:42 +07:00
rxu
aabb9d2e48 [ticket/15323] Allow Twig syntax in bbcode.html
PHPBB3-15323
2017-08-15 15:41:56 +07:00
Jagoba Los Arcos
4e5fd9a6e9 [ticket/15320] Fix to accomplish coding guidelines 2017-08-14 13:00:54 +02:00
Jagoba Los Arcos
a6c9119dfa [ticket/15320] Redis cache does not save keys withouth expiration
In some functions like sql_save in cache/memory.php, code try to save a key/value in cache with ttl = 0 so key should never expire. In current redis.php cache driver, it fails so key never get cached. This cause for example that when you create a subforum, it not appear in the forum box in the admincp.
To solve, if ttl is 0, we use redis->set instead of setex
2017-08-13 22:49:24 +02:00
Marc Alexander
1e605efaf1 Merge pull request #4877 from JoshyPHP/ticket/15291
[ticket/15291] Allow short array notation in event declarations
2017-08-13 16:15:39 +02:00
Marc Alexander
46684228d5 Merge pull request #4898 from rxu/ticket/15314
[ticket/15314] Fix convert class constructor
2017-08-13 16:10:26 +02:00
Marc Alexander
7747d79e31 Merge pull request #4901 from id-tarzanych/ticket/15319
[ticket/15319] Add IF EXISTS to Postgres DROP SEQUENCE query
2017-08-13 16:05:59 +02:00
Marc Alexander
d676ca12ab Merge pull request #4884 from hubaishan/ticket/15297
[ticket/15297] Fix current date broken lines
2017-08-13 15:59:40 +02:00
Serge Skripchuk
3aac61cfa7 [ticket/15319] Add IF EXISTS to Postgres DROP SEQUENCE query 2017-08-13 15:33:04 +03:00
rxu
de6a0a7dc1 [ticket/15318] Add UCP censoring switch testing
PHPBB3-15318
2017-08-12 20:45:34 +07:00
rxu
a86cff313f [ticket/15318] Fix tests
PHPBB3-15318
2017-08-12 17:48:47 +07:00
rxu
1d808931f6 [ticket/15318] Make user option to disable word censoring effective again
PHPBB3-15318
2017-08-12 17:01:34 +07:00
rxu
f7249f8839 [ticket/15314] Fix convert class constructor
PHPBB3-15314
2017-08-11 01:44:59 +07:00
javiexin
b6cb353239 [ticket/15307] Extensions may add modes to acp_users
Includes both PHP and Template events.

PHPBB3-15307
2017-08-06 14:22:57 +02:00
javiexin
d9662a5891 [ticket/15306] Error and missing data in core.acp_users_profile_validate
PHPBB3-15306
2017-08-06 13:38:30 +02:00
Tristan Darricau
d9a5c8e918 Merge pull request #4861 from v12mike/PHPBB3-15247
[PHPBB3-15247] Add support for php v7 APCu cache API

* github.com:phpbb/phpbb:
  [PHPBB3-15247] Add support for php v7 APCu cache API
2017-08-06 12:07:52 +02:00
Tristan Darricau
327333e328 Merge pull request #4880 from marc1706/ticket/15292
[ticket/15292] Reduce bluriness for forum and topic icons

* github.com:phpbb/phpbb:
  [ticket/15292] Reduce bluriness for forum and topic icons
2017-08-06 12:01:05 +02:00
Tristan Darricau
a8fb68051e Merge pull request #4887 from JoshyPHP/ticket/15304
[ticket/15304] Update s9e/text-formatter dependency

* github.com:phpbb/phpbb:
  [ticket/15304] Update s9e/text-formatter dependency
2017-08-06 11:35:35 +02:00
Tristan Darricau
1fcf0d4808 Merge pull request #4886 from marc1706/ticket/15303
[ticket/15303] Correctly refer to $memcached and not $memcache

* github.com:phpbb/phpbb:
  [ticket/15303] Correctly refer to $memcached and not $memcache
2017-08-06 11:32:56 +02:00
JoshyPHP
5b67939e6a [ticket/15304] Update s9e/text-formatter dependency
https://github.com/s9e/TextFormatter/releases/tag/0.11.0

PHPBB3-15304
2017-08-05 18:28:09 +02:00
abyssmedia
ef404d0f95 [ticket/15303] Correctly refer to $memcached and not $memcache
PHPBB3-15303
2017-08-05 12:19:47 +02:00
Marc Alexander
342a7cbd55 [ticket/security/211] Allow make_clickable() again after change to regex
SECURITY-211
2017-08-03 22:23:08 +02:00
hubaishan
21b35d95be [ticket/15297] revert changes to responsive.css change to bidi.css
revert changes to responsive.css
adding the class to bidi.css

PHPBB3-15297
2017-07-30 12:30:35 +03:00
hubaishan
e4abbcaca3 Revert "[ticket/15297] revert changes to responsive.css and fix by editing bidi.css"
This reverts commit 5d0a41b814.
2017-07-30 12:24:44 +03:00
hubaishan
5d0a41b814 [ticket/15297] revert changes to responsive.css and fix by editing bidi.css
Revert changes to responsive.css
Adding class to bidi.css

PHPBB3-15297
2017-07-30 12:14:48 +03:00
hubaishan
ff5c88be77 [ticket/15297] Fix current date broken lines
Because browsers give priority to style in bidi.css
so I sign (!important) to the style in responsive.css

PHPBB3-15297
2017-07-30 07:11:23 +03:00
Marc Alexander
f7d387f93c [ticket/security/211] Add test for line breaks in URL
SECURITY-211
2017-07-27 18:23:43 +02:00
Marc Alexander
0aba1faa08 [ticket/security/211] Do not match javascript URIs with URL regexes
SECURITY-211
2017-07-26 21:14:05 +02:00
Tristan Darricau
aa5a0f62c4 Merge pull request #4879 from marc1706/ticket/15293
[ticket/15293] Prevent continuing to database update on incomplete file update

* github.com:phpbb/phpbb:
  [ticket/15293] Prevent continuing to database update on incomplete file update
2017-07-26 13:09:29 +02:00
Marc Alexander
523a1e7b7c [ticket/15292] Reduce bluriness for forum and topic icons
PHPBB3-15292
2017-07-23 21:29:10 +02:00
Marc Alexander
d84834db88 [ticket/15293] Prevent continuing to database update on incomplete file update
PHPBB3-15293
2017-07-23 21:09:30 +02:00
Marc Alexander
91f9050a70 [ticket/security/211] Extend tests for profile field values
SECURITY-211
2017-07-23 11:18:07 +02:00
Marc Alexander
2749bfe26c [ticket/security/211] Only run make_clickable() on URL type profile fields
SECURITY-211
2017-07-23 10:40:30 +02:00
Marc Alexander
882a3c3831 [ticket/security/211] Make sure website URL only uses http & https schemes
SECURITY-211
2017-07-22 17:38:04 +02:00
JoshyPHP
80d0bf4566 [ticket/15291] Allow short array notation in event declarations
PHPBB3-15291
2017-07-22 08:43:10 +02:00
JoshyPHP
7f45062466 [ticket/15290] Add core.text_formatter_s9e_configure_finalize event
PHPBB3-15290
2017-07-22 08:36:48 +02:00
Marc Alexander
63d85935f5 Merge branch '3.1.x' into 3.2.x 2017-07-20 19:50:14 +02:00
Marc Alexander
fa3bdedf7b Merge pull request #4872 from Nicofuma/ticket/15285
[ticket/15285] Updates .travis.yml to fix builds issues
2017-07-20 19:50:10 +02:00
Tristan Darricau
75d3b7d09c [ticket/15285] Updates .travis.yml to fix builds issues
PHPBB3-15285
2017-07-20 18:45:31 +02:00
Marc Alexander
1d523531b5 Merge branch '3.1.x' into 3.2.x 2017-07-16 20:54:36 +02:00
Marc Alexander
53f186d96b Merge branch 'prep-release-3.2.1' into 3.2.x 2017-07-16 20:53:18 +02:00
Marc Alexander
5216bf4483 [prep-release-3.2.1] Add missing .htaccess file 2017-07-16 20:07:13 +02:00
Marc Alexander
c56ebb5312 Merge branch 'prep-release-3.1.11' into prep-release-3.2.1 2017-07-16 18:24:47 +02:00
Marc Alexander
d490190a99 Merge pull request #4864 from lavigor/ticket/15259
[ticket/15259] Fatal error on SQLite/Oracle database update
2017-07-16 17:33:52 +02:00
Marc Alexander
337c8451e7 Merge pull request #4865 from JoshyPHP/ticket/15261
[ticket/15261] Fix censoring HTML tags
2017-07-16 17:33:34 +02:00
Marc Alexander
4b73342669 [prep-release-3.2.1] Add migration for 3.2.1 2017-07-16 17:12:01 +02:00
Marc Alexander
0e505c6fc7 [prep-release-3.2.1] Update versions for 3.2.1 2017-07-16 17:10:46 +02:00
Marc Alexander
5b21903e66 [ticket/security/210] Fix tests for 3.2.x
SECURITY-210
2017-07-16 17:09:06 +02:00
Marc Alexander
05513b96a4 Merge pull request #39 from phpbb/ticket/security/210-rhea
[ticket/security/210] Prevent using IP addresses or ports for remote avatar -- Rhea
2017-07-16 15:49:32 +02:00
Marc Alexander
34e9b4d066 Merge pull request #35 from phpbb/ticket/security-203-rhea
[ticket/security-203] Fully validate version check data in version helper -- Rhea
2017-07-16 15:29:35 +02:00
Marc Alexander
6f897568da Merge pull request #30 from phpbb/ticket/security-181-rhea
[ticket/security-181] Harden protection of migrations files and other directories
2017-07-16 15:08:40 +02:00
Marc Alexander
65aaef1f83 Merge branch 'prep-release-3.1.11' into 3.1.x 2017-07-16 15:00:22 +02:00
Marc Alexander
1493752536 [prep-release-3.1.11] Add migration for 3.1.11 2017-07-16 12:18:50 +02:00
Marc Alexander
3df3cb87c5 [prep-release-3.1.11] Update version numbers to 3.1.11 2017-07-16 11:54:37 +02:00
Marc Alexander
0b405a2cdc Merge pull request #38 from phpbb/ticket/security/210
[ticket/security/210] Prevent using IP addresses or ports for remote avatar
2017-07-16 11:29:35 +02:00
Marc Alexander
4ed45c4e12 Merge pull request #32 from phpbb/ticket/security-203
[ticket/security-203] Fully validate version check data in version helper
2017-07-16 11:17:36 +02:00
Marc Alexander
c99820eb6b Merge pull request #29 from phpbb/ticket/security-181
[ticket/security-181] Harden protection of migrations files and other directories
2017-07-16 10:59:48 +02:00
Marc Alexander
0ec5e21979 Merge pull request #37 from phpbb/ticket/security/208
[ticket/security/208] Add form key to password reset form
2017-07-16 09:58:46 +02:00
Marc Alexander
c1d835b6b4 Merge pull request #36 from phpbb/ticket/security/124
[ticket/security/124] Filter out disallowed search query items
2017-07-16 08:27:46 +02:00
Marc Alexander
a53c8cee79 [3.2.x] Update version numbers for 3.2.2-dev 2017-07-11 21:27:26 +02:00
Marc Alexander
8e310231bd Merge branch 'prep-release-3.2.1' into 3.2.x 2017-07-11 21:26:12 +02:00
Marc Alexander
05c47a0f4a Merge branch '3.1.x' into 3.2.x 2017-07-11 21:18:42 +02:00
Marc Alexander
50d2e337b0 [3.1.x] Update version number to 3.1.12-dev 2017-07-11 21:15:08 +02:00
Marc Alexander
dff65f902c Merge branch 'prep-release-3.1.11' into 3.1.x 2017-07-11 21:09:12 +02:00
Marc Alexander
e7be47c93d Merge branch 'ticket/security/210' into ticket/security/210-rhea 2017-07-10 21:18:45 +02:00
Marc Alexander
fa631947f1 [ticket/security/210] Adjust regex and add tests for IPv6
SECURITY-210
2017-07-10 21:17:52 +02:00
javiexin
31b93280ee [ticket/15266] Fix events in content_visibility
Additional errors found.  The event parameter 'timestamp' does
not exist, it is really called 'time'.  Affects four events:
core.set_post_visibility_before_sql
core.set_post_visibility_after
core.set_topic_visibility_before_sql
core.set_topic_visibility_after

PHPBB3-15266
2017-07-10 15:11:22 +02:00
javiexin
d69ff96236 [ticket/15266] Fix events in content_visibility
Fixes core.phpbb_content_visibility_get_visibility_sql_before,
core.phpbb_content_visibility_get_forums_visibility_before,
core.phpbb_content_visibility_get_global_visibility_before

Does not modify the events, but fixes some comments, and changes
the rest of the function to allow (at least) the documented
event functionality.

PHPBB3-15266
2017-07-09 23:08:58 +02:00
Marc Alexander
3fc3f55d34 Merge branch 'ticket/security/210' into ticket/security/210-rhea 2017-07-09 16:24:49 +02:00
Marc Alexander
a281d526dc [ticket/security/210] Prevent using IP addresses or ports for remote avatar
SECURITY-210
2017-07-09 15:38:18 +02:00
lavigor
24bde10028 [ticket/15259] Fatal error on SQLite/Oracle database update
Add a test.

PHPBB3-15259
2017-07-06 02:37:35 +03:00
JoshyPHP
329e5c5e05 [ticket/15261] Fix censoring HTML tags
PHPBB3-15261
2017-07-03 16:06:50 +02:00
lavigor
b7ce395fbe [ticket/15259] Fatal error on SQLite/Oracle database update
PHPBB3-15259
2017-07-01 23:01:34 +03:00
v12mike
7f408e4b41 [PHPBB3-15247] Add support for php v7 APCu cache API
Add new cache driver apcu.php (based closely on existing APC cache driver)
Add new unit test apcu_driver_test.php for the new driver
Update RUNNING_TESTS.md to clarify requirements for apc, apcu and apc_bc extensions
and add a couple of general hints to RUNNING_TESTS.md

PHPBB3-15247
2017-06-26 12:43:23 +01:00
Marc Alexander
b99d47ce7e [prep-release-3.2.1] Add changelog since 3.2.0 2017-06-25 22:03:32 +02:00
Marc Alexander
03cd4658d0 [prep-release-3.2.1] Add migration for 3.2.1-RC1 2017-06-25 21:59:14 +02:00
Marc Alexander
d423b2ec0d [prep-release-3.2.1] Update version numbers for 3.2.1-RC1 2017-06-25 21:55:00 +02:00
Marc Alexander
35b7a4fae5 Merge branch 'prep-release-3.1.11' into prep-release-3.2.1 2017-06-25 21:53:12 +02:00
Marc Alexander
a5d83e12ec [prep-release-3.1.11] Update changelog 2017-06-25 21:36:40 +02:00
Marc Alexander
08c146ee34 Merge branch '3.1.x' into prep-release-3.1.11 2017-06-25 21:32:12 +02:00
Marc Alexander
aef138d8bc Merge branch '3.1.x' into 3.2.x 2017-06-25 21:26:43 +02:00
Marc Alexander
dc49a8a199 Merge pull request #4804 from rxu/ticket/15186
[ticket/15186] Fully implement the force_delete_allowed feature
2017-06-25 21:25:54 +02:00
Marc Alexander
d811743303 [prep-release-3.1.11] Update changelog for 3.1.11-RC1 2017-06-25 17:48:07 +02:00
Marc Alexander
65f7137825 [prep-release-3.1.11] Add migration for update to 3.1.11-RC1 2017-06-25 17:45:07 +02:00
Marc Alexander
04ef19595c [prep-release-3.1.11] Update version numbers to 3.1.11-RC1 2017-06-25 17:42:55 +02:00
Marc Alexander
4f81c94a95 Merge branch '3.1.x' into 3.2.x 2017-06-25 17:27:47 +02:00
Marc Alexander
71f9c6ebe5 Merge pull request #4860 from marc1706/ticket/14982
[ticket/14982] Always do a ban check except on contact me form
2017-06-25 17:27:42 +02:00
David Colón
cc556122f3 [ticket/14982] Always do a ban check except on contact me form
PHPBB3-14982
2017-06-25 15:32:49 +02:00
Marc Alexander
68346e7dfb Merge branch '3.1.x' into 3.2.x 2017-06-25 15:12:36 +02:00
Marc Alexander
8938a0ce98 Merge pull request #4852 from javiexin/ticket/15248
[ticket/15248] Make use of event parameters of core.modify_posting_auth
2017-06-25 15:12:32 +02:00
Marc Alexander
937cc1ca14 Merge pull request #4858 from marc1706/ticket/15251
[ticket/15251] Use dispatcher_interface in help manager
2017-06-25 14:13:53 +02:00
Agris
ba5a2bcb73 [ticket/15251] Use dispatcher_interface in help manager
Allow TraceableEventDispatcher for webprofiler

PHPBB3-15251
2017-06-25 12:02:25 +02:00
Marc Alexander
b28dc339f0 Merge branch '3.1.x' into 3.2.x 2017-06-25 11:06:47 +02:00
Marc Alexander
689ebd3bb6 Merge pull request #4855 from dsinn/ticket/15250
[ticket/15250] Add core event to MCP at the end of merge_posts
2017-06-25 11:05:40 +02:00
Marc Alexander
774c79c631 Merge branch '3.1.x' into 3.2.x 2017-06-25 10:32:39 +02:00
Marc Alexander
ea8334b693 Merge pull request #4850 from rxu/ticket/15246
[ticket/15246] Allow use of Unix socket as memcache(d) host
2017-06-25 10:32:35 +02:00
Marc Alexander
e45ba1d279 Merge branch '3.1.x' into 3.2.x 2017-06-25 10:23:53 +02:00
Marc Alexander
868ae09e1b Merge pull request #4843 from rxu/ticket/15238
[ticket/15238] Add console command to fix forums/modules left/right IDs
2017-06-25 10:20:49 +02:00
Marc Alexander
e50e5dbcae Merge pull request #4842 from rxu/ticket/15238-3.1
[ticket/15238] Add console command to fix forums/modules left/right IDs
2017-06-25 10:20:19 +02:00
Marc Alexander
c5501d90a4 Merge pull request #4824 from senky/ticket/15217
[ticket/15217] Add core.user_format_date_override event
2017-06-25 10:10:09 +02:00
Marc Alexander
b59073cf3e Merge pull request #4794 from lr94/ticket/15176
[ticket/15176] Add setting for user activity display limit.
2017-06-24 21:42:39 +02:00
Marc Alexander
909976f076 Merge pull request #4856 from rxu/ticket/15252
[ticket/15252] Fix editing a topic with poll by user not permitted to edit poll
2017-06-24 21:31:39 +02:00
rxu
14cea02412 [ticket/15252] Fix editing a topic with poll by user not permitted to edit poll
Basically, decoding the original poll title and options text was missing.

PHPBB3-15252
2017-06-21 22:22:47 +07:00
Daniel Sinn
127f5a3ffa [ticket/15250] Add core event to MCP at the end of merge_posts
PHPBB3-15250
2017-06-20 17:56:48 -04:00
rxu
f3403fb10d [ticket/15238] Add missing protected keyword
PHPBB3-15238
2017-06-20 21:07:11 +07:00
rxu
9402339af9 [ticket/15238] Add missing protected keyword
PHPBB3-15238
2017-06-20 21:06:01 +07:00
javiexin
ca5243810f [ticket/15248] Make use of event parameters of core.modify_posting_auth
Fixes is_authed and error not behaving as expected by extensions.

PHPBB-15248
2017-06-19 23:29:54 +02:00
rxu
840cb510e4 [ticket/15238] More code cleanup
PHPBB3-15238
2017-06-18 23:15:05 +07:00
rxu
c1fa252fc1 [ticket/15238] Code cleanup, add docblocks
PHPBB3-15238
2017-06-18 23:14:09 +07:00
rxu
fd822ade20 [ticket/15238] Add console command to fix forums/modules left/right IDs
PHPBB3-15238
2017-06-18 23:14:09 +07:00
rxu
7f08d46aa4 [ticket/15238] More code cleanup
PHPBB3-15238
2017-06-18 23:11:44 +07:00
rxu
b0ed1f2388 [ticket/15238] Code cleanup, add docblocks
PHPBB3-15238
2017-06-18 23:11:27 +07:00
rxu
8a8d435ed4 [ticket/15238] Add console command to fix forums/modules left/right IDs
PHPBB3-15238
2017-06-18 23:11:12 +07:00
Marc Alexander
41df4d3c4c [ticket/security/208] Add form key to password reset form
SECURITY-208
2017-06-18 17:39:16 +02:00
Marc Alexander
4303ae9ae6 [ticket/security/124] Filter out disallowed search query items
SECURITY-124
2017-06-18 12:15:46 +02:00
rxu
c255e1fae8 [ticket/15246] Allow use of Unix socket as memcache(d) host
PHPBB3-15246
2017-06-17 15:42:08 +07:00
Marc Alexander
7301748a3a Merge branch '3.1.x' into 3.2.x 2017-06-16 20:18:50 +02:00
Marc Alexander
1c4f49249f Merge pull request #4845 from javiexin/ticket/15241
[ticket/15241] Add ACP template event acp_profile_contact_last
2017-06-16 20:18:46 +02:00
Marc Alexander
c555bd78df Merge pull request #4849 from rubencm/ticket/15243
[ticket/15243] Check permissions before installing with SQLite
2017-06-16 19:49:08 +02:00
Rubén Calvo
e6bdba7da1 [ticket/15243] Check permissions before installing with SQLite
PHPBB3-15243
2017-06-15 16:56:19 +02:00
Marc Alexander
eafbaf4c30 Merge branch '3.1.x' into 3.2.x 2017-06-11 16:45:02 +02:00
Marc Alexander
c830af48bd Merge pull request #4799 from marc1706/ticket/15179
[ticket/15179] Update dependencies and fix compatibility with newer twig
2017-06-11 16:44:15 +02:00
Marc Alexander
65c6bae91d Merge pull request #4797 from marc1706/ticket/15178
[ticket/15178] Update dependencies for 3.1.x
2017-06-11 16:43:25 +02:00
Tristan Darricau
474cbe0574 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2017-06-06 09:33:36 +02:00
Tristan Darricau
1571c76ccd Merge pull request #4826 from marc1706/ticket/15219-rhea
[ticket/15219] Update hashes to bcrypt with cron -- Rhea

* github.com:phpbb/phpbb:
  [ticket/15219] Add console command for updating hashes to bcrypt
  [ticket/15219] Add missing space
  [ticket/15219] Update hashes to bcrypt with cron
2017-06-06 09:33:22 +02:00
Tristan Darricau
2a49420124 Merge pull request #4825 from marc1706/ticket/15219
[ticket/15219] Update hashes to bcrypt with cron

* github.com:phpbb/phpbb:
  [ticket/15219] Add console command for updating hashes to bcrypt
  [ticket/15219] Add missing space
  [ticket/15219] Update hashes to bcrypt with cron
2017-06-06 09:32:45 +02:00
javiexin
ecdc05a13e [ticket/15241] Add ACP template event acp_profile_contact_last
Event to place code in Profile Field configuration screen,
as additional information for Contact Profile Fields.

PHPBB-15241
2017-06-05 15:14:42 +02:00
Jakub Senko
27b2d91713 [ticket/15217] Add core.user_format_date_override event
PHPBB3-15217
2017-06-05 13:02:05 +02:00
Marc Alexander
34fb146ab5 Merge branch '3.1.x' into 3.2.x 2017-06-05 11:57:18 +02:00
Marc Alexander
05a8baffdb Merge pull request #4840 from rmcgirr83/ticket_15237
[ticket/15237] Fix unguarded includes to functions_user
2017-06-05 11:56:22 +02:00
Marc Alexander
4177edf33a Merge pull request #4833 from javiexin/ticket/15227
[ticket/15227] Check PHP version and remove old unused code
2017-06-05 11:53:02 +02:00
Marc Alexander
192d3932f6 Merge branch '3.1.x' into 3.2.x 2017-06-05 11:43:53 +02:00
Marc Alexander
3f6119c42b Merge pull request #4818 from rxu/ticket/15205
[ticket/15205] Add template events prepending/appending subforum link
2017-06-05 11:22:13 +02:00
Marc Alexander
98415c43cf Merge branch '3.1.x' into 3.2.x 2017-06-05 11:19:07 +02:00
Marc Alexander
f0dbfc56d5 Merge pull request #4812 from rxu/ticket/15200-3.1.x
[ticket/15200] Allow extensions using custom templates for help/faq controllers
2017-06-05 11:18:27 +02:00
Marc Alexander
fd5a013f06 Merge pull request #4811 from rxu/ticket/15200
[ticket/15200] Allow extensions using custom templates for help/faq controllers
2017-06-05 11:16:32 +02:00
Marc Alexander
be76d582dc Merge branch '3.1.x' into 3.2.x 2017-06-05 11:13:39 +02:00
Marc Alexander
acf9cdba01 Merge pull request #4810 from rxu/ticket/15199
[ticket/15199] Add core event to the messenger send() function
2017-06-05 11:13:35 +02:00
Marc Alexander
346c784bf3 Merge branch '3.1.x' into 3.2.x 2017-06-05 11:02:30 +02:00
Marc Alexander
a6939fcb8e Merge pull request #4784 from rubencm/ticket/15150
[ticket/15150] Add Jabber SSL context configuration options
2017-06-05 11:00:38 +02:00
Marc Alexander
a282eb1328 Merge branch '3.1.x' into 3.2.x 2017-06-05 10:54:41 +02:00
Marc Alexander
fb29d79bc1 Merge pull request #4782 from nomind60s/ticket/14498
[ticket/14498] Don't display 'Who is online' members when permission is No
2017-06-05 10:54:31 +02:00
Marc Alexander
e10d563fc9 Merge branch '3.1.x' into 3.2.x 2017-06-03 11:43:09 +02:00
Marc Alexander
b357f78546 Merge pull request #4747 from ErnadoO/ticket/15132
[ticket/15132] Add variable to the 'core.mcp_main_modify_shadow_sql' event
2017-06-03 11:43:06 +02:00
Marc Alexander
4d4dbd52f7 Merge branch '3.1.x' into 3.2.x 2017-06-03 11:37:06 +02:00
Marc Alexander
58bd7a90a9 Merge pull request #4746 from ErnadoO/ticket/15131
[ticket/15131] Add variable to the 'core.mcp_main_modify_fork_sql' event
2017-06-03 11:37:02 +02:00
Marc Alexander
77d73678a1 Merge branch 'ticket/15219' into ticket/15219-rhea 2017-06-03 11:13:03 +02:00
Marc Alexander
170613848a [ticket/15219] Add console command for updating hashes to bcrypt
PHPBB3-15219
2017-06-03 11:07:34 +02:00
Marc Alexander
e2c0356f34 [ticket/15179] Replace spaces with a tab
PHPBB3-15179
2017-06-03 10:01:28 +02:00
Erwan Nader
0914123391 [ticket/15132] Add variable to the 'core.mcp_main_modify_shadow_sql' event
PHPBB3-15132
2017-05-31 21:21:04 +02:00
Erwan Nader
e754a51acc [ticket/15131] Add variables to the 'core.mcp_main_modify_fork_sql' event
PHPBB3-15131
2017-05-31 21:04:22 +02:00
Marc Alexander
a079c5fed0 Merge branch 'ticket/15178' into ticket/15179 2017-05-31 20:20:43 +02:00
Marc Alexander
e3ec1440ef [ticket/15178] Run update again
PHPBB3-15178
2017-05-31 20:06:33 +02:00
Marc Alexander
f63f9693d8 Merge branch '3.1.x' into 3.2.x 2017-05-30 19:09:21 +02:00
Marc Alexander
635f73bc06 Merge pull request #4690 from javiexin/ticket/15081
[ticket/15081] Add acp_ext_details_notice template event
2017-05-30 19:05:44 +02:00
Marc Alexander
7dc288cb89 Merge remote-tracking branch 'javiexin/ticket/15068' into 3.2.x 2017-05-29 12:13:41 +02:00
Marc Alexander
8fcdf1747c Merge pull request #4841 from DavidIQ/ticket/14992
[ticket/14992] Add temp index migration for removing duplicates
2017-05-25 21:50:13 +02:00
David Colón
9029a925aa [ticket/14992] Add temp index migration for removing duplicates 2017-05-25 14:42:45 -04:00
Marc Alexander
deb9240546 Merge pull request #4701 from DavidIQ/ticket/14992
[ticket/14992] Improve user_notifications table performance
2017-05-25 19:36:26 +02:00
David Colón
a6317dc52d [ticket/14992] Reduce notification table col sizes 2017-05-25 09:40:58 -04:00
Marc Alexander
de4b2eb620 Merge branch '3.1.x' into 3.2.x 2017-05-25 08:52:45 +02:00
Marc Alexander
3f58b5f9ab Merge pull request #4717 from rmcgirr83/ticket/15107
[ticket/15107] Add message_parser to event
2017-05-25 08:52:41 +02:00
David Colón
4c67f65d5d [ticket/14992] 'method' is needed for the unique index 2017-05-24 16:56:24 -04:00
RMcGirr83
7a3e55bdb3 [ticket/15237] Fix unguarded includes to functions_user
https://tracker.phpbb.com/browse/PHPBB3-15237

PHPBB3-15237
2017-05-24 12:58:25 -04:00
David Colón
c2711fb6c4 [ticket/14992] Remove temp index migration 2017-05-23 14:01:30 -04:00
Marc Alexander
f3c782b358 [ticket/14992] Make unit tests run more verbose
PHPBB3-14992
2017-05-21 22:19:44 +02:00
javiexin
37c48a59c3 Merge branch 'ticket/15068' of https://github.com/javiexin/phpbb into ticket/15068 2017-05-21 18:25:57 +02:00
javiexin
60d6667eb4 [ticket/15068] Add template vars retrieval from the template object
Added tests.

PHPBB3-15068
2017-05-21 18:18:59 +02:00
javiexin
bee363f072 [ticket/15227] Remove function deregister_globals, not needed
PHPBB3-15227
2017-05-21 16:57:01 +02:00
Marc Alexander
37e30ad83e Merge pull request #4822 from Louis7777/ticket/15212
[ticket/15212] Fix code box double horizontal scrollbars
2017-05-21 16:38:21 +02:00
Marc Alexander
6a69c6a006 Merge pull request #4834 from senky/ticket/15056
[ticket/15056] Update subforum icons with Mark forums read
2017-05-21 16:33:02 +02:00
Marc Alexander
bcc85ab679 [ticket/14992] Correctly remove table name and prefix from keys
PHPBB3-14992
2017-05-21 16:01:27 +02:00
Marc Alexander
15e80cebe8 Merge branch '3.1.x' into 3.2.x 2017-05-21 14:20:08 +02:00
Marc Alexander
03c30d4bc6 Merge pull request #4838 from marc1706/ticket/15020
[ticket/15020] Add Event for mcp_topic_postrow_post_subject
2017-05-21 14:20:03 +02:00
Marc Alexander
11f968e774 [ticket/14992] Shorten index name for user_id and item_id
PHPBB3-14992
2017-05-21 14:18:10 +02:00
Daniel Mota
1a1def5339 [ticket/15020] Add Event for mcp_topic_postrow_post_subject
Add 2 events:
mcp_topic_postrow_post_subject_before
mcp_topic_postrow_post_subject_after

PHPBB3-15020
2017-05-21 13:04:47 +02:00
javiexin
1d5f5ccffc [ticket/15227] Remove STRIP, as always false
PHPBB3-15227
2017-05-21 12:58:05 +02:00
Marc Alexander
ff3f52db6d Merge branch '3.1.x' into 3.2.x 2017-05-21 12:49:19 +02:00
Marc Alexander
fbc8a4a275 Merge pull request #4837 from marc1706/ticket/14996
[ticket/14996] Add Event for search_results_topic_title_after
2017-05-21 12:49:15 +02:00
Daniel Mota
b63b83a920 [ticket/14996] Add Event for search_results_topic_title_after
PHPBB3-14996
2017-05-21 12:15:43 +02:00
Jakub Senko
06a9629497 [ticket/15056] Update subforum icons with Mark forums read
PHPBB3-15056
2017-05-16 17:55:28 +02:00
javiexin
c2c5c20c31 [ticket/15227] Check PHP version and remove old unused code
PHPBB3-15227
2017-05-12 23:04:54 +02:00
Tristan Darricau
0984dbb3f8 Merge pull request #4832 from marc1706/ticket/15226
[ticket/15226] Add index for latest topics to topics table

* github.com:phpbb/phpbb:
  [ticket/15226] Add index for latest topics to topics table
2017-05-12 17:27:01 +02:00
Tristan Darricau
60d1e49e43 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15226] Add index for latest topics to topics table
2017-05-12 17:27:01 +02:00
Marc Alexander
18b29ca074 [ticket/15226] Add index for latest topics to topics table
PHPBB3-15226
2017-05-11 18:30:51 +02:00
Tristan Darricau
3fd197f37a Merge pull request #4828 from hubaishan/ticket/15221
[ticket/15221] add missing commas

* github.com:phpbb/phpbb:
  [ticket/15221] add missing commas
2017-05-08 14:56:01 +02:00
Tristan Darricau
07d3ae7dac Merge pull request #4829 from rxu/ticket/15222
[ticket/15222] Fix a typo in generate_text_for_display_test.php

* github.com:phpbb/phpbb:
  [ticket/15222] Fix a typo in generate_text_for_display_test.php
2017-05-08 14:51:47 +02:00
rxu
9a5714071e [ticket/15222] Fix a typo in generate_text_for_display_test.php
PHPBB3-15222
2017-05-08 17:29:24 +07:00
hubaishan
2d8985e4a4 [ticket/15221] add missing commas
in language/en/install.php

PHPBB3-15221
2017-05-07 16:28:00 +03:00
Marc Alexander
8fd78e607d Merge branch 'ticket/15219' into ticket/15219-rhea 2017-05-05 21:26:07 -04:00
Marc Alexander
7034986427 [ticket/15219] Add missing space
PHPBB3-15219
2017-05-05 21:25:29 -04:00
Marc Alexander
710a943b00 Merge branch 'ticket/15219' into ticket/15219-rhea 2017-05-05 21:08:13 -04:00
Marc Alexander
18fe3b2833 [ticket/15219] Update hashes to bcrypt with cron
PHPBB3-15219
2017-05-05 20:52:21 -04:00
Louis7777
0c79cdcb31 [ticket/15212] Fix code box double horizontal scrollbars
The code box has two overflow properties set,
one on the code element and one on the parent div container,
causing double horizontal scrollbars.

PHPBB3-15212
2017-05-04 20:04:11 +03:00
Louis7777
cc40d64e24 [ticket/15212] Fix code box double horizontal scrollbars
The code box has two overflow properties set,
one on the code element and one on the parent div container,
causing double horizontal scrollbars.

PHPBB3-15212
2017-05-03 04:04:27 +03:00
Louis7777
3e971bd1f8 [ticket/15212] Fix code box double horizontal scrollbars
The code box has two overflow properties set,
one on the code element and one on the parent div container,
causing double horizontal scrollbars.

PHPBB3-15212
2017-05-03 04:00:33 +03:00
Louis7777
234a6f1256 Update content.css 2017-05-03 03:30:16 +03:00
Louis7777
fd423d5a7a [ticket/15212] Fix code box double horizontal scrollbars
The code box has two overflow properties set,
one on the code element and one on the parent div container,
causing double horizontal scrollbars.

PHPBB3-15212
2017-05-03 02:58:05 +03:00
Marc Alexander
877760ef98 Merge branch '3.1.x' into 3.2.x 2017-05-02 13:16:36 -04:00
Marc Alexander
ca9e3eb528 Merge pull request #4815 from kasimi/ticket/15187
[ticket/15187] Add paths of newly enabled extensions to template
2017-05-02 13:16:32 -04:00
rxu
e84459ba67 [ticket/15205] Add template events prepending/appending subforum link
PHPBB3-15205
2017-05-01 18:49:56 +07:00
Marc Alexander
521760aeb7 Merge pull request #4816 from javiexin/ticket/15202
[ticket/15202] To disable, an extension must be enabled
2017-04-30 20:36:12 -04:00
kasimi
5808c9fae1 [ticket/15187] Use $this->template property 2017-04-29 13:45:20 +02:00
kasimi
bc404a3701 [ticket/15187] Add ACP style after enabling an extension 2017-04-29 11:01:55 +02:00
javiexin
1e8f467964 [ticket/15202] To disable, an extension must be enabled
PHPBB3-15202
2017-04-28 23:47:51 +02:00
kasimi
0082dd8039 [ticket/15187] Reverted commits e6b7def & 90a80b7
PHPBB3-15187
2017-04-28 22:20:24 +02:00
kasimi
90a80b7b31 [ticket/15187] Fail gracefully if template service is unavailable 2017-04-28 16:58:08 +02:00
kasimi
e6b7defd38 [ticket/15187] Add paths of newly enabled extensions to template
When enabling an extension its paths aren't added immediately to
the template which results in ACP events not being registered in
the compiled template files.

PHPBB3-15187
2017-04-28 16:32:11 +02:00
Tristan Darricau
64f33e7a94 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2017-04-28 11:30:15 +02:00
Tristan Darricau
7254980753 Merge pull request #4657 from marc1706/ticket/7336
[ticket/7336] Index first post when splitting topics

* github.com:phpbb/phpbb:
  [ticket/7336] Index first post when splitting topics
  [ticket/7336] Add tests for indexing first post after splitting topics
2017-04-28 11:30:14 +02:00
rxu
3114e5399c [ticket/15200] Allow extensions using custom templates for help/faq controllers
PHPBB3-15200
2017-04-27 21:14:43 +07:00
Marc Alexander
476e51f7db Merge pull request #4813 from marc1706/ticket/13603
[ticket/13603] Add missing event to events.md
2017-04-27 10:04:10 -04:00
Marc Alexander
bcfbae567f [ticket/13603] Add missing event to events.md
PHPBB3-13603
2017-04-27 09:46:27 -04:00
Marc Alexander
abbb782820 Merge pull request #4710 from nomind60s/ticket/15086
[ticket/15086] Replace quote.gif with Font Awesome icon
2017-04-27 09:34:16 -04:00
rxu
33a62648d1 [ticket/15200] Allow extensions using custom templates for help/faq controllers
PHPBB3-15200
2017-04-27 16:22:03 +07:00
rxu
f5d49b61bb [ticket/15199] Add core event to the messenger send() function
PHPBB3-15199
2017-04-27 15:06:34 +07:00
Marc Alexander
8179e56b02 Merge branch '3.1.x' into 3.2.x 2017-04-26 19:58:29 -04:00
Marc Alexander
e53343857a Merge pull request #4674 from senky/ticket/13730
[ticket/13730] Add core.delete_post_end event
2017-04-26 19:57:35 -04:00
Marc Alexander
38d8787854 Merge branch '3.1.x' into 3.2.x 2017-04-26 19:53:34 -04:00
Marc Alexander
994c1d79b1 Merge pull request #4672 from senky/ticket/13603
[ticket/13603] Add index_body_stat_blocks_after event
2017-04-26 19:52:35 -04:00
Marc Alexander
5cafff36b2 Merge branch '3.1.x' into 3.2.x 2017-04-26 19:30:50 -04:00
Marc Alexander
4c58dfc19a Merge pull request #4671 from senky/ticket/13605
[ticket/13605] Add core.ucp_pm_compose_predefined_message event
2017-04-26 19:30:47 -04:00
Marc Alexander
a116762974 Merge pull request #4809 from VSEphpbb/ticket/15198
[ticket/15198] Add PHP version to board stats in the ACP
2017-04-26 19:08:27 -04:00
Matt Friedman
95f61af798 [ticket/15198] Add PHP version to board stats in the ACP
PHPBB3-15198
2017-04-26 09:40:15 -07:00
Tristan Darricau
6922593660 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2017-04-21 23:54:53 +02:00
Tristan Darricau
afe2664c56 Merge pull request #4802 from marc1706/ticket/8116-rhea
[ticket/8116] Add pagination for IP tables and post info -- Rhea version

* github.com:phpbb/phpbb:
  [ticket/8116] Add missing new line
  [ticket/8116] Correctly get other users who posted under IP
  [ticket/8116] Improve code and add tests for helper functions
  [ticket/8116] Add pagination for IP tables on post info
2017-04-21 23:54:41 +02:00
Tristan Darricau
a233f98bbf Merge pull request #4780 from marc1706/ticket/8116
[ticket/8116] Add pagination for IP tables and post info

* github.com:phpbb/phpbb:
  [ticket/8116] Add missing new line
  [ticket/8116] Correctly get other users who posted under IP
  [ticket/8116] Improve code and add tests for helper functions
  [ticket/8116] Add pagination for IP tables on post info
2017-04-21 23:54:18 +02:00
Tristan Darricau
f40d4e03a3 Merge pull request #4806 from javiexin/ticket/15011v32
[ticket/15011] Use exception interface for 3.2

* github.com:phpbb/phpbb:
  [ticket/15011] Use exception interface for 3.2
2017-04-21 23:51:41 +02:00
javiexin
6a61e73e00 [ticket/15011] Use exception interface for 3.2
Update the mentioned ticket to 3.2 by using exception_inteface
instead of the actual exception class.
Also, use adm_back_link consistently.

PHPBB3-15011
2017-04-21 21:28:29 +02:00
Tristan Darricau
ad5fcd5356 Merge pull request #4805 from rmcgirr83/ticket-15144
[ticket/15144] Attachment icon display should only occur

* github.com:phpbb/phpbb:
  [ticket/15144] Attachment icon display should only occur
2017-04-20 12:55:13 +02:00
Richard McGirr
ca3b715fdc [ticket/15144] Attachment icon display should only occur
if there are attachments in reports

https://tracker.phpbb.com/browse/PHPBB3-15144

PHPBB3-15144
2017-04-20 06:04:27 -04:00
Marc Alexander
b1439a4601 Merge branch 'ticket/8116' into ticket/8116-rhea 2017-04-19 23:43:41 +02:00
Marc Alexander
e72f6d4236 [ticket/8116] Add missing new line
PHPBB3-8116
2017-04-19 23:35:44 +02:00
Tristan Darricau
ff22d54eae Merge pull request #4670 from senky/ticket/13608
[ticket/13608] Add core.ucp_restore_permissions event

* github.com:phpbb/phpbb:
  [ticket/13608] Add core.ucp_restore_permissions event
2017-04-19 23:08:15 +02:00
Tristan Darricau
109aaff534 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13608] Add core.ucp_restore_permissions event
2017-04-19 23:08:15 +02:00
Tristan Darricau
5bd497ae54 Merge pull request #4669 from senky/ticket/13609
[ticket/13609] Add core.ucp_switch_permissions event

* github.com:phpbb/phpbb:
  [ticket/13609] Add core.ucp_switch_permissions event
2017-04-19 23:04:11 +02:00
Tristan Darricau
40e4a6ea87 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13609] Add core.ucp_switch_permissions event
2017-04-19 23:04:11 +02:00
Tristan Darricau
c61e43cc91 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/7336] Index first post when splitting topics
  [ticket/7336] Add tests for indexing first post after splitting topics
2017-04-19 23:01:35 +02:00
Tristan Darricau
a8d28d6bc8 Merge pull request #4657 from marc1706/ticket/7336
[ticket/7336] Index first post when splitting topics

* github.com:phpbb/phpbb:
  [ticket/7336] Index first post when splitting topics
  [ticket/7336] Add tests for indexing first post after splitting topics
2017-04-19 23:00:37 +02:00
Tristan Darricau
3661398a78 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15146] Date profile field validation incorrect
2017-04-19 22:52:56 +02:00
Tristan Darricau
8ae7d2495c Merge pull request #4763 from javiexin/ticket/15146
[ticket/15146] Date profile field validation incorrect

* github.com:phpbb/phpbb:
  [ticket/15146] Date profile field validation incorrect
2017-04-19 22:52:55 +02:00
Tristan Darricau
fc39aa8d71 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13735] Fix input type number for Firefox in prosilver
2017-04-19 22:20:15 +02:00
Tristan Darricau
8d8886e7ba Merge pull request #4798 from javiexin/ticket/13735
[ticket/13735] Fix input type number for Firefox in prosilver

* github.com:phpbb/phpbb:
  [ticket/13735] Fix input type number for Firefox in prosilver
2017-04-19 22:20:14 +02:00
Tristan Darricau
7cc2f8aa43 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15151] Use redirected link for consistency
  [ticket/15151] ACP Cookie settings explanatory text
  [ticket/15151] ACP Cookie settings add explanatory text where it was missing
2017-04-19 17:08:16 +02:00
Tristan Darricau
d550f925ab Merge pull request #4781 from nomind60s/ticket/15151
[ticket/15151] ACP Cookie settings add explanatory text

* github.com:phpbb/phpbb:
  [ticket/15151] Use redirected link for consistency
  [ticket/15151] ACP Cookie settings explanatory text
  [ticket/15151] ACP Cookie settings add explanatory text where it was missing
2017-04-19 17:05:47 +02:00
rxu
f178c06b4f [ticket/15186] Fully implement the force_delete_allowed feature
PHPBB3-15186
2017-04-19 21:33:22 +07:00
nomind60s
d0486964ce [ticket/15151] Use redirected link for consistency
Other phpbb.com links used in the core use a redirect rather than a direct link
so change to make the Cookie settings link a redirect also.

PHPBB3-15151
2017-04-19 06:34:16 -06:00
Tristan Darricau
7a4d6209fd Merge pull request #4786 from vinny/ticket/15158
[ticket/15158] Update oauth to v0.8.10

* github.com:phpbb/phpbb:
  [ticket/15158] Update oauth to v0.8.10
2017-04-18 23:53:43 +02:00
Tristan Darricau
f2659962d3 Merge pull request #4792 from Louis7777/ticket/15173
[ticket/15173] Fix message area resizing lag

* github.com:phpbb/phpbb:
  [ticket/15173] Fix message area resizing lag
2017-04-18 23:45:25 +02:00
Tristan Darricau
f4bc0020ca Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15174] Split timeout message to extra method and set timeout to 60s
  [ticket/15174] Increase timeout for loading indicator
2017-04-18 23:42:28 +02:00
Tristan Darricau
67995e1e09 Merge pull request #4796 from marc1706/ticket/15174
[ticket/15174] Increase timeout for loading indicator

* github.com:phpbb/phpbb:
  [ticket/15174] Split timeout message to extra method and set timeout to 60s
  [ticket/15174] Increase timeout for loading indicator
2017-04-18 23:41:34 +02:00
Tristan Darricau
e0ae49d8a5 Merge pull request #4788 from JoshyPHP/ticket/15163
fixes #4788

* ticket/15163:
  [ticket/15163] Escape curly braces in smilies HTML attributes
2017-04-18 23:36:04 +02:00
JoshyPHP
ddcd0f2437 [ticket/15163] Escape curly braces in smilies HTML attributes
PHPBB3-15163
2017-04-18 23:33:35 +02:00
Tristan Darricau
d4f0c79b56 Merge pull request #4692 from rubencm/ticket/15084
[ticket/15084] Fix wrong order of breadcrumbs in module management

* github.com:phpbb/phpbb:
  [ticket/15084] fix wrong order of breadcrumbs on module management
2017-04-18 23:25:20 +02:00
Tristan Darricau
bd220f233a Merge pull request #4693 from marc1706/ticket/15079
[ticket/15079] Parse message before inserting it into drafts table

* github.com:phpbb/phpbb:
  [ticket/15079] Parse message before inserting it into drafts table
2017-04-18 23:19:54 +02:00
Tristan Darricau
4cbf619fd5 Merge pull request #4705 from nomind60s/ticket/15097
[ticket/15097] Add PHP version to Board statistics

* github.com:phpbb/phpbb:
  [ticket/15097] New 'Installed software' lead section
  [ticket/15097] Resolve travis-ci error
  [ticket/15097] Resolve travis-ci error
  [ticket/15097] Add PHP version to Board statistics
  [ticket/15097] Add PHP version to Board statistics
2017-04-18 23:14:56 +02:00
Tristan Darricau
2b233452c7 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15108] Remove duplicate code in request->context
2017-04-18 23:10:28 +02:00
Tristan Darricau
2d33b6adc6 Merge pull request #4718 from javiexin/ticket/15108
[ticket/15108] Remove duplicate code in request->overwrite

* github.com:phpbb/phpbb:
  [ticket/15108] Remove duplicate code in request->context
2017-04-18 23:10:13 +02:00
Tristan Darricau
42fbf9d815 Merge pull request #4768 from marc1706/ticket/15103
[ticket/15103] Update fast-image-size to 1.1.3

* github.com:phpbb/phpbb:
  [ticket/15103] Update fast-image-size to 1.1.3
2017-04-18 23:07:25 +02:00
Marc Alexander
623058b08c Merge pull request #4800 from Nicofuma/ticket/15180
[ticket/15180] Adjust \phpbb\di\extension\core::TWIG_OPTIONS_POSITION
2017-04-18 21:46:44 +02:00
Marc Alexander
0dfe3da9bb Merge branch 'ticket/15125' into 3.2.x 2017-04-18 20:38:22 +02:00
Rishabh04-02
72f7f6eff9 [ticket/15125] Remove the function play_qt_file in forum_fn.js
PHPBB3-15125
2017-04-18 20:38:02 +02:00
Marc Alexander
771be9310d [ticket/8116] Correctly get other users who posted under IP
PHPBB3-8116
2017-04-18 19:33:05 +02:00
Tristan Darricau
e0d13da5f4 [ticket/15180] Adjust \phpbb\di\extension\core::TWIG_OPTIONS_POSITION
PHPBB3-15180
2017-04-17 23:06:25 +02:00
javiexin
3c8bdc8fb4 [ticket/13735] Fix input type number for Firefox in prosilver
PHPBB3-13735
2017-04-17 20:04:06 +02:00
Marc Alexander
3dd1f9e707 [ticket/15178] Update dependencies for 3.1.x
PHPBB3-15178
2017-04-17 12:40:09 +02:00
Marc Alexander
2c66867126 Merge pull request #4771 from Crizz0/ticket/15152
[ticket/15152] Updates Font Awesome Icons to version 4.7.0
2017-04-17 12:02:17 +02:00
Marc Alexander
4946c05937 Merge branch '3.1.x' into 3.2.x 2017-04-17 11:50:55 +02:00
Marc Alexander
8303058ac6 Merge pull request #4689 from javiexin/ticket/15080
[ticket/15080] Save unneeded file loads for extension metadata
2017-04-17 10:19:19 +02:00
Marc Alexander
f645865333 [ticket/15174] Split timeout message to extra method and set timeout to 60s
PHPBB3-15174
2017-04-17 09:59:22 +02:00
Rubén Calvo
4efcfc2477 [ticket/15150] Remove php4 constructor
PHPBB-15150
2017-04-17 03:08:00 +02:00
Marc Alexander
8a624c4dcc [ticket/15174] Increase timeout for loading indicator
The timeout is rather low with 15 seconds until reporting
a timed out request. 25 seconds will be compatible with almost
any setup. A lot more changes would be needed to do proper
timeout checks on slow requests like purging the board cache.

PHPBB3-15174
2017-04-16 21:50:17 +02:00
Marc Alexander
515d3b7cd1 Merge pull request #4633 from rxu/ticket/14990
[ticket/14990] Add core events to the Twig environment
2017-04-16 19:41:14 +02:00
rxu
fcc8e155ec [ticket/14990] Move dispatcher object to the front of the options array
PHPBB3-14990
2017-04-16 23:40:16 +07:00
rxu
1ea114ca20 [ticket/14990] Fix event name, email parsing, installer and dispatcher calls
PHPBB3-14990
2017-04-16 22:43:50 +07:00
rxu
633bbc9c6d [ticket/14990] Add core events to the Twig environment
PHPBB3-14990
2017-04-16 22:43:49 +07:00
Marc Alexander
c5126af1df Merge pull request #4795 from marc1706/ticket/14938
[ticket/14938] Add missing language class to extension manager mock
2017-04-16 17:35:43 +02:00
Marc Alexander
f39e5424f1 [ticket/14938] Add missing language class to extension manager mock
PHPBB3-14938
2017-04-16 16:36:13 +02:00
lr94
aa37e9b7fc [ticket/15176] Add setting for user activity display limit.
Up to phpBB 3.2 the maximum number of posts a user must have to have his
activity shown is 5000. This limit is hardcoded in functions_display.php.
It would be useful if board administrators could choose to disable the
limit or to set an higher value.

PHPBB3-15176
2017-04-16 16:28:38 +02:00
Marc Alexander
1b63292cc3 Merge branch '3.1.x' into 3.2.x 2017-04-16 15:14:04 +02:00
Marc Alexander
1cbc6dedab Merge pull request #4592 from javiexin/ticket/14938
[ticket/14938] Inconsistency in ext_mgr all_available vs is_available
2017-04-16 15:07:24 +02:00
Marc Alexander
9d35258532 Merge branch '3.1.x' into 3.2.x 2017-04-16 11:42:31 +02:00
Marc Alexander
d44d1f115f Merge pull request #4698 from javiexin/ticket/15087
[ticket/15087] Optimize creation of metadata objects by caching
2017-04-16 11:15:45 +02:00
Tristan Darricau
3bddf02799 Merge pull request #4793 from marc1706/ticket/15090
[ticket/15090] Ensure send stats module exists before removing

* github.com:phpbb/phpbb:
  [ticket/15090] Ensure send stats module exists before removing
2017-04-16 10:21:14 +02:00
Marc Alexander
82e1b8fd72 Merge pull request #4581 from javiexin/ticket/14919
[ticket/14919] Do not directly use globals in acp_extensions
2017-04-16 09:49:21 +02:00
Marc Alexander
269150ed40 Merge pull request #4612 from javiexin/ticket/14950
[ticket/14950] Add possibility to delete a template block
2017-04-15 18:18:32 +02:00
Marc Alexander
e7dfdbffb5 [ticket/15090] Ensure send stats module exists before removing
PHPBB3-15090
2017-04-15 12:06:03 +02:00
Louis7777
6d1de15748 [ticket/15173] Fix message area resizing lag
Resizing the posting editor's text area lags,
because there is an all-inclusive CSS transition.
This fix excludes the height property from having a noticeable transition.

PHPBB3-15173
2017-04-14 15:10:48 +03:00
Marc Alexander
24f9a41654 Merge branch '3.1.x' into 3.2.x 2017-04-11 21:27:38 +02:00
Marc Alexander
675b98c89f Merge pull request #4790 from VSEphpbb/ticket/15142-merge32x
[ticket/15142] merge32x
2017-04-11 21:27:19 +02:00
Marc Alexander
f9a596c544 Merge pull request #4761 from VSEphpbb/ticket/15142
[ticket/15142] Check extension updates on current branch
2017-04-11 21:26:52 +02:00
Matt Friedman
6ce5ef53cb [ticket/15142] Merge branch 'ticket/15142' into 32x
PHPBB3-15142
2017-04-10 15:51:22 -07:00
Marc Alexander
a26e8a1aa4 Merge branch '3.1.x' into 3.2.x 2017-04-09 14:10:49 +02:00
Marc Alexander
3bf133c96c Merge pull request #4778 from marc1706/ticket/15139
[ticket/15139] Assigned 'topics_per_page' before template included
2017-04-09 14:09:07 +02:00
Rubén Calvo
d0540eea52 [ticket/15150] Remove empty space
PHPBB3-15150
2017-04-04 14:28:03 +02:00
Rubén Calvo
601ffba0cf [ticket/15150] Use php5 constructor
PHPBB3-15150
2017-04-04 14:25:57 +02:00
Rubén Calvo
eadd5851d0 [ticket/15150] Use stream_* functions instead of socket_* functions
PHPBB3-15150
2017-04-04 14:14:48 +02:00
Rubén Calvo
d44dde390a [ticket/15150] Remove default values for arguments
PHPBB3-15150
2017-04-04 14:08:48 +02:00
Vinny
91fc8f407a [ticket/15158] Update oauth to v0.8.10
PHPBB3-15158
2017-04-04 04:20:00 -03:00
Matt Friedman
450402ea42 [ticket/15142] Remove duplicate code
PHPBB3-15142
2017-04-03 11:34:40 -07:00
Rubén Calvo
43731202fd [ticket/15150] Hide errors if function stream_socket_client have been disabled
PHPBB3-15150
2017-04-02 15:20:49 +02:00
Rubén Calvo
4147c38838 [ticket/15150] Hide errors if function stream_socket_client have been disabled
PHPBB3-15150
2017-04-02 15:17:31 +02:00
Rubén Calvo
2f277b6f67 [ticket/15150] Fix template label tag
PHPBB3-15150
2017-03-30 20:26:55 +02:00
Rubén Calvo
32f3ddca70 [ticket/15150] Add Jabber SSL context configuration options
PHPBB3-15150
2017-03-30 10:04:50 +02:00
nomind60s
d4ecb910d8 [ticket/15151] ACP Cookie settings explanatory text
Fixed extraneous whitespace at end of line.

PHPBB3-15151
2017-03-29 14:42:02 -06:00
nomind60s
80b72e3d0b [ticket/14498] Don't display 'Who is online' members when permission is No
When the user permission 'Can view profiles, memberlist and online list' is
set to No (or Never) the user should not be able to see which members are
online in the following places, index page, view topic and view forum.

Before this change, guests and bots would see the list of members who are
online, which doesn't match with the user permission and could create privacy
issues where guests or bots could track when a member was online.

PHPBB3-14498
2017-03-29 13:19:55 -06:00
nomind60s
5bf3e4b3c6 [ticket/15151] ACP Cookie settings add explanatory text where it was missing
Improve the lead section to include a link to the phpBB.com Knowledge Base and
add explanation text for the Cookie domain, Cookie name and Cookie path fields.

PHPBB3-15151
2017-03-29 12:30:09 -06:00
Marc Alexander
e6a0e4caed [ticket/8116] Improve code and add tests for helper functions
PHPBB3-8116
2017-03-29 19:53:58 +02:00
Marc Alexander
2edf7056f0 [ticket/8116] Add pagination for IP tables on post info
Diff from previous patch by nickvergessen.

PHPBB3-8116
2017-03-28 22:10:03 +02:00
upstrocker
f991a99a14 [ticket/15139] Assigned 'topics_per_page' before template included
The element $config['topics_per_page'] was assigned a value after the
template was included, which led to incorrect page number display in the
header when pagination.
Now this var is assigned the correct value before the template is included

PHPBB3-15139
2017-03-28 20:41:38 +02:00
Marc Alexander
33a050ade9 Merge pull request #4775 from hanakin/ticket/15157
[ticket/15157] Add proper google font call
2017-03-28 19:42:55 +02:00
hanakin
b30e775bf1 [ticket/15157] simple header
PHPBB3-15157
2017-03-28 10:55:54 -04:00
hanakin
64b863728b [ticket/15157] Add proper google font call
PHPBB3-15157
2017-03-28 09:56:41 -04:00
Christian Schnegelberger
f4036bd5b8 [ticket/15152] Updates Font Awesome Icons to version 4.7.0
PHPBB3-15152
2017-03-26 21:05:18 +02:00
Marc Alexander
ecef296bee Merge pull request #4530 from senky/ticket/14557
[ticket/14557] Simplify updating overloaded events for extensions
2017-03-26 17:12:39 +02:00
Marc Alexander
0b11f2947c [ticket/15103] Update fast-image-size to 1.1.3
This fixes issus with filename casing and JPEG files only using
EXIF header data.

PHPBB3-15103
2017-03-26 14:57:48 +02:00
Marc Alexander
936426178b Merge pull request #4762 from Nicofuma/ticket/15137
[ticket/15137] Global Announcements shouldn't always be never ending
2017-03-25 16:37:33 +01:00
Tristan Darricau
38cf5c10f9 [ticket/15137] Global Announcements shouldn't always be never ending
PHPBB3-15137
2017-03-25 14:11:20 +01:00
Marc Alexander
bf6822ed1b Merge pull request #4750 from rubencm/ticket/15134
[ticket/15134] Replace php native functions for filesystem service methods
2017-03-25 11:30:13 +01:00
javiexin
71a3f12d2a [ticket/15146] Date profile field validation incorrect
Fix by changing select input field options to match validation range

PHPBB3-15146
2017-03-24 23:55:27 +01:00
Tristan Darricau
e86f199d16 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15143] Fix display of version update in ACP
2017-03-24 23:19:54 +01:00
Tristan Darricau
827ded82b8 Merge pull request #4757 from VSEphpbb/ticket/15143
[ticket/15143] Fix display of version update in ACP

* github.com:phpbb/phpbb:
  [ticket/15143] Fix display of version update in ACP
2017-03-24 23:18:50 +01:00
Tristan Darricau
2af371d2f4 Merge pull request #4751 from marc1706/ticket/15135
[ticket/15135] Parse language files in acp_extensions instead of md manager

* github.com:phpbb/phpbb:
  [ticket/15135] Correctly pass exception arguments and add back link again
  [ticket/15135] Parse language files in acp_extensions instead of md manager
2017-03-24 23:07:59 +01:00
Matt Friedman
74054317d2 [ticket/15142] Add ext branch update tests
PHPBB3-15142
2017-03-24 11:47:28 -07:00
Matt Friedman
afddb81acf [ticket/15142] Handle versions for unmatched branches
PHPBB3-15142
2017-03-24 11:47:03 -07:00
Matt Friedman
91ab27ecc9 [ticket/15142] Check extension updates on current branch
PHPBB3-15142
2017-03-24 09:37:14 -07:00
nomind60s
f62419e158 [ticket/15086] Remove properties that are no longer used
PHPBB3-15086
2017-03-24 05:39:30 -06:00
Marc Alexander
a975a35734 [ticket/15135] Correctly pass exception arguments and add back link again
PHPBB3-15135
2017-03-23 21:52:35 +01:00
Matt Friedman
45c3cb52e4 [ticket/15143] Fix display of version update in ACP
PHPBB3-15143
2017-03-22 12:14:05 -07:00
Tristan Darricau
c9aab0baef Merge pull request #4752 from nomind60s/ticket/15137
[ticket/15137] Global Announcements shouldn't always be never ending

* github.com:phpbb/phpbb:
  [ticket/15137] Missed one language string change
  [ticket/15137] Global announcements can stick for a non-zero number of days

fixes #4752
2017-03-21 16:29:10 +01:00
nomind60s
d15b88af2a [ticket/15137] Missed one language string change
Change STICKY_ANNOUNCE_TIME_LIMIT for consistency

PHPBB3-15137
2017-03-21 06:50:25 -06:00
nomind60s
7609ba71e9 [ticket/15137] Global announcements can stick for a non-zero number of days
To be consistent with Sticky and Announcements topic types, Global
announcements can now stick for a non-zero number of days, i.e. they are
no longer never ending.

Before this change, if the topic type was Global and a non-zero number of
days where set to stick topic, the number was silently ignored and a Global
announcement was always never ending.

PHPBB3-15137
2017-03-20 23:06:34 -06:00
Rubén Calvo
27ab639fbe [ticket/15134] Return false if error
PHPBB3-15134
2017-03-20 11:49:34 +01:00
Marc Alexander
6f1de69bbe [ticket/15135] Parse language files in acp_extensions instead of md manager
PHPBB3-15135
2017-03-19 22:37:19 +01:00
Rubén Calvo
29ce6e6352 [ticket/15134] Follow coding guideliness
PHPBB3-15134
2017-03-19 19:26:08 +01:00
Tristan Darricau
bd34b2301e Merge pull request #4711 from javiexin/ticket/15102
[ticket/15102] Missing parameter calling version_check

* github.com:phpbb/phpbb:
  [ticket/15102] Missing parameter calling version_check
2017-03-19 18:53:19 +01:00
Tristan Darricau
d1248ad5ce Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14758] Improve the ACP Parameter wording
2017-03-19 18:49:47 +01:00
Tristan Darricau
927220c873 Merge branch 'mukeshkharita-ticket/14758' into 3.1.x
* mukeshkharita-ticket/14758:
  [ticket/14758] Improve the ACP Parameter wording

fixes #4724
2017-03-19 18:49:26 +01:00
Mukesh Kumar Kharita
dcdb0dcd23 [ticket/14758] Improve the ACP Parameter wording
PHPBB3-14758
2017-03-19 18:48:55 +01:00
Tristan Darricau
c46efa461e Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14806] Fix ACP test emails authentication failure
2017-03-19 18:45:29 +01:00
Tristan Darricau
6abcfe41e0 Merge pull request #4734 from rxu/ticket/14806
[ticket/14806] Fix ACP test emails authentication failure

* github.com:phpbb/phpbb:
  [ticket/14806] Fix ACP test emails authentication failure
2017-03-19 18:44:41 +01:00
Tristan Darricau
ed2d086302 Merge branch 'ticket/14928' into 3.2.x
* ticket/14928:
  [ticket/14928] fixing valid stability %s
2017-03-19 18:39:07 +01:00
Rishabh04-02
12a70f63b4 [ticket/14928] fixing valid stability %s
PHPBB3-14928
2017-03-19 18:38:43 +01:00
Tristan Darricau
4b6b73ea9d Merge pull request #4736 from rubencm/ticket/15123
[ticket/15123] Check if extension was enabled/disabled before enable or disable

* rubencm/ticket/15123:
  [ticket/15123] modified return error codes
  [ticket/15123] modified language strings
  [ticket/15123] modified language string
  [ticket/15123] removed blank spaces
  [ticket/15123] add check before enable or disable extension
2017-03-19 18:17:41 +01:00
Tristan Darricau
0730d14247 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15122] Add cache driver for memcached
2017-03-19 18:14:56 +01:00
Tristan Darricau
c8670d5324 Merge pull request #4737 from marc1706/ticket/15122
[ticket/15122] Add cache driver for memcached

* marc1706/ticket/15122:
  [ticket/15122] Add cache driver for memcached
2017-03-19 18:14:52 +01:00
Tristan Darricau
224330f3a5 Merge pull request #4740 from rubencm/ticket/14974
[ticket/14974] Make cookie notice configurable via language files

* rubencm/ticket/14974:
  [ticket/14974] make cookie notice configurable via language files
2017-03-19 18:11:40 +01:00
Tristan Darricau
552da2e805 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13558] Change options prefix and add settings precautions.
  [ticket/13558] Make SSL context specific options more SMTP general
  [ticket/13558] Add smtp SSL context configuration options
2017-03-19 18:07:14 +01:00
Tristan Darricau
0b2369901a Merge pull request #4745 from rxu/ticket/13558
[ticket/13558] Add smtp SSL context configuration options

* rxu/ticket/13558:
  [ticket/13558] Change options prefix and add settings precautions.
  [ticket/13558] Make SSL context specific options more SMTP general
  [ticket/13558] Add smtp SSL context configuration options
2017-03-19 18:04:53 +01:00
Tristan Darricau
67509edd40 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14844] Add CSS classes for strong and italics text to BBCodes
2017-03-19 18:00:35 +01:00
Tristan Darricau
d114a3d415 Merge pull request #4749 from marc1706/ticket/14844
[ticket/14844] Add CSS classes for strong and italics text to BBCodes

* marc1706/ticket/14844:
  [ticket/14844] Add CSS classes for strong and italics text to BBCodes
2017-03-19 18:00:31 +01:00
Rubén Calvo
018528b062 [ticket/15134] Replace php native functions for filesystem service methods
PHPBB3-15134
2017-03-19 17:29:11 +01:00
Marc Alexander
e497937dd4 Merge branch '3.1.x' into 3.2.x 2017-03-19 16:01:37 +01:00
Marc Alexander
948ce2d84f Merge pull request #4578 from javiexin/ticket/14849
[ticket/14849] Add core.acp_extensions_run_action
2017-03-19 16:01:33 +01:00
Marc Alexander
9958a68c57 Merge branch '3.1.x' into 3.2.x 2017-03-19 15:53:08 +01:00
Marc Alexander
59396771e6 Merge pull request #4703 from javiexin/ticket/15011
[ticket/15011] All errors on metadata throw exceptions
2017-03-19 15:49:33 +01:00
Marc Alexander
051644d663 [ticket/14844] Add CSS classes for strong and italics text to BBCodes
PHPBB3-14844
2017-03-19 15:35:51 +01:00
Marc Alexander
45ae23628e Merge pull request #4742 from JoshyPHP/ticket/15126
[ticket/15126] Disable HTML entities in quote helper
2017-03-19 15:28:22 +01:00
rxu
22b8632426 [ticket/13558] Change options prefix and add settings precautions.
PHPBB3-13558
2017-03-19 14:32:53 +07:00
Marc Alexander
d35262089d Merge pull request #4738 from rxu/ticket/15124
[ticket/15124] Hide navbar icon titles in repsonsive view
2017-03-19 00:11:37 +01:00
Marc Alexander
25d5f94d19 Merge pull request #4695 from marc1706/ticket/15083
[ticket/15083] Fix invalid emoji sizing in ACP & print view
2017-03-19 00:04:48 +01:00
Marc Alexander
e4d253ce76 Merge branch '3.1.x' into 3.2.x 2017-03-19 00:01:34 +01:00
Marc Alexander
0f95e607ff Merge pull request #4743 from rubencm/ticket/14820
[ticket/14820] Add style version in ACP
2017-03-19 00:01:30 +01:00
Erwan Nader
4cf998e9df [ticket/15132] Add variable to the 'core.mcp_main_modify_shadow_sql' event
PHPBB3-15132
2017-03-18 18:27:24 +01:00
Erwan Nader
716cff0c97 [ticket/15131] Add variables to the 'core.mcp_main_modify_fork_sql' event
PHPBB3-15131
2017-03-18 17:58:06 +01:00
rxu
2cc9b6a857 [ticket/13558] Make SSL context specific options more SMTP general
PHPBB3-13558
2017-03-18 01:11:32 +07:00
rxu
ac87784a11 [ticket/13558] Add smtp SSL context configuration options
PHPBB3-13558
2017-03-17 01:21:57 +07:00
Rubén Calvo
d10a5b67a1 [ticket/14820] Add style version in ACP
PHPBB3-14820
2017-03-16 00:00:50 +01:00
JoshyPHP
d3eb85dd5d [ticket/15126] Disable HTML entities in quote helper
PHPBB3-15126
2017-03-15 02:36:20 +01:00
Rubén Calvo
568ce32ca8 [ticket/15084] fix wrong order of breadcrumbs on module management
PHPBB3-15084
2017-03-13 22:23:09 +01:00
Rubén Calvo
45f0adcd0a [ticket/15123] modified return error codes
PHPBB3-15123
2017-03-13 22:20:59 +01:00
Rubén Calvo
9b3609d6f6 [ticket/15123] modified language strings
PHPBB3-15123
2017-03-13 22:20:51 +01:00
Rubén Calvo
8994295f2b [ticket/15123] modified language string
PHPBB3-15123
2017-03-13 22:20:45 +01:00
Rubén Calvo
68c167fe7a [ticket/15123] removed blank spaces
PHPBB3-15123
2017-03-13 22:20:38 +01:00
Rubén Calvo
891aab0593 [ticket/15123] add check before enable or disable extension
PHPBB3-15123
2017-03-13 22:20:20 +01:00
nomind60s
6da3b5e93d [ticket/15086] Rework specification of properties to simplify
Once more rework the property specifications to maintain backwards compatability
and keep changes as small as possible. Thanks hanakin for the assistance.

PHPBB3-15086
2017-03-13 09:04:02 -06:00
Rubén Calvo
74f1b19dfe [ticket/14974] make cookie notice configurable via language files
PHPBB3-14974
2017-03-13 03:09:35 +01:00
rxu
20a3801cf2 [ticket/15124] Hide navbar icon titles in repsonsive view
PHPBB3-15124
2017-03-13 00:29:00 +07:00
Marc Alexander
877e15a6e6 [ticket/15122] Add cache driver for memcached
PHPBB3-15122
2017-03-12 15:52:41 +01:00
rxu
4826f7c1d3 [ticket/14806] Fix ACP test emails authentication failure
PHPBB3-14806
2017-03-11 17:06:26 +07:00
nomind60s
605af49562 [ticket/15086] Move RTL Font Awesome icon to icons.css
Per github discussion, move the RTL Font Awesome coding from bidi.css
to icons.css.

PHPBB3-15086
2017-03-10 22:11:47 -07:00
nomind60s
b56be33e5b [ticket/15086] Refactoring and moving to icons.css
Per hanakin's github suggestions some refactoring and moved icons into
icons.css for conistency. The RTL icons remain in bidi.css to keep all
the RTL content in a consistant location.

A number of places where setting something to zero have been removed.

PHPBB3-15086
2017-03-10 11:42:50 -07:00
Marc Alexander
5d597787eb Merge pull request #4729 from vinny/ticket/15118
[ticket/15118] Fix html error in jumpbox.html
2017-03-09 22:11:55 +01:00
Vinny
6071a5b8aa [ticket/15118] Fix html error in jumpbox.html
PHPBB3-15118
2017-03-09 14:34:42 -03:00
javiexin
bd12504f6c Merge branch '3.2.x' into ticket/15068 2017-03-09 16:12:25 +01:00
javiexin
96a90d3f81 [ticket/15068] Add template vars retrieval from the template object
Add possibility to retrieve full block of vars

PHPBB3-15068
2017-03-09 16:05:39 +01:00
Marc Alexander
f36eb932a4 [ticket/15083] Add stylelint exceptions for admin.css
PHPBB3-15083
2017-03-08 21:36:27 +01:00
Marc Alexander
3e9f12d12d Merge pull request #4696 from marc1706/ticket/14979
[ticket/14979] Do not display underline for unread icon
2017-03-08 21:29:16 +01:00
Marc Alexander
1edb0bd173 Merge pull request #4700 from DavidIQ/ticket/15089
[ticket/15089] Reverse the order of cookie secure radio buttons
2017-03-08 21:27:11 +01:00
Marc Alexander
013c9ad9ef Merge pull request #4702 from JimMH/patch-3
[ticket/15092] Correct database update instructions
2017-03-08 21:24:47 +01:00
Marc Alexander
f319b93dc3 Merge pull request #4713 from DavidIQ/ticket/15106
[ticket/15106] Remove space before comma in sub-forum list
2017-03-08 21:21:16 +01:00
Marc Alexander
e0d31d8897 Merge pull request #4714 from vinny/ticket/14732
[ticket/14732] Remove PHP Code syntax highlighting references
2017-03-08 21:07:47 +01:00
nomind60s
6bbb7581c2 [ticket/15086] Merge cite and uncited definitions
Per hanakin's suggested changes, merged the cite and uncited definitions.
Handle the uncited case in RTL languages.

PHPBB3-15086
2017-03-07 20:50:51 -07:00
Richard McGirr
d7c417de69 [ticket/15107] Add message_parser to event
https://tracker.phpbb.com/browse/PHPBB3-15107

PHPBB3-15107
2017-03-07 06:35:01 -05:00
javiexin
376e85c1d6 Merge branch '3.1.x' into ticket/15081 2017-03-05 15:07:26 +01:00
javiexin
18eaf10e5a [ticket/15108] Remove duplicate code in request->context
PHPBB3-15108
2017-03-02 15:51:51 +01:00
RMcGirr83
63f7fb1ea6 [ticket/15107] Add message_parser to event
https://tracker.phpbb.com/browse/PHPBB3-15107

PHPBB3-15107
2017-03-02 09:29:39 -05:00
David Colón
59ac4a71b6 [ticket/14992] Check index name length in a more proper way
[ticket/14992] Add indexes to user_notifications table
2017-03-01 23:09:56 -05:00
David Colón
e5eb702514 [ticket/14992] Add indexes to user_notifications table
[ticket/14992] Change how index length is checked

[ticket/14992] Remove duplicates from user_notifications table

[ticket/14992] Add unique index to user_notifications table

[ticket/14992] Shorten unique index name

[ticket/14992] Shorten another index for user notifications
2017-03-01 23:09:27 -05:00
Vinny
51a55cee5d [ticket/14732] Remove references from tests
PHPBB3-14732
2017-02-28 05:59:22 -03:00
Vinny
8227289ecc [ticket/14732] Remove PHP Code syntax highlighting references
PHPBB3-14732
2017-02-28 05:26:20 -03:00
David Colón
25c54beee7 [ticket/15106] Remove space before comma in sub-forum list 2017-02-28 00:24:57 -05:00
nomind60s
4113fba04d [ticket/15086] Handle the uncited case properly
The blockquote uncited CSS needs the Font Awesome icon added as well

PHPBB3-15086
2017-02-24 06:26:42 -07:00
nomind60s
92fefcfe6f [ticket/15086] corrections from vinny's review
Changed instances of 0px; to 0; and add missing element

PHPBB3-15086
2017-02-23 22:33:43 -07:00
javiexin
34e867c590 [ticket/15102] Missing parameter calling version_check
PHPBB3-15102
2017-02-24 00:25:04 +01:00
Marc Alexander
7a1f4d5008 Merge branch '3.1.x' into 3.2.x 2017-02-23 22:21:20 +01:00
Marc Alexander
9267235f30 Merge pull request #4605 from javiexin/ticket/14943
[ticket/14943] Fix template loop access by index
2017-02-23 22:21:16 +01:00
nomind60s
f78ba39a1c [ticket/15086] Replace quote.gif with Font Awesome icon
Use the Font Awesome icon for a quote rather than the quote.gif
file.

I believe I've handled the RTL case as well.

PHPBB3-15086
2017-02-23 08:44:56 -07:00
Marc Alexander
cf439f2173 Merge pull request #4629 from hubaishan/ticket/14975
[ticket/14975] Correct RTL style css
2017-02-22 21:49:13 +01:00
Marc Alexander
01046c2209 [ticket/15083] Add stylelint definitions
PHPBB3-15083
2017-02-22 21:37:02 +01:00
Saeed Hubaishan
3331581ee5 [ticket/14975] Changes requested by hanakin
[ticket/14975] Changes requested by hanakin

[PHPBB3-14975]
2017-02-22 13:30:48 +03:00
Marc Alexander
dbf7f2b7ee Merge branch '3.1.x' into 3.2.x 2017-02-22 11:09:02 +01:00
Marc Alexander
4c3ddea09f Merge remote-tracking branch 'origin/ticket/14927' into 3.1.x 2017-02-22 11:08:22 +01:00
Marc Alexander
bc86210db8 [ticket/14927] Put vars on one line
PHPBB3-14927
2017-02-21 22:15:12 +01:00
Marc Alexander
a302fb47a8 Merge branch '3.1.x' into 3.2.x 2017-02-21 21:33:14 +01:00
Marc Alexander
191a776ce6 Merge pull request #4636 from javiexin/ticket/14995
[ticket/14995] Add ACP template events acp_ext_list_*_name_after
2017-02-21 21:32:03 +01:00
Marc Alexander
efe6bcf95a Merge branch '3.1.x' into 3.2.x 2017-02-21 21:14:12 +01:00
Marc Alexander
896249f0e8 Merge pull request #4604 from rxu/ticket/13344
[ticket/13344] Add core event to acp/info/acp_logs.php
2017-02-21 21:10:35 +01:00
david63
bac6dbda5e [ticket/14927] Corrected order in docblock of event & target version
PHPBB3-14927
2017-02-21 20:46:58 +01:00
david63
1b46435734 [ticket/14927] Add items to core.user_add_modify_data
PHPBB3-14927
2017-02-21 20:44:00 +01:00
javiexin
cdca848018 [ticket/14849] Add core.acp_extensions_run_action
Rename event to core.acp_extensions_run_action_before

PHPBB-14849
2017-02-19 22:01:02 +01:00
Marc Alexander
bdaa6e4909 Merge branch '3.1.x' into 3.2.x 2017-02-19 21:47:06 +01:00
Marc Alexander
481a592b8d Merge pull request #4598 from javiexin/ticket/14944
[ticket/14944] Add search for template loop indexes by key
2017-02-19 21:47:00 +01:00
nomind60s
f677376b8c [ticket/15097] New 'Installed software' lead section
Created a new lead section showing the installed software (phpBB,
PHP and Database server) and their versions. Implementation is
inspired by MediaWiki's Special:Version page.

Removed those items from Board statistics section.

PHPBB3-15097
2017-02-19 11:49:07 -07:00
Marc Alexander
bdc31265cf [ticket/14979] Use hanakin's CSS version
PHPBB3-14979
2017-02-19 16:46:29 +01:00
Marc Alexander
937a386688 Merge pull request #4691 from DavidIQ/ticket/15058
[ticket/15058] Force browser to redownload stylesheets
2017-02-19 10:03:51 +01:00
nomind60s
16dbc4195a [ticket/15097] Resolve travis-ci error
Make sure indentation is using tabs not spaces per code guidelines

PHPBB3-15097
2017-02-17 16:25:30 -07:00
nomind60s
65513c79f5 [ticket/15097] Resolve travis-ci error
Make sure indentation is using tabs not spaces per code guidelines

PHPBB3-15097
2017-02-17 16:15:00 -07:00
nomind60s
c30ad4ce60 [ticket/15097] Add PHP version to Board statistics
Rework commit message per DavidIQ's guidance and change variable name
to avoid confusion

PHPBB3-15907
2017-02-17 15:31:43 -07:00
nomind60s
c06f4756ec [ticket/15097] Add PHP version to Board statistics
The ACP main page shows the phpBB version and the database version,
but didn't show the PHP version.

With this change the PHP version is displayed as part of the
Board statistics.

PHPBB3-15097
2017-02-17 15:30:02 -07:00
javiexin
7f69580df3 Merge branch '3.1.x' into ticket/15011 2017-02-15 23:56:52 +01:00
javiexin
7646280d51 [ticket/15011] All errors on metadata throw exceptions
There is inconsistency in the way error are treated in metadata_manager.
Some method return false on error, others throw exception.  With this,
the usage is homogeneus, and the uses of these are also adapted.
Using same ticket as it is the same issue, solved in a different way.

PHPBB3-15011
2017-02-15 23:51:08 +01:00
Jim Mossing Holsteyn
c5e699abe6 Remove all instances of install/database_update.php 2017-02-14 15:03:56 +01:00
Marc Alexander
a52d5edd18 [ticket/14979] Add text-decoration settings for lastpost links as well
PHPBB3-14979
2017-02-13 21:09:28 +01:00
David Colón
e1910b9a0f [ticket/15089] Reverse the order of cookie secure radio buttons 2017-02-12 22:26:40 -05:00
javiexin
7000db3049 [ticket/15087] Optimize creation of metadata objects by caching
Fix constructor in test cases.

PHPBB3-15087
2017-02-12 19:25:42 +01:00
javiexin
2e3d90e05b [ticket/15087] Optimize creation of metadata objects by caching
Caching is done in ext_manager, and metadata_manager is further simplified
by reducing the number of parameters needed.  Also, move template output
function from metadata_manager to acp_extensions, where it belongs.

PHPBB3-15087
2017-02-12 18:33:06 +01:00
javiexin
d3a687df27 [ticket/15087] Optimize creation of metadata objects by caching
Code for [ticket/15080] Save unneeded file loads for extension
metadata for phpbb 3.2.

PHPBB3-15087
2017-02-12 14:39:26 +01:00
javiexin
5266821e1b [ticket/15087] Optimize creation of metadata objects by caching
Code for [ticket/14938] Inconsistency in ext_mgr all_available vs
is_available for phpbb 3.2.

PHPBB3-15087
2017-02-12 14:10:58 +01:00
javiexin
17f8c53ef3 [ticket/15087] Optimize creation of metadata objects by caching
Code for [ticket/14919] Do not directly use globals in acp_extensions
for phpbb 3.2.

PHPBB3-15087
2017-02-12 13:46:37 +01:00
Marc Alexander
9b4d455726 Merge branch '3.1.x' into 3.2.x 2017-02-11 22:04:01 +01:00
Marc Alexander
b567c6e241 Merge pull request #4589 from senky/ticket/14929
[ticket/14929] Add error to core.posting_modify_message_text
2017-02-11 22:03:57 +01:00
Marc Alexander
f27cdad73e Merge branch '3.1.x' into 3.2.x 2017-02-11 21:48:20 +01:00
Marc Alexander
45199adebd Merge pull request #4523 from senky/ticket/13429
[ticket/13429] Replace @change with @changed in event docblocks
2017-02-11 15:19:47 +01:00
Marc Alexander
af028f8d72 [ticket/14979] Do not display underline for unread icon
PHPBB3-14979
2017-02-11 11:34:03 +01:00
Marc Alexander
b4821907b7 [ticket/15083] Fix invalid emoji sizing in ACP & print view
PHPBB3-15083
2017-02-11 11:19:46 +01:00
Marc Alexander
b0abf6df88 [ticket/15079] Parse message before inserting it into drafts table
PHPBB3-15079
2017-02-10 23:29:11 +01:00
David Colón
46a0cde544 [ticket/15058] Force browser to redownload stylesheets 2017-02-10 15:17:06 -05:00
javiexin
fc50fd272b Merge branch '3.1.x' into ticket/15081 2017-02-10 14:41:42 +01:00
javiexin
09f6637597 [ticket/15081] Add acp_ext_details_notice template event
PHPBB3-15081
2017-02-10 14:36:51 +01:00
javiexin
7b2ffaf78c [ticket/14938] Inconsistency in ext_mgr all_available vs is_available
Made is_available much more strict, in line with the checks in all_available
Refactor all_available to use is_available, saving duplicate code.
Further simplify is_available by using metadata_manager.
Make optional the template object on metadata_manager creation.
Fix extension_manager_mock to have config and user components.

PHPBB3-14938
2017-02-10 02:09:18 +01:00
javiexin
7313eb54b4 [ticket/14938] Inconsistency in ext_mgr all_available vs is_available
Made is_available much more strict, in line with the checks in all_available
Refactor all_available to use is_available, saving duplicate code.
Further simplify is_available by using metadata_manager.
Make optional the template object on metadata_manager creation.

PHPBB3-14938
2017-02-10 00:35:23 +01:00
javiexin
abd6bd8154 [ticket/14938] Inconsistency in ext_mgr all_available vs is_available
Made is_available much more strict, in line with the checks in all_available
Refactor all_available to use is_available, saving duplicate code.
Further simplify is_available by using metadata_manager.

PHPBB3-14938
2017-02-09 23:10:29 +01:00
javiexin
e0e59bc6c0 [ticket/15080] Save unneeded file loads for extension metadata
PHPBB3-15080
2017-02-09 22:03:53 +01:00
Jakub Senko
0ea839e595 [ticket/13730] Add core.delete_post_after event
PHPBB3-13730
2017-02-08 13:18:23 +01:00
javiexin
f23d9bf2e0 [ticket/15068] Add template vars retrieval from the template object
PHPBB3-15068
2017-02-05 21:47:31 +01:00
Tristan Darricau
59ad9401d9 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13250] Use faster str_replace() instead of preg_replace()
  [ticket/13250] Replace slashes in cache file names
2017-02-05 18:11:22 +01:00
Tristan Darricau
1470985ff2 Merge pull request #4660 from marc1706/ticket/13250
[ticket/13250] Replace slashes in cache file names

* marc1706/ticket/13250:
  [ticket/13250] Use faster str_replace() instead of preg_replace()
  [ticket/13250] Replace slashes in cache file names
2017-02-05 18:11:16 +01:00
Tristan Darricau
4eb72a4e7b Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13601] Add core.acl_clear_prefetch_after event
2017-02-05 18:05:59 +01:00
Tristan Darricau
c3896c8b5d Merge pull request #4673 from senky/ticket/13601
[ticket/13601] Add core.acl_clear_prefetch_after event

* senky/ticket/13601:
  [ticket/13601] Add core.acl_clear_prefetch_after event
2017-02-05 18:05:53 +01:00
Tristan Darricau
c45323863b Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15059] Preserve code line breaks and scroll overflow
2017-02-05 17:51:53 +01:00
Tristan Darricau
c006479274 Merge pull request #4681 from VSEphpbb/ticket/15059
[ticket/15059] Preserve code line breaks and scroll overflow

* VSEphpbb/ticket/15059:
  [ticket/15059] Preserve code line breaks and scroll overflow
2017-02-05 17:50:35 +01:00
Tristan Darricau
316de4b891 Merge pull request #4682 from vinny/ticket/15062
[ticket/15062] Update to Rhea version the CSS files

* vinny/ticket/15062:
  [ticket/15062] Update to Rhea version the CSS files
2017-02-05 17:37:53 +01:00
Vinny
80ecad5cf9 [ticket/15062] Update to Rhea version the CSS files
PHPBB3-15062
2017-02-01 02:34:01 -03:00
Matt Friedman
35b7e95098 [ticket/15059] Preserve code line breaks and scroll overflow
PHPBB3-15059
2017-01-30 08:48:42 -08:00
Saeed Hubaishan
f47d244151 [ticket/14975] add missing .rtl
[ticket/14975] add missing .rtl and resolve conflict

[PHPBB3-14975]
2017-01-30 07:39:25 +03:00
Máté Bartus
16e79d00d1 Merge pull request #4675 from marc1706/ticket/15044
[ticket/15044] Create search index during installation
2017-01-29 14:42:41 +01:00
Máté Bartus
cd4ceb2487 Merge pull request #4677 from marc1706/ticket/15050
[ticket/15050] Use new file when new file already exists
2017-01-29 14:40:02 +01:00
Máté Bartus
3bfeca4601 Merge branch '3.1.x' into 3.2.x 2017-01-29 14:30:56 +01:00
Máté Bartus
5cf1fc62db Merge pull request #4679 from marc1706/ticket/14998
[ticket/14998] Point only to install dir from acp_update
2017-01-29 14:29:44 +01:00
javiexin
849fd9df7d [ticket/14944] Add possibility to search for template loop indexes by key
Adds a new function to the template interface, and implements it in the
context class.  The function returns the ordinal index for a specified key,
with the same structure that the key for alter_block_array.
Reuses same code. Remove unneeded references, do nothing for int keys.
Check out of bounds or wrong blockname errors.  Added tests.
Remove default parameter value.

PHPBB3-14944
2017-01-28 21:34:08 +01:00
Marc Alexander
b859559c8f Merge pull request #4678 from DavidIQ/ticket/15047
[ticket/15047] Various db tools fixes for MSSQL
2017-01-28 11:09:26 +01:00
Marc Alexander
d81df55963 [ticket/14998] Point only to install dir from acp_update
PHPBB3-14998
2017-01-28 09:16:49 +01:00
Marc Alexander
2b67536cd0 Merge pull request #4661 from hanakin/ticket/15037
[ticket/15037] Make imagesets retina
2017-01-27 18:44:38 +01:00
Marc Alexander
b5ed02d03c [ticket/15050] Remove extra whitespace
PHPBB3-15050
2017-01-27 08:40:35 +01:00
David Colón
2416a743f5 [ticket/15047] Reinstate length check for MSSQL 2000 2017-01-26 18:44:18 -05:00
David Colón
fae78b4c01 [ticket/15047] Do not set default for identity cols 2017-01-26 08:43:39 -05:00
David Colón
c53054f2b7 [ticket/15047] Use brackets due to keyword usage 2017-01-26 08:43:39 -05:00
David Colón
b52ee87df8 [ticket/15047] Don't attempt to drop primary keys 2017-01-26 08:43:39 -05:00
David Colón
66b0fe3b5d [ticket/15047] No index name length check for mssql 2017-01-26 08:43:06 -05:00
Marc Alexander
f66594bf93 [ticket/15050] Use new file when new file already exists
Instead of trying to diff the new file against a pre-existing file,
we're just going to use the new file. It's impossible to know whether
the pre-existing file is newer or older than the new file. As the
system will rely on the files being in the "new" state it's better
to simply use the file in "new" state.

PHPBB3-15050
2017-01-25 22:18:29 +01:00
Marc Alexander
903d6be3bb Merge remote-tracking branch 'origin/ticket/15045' into 3.2.x 2017-01-25 10:06:00 +01:00
hanakin
f069e521db [ticket/15037] Optimize what can be
PHPBB3-15037
2017-01-24 17:15:41 -05:00
Marc Alexander
e8f41a0dcc [ticket/15045] Fix user object instantiation in version_test
PHPBB3-15045
2017-01-24 22:50:10 +01:00
hanakin
f2bc4a9977 [ticket/15037] Update topic icons to retina
PHPBB3-15037
2017-01-24 16:35:30 -05:00
Marc Alexander
10dee52c18 [ticket/15044] Make sure fulltext native min and max are numbers
PHPBB3-15044
2017-01-24 21:47:37 +01:00
Marc Alexander
a03047da5b [ticket/15044] Add module task for creating search index during install
PHPBB3-15044
2017-01-24 21:47:20 +01:00
hanakin
8b6d043ca6 [ticket/15037] try larger size limit
PHPBB3-15037
2017-01-23 23:08:52 -05:00
hanakin
6f7b92ae10 [ticket/15307] fix for good!
PHPBB3-15037
2017-01-23 22:41:08 -05:00
hanakin
3e73413982 [ticket/15037]a attempt to fix stupid test issue
PHPBB3-15037
2017-01-23 21:59:00 -05:00
hanakin
71ca228b8e [ticket/15037] Update imageset to retina
PHPBB3-15037
2017-01-23 21:19:11 -05:00
Jakub Senko
9f2f541b4a [ticket/13603] Add index_body_stat_blocks_after event
PHPBB3-13603
2017-01-23 15:04:07 +01:00
Jakub Senko
d1df78604b [ticket/13601] Add core.acl_clear_prefetch_after event
PHPBB3-13601
2017-01-23 15:00:59 +01:00
Jakub Senko
15f6d66a61 [ticket/13608] Add core.ucp_restore_permissions event
PHPBB3-13608
2017-01-23 14:54:49 +01:00
Jakub Senko
1d38abdd7e [ticket/13605] Add core.ucp_pm_compose_predefined_message event
PHPBB3-13605
2017-01-23 14:14:36 +01:00
Jakub Senko
927c211d41 [ticket/13609] Add core.ucp_switch_permissions event
PHPBB3-13609
2017-01-23 14:04:02 +01:00
Jakub Senko
779758f219 [ticket/13429] Replace @change with @changed
PHPBB3-13429
2017-01-23 13:33:15 +01:00
Tristan Darricau
3c30cbd39e Merge pull request #4650 from marc1706/ticket/11076-rhea
[ticket/11076] State current and minimum required versions in old PHP notice

* marc1706/ticket/11076-rhea:
  [ticket/11076] Also state min PHP version when visiting forum website
  [ticket/11076] Also add notice about unsupported version to installer
2017-01-22 23:35:37 +01:00
tas2580
9df6ef5735 Use SSL in version check for extension
PHPBB3-15025
2017-01-22 23:31:41 +01:00
Tristan Darricau
cf6a4738b1 Merge pull request #4659 from marc1706/ticket/15036
[ticket/15036] Unlink install_config during functional testing

* marc1706/ticket/15036:
  [ticket/15036] Unlink install_config during functional testing
2017-01-22 23:30:22 +01:00
Tristan Darricau
9475703114 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14997] Fixing topiclist_row_topic_title_after position
2017-01-22 23:28:48 +01:00
Tristan Darricau
fb481f96d3 Merge pull request #4663 from marc1706/ticket/14997
[ticket/14997] Fixing topiclist_row_topic_title_after position

* marc1706/ticket/14997:
  [ticket/14997] Fixing topiclist_row_topic_title_after position
2017-01-22 23:20:59 +01:00
Tristan Darricau
7c77e33313 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14968] Use earlier version as written in comment
  [ticket/14968] Update docblock and ensure method returns array
  [ticket/14968] Display possible upgrade on acp index and update page
  [ticket/14968] Add method for retrieving updates on current branch
2017-01-22 23:15:26 +01:00
Tristan Darricau
085a839963 Merge pull request #4662 from marc1706/ticket/14968
[ticket/14968] Distinguish between update/upgrade & show upgrade info in ACP index

* marc1706/ticket/14968:
  [ticket/14968] Use earlier version as written in comment
  [ticket/14968] Update docblock and ensure method returns array
  [ticket/14968] Display possible upgrade on acp index and update page
  [ticket/14968] Add method for retrieving updates on current branch
2017-01-22 23:10:22 +01:00
Tristan Darricau
f7ccd7af8e Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15006] Pass inherit settings to form and use correct button
2017-01-22 23:07:50 +01:00
Tristan Darricau
dcadfe092c Merge pull request #4665 from marc1706/ticket/15006
[ticket/15006] Pass inherit settings to form and use correct button

* marc1706/ticket/15006:
  [ticket/15006] Pass inherit settings to form and use correct button
2017-01-22 23:07:46 +01:00
Tristan Darricau
3dfc882d1a Merge pull request #4668 from marc1706/ticket/15015
[ticket/15015] Use correct explain string for enable email settings

* marc1706/ticket/15015:
  [ticket/15015] Use correct explain string for enable email settings
2017-01-22 23:06:49 +01:00
Marc Alexander
577bd9efb9 Merge pull request #4666 from JoshyPHP/ticket/14790
[ticket/14790] Added test case
2017-01-22 23:02:43 +01:00
Marc Alexander
62bbe167b1 Merge pull request #4664 from JoshyPHP/ticket/15040
[ticket/15040] Update s9e\TextFormatter to 0.9.1
2017-01-22 23:00:08 +01:00
Marc Alexander
0238d850dd [ticket/15015] Use correct explain string for enable email settings
PHPBB3-15015
2017-01-22 20:58:53 +01:00
Marc Alexander
59027c94f2 [ticket/15006] Pass inherit settings to form and use correct button
PHPBB3-15006
2017-01-22 19:20:18 +01:00
JoshyPHP
9aa8dc26b7 [ticket/14790] Added test case
PHPBB3-14790
2017-01-22 19:19:12 +01:00
JoshyPHP
f53f6d1c61 [ticket/15040] Updated s9e\TextFormatter to 0.9.1
PHPBB3-15040
2017-01-22 19:11:17 +01:00
TarantinoMariachi
612abf391f [ticket/14997] Fixing topiclist_row_topic_title_after position
Fixing position as it is correctly on subsilver, or else it will appear
some problems when using polls or on topics with page numbers.

PHPBB3-14997
2017-01-22 17:41:31 +01:00
Marc Alexander
fbff3b77bd [ticket/13250] Use faster str_replace() instead of preg_replace()
PHPBB3-13250
2017-01-22 17:22:28 +01:00
Marc Alexander
38d0f2892e [ticket/14968] Use earlier version as written in comment
PHPBB3-14968
2017-01-22 17:01:12 +01:00
Marc Alexander
20a4d095de [ticket/14968] Update docblock and ensure method returns array
PHPBB3-14968
2017-01-22 16:58:37 +01:00
Marc Alexander
a620ce0713 [ticket/14968] Display possible upgrade on acp index and update page
PHPBB3-14968
2017-01-22 16:37:20 +01:00
Marc Alexander
0572d6e33a [ticket/14968] Add method for retrieving updates on current branch
PHPBB3-14968
2017-01-22 16:09:51 +01:00
Marc Alexander
722d0b9742 Merge pull request #4658 from kasimi/ticket/15035
[ticket/15035] Add phpinfo.php to 3.2.x install directory
2017-01-21 11:56:17 +01:00
Marc Alexander
6c09910c10 [ticket/13250] Replace slashes in cache file names
PHPBB3-13250
2017-01-21 11:21:38 +01:00
Marc Alexander
4b2a5a41a7 [ticket/15036] Unlink install_config during functional testing
PHPBB3-15036
2017-01-21 10:28:08 +01:00
kasimi
eceb36a546 [ticket/15035] Add phpinfo.php to 3.2.x install directory
In 3.1.x there's a phpinfo.php in the /install folder which seems to be removed in 3.2.x, perhaps by accident?
https://github.com/phpbb/phpbb/commits/3.2.x/phpBB/install/phpinfo.php
Let's add it back for easier troubleshooting potential issues during installation.

PHPBB3-15035
2017-01-20 22:09:42 +01:00
Marc Alexander
b1f060a30a [ticket/11076] Also state min PHP version when visiting forum website
A lot better to have a simple message than having the complete board break,
sometimes without even knowing thanks to bad host setups with no error logs.

PHPBB3-11076
2017-01-20 21:23:40 +01:00
Marc Alexander
d0724063c4 [ticket/11076] Also add notice about unsupported version to installer
PHPBB3-11076
2017-01-20 21:23:40 +01:00
Tristan Darricau
aa9da98e8a Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/11611] Remove no longer used file for setting up git repository
2017-01-20 20:55:20 +01:00
Tristan Darricau
3567f45e3d Merge pull request #4656 from marc1706/ticket/11611
[ticket/11611] Remove no longer used file for setting up git repository

* marc1706/ticket/11611:
  [ticket/11611] Remove no longer used file for setting up git repository
2017-01-20 20:55:15 +01:00
Marc Alexander
459244266d Merge pull request #4654 from hanakin/ticket/15023
[ticket/15023] fix responsive post row paging
2017-01-17 21:53:57 +01:00
Marc Alexander
02a35baf70 [ticket/7336] Index first post when splitting topics
PHPBB3-7336
2017-01-16 22:29:57 +01:00
Marc Alexander
bad8f0b9bc [ticket/7336] Add tests for indexing first post after splitting topics
PHPBB3-7336
2017-01-16 22:29:04 +01:00
Marc Alexander
0d17b32e25 [ticket/11611] Remove no longer used file for setting up git repository
PHPBB3-11611
2017-01-16 20:57:06 +01:00
hanakin
3bd01d812a [ticket/15023] Fix for linting
PHPBB3-15023
2017-01-16 12:34:59 -05:00
hanakin
c0af2072ca [ticket/15023] Remove all prev RWD and add new
PHPBB3-15023
2017-01-16 12:29:44 -05:00
hanakin
0d7d4b4ddd [ticket/15023] Remove unnessecary left-box class
no longer nessecary after this fix

PHPPB3-15023
2017-01-16 12:28:52 -05:00
hanakin
d28c016bef [ticket/15023] undo previous changes
PHPBB3-15023
2017-01-16 12:27:53 -05:00
Tristan Darricau
43ba6783c5 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15011] Output meaningful errors when validating all metadata
2017-01-15 18:16:36 +01:00
Tristan Darricau
0f640ab7af Merge pull request #4651 from marc1706/ticket/15011
[ticket/15011] Output meaningful errors when validating all metadata

* marc1706/ticket/15011:
  [ticket/15011] Output meaningful errors when validating all metadata
2017-01-15 18:15:00 +01:00
Tristan Darricau
c4ee378456 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/11076] State current and minimum required versions in old PHP notice
2017-01-15 18:13:00 +01:00
Tristan Darricau
766839a60a Merge pull request #4649 from marc1706/ticket/11076
[ticket/11076] State current and minimum required versions in old PHP notice

* marc1706/ticket/11076:
  [ticket/11076] State current and minimum required versions in old PHP notice
2017-01-15 18:11:35 +01:00
Marc Alexander
a0bd23b747 [ticket/15011] Output meaningful errors when validating all metadata
PHPBB3-15011
2017-01-15 17:56:12 +01:00
Marc Alexander
cb44dbc8cb [ticket/11076] State current and minimum required versions in old PHP notice
PHPBB3-11076
2017-01-15 15:32:55 +01:00
Marc Alexander
e64072e01f Merge pull request #4648 from JoshyPHP/ticket/15016
[ticket/15016] Fixed an issue with some parentheses in smilies
2017-01-15 13:55:55 +01:00
Tristan Darricau
4fd6b0fd88 Merge pull request #4632 from VSEphpbb/ticket/14989
[ticket/14989] Allow more admin-configurable schemes in post links

* VSEphpbb/ticket/14989:
  [ticket/14989] Allow more admin-configurable schemes in post links
2017-01-15 12:36:26 +01:00
Tristan Darricau
2637606ae1 Merge pull request #4631 from JoshyPHP/ticket/14985
[ticket/14985] Decode HTML special chars in plain text columns

* JoshyPHP/ticket/14985:
  [ticket/14985] Added functional tests for BBCodes and smilies
  [ticket/14985] Decode HTML special chars in plain text columns
2017-01-15 12:08:01 +01:00
Tristan Darricau
d6e42ec63b [ticket/15011] Fix 3.2.x merge
PHPBB3-15011
2017-01-15 12:00:36 +01:00
Tristan Darricau
935da1ed2b Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/15011] Error not checked on metadata load failure
2017-01-15 11:58:04 +01:00
Tristan Darricau
c3b7332ea8 Merge pull request #4646 from javiexin/ticket/15011
[ticket/15011] Error not checked on metadata load failure

* javiexin/ticket/15011:
  [ticket/15011] Error not checked on metadata load failure
2017-01-15 11:58:00 +01:00
Tristan Darricau
083db525d4 Merge pull request #4630 from hubaishan/ticket/14984
[ticket/14984] Correct wrong arrow direction in PM inbox

* hubaishan/ticket/14984:
  [ticket/14984] Correct wrong arrow direction in PM inbox
2017-01-15 11:38:21 +01:00
Tristan Darricau
2aba566a43 Merge pull request #4640 from JimMH/patch-3
[ticket/15002] Show topic icons in search results

* JimMH/patch-3:
  [ticket/15002] Show topic icons in search results
2017-01-15 11:36:43 +01:00
Tristan Darricau
2111e1d61f Merge pull request #4638 from VSEphpbb/ticket/14999
[ticket/14999] Correct Next PM Iconography

* VSEphpbb/ticket/14999:
  [ticket/14999] Correct Next PM Iconography
2017-01-15 11:26:59 +01:00
Tristan Darricau
0b5218cec1 Merge pull request #4647 from marc1706/ticket/15012
[ticket/15012] Use valid constructor in ftp_file_updater

* marc1706/ticket/15012:
  [ticket/15012] Use valid constructor in ftp_file_updater
2017-01-15 11:25:55 +01:00
JoshyPHP
52d53ef3de [ticket/15016] Fixed an issue with some parentheses in smilies
PHPBB3-15016
2017-01-15 11:24:15 +01:00
Marc Alexander
42e78004fb Merge pull request #4643 from JoshyPHP/ticket/15008
[ticket/15008] Disable emoji when smilies are disabled
2017-01-15 00:25:28 +01:00
Marc Alexander
b72df1f384 Merge pull request #4645 from rmcgirr83/ticket/15010
[ticket/15010] Fix incorrect use of request
2017-01-15 00:13:46 +01:00
Marc Alexander
abf7a4f663 [ticket/15012] Use valid constructor in ftp_file_updater
PHPBB3-15012
2017-01-14 22:48:24 +01:00
javiexin
b9189ec325 [ticket/15011] Error not checked on metadata load failure
PHPBB3-15011
2017-01-14 18:08:23 +01:00
Richard McGirr
02b5873442 [ticket/15010] Fix incorrect use of request
https://tracker.phpbb.com/browse/PHPBB3-15010

PHPBB3-15010
2017-01-14 09:18:55 -05:00
Marc Alexander
d226059b98 Merge branch '3.1.x' into 3.2.x 2017-01-14 14:59:04 +01:00
Marc Alexander
8af6df3946 Merge pull request #4641 from VSEphpbb/ticket/15003
[ticket/15003] Do not check disabled checkboxes with marklist function
2017-01-14 14:58:48 +01:00
JoshyPHP
15315ac87a [ticket/15008] Disable emoji when smilies are disabled
Will effectively disable emoji shortname and won't replace emoji
with images but will not prevent a browser or OS from displaying
emoji as images.

PHPBB3-15008
2017-01-14 14:27:38 +01:00
Matt Friedman
366e8583c8 [ticket/15003] Do not check disabled checkboxes with marklist function
PHPBB3-15003
2017-01-13 12:00:31 -08:00
Jim Mossing Holsteyn
8475632087 [ticket/15002] Show topic icons in search results 2017-01-13 19:02:29 +01:00
Matt Friedman
a9a04adbd2 [ticket/14999] Correct Next PM Iconography
PHPBB3-14999
2017-01-12 19:45:53 -08:00
javiexin
74f723e4ec [ticket/14995] Add ACP template events acp_ext_list_*_name_after
PHPBB3-14995
2017-01-12 22:26:56 +01:00
javiexin
136c74bd1c [ticket/14950] Add possibility to delete a template block
Adds a new mode to alter_block_array to allow for the deletion of
a certain block of template variables.  The selection method is the
same as for the other modes for alter_block_array.  The passed in
vararray is ignored, and an out of bounds index is considered an error.
Added tests for the new function, fixed.

PHPBB3-14950
2017-01-12 21:28:58 +01:00
javiexin
d2ad751851 [ticket/14943] Fix template loop access by index
Allows inserting elements in a loop specified as 'outer[3].inner'.
This was coded, but malfunctioning.  Name incorrectly set on insert.
If block was empty, the insertion process should create it.
Checking for out of bounds indexes.

PHPBB3-14943
2017-01-12 21:25:39 +01:00
JoshyPHP
499fcbcca9 [ticket/14985] Added functional tests for BBCodes and smilies
PHPBB3-14985
2017-01-12 09:30:58 +01:00
JoshyPHP
ef215f573e [ticket/14985] Decode HTML special chars in plain text columns
PHPBB3-14985
2017-01-12 09:30:52 +01:00
Matt Friedman
a3accfaf46 [ticket/14989] Allow more admin-configurable schemes in post links
PHPBB3-14989
2017-01-11 01:55:39 -08:00
hubaishan
b05b11cf64 [ticket/14984] Correct wrong arrow direction in PM inbox
icons.css change is needed for RTL, becouse inherit float is right

PHPBB3-14984
2017-01-10 17:41:43 +03:00
hubaishan
2991888438 [ticket/14975] Correct RTL style css
display_options.html corrected to move (display and sorting option) to right
jumpbox.html corrected to change arrow direction to left in RTL
pagination.html corrected to change arrows direction on RTL
bidi.css more edittions to correct remain style mistakes

PHPBB3-14975
2017-01-10 12:57:12 +03:00
Marc Alexander
26c6cb819e Merge pull request #4625 from Nicofuma/ticket/14973
[ticket/14973] Add BC layer for \phpbb\db\tools
2017-01-08 20:53:53 +01:00
Tristan Darricau
aaee7c7db9 Merge pull request #4623 from rxu/ticket/14971
[ticket/14971] Fix pagination PHP warning on PHP 7.1

* rxu/ticket/14971:
  [ticket/14971] Add on_page test with the string arguments
  [ticket/14971] Fix pagination PHP warning on PHP 7.1
2017-01-08 18:35:22 +01:00
Tristan Darricau
42cf311b2f [ticket/14973] Add BC layer for \phpbb\db\tools
PHPBB3-14973
2017-01-08 18:31:10 +01:00
Tristan Darricau
4d5140abaf Merge pull request #4621 from marc1706/ticket/14967
[ticket/14967] Add cookie notice migration fixing invalid previous one

* marc1706/ticket/14967:
  [ticket/14967] Add cookie notice migration fixing invalid previous one
2017-01-08 18:06:17 +01:00
rxu
06b402bdec [ticket/14971] Add on_page test with the string arguments
PHPBB3-14971
2017-01-08 23:09:36 +07:00
rxu
c98193a799 [ticket/14971] Fix pagination PHP warning on PHP 7.1
PHPBB3-14971
2017-01-08 22:16:40 +07:00
Marc Alexander
40985de245 [ticket/14967] Add cookie notice migration fixing invalid previous one
PHPBB3-14967
2017-01-08 10:48:30 +01:00
javiexin
988865fd0a [ticket/14950] Add possibility to delete a template block
Adds a new mode to alter_block_array to allow for the deletion of
a certain block of template variables.  The selection method is the
same as for the other modes for alter_block_array.  The passed in
vararray is ignored, and an out of bounds index is considered an error.
Added tests for the new function, fixed.

PHPBB3-14950
2017-01-08 01:35:18 +01:00
javiexin
7f8dd6b007 [ticket/14950] Add possibility to delete a template block
Adds a new mode to alter_block_array to allow for the deletion of
a certain block of template variables.  The selection method is the
same as for the other modes for alter_block_array.  The passed in
vararray is ignored, and an out of bounds index is considered an error.
Added tests for the new function, fixed.

PHPBB3-14950
2017-01-08 01:19:22 +01:00
javiexin
696724ac1b [ticket/14950] Add possibility to delete a template block
Adds a new mode to alter_block_array to allow for the deletion of
a certain block of template variables.  The selection method is the
same as for the other modes for alter_block_array.  The passed in
vararray is ignored, and an out of bounds index is considered an error.
Added tests for the new function, fixed.

PHPBB3-14950
2017-01-08 00:59:26 +01:00
javiexin
20c03cccdd [ticket/14944] Add possibility to search for template loop indexes by key
Adds a new function to the template interface, and implements it in the
context class.  The function returns the ordinal index for a specified key,
with the same structure that the key for alter_block_array.
Reuses same code. Remove unneeded references, do nothing for int keys.
Check out of bounds or wrong blockname errors.  Added tests.

PHPBB3-14944
2017-01-08 00:00:47 +01:00
javiexin
9b2b9dd9de [ticket/14950] Add possibility to delete a template block
Adds a new mode to alter_block_array to allow for the deletion of
a certain block of template variables.  The selection method is the
same as for the other modes for alter_block_array.  The passed in
vararray is ignored, and an out of bounds index is considered an error.
Added tests for the new function.

PHPBB3-14950
2017-01-07 22:47:26 +01:00
javiexin
76b3fbc006 [ticket/14943] Fix template loop access by index
Allows inserting elements in a loop specified as 'outer[3].inner'.
This was coded, but malfunctioning.  Name incorrectly set on insert.
Added more tests.

PHPBB3-14943
2017-01-07 20:12:32 +01:00
javiexin
c40642b827 [ticket/14943] Fix template loop access by index
Allows inserting elements in a loop specified as 'outer[3].inner'.
This was coded, but malfunctioning.  Name incorrectly set on insert.
Added tests.

PHPBB3-14943
2017-01-07 19:57:22 +01:00
Marc Alexander
385feb0a5d [3.2.x] Update development version to 3.2.1-dev 2017-01-07 17:19:35 +01:00
Marc Alexander
9e1ef9fad3 Merge branch 'prep-release-3.2.0' into 3.2.x 2017-01-07 17:04:28 +01:00
Marc Alexander
830a384988 [prep-release-3.2.0] Fix links to convertor 2017-01-07 16:16:24 +01:00
Marc Alexander
9bbd034a4e [prep-release-3.2.0] Correctly compare extensions version 2017-01-07 14:44:04 +01:00
Marc Alexander
da8ec61ab2 [prep-release-3.2.0] Update version numbers and add 3.2.0 migration 2017-01-07 11:48:15 +01:00
Marc Alexander
44f130808f Merge pull request #4618 from marc1706/ticket/14961
[ticket/14961] Add cookie notice as enablable feature
2017-01-07 00:20:18 +01:00
Marc Alexander
e096137537 Merge pull request #4620 from marc1706/ticket/14772
[ticket/14772] Use float to prevent pagination overwriting topic time
2017-01-07 00:18:40 +01:00
Marc Alexander
7074876f32 Merge pull request #4619 from Nicofuma/ticket/14962
[ticket/14962] Introduces a new helper to check emptyness of bbcode texts
2017-01-07 00:16:45 +01:00
Marc Alexander
538f03efb0 [ticket/14962] Fix functional test for editing post
PHPBB3-14962
2017-01-06 23:46:34 +01:00
Marc Alexander
ba82dfa49e [ticket/14772] Add rtl definition for .topic-poster and small margin
PHPBB3-14772
2017-01-06 22:36:35 +01:00
Marc Alexander
89f0e4d54f [ticket/14772] Use float to prevent pagination overwriting topic time
PHPBB3-14772
2017-01-06 22:27:11 +01:00
Tristan Darricau
f82299b8e4 [ticket/14962] Introduces a new helper to check emptyness of bbcode texts
PHPBB3-14962
2017-01-06 21:40:31 +01:00
Marc Alexander
166320ef9e Merge branch '3.1.x' into 3.2.x 2017-01-06 15:29:40 +01:00
Marc Alexander
9d7acd1897 Merge pull request #4613 from rxu/ticket/14958
[ticket/14958] Optimize Twig extension lang() function
2017-01-06 15:29:35 +01:00
Marc Alexander
f423c2803a Merge pull request #4617 from marc1706/ticket/14949
[ticket/14949] Pass full notification array and post data for updating
2017-01-06 13:53:39 +01:00
Marc Alexander
93ca17f07a Merge branch 'ticket/security-181' into ticket/security-181-rhea 2017-01-06 12:49:35 +01:00
Marc Alexander
1dea4625d0 [ticket/security-181] Update wording in INSTALL.html
SECURITY-181
2017-01-06 12:27:38 +01:00
Marc Alexander
743d3af3c5 [ticket/14961] Updated CREDITS.txt for cookie consent and removed subsilver2
PHPBB3-14961
2017-01-06 12:06:39 +01:00
Marc Alexander
91637f8070 Merge pull request #4608 from marc1706/ticket/14954
[ticket/14954] Properly check if topic has attachments in mcp_queue
2017-01-06 01:14:09 +01:00
Marc Alexander
70cf5ddf9d Merge pull request #4615 from marc1706/ticket/14946
[ticket/14946] Make sure to pass integers to max()
2017-01-06 01:12:39 +01:00
Marc Alexander
864953ebff Merge pull request #4616 from marc1706/ticket/14945
[ticket/14945] Parse signature preview with generate_text_for_display()
2017-01-06 01:06:06 +01:00
Marc Alexander
af4f477a1b [ticket/14961] Also translate "learn more" link
PHPBB3-14961
2017-01-06 01:04:14 +01:00
Marc Alexander
e0eeea800c [ticket/14961] Add cookie notice as enablable feature
Uses Insites cookieconsent v3.0.3:
https://cookieconsent.insites.com

PHPBB3-14961
2017-01-06 00:57:12 +01:00
Marc Alexander
0a68593dd2 [ticket/14949] Pass full notification array and post data for updating
PHPBB3-14949
2017-01-05 23:39:30 +01:00
Marc Alexander
0c6c94e527 Merge branch '3.1.x' into 3.2.x 2017-01-04 22:16:24 +01:00
Marc Alexander
77b3f36992 Merge pull request #4532 from senky/ticket/14662
[ticket/14662] Add memberlist_team_username_prepend/append
2017-01-04 22:15:37 +01:00
Marc Alexander
777a1ad916 [ticket/14945] Parse signature preview with generate_text_for_display()
PHPBB3-14945
2017-01-04 22:04:07 +01:00
Marc Alexander
cfa2bc534b Merge branch '3.1.x' into 3.2.x 2017-01-04 21:50:25 +01:00
Marc Alexander
a0abb1e10e Merge pull request #4600 from hubaishan/ticket/14549
[ticket/14549] fix mcp page redirect back after topic merge and rised warning
2017-01-04 21:47:21 +01:00
Marc Alexander
c6746ab3cd [ticket/14946] Make sure to pass integers to max()
PHPBB3-14946
2017-01-04 21:40:46 +01:00
Marc Alexander
24b02ad4d6 Merge pull request #4443 from Crizz0/ticket/14780
[ticket/14780] Correction to let group setting overwrite global PM setting
2017-01-04 21:07:32 +01:00
Marc Alexander
cae30929ea Merge branch '3.1.x' into 3.2.x 2017-01-04 20:31:45 +01:00
Marc Alexander
2f6993fa81 Merge pull request #4595 from DavidIQ/ticket/14941
[ticket/14941] Apply changes individually for MySQL fulltext search
2017-01-04 20:31:41 +01:00
Marc Alexander
655d40679d Merge pull request #4614 from marc1706/ticket/14838
[ticket/14838] Add missing method to mock'ed feed
2017-01-04 20:11:58 +01:00
Marc Alexander
b582a19039 [ticket/14838] Correctly instantiate language object
PHPBB3-14838
2017-01-04 19:47:10 +01:00
Marc Alexander
1db7aa712a [ticket/14838] Add missing method to mock'ed feed
PHPBB3-14838
2017-01-04 19:19:02 +01:00
rxu
49c19a267f [ticket/14958] Optimize Twig extension lang() function
PHPBB3-14958
2017-01-05 00:42:27 +07:00
Marc Alexander
c5ce0cd3c4 Merge pull request #4599 from VSEphpbb/ticket/14945
[ticket/14945] Fix bbcode flags in user sig previews
2017-01-04 17:48:52 +01:00
Marc Alexander
03be94c1f7 Merge branch '3.1.x' into 3.2.x 2017-01-04 17:44:11 +01:00
Marc Alexander
3d93fd40ed Merge pull request #4611 from marc1706/ticket/14838
[icket/14838] Do not query full attachments table in feeds
2017-01-04 17:44:07 +01:00
Marc Alexander
0da910df94 Merge branch '3.1.x' into 3.2.x 2017-01-04 17:29:56 +01:00
Marc Alexander
0926b360f7 Merge pull request #4610 from marc1706/ticket/14957-rhea
[ticket/14957] Do not cache database config entries -- Rhea version
2017-01-04 17:29:56 +01:00
Marc Alexander
f2c4bf176d Merge pull request #4609 from marc1706/ticket/14957
[ticket/14957] Do not cache database config entries
2017-01-04 17:29:50 +01:00
Marc Alexander
dd89a369f3 [ticket/14838] Remove obsolete overriding method
PHPBB3-14838
2017-01-04 17:16:36 +01:00
javiexin
92708b2905 [ticket/14950] Add possibility to delete a template block
Adds a new mode to alter_block_array to allow for the deletion of
a certain block of template variables.  The selection method is the
same as for the other modes for alter_block_array.  The passed in
vararray is ignored, and an out of bounds index is considered an error.

PHPBB3-14944
2017-01-04 00:36:23 +01:00
Marc Alexander
c0882c1d34 [ticket/14838] Add simple test for fetch_attachments method
PHPBB3-14838
2017-01-03 22:57:14 +01:00
Marc Alexander
7cad25e4cb [ticket/14838] Do not query full attachments table in feeds
The fetch_attachments() will also now throw a runtime exception if a feed
tries to do this nonetheless.

PHPBB3-14838
2017-01-03 22:56:42 +01:00
Marc Alexander
a4d67c55d9 [ticket/14957] Make sure config_php_file is set before injecting
PHPBB3-14957
2017-01-03 22:53:18 +01:00
Marc Alexander
9f149e345b Merge branch 'ticket/14957' into ticket/14957-rhea 2017-01-03 22:22:46 +01:00
Marc Alexander
ff411ee81b [ticket/14957] Do not use method return in write context
Fix for PHP 5.3.x compatibility.

PHPBB3-14957
2017-01-03 21:53:14 +01:00
Marc Alexander
072bf470fc Merge branch 'ticket/14957' into ticket/14957-rhea 2017-01-03 21:41:36 +01:00
Marc Alexander
14fd750b08 [ticket/14957] Do not cache database config entries
PHPBB3-14957
2017-01-03 21:29:30 +01:00
Marc Alexander
4c550c221b [ticket/14954] Properly check if topic has attachments in mcp_queue
PHPBB3-14954
2017-01-02 23:23:53 +01:00
Marc Alexander
56314f4c22 Merge pull request #4602 from Nicofuma/ticket/14947
[ticket/14947] Updates phpunit to 4.8
2017-01-02 22:52:16 +01:00
Tristan Darricau
2251816b10 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14953] Use ORDER_BY instead of incorrect ORDER for sql query
2017-01-02 22:47:47 +01:00
Tristan Darricau
bc96a9f1f6 Merge pull request #4607 from marc1706/ticket/14953
[ticket/14953] Use ORDER_BY instead of incorrect ORDER for sql query

* marc1706/ticket/14953:
  [ticket/14953] Use ORDER_BY instead of incorrect ORDER for sql query
2017-01-02 22:47:43 +01:00
Marc Alexander
7df7cfff33 [ticket/14953] Use ORDER_BY instead of incorrect ORDER for sql query
PHPBB3-14953
2017-01-02 22:39:40 +01:00
Marc Alexander
429225027e [ticket/14947] Create new webdriver instance for every test
PHPUnit seems to have emptied the webdriver between every test, which
causes curl errors. A new webdriver instance will now be created for
every test file. This does not cause a lot of overhead for ui tests.

PHPBB3-14947
2017-01-02 20:39:41 +01:00
javiexin
45ea013b11 [ticket/14943] Fix template loop access by index
Allows inserting elements in a loop specified as 'outer[3].inner'.
This was coded, but malfunctioning.  Name incorrectly set on insert.

PHPBB3-14943
2017-01-01 21:22:29 +01:00
rxu
3e5e8fd0e3 [ticket/13344] Add core event to acp/info/acp_logs.php
PHPBB3-13344
2017-01-01 23:38:01 +07:00
Tristan Darricau
e88aecd3b4 [ticket/14947] Updates phpunit to 4.8
$ composer update phpunit/phpunit --with-dependencies
Dependency "symfony/yaml" is also a root requirement, but is not explicitly whitelisted. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing sebastian/global-state (1.1.1)
    Loading from cache

  - Installing doctrine/instantiator (1.0.5)
    Loading from cache

  - Removing phpunit/phpunit-mock-objects (2.1.5)
  - Installing phpunit/phpunit-mock-objects (2.3.8)
    Loading from cache

  - Removing phpunit/php-file-iterator (1.3.4)
  - Installing phpunit/php-file-iterator (1.4.2)
    Loading from cache

  - Installing phpdocumentor/reflection-docblock (2.0.4)
    Downloading: 100%

  - Installing phpspec/prophecy (v1.6.2)
    Loading from cache

  - Removing phpunit/phpunit (4.1.6)
  - Installing phpunit/phpunit (4.8.31)
    Downloading: 100%

sebastian/global-state suggests installing ext-uopz (*)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpdocumentor/reflection-docblock suggests installing erusev/parsedown (~1.0)
Writing lock file
Generating autoload files
> echo 'You MUST manually modify the clean-vendor-dir target in build/build.xml when adding or upgrading dependencies.'
You MUST manually modify the clean-vendor-dir target in build/build.xml when adding or upgrading dependencies.

PHPBB3-14947
2016-12-30 21:58:38 +01:00
javiexin
9658ecae8b [ticket/14938] Inconsistency in ext_mgr all_available vs is_available
Made is_available much more strict, in line with the checks in all_available
Refactor all_available to use is_available, saving duplicate code.

PHPBB3-14938
2016-12-30 21:50:04 +01:00
javiexin
d6771d6a7f [ticket/14849] Add core.acp_extensions_run_action
Moved the event to a slightly modified position.
Added an extra variable to the event.
Additional event to be run after the execution of the action in ACP.
Added a new action to allow for extension execution control.

PHPBB-14849
2016-12-30 21:43:15 +01:00
javiexin
c656bd60ef [ticket/14944] Add possibility to search for template loop indexes by key
Adds a new function to the template interface, and implements it in the
context class.  The function returns the ordinal index for a specified key,
with the same structure that the key for alter_block_array.
Reuses same code. Remove unneeded references, do nothing for int keys.

PHPBB3-14944
2016-12-30 18:03:09 +01:00
Tristan Darricau
1f65f85b53 Merge branch '3.1.x' into 3.2.x 2016-12-30 10:21:17 +01:00
Tristan Darricau
4139e4f2b5 Merge pull request #4593 from javiexin/ticket/14940
[ticket/14940] Add ACP template event acp_ext_details_end
2016-12-30 10:21:00 +01:00
Tristan Darricau
739081b045 Merge branch '3.1.x' into 3.2.x 2016-12-30 10:04:35 +01:00
Tristan Darricau
3489780faa Merge pull request #4597 from javiexin/ticket/14943
[ticket/14943] Fix template loop access by index
2016-12-30 10:04:13 +01:00
Tristan Darricau
1f8f1b6286 Merge pull request #4596 from JoshyPHP/ticket/14914
[ticket/14914] Made emoji scale in size with text
2016-12-29 18:27:58 +01:00
Tristan Darricau
d5c063fd80 Merge pull request #4591 from marc1706/ticket/14934
[ticket/14934] Use bare PHP functions for checking for tmp dir
2016-12-29 18:18:53 +01:00
hubaishan
40bc4ac484 [ticket/14549] Correcting $redirect var to avoid the bug
by this correct $redirect will go to clean mcp page after merge

PHPBB3-14549
2016-12-29 13:11:19 +03:00
Marc Alexander
d63b644b2b Merge branch 'ticket/security-203' into ticket/security-203-rhea 2016-12-28 22:53:59 +01:00
Marc Alexander
442d21ace2 Merge branch '3.1.x' into 3.2.x 2016-12-28 22:23:52 +01:00
Marc Alexander
3ccaac488b Merge pull request #4531 from senky/ticket/14817
[ticket/14817] Add core.send_file_to_browser_before
2016-12-28 22:19:12 +01:00
Marc Alexander
c431dc0d04 Merge branch '3.1.x' into 3.2.x 2016-12-28 22:15:26 +01:00
Marc Alexander
19b018ece0 Merge pull request #4528 from senky/ticket/14468
[ticket/14468] Add forum_id to core.viewforum_modify_topics_data
2016-12-28 22:15:21 +01:00
Marc Alexander
8a7607964f Merge branch '3.1.x' into 3.2.x 2016-12-28 22:12:26 +01:00
Marc Alexander
54e31efcbc Merge pull request #4525 from senky/ticket/14119
[ticket/14119] Add core.user_unban
2016-12-28 22:11:45 +01:00
Matt Friedman
e31c895774 [ticket/14945] Send bbcode flags in user sig previews
PHPBB3-14945
2016-12-28 09:18:35 -08:00
javiexin
cff57f9076 [ticket/14944] Add possibility to search for template loop indexes by key
Adds a new function to the template interface, and implements it in the
context class.  The function returns the ordinal index for a specified key,
with the same structure that the key for alter_block_array.
Reuses same code.

PHPBB3-14944
2016-12-28 12:55:26 +01:00
javiexin
d9991bdaf1 [ticket/14943] Fix template loop access by index
Allows inserting elements in a loop specified as 'outer[3].inner'.
This was coded, but malfunctioning.

PHPBB3-14943
2016-12-28 12:37:53 +01:00
Jakub Senko
aa888fab34 [ticket/14557] Rename $offset to $subarray
PHPBB3-14557
2016-12-27 22:30:47 +01:00
Jakub Senko
1eb451d0d4 [ticket/14557] Don't return $value
PHPBB3-14557
2016-12-27 22:28:34 +01:00
JoshyPHP
f111e70fc3 [ticket/14914] Made emoji scale in size with text
PHPBB3-14914
2016-12-27 21:48:01 +01:00
David Colón
0fc1de279e [ticket/14941] Apply changes individually for MySQL fulltext search 2016-12-27 14:06:23 -05:00
Marc Alexander
90a77ba9d3 [ticket/security-203] Allow more characters for branch names
SECURITY-203
2016-12-27 18:18:20 +01:00
Marc Alexander
ad251e4590 [ticket/security-203] Do not add null values to versions info
Also stopped using reference for validate_versions() method argument.

SECURTIY-203
2016-12-27 18:12:18 +01:00
javiexin
87f82c404e [ticket/14940] Add ACP template event acp_ext_details_end
PHPBB3-14940
2016-12-27 02:07:46 +01:00
Marc Alexander
658820654f [ticket/security-203] Fully validate version check data in version helper
This will also take care of SECURITY-204 as it's the same underlying issue.
Admins still need to ensure they don't visit malicious sites for URLs
provided by extensions.

SECURITY-203
2016-12-26 22:01:51 +01:00
javiexin
efc2b46303 [ticket/14938] Inconsistency in ext_mgr all_available vs is_available
Made is_available much more strict, in line with the checks in all_available

PHPBB3-14938
2016-12-26 21:07:31 +01:00
Jakub Senko
60251cd623 [ticket/14557] Simplify updating overloaded events for extensions
PHPBB3-14557
2016-12-26 14:05:06 +01:00
Jakub Senko
fbcbd79d79 [ticket/14929] Add error to core.posting_modify_message_text
PHPBB3-14929
2016-12-26 13:32:31 +01:00
Marc Alexander
97b834c3ef [ticket/14934] Do not rely on open basedir being properly set
PHPBB3-14934
2016-12-25 23:01:28 +01:00
Marc Alexander
cb406258fe Merge branch '3.1.x' into 3.2.x 2016-12-25 15:52:38 +01:00
Marc Alexander
97a0f49be4 Merge pull request #4590 from marc1706/ticket/14923
[ticket/14923] Make sure start for queries is always set in migrations
2016-12-25 15:52:33 +01:00
Marc Alexander
c6aa4a319d [ticket/14934] Use bare PHP functions for checking for tmp dir
The symfony methods will cause PHP warnings being thrown.

PHPBB3-14934
2016-12-25 15:04:48 +01:00
javiexin
21803dc99b [ticket/14919] Do not directly use globals in acp_extensions
Declare all used variables (u_action, tpl_name, page_title). Fix typo.

PHPBB3-14919
2016-12-25 14:34:52 +01:00
Marc Alexander
27cf12f807 Merge branch '3.1.x' into 3.2.x 2016-12-25 11:57:56 +01:00
Marc Alexander
c127591d25 Merge pull request #4544 from dsinn/ticket/14882
[ticket/14882] Add core event to MCP after move post sync
2016-12-25 11:57:52 +01:00
Marc Alexander
9e6207add3 [ticket/14923] Make sure start for queries is always set in migrations
PHPBB3-14923
2016-12-25 11:51:38 +01:00
Máté Bartus
d8348f8a5e Merge pull request #4582 from marc1706/ticket/14920
[ticket/14920] Force installer to only populate core migrations
2016-12-24 12:52:53 +01:00
Daniel Sinn
aa84ea8e5d [ticket/14882] Correct type of topic_id for function_admin's move_posts events
PHPBB3-14882
2016-12-20 16:46:50 -05:00
Marc Alexander
869e6a9a88 Merge branch '3.1.x' into 3.2.x 2016-12-20 20:27:38 +01:00
Marc Alexander
2d742beb92 Merge pull request #4580 from javiexin/ticket/14918
[ticket/14918] Simplify access to extension version metadata information
2016-12-20 20:27:34 +01:00
javiexin
84d2d767b9 [ticket/14919] Do not directly use globals in acp_extensions
Declare all used variables (u_action, tpl_name, page_title).

PHPBB3-14919
2016-12-19 15:51:43 +01:00
Jakub Senko
5f6fa321ef [ticket/14817] Add core.send_file_to_browser_before
PHPBB3-14817
2016-12-18 21:19:31 +01:00
Jakub Senko
cc42c09a95 [ticket/14662] Add memberlist_team_username_prepend/append
PHPBB3-14662
2016-12-18 21:15:36 +01:00
Marc Alexander
7d3300f99d Merge branch '3.1.x' into 3.2.x 2016-12-18 21:10:25 +01:00
Marc Alexander
ea51dc25c1 Merge pull request #4538 from senky/ticket/14874
[ticket/14874] Increase size of emotion
2016-12-18 21:10:20 +01:00
Marc Alexander
58e4ec68b6 Merge branch '3.1.x' into 3.2.x 2016-12-18 21:07:23 +01:00
Marc Alexander
0f000aff0d Merge pull request #4536 from senky/ticket/13845
[ticket/13845] Add core.ucp_profile_avatar_sql
2016-12-18 21:07:19 +01:00
Marc Alexander
2c9da5ad47 Merge branch '3.1.x' into 3.2.x 2016-12-18 21:01:18 +01:00
Marc Alexander
445a8be895 Merge pull request #4535 from senky/ticket/14331
[ticket/14331] Add core.get_user_rank_after
2016-12-18 21:01:14 +01:00
Marc Alexander
60af11da9d Merge branch '3.1.x' into 3.2.x 2016-12-18 20:50:38 +01:00
Marc Alexander
956c7186ec Merge pull request #4534 from senky/ticket/14522
[ticket/14522] Add ucp_register_buttons_before
2016-12-18 20:49:53 +01:00
Marc Alexander
bef0b15dbd Merge branch '3.1.x' into 3.2.x 2016-12-18 20:47:46 +01:00
Marc Alexander
47e7cd7194 Merge pull request #4533 from senky/ticket/14524
[ticket/14524] Add core.ucp_register_requests_after
2016-12-18 20:47:41 +01:00
Marc Alexander
d3fb01d8f7 Merge branch '3.1.x' into 3.2.x 2016-12-18 20:40:46 +01:00
Marc Alexander
48659c2ce1 Merge pull request #4586 from Crizz0/ticket/14770
[ticket/14770] Reduce plupload resize quality
2016-12-18 20:40:42 +01:00
Marc Alexander
fd19ef7598 Merge pull request #4585 from VSEphpbb/ticket/14925
[ticket/14925] Set reparser names in service definitions
2016-12-18 19:33:42 +01:00
Máté Bartus
f84c3687cc Merge branch '3.1.x' into 3.2.x 2016-12-18 19:08:26 +01:00
Máté Bartus
aa6c2fae5c Merge pull request #4587 from marc1706/ticket/14922
[ticket/14922] Make sure to pass hidden input on ajax form submissions
2016-12-18 19:06:56 +01:00
Matt Friedman
76e9f4dd2d [ticket/14925] Prefix modes from reparser with text_reparser
PHPBB3-14925
2016-12-18 09:12:26 -08:00
Marc Alexander
909aef0ed3 Merge branch '3.1.x' into 3.2.x 2016-12-18 16:22:59 +01:00
Marc Alexander
0e68c35cfd Merge pull request #4577 from Crizz0/ticket/14877
[ticket/14877] Replaces "mono" with "monospace" to avoid bad behaviour
2016-12-18 16:22:54 +01:00
Marc Alexander
7ec24ec0f6 Merge pull request #4575 from Crizz0/ticket/14909
[ticket/14909] Increases CSS specifity of .header-image to avoid unde…
2016-12-18 15:46:52 +01:00
Crizzo
71f82f2615 [ticket/14770] Decreases quality to 85, changes test to 85, too
PHPBB3-14770
2016-12-18 15:31:58 +01:00
Marc Alexander
573507e6a5 [ticket/14922] Make sure to pass hidden input on ajax form submissions
PHPBB3-14922
2016-12-18 15:18:52 +01:00
Crizzo
853362ddad [ticket/14770] Reduce plupload resize quality
PHPBB3-14770
2016-12-18 14:12:03 +01:00
Marc Alexander
a73c7398f3 Merge pull request #4583 from marc1706/ticket/14921
[ticket/14921] Use phpbb.com URL to prevent test failures for remote URLs
2016-12-18 10:44:14 +01:00
Matt Friedman
b4748a5d1e [ticket/14925] Set reparser names in service definitions
PHPBB3-14925
2016-12-18 01:28:51 -08:00
Jakub Senko
ea73920261 [ticket/14468] Add forum_id to core.viewforum_modify_topics_data
PHPBB3-14468
2016-12-18 09:39:00 +01:00
Marc Alexander
5ecd9fb775 Merge branch '3.1.x' into 3.2.x 2016-12-17 23:39:03 +01:00
Marc Alexander
b6ea338309 Merge pull request #4529 from senky/ticket/14520
[ticket/14520] Add ucp_pm_viewmessage_options_before
2016-12-17 23:38:56 +01:00
Marc Alexander
de6942e117 [ticket/14921] Use phpbb.com URL to prevent test failures for remote URLs
PHPBB3-14921
2016-12-17 23:29:19 +01:00
Marc Alexander
1846b90a33 [ticket/14920] Force installer to only populate core migrations
PHPBB3-14920
2016-12-17 23:20:56 +01:00
javiexin
b20d98a229 [ticket/14919] Do not directly use globals in acp_extensions
PHPBB3-14919
2016-12-17 22:27:44 +01:00
Jakub Senko
a03cec5b8d [ticket/14119] Add core.user_unban
PHPBB3-14119
2016-12-17 21:56:23 +01:00
Marc Alexander
544c7c4e08 Merge branch '3.1.x' into 3.2.x 2016-12-17 16:41:38 +01:00
Marc Alexander
fadec0d2b9 Merge pull request #4527 from senky/ticket/14390
[ticket/14390] Add ucp_main_front_user_activity_append/prepend
2016-12-17 16:40:17 +01:00
Marc Alexander
b1e4b232b9 Merge branch '3.1.x' into 3.2.x 2016-12-17 16:26:44 +01:00
Marc Alexander
3c223b3a5d Merge pull request #4526 from senky/ticket/14239
[ticket/14239] Add core.ucp_remind_modify_select_sql
2016-12-17 16:20:29 +01:00
Marc Alexander
63f222ca90 Merge branch '3.1.x' into 3.2.x 2016-12-17 15:57:51 +01:00
Marc Alexander
daee389e53 Merge pull request #4518 from senky/ticket/14870
[ticket/14870] Add events to ucp_pm_viewfolder:get_pm_from
2016-12-17 15:55:24 +01:00
javiexin
aad13389ce [ticket/14849] Add core.acp_extensions_run_action_after
Additional event to be run after the execution of the action in ACP.
Adding missing var as input to event.

PHPBB-14849
2016-12-16 20:40:28 +01:00
javiexin
620d033e06 [ticket/14849] Add core.acp_extensions_run_action_after
Additional event to be run after the execution of the action in ACP

PHPBB-14849
2016-12-16 15:05:22 +01:00
javiexin
fe79705e99 [ticket/14918] Simplify access to extension version metadata information
PHPBB3-14918
2016-12-16 13:46:42 +01:00
Jakub Senko
90b7d1fbda [ticket/14870] Add events to ucp_pm_viewfolder:get_pm_from
PHPBB3-14870
2016-12-16 12:23:21 +01:00
Jakub Senko
df96351244 [ticket/14239] Add core.ucp_remind_modify_select_sql
PHPBB3-14239
2016-12-13 11:26:45 +01:00
Marc Alexander
37eb22a61d Merge branch '3.1.x' into 3.2.x 2016-12-12 22:09:21 +01:00
Marc Alexander
5235e6de53 Merge pull request #4520 from senky/ticket/14868
[ticket/14868] Add mcp_forum_actions_options template event
2016-12-12 22:07:59 +01:00
Jakub Senko
7e2d544016 [ticket/14874] Increase size of emotion
PHPBB3-14874
2016-12-12 19:44:41 +01:00
javiexin
aae6341989 [ticket/14849] Add core.acp_extensions_run_action
Moved the event to a slightly modified position to perform common
checks before calling the event, added an extra variable to allow
execution control, honor the extension modified value of u_action
(if any)

PHPBB-14849
2016-12-11 21:15:30 +01:00
Tristan Darricau
b7597a347b Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14887] ACP profile step one lang specific event
2016-12-11 20:43:39 +01:00
Tristan Darricau
8eda17f430 Merge pull request #4567 from javiexin/ticket/14887
[ticket/14887] ACP profile step one lang specific event

* javiexin/ticket/14887:
  [ticket/14887] ACP profile step one lang specific event
2016-12-11 20:43:37 +01:00
Tristan Darricau
809d73ca5e Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14889] Missing method in profile fields type interface
2016-12-11 20:41:42 +01:00
Tristan Darricau
230e737790 Merge pull request #4558 from javiexin/ticket/14889
[ticket/14889] Missing method in profile fields type interface

* javiexin/ticket/14889:
  [ticket/14889] Missing method in profile fields type interface
2016-12-11 20:41:39 +01:00
Tristan Darricau
7d7aa9d119 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14893] Fix undefined variable on reporting PM notification
2016-12-11 20:28:24 +01:00
Tristan Darricau
08d169c109 Merge pull request #4561 from rxu/ticket/14893
[ticket/14893] Fix undefined variable on reporting PM notification

* rxu/ticket/14893:
  [ticket/14893] Fix undefined variable on reporting PM notification
2016-12-11 20:28:21 +01:00
Tristan Darricau
3ed1104467 Merge pull request #4562 from rxu/ticket/14893-3.2.x
[ticket/14893] Fix undefined variable on reporting PM notification

* rxu/ticket/14893-3.2.x:
  [ticket/14893] Fix undefined variable on reporting PM notification
2016-12-11 20:26:43 +01:00
Tristan Darricau
8c9d6add2e Merge pull request #4564 from VSEphpbb/ticket/14895
[ticket/14895] CLI should use SymfonyStyle

* VSEphpbb/ticket/14895:
  [ticket/14895] Fix broken tests
  [ticket/14895] Fix issues in CLI classes
  [ticket/14895] Use SymfonyStyle in all CLI
  [ticket/14895] Use SymfonyIO styling
  [ticket/14895] CLI reparser:list should display proper list
2016-12-11 20:25:09 +01:00
Tristan Darricau
0cf85c047e Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14855] Update notification and PM alert bubbles
  [ticket/14855] Update notification and PM alert bubbles
  [ticket/14855] Update notification and PM alert bubbles
2016-12-11 20:16:25 +01:00
Tristan Darricau
e40afd8cd1 Merge pull request #4572 from javiexin/ticket/14855
[ticket/14855] Update notification and PM alert bubbles

* javiexin/ticket/14855:
  [ticket/14855] Update notification and PM alert bubbles
  [ticket/14855] Update notification and PM alert bubbles
  [ticket/14855] Update notification and PM alert bubbles
2016-12-11 20:11:17 +01:00
Tristan Darricau
27df2278ef Merge pull request #4570 from Derky/ticket/14901
[ticket/14901] Remove notice for extension without version check

* Derky/ticket/14901:
  [ticket/14901] Remove notice for extension without version check
2016-12-11 20:09:16 +01:00
Tristan Darricau
3ba8e7bda3 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14906] Delete redundant sig key in user_cache_data array
2016-12-11 19:51:56 +01:00
Tristan Darricau
ad3b7830b4 Merge pull request #4573 from rxu/ticket/14906
[ticket/14906] Delete redundant sig key in user_cache_data array

* rxu/ticket/14906:
  [ticket/14906] Delete redundant sig key in user_cache_data array
2016-12-11 19:51:53 +01:00
Tristan Darricau
bd6e5144dd Merge pull request #4576 from Crizz0/ticket/14910
[ticket/14910] Fixes typo PLease to Please in EXTENSION_NOT_INSTALLED

* Crizz0/ticket/14910:
  [ticket/14910] Fixes typo PLease to Please in EXTENSION_NOT_INSTALLED
2016-12-11 19:49:37 +01:00
Christian Schnegelberger
3a4f1bc061 [ticket/14877] Replaces "mono" with "monospace" to avoid bad behaviour
PHPBB3-14877
2016-12-11 18:02:20 +01:00
Marc Alexander
dbd003a0d1 Merge branch '3.1.x' into 3.2.x 2016-12-11 15:59:08 +01:00
Marc Alexander
96adf7f0d6 Merge pull request #4514 from senky/ticket/14759
[ticket/14759] Add core.mcp_main_modify_shadow_sql event
2016-12-11 15:58:12 +01:00
Christian Schnegelberger
a0adf07453 [ticket/14910] Fixes typo PLease to Please in EXTENSION_NOT_INSTALLED
PHPBB3-14910
2016-12-11 14:11:55 +01:00
Marc Alexander
04e68c092b Merge pull request #4574 from Crizz0/ticket/14908
[ticket/14908] Uses lang-variable instead of english text
2016-12-10 23:02:11 +01:00
Christian Schnegelberger
28296af248 [ticket/14909] Increases CSS specifity of .header-image to avoid underline
PHPBB3-14909
2016-12-10 22:07:47 +01:00
Christian Schnegelberger
dfe42e9603 [ticket/14908] Uses lang-variable instead of english text
PHPBB3-14908
2016-12-10 21:50:09 +01:00
rxu
7d5d5b0f06 [ticket/14906] Delete redundant sig key in user_cache_data array
PHPBB3-14906
2016-12-11 00:52:32 +07:00
javiexin
daae2147c8 [ticket/14855] Update notification and PM alert bubbles
Alternative implementation without removing notification from
the DOM, but changing the class.  So that style designers
might have more options (show/not show).
Fix tests better.

PHPBB3-14855
2016-12-10 18:09:31 +01:00
Marc Alexander
f7049bd0dc Merge branch '3.1.x' into 3.2.x 2016-12-10 13:37:56 +01:00
Marc Alexander
c084990a68 Merge pull request #4513 from senky/ticket/14760
[ticket/14760] Add core.mcp_main_modify_fork_sql event
2016-12-10 13:37:52 +01:00
javiexin
41b3450f2f [ticket/14855] Update notification and PM alert bubbles
Alternative implementation without removing notification from
the DOM, but changing the class.  So that style designers
might have more options (show/not show).
Fix tests.

PHPBB3-14855
2016-12-10 11:41:11 +01:00
javiexin
959e5fb79d [ticket/14855] Update notification and PM alert bubbles
Alternative implementation without removing notification from
the DOM, but changing the class.  So that style designers
might have more options (show/not show).

PHPBB3-14855
2016-12-10 00:51:41 +01:00
Marc Alexander
cff3dbf00e [3.2.x] Update version numbers to 3.2.0-RC3-dev 2016-12-10 00:32:41 +01:00
Marc Alexander
886ec98dc7 Merge branch 'prep-release-3.2.0-RC2' into 3.2.x 2016-12-10 00:25:58 +01:00
Derky
a2793f24b1 [ticket/14901] Remove notice for extension without version check
Extensions without version check should not display a notice on the
details page in the ACP.

PHPBB3-14901
2016-12-09 20:03:00 +01:00
Matt Friedman
6a5b99b12b [ticket/14895] Fix broken tests
PHPBB3-14895
2016-12-08 16:49:50 -08:00
Matt Friedman
cbf6d71f68 [ticket/14895] Fix issues in CLI classes
PHPBB3-14895
2016-12-08 14:25:09 -08:00
Matt Friedman
b17fa7dfa5 [ticket/14895] Use SymfonyStyle in all CLI
PHPBB3-14895
2016-12-08 14:24:02 -08:00
javiexin
76ffd288fe [ticket/14887] ACP profile step one lang specific event
PHPBB3-14887
2016-12-08 12:16:07 +01:00
Matt Friedman
d275fefc69 [ticket/14895] Use SymfonyIO styling
PHPBB3-14895
2016-12-07 23:49:54 -08:00
Matt Friedman
74cd513a88 [ticket/14895] CLI reparser:list should display proper list
PHPBB3-14895
2016-12-07 10:13:09 -08:00
rxu
800411e514 [ticket/14893] Fix undefined variable on reporting PM notification
PHPBB3-14893
2016-12-07 00:40:21 +07:00
rxu
fd95da909a [ticket/14893] Fix undefined variable on reporting PM notification
PHPBB3-14893
2016-12-07 00:38:45 +07:00
javiexin
47e418e50e [ticket/14889] Missing method in profile fields type interface
Completes the profile fields type interface by defining a missing
required method for all implementations of a type.

PHPBB3-14889
2016-12-05 01:07:43 +01:00
Jakub Senko
839987fa19 [ticket/14868] Add mcp_forum_actions_options template event
PHPBB3-14868
2016-12-04 17:24:19 +01:00
Daniel Sinn
78ff392b64 [ticket/14882] Add core event to MCP after move post sync
PHPBB3-14882
2016-11-29 13:34:28 -05:00
Jakub Senko
e9d8425f15 [ticket/13845] Add core.ucp_profile_avatar_sql
PHPBB3-13845
2016-11-21 23:03:21 +01:00
Jakub Senko
4dcd2351ea [ticket/14331] Add core.get_user_rank_after
PHPBB3-14331
2016-11-21 16:51:42 +01:00
Jakub Senko
255368843c [ticket/14522] Add ucp_register_buttons_before
PHPBB3-14522
2016-11-21 16:45:56 +01:00
Jakub Senko
619d323dd1 [ticket/14524] Add core.ucp_register_requests_after
PHPBB3-14524
2016-11-21 16:41:20 +01:00
Jakub Senko
8e3a38e80d [ticket/14520] Add ucp_pm_viewmessage_options_before
PHPBB3-14520
2016-11-20 19:02:06 +01:00
Jakub Senko
34cfa5f885 [ticket/14390] Add ucp_main_front_user_activity_append/prepend
PHPBB3-14390
2016-11-20 18:53:59 +01:00
Jakub Senko
2f1d2e847e [ticket/13429] Fix @change tags without description
PHPBB3-13429
2016-11-20 18:47:19 +01:00
Jakub Senko
c2836725f9 [ticket/13429] Replace @changed with @change in event docblocks
PHPBB3-13429
2016-11-20 17:58:59 +01:00
Jakub Senko
114cfe2c27 [ticket/14760] Add core.mcp_main_modify_fork_sql event
PHPBB3-14760
2016-11-13 18:15:07 +01:00
Jakub Senko
36d4169768 [ticket/14759] Add core.mcp_main_modify_shadow_sql event
PHPBB3-14759
2016-11-13 17:48:53 +01:00
Marc Alexander
78c2e31ec2 [ticket/security-181] Add .htaccess to 3.2.x migrations
SECURITY-181
2016-11-13 12:29:31 +01:00
Marc Alexander
a2953cb10c Merge branch 'ticket/security-181' into ticket/security-181-rhea 2016-11-13 12:29:28 +01:00
Marc Alexander
44dd1ef984 [ticket/security-181] Update INSTALL.html to ask for more secure apache config
SECURITY-181
2016-11-13 12:26:35 +01:00
Marc Alexander
7ba9b06881 [ticket/security-181] Port .htaccess changes to other webserver types
SECURITY-181
2016-11-13 11:50:23 +01:00
Marc Alexander
61683f895c [ticket/security-181] Deny access to migrations folders
SECURITY-181
2016-11-13 11:43:17 +01:00
Crizzo
29b1b95226 [ticket/14780] Only use $max_setting in this function
PHPBB3-14780
2016-09-15 22:44:34 +02:00
Crizzo
53ead1e926 [ticket/14780] Fixes array with exspected results in test-function
PHPBB3-14780
2016-09-15 21:58:21 +02:00
Crizzo
b9761f116d [ticket/14780] Correct if sentence to let group setting overwrite global
PHPBB3-14780
2016-09-12 21:17:58 +02:00
618 changed files with 15462 additions and 4413 deletions

143
.appveyor.yml Normal file
View File

@@ -0,0 +1,143 @@
build: false
clone_folder: c:\projects\phpbb
version: '{build}'
services:
- iis
environment:
matrix:
- db: mssql
db_version: sql2012sp1
php: 7.0
- db: mssql
db_version: sql2014
php: 7.0
- db: mssql
db_version: sql2016
php: 7.1.12
# - db: mssql
# db_version: sql2017
# php: 7.1
# - db: mariadb
# php: 7.1
# - db: mysqli
# php: 7.1
# - db: sqlite
# php: 7.1
# - db: postgresql
# php: 7.1
hosts:
phpbb.test: 127.0.0.1
init:
- SET PATH=%systemroot%\system32\inetsrv\;C:\Program Files\OpenSSL;C:\tools\php;c:\php;%PATH%
- SET ANSICON=121x90 (121x90)
- REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 1 /f
before_test:
- ps: |
Set-Service wuauserv -StartupType Manual
cinst -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $env:php | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','')
Get-ChildItem -Path "c:\tools\php$($env:php -replace '([0-9])[.]([0-9])[.]?([0-9]+)?','$1$2')" -Recurse |
Move-Item -destination "c:\tools\php"
cd c:\tools\php
cat php.ini-development | %{$_ -replace "memory_limit = 128M","memory_limit = 1024M"} | Out-File -Encoding "Default" php.ini
Add-Content php.ini "`n date.timezone=UTC"
Add-Content php.ini "`n display_errors=On"
Add-Content php.ini "`n extension_dir=ext"
Add-Content php.ini "`n extension=php_openssl.dll"
Add-Content php.ini "`n extension=php_mbstring.dll"
Add-Content php.ini "`n extension=php_curl.dll"
Add-Content php.ini "`n extension=php_gd2.dll"
Add-Content php.ini "`n extension=php_tidy.dll"
Add-Content php.ini "`n extension=php_fileinfo.dll"
Add-Content php.ini "`n extension=php_pdo_sqlite.dll"
Add-Content php.ini "`n extension=php_sqlite3.dll"
Add-Content php.ini "`n extension=php_pdo_mysql.dll"
Add-Content php.ini "`n extension=php_mysqli.dll"
Add-Content php.ini "`n extension=php_pdo_pgsql.dll"
Add-Content php.ini "`n extension=php_pgsql.dll"
# Get MSSQL driver
if ($env:db -eq "mssql") {
cd c:\tools\php\ext
$DLLVersion = "4.1.6.1"
appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/sqlsrv/$($:DLLVersion)/php_sqlsrv-$($DLLVersion)-$($env:php -replace '([0-9])[.]([0-9])[.]?([0-9]+)?','$1.$2')-nts-vc14-x64.zip
7z x -y php_sqlsrv-$($DLLVersion)-$($env:php -replace '([0-9])[.]([0-9])[.]?([0-9]+)?','$1.$2')-nts-vc14-x64.zip > $null
appveyor-retry appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/$($DLLVersion)/php_pdo_sqlsrv-$($DLLVersion)-$($env:php -replace '([0-9])[.]([0-9])[.]?([0-9]+)?','$1.$2')-nts-vc14-x64.zip
7z x -y php_pdo_sqlsrv-$($DLLVersion)-$($env:php -replace '([0-9])[.]([0-9])[.]?([0-9]+)?','$1.$2')-nts-vc14-x64.zip > $null
Remove-Item c:\tools\php\* -include .zip
cd c:\tools\php
Add-Content php.ini "`nextension=php_sqlsrv.dll"
Add-Content php.ini "`nextension=php_pdo_sqlsrv.dll"
Add-Content php.ini "`n"
$instanceName = $env:db_version.ToUpper()
Start-Service "MSSQL`$$instanceName"
Set-Variable -Name "sqlServerPath" -Value "(local)\$($env:db_version.ToUpper())"
# Create database write test config
sqlcmd -S $sqlServerPath -Q "Use [master]; CREATE DATABASE [phpbb_test] COLLATE Latin1_General_CI_AS"
$data = "<?php`n`n`$dbms = 'phpbb\\db\\driver\\mssqlnative';`n`$dbhost = '.\\$env:db_version';`n`$dbport = '';`n`$dbname = 'phpbb_test';`n`$dbuser = 'sa';`n`$dbpasswd = 'Password12!';`n`$phpbb_functional_url = 'http://phpbb.test/';"; $data | Out-File -Encoding "Default" "c:\\projects\\phpbb\\tests\\test_config.php"
}
elseif ($env:db -eq "mysqli") {
Start-Service MySQL57
$env:MYSQL_PWD="Password12!"
$cmd = '"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -e "create database phpbb_test;" --user=root'
iex "& $cmd"
$data = "<?php`n`n`$dbms = 'phpbb\\db\\driver\\mysqli';`n`$dbhost = 'localhost';`n`$dbport = '';`n`$dbname = 'phpbb_test';`n`$dbuser = 'root';`n`$dbpasswd = 'Password12!';`n`$phpbb_functional_url = 'http://phpbb.test/';"; $data | Out-File -Encoding "Default" "c:\\projects\\phpbb\\tests\\test_config.php"
}
elseif ($env:db -eq "postgresql") {
Start-Service postgresql-x64-9.5
$env:PGUSER="postgres"
$env:PGPASSWORD="Password12!"
$Env:Path="C:\Program Files\PostgreSQL\9.6\bin\;$($Env:Path)"
createdb phpbb_test
$data = "<?php`n`n`$dbms = 'phpbb\\db\\driver\\postgres';`n`$dbhost = 'localhost';`n`$dbport = '';`n`$dbname = 'phpbb_test';`n`$dbuser = 'postgres';`n`$dbpasswd = 'Password12!';`n`$phpbb_functional_url = 'http://phpbb.test/';"; $data | Out-File -Encoding "Default" "c:\\projects\\phpbb\\tests\\test_config.php"
}
elseif ($env:db -eq "mariadb") {
appveyor-retry cinst -y --force mariadb
$env:MYSQL_PWD=""
$cmd = '"C:\Program Files\MariaDB 10.2\bin\mysql" -e "create database phpbb_test;" --user=root'
iex "& $cmd"
$data = "<?php`n`n`$dbms = 'phpbb\\db\\driver\\mysqli';`n`$dbhost = 'localhost';`n`$dbport = '';`n`$dbname = 'phpbb_test';`n`$dbuser = 'root';`n`$dbpasswd = '';`n`$phpbb_functional_url = 'http://phpbb.test/';"; $data | Out-File -Encoding "Default" "c:\\projects\\phpbb\\tests\\test_config.php"
}
elseif ($env:db -eq "sqlite") {
# install sqlite
appveyor-retry cinst -y sqlite
sqlite3 c:\projects\test.db "create table aTable(field1 int); drop table aTable;"
$data = "<?php`n`n`$dbms = 'phpbb\\db\\driver\\sqlite3';`n`$dbhost = 'c:\\projects\\test.db';`n`$dbport = '';`n`$dbname = '';`n`$dbuser = '';`n`$dbpasswd = '';`n`$phpbb_functional_url = 'http://phpbb.test/';"; $data | Out-File -Encoding "Default" "c:\\projects\\phpbb\\tests\\test_config.php"
}
# Install PhantomJS
cinst -y phantomjs
Start-Process "phantomjs" "--webdriver=8910" | Out-Null
- ps: |
cd c:\projects\phpbb\phpBB
(Get-Content c:\projects\phpbb\phpBB\web.config).replace("<configuration>", "<configuration>`n`t<system.web>`n`t`t<customErrors mode=`"Off`"/>`n`t</system.web>") | Set-Content c:\projects\phpbb\phpBB\web.config
(Get-Content c:\projects\phpbb\phpBB\web.config).replace("`t</system.webServer>", "`t`t<httpErrors errorMode=`"Detailed`" />`n`t</system.webServer>") | Set-Content c:\projects\phpbb\phpBB\web.config
- cd c:\projects\phpbb\phpBB
- php ..\composer.phar install
- choco install -y urlrewrite
- ps: New-WebSite -Name 'phpBBTest' -PhysicalPath 'c:\projects\phpbb\phpBB' -Force
- ps: Import-Module WebAdministration; Set-ItemProperty 'IIS:\Sites\phpBBTest' -name Bindings -value @{protocol='http';bindingInformation='*:80:phpbb.test'}
- echo Change default anonymous user AUTH to ApplicationPool
- appcmd set config -section:anonymousAuthentication /username:"" --password
- echo Setup FAST-CGI configuration
- appcmd set config /section:system.webServer/fastCGI /+[fullPath='C:\tools\php\php-cgi.exe']
- echo Setup FACT-CGI handler
- appcmd set config /section:system.webServer/handlers /+[name='PHP-FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='C:\tools\php\php-cgi.exe',resourceType='Either']
- iisreset
- NET START W3SVC
- mkdir "C:\projects\phpbb\phpBB\cache\test"
- mkdir "C:\projects\phpbb\phpBB\cache\installer"
- icacls "C:\projects\phpbb\phpBB\cache" /grant Users:F /T
- icacls "C:\projects\phpbb\phpBB\files" /grant Users:F /T
- icacls "C:\projects\phpbb\phpBB\store" /grant Users:F /T
- icacls "C:\projects\phpbb\phpBB\images\avatars\upload" /grant Users:F /T
test_script:
- cd c:\projects\phpbb
- php -e phpBB\vendor\phpunit\phpunit\phpunit --verbose

View File

@@ -1,9 +1,9 @@
Checklist:
- [ ] Correct branch: master for new features; 3.2.x, 3.1.x for fixes
- [ ] Correct branch: master for new features; 3.2.x for fixes
- [ ] Tests pass
- [ ] Code follows coding guidelines: [master / 3.2.x](https://area51.phpbb.com/docs/master/coding-guidelines.html), [3.1.x](https://area51.phpbb.com/docs/31x/coding-guidelines.html)
- [ ] Commit follows commit message [format](https://wiki.phpbb.com/Git#Commit_Messages)
- [ ] Code follows coding guidelines: [master](https://area51.phpbb.com/docs/dev/master/development/coding_guidelines.html) and [3.2.x](https://area51.phpbb.com/docs/dev/3.2.x/development/coding_guidelines.html)
- [ ] Commit follows commit message [format](https://area51.phpbb.com/docs/dev/3.2.x/development/git.html)
Tracker ticket (set the ticket ID to **your ticket ID**):

View File

@@ -1,4 +1,6 @@
language: php
sudo: required
dist: precise
matrix:
include:
@@ -24,12 +26,11 @@ matrix:
env: DB=mysqli
- php: 7.1
env: DB=mysqli
- php: 7.2
env: DB=mysqli
- php: nightly
env: DB=mysqli
- php: hhvm
env: DB=mysqli
allow_failures:
- php: hhvm
- php: nightly
fast_finish: true
@@ -49,6 +50,6 @@ script:
- travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
- travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION $NOTESTS ./
- sh -c "if [ '$SLOWTESTS' != '1' -a '$DB' = 'mysqli' ]; then phpBB/vendor/bin/phpunit tests/lint_test.php; fi"
- sh -c "if [ '$NOTESTS' != '1' -a '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml; fi"
- sh -c "if [ '$NOTESTS' != '1' -a '$SLOWTESTS' != '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --verbose --stop-on-error; fi"
- sh -c "if [ '$SLOWTESTS' = '1' ]; then phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml --group slow; fi"
- sh -c "set -x;if [ '$NOTESTS' = '1' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi"
- sh -c "set -x;if [ '$NOTESTS' = '1' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git remote set-branches --add origin $TRAVIS_BRANCH && git fetch && git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..$TRAVIS_PULL_REQUEST_SHA; fi"

View File

@@ -20,7 +20,7 @@ To be able to run an installation from the repo (and not from a pre-built packag
1. [Create an account on phpBB.com](http://www.phpbb.com/community/ucp.php?mode=register)
2. [Create a ticket (unless there already is one)](http://tracker.phpbb.com/secure/CreateIssue!default.jspa)
3. Read our [Coding guidelines](https://wiki.phpbb.com/Coding_guidelines) and [Git Contribution Guidelines](http://wiki.phpbb.com/Git)
3. Read our [Coding guidelines](https://area51.phpbb.com/docs/dev/development/coding_guidelines.html) and [Git Contribution Guidelines](https://area51.phpbb.com/docs/dev/development/git.html)
4. Send us a pull request
## VAGRANT
@@ -29,11 +29,11 @@ Read our [Vagrant documentation](phpBB/docs/vagrant.md) to find out how to use V
## AUTOMATED TESTING
We have unit and functional tests in order to prevent regressions. You can view the bamboo continuous integration [here](http://bamboo.phpbb.com) or check our travis builds below:
We have unit and functional tests in order to prevent regressions. You can view the bamboo continuous integration [here](https://bamboo.phpbb.com) or check our travis builds below:
* [![Build Status](https://secure.travis-ci.org/phpbb/phpbb.png?branch=master)](http://travis-ci.org/phpbb/phpbb) **master** - Latest development version
* [![Build Status](https://secure.travis-ci.org/phpbb/phpbb.png?branch=3.2.x)](http://travis-ci.org/phpbb/phpbb) **3.2.x** - Development of version 3.2.x
* [![Build Status](https://secure.travis-ci.org/phpbb/phpbb.png?branch=3.1.x)](http://travis-ci.org/phpbb/phpbb) **3.1.x** - Development of version 3.1.x
* [![Build Status](https://travis-ci.org/phpbb/phpbb.svg?branch=master)](http://travis-ci.org/phpbb/phpbb)[![Build status](https://ci.appveyor.com/api/projects/status/8g98ybngd2f3axy1/branch/master?svg=true)](https://ci.appveyor.com/project/phpBB/phpbb/branch/master) **master** - Latest development version
* [![Build Status](https://travis-ci.org/phpbb/phpbb.svg?branch=3.2.x)](http://travis-ci.org/phpbb/phpbb)[![Build status](https://ci.appveyor.com/api/projects/status/8g98ybngd2f3axy1/branch/3.2.x?svg=true)](https://ci.appveyor.com/project/phpBB/phpbb/branch/3.2.x) **3.2.x** - Development of version 3.2.x
* [![Build Status](https://travis-ci.org/phpbb/phpbb.svg?branch=3.1.x)](http://travis-ci.org/phpbb/phpbb) **3.1.x** - Development of version 3.1.x
## LICENSE

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-RC2" />
<property name="prevversion" value="3.2.0-RC1" />
<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.1.8, 3.1.9, 3.1.10, 3.2.0-a1, 3.2.0-a2, 3.2.0-b1, 3.2.0-b2" />
<property name="newversion" value="3.2.3-RC1" />
<property name="prevversion" value="3.2.2" />
<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.1.8, 3.1.9, 3.1.10, 3.1.11, 3.1.12, 3.2.0-a1, 3.2.0-a2, 3.2.0-b1, 3.2.0-b2, 3.2.0-RC1, 3.2.0-RC2, 3.2.0, 3.2.1" />
<!-- no configuration should be needed beyond this point -->
<property name="oldversions" value="${olderversions}, ${prevversion}" />

View File

@@ -39,8 +39,8 @@ class build_package
$this->verbose = $verbose;
// Get last two entries
$_latest = $this->versions[sizeof($this->versions) - 1];
$_before = $this->versions[sizeof($this->versions) - 2];
$_latest = $this->versions[count($this->versions) - 1];
$_before = $this->versions[count($this->versions) - 2];
$this->locations = array(
'new_version' => dirname(dirname(__FILE__)) . '/phpBB/',

View File

@@ -33,7 +33,7 @@ echo "Now all three package types (patch, files, release) are built as well as t
// Go trough all versions making a diff if we even have old versions
// For phpBB 3.0.x we might choose a different update method, rendering the things below useless...
if (sizeof($package->old_packages))
if (count($package->old_packages))
{
chdir($package->locations['old_versions']);
@@ -76,7 +76,7 @@ if (sizeof($package->old_packages))
// Create Directories along the way?
$file = explode('/', $file);
// Remove filename portion
$file[sizeof($file)-1] = '';
$file[count($file)-1] = '';
chdir($dest_filename_dir);
foreach ($file as $entry)
@@ -169,7 +169,7 @@ if (sizeof($package->old_packages))
// Create Directories along the way?
$file = explode('/', $file);
// Remove filename portion
$file[sizeof($file)-1] = '';
$file[count($file)-1] = '';
chdir($dest_filename_dir . '/install/update/old');
foreach ($file as $entry)
@@ -214,7 +214,7 @@ if (sizeof($package->old_packages))
// Create Directories along the way?
$file = explode('/', $file);
// Remove filename portion
$file[sizeof($file)-1] = '';
$file[count($file)-1] = '';
chdir($dest_filename_dir . '/install/update/new');
foreach ($file as $entry)
@@ -321,7 +321,7 @@ $update_info = array(
\'version\' => array(\'from\' => \'' . str_replace('_to_', '', $package->old_packages[$_package_name]) . '\', \'to\' => \'' . $package->get('new_version_number') . '\'),
';
if (sizeof($file_contents['all']))
if (count($file_contents['all']))
{
$index_contents .= "\t'files' => array(\n\t\t'" . implode("',\n\t\t'", $file_contents['all']) . "',\n\t),\n";
}
@@ -330,7 +330,7 @@ $update_info = array(
$index_contents .= "\t'files' => array(),\n";
}
if (sizeof($file_contents['binary']))
if (count($file_contents['binary']))
{
$index_contents .= "\t'binary' => array(\n\t\t'" . implode("',\n\t\t'", $file_contents['binary']) . "',\n\t),\n";
}
@@ -339,7 +339,7 @@ $update_info = array(
$index_contents .= "\t'binary' => array(),\n";
}
if (sizeof($file_contents['deleted']))
if (count($file_contents['deleted']))
{
$index_contents .= "\t'deleted' => array(\n\t\t'" . implode("',\n\t\t'", $file_contents['deleted']) . "',\n\t),\n";
}
@@ -380,7 +380,7 @@ $compress_programs = array(
'zip' => 'zip -r'
);
if (sizeof($package->old_packages))
if (count($package->old_packages))
{
// Build Patch Files
chdir($package->get('patch_directory'));

View File

@@ -1,292 +0,0 @@
#!/usr/bin/env php
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
function show_usage()
{
$filename = basename(__FILE__);
echo "$filename adds repositories of a github network as remotes to a local git repository.\n";
echo "\n";
echo "Usage: [php] $filename -s collaborators|organisation|contributors|forks [OPTIONS]\n";
echo "\n";
echo "Scopes:\n";
echo " collaborators Repositories of people who have push access to the specified repository\n";
echo " contributors Repositories of people who have contributed to the specified repository\n";
echo " organisation Repositories of members of the organisation at github\n";
echo " forks All repositories of the whole github network\n";
echo "\n";
echo "Options:\n";
echo " -s scope See description above (mandatory)\n";
echo " -u github_username Overwrites the github username (optional)\n";
echo " -r repository_name Overwrites the repository name (optional)\n";
echo " -m your_github_username Sets up ssh:// instead of git:// for pushable repositories (optional)\n";
echo " -d Outputs the commands instead of running them (optional)\n";
echo " -h This help text\n";
exit(1);
}
// Handle arguments
$opts = getopt('s:u:r:m:dh');
if (empty($opts) || isset($opts['h']))
{
show_usage();
}
$scope = get_arg($opts, 's', '');
$username = get_arg($opts, 'u', 'phpbb');
$repository = get_arg($opts, 'r', 'phpbb3');
$developer = get_arg($opts, 'm', '');
$dry_run = !get_arg($opts, 'd', true);
run(null, $dry_run);
exit(work($scope, $username, $repository, $developer));
function work($scope, $username, $repository, $developer)
{
// Get some basic data
$forks = get_forks($username, $repository);
$collaborators = get_collaborators($username, $repository);
if ($forks === false || $collaborators === false)
{
echo "Error: failed to retrieve forks or collaborators\n";
return 1;
}
switch ($scope)
{
case 'collaborators':
$remotes = array_intersect_key($forks, $collaborators);
break;
case 'organisation':
$remotes = array_intersect_key($forks, get_organisation_members($username));
break;
case 'contributors':
$remotes = array_intersect_key($forks, get_contributors($username, $repository));
break;
case 'forks':
$remotes = $forks;
break;
default:
show_usage();
}
if (file_exists('.git'))
{
add_remote($username, $repository, isset($collaborators[$developer]));
}
else
{
clone_repository($username, $repository, isset($collaborators[$developer]));
}
// Add private security repository for developers
if ($username == 'phpbb' && $repository == 'phpbb3' && isset($collaborators[$developer]))
{
run("git remote add $username-security " . get_repository_url($username, "$repository-security", true));
}
// Skip blessed repository.
unset($remotes[$username]);
foreach ($remotes as $remote)
{
add_remote($remote['username'], $remote['repository'], $remote['username'] == $developer);
}
run('git remote update');
}
function clone_repository($username, $repository, $pushable = false)
{
$url = get_repository_url($username, $repository, false);
run("git clone $url ./ --origin $username");
if ($pushable)
{
$ssh_url = get_repository_url($username, $repository, true);
run("git remote set-url --push $username $ssh_url");
}
}
function add_remote($username, $repository, $pushable = false)
{
$url = get_repository_url($username, $repository, false);
run("git remote add $username $url");
if ($pushable)
{
$ssh_url = get_repository_url($username, $repository, true);
run("git remote set-url --push $username $ssh_url");
}
}
function get_repository_url($username, $repository, $ssh = false)
{
$url_base = ($ssh) ? 'git@github.com:' : 'git://github.com/';
return $url_base . $username . '/' . $repository . '.git';
}
function api_request($query)
{
return api_url_request("https://api.github.com/$query?per_page=100");
}
function api_url_request($url)
{
$contents = file_get_contents($url, false, stream_context_create(array(
'http' => array(
'header' => "User-Agent: phpBB/1.0\r\n",
),
)));
$sub_request_result = array();
// Check headers for pagination links
if (!empty($http_response_header))
{
foreach ($http_response_header as $header_element)
{
// Find Link Header which gives us a link to the next page
if (strpos($header_element, 'Link: ') === 0)
{
list($head, $header_content) = explode(': ', $header_element);
foreach (explode(', ', $header_content) as $links)
{
list($url, $rel) = explode('; ', $links);
if ($rel == 'rel="next"')
{
// Found a next link, follow it and merge the results
$sub_request_result = api_url_request(substr($url, 1, -1));
}
}
}
}
}
if ($contents === false)
{
return false;
}
$contents = json_decode($contents);
if (isset($contents->message) && strpos($contents->message, 'API Rate Limit') === 0)
{
throw new RuntimeException('Reached github API Rate Limit. Please try again later' . "\n", 4);
}
return ($sub_request_result) ? array_merge($sub_request_result, $contents) : $contents;
}
function get_contributors($username, $repository)
{
$request = api_request("repos/$username/$repository/stats/contributors");
if ($request === false)
{
return false;
}
$usernames = array();
foreach ($request as $contribution)
{
$usernames[$contribution->author->login] = $contribution->author->login;
}
return $usernames;
}
function get_organisation_members($username)
{
$request = api_request("orgs/$username/public_members");
if ($request === false)
{
return false;
}
$usernames = array();
foreach ($request as $member)
{
$usernames[$member->login] = $member->login;
}
return $usernames;
}
function get_collaborators($username, $repository)
{
$request = api_request("repos/$username/$repository/collaborators");
if ($request === false)
{
return false;
}
$usernames = array();
foreach ($request as $collaborator)
{
$usernames[$collaborator->login] = $collaborator->login;
}
return $usernames;
}
function get_forks($username, $repository)
{
$request = api_request("repos/$username/$repository/forks");
if ($request === false)
{
return false;
}
$usernames = array();
foreach ($request as $fork)
{
$usernames[$fork->owner->login] = array(
'username' => $fork->owner->login,
'repository' => $fork->name,
);
}
return $usernames;
}
function get_arg($array, $index, $default)
{
return isset($array[$index]) ? $array[$index] : $default;
}
function run($cmd, $dry = false)
{
static $dry_run;
if (is_null($cmd))
{
$dry_run = $dry;
}
else if (!empty($dry_run))
{
echo "$cmd\n";
}
else
{
passthru(escapeshellcmd($cmd));
}
}

View File

@@ -329,42 +329,71 @@
<fieldset class="tabulated">
<legend>{L_TITLE}</legend>
<table class="table1 zebra-table fixed-width-table">
<thead>
<tr>
<th>{L_FILENAME}</th>
<th style="width: 15%;">{L_FILEDATE}</th>
<th style="width: 15%;">{L_FILESIZE}</th>
<th style="width: 15%;">{L_ATTACH_POST_ID}</th>
<th style="width: 15%;">{L_ATTACH_TO_POST}</th>
<th style="width: 15%;">{L_DELETE}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN orphan -->
<div class="pagination top-pagination">
<!-- IF .pagination or TOTAL_FILES -->
{L_NUMBER_FILES}{L_COLON} {TOTAL_FILES} &bull; {L_TOTAL_SIZE}{L_COLON} {TOTAL_SIZE}
<!-- IF .pagination -->
&bull; <!-- INCLUDE pagination.html -->
<!-- ELSE -->
&bull; {PAGE_NUMBER}
<!-- ENDIF -->
<!-- ENDIF -->
</div>
<!-- IF .orphan -->
<table class="table1 zebra-table fixed-width-table">
<thead>
<tr>
<td><a href="{orphan.U_FILE}">{orphan.REAL_FILENAME}</a></td>
<td>{orphan.FILETIME}</td>
<td>{orphan.FILESIZE}</td>
<td><strong>{L_ATTACH_ID}{L_COLON} </strong><input type="number" min="0" max="9999999999" name="post_id[{orphan.ATTACH_ID}]" value="{orphan.POST_ID}" style="width: 75%;" /></td>
<td><input type="checkbox" class="radio" name="add[{orphan.ATTACH_ID}]" /></td>
<td><input type="checkbox" class="radio" name="delete[{orphan.ATTACH_ID}]" /></td>
<th>{L_FILENAME}</th>
<th style="width: 15%;">{L_FILEDATE}</th>
<th style="width: 15%;">{L_FILESIZE}</th>
<th style="width: 15%;">{L_ATTACH_POST_ID}</th>
<th style="width: 15%;">{L_ATTACH_TO_POST}</th>
<th style="width: 15%;">{L_DELETE}</th>
</tr>
<!-- END orphan -->
<tr class="row4">
<td colspan="4">&nbsp;</td>
<td class="small"><a href="#" onclick="marklist('orphan', 'add', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'add', false); return false;">{L_UNMARK_ALL}</a></td>
<td class="small"><a href="#" onclick="marklist('orphan', 'delete', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'delete', false); return false;">{L_UNMARK_ALL}</a></td>
</tr>
</tbody>
</table>
</thead>
<tbody>
<!-- BEGIN orphan -->
<tr>
<td><a href="{orphan.U_FILE}">{orphan.REAL_FILENAME}</a></td>
<td>{orphan.FILETIME}</td>
<td>{orphan.FILESIZE}</td>
<td><strong>{L_ATTACH_ID}{L_COLON} </strong><input type="number" min="0" max="9999999999" name="post_id[{orphan.ATTACH_ID}]" value="{orphan.POST_ID}" style="width: 75%;" /></td>
<td><input type="checkbox" class="radio" name="add[{orphan.ATTACH_ID}]" /></td>
<td><input type="checkbox" class="radio" name="delete[{orphan.ATTACH_ID}]" /></td>
</tr>
<!-- END orphan -->
<tr class="row4">
<td colspan="4">&nbsp;</td>
<td class="small"><a href="#" onclick="marklist('orphan', 'add', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'add', false); return false;">{L_UNMARK_ALL}</a></td>
<td class="small"><a href="#" onclick="marklist('orphan', 'delete', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'delete', false); return false;">{L_UNMARK_ALL}</a></td>
</tr>
</tbody>
</table>
<!-- ELSE -->
<div class="errorbox">
<p>{L_NO_ATTACHMENTS}</p>
</div>
<!-- ENDIF -->
<br />
<!-- IF TOTAL_FILES -->
<div class="pagination">
{L_NUMBER_FILES}{L_COLON} {TOTAL_FILES} &bull; {L_TOTAL_SIZE}{L_COLON} {TOTAL_SIZE}
<!-- IF .pagination -->
&bull; <!-- INCLUDE pagination.html -->
<!-- ELSE -->
&bull; {PAGE_NUMBER}
<!-- ENDIF -->
</div>
<!-- ENDIF -->
<!-- IF .orphan -->
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</p>
<!-- ENDIF -->
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</p>
{S_FORM_TOKEN}
</fieldset>
</form>
@@ -440,7 +469,7 @@
<input class="button2" type="submit" name="submit" value="{L_DELETE_MARKED}" /><br />
<p class="small">
<a href="#" onclick="marklist('attachments', 'delete', true); return false;">{L_MARK_ALL}</a> &bull;
<a href="#" onclick="marklist('attachments', 'delete', false); return false;">{L_UNMARK_ALL}</a>
<a href="#" onclick="marklist('attachments', 'delete', false); return false;">{L_UNMARK_ALL}</a>
</p>
</fieldset>
<!-- ENDIF -->

View File

@@ -18,10 +18,11 @@
<!-- BEGIN options -->
<!-- IF options.S_LEGEND -->
<!-- IF not options.S_FIRST_ROW -->
</fieldset>
</fieldset>
<!-- ENDIF -->
<fieldset>
<legend>{options.LEGEND}</legend>
<legend>{options.LEGEND}</legend>
<!-- ELSE -->
<dl>

View File

@@ -7,20 +7,19 @@
<h1>{L_EXTENSIONS_ADMIN}</h1>
<!-- IF S_VERSIONCHECK -->
<div class="<!-- IF S_UP_TO_DATE -->successbox<!-- ELSE -->errorbox<!-- ENDIF -->">
<p>{UP_TO_DATE_MSG} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
</div>
<!-- ELSE IF S_VERSIONCHECK_STATUS == 0 -->
<div class="errorbox notice">
<p>{L_VERSIONCHECK_FAIL}</p>
<p>{VERSIONCHECK_FAIL_REASON}</p>
<p><a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
</div>
<!-- ELSE IF S_VERSIONCHECK_STATUS == 1 -->
<div class="errorbox notice">
<p>{VERSIONCHECK_FAIL_REASON}</p>
</div>
<!-- IF S_VERSIONCHECK_FAIL -->
<div class="errorbox notice">
<p>{L_VERSIONCHECK_FAIL}</p>
<p>{VERSIONCHECK_FAIL_REASON}</p>
<p><a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
</div>
<!-- ELSE -->
<div class="<!-- IF S_UP_TO_DATE -->successbox<!-- ELSE -->errorbox<!-- ENDIF -->">
<p>{UP_TO_DATE_MSG} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
</div>
<!-- ENDIF -->
<!-- ENDIF -->
<!-- EVENT acp_ext_details_notice -->
<fieldset>
<legend>{L_EXT_DETAILS}</legend>
@@ -136,4 +135,5 @@
<!-- END meta_authors -->
</fieldset>
<!-- EVENT acp_ext_details_end -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -7,7 +7,7 @@
<p>{L_EXTENSIONS_EXPLAIN}</p>
<fieldset class="quick">
<span class="small"><a href="https://www.phpbb.com/go/customise/extensions/3.1" target="_blank">{L_BROWSE_EXTENSIONS_DATABASE}</a> &bull; <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE_ALL}</a> &bull; <a href="javascript:phpbb.toggleDisplay('version_check_settings');">{L_SETTINGS}</a></span>
<span class="small"><a href="https://www.phpbb.com/go/customise/extensions/3.2" target="_blank">{L_BROWSE_EXTENSIONS_DATABASE}</a> &bull; <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE_ALL}</a> &bull; <a href="javascript:phpbb.toggleDisplay('version_check_settings');">{L_SETTINGS}</a></span>
</fieldset>
<form id="version_check_settings" method="post" action="{U_ACTION}" style="display:none">
@@ -48,10 +48,11 @@
</tr>
<!-- BEGIN enabled -->
<tr class="ext_enabled row-highlight">
<td><strong title="{enabled.NAME}">{enabled.META_DISPLAY_NAME}</strong></td>
<td><strong title="{enabled.NAME}">{enabled.META_DISPLAY_NAME}</strong><!-- EVENT acp_ext_list_enabled_name_after --></td>
<td style="text-align: center;">
<!-- IF enabled.S_VERSIONCHECK -->
<strong <!-- IF enabled.S_UP_TO_DATE -->style="color: #228822;"<!-- ELSE -->style="color: #BC2A4D;"<!-- ENDIF -->>{enabled.META_VERSION}</strong>
<strong class="<!-- IF enabled.S_UP_TO_DATE -->current-ext<!-- ELSE -->outdated-ext<!-- ENDIF -->">{enabled.META_VERSION}</strong>
<!-- IF not enabled.S_UP_TO_DATE --><i class="fa fa-exclamation-circle outdated-ext" aria-hidden="true"></i><!-- ENDIF -->
<!-- ELSE -->
{enabled.META_VERSION}
<!-- ENDIF -->
@@ -73,10 +74,11 @@
</tr>
<!-- BEGIN disabled -->
<tr class="ext_disabled row-highlight">
<td><strong title="{disabled.NAME}">{disabled.META_DISPLAY_NAME}</strong></td>
<td><strong title="{disabled.NAME}">{disabled.META_DISPLAY_NAME}</strong><!-- EVENT acp_ext_list_disabled_name_after --></td>
<td style="text-align: center;">
<!-- IF disabled.S_VERSIONCHECK -->
<strong <!-- IF disabled.S_UP_TO_DATE -->style="color: #228822;"<!-- ELSE -->style="color: #BC2A4D;"<!-- ENDIF -->>{disabled.META_VERSION}</strong>
<strong class="<!-- IF disabled.S_UP_TO_DATE -->current-ext<!-- ELSE -->outdated-ext<!-- ENDIF -->">{disabled.META_VERSION}</strong>
<!-- IF not disabled.S_UP_TO_DATE --><i class="fa fa-exclamation-circle outdated-ext" aria-hidden="true"></i><!-- ENDIF -->
<!-- ELSE -->
{disabled.META_VERSION}
<!-- ENDIF -->

View File

@@ -316,7 +316,7 @@
<tbody>
<!-- ELSE -->
<tr>
<td><strong>{groups.GROUP_NAME}</strong></td>
<td><strong<!-- IF groups.GROUP_COLOR --> style="color: #{groups.GROUP_COLOR}"<!-- ENDIF -->>{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>

View File

@@ -8,7 +8,7 @@
<div class="send-stats-row">
<!-- EVENT acp_help_phpbb_stats_before -->
<div class="send-stats-tile">
<h2><i class="icon fa-bar-chart"></i>Send statistics</h2>
<h2><i class="icon fa-bar-chart"></i>{L_SEND_STATISTICS}</h2>
<p>{L_EXPLAIN_SEND_STATISTICS}</p>
<div class="send-stats-row">
<div class="send-stats-data-row send-stats-data-only-row">

View File

@@ -47,6 +47,21 @@
<dd><label><input type="radio" class="radio" id="jab_use_ssl" name="jab_use_ssl" value="1"<!-- IF JAB_USE_SSL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="jab_use_ssl" value="0"<!-- IF not JAB_USE_SSL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<dl>
<dt><label for="jab_verify_peer">{L_JAB_VERIFY_PEER}{L_COLON}</label><br /><span>{L_JAB_VERIFY_PEER_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" id="jab_verify_peer" name="jab_verify_peer" value="1"<!-- IF JAB_VERIFY_PEER --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="jab_verify_peer" value="0"<!-- IF not JAB_VERIFY_PEER --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<dl>
<dt><label for="jab_verify_peer_name">{L_JAB_VERIFY_PEER_NAME}{L_COLON}</label><br /><span>{L_JAB_VERIFY_PEER_NAME_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" id="jab_verify_peer_name" name="jab_verify_peer_name" value="1"<!-- IF JAB_VERIFY_PEER_NAME --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="jab_verify_peer_name" value="0"<!-- IF not JAB_VERIFY_PEER_NAME --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<dl>
<dt><label for="jab_allow_self_signed">{L_JAB_ALLOW_SELF_SIGNED}{L_COLON}</label><br /><span>{L_JAB_ALLOW_SELF_SIGNED_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" id="jab_allow_self_signed" name="jab_allow_self_signed" value="1"<!-- IF JAB_ALLOW_SELF_SIGNED --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="jab_allow_self_signed" value="0"<!-- IF not JAB_ALLOW_SELF_SIGNED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<!-- ENDIF -->
<dl>
<dt><label for="jab_package_size">{L_JAB_PACKAGE_SIZE}{L_COLON}</label><br /><span>{L_JAB_PACKAGE_SIZE_EXPLAIN}</span></dt>

View File

@@ -69,7 +69,7 @@
<p>{L_ACP_LANGUAGE_PACKS_EXPLAIN}</p>
<fieldset class="quick">
<span class="small"><a href="https://www.phpbb.com/go/customise/language-packs/3.1" target="_blank">{L_BROWSE_LANGUAGE_PACKS_DATABASE}</a></span>
<span class="small"><a href="https://www.phpbb.com/go/customise/language-packs/3.2" target="_blank">{L_BROWSE_LANGUAGE_PACKS_DATABASE}</a></span>
</fieldset>
<table class="table1 zebra-table">

View File

@@ -30,6 +30,11 @@
<p><a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a> &middot; <a href="{U_VERSIONCHECK}">{L_MORE_INFORMATION}</a></p>
</div>
<!-- ENDIF -->
<!-- IF S_VERSION_UPGRADEABLE -->
<div class="errorbox notice">
<p>{UPGRADE_INSTRUCTIONS}</p>
</div>
<!-- ENDIF -->
<!-- IF S_SEARCH_INDEX_MISSING -->
<div class="errorbox">
@@ -125,8 +130,6 @@
<td>{L_FILES_PER_DAY}{L_COLON} </td>
<td><strong>{FILES_PER_DAY}</strong></td>
</tr>
<tr>
<td>{L_BOARD_STARTED}{L_COLON} </td>
<td><strong>{START_DATE}</strong></td>
@@ -145,22 +148,31 @@
<td>{L_GZIP_COMPRESSION}{L_COLON} </td>
<td><strong>{GZIP_COMPRESSION}</strong></td>
</tr>
<!-- IF S_TOTAL_ORPHAN or S_VERSIONCHECK -->
<tr>
<td>{L_PHP_VERSION}{L_COLON} </td>
<td><strong>{PHP_VERSION_INFO}</strong></td>
<!-- IF S_TOTAL_ORPHAN -->
<td>{L_NUMBER_ORPHAN}{L_COLON} </td>
<td>
<!-- IF TOTAL_ORPHAN > 0 -->
<a href="{U_ATTACH_ORPHAN}" title="{L_MORE_INFORMATION}"><strong>{TOTAL_ORPHAN}</strong></a>
<!-- ELSE -->
<strong>{TOTAL_ORPHAN}</strong>
<!-- ENDIF -->
</td>
<!-- ELSE -->
<td>&nbsp;</td>
<td>&nbsp;</td>
<!-- ENDIF -->
</tr>
<!-- IF S_VERSIONCHECK -->
<tr>
<td>{L_BOARD_VERSION}{L_COLON} </td>
<td>
<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 -->
<td>{L_NUMBER_ORPHAN}{L_COLON} </td>
<td><strong>{TOTAL_ORPHAN}</strong></td>
<!-- ENDIF -->
<!-- IF not S_TOTAL_ORPHAN or not S_VERSIONCHECK -->
<td>&nbsp;</td>
<td>&nbsp;</td>
<!-- ENDIF -->
</tr>
<!-- ENDIF -->
</tbody>

View File

@@ -85,6 +85,7 @@
<dd><input type="checkbox" class="radio" id="field_is_contact" name="field_is_contact" value="1"<!-- IF S_FIELD_CONTACT --> checked="checked"<!-- ENDIF --> /></dd>
<dd><input class="text medium" type="text" name="field_contact_desc" id="field_contact_desc" value="{FIELD_CONTACT_DESC}" /> <label for="field_contact_desc">{L_FIELD_CONTACT_DESC}</label></dd>
<dd><input class="text medium" type="text" name="field_contact_url" id="field_contact_url" value="{FIELD_CONTACT_URL}" /> <label for="field_contact_url">{L_FIELD_CONTACT_URL}</label></dd>
<!-- EVENT acp_profile_contact_last -->
</dl>
</fieldset>
@@ -127,6 +128,7 @@
<!-- ENDIF -->
</dl>
<!-- ENDIF -->
<!-- EVENT acp_profile_step_one_lang_after -->
</fieldset>
<fieldset class="quick">

View File

@@ -94,7 +94,9 @@
<dd><label><input type="radio" class="radio" name="prune_sticky" value="1" /> {L_YES}</label>
<label><input type="radio" class="radio" id="sticky" name="prune_sticky" value="0" checked="checked" /> {L_NO}</label></dd>
</dl>
<!-- EVENT acp_prune_forums_settings_append -->
<p class="quick">
{S_HIDDEN_FIELDS}
{S_FORM_TOKEN}

View File

@@ -33,7 +33,7 @@
<!-- IF L_EXPLAIN --><p>{L_EXPLAIN}</p><!-- ENDIF -->
<fieldset class="quick">
<span class="small"><a href="https://www.phpbb.com/go/customise/styles/3.1" target="_blank">{L_BROWSE_STYLES_DATABASE}</a></span>
<span class="small"><a href="https://www.phpbb.com/go/customise/styles/3.2" target="_blank">{L_BROWSE_STYLES_DATABASE}</a></span>
</fieldset>
<form id="acp_styles" method="post" action="{U_ACTION}">
@@ -51,6 +51,10 @@
<dt><label>{L_STYLE_PATH}{L_COLON}</label></dt>
<dd><strong>{STYLE_PATH}</strong></dd>
</dl>
<dl>
<dt><label>{L_STYLE_VERSION}{L_COLON}</label></dt>
<dd><strong>{STYLE_VERSION}</strong></dd>
</dl>
<dl>
<dt><label for="name">{L_COPYRIGHT}{L_COLON}</label></dt>
<dd><strong>{STYLE_COPYRIGHT}</strong></dd>
@@ -92,6 +96,7 @@
<thead>
<tr>
<th>{L_STYLE_NAME}</th>
<th width="10%" style="white-space: nowrap; text-align: center;">{L_STYLE_PHPBB_VERSION}</th>
<!-- IF not STYLES_LIST_HIDE_COUNT --><th width="10%" style="white-space: nowrap; text-align: center;">{L_STYLE_USED_BY}</th><!-- ENDIF -->
<th width="25%" style="white-space: nowrap; text-align: center;">{L_ACTIONS}</th>
{STYLES_LIST_EXTRA}
@@ -125,6 +130,7 @@
<span class="style-path"><br />{L_STYLE_PATH}{L_COLON} {styles_list.STYLE_PATH_FULL}</span>
<!-- ENDIF -->
</td>
<td class="{$ROW_CLASS} users">{styles_list.STYLE_PHPBB_VERSION}</td>
<!-- IF not STYLES_LIST_HIDE_COUNT -->
<td class="{$ROW_CLASS} users">{styles_list.USERS}</td>
<!-- ENDIF -->

View File

@@ -20,6 +20,11 @@
<p>{L_VERSION_NOT_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
</div>
<!-- ENDIF -->
<!-- IF S_VERSION_UPGRADEABLE -->
<div class="errorbox notice">
<p>{UPGRADE_INSTRUCTIONS}</p>
</div>
<!-- ENDIF -->
<fieldset>
<legend></legend>

View File

@@ -231,6 +231,10 @@
<!-- INCLUDE permission_mask.html -->
<!-- ELSE -->
<!-- EVENT acp_users_mode_add -->
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

View File

@@ -1,4 +1,4 @@
/* phpBB 3.1 Admin Style Sheet
/* phpBB 3.2 Admin Style Sheet
------------------------------------------------------------------------
Original author: subBlue ( http://www.subblue.com/ )
Copyright (c) phpBB Limited <https://www.phpbb.com>
@@ -525,7 +525,6 @@ li {
padding: 0;
border-right: 1px solid #CCCFD3;
position: relative;
z-index: 1;
}
.rtl #menu {
@@ -1891,7 +1890,6 @@ li.pagination ul {
color: #000;
text-align: center;
border: 1px solid #AAA;
opacity: .95;
}
.tooltip span.top {
@@ -2461,6 +2459,9 @@ fieldset.permissions .padding {
text-align: left;
}
.rtl .dropdown li {
text-align: right;
}
.wrap .dropdown li, .dropdown.wrap li {
white-space: normal;
}
@@ -2475,6 +2476,10 @@ fieldset.permissions .padding {
width: 250px;
}
.rtl .roles-options > .dropdown {
right: auto;
}
.roles-options {
-webkit-user-select: none;
-moz-user-select: none;
@@ -2493,6 +2498,10 @@ fieldset.permissions .padding {
background: url('../images/arrow_down.gif') no-repeat 245px .7em;
}
.rtl .roles-options > span {
background: url('../images/arrow_down.gif') no-repeat 7px .7em;
}
.roles-options li {
list-style: none;
}
@@ -2506,6 +2515,14 @@ fieldset.permissions .padding {
/* Classes for additional tasks
---------------------------------------- */
.current-ext {
color: #228822;
}
.outdated-ext {
color: #BC2A4D;
}
.phpinfo {
overflow: auto;
width: 99%;
@@ -2691,3 +2708,12 @@ fieldset.permissions .padding {
word-wrap: break-word;
word-break: break-all;
}
/* stylelint-disable declaration-property-unit-whitelist */
.emoji {
min-height: 18px;
min-width: 18px;
height: 1em;
width: 1em;
}
/* stylelint-enable declaration-property-unit-whitelist */

View File

@@ -280,9 +280,11 @@ function submitPermissions() {
$.ajax({
url: $form.action,
type: 'POST',
data: formData + '&' + $submitAllButton.name + '=' + encodeURIComponent($submitAllButton.value) +
data: formData + '&' + $submitButton.name + '=' + encodeURIComponent($submitButton.value) +
'&creation_time=' + $form.find('input[type=hidden][name=creation_time]')[0].value +
'&form_token=' + $form.find('input[type=hidden][name=form_token]')[0].value,
'&form_token=' + $form.find('input[type=hidden][name=form_token]')[0].value +
'&' + $form.children('input[type=hidden]').serialize() +
'&' + $form.find('input[type=checkbox][name^=inherit]').serialize(),
success: handlePermissionReturn,
error: handlePermissionReturn
});

View File

@@ -1,3 +1,4 @@
<!-- IF FORM_TITLE --><h1>{FORM_TITLE}</h1><!-- ENDIF -->
<form id="<!-- IF FORM_ID -->{FORM_ID}<!-- ELSE -->install_install<!-- ENDIF -->" method="POST" action="{U_ACTION}">
<!-- IF .options -->
<!-- IF S_NOT_ONLY_BUTTON_FORM -->
@@ -8,9 +9,9 @@
<!-- IF options.S_LEGEND -->
<!-- IF not options.S_FIRST_ROW -->
</fieldset>
<fieldset>
<!-- ENDIF -->
<fieldset>
<legend>{options.LEGEND}</legend>
<!-- ELSE -->
<dl>
@@ -49,7 +50,7 @@
<fieldset class="submit-buttons">
<legend>{L_SUBMIT}</legend>
<!-- BEGIN submit_buttons -->
<input class="button1" type="submit" name="{submit_buttons.KEY}" value="{submit_buttons.TITLE}" />
<input class="<!-- IF not submit_buttons.IS_SECONDARY -->button1<!-- ELSE -->button2<!-- ENDIF --><!-- IF submit_buttons.DISABLED --> disabled<!-- ENDIF -->" type="submit" name="{submit_buttons.KEY}" value="{submit_buttons.TITLE}"<!-- IF submit_buttons.DISABLED --> disabled="disabled"<!-- ENDIF --> />
<!-- END submit_buttons -->
</fieldset>
<!-- ENDIF -->

View File

@@ -54,7 +54,7 @@ function marklist(id, name, state)
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
if (rb[r].name.substr(0, name.length) == name && rb[r].disabled !== true)
{
rb[r].checked = state;
}

View File

@@ -41,7 +41,7 @@
<dt style="width: 20%"><label for="role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}">{L_ROLE}{L_COLON}</label></dt>
{% if p_mask.f_mask.role_options %}
<dd style="margin-{S_CONTENT_FLOW_BEGIN}{L_COLON} 20%">
<div class="dropdown-container dropdown-button-control roles-options" data-alt-text="{LA_ROLE_DESCRIPTION}">
<div class="dropdown-container dropdown-{S_CONTENT_FLOW_END} dropdown-button-control roles-options" data-alt-text="{LA_ROLE_DESCRIPTION}">
<select id="role{p_mask.S_ROW_COUNT}{p_mask.f_mask.S_ROW_COUNT}" name="role[{p_mask.f_mask.UG_ID}][{p_mask.f_mask.FORUM_ID}]">{p_mask.f_mask.S_ROLE_OPTIONS}</select>
<span title="Roles" class="button icon-button tools-icon dropdown-trigger dropdown-select">{L_NO_ROLE_ASSIGNED}</span>
<div class="dropdown hidden">

View File

@@ -66,7 +66,7 @@ function marklist(id, name, state)
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
if (rb[r].name.substr(0, name.length) == name && rb[r].disabled !== true)
{
rb[r].checked = state;
}

View File

@@ -130,10 +130,17 @@ phpbb.positionTooltip = function ($element) {
$element = $element.parent();
offset = $element.offset();
$('#_tooltip_container').css({
top: offset.top + 30,
left: offset.left - 205
});
if ($('body').hasClass('rtl')) {
$('#_tooltip_container').css({
top: offset.top + 30,
left: offset.left + 255
});
} else {
$('#_tooltip_container').css({
top: offset.top + 30,
left: offset.left - 205
});
}
};
/**

View File

@@ -0,0 +1,6 @@
.cc-window{opacity:1;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{transition:transform 1s ease}.cc-animate.cc-revoke.cc-top{transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-animate.cc-revoke.cc-active.cc-top,.cc-revoke:hover{transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;transition:max-height 1s}
.cc-link,.cc-revoke:hover{text-decoration:underline}.cc-revoke,.cc-window{position:fixed;overflow:hidden;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-banner .cc-btn:last-child{min-width:140px}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}
.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-ms-flex:1;flex:1}.cc-window.cc-banner{-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{-ms-flex:1;flex:1}.cc-compliance{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-compliance>.cc-btn{-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}
@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-ms-flex:1;flex:1}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-ms-flex-align:unset;align-items:unset}}
.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}
.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 348 KiB

After

Width:  |  Height:  |  Size: 434 KiB

View File

@@ -27,29 +27,36 @@ phpbb.isTouch = (window && typeof window.ontouchstart !== 'undefined');
*/
phpbb.loadingIndicator = function() {
if (!$loadingIndicator) {
$loadingIndicator = $('<div />', {
id: 'loading_indicator',
class: 'loading_indicator',
$loadingIndicator = $('<div />', {
'id': 'loading_indicator',
'class': 'loading_indicator'
});
$loadingIndicator.appendTo('#page-footer');
}
if (!$loadingIndicator.is(':visible')) {
$loadingIndicator.fadeIn(phpbb.alertTime);
// Wait fifteen seconds and display an error if nothing has been returned by then.
// Wait 60 seconds and display an error if nothing has been returned by then.
phpbb.clearLoadingTimeout();
phpbbAlertTimer = setTimeout(function() {
var $alert = $('#phpbb_alert');
if ($loadingIndicator.is(':visible')) {
phpbb.alert($alert.attr('data-l-err'), $alert.attr('data-l-timeout-processing-req'));
}
}, 15000);
phpbb.showTimeoutMessage();
}, 60000);
}
return $loadingIndicator;
};
/**
* Show timeout message
*/
phpbb.showTimeoutMessage = function () {
var $alert = $('#phpbb_alert');
if ($loadingIndicator.is(':visible')) {
phpbb.alert($alert.attr('data-l-err'), $alert.attr('data-l-timeout-processing-req'));
}
};
/**
* Clear loading alert timeout
*/
@@ -172,7 +179,7 @@ phpbb.alert.close = function($alert, fadedark) {
phpbb.confirm = function(msg, callback, fadedark) {
var $confirmDiv = $('#phpbb_confirm');
$confirmDiv.find('.alert_text').html(msg);
fadedark = fadedark || true;
fadedark = typeof fadedark !== 'undefined' ? fadedark : true;
$(document).on('keydown.phpbb.alert', function(e) {
if (e.keyCode === keymap.ENTER || e.keyCode === keymap.ESC) {
@@ -187,9 +194,7 @@ phpbb.confirm = function(msg, callback, fadedark) {
$confirmDiv.find('input[type="button"]').one('click.phpbb.confirmbox', function(e) {
var confirmed = this.name === 'confirm';
if (confirmed) {
callback(true);
}
callback(confirmed);
$confirmDiv.find('input[type="button"]').off('click.phpbb.confirmbox');
phpbb.alert.close($confirmDiv, fadedark || !confirmed);
@@ -1326,6 +1331,8 @@ phpbb.toggleDropdown = function() {
$this.css({
marginLeft: 0,
left: 0,
marginRight: 0,
right: 0,
maxWidth: (windowWidth - 4) + 'px'
});
@@ -1649,7 +1656,7 @@ $(function() {
phpbb.registerPageDropdowns();
$('#color_palette_placeholder').each(function() {
$('[data-orientation]').each(function() {
phpbb.registerPalette($(this));
});

View File

@@ -417,7 +417,7 @@ function getCaretPosition(txtarea) {
$('textarea').on('keydown', function (e) {
if (e.which === 13 && (e.metaKey || e.ctrlKey)) {
$(this).closest('form').submit();
$(this).closest('form').find(':submit').click();
}
});
});

File diff suppressed because one or more lines are too long

View File

@@ -73,6 +73,7 @@ register_compatibility_globals();
/** @var \phpbb\language\language $language */
$language = $phpbb_container->get('language');
$language->set_default_language($phpbb_container->get('config')['default_lang']);
$language->add_lang(array('common', 'acp/common', 'cli'));
/* @var $user \phpbb\user */

View File

@@ -12,7 +12,7 @@
*/
/**
* Minimum Requirement: PHP 5.3.9
* Minimum Requirement: PHP 5.4.0
*/
if (!defined('IN_PHPBB'))

View File

@@ -4,7 +4,7 @@
"type": "project",
"keywords": ["phpbb", "forum"],
"homepage": "https://www.phpbb.com",
"license": "GPL-2.0",
"license": "GPL-2.0-only",
"authors": [
{
"name": "phpBB Limited",
@@ -33,7 +33,7 @@
"marc1706/fast-image-size": "^1.1",
"paragonie/random_compat": "^1.4",
"patchwork/utf8": "^1.1",
"s9e/text-formatter": "~0.8.0",
"s9e/text-formatter": "~0.13.0",
"symfony/config": "^2.8",
"symfony/console": "^2.8",
"symfony/debug": "^2.8",
@@ -47,7 +47,7 @@
"symfony/routing": "^2.8",
"symfony/twig-bridge": "^2.8",
"symfony/yaml": "^2.8",
"twig/twig": "^1.0,<1.25"
"twig/twig": "^1.0"
},
"require-dev": {
"fabpot/goutte": "~2.0",
@@ -55,7 +55,7 @@
"laravel/homestead": "~2.2",
"phing/phing": "2.4.*",
"phpunit/dbunit": "1.3.*",
"phpunit/phpunit": "4.1.*",
"phpunit/phpunit": "^4.1",
"sami/sami": "1.*",
"squizlabs/php_codesniffer": "2.*",
"symfony/browser-kit": "^2.8",
@@ -69,7 +69,7 @@
},
"config": {
"platform": {
"php": "5.4"
"php": "5.4.7"
}
}
}

751
phpBB/composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -3,7 +3,6 @@ services:
class: phpbb\console\exception_subscriber
arguments:
- '@language'
- '%debug.exceptions%'
tags:
- { name: kernel.event_subscriber }
@@ -111,15 +110,7 @@ services:
console.command.db.revert:
class: phpbb\console\command\db\revert
arguments:
- '@user'
- '@language'
- '@migrator'
- '@ext.manager'
- '@config'
- '@cache'
- '@filesystem'
- '%core.root_path%'
parent: console.command.db.migrate
tags:
- { name: console.command }
@@ -175,6 +166,27 @@ services:
tags:
- { name: console.command }
console.command.fixup.update_hashes:
class: phpbb\console\command\fixup\update_hashes
arguments:
- '@config'
- '@user'
- '@dbal.conn'
- '@passwords.manager'
- '@passwords.driver_collection'
- '%passwords.algorithms%'
tags:
- { name: console.command }
console.command.fixup.fix_left_right_ids:
class: phpbb\console\command\fixup\fix_left_right_ids
arguments:
- '@user'
- '@dbal.conn'
- '@cache.driver'
tags:
- { name: console.command }
console.command.reparser.list:
class: phpbb\console\command\reparser\list_all
arguments:

View File

@@ -219,3 +219,17 @@ services:
- [set_reparser, [text_reparser.user_signature]]
tags:
- { name: cron.task }
cron.task.core.update_hashes:
class: phpbb\cron\task\core\update_hashes
arguments:
- '@config'
- '@dbal.conn'
- '@passwords.update.lock'
- '@passwords.manager'
- '@passwords.driver_collection'
- '%passwords.algorithms%'
calls:
- [set_name, [cron.task.core.update_hashes]]
tags:
- { name: cron.task }

View File

@@ -5,9 +5,7 @@ services:
- '@service_container'
dbal.conn.driver:
class: '%dbal.driver.class%'
calls:
- [sql_connect, ['%dbal.dbhost%', '%dbal.dbuser%', '%dbal.dbpasswd%', '%dbal.dbname%', '%dbal.dbport%', false, '%dbal.new_link%']]
synthetic: true
# ----- DB Tools -----
dbal.tools.factory:

View File

@@ -9,6 +9,7 @@ services:
arguments:
- '@template'
- '@language'
- '%debug.exceptions%'
tags:
- { name: kernel.event_subscriber }

View File

@@ -18,9 +18,10 @@ services:
class: phpbb\feed\helper
arguments:
- '@config'
- '@service_container'
- '@path_helper'
- '@text_formatter.renderer'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
feed.forum:
class: phpbb\feed\forum
@@ -78,6 +79,10 @@ services:
- '@dispatcher'
- '%core.php_ext%'
feed.quote_helper:
class: phpbb\feed\quote_helper
parent: text_formatter.s9e.quote_helper
feed.topic:
class: phpbb\feed\topic
shared: false

View File

@@ -127,3 +127,10 @@ services:
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.update.lock:
class: phpbb\lock\db
arguments:
- update_hashes_lock
- '@config'
- '@dbal.conn'

View File

@@ -26,6 +26,11 @@ services:
text_formatter.utils:
alias: text_formatter.s9e.utils
text_formatter.s9e.bbcode_merger:
class: phpbb\textformatter\s9e\bbcode_merger
arguments:
- '@text_formatter.s9e.factory'
text_formatter.s9e.factory:
class: phpbb\textformatter\s9e\factory
arguments:
@@ -34,6 +39,7 @@ services:
- '@dispatcher'
- '@config'
- '@text_formatter.s9e.link_helper'
- '@log'
- '%text_formatter.cache.dir%'
- '%text_formatter.cache.parser.key%'
- '%text_formatter.cache.renderer.key%'

View File

@@ -24,6 +24,8 @@ services:
class: phpbb\textreparser\plugins\contact_admin_info
arguments:
- '@config_text'
calls:
- [set_name, [contact_admin_info]]
tags:
- { name: text_reparser.plugin }
@@ -32,6 +34,8 @@ services:
arguments:
- '@dbal.conn'
- '%tables.forums%'
calls:
- [set_name, [forum_description]]
tags:
- { name: text_reparser.plugin }
@@ -40,6 +44,8 @@ services:
arguments:
- '@dbal.conn'
- '%tables.forums%'
calls:
- [set_name, [forum_rules]]
tags:
- { name: text_reparser.plugin }
@@ -48,6 +54,8 @@ services:
arguments:
- '@dbal.conn'
- '%tables.groups%'
calls:
- [set_name, [group_description]]
tags:
- { name: text_reparser.plugin }
@@ -56,6 +64,8 @@ services:
arguments:
- '@dbal.conn'
- '%tables.privmsgs%'
calls:
- [set_name, [pm_text]]
tags:
- { name: text_reparser.plugin }
@@ -63,6 +73,8 @@ services:
class: phpbb\textreparser\plugins\poll_option
arguments:
- '@dbal.conn'
calls:
- [set_name, [poll_option]]
tags:
- { name: text_reparser.plugin }
@@ -71,6 +83,8 @@ services:
arguments:
- '@dbal.conn'
- '%tables.topics%'
calls:
- [set_name, [poll_title]]
tags:
- { name: text_reparser.plugin }
@@ -79,6 +93,8 @@ services:
arguments:
- '@dbal.conn'
- '%tables.posts%'
calls:
- [set_name, [post_text]]
tags:
- { name: text_reparser.plugin }
@@ -87,5 +103,7 @@ services:
arguments:
- '@dbal.conn'
- '%tables.users%'
calls:
- [set_name, [user_signature]]
tags:
- { name: text_reparser.plugin }

View File

@@ -11,6 +11,7 @@ services:
- '%core.template.cache_path%'
- '@ext.manager'
- '@template.twig.loader'
- '@dispatcher'
- []
calls:
- [setLexer, ['@template.twig.lexer']]

View File

@@ -84,6 +84,7 @@ services:
- '%core.template.cache_path%'
- null
- '@template.twig.loader'
- null
- []
calls:
- [setLexer, ['@template.twig.lexer']]

View File

@@ -29,6 +29,16 @@ services:
tags:
- { name: install_data_install, order: 30 }
installer.install_data.create_search_index:
class: phpbb\install\module\install_data\task\create_search_index
arguments:
- '@config'
- '@installer.helper.container_factory'
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: install_data_install, order: 40 }
installer.module.data_install_collection:
class: phpbb\di\ordered_service_collection
arguments:

View File

@@ -185,7 +185,7 @@ while ($row = $db->sql_fetchrow($result))
}
$db->sql_freeresult($result);
if (sizeof($remove_auth_options))
if (count($remove_auth_options))
{
$db->sql_query('DELETE FROM ' . ACL_USERS_TABLE . ' WHERE auth_option_id IN (' . implode(', ', $remove_auth_options) . ')');
$db->sql_query('DELETE FROM ' . ACL_GROUPS_TABLE . ' WHERE auth_option_id IN (' . implode(', ', $remove_auth_options) . ')');
@@ -199,7 +199,7 @@ $prefixes = array('f_', 'a_', 'm_', 'u_');
foreach ($prefixes as $prefix)
{
$var = $prefix . 'permissions';
if (sizeof(${$var}))
if (count(${$var}))
{
foreach (${$var} as $auth_option => $l_ary)
{

View File

@@ -51,7 +51,7 @@ function check_table_flash_bbcodes($table_name, $id_field, $content_field, $uid_
$ids = get_table_flash_bbcode_pkids($table_name, $id_field, $content_field, $uid_field, $bitfield_field);
$size = sizeof($ids);
$size = count($ids);
if ($size)
{
echo "Found $size potentially dangerous flash bbcodes.\n";

View File

@@ -489,12 +489,12 @@ foreach ($lang_references as $lang_var => $filenames)
$html_data .= '<b>' . $lang_var . '</b><ul>';
if (sizeof($filenames) != 1)
if (count($filenames) != 1)
{
fwrite($common_fp, (($entry['common']) ? ",\n" : '') . "\t'$var' => '" . $lang[$var] . "'");
$entry['common'] = true;
}
else if (sizeof($filenames) == 1)
else if (count($filenames) == 1)
{
// Merge logical - hardcoded
$fname = (preg_match('#^(' . implode('|', $merge) . ')#', $filenames[0], $match)) ? $match[0] . '.php' : str_replace($ext, 'php', $filenames[0]);

View File

@@ -120,7 +120,7 @@ do
$pct_encoded = "%[\dA-F]{2}";
$unreserved = "$add_chars\pL0-9\-._~";
$sub_delims = ($inline) ? '!$&\'(*+,;=' : '!$&\'()*+,;=';
$scheme = ($inline) ? '[a-z][a-z\d+]*': '[a-z][a-z\d+\-.]*' ; // avoid automatic parsing of "word" in "last word.http://..."
$scheme = ($inline) ? '[a-z][a-z\d+]*(?<!javascript)': '[a-z][a-z\d+\-.]*(?<!javascript)' ; // avoid automatic parsing of "word" in "last word.http://..."
$pchar = "(?:[^$remove_chars]*[$unreserved$sub_delims:@|]+|$pct_encoded)"; // rfc: no "|"
$reg_name = "(?:[^$remove_chars]*[$unreserved$sub_delims:@|]+|$pct_encoded)+"; // rfc: * instead of + and no "|" and no "@" and no ":" (included instead of userinfo)

View File

@@ -89,7 +89,7 @@ for(;$postcounter <= $max_post_id; $postcounter += $batchsize)
$rowset = $db->sql_fetchrowset($result);
$db->sql_freeresult($result);
$post_rows = sizeof($rowset);
$post_rows = count($rowset);
if( $post_rows )
{

BIN
phpBB/develop/test.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -50,12 +50,17 @@
<ol>
<li><a href="#changelog">Changelog</a>
<ul>
<li><a href="#v322">Changes since 3.2.2</a></li>
<li><a href="#v321">Changes since 3.2.1</a></li>
<li><a href="#v320">Changes since 3.2.0</a></li>
<li><a href="#v320rc1">Changes since 3.2.0-RC1</a></li>
<li><a href="#v320b2">Changes since 3.2.0-b2</a></li>
<li><a href="#v320b1">Changes since 3.2.0-b1</a></li>
<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="#v3111">Changes since 3.1.11</a></li>
<li><a href="#v3110">Changes since 3.1.10</a></li>
<li><a href="#v319">Changes since 3.1.9</a></li>
<li><a href="#v318">Changes since 3.1.8</a></li>
<li><a href="#v317pl1">Changes since 3.1.7-PL1</a></li>
@@ -124,6 +129,308 @@
<div class="inner">
<div class="content">
<a name="v322"></a><h3>Changes since 3.2.2</h3>
<h4>Bug</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14936">PHPBB3-14936</a>] - Missing language variable INST_ERR_DB</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15491">PHPBB3-15491</a>] - Outdated linkes in installer support page</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15492">PHPBB3-15492</a>] - Permissions role combobox does not work in RTL</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15500">PHPBB3-15500</a>] - Docs outdated for new PHP 5.4.7 requirement</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15502">PHPBB3-15502</a>] - Errors in migrations in 3.2.2 release</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15506">PHPBB3-15506</a>] - Previewing new post empties attachment list of all but first attachment</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15512">PHPBB3-15512</a>] - Avoid reparsing non-existent polls</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15513">PHPBB3-15513</a>] - Signature edit in acp gives error</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15520">PHPBB3-15520</a>] - DbDriver-&gt;sql_build_query cant cope with sub-selects</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15522">PHPBB3-15522</a>] - Allow multiple color palettes per page</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15523">PHPBB3-15523</a>] - AdBlocker may cause JS error when using CookieConsent</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15525">PHPBB3-15525</a>] - composer.json License is Invalid/Deprecated</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15526">PHPBB3-15526</a>] - Cast bbcode ID to integer</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15527">PHPBB3-15527</a>] - Cannot interpret the BBCode definition</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15532">PHPBB3-15532</a>] - Update pull request template</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15533">PHPBB3-15533</a>] - Typo in viewtopic_topic_tools.html</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15558">PHPBB3-15558</a>] - phpbb\report\report_handler_post.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15559">PHPBB3-15559</a>] - phpbb\report\report_handler_pm.php:56</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15595">PHPBB3-15595</a>] - Migration Module Exists Tool Broken</li>
</ul>
<h4>Improvement</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12579">PHPBB3-12579</a>] - Add BUTTON_ language strings for post &amp; PM buttons</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15495">PHPBB3-15495</a>] - Use transactions for queries in move_forum</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15499">PHPBB3-15499</a>] - Drop HHVM support</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15510">PHPBB3-15510</a>] - Link Orphan attachments in ACP&gt;General to Orphaned attachments page </li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15514">PHPBB3-15514</a>] - Improve accessibility by adding vital info from explanation to a title</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15518">PHPBB3-15518</a>] - Do not attempt to accurately determine whether posters can read private messages in viewtopic</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15528">PHPBB3-15528</a>] - Display the version of the installed styles in acp</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15529">PHPBB3-15529</a>] - Color groups in ACP</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15531">PHPBB3-15531</a>] - Log malformed BBCodes</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15534">PHPBB3-15534</a>] - Outdated ACP extensions database link for phpBB 3.2</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15535">PHPBB3-15535</a>] - Add S_FIRST_POST to postrow on viewtopic</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15537">PHPBB3-15537</a>] - Add events core.search_(native|mysql|postgres|sphinx)_index_before</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15547">PHPBB3-15547</a>] - Add file object to event core.avatar_driver_upload_move_file_before</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15561">PHPBB3-15561</a>] - Add core events for adding columns to MySQL and Postgres search backends</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15568">PHPBB3-15568</a>] - Update depencies to latest versions</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15569">PHPBB3-15569</a>] - Adjust update instructions to suggest file replacement method</li>
</ul>
<h4>New Feature</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15398">PHPBB3-15398</a>] - Add event to oauth login after ID check</li>
</ul>
<h4>Security Issue</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15570">PHPBB3-15570</a>] - Extension version check is restricted to TLS 1.0</li>
</ul>
<h4>Task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15466">PHPBB3-15466</a>] - Move Nils in CREDITS.txt</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15516">PHPBB3-15516</a>] - Add instructions on running UI tests</li>
</ul>
<a name="v321"></a><h3>Changes since 3.2.1</h3>
<h4>Security Issue</h4>
<ul>
<li>[SECURITY-211] - URLs with javascript scheme should not be made clickable</li>
</ul>
<h4>Bug</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-7845">PHPBB3-7845</a>] - Error on posting local image when script path is empty</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13214">PHPBB3-13214</a>] - Contact us page textarea looks narrow in responsive mode</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14629">PHPBB3-14629</a>] - acp global quick reply will not enable quick reply correctly</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14857">PHPBB3-14857</a>] - ordinal suffix in dateformat is not handled in translations</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15041">PHPBB3-15041</a>] - Cannot delete Orphaned Attachments when large number of attachments</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15060">PHPBB3-15060</a>] - Online user list fails on notifications</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15089">PHPBB3-15089</a>] - Enable/Disable settings backwards for Cookie Secure</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15133">PHPBB3-15133</a>] - Fast image size library sometimes returns no size or invalid sizes</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15149">PHPBB3-15149</a>] - Unexpected Ctrl+Enter behavior on reply</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15171">PHPBB3-15171</a>] - Confusing bitfield values</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15172">PHPBB3-15172</a>] - $request-&gt;server('server_port') is returning wrong port</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15174">PHPBB3-15174</a>] - Unable to purge cache (ext &amp; acp)</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15195">PHPBB3-15195</a>] - Code direction in print view is not defined as &quot;ltr&quot;</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15201">PHPBB3-15201</a>] - Removing style sets user_style to 0</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15224">PHPBB3-15224</a>] - Advanced search in &quot;message text only&quot; crashes with SQL error when using Mysql fulltext search index</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15245">PHPBB3-15245</a>] - Relative URLs in atom feeds broken when accessing via app.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15262">PHPBB3-15262</a>] - WebFontConfig google families script issue in 3.2.1</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15266">PHPBB3-15266</a>] - Content visibility events do not allow what they describe</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15273">PHPBB3-15273</a>] - 'COOKIE_PATH_EXPLAIN' does not make sense</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15285">PHPBB3-15285</a>] - Travis tests are failing due to trusty changes</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15292">PHPBB3-15292</a>] - Retina imageset is blurry when displayed in Chrome browser</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15297">PHPBB3-15297</a>] - Current date in board index is broken into lines in RTL</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15298">PHPBB3-15298</a>] - Errors being suppressed in cli</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15303">PHPBB3-15303</a>] - Typo in memcached driver</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15306">PHPBB3-15306</a>] - Error and missing information in core.acp_users_profile_validate event</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15309">PHPBB3-15309</a>] - Improved fix for pagination layout in tables</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15314">PHPBB3-15314</a>] - Wrong class constructor definition for convertor component</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15319">PHPBB3-15319</a>] - Database update v310\style_update_p2 fails to drop sequences</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15320">PHPBB3-15320</a>] - Redis cache does not save keys with expiration date 0 (no expiration)</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15322">PHPBB3-15322</a>] - Wrong return Return-Path in emails</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15331">PHPBB3-15331</a>] - Gravatars cannot be overridden</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15332">PHPBB3-15332</a>] - Dark background is always removed after confirm popup</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15333">PHPBB3-15333</a>] - Callback isn't called when confirm dialog is canceled</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15339">PHPBB3-15339</a>] - Missing acp_send_statistics -&gt; Upgrading to 3.2.0 fails for phpBB 3.0.5</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15346">PHPBB3-15346</a>] - The installer tries to enable all extensions even if they are not enableable</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15347">PHPBB3-15347</a>] - Password updater in cron generates invalid postgres SQL</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15349">PHPBB3-15349</a>] - Cli doesn't check if an extension is enableable before enable it</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15350">PHPBB3-15350</a>] - Links to Plural rules are outdated</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15351">PHPBB3-15351</a>] - Confirm box function does not work with symlink on server config</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15353">PHPBB3-15353</a>] - Invalid HTML in ACP board settings</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15355">PHPBB3-15355</a>] - Empty version field in versioncheck when using the latest version</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15356">PHPBB3-15356</a>] - Avatar remote upload doesn't work</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15361">PHPBB3-15361</a>] - Topic / Forum Icons Look Withered (on Safari)</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15362">PHPBB3-15362</a>] - Excessive value for {NOTIFICATION_TYPES_COLS}</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15365">PHPBB3-15365</a>] - Fix invalidating OPcache</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15367">PHPBB3-15367</a>] - Sphinx search backend doesn't escape special characters</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15368">PHPBB3-15368</a>] - Schema upgrade fails in 3.2.1 when using SQL Server</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15379">PHPBB3-15379</a>] - Reparser cron will always run</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15381">PHPBB3-15381</a>] - L_CONTACT_US_ENABLE_EXPLAIN should specify that &quot;Enable board-wide emails&quot; is also needed for it to work</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15390">PHPBB3-15390</a>] - Admin permissions role tooltip popup has vertical bar running through it.</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15396">PHPBB3-15396</a>] - revert_schema() steps not executed in correct order</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15401">PHPBB3-15401</a>] - Use separate constant for memcached driver config</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15419">PHPBB3-15419</a>] - Sphinx does not search UTF keywords in delta index</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15423">PHPBB3-15423</a>] - Wrong title for topic's &quot;Unappproved posts&quot; icon</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15432">PHPBB3-15432</a>] - Don't remove dark background if fadedark is false</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15433">PHPBB3-15433</a>] - phpbbcli can enable non-existent extension</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15445">PHPBB3-15445</a>] - Git Contribution Guidelines in README.md is outdated</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15464">PHPBB3-15464</a>] - Can't reparse [IMG] - in uppercase</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15475">PHPBB3-15475</a>] - Restore Travis PR commit message validation</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15478">PHPBB3-15478</a>] - core.js $loadingIndicator JavaScript errors</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15489">PHPBB3-15489</a>] - Wrong footer text on forum of type &quot;category&quot;</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15496">PHPBB3-15496</a>] - SQL Error in PostgreSQL Fulltext search when results displayed as topics</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15497">PHPBB3-15497</a>] - Declaration of admin_activate_user::create_insert_array not compatible with base</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15498">PHPBB3-15498</a>] - confirm_box() adds duplicate strings to URLs in extensions</li>
</ul>
<h4>Improvement</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-7488">PHPBB3-7488</a>] - View Only - Categories: No Message</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-9819">PHPBB3-9819</a>] - Move functions definitions out of mcp.php and includes/mcp/mcp_*.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12291">PHPBB3-12291</a>] - Allow extensions to use custom topic icons</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12939">PHPBB3-12939</a>] - Drop support for IE &lt;11 on January 2016</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14677">PHPBB3-14677</a>] - Extension update check is not very colorblind / colourblind friendly.</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14820">PHPBB3-14820</a>] - Style Version Missing</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14919">PHPBB3-14919</a>] - Inconsistent use of globals vs class elements in acp_extensions</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14927">PHPBB3-14927</a>] - event core.user_add_modify_data</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14944">PHPBB3-14944</a>] - Add possibility to search for template loop indexes by key</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14950">PHPBB3-14950</a>] - Add possibility to delete a template block with alter_block_array</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14979">PHPBB3-14979</a>] - Remove underline from unread icon</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14994">PHPBB3-14994</a>] - Refactor template-&gt;assign_block_var to be consistent with alter_block_array</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14995">PHPBB3-14995</a>] - Add ACP template events acp_ext_list_*_name_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15111">PHPBB3-15111</a>] - Fix the typo in ucp_pm_view_messsage</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15134">PHPBB3-15134</a>] - Avatar upload driver should use filesystem service</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15247">PHPBB3-15247</a>] - Add driver for APCu v5.x cache</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15267">PHPBB3-15267</a>] - Hide birthday block if the user cannot view profile</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15291">PHPBB3-15291</a>] - Allow short array notation in event declarations</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15293">PHPBB3-15293</a>] - Prevent skipping file changes in automatic updater</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15307">PHPBB3-15307</a>] - Allow extensions to add custom modes to acp_users module</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15328">PHPBB3-15328</a>] - Disable email/jabber checkbox if notification method isn't supported</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15340">PHPBB3-15340</a>] - Update to plupload 2.3.1, stable for one year</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15352">PHPBB3-15352</a>] - Add text to clarify forum descriptions won't display on categories</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15374">PHPBB3-15374</a>] - Add core event to modify page title in viewforum.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15384">PHPBB3-15384</a>] - Add linebreaks to SMTP configuration option explanations</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15385">PHPBB3-15385</a>] - nginx sample config: www redirection, security regex</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15387">PHPBB3-15387</a>] - prosilver: vertical bars on forum rows on index page not full height</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15389">PHPBB3-15389</a>] - Simplify migration between event names</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15391">PHPBB3-15391</a>] - Remove not needed image rendering from topic/forum images</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15394">PHPBB3-15394</a>] - Add $user_cache and $post_edit_list to core.viewtopic_modify_post_row</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15408">PHPBB3-15408</a>] - Reject duplicate BBCodes in ACP</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15409">PHPBB3-15409</a>] - Add u_action to core.acp_users_overview_run_quicktool</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15442">PHPBB3-15442</a>] - Allow unsafe HTML in bbcode.html</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15444">PHPBB3-15444</a>] - Merge duplicate BBCodes via a migration</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15446">PHPBB3-15446</a>] - Add event core.acp_profile_action</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15447">PHPBB3-15447</a>] - Add event core.acp_profile_modify_profile_row</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15451">PHPBB3-15451</a>] - [EVENT] - mcp_topic_postrow_attachments_before/after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15452">PHPBB3-15452</a>] - [EVENT] - mcp_topic_postrow_post_before</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15453">PHPBB3-15453</a>] - Add event in acp_language after delete language</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15454">PHPBB3-15454</a>] - event - mcp_queue_approve_details_template</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15470">PHPBB3-15470</a>] - attachment boxes need there own font-size</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15471">PHPBB3-15471</a>] - Add core events to ACP when pruning a forum</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15476">PHPBB3-15476</a>] - Add core event before search rows are edited</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15485">PHPBB3-15485</a>] - Add template event to forumlist_body &gt; forum images</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15486">PHPBB3-15486</a>] - Add core event to the function user_add() to modify notifications data</li>
</ul>
<h4>New Feature</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13344">PHPBB3-13344</a>] - Add new events for logging</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15122">PHPBB3-15122</a>] - Support using memcached instead of memcache</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15372">PHPBB3-15372</a>] - Add a &quot;Can view topics&quot; permission</li>
</ul>
<h4>Sub-task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13150">PHPBB3-13150</a>] - [Event] - core.phpbb_log_get_topic_auth_sql_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15468">PHPBB3-15468</a>] - Add a service to merge duplicate BBCodes</li>
</ul>
<h4>Task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15179">PHPBB3-15179</a>] - Update 3.2.x dependencies and fix Twig &gt; 1.25 compatibility</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15304">PHPBB3-15304</a>] - Update s9e/text-formatter dependency</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15455">PHPBB3-15455</a>] - Margin discrepancy due to &lt;!-- INCLUDE jumpbox.html --&gt;</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15457">PHPBB3-15457</a>] - Update s9e/text-formatter dependency</li>
</ul>
<a name="v320"></a><h3>Changes since 3.2.0</h3>
<h4>Bug</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-7336">PHPBB3-7336</a>] - Words in new topic title aren't found by search after topic is split</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11076">PHPBB3-11076</a>] - Update notification in ACP for minimum PHP version missing essential information</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11611">PHPBB3-11611</a>] - setup_github_network.php no longer creates a repository</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13250">PHPBB3-13250</a>] - File cache does not write entries starting with _ and containing a slash</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14732">PHPBB3-14732</a>] - Update/remove PHP Code syntax highlighting references</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14790">PHPBB3-14790</a>] - Nested color/list BBCode is not parsed correctly</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14938">PHPBB3-14938</a>] - Inconsistent data results from ext_mgr-&gt;all_available() vs ext_mgr-&gt;is_available()</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14967">PHPBB3-14967</a>] - Cookie Notice</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14971">PHPBB3-14971</a>] - PHP 7.1 warning on pagination</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14975">PHPBB3-14975</a>] - incorrect RTL style appearance </li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14984">PHPBB3-14984</a>] - wrong arrow direction in PM inbox</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14985">PHPBB3-14985</a>] - Plain text is stored as HTML and not decoded before usage</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14989">PHPBB3-14989</a>] - url bbcode does not support irc protocol</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14992">PHPBB3-14992</a>] - User notifications table allowing duplicate entries</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14999">PHPBB3-14999</a>] - Next PM icon pointing in wrong direction</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15002">PHPBB3-15002</a>] - Topic icons not showing in search results</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15003">PHPBB3-15003</a>] - When using mark all, disabled check boxes should not become checked</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15006">PHPBB3-15006</a>] - Permission inheritance with checkbox not working</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15008">PHPBB3-15008</a>] - Disable emoji when smilies are disabled</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15010">PHPBB3-15010</a>] - Crash on user profile custom field</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15011">PHPBB3-15011</a>] - Error not checked on metadata load failure</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15012">PHPBB3-15012</a>] - Invalid constructor in FTP file updater</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15015">PHPBB3-15015</a>] - phpbb 3.2.0 install error in the board-wide emails description...</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15016">PHPBB3-15016</a>] - Smilies that contain some characters cause an exception to be thrown</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15023">PHPBB3-15023</a>] - Undo and properly fix post row paging</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15025">PHPBB3-15025</a>] - Use SSL in version check for extension</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15035">PHPBB3-15035</a>] - Add phpinfo.php to 3.2.x install directory</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15036">PHPBB3-15036</a>] - Failure at board setup in functional tests with install_config present</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15044">PHPBB3-15044</a>] - Installation does not create search index</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15047">PHPBB3-15047</a>] - Error migrating from 3.0.12 to 3.2. MS SQL Server</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15050">PHPBB3-15050</a>] - Updater incorrectly adds files when new file already exists</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15056">PHPBB3-15056</a>] - Mark forums read does not update subforum icons</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15058">PHPBB3-15058</a>] - At new feature release phpBB's CSS files should carry information for cache busting</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15062">PHPBB3-15062</a>] - Update to Rhea version number the CSS files</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15079">PHPBB3-15079</a>] - MySql Error when saving draft with Emoji</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15083">PHPBB3-15083</a>] - emoji's not always size constrained</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15084">PHPBB3-15084</a>] - Wrong order of breadcrumbs in module management</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15090">PHPBB3-15090</a>] - Missing acp_send_statistics -&gt; Upgrading to 3.2.0 fails for phpBBs &lt; 3.0.6-rc1</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15102">PHPBB3-15102</a>] - Missing parameter calling version_check</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15103">PHPBB3-15103</a>] - JPEG dimensions undetectable when JFIF header is missing</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15118">PHPBB3-15118</a>] - HTML error/typo in jumpbox.html </li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15124">PHPBB3-15124</a>] - Navbar icon titles don't get hidden in responsive view</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15126">PHPBB3-15126</a>] - Incorrect links with clever quotes</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15135">PHPBB3-15135</a>] - Undefined $user in metadata manager</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15137">PHPBB3-15137</a>] - Global Announcements shouldn't always be never ending</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15150">PHPBB3-15150</a>] - Yabber SSL/TLS certification</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15152">PHPBB3-15152</a>] - Update Font Awesome</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15158">PHPBB3-15158</a>] - Facebook OAuth login results in fatal error</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15163">PHPBB3-15163</a>] - Braces in smilies &quot;emotion&quot; are not treated as literals</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15173">PHPBB3-15173</a>] - Resizing the posting editor's text area lags</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15180">PHPBB3-15180</a>] - Container broken because of template.twig.environment changes</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15186">PHPBB3-15186</a>] - The force_delete_allowed flag does not affect actual posts deletion ability</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15187">PHPBB3-15187</a>] - ACP Template files not purged during Extension Enable</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15198">PHPBB3-15198</a>] - Fix phpBB and PHP version info displayed in the ACP</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15202">PHPBB3-15202</a>] - Should not be possible to disable available extensions</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15212">PHPBB3-15212</a>] - Code box has double horizontal scrollbars</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15217">PHPBB3-15217</a>] - Allow extension to overwrite user::format_date()</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15221">PHPBB3-15221</a>] - missing commas in language/en/install.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15222">PHPBB3-15222</a>] - Typo in generate_text_for_display_test.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15243">PHPBB3-15243</a>] - Check permissions before installing with SQLite</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15246">PHPBB3-15246</a>] - Memcache driver incorrectly handles Unix sockets</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15248">PHPBB3-15248</a>] - Event core.modify_posting_auth does not honor its parameters</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15252">PHPBB3-15252</a>] - Wrapping poll title and options text by extra &lt;t&gt; tags if edited a topic by user having no f_poll permission</li>
</ul>
<h4>Improvement</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13603">PHPBB3-13603</a>] - New event upon index_body_online_block_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14557">PHPBB3-14557</a>] - Simplify updating overloaded events for extensions</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14849">PHPBB3-14849</a>] - Add ACP extension event</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14928">PHPBB3-14928</a>] - Users will not understand the phrase '&quot;%s&quot; is not a valid stability.'</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14973">PHPBB3-14973</a>] - BC break with the rename of db/tools.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14974">PHPBB3-14974</a>] - Cookie notice link not configurable but links to english website</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15037">PHPBB3-15037</a>] - Make imageset retina capable</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15068">PHPBB3-15068</a>] - Add ability to retrieve template vars from the template object</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15097">PHPBB3-15097</a>] - Board statistics page should show PHP version</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15123">PHPBB3-15123</a>] - Check if extension was enabled/disabled before enable or disable</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15142">PHPBB3-15142</a>] - Extension Version Check Should Support Branches</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15157">PHPBB3-15157</a>] - Fix lack of proper font support</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15176">PHPBB3-15176</a>] - Add setting for the maximum number of posts a user must have to have his activity shown in profile</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15199">PHPBB3-15199</a>] - Add core event to the function send() in the messenger</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15200">PHPBB3-15200</a>] - Allow extensions using custom templates for help/faq controllers </li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15205">PHPBB3-15205</a>] - Add template events to forumlist_body.html</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15219">PHPBB3-15219</a>] - Add cron to update passwords hashes to bcrypt</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15226">PHPBB3-15226</a>] - Add index for latest topics query in feeds</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15227">PHPBB3-15227</a>] - Remove unused code in startup</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15237">PHPBB3-15237</a>] - Unguarded includes functions_user</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15238">PHPBB3-15238</a>] - Add console command to fix left/right IDs for the forums and modules</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15241">PHPBB3-15241</a>] - Add ACP template event acp_profile_contact_last</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15250">PHPBB3-15250</a>] - Add core event to MCP at the end of merge_posts</li>
</ul>
<h4>New Feature</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13730">PHPBB3-13730</a>] - [PHP] - core.delete_post_end</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14498">PHPBB3-14498</a>] - Not possible to deactivate display of &quot;who is online&quot; and birthdays for guests</li>
</ul>
<h4>Task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15040">PHPBB3-15040</a>] - Update s9e\TextFormatter to 0.9.1</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15045">PHPBB3-15045</a>] - Fix missing incorrect constructor for user object in version_test</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15086">PHPBB3-15086</a>] - Replace quote.gif with fontawesome icon</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15125">PHPBB3-15125</a>] - Remove the function play_qt_file in forum_fn.js</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15144">PHPBB3-15144</a>] - Bug - MCP Multiple attachments icon display</li>
</ul>
<a name="v320rc1"></a><h3>Changes since 3.2.0-RC1</h3>
<h4>Bug</h4>
<ul>
@@ -609,6 +916,197 @@
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14265">PHPBB3-14265</a>] - Make all tables available in the container</li>
</ul>
<a name="v3111"></a><h3>Changes since 3.1.11</h3>
<h4>Security Issue</h4>
<ul>
<li>[SECURITY-211] - URLs with javascript scheme should not be made clickable</li>
</ul>
<h4>Bug</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-9533">PHPBB3-9533</a>] - phpbb_own_realpath() doesn't always replicate realpath() behaviour</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12835">PHPBB3-12835</a>] - Jump-box dropdown menu doesn't expand with according to line length in IE8</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13360">PHPBB3-13360</a>] - rename_too_long_indexes migration never deleted the old unique index</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13464">PHPBB3-13464</a>] - problem with drop down options and Arabic letters in chrome</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13574">PHPBB3-13574</a>] - Last post not showing in &quot;Active topics&quot; when Prosilver goes responsive</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15174">PHPBB3-15174</a>] - Unable to purge cache (ext &amp; acp)</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15285">PHPBB3-15285</a>] - Travis tests are failing due to trusty changes</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15303">PHPBB3-15303</a>] - Typo in memcached driver</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15347">PHPBB3-15347</a>] - Password updater in cron generates invalid postgres SQL</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15367">PHPBB3-15367</a>] - Sphinx search backend doesn't escape special characters</li>
</ul>
<h4>Improvement</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-10122">PHPBB3-10122</a>] - [list=] - should support &quot;none&quot;, along with CSS2 types</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11063">PHPBB3-11063</a>] - Change version check to SSL</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14820">PHPBB3-14820</a>] - Style Version Missing</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14919">PHPBB3-14919</a>] - Inconsistent use of globals vs class elements in acp_extensions</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14927">PHPBB3-14927</a>] - event core.user_add_modify_data</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14944">PHPBB3-14944</a>] - Add possibility to search for template loop indexes by key</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14995">PHPBB3-14995</a>] - Add ACP template events acp_ext_list_*_name_after</li>
</ul>
<h4>New Feature</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13344">PHPBB3-13344</a>] - Add new events for logging</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15122">PHPBB3-15122</a>] - Support using memcached instead of memcache</li>
</ul>
<h4>Sub-task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11182">PHPBB3-11182</a>] - Ensure that template files use L_COLON instead of colons.</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11676">PHPBB3-11676</a>] - generate_text_for_storage on includes/acp/acp_users.php</li>
</ul>
<h4>Task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-10758">PHPBB3-10758</a>] - Improve Functional Test Code Coverage</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-10791">PHPBB3-10791</a>] - Add a section for extensions to readme.html</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-10792">PHPBB3-10792</a>] - Add a section for 3.0 to 3.1 upgrades to install.html</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13874">PHPBB3-13874</a>] - Add master to sami API docs</li>
</ul>
<a name="v3110"></a><h3>Changes since 3.1.10</h3>
<h4>Bug</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-7336">PHPBB3-7336</a>] - Words in new topic title aren't found by search after topic is split</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-8116">PHPBB3-8116</a>] - Server timeout or browsercrash after viewing postdetails</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-8301">PHPBB3-8301</a>] - admin log generate slow queries</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-9590">PHPBB3-9590</a>] - Unable to update permissions for more than 6 forums at a time</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11076">PHPBB3-11076</a>] - Update notification in ACP for minimum PHP version missing essential information</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11483">PHPBB3-11483</a>] - Forced Activation needs looking at.</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11611">PHPBB3-11611</a>] - setup_github_network.php no longer creates a repository</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13247">PHPBB3-13247</a>] - Online indicator in post profile hides behind certain avatars</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13250">PHPBB3-13250</a>] - File cache does not write entries starting with _ and containing a slash</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13429">PHPBB3-13429</a>] - Changes tag in docblock of events should be unified</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13558">PHPBB3-13558</a>] - Error - stream_socket_enable_crypto()</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13757">PHPBB3-13757</a>] - Negative PM count</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14468">PHPBB3-14468</a>] - [php] - 'core.viewforum_modify_topics_data' add parameter forum_id</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14549">PHPBB3-14549</a>] - Correctly redirect back after topic merge in MCP</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14770">PHPBB3-14770</a>] - Plupload: WRONG_FILESIZE is used wrong</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14795">PHPBB3-14795</a>] - Topic merge bug</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14801">PHPBB3-14801</a>] - Search highlight option doesn't always highlight unicode strings</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14802">PHPBB3-14802</a>] - Empty/blank lines should not be additional poll options</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14806">PHPBB3-14806</a>] - Authentication for e-mail is not working</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14819">PHPBB3-14819</a>] - Soft deleted posts visible in topic review</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14821">PHPBB3-14821</a>] - Do not expect parsed HTML in kernel subscriber output</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14830">PHPBB3-14830</a>] - FORM_INVALID error on ACP search and CPF settings</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14831">PHPBB3-14831</a>] - Extension migration file fails</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14838">PHPBB3-14838</a>] - feeds.attachments_base - server 500 error for large attachment tables</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14844">PHPBB3-14844</a>] - BBcodes B and I return &lt;strong&gt; and &lt;em&gt; tags instead of CSS under inherited styles</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14859">PHPBB3-14859</a>] - PM report notifications only sent out to full Global Moderators</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14860">PHPBB3-14860</a>] - Broken link on subscriptions page on mobile devices</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14863">PHPBB3-14863</a>] - &quot;Array&quot; in message title when permanently deleting posts</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14864">PHPBB3-14864</a>] - ACP datefromat text input still has 30 max length while dateformat field had been expanded to 64</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14876">PHPBB3-14876</a>] - Multibyte message is not displayed properly on exception</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14877">PHPBB3-14877</a>] - CSS error in &quot;.codebox code&quot; definition</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14881">PHPBB3-14881</a>] - Problems using EVENT (overall_footer_content_after)</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14888">PHPBB3-14888</a>] - Missing check for disabled profile field types</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14889">PHPBB3-14889</a>] - Missing method declaration in profile fields type interface</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14890">PHPBB3-14890</a>] - Wrong validation of input field in profile field type string</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14906">PHPBB3-14906</a>] - Duplicated sig key in user_cache_data array</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14923">PHPBB3-14923</a>] - SQL PostgreSQL blocking errors during DB update installation</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14938">PHPBB3-14938</a>] - Inconsistent data results from ext_mgr-&gt;all_available() vs ext_mgr-&gt;is_available()</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14941">PHPBB3-14941</a>] - MySQL Fulltext search index creating still fails on InnoDB</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14943">PHPBB3-14943</a>] - Template loop access gives PHP error</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14953">PHPBB3-14953</a>] - Incorrect &quot;order by&quot; definition in ucp_pm_viewfolder</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14968">PHPBB3-14968</a>] - Version check marks 3.1.10 boards as outdated </li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14997">PHPBB3-14997</a>] - Bad Position for topiclist_row_topic_title_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14998">PHPBB3-14998</a>] - ACP Update link is incorrect!</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15003">PHPBB3-15003</a>] - When using mark all, disabled check boxes should not become checked</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15006">PHPBB3-15006</a>] - Permission inheritance with checkbox not working</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15011">PHPBB3-15011</a>] - Error not checked on metadata load failure</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15108">PHPBB3-15108</a>] - Duplicate code in request-&gt;overwrite</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15143">PHPBB3-15143</a>] - version check on branch is broken</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15146">PHPBB3-15146</a>] - Date profile field validation incorrect</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15150">PHPBB3-15150</a>] - Yabber SSL/TLS certification</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15186">PHPBB3-15186</a>] - The force_delete_allowed flag does not affect actual posts deletion ability</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15187">PHPBB3-15187</a>] - ACP Template files not purged during Extension Enable</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15246">PHPBB3-15246</a>] - Memcache driver incorrectly handles Unix sockets</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15248">PHPBB3-15248</a>] - Event core.modify_posting_auth does not honor its parameters</li>
</ul>
<h4>Improvement</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-9211">PHPBB3-9211</a>] - List subforums-links separately in parent-forums' legend</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12749">PHPBB3-12749</a>] - core.submit_post_end add subject to the event data</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13457">PHPBB3-13457</a>] - New Hooks for ucp_main</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13459">PHPBB3-13459</a>] - New Template-Event in overall_header.html</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13479">PHPBB3-13479</a>] - Add hook for modifying highlighting on viewtopic</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13601">PHPBB3-13601</a>] - New event upon acl_clear_prefetch</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13603">PHPBB3-13603</a>] - New event upon index_body_online_block_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13605">PHPBB3-13605</a>] - New event upon ucp_pm_compose_predefined_message</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13608">PHPBB3-13608</a>] - New event upon ucp_restore_permissions</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13609">PHPBB3-13609</a>] - New event upon ucp_switch_permissions</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13845">PHPBB3-13845</a>] - Add event when user changes or delete avatar</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14119">PHPBB3-14119</a>] - [PHP] - (User) unban event request</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14239">PHPBB3-14239</a>] - [PHP] - Add event ucp_remind_modify_select_sql</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14331">PHPBB3-14331</a>] - Add rank calculation or result event access</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14520">PHPBB3-14520</a>] - [Template] - ucp_pm_viewmessage_message_body_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14522">PHPBB3-14522</a>] - [Template] - ucp_register_buttons_before</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14524">PHPBB3-14524</a>] - [PHP] - core.ucp_register_requests_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14733">PHPBB3-14733</a>] - Support increasing hashing cost factor</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14750">PHPBB3-14750</a>] - Fileupload form should not set invalid attributes for file input</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14758">PHPBB3-14758</a>] - ACP-Parameter &quot;Maximum thumbnail width in pixel&quot; should be &quot;Maximum thumbnail width/heigth in pixel:&quot;</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14759">PHPBB3-14759</a>] - Event core.mcp_main_modify_shadow_sql</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14760">PHPBB3-14760</a>] - Event core.mcp_main_modify_fork_sql</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14786">PHPBB3-14786</a>] - Add mcp_forum_actions_before/after events</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14804">PHPBB3-14804</a>] - Add core event to MCP after merging topics</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14805">PHPBB3-14805</a>] - Allow building package for previous versions on PHP 7</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14808">PHPBB3-14808</a>] - Add template event overall_header_searchbox_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14817">PHPBB3-14817</a>] - Add core event on includes/functions_download.php</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14825">PHPBB3-14825</a>] - Add OAuth events</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14827">PHPBB3-14827</a>] - Possibility to add multiple form keys</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14842">PHPBB3-14842</a>] - Avatar size 0 - unlimited</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14847">PHPBB3-14847</a>] - Add php event to add options in ACP Attachments</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14848">PHPBB3-14848</a>] - Add ACP template events after extensions list titles</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14849">PHPBB3-14849</a>] - Add ACP extension event</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14850">PHPBB3-14850</a>] - Add core events for smilies</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14852">PHPBB3-14852</a>] - Add core event to the function build_header()</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14853">PHPBB3-14853</a>] - Add core event to allow modifying PM attachments download auth</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14855">PHPBB3-14855</a>] - Update notifications and PM alert bubbles</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14870">PHPBB3-14870</a>] - Add php events to modify list of PMs</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14872">PHPBB3-14872</a>] - Remove count versus sizeof restriction in coding guidelines</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14874">PHPBB3-14874</a>] - Error on sending a .pak smiley</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14882">PHPBB3-14882</a>] - Add core event to MCP after move posts sync</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14887">PHPBB3-14887</a>] - ACP profile step 1 lang specific event</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14918">PHPBB3-14918</a>] - Provide quick access to extension version metadata</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14940">PHPBB3-14940</a>] - Add ACP template event acp_ext_details_end</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14957">PHPBB3-14957</a>] - Do not cache database config</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14958">PHPBB3-14958</a>] - Twig extension function lang() performs redundant template data copying</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15020">PHPBB3-15020</a>] - Add Events for mcp_topic_postrow_post_subject</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15059">PHPBB3-15059</a>] - Do not wrap content in code box</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15081">PHPBB3-15081</a>] - Add ACP template event acp_ext_details_notice</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15107">PHPBB3-15107</a>] - Add additional vars to event</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15131">PHPBB3-15131</a>] - Add variable to the 'core.mcp_main_modify_fork_sql' event</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15142">PHPBB3-15142</a>] - Extension Version Check Should Support Branches</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15151">PHPBB3-15151</a>] - ACP Cookie settings should contain explanatory text for all fields</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15199">PHPBB3-15199</a>] - Add core event to the function send() in the messenger</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15200">PHPBB3-15200</a>] - Allow extensions using custom templates for help/faq controllers </li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15205">PHPBB3-15205</a>] - Add template events to forumlist_body.html</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15219">PHPBB3-15219</a>] - Add cron to update passwords hashes to bcrypt</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15226">PHPBB3-15226</a>] - Add index for latest topics query in feeds</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15237">PHPBB3-15237</a>] - Unguarded includes functions_user</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15238">PHPBB3-15238</a>] - Add console command to fix left/right IDs for the forums and modules</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15241">PHPBB3-15241</a>] - Add ACP template event acp_profile_contact_last</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15250">PHPBB3-15250</a>] - Add core event to MCP at the end of merge_posts</li>
</ul>
<h4>New Feature</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12545">PHPBB3-12545</a>] - new pre-posting event</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13730">PHPBB3-13730</a>] - [PHP] - core.delete_post_end</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14390">PHPBB3-14390</a>] - [prosilver] - ucp_main_front_user_details_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14498">PHPBB3-14498</a>] - Not possible to deactivate display of &quot;who is online&quot; and birthdays for guests</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14662">PHPBB3-14662</a>] - [Template] - memberlist_team_username_prepend &amp; append</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14868">PHPBB3-14868</a>] - [Template] - mcp_forum_modify_select_after</li>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14996">PHPBB3-14996</a>] - [event] - Add Event search_results_topictitle_after</li>
</ul>
<h4>Sub-task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13149">PHPBB3-13149</a>] - [Event] - core.phpbb_log_get_topic_auth_sql_before</li>
</ul>
<h4>Task</h4>
<ul>
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-15178">PHPBB3-15178</a>] - Update 3.1.x dependencies</li>
</ul>
<a name="v319"></a><h3>Changes since 3.1.9</h3>
<h4>Bug</h4>

View File

@@ -20,15 +20,15 @@
phpBB Project Manager: Marshalrusty (Yuriy Rusko)
phpBB Product Manager: naderman (Nils Adermann)
phpBB Lead Developer: Marc (Marc Alexander)
phpBB Developers: bantu (Andreas Fischer)
CHItA (Máté Bartus)
Derky (Derk Ruitenbeek)
Elsensee (Oliver Schramm)
Hanakin (Michael Miday)
MichaelC (Michael Cullum)
Nicofuma (Tristan Darricau)
prototech (Cesar Gallegos)
For a list of phpBB Team members, please see:
http://www.phpbb.com/about/team/
@@ -41,7 +41,10 @@ https://github.com/phpbb/phpbb/graphs/contributors
phpBB Project Manager: theFinn (James Atkinson) [Founder - 04/2007]
SHS` (Jonathan Stanley)
phpBB Lead Developer: Acyd Burn (Meik Sievertsen) [09/2005 - 01/2010]
phpBB Product Manager: naderman (Nils Adermann) [02/2016 - 02/2017]
phpBB Lead Developer: naderman (Nils Adermann) [01/2010 - 02/2016]
Acyd Burn (Meik Sievertsen) [09/2005 - 01/2010]
psoTFX (Paul S. Owen) [2001 - 09/2005]
phpBB Developers: A_Jelly_Doughnut (Josh Woody) [01/2010 - 11/2010]
@@ -61,6 +64,7 @@ phpBB Developers: A_Jelly_Doughnut (Josh Woody) [01/2010 - 11/2010]
kellanved (Henry Sudhof) [04/2007 - 03/2011]
nickvergessen (Joas Schilling)[04/2010 - 12/2015]
Oleg (Oleg Pudeyev) [01/2011 - 05/2013]
prototech (Cesar Gallegos) [01/2014 - 12/2016]
rxu (Ruslan Uzdenov) [04/2010 - 12/2012]
TerraFrost (Jim Wigginton) [04/2009 - 01/2011]
ToonArmy (Chris Smith) [06/2008 - 11/2011]
@@ -75,9 +79,7 @@ Major contributions by: leviatan21 (Gabriel Vazquez)
Visual Confirmation: Xore (Robert Hetzler)
Original subSilver by subBlue Design, Tom Beddard, (c) 2001 phpBB Limited
prosilver by subBlue Design, Tom Beddard, (c) 2004 phpBB Limited
subsilver2 by subBlue Design, Tom Beddard, (c) 2004 phpBB Limited
phpBB contains code from the following applications:
@@ -99,4 +101,5 @@ Pear (c) 2001-2004 PHP Group, http://pear.php.net
Text_Diff-0.2.1 http://pear.php.net/package/Text_Diff
MIT licenced:
Symfony2 (c) 2004-2011 Fabien Potencier, http://symfony.com/
Symfony2 (c) 2004-2011 Fabien Potencier, https://symfony.com/
Cookie Consent (c) 2015 Silktide Ltd, https://cookieconsent.insites.com

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.7+</strong> with support for the database you intend to use.</li>
<li>The following PHP modules are required:
<ul>
<li>json</li>
@@ -265,15 +265,15 @@
<p>If you are currently using a stable release of phpBB, updating to this version is straightforward. You would have downloaded one of four packages and your choice determines what you need to do. <strong>Note</strong>: Before updating, we heavily recommend you do a <em>full backup of your database and existing phpBB files</em>! If you are unsure how to achieve this please ask your hosting provider for advice.</p>
<p><strong>Please make sure you update your phpBB source files too, even if you run the <code>database_update.php</code> file.</strong> If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
<p><strong>Please make sure you update your phpBB source files too, even if you just run the database updater.</strong> If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
<a name="update_full"></a><h3>4.i. Full package</h3>
<p>The full package is normally meant for new installations only, but if you want to replace all source files, this package comes in handy.</p>
<p>Updating using the full package is the recommended update method for boards without modifications to core phpBB files.</p>
<p>First, you should make a copy of your existing <code>config.php</code> file; keep it in a safe place! Next, delete all the existing phpBB files, you may want to leave your <code>files/</code>, <code>images/</code> and <code>ext/</code> directories in place, otherwise you will lose your file attachments, uploaded images and get error due to missing extension files. You can leave alternative styles in place too. With this complete, you can upload the new phpBB files (see <a href="#install">New installation</a> for details if necessary). Once complete, copy back your saved <code>config.php</code>, replacing the new one. Another method is to just <strong>replace</strong> the existing files with the files from the full package - though make sure you do <strong>not</strong> overwrite your config.php file.</p>
<p>First, you should make a copy of your existing <code>config.php</code> file; keep it in a safe place! Next, delete all the existing phpBB files, you should leave your <code>files/</code>, <code>images/</code> and <code>ext/</code> directories in place, otherwise you will lose your file attachments, uploaded images and get errors due to missing extension files. You can leave alternative styles in place too. With this complete, you can upload the new phpBB files (see <a href="#install">New installation</a> for details if necessary). Once complete, copy back your saved <code>config.php</code>, replacing the new one. Another method is to just <strong>replace</strong> the existing files with the files from the full package - though make sure you do <strong>not</strong> overwrite your config.php file.</p>
<p>You should now got to <code>/install/app.php/update</code> which will display a warning: <strong>No valid update directory was found, please make sure you uploaded the relevant files</strong>. Beneath that warning you will see a radion button <em>Update database only</em>, just click <strong>Submit</strong>. Depending on your previous version this will make a number of database changes. You may receive <em>FAILURES</em> during this procedure. They should not be a cause for concern unless you see an actual <em>ERROR</em>, in which case the script will stop (in this case you should seek help via our forums or bug tracker). If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
<p>You should now got to <code>/install/app.php/update</code> which will display a warning: <strong>No valid update directory was found, please make sure you uploaded the relevant files</strong>. Beneath that warning you will see a radio button <em>Update database only</em>, just click <strong>Submit</strong>. Depending on your previous version this will make a number of database changes. You may receive <em>FAILURES</em> during this procedure. They should not be a cause for concern unless you see an actual <em>ERROR</em>, in which case the script will stop (in this case you should seek help via our forums or bug tracker). If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
<p>Once <code>/install/app.php/update</code> has completed, it displays the success message: <strong>The database update was successful</strong>. You may proceed to the Administration Control Panel and then remove the install directory as advised.</p>
@@ -285,7 +285,7 @@
<p>The directory structure has been preserved, enabling you (if you wish) to simply upload the uncompressed contents of the archive to the appropriate location on your server, i.e. simply overwrite the existing files with the new versions. Do not forget that if you have installed any modifications (MODs) these files will overwrite the originals, possibly destroying them in the process. You will need to re-add MODs to any affected file before uploading.</p>
<p>As for the other update procedures, you should run <code>install/database_update.php</code> after you have finished updating the files. This will update your database schema and increment the version number. If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
<p>As for the other update procedures, you should go to <code>/install/app.php/update</code>, select "Update database only" and submit the page after you have finished updating the files. This will update your database schema and increment the version number. If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
<a name="update_patch"></a><h3>4.iii. Patch file</h3>
@@ -297,11 +297,11 @@
<p>If you do get failures, you should look at using the <a href="#update_files">Changed Files</a> package to replace the files which failed to patch. Please note that you will need to manually re-add any MODs to these particular files. Alternatively, if you know how, you can examine the .rej files to determine what failed where and make manual adjustments to the relevant source.</p>
<p>You should, of course, delete the patch file (or files) after use. As for the other update procedures, you should run <code>install/database_update.php</code> after you have finished updating the files. This will update your database schema and data (if appropriate) and increment the version number. If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
<p>You should, of course, delete the patch file (or files) after use. As for the other update procedures, you should navigate to <code>/install/app.php/update</code>, select "Update database only" and submit the page after you have finished updating the files. This will update your database schema and data (if appropriate) and increment the version number. If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
<a name="update_auto"></a><h3>4.iv. Automatic update package</h3>
<p>This update method is the recommended method for updating. This package detects changed files automatically and merges in changes if needed.</p>
<p>This update method is only recommended for installations with modifications to core phpBB files. This package detects changed files automatically and merges in changes if needed.</p>
<p>The automatic update package will update the board from a given version to the latest version. A number of automatic update files are available, and you should choose the one that corresponds to the version of the board that you are currently running. For example, if your current version is <strong>3.2.0</strong>, you need the <code>phpBB-3.2.0_to_3.2.1.zip/tar.bz2</code> file.</p>
@@ -456,9 +456,21 @@
<a name="webserver_configuration"></a><h3>6.ii. Webserver configuration</h3>
<p>Depending on your web server, you may have to configure your server to deny web access to the <code>cache/</code>, <code>files/</code>, <code>store/</code> and other directories. This is to prevent users from accessing sensitive files.</p>
<p>Depending on your web server, you may have to configure your server to deny web access to the <code>cache/</code>, <code>files/</code>, <code>includes</code>, <code>phpbb</code>, <code>store/</code>, and <code>vendor</code> directories. This is to prevent users from accessing sensitive files.</p>
<p>For <strong>Apache</strong> there are <code>.htaccess</code> files already in place to do this for you. Similarly, for <strong>Windows</strong> based servers using <strong>IIS</strong> there are <code>web.config</code> files already in place to do this for you. For other webservers, you will have to adjust the configuration yourself. Sample files for <strong>nginx</strong> and <strong>lighttpd</strong> to help you get started may be found in <code>docs/</code> directory.</p>
<p>
For <strong>Apache</strong> there are <code>.htaccess</code> files already in place to do this for the most sensitive files and folders. We do however recommend to completely deny all access to the aforementioned folders and their respective subfolders in your Apache configuration.<br />
On Apache 2.4, denying access to the <code>phpbb</code> folder in a phpBB instance located at <code>/var/www/html/</code> would be accomplished by adding the following access rules to the Apache configuration file (typically apache.conf):
<pre>
&lt;Directory /var/www/html/phpbb/*&gt;
Require all denied
&lt;/Directory&gt;
&lt;Directory /var/www/html/phpbb>
Require all denied
&lt;/Directory&gt;</pre>
<br />
<p>The same settings can be applied to the other mentioned directories by replacing <code>phpbb</code> by the respective directory name. Please note that there are differences in syntax between Apache version <a href="https://httpd.apache.org/docs/2.2/howto/access.html">2.2</a> and <a href="https://httpd.apache.org/docs/2.4/howto/access.html">2.4</a>.</p>
<p>For <strong>Windows</strong> based servers using <strong>IIS</strong> there are <code>web.config</code> files already in place to do this for you. For other webservers, you will have to adjust the configuration yourself. Sample files for <strong>nginx</strong> and <strong>lighttpd</strong> to help you get started may be found in the <code>docs/</code> directory.</p>
</div>

View File

@@ -323,11 +323,11 @@
<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 PHP to run phpBB. The minimum version required is PHP 5.4.0 and the maximum supported version is the latest stable version of PHP.</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.7 and the maximum supported version is the latest stable version of PHP.</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>
<p>This board has been developed and tested under Linux and Windows (amongst others) running Apache using MySQL 3.23, 4.x, 5.x, MariaDB 5.x, PostgreSQL 8.x, Oracle 8 and SQLite 3. Versions of PHP used range from 5.4.x above 5.6.x to 7.0.x without problem.</p>
<p>This board has been developed and tested under Linux and Windows (amongst others) running Apache using MySQL 3.23, 4.x, 5.x, MariaDB 5.x, PostgreSQL 8.x, Oracle 8 and SQLite 3. Versions of PHP used range from 5.4.7 above 5.6.x to 7.1.x and 7.2.x without problem.</p>
<a name="phpsec"></a><h3>7.i. Notice on PHP security issues</h3>

View File

@@ -115,6 +115,17 @@ code {
padding: 0 4px;
}
pre {
color: #006600;
font-weight: normal;
font-family: 'Courier New', monospace;
border-color: #D1D7DC;
border-width: 1px;
border-style: solid;
background-color: #FAFAFA;
padding: 0 4px
}
#wrap {
padding: 0 20px;
min-width: 650px;

View File

@@ -627,7 +627,7 @@ $min = ($i &lt; $j) ? $i : $j;</pre>
<pre>if (isset($forum) &amp;&amp; $forum == 5)</pre>
</div>
<p>The <code>empty()</code> function is useful if you want to check if a variable is not set or being empty (an empty string, 0 as an integer or string, NULL, false, an empty array or a variable declared, but without a value in a class). Therefore empty should be used in favor of <code>isset($array) &amp;&amp; sizeof($array) &gt; 0</code> - this can be written in a shorter way as <code>!empty($array)</code>.</p>
<p>The <code>empty()</code> function is useful if you want to check if a variable is not set or being empty (an empty string, 0 as an integer or string, NULL, false, an empty array or a variable declared, but without a value in a class). Therefore empty should be used in favor of <code>isset($array) &amp;&amp; count($array) &gt; 0</code> - this can be written in a shorter way as <code>!empty($array)</code>.</p>
<h4>Switch statements:</h4>
<p>Switch/case code blocks can get a bit long sometimes. To have some level of notice and being in-line with the opening/closing brace requirement (where they are on the same line for better readability), this also applies to switch/case code blocks and the breaks. An example:</p>
@@ -994,9 +994,9 @@ $sql = $db-&gt;sql_build_query('SELECT', $sql_array);</pre>
<h4>Operations in loop definition: </h4>
<p>Always try to optimize your loops if operations are going on at the comparing part, since this part is executed every time the loop is parsed through. For assignments a descriptive name should be chosen. Example:</p>
<p class="bad">// On every iteration the sizeof function is called</p>
<p class="bad">// On every iteration the count function is called</p>
<div class="codebox"><pre>
for ($i = 0; $i &lt; sizeof($post_data); $i++)
for ($i = 0; $i &lt; count($post_data); $i++)
{
do_something();
}</pre>
@@ -1004,7 +1004,7 @@ for ($i = 0; $i &lt; sizeof($post_data); $i++)
<p class="good">// You are able to assign the (not changing) result within the loop itself</p>
<div class="codebox"><pre>
for ($i = 0, $size = sizeof($post_data); $i &lt; $size; $i++)
for ($i = 0, $size = count($post_data); $i &lt; $size; $i++)
{
do_something();
}</pre>
@@ -2387,7 +2387,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
You have <code>[1/21/31] slon</code>, <code>[2/3/4] slona</code>, <code>[0/5/6] slonova</code> and <code>[7/8/9/11] ...</code> and some more difficult rules.
</p>
<p>The <a href="https://wiki.phpbb.com/Plural_Rules">plural system</a> takes care of this and can be used as follows:</p>
<p>The <a href="https://area51.phpbb.com/docs/dev/32x/language/plurals.html">plural system</a> takes care of this and can be used as follows:</p>
<p>The PHP code will basically look like this:</p>

View File

@@ -58,12 +58,36 @@ acp_email_options_after
* Since: 3.1.2-RC1
* Purpose: Add settings to mass email form
acp_ext_details_end
===
* Location: adm/style/acp_ext_details.html
* Since: 3.1.11-RC1
* Purpose: Add more detailed information on extension after the available information.
acp_ext_details_notice
===
* Location: adm/style/acp_ext_details.html
* Since: 3.1.11-RC1
* Purpose: Add extension detail notices after version check information.
acp_ext_list_disabled_name_after
===
* Location: adm/style/acp_ext_list.html
* Since: 3.1.11-RC1
* Purpose: Add content after the name of disabled extensions in the list
acp_ext_list_disabled_title_after
===
* Location: adm/style/acp_ext_list.html
* Since: 3.1.11-RC1
* Purpose: Add text after disabled extensions section title.
acp_ext_list_enabled_name_after
===
* Location: adm/style/acp_ext_list.html
* Since: 3.1.11-RC1
* Purpose: Add content after the name of enabled extensions in the list
acp_ext_list_enabled_title_after
===
* Location: adm/style/acp_ext_list.html
@@ -381,6 +405,20 @@ acp_profile_contact_before
* Since: 3.1.6-RC1
* Purpose: Add extra options to custom profile field configuration in the ACP
acp_profile_contact_last
===
* Locations:
+ adm/style/acp_profile.html
* Since: 3.1.11-RC1
* Purpose: Add contact specific options to custom profile fields in the ACP
acp_profile_step_one_lang_after
===
* Locations:
+ adm/style/acp_profile.html
* Since: 3.1.11-RC1
* Purpose: Add extra lang specific options to custom profile field step one configuration in the ACP
acp_prune_forums_append
===
* Locations:
@@ -395,6 +433,13 @@ acp_prune_forums_prepend
* Since: 3.1.7-RC1
* Purpose: Add content before the forum select form label
acp_prune_forums_settings_append
===
* Locations:
+ adm/style/acp_prune_forums.html
* Since: 3.2.2-RC1
* Purpose: Add content after the prune settings
acp_prune_users_find_username_append
===
* Locations:
@@ -460,6 +505,13 @@ acp_styles_list_before
* Since: 3.1.7-RC1
* Purpose: Add content before list of styles
acp_users_mode_add
===
* Locations:
+ adm/style/acp_users.html
* Since: 3.2.2-RC1
* Purpose: Add extra modes to the ACP user page
acp_users_profile_before
===
* Locations:
@@ -628,6 +680,34 @@ forumlist_body_category_header_row_prepend
* Since: 3.1.5-RC1
* Purpose: Add content before the header row of the category on the forum list.
forumlist_body_forum_image_after
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.2.2-RC1
* Purpose: Add content after the forum image on the forum list.
forumlist_body_forum_image_append
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.2.2-RC1
* Purpose: Add content at the start of the forum image on the forum list.
forumlist_body_forum_image_before
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.2.2-RC1
* Purpose: Add content before the forum image on the forum list.
forumlist_body_forum_image_prepend
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.2.2-RC1
* Purpose: Add content at the end of the forum image on the forum list.
forumlist_body_forum_row_after
===
* Locations:
@@ -663,6 +743,20 @@ forumlist_body_last_post_title_prepend
* Since: 3.1.0-a1
* Purpose: Add content before the post title of the latest post in a forum on the forum list.
forumlist_body_subforum_link_append
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.1.11-RC1
* Purpose: Add content at the end of subforum link item.
forumlist_body_subforum_link_prepend
===
* Locations:
+ styles/prosilver/template/forumlist_body.html
* Since: 3.1.11-RC1
* Purpose: Add content at the start of subforum link item.
forumlist_body_subforums_after
===
* Locations:
@@ -684,6 +778,13 @@ forumlist_body_last_row_after
* Since: 3.1.0-b2
* Purpose: Add content after the very last row of the forum list.
index_body_birthday_block_before
===
* Locations:
+ styles/prosilver/template/index_body.html
* Since: 3.1.11-RC1
* Purpose: Add new statistic blocks before the Birthday block
index_body_block_birthday_append
===
* Locations:
@@ -796,6 +897,13 @@ mcp_forum_actions_after
* Since: 3.1.11-RC1
* Purpose: Add some information after actions fieldset
mcp_forum_actions_append
===
* Locations:
+ styles/prosilver/template/mcp_forum.html
* Since: 3.1.11-RC1
* Purpose: Add additional options to actions select
mcp_forum_actions_before
===
* Locations:
@@ -880,6 +988,27 @@ mcp_topic_options_before
* Since: 3.1.6-RC1
* Purpose: Add some options (field, checkbox, ...) before the subject field when split a subject
mcp_topic_postrow_attachments_after
===
* Locations:
+ styles/prosilver/template/mcp_topic.html
* Since: 3.2.2-RC1
* Purpose: Show additional content after attachments in mcp topic review
mcp_topic_postrow_attachments_before
===
* Locations:
+ styles/prosilver/template/mcp_topic.html
* Since: 3.2.2-RC1
* Purpose: Show additional content before attachments in mcp topic review
mcp_topic_postrow_post_before
===
* Locations:
+ styles/prosilver/template/mcp_topic.html
* Since: 3.2.2-RC1
* Purpose: Show additional content after postrow begins in mcp topic review
mcp_topic_postrow_post_details_after
===
* Locations:
@@ -894,6 +1023,20 @@ mcp_topic_postrow_post_details_before
* Since: 3.1.10-RC1
* Purpose: Add content before post details in topic moderation
mcp_topic_postrow_post_subject_after
===
* Locations:
+ styles/prosilver/template/mcp_topic.html
* Since: 3.1.11-RC1
* Purpose: Add content after post subject in topic moderation
mcp_topic_postrow_post_subject_before
===
* Locations:
+ styles/prosilver/template/mcp_topic.html
* Since: 3.1.11-RC1
* Purpose: Add content before post subject in topic moderation
mcp_topic_topic_title_after
===
* Locations:
@@ -996,6 +1139,20 @@ memberlist_search_sorting_options_before
* Since: 3.1.2-RC1
* Purpose: Add information before the search sorting options field.
memberlist_team_username_append
===
* Locations:
+ styles/prosilver/template/memberlist_team.html
* Since: 3.1.11-RC1
* Purpose: Append information to username of team member
memberlist_team_username_prepend
===
* Locations:
+ styles/prosilver/template/memberlist_team.html
* Since: 3.1.11-RC1
* Purpose: Add information before team user username
memberlist_view_contact_after
===
* Locations:
@@ -1389,6 +1546,20 @@ overall_header_stylesheets_after
* Purpose: Add asset calls after stylesheets within the `</head>` tag.
Note that INCLUDECSS will not work with this event.
posting_attach_body_attach_row_controls_append
===
* Locations:
+ styles/prosilver/template/posting_attach_body.html
* Since: 3.2.2-RC1
* Purpose: Add content after attachment control elements
posting_attach_body_attach_row_controls_prepend
===
* Locations:
+ styles/prosilver/template/posting_attach_body.html
* Since: 3.2.2-RC1
* Purpose: Add content before attachment control elements
posting_editor_add_panel_tab
===
* Locations:
@@ -1767,6 +1938,13 @@ search_results_topic_before
* Since: 3.1.0-b4
* Purpose: Add data before search result topics
search_results_topic_title_after
===
* Locations:
+ styles/prosilver/template/search_results.html
* Since: 3.1.11-RC1
* Purpose: Add data after search results topic title
simple_footer_after
===
* Locations:
@@ -1846,6 +2024,13 @@ ucp_main_front_user_activity_after
* Since: 3.1.6-RC1
* Purpose: Add content right after the user activity info viewing UCP front page
ucp_main_front_user_activity_append
===
* Locations:
+ styles/prosilver/template/ucp_main_front.html
* Since: 3.1.11-RC1
* Purpose: Add content after last user activity info viewing UCP front page
ucp_main_front_user_activity_before
===
* Locations:
@@ -1853,6 +2038,13 @@ ucp_main_front_user_activity_before
* Since: 3.1.6-RC1
* Purpose: Add content right before the user activity info viewing UCP front page
ucp_main_front_user_activity_prepend
===
* Locations:
+ styles/prosilver/template/ucp_main_front.html
* Since: 3.1.11-RC1
* Purpose: Add content before first user activity info viewing UCP front page
ucp_pm_history_post_buttons_after
===
* Locations:
@@ -1945,6 +2137,13 @@ ucp_pm_viewmessage_custom_fields_before
* Purpose: Add data before the custom fields on the user profile when viewing
a private message
ucp_pm_viewmessage_options_before
===
* Locations:
+ styles/prosilver/template/ucp_pm_viewmessage.html
* Since: 3.1.11-RC1
* Purpose: Add content right before display options
ucp_pm_viewmessage_post_buttons_after
===
* Locations:
@@ -2088,6 +2287,13 @@ ucp_profile_register_details_after
* Since: 3.1.4-RC1
* Purpose: Add options in profile page fieldset - after confirm password field.
ucp_register_buttons_before
===
* Locations:
+ styles/prosilver/template/ucp_register.html
* Since: 3.1.11-RC1
* Purpose: Add content before buttons in registration form.
ucp_register_credentials_before
===
* Locations:
@@ -2542,6 +2748,13 @@ viewtopic_topic_title_after
* Since: 3.1.7-RC1
* Purpose: Add content directly after the topic title link on the View topic screen (outside of the h2 HTML tag)
viewtopic_topic_title_before
===
* Locations:
+ styles/prosilver/template/viewtopic_body.html
* Since: 3.2.2-RC1
* Purpose: Add content directly before the topic title link on the View topic screen (outside of the h2 HTML tag)
viewtopic_topic_title_append
===
* Locations:

View File

@@ -37,7 +37,7 @@ $HTTP["host"] == "www.myforums.com" {
accesslog.filename = "/var/log/lighttpd/access-www.myforums.com.log"
# Deny access to internal phpbb files.
$HTTP["url"] =~ "^/(config\.php|common\.php|includes|cache|files|store|images/avatars/upload)" {
$HTTP["url"] =~ "^/(config\.php|common\.php|cache|files|images/avatars/upload|includes|phpbb|store|vendor)" {
url.access-deny = ( "" )
}

View File

@@ -18,11 +18,11 @@ http {
gzip_vary on;
gzip_http_version 1.1;
gzip_min_length 700;
# Compression levels over 6 do not give an appreciable improvement
# in compression ratio, but take more resources.
gzip_comp_level 6;
# IE 6 and lower do not support gzip with Vary correctly.
gzip_disable "msie6";
# Before nginx 0.7.63:
@@ -49,9 +49,7 @@ http {
server_name myforums.com;
# A trick from http://wiki.nginx.org/Pitfalls#Taxing_Rewrites:
rewrite ^ http://www.myforums.com$request_uri permanent;
# Equivalent to:
#rewrite ^(.*)$ http://www.myforums.com$1 permanent;
return 301 http://www.myforums.com$request_uri;
}
# The actual board domain.
@@ -72,7 +70,7 @@ http {
}
# Deny access to internal phpbb files.
location ~ /(config\.php|common\.php|includes|cache|files|store|images/avatars/upload) {
location ~ /(config\.php|common\.php|cache|files|images/avatars/upload|includes|(?<!ext/)phpbb|store|vendor) {
deny all;
# deny was ignored before 0.8.40 for connections over IPv6.
# Use internal directive to prohibit access on older versions.

View File

@@ -159,6 +159,8 @@ $user->session_begin(false);
$auth->acl($user->data);
$user->setup('viewtopic');
$phpbb_content_visibility = $phpbb_container->get('content.visibility');
if (!$config['allow_attachments'] && !$config['allow_pm_attach'])
{
send_status_line(404, 'Not Found');
@@ -225,7 +227,7 @@ else
$post_row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
if (!$post_row || ($post_row['post_visibility'] != ITEM_APPROVED && !$auth->acl_get('m_approve', $post_row['forum_id'])))
if (!$post_row || !$phpbb_content_visibility->is_visible('post', $post_row['forum_id'], $post_row))
{
// Attachment of a soft deleted post and the user is not allowed to see the post
send_status_line(404, 'Not Found');
@@ -272,7 +274,7 @@ else
* @var string mode Download mode
* @var bool thumbnail Flag indicating if the file is a thumbnail
* @since 3.1.6-RC1
* @change 3.1.7-RC1 Fixing wrong name of a variable (replacing "extension" by "extensions")
* @changed 3.1.7-RC1 Fixing wrong name of a variable (replacing "extension" by "extensions")
*/
$vars = array(
'attach_id',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 B

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 B

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 B

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 B

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 B

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@@ -190,7 +190,7 @@ class acp_attachments
validate_config_vars($display_vars['vars'], $cfg_array, $error);
// Do not write values if there is an error
if (sizeof($error))
if (count($error))
{
$submit = false;
}
@@ -226,7 +226,7 @@ class acp_attachments
// Check Settings
$this->test_upload($error, $this->new_config['upload_path'], false);
if (!sizeof($error))
if (!count($error))
{
trigger_error($user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action));
}
@@ -256,14 +256,14 @@ class acp_attachments
$supported_types = get_supported_image_types();
// Check Thumbnail Support
if (!$this->new_config['img_imagick'] && (!isset($supported_types['format']) || !sizeof($supported_types['format'])))
if (!$this->new_config['img_imagick'] && (!isset($supported_types['format']) || !count($supported_types['format'])))
{
$this->new_config['img_create_thumbnail'] = 0;
}
$template->assign_vars(array(
'U_SEARCH_IMAGICK' => $this->u_action . '&amp;action=imgmagick',
'S_THUMBNAIL_SUPPORT' => (!$this->new_config['img_imagick'] && (!isset($supported_types['format']) || !sizeof($supported_types['format']))) ? false : true)
'S_THUMBNAIL_SUPPORT' => (!$this->new_config['img_imagick'] && (!isset($supported_types['format']) || !count($supported_types['format']))) ? false : true)
);
// Secure Download Options - Same procedure as with banning
@@ -290,7 +290,7 @@ class acp_attachments
$template->assign_vars(array(
'S_SECURE_DOWNLOADS' => $this->new_config['secure_downloads'],
'S_DEFINED_IPS' => ($defined_ips != '') ? true : false,
'S_WARNING' => (sizeof($error)) ? true : false,
'S_WARNING' => (count($error)) ? true : false,
'WARNING_MSG' => implode('<br />', $error),
'DEFINED_IPS' => $defined_ips,
@@ -363,7 +363,7 @@ class acp_attachments
// Generate correct Change List
$extensions = array();
for ($i = 0, $size = sizeof($extension_change_list); $i < $size; $i++)
for ($i = 0, $size = count($extension_change_list); $i < $size; $i++)
{
$extensions[$extension_change_list[$i]]['group_id'] = $group_select_list[$i];
}
@@ -390,7 +390,7 @@ class acp_attachments
// Delete Extension?
$extension_id_list = $request->variable('extension_id_list', array(0));
if (sizeof($extension_id_list))
if (count($extension_id_list))
{
$sql = 'SELECT extension
FROM ' . EXTENSIONS_TABLE . '
@@ -420,7 +420,7 @@ class acp_attachments
if ($add_extension && $add)
{
if (!sizeof($error))
if (!count($error))
{
$sql = 'SELECT extension_id
FROM ' . EXTENSIONS_TABLE . "
@@ -433,7 +433,7 @@ class acp_attachments
}
$db->sql_freeresult($result);
if (!sizeof($error))
if (!count($error))
{
$sql_ary = array(
'group_id' => $add_extension_group,
@@ -447,7 +447,7 @@ class acp_attachments
}
}
if (!sizeof($error))
if (!count($error))
{
$notify[] = $user->lang['EXTENSIONS_UPDATED'];
}
@@ -558,7 +558,7 @@ class acp_attachments
$db->sql_freeresult($result);
}
if (!sizeof($error))
if (!count($error))
{
// Ok, build the update/insert array
$upload_icon = $request->variable('upload_icon', 'no_image');
@@ -575,7 +575,7 @@ class acp_attachments
$max_filesize = 0;
}
if (!sizeof($allowed_forums))
if (!count($allowed_forums))
{
$forum_select = false;
}
@@ -612,7 +612,7 @@ class acp_attachments
$extension_list = $request->variable('extensions', array(0));
if ($action == 'edit' && sizeof($extension_list))
if ($action == 'edit' && count($extension_list))
{
$sql = 'UPDATE ' . EXTENSIONS_TABLE . "
SET group_id = 0
@@ -620,7 +620,7 @@ class acp_attachments
$db->sql_query($sql);
}
if (sizeof($extension_list))
if (count($extension_list))
{
$sql = 'UPDATE ' . EXTENSIONS_TABLE . "
SET group_id = $group_id
@@ -630,7 +630,7 @@ class acp_attachments
$cache->destroy('_extensions');
if (!sizeof($error))
if (!count($error))
{
$notify[] = $user->lang['SUCCESS_EXTENSION_GROUP_' . strtoupper($action)];
}
@@ -806,7 +806,7 @@ class acp_attachments
'S_FILENAME_LIST' => $filename_list,
'S_EDIT_GROUP' => true,
'S_NO_IMAGE' => $no_image_select,
'S_FORUM_IDS' => (sizeof($forum_ids)) ? true : false,
'S_FORUM_IDS' => (count($forum_ids)) ? true : false,
'U_EXTENSIONS' => append_sid("{$phpbb_admin_path}index.$phpEx", "i=$id&amp;mode=extensions"),
'U_BACK' => $this->u_action,
@@ -922,13 +922,16 @@ class acp_attachments
case 'orphan':
/* @var $pagination \phpbb\pagination */
$pagination = $this->phpbb_container->get('pagination');
if ($submit)
{
$delete_files = (isset($_POST['delete'])) ? array_keys($request->variable('delete', array('' => 0))) : array();
$add_files = (isset($_POST['add'])) ? array_keys($request->variable('add', array('' => 0))) : array();
$post_ids = $request->variable('post_id', array('' => 0));
if (sizeof($delete_files))
if (count($delete_files))
{
$sql = 'SELECT *
FROM ' . ATTACHMENTS_TABLE . '
@@ -951,7 +954,7 @@ class acp_attachments
$db->sql_freeresult($result);
}
if (sizeof($delete_files))
if (count($delete_files))
{
$sql = 'DELETE FROM ' . ATTACHMENTS_TABLE . '
WHERE ' . $db->sql_in_set('attach_id', array_keys($delete_files));
@@ -971,7 +974,7 @@ class acp_attachments
}
unset($add_files);
if (sizeof($upload_list))
if (count($upload_list))
{
$template->assign_var('S_UPLOADING_FILES', true);
@@ -1064,13 +1067,29 @@ class acp_attachments
'S_ORPHAN' => true)
);
$attachments_per_page = (int) $config['topics_per_page'];
// Get total number or orphans older than 3 hours
$sql = 'SELECT COUNT(attach_id) as num_files, SUM(filesize) as total_size
FROM ' . ATTACHMENTS_TABLE . '
WHERE is_orphan = 1
AND filetime < ' . (time() - 3*60*60);
$result = $this->db->sql_query($sql);
$row = $this->db->sql_fetchrow($result);
$num_files = (int) $row['num_files'];
$total_size = (int) $row['total_size'];
$this->db->sql_freeresult($result);
$start = $request->variable('start', 0);
$start = $pagination->validate_start($start, $attachments_per_page, $num_files);
// Just get the files with is_orphan set and older than 3 hours
$sql = 'SELECT *
FROM ' . ATTACHMENTS_TABLE . '
WHERE is_orphan = 1
AND filetime < ' . (time() - 3*60*60) . '
ORDER BY filetime DESC';
$result = $db->sql_query($sql);
$result = $db->sql_query_limit($sql, $attachments_per_page, $start);
while ($row = $db->sql_fetchrow($result))
{
@@ -1086,6 +1105,20 @@ class acp_attachments
}
$db->sql_freeresult($result);
$pagination->generate_template_pagination(
$this->u_action,
'pagination',
'start',
$num_files,
$attachments_per_page,
$start
);
$template->assign_vars(array(
'TOTAL_FILES' => $num_files,
'TOTAL_SIZE' => get_formatted_filesize($total_size),
));
break;
case 'manage':
@@ -1094,7 +1127,7 @@ class acp_attachments
{
$delete_files = (isset($_POST['delete'])) ? array_keys($request->variable('delete', array('' => 0))) : array();
if (sizeof($delete_files))
if (count($delete_files))
{
// Select those attachments we want to delete...
$sql = 'SELECT real_filename
@@ -1110,7 +1143,7 @@ class acp_attachments
if ($num_deleted = $this->attachment_manager->delete('attach', $delete_files))
{
if (sizeof($delete_files) != $num_deleted)
if (count($delete_files) != $num_deleted)
{
$error[] = $user->lang['FILES_GONE'];
}
@@ -1231,7 +1264,7 @@ class acp_attachments
// Grab extensions
$extensions = $cache->obtain_attach_extensions(true);
for ($i = 0, $end = sizeof($attachments_list); $i < $end; ++$i)
for ($i = 0, $end = count($attachments_list); $i < $end; ++$i)
{
$row = $attachments_list[$i];
@@ -1266,7 +1299,7 @@ class acp_attachments
break;
}
if (sizeof($error))
if (count($error))
{
$template->assign_vars(array(
'S_WARNING' => true,
@@ -1274,7 +1307,7 @@ class acp_attachments
);
}
if (sizeof($notify))
if (count($notify))
{
$template->assign_vars(array(
'S_NOTIFY' => true,
@@ -1443,7 +1476,7 @@ class acp_attachments
$row['group_name'] = $user->lang['NOT_ASSIGNED'];
$group_name[] = $row;
for ($i = 0, $groups_size = sizeof($group_name); $i < $groups_size; $i++)
for ($i = 0, $groups_size = count($group_name); $i < $groups_size; $i++)
{
if ($default_group === false)
{
@@ -1676,7 +1709,7 @@ class acp_attachments
}
$db->sql_freeresult($result);
if (sizeof($iplist))
if (count($iplist))
{
foreach ($iplist as $ip_entry)
{
@@ -1686,7 +1719,7 @@ class acp_attachments
}
}
if (sizeof($hostlist))
if (count($hostlist))
{
foreach ($hostlist as $host_entry)
{
@@ -1709,7 +1742,7 @@ class acp_attachments
{
$unip_sql = $request->variable('unip', array(0));
if (sizeof($unip_sql))
if (count($unip_sql))
{
$l_unip_list = '';

View File

@@ -253,7 +253,7 @@ class acp_bbcodes
if ($row)
{
$bbcode_id = $row['max_bbcode_id'] + 1;
$bbcode_id = (int) $row['max_bbcode_id'] + 1;
// Make sure it is greater than the core bbcode ids...
if ($bbcode_id <= NUM_CORE_BBCODES)
@@ -494,7 +494,7 @@ class acp_bbcodes
// Pad backreference numbers from tokens
if (preg_match_all('/(?<!\\\\)\$([0-9]+)/', $replace, $repad))
{
$repad = $pad + sizeof(array_unique($repad[0]));
$repad = $pad + count(array_unique($repad[0]));
$replace = preg_replace_callback('/(?<!\\\\)\$([0-9]+)/', function ($match) use ($pad) {
return '${' . ($match[1] + $pad) . '}';
}, $replace);
@@ -553,10 +553,10 @@ class acp_bbcodes
}
// Lowercase tags
$bbcode_tag = preg_replace('/.*?\[([a-z0-9_-]+=?).*/i', '$1', $bbcode_match);
$bbcode_search = preg_replace('/.*?\[([a-z0-9_-]+)=?.*/i', '$1', $bbcode_match);
$bbcode_tag = preg_replace('/.*?\[([a-z0-9_-]+).*/i', '$1', $bbcode_match);
$bbcode_search = preg_replace('/.*?\[([a-z0-9_-]+).*/i', '$1', $bbcode_match);
if (!preg_match('/^[a-zA-Z0-9_-]+=?$/', $bbcode_tag))
if (!preg_match('/^[a-zA-Z0-9_-]+$/', $bbcode_tag))
{
global $user;
trigger_error($user->lang['BBCODE_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);

View File

@@ -26,7 +26,7 @@ if (!defined('IN_PHPBB'))
class acp_board
{
var $u_action;
var $new_config = array();
var $new_config;
function main($id, $mode)
{
@@ -196,6 +196,7 @@ class acp_board
'allow_post_flash' => array('lang' => 'ALLOW_POST_FLASH', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'allow_smilies' => array('lang' => 'ALLOW_SMILIES', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
'allow_post_links' => array('lang' => 'ALLOW_POST_LINKS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'allowed_schemes_links' => array('lang' => 'ALLOWED_SCHEMES_LINKS', 'validate' => 'string', 'type' => 'text:0:255', 'explain' => true),
'allow_nocensors' => array('lang' => 'ALLOW_NO_CENSORS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'allow_bookmarks' => array('lang' => 'ALLOW_BOOKMARKS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'enable_post_confirm' => array('lang' => 'VISUAL_CONFIRM_POST', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
@@ -319,10 +320,11 @@ class acp_board
'title' => 'ACP_COOKIE_SETTINGS',
'vars' => array(
'legend1' => 'ACP_COOKIE_SETTINGS',
'cookie_domain' => array('lang' => 'COOKIE_DOMAIN', 'validate' => 'string', 'type' => 'text::255', 'explain' => false),
'cookie_name' => array('lang' => 'COOKIE_NAME', 'validate' => 'string', 'type' => 'text::16', 'explain' => false),
'cookie_path' => array('lang' => 'COOKIE_PATH', 'validate' => 'string', 'type' => 'text::255', 'explain' => false),
'cookie_secure' => array('lang' => 'COOKIE_SECURE', 'validate' => 'bool', 'type' => 'radio:disabled_enabled', 'explain' => true),
'cookie_domain' => array('lang' => 'COOKIE_DOMAIN', 'validate' => 'string', 'type' => 'text::255', 'explain' => true),
'cookie_name' => array('lang' => 'COOKIE_NAME', 'validate' => 'string', 'type' => 'text::16', 'explain' => true),
'cookie_path' => array('lang' => 'COOKIE_PATH', 'validate' => 'string', 'type' => 'text::255', 'explain' => true),
'cookie_secure' => array('lang' => 'COOKIE_SECURE', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true),
'cookie_notice' => array('lang' => 'COOKIE_NOTICE', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true),
)
);
break;
@@ -351,8 +353,10 @@ class acp_board
'load_moderators' => array('lang' => 'YES_MODERATORS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
'load_jumpbox' => array('lang' => 'YES_JUMPBOX', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
'load_user_activity' => array('lang' => 'LOAD_USER_ACTIVITY', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'load_user_activity_limit' => array('lang' => 'LOAD_USER_ACTIVITY_LIMIT', 'validate' => 'int:0:99999999', 'type' => 'number:0:99999999', 'explain' => true),
'load_tplcompile' => array('lang' => 'RECOMPILE_STYLES', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'allow_cdn' => array('lang' => 'ALLOW_CDN', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'enable_accurate_pm_button' => array('lang' => 'YES_ACCURATE_PM_BUTTON', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'allow_live_searches' => array('lang' => 'ALLOW_LIVE_SEARCHES', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'legend3' => 'CUSTOM_PROFILE_FIELDS',
@@ -441,11 +445,11 @@ class acp_board
'legend1' => 'GENERAL_SETTINGS',
'email_enable' => array('lang' => 'ENABLE_EMAIL', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true),
'board_email_form' => array('lang' => 'BOARD_EMAIL_FORM', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true),
'email_function_name' => array('lang' => 'EMAIL_FUNCTION_NAME', 'validate' => 'string', 'type' => 'text:20:50', 'explain' => true),
'email_package_size' => array('lang' => 'EMAIL_PACKAGE_SIZE', 'validate' => 'int:0', 'type' => 'number:0:99999', 'explain' => true),
'board_contact' => array('lang' => 'CONTACT_EMAIL', 'validate' => 'email', 'type' => 'email:25:100', 'explain' => true),
'board_contact_name' => array('lang' => 'CONTACT_EMAIL_NAME', 'validate' => 'string', 'type' => 'text:25:50', 'explain' => true),
'board_email' => array('lang' => 'ADMIN_EMAIL', 'validate' => 'email', 'type' => 'email:25:100', 'explain' => true),
'email_force_sender' => array('lang' => 'EMAIL_FORCE_SENDER', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'board_email_sig' => array('lang' => 'EMAIL_SIG', 'validate' => 'string', 'type' => 'textarea:5:30', 'explain' => true),
'board_hide_emails' => array('lang' => 'BOARD_HIDE_EMAILS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'send_test_email' => array('lang' => 'SEND_TEST_EMAIL', 'validate' => 'bool', 'type' => 'custom', 'method' => 'send_test_email', 'explain' => true),
@@ -457,6 +461,9 @@ class acp_board
'smtp_auth_method' => array('lang' => 'SMTP_AUTH_METHOD', 'validate' => 'string', 'type' => 'select', 'method' => 'mail_auth_select', 'explain' => true),
'smtp_username' => array('lang' => 'SMTP_USERNAME', 'validate' => 'string', 'type' => 'text:25:255', 'explain' => true),
'smtp_password' => array('lang' => 'SMTP_PASSWORD', 'validate' => 'string', 'type' => 'password:25:255', 'explain' => true),
'smtp_verify_peer' => array('lang' => 'SMTP_VERIFY_PEER', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'smtp_verify_peer_name' => array('lang' => 'SMTP_VERIFY_PEER_NAME', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'smtp_allow_self_signed'=> array('lang' => 'SMTP_ALLOW_SELF_SIGNED','validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
'legend3' => 'ACP_SUBMIT_CHANGES',
)
@@ -485,7 +492,7 @@ class acp_board
$user->add_lang($display_vars['lang']);
}
$this->new_config = $config;
$this->new_config = clone $config;
$cfg_array = (isset($_REQUEST['config'])) ? $request->variable('config', array('' => ''), true) : $this->new_config;
$error = array();
@@ -497,7 +504,7 @@ class acp_board
$error[] = $user->lang['FORM_INVALID'];
}
// Do not write values if there is an error
if (sizeof($error))
if (count($error))
{
$submit = false;
}
@@ -526,13 +533,6 @@ class acp_board
$this->new_config[$config_name] = $config_value = $cfg_array[$config_name];
if ($config_name == 'email_function_name')
{
$this->new_config['email_function_name'] = trim(str_replace(array('(', ')'), array('', ''), $this->new_config['email_function_name']));
$this->new_config['email_function_name'] = (empty($this->new_config['email_function_name']) || !function_exists($this->new_config['email_function_name'])) ? 'mail' : $this->new_config['email_function_name'];
$config_value = $this->new_config['email_function_name'];
}
if ($submit)
{
if (strpos($data['type'], 'password') === 0 && $config_value === '********')
@@ -546,11 +546,17 @@ class acp_board
if ($config_name == 'allow_quick_reply' && isset($_POST['allow_quick_reply_enable']))
{
enable_bitfield_column_flag(FORUMS_TABLE, 'forum_flags', log(FORUM_FLAG_QUICK_REPLY, 2));
enable_bitfield_column_flag(FORUMS_TABLE, 'forum_flags', round(log(FORUM_FLAG_QUICK_REPLY, 2)));
}
}
}
// Invalidate the text_formatter cache when posting options are changed
if ($mode == 'post' && $submit)
{
$phpbb_container->get('text_formatter.cache')->invalidate();
}
// Store news and exclude ids
if ($mode == 'feed' && $submit)
{
@@ -678,7 +684,7 @@ class acp_board
'L_TITLE' => $user->lang[$display_vars['title']],
'L_TITLE_EXPLAIN' => $user->lang[$display_vars['title'] . '_EXPLAIN'],
'S_ERROR' => (sizeof($error)) ? true : false,
'S_ERROR' => (count($error)) ? true : false,
'ERROR_MSG' => implode('<br />', $error),
'U_ACTION' => $this->u_action)
@@ -1098,7 +1104,7 @@ class acp_board
$db->sql_query($sql);
// Already emptied for all...
if (sizeof($values))
if (count($values))
{
// Set for selected forums
$sql = 'UPDATE ' . FORUMS_TABLE . '

View File

@@ -55,7 +55,7 @@ class acp_bots
switch ($action)
{
case 'activate':
if ($bot_id || sizeof($mark))
if ($bot_id || count($mark))
{
$sql_id = ($bot_id) ? " = $bot_id" : ' IN (' . implode(', ', $mark) . ')';
@@ -69,7 +69,7 @@ class acp_bots
break;
case 'deactivate':
if ($bot_id || sizeof($mark))
if ($bot_id || count($mark))
{
$sql_id = ($bot_id) ? " = $bot_id" : ' IN (' . implode(', ', $mark) . ')';
@@ -83,7 +83,7 @@ class acp_bots
break;
case 'delete':
if ($bot_id || sizeof($mark))
if ($bot_id || count($mark))
{
if (confirm_box(true))
{
@@ -109,7 +109,7 @@ class acp_bots
WHERE bot_id $sql_id";
$db->sql_query($sql);
if (sizeof($user_id_ary))
if (count($user_id_ary))
{
$_tables = array(USERS_TABLE, USER_GROUP_TABLE);
foreach ($_tables as $table)
@@ -207,7 +207,7 @@ class acp_bots
$error[] = $user->lang['BOT_NAME_TAKEN'];
}
if (!sizeof($error))
if (!count($error))
{
// New bot? Create a new user and group entry
if ($action == 'add')
@@ -338,7 +338,7 @@ class acp_bots
'L_TITLE' => $user->lang['BOT_' . $l_title],
'U_ACTION' => $this->u_action . "&amp;id=$bot_id&amp;action=$action",
'U_BACK' => $this->u_action,
'ERROR_MSG' => (sizeof($error)) ? implode('<br />', $error) : '',
'ERROR_MSG' => (count($error)) ? implode('<br />', $error) : '',
'BOT_NAME' => $bot_row['bot_name'],
'BOT_IP' => $bot_row['bot_ip'],
@@ -348,7 +348,7 @@ class acp_bots
'S_ACTIVE_OPTIONS' => $s_active_options,
'S_STYLE_OPTIONS' => $style_select,
'S_LANG_OPTIONS' => $lang_select,
'S_ERROR' => (sizeof($error)) ? true : false,
'S_ERROR' => (count($error)) ? true : false,
)
);

View File

@@ -59,7 +59,7 @@ class acp_database
$format = $request->variable('method', '');
$where = $request->variable('where', '');
if (!sizeof($table))
if (!count($table))
{
trigger_error($user->lang['TABLE_SELECT_ERROR'] . adm_back_link($this->u_action), E_USER_WARNING);
}
@@ -495,7 +495,7 @@ function sanitize_data_mssql($text)
{
$val[] = "'" . $value . "'";
}
if (sizeof($matches[0]))
if (count($matches[0]))
{
$val[] = 'char(' . ord(array_shift($matches[0])) . ')';
}
@@ -519,7 +519,7 @@ function sanitize_data_oracle($text)
{
$val[] = "'" . $value . "'";
}
if (sizeof($matches[0]))
if (count($matches[0]))
{
$val[] = 'chr(' . ord(array_shift($matches[0])) . ')';
}
@@ -541,7 +541,7 @@ function sanitize_data_generic($text)
{
$val[] = "'" . $value . "'";
}
if (sizeof($matches[0]))
if (count($matches[0]))
{
$val[] = "'" . array_shift($matches[0]) . "'";
}
@@ -583,7 +583,7 @@ function fgetd_seekless(&$fp, $delim, $read, $seek, $eof, $buffer = 8192)
static $array = array();
static $record = '';
if (!sizeof($array))
if (!count($array))
{
while (!$eof($fp))
{
@@ -605,7 +605,7 @@ function fgetd_seekless(&$fp, $delim, $read, $seek, $eof, $buffer = 8192)
}
}
if (sizeof($array))
if (count($array))
{
return array_shift($array);
}

View File

@@ -68,7 +68,7 @@ class acp_email
$error[] = $user->lang['NO_EMAIL_MESSAGE'];
}
if (!sizeof($error))
if (!count($error))
{
if (!empty($usernames))
{
@@ -168,7 +168,7 @@ class acp_email
{
$i = 0;
if (sizeof($email_list))
if (count($email_list))
{
$j++;
}
@@ -235,16 +235,16 @@ class acp_email
);
extract($phpbb_dispatcher->trigger_event('core.acp_email_send_before', compact($vars)));
for ($i = 0, $size = sizeof($email_list); $i < $size; $i++)
for ($i = 0, $size = count($email_list); $i < $size; $i++)
{
$used_lang = $email_list[$i][0]['lang'];
$used_method = $email_list[$i][0]['method'];
for ($j = 0, $list_size = sizeof($email_list[$i]); $j < $list_size; $j++)
for ($j = 0, $list_size = count($email_list[$i]); $j < $list_size; $j++)
{
$email_row = $email_list[$i][$j];
$messenger->{((sizeof($email_list[$i]) == 1) ? 'to' : 'bcc')}($email_row['email'], $email_row['name']);
$messenger->{((count($email_list[$i]) == 1) ? 'to' : 'bcc')}($email_row['email'], $email_row['name']);
$messenger->im($email_row['jabber'], $email_row['name']);
}
@@ -322,8 +322,8 @@ class acp_email
$s_priority_options .= '<option value="' . MAIL_HIGH_PRIORITY . '">' . $user->lang['MAIL_HIGH_PRIORITY'] . '</option>';
$template_data = array(
'S_WARNING' => (sizeof($error)) ? true : false,
'WARNING_MSG' => (sizeof($error)) ? implode('<br />', $error) : '',
'S_WARNING' => (count($error)) ? true : false,
'WARNING_MSG' => (count($error)) ? implode('<br />', $error) : '',
'U_ACTION' => $this->u_action,
'S_GROUP_OPTIONS' => $select_list,
'USERNAMES' => implode("\n", $usernames),

View File

@@ -25,71 +25,79 @@ if (!defined('IN_PHPBB'))
class acp_extensions
{
var $u_action;
var $tpl_name;
var $page_title;
private $db;
private $config;
private $template;
private $user;
private $cache;
private $log;
private $request;
private $phpbb_dispatcher;
private $ext_manager;
function main()
{
// Start the page
global $config, $user, $template, $request, $phpbb_extension_manager, $db, $phpbb_root_path, $phpbb_log, $cache, $phpbb_dispatcher;
global $config, $user, $template, $request, $phpbb_extension_manager, $phpbb_root_path, $phpbb_log, $phpbb_dispatcher;
$this->db = $db;
$this->config = $config;
$this->template = $template;
$this->user = $user;
$this->cache = $cache;
$this->request = $request;
$this->log = $phpbb_log;
$this->phpbb_dispatcher = $phpbb_dispatcher;
$this->ext_manager = $phpbb_extension_manager;
$user->add_lang(array('install', 'acp/extensions', 'migrator'));
$this->user->add_lang(array('install', 'acp/extensions', 'migrator'));
$this->page_title = 'ACP_EXTENSIONS';
$action = $request->variable('action', 'list');
$ext_name = $request->variable('ext_name', '');
$action = $this->request->variable('action', 'list');
$ext_name = $this->request->variable('ext_name', '');
// What is a safe limit of execution time? Half the max execution time should be safe.
$safe_time_limit = (ini_get('max_execution_time') / 2);
$start_time = time();
/**
* Event to run a specific action on extension
*
* @event core.acp_extensions_run_action
* @var string action Action to run
* @var string u_action Url we are at
* @var string ext_name Extension name from request
* @var int safe_time_limit Safe limit of execution time
* @var int start_time Start time
* @since 3.1.11-RC1
*/
$u_action = $this->u_action;
$vars = array('action', 'u_action', 'ext_name', 'safe_time_limit', 'start_time');
extract($this->phpbb_dispatcher->trigger_event('core.acp_extensions_run_action', compact($vars)));
// Cancel action
if ($request->is_set_post('cancel'))
if ($this->request->is_set_post('cancel'))
{
$action = 'list';
$ext_name = '';
}
if (in_array($action, array('enable', 'disable', 'delete_data')) && !check_link_hash($request->variable('hash', ''), $action . '.' . $ext_name))
if (in_array($action, array('enable', 'disable', 'delete_data')) && !check_link_hash($this->request->variable('hash', ''), $action . '.' . $ext_name))
{
trigger_error('FORM_INVALID', E_USER_WARNING);
}
/**
* Event to run a specific action on extension
*
* @event core.acp_extensions_run_action_before
* @var string action Action to run; if the event completes execution of the action, should be set to 'none'
* @var string u_action Url we are at
* @var string ext_name Extension name from request
* @var int safe_time_limit Safe limit of execution time
* @var int start_time Start time
* @var string tpl_name Template file to load
* @since 3.1.11-RC1
* @changed 3.2.1-RC1 Renamed to core.acp_extensions_run_action_before, added tpl_name, added action 'none'
*/
$u_action = $this->u_action;
$tpl_name = '';
$vars = array('action', 'u_action', 'ext_name', 'safe_time_limit', 'start_time', 'tpl_name');
extract($this->phpbb_dispatcher->trigger_event('core.acp_extensions_run_action_before', compact($vars)));
// In case they have been updated by the event
$this->u_action = $u_action;
$this->tpl_name = $tpl_name;
// If they've specified an extension, let's load the metadata manager and validate it.
if ($ext_name)
{
$md_manager = new \phpbb\extension\metadata_manager($ext_name, $config, $phpbb_extension_manager, $phpbb_root_path);
$md_manager = $this->ext_manager->create_extension_metadata_manager($ext_name);
try
{
@@ -98,13 +106,17 @@ class acp_extensions
catch (exception_interface $e)
{
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
trigger_error($message, E_USER_WARNING);
trigger_error($message . adm_back_link($this->u_action), E_USER_WARNING);
}
}
// What are we doing?
switch ($action)
{
case 'none':
// Intentionally empty, used by extensions that execute additional actions in the prior event
break;
case 'set_config_version_check_force_unstable':
$force_unstable = $this->request->variable('force_unstable', false);
@@ -114,12 +126,12 @@ class acp_extensions
'force_unstable' => $force_unstable,
));
confirm_box(false, $user->lang('EXTENSION_FORCE_UNSTABLE_CONFIRM'), $s_hidden_fields);
confirm_box(false, $this->user->lang('EXTENSION_FORCE_UNSTABLE_CONFIRM'), $s_hidden_fields);
}
else
{
$config->set('extension_force_unstable', false);
trigger_error($user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action));
$this->config->set('extension_force_unstable', false);
trigger_error($this->user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action));
}
break;
@@ -127,17 +139,17 @@ class acp_extensions
default:
if (confirm_box(true))
{
$config->set('extension_force_unstable', true);
trigger_error($user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action));
$this->config->set('extension_force_unstable', true);
trigger_error($this->user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action));
}
$this->list_enabled_exts($phpbb_extension_manager);
$this->list_disabled_exts($phpbb_extension_manager);
$this->list_available_exts($phpbb_extension_manager);
$this->list_enabled_exts();
$this->list_disabled_exts();
$this->list_available_exts();
$this->template->assign_vars(array(
'U_VERSIONCHECK_FORCE' => $this->u_action . '&amp;action=list&amp;versioncheck_force=1',
'FORCE_UNSTABLE' => $config['extension_force_unstable'],
'FORCE_UNSTABLE' => $this->config['extension_force_unstable'],
'U_ACTION' => $this->u_action,
));
@@ -145,30 +157,30 @@ class acp_extensions
break;
case 'enable_pre':
if (!$md_manager->validate_dir())
try
{
trigger_error($user->lang['EXTENSION_DIR_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
$md_manager->validate_enable();
}
catch (exception_interface $e)
{
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
trigger_error($message . adm_back_link($this->u_action), E_USER_WARNING);
}
if (!$md_manager->validate_enable())
{
trigger_error($user->lang['EXTENSION_NOT_AVAILABLE'] . adm_back_link($this->u_action), E_USER_WARNING);
}
$extension = $phpbb_extension_manager->get_extension($ext_name);
$extension = $this->ext_manager->get_extension($ext_name);
if (!$extension->is_enableable())
{
trigger_error($user->lang['EXTENSION_NOT_ENABLEABLE'] . adm_back_link($this->u_action), E_USER_WARNING);
trigger_error($this->user->lang['EXTENSION_NOT_ENABLEABLE'] . adm_back_link($this->u_action), E_USER_WARNING);
}
if ($phpbb_extension_manager->is_enabled($ext_name))
if ($this->ext_manager->is_enabled($ext_name))
{
redirect($this->u_action);
}
$this->tpl_name = 'acp_ext_enable';
$template->assign_vars(array(
$this->template->assign_vars(array(
'PRE' => true,
'L_CONFIRM_MESSAGE' => $this->user->lang('EXTENSION_ENABLE_CONFIRM', $md_manager->get_metadata('display-name')),
'U_ENABLE' => $this->u_action . '&amp;action=enable&amp;ext_name=' . urlencode($ext_name) . '&amp;hash=' . generate_link_hash('enable.' . $ext_name),
@@ -176,57 +188,66 @@ class acp_extensions
break;
case 'enable':
if (!$md_manager->validate_dir())
try
{
trigger_error($user->lang['EXTENSION_DIR_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
$md_manager->validate_enable();
}
catch (exception_interface $e)
{
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
trigger_error($message . adm_back_link($this->u_action), E_USER_WARNING);
}
if (!$md_manager->validate_enable())
{
trigger_error($user->lang['EXTENSION_NOT_AVAILABLE'] . adm_back_link($this->u_action), E_USER_WARNING);
}
$extension = $phpbb_extension_manager->get_extension($ext_name);
$extension = $this->ext_manager->get_extension($ext_name);
if (!$extension->is_enableable())
{
trigger_error($user->lang['EXTENSION_NOT_ENABLEABLE'] . adm_back_link($this->u_action), E_USER_WARNING);
trigger_error($this->user->lang['EXTENSION_NOT_ENABLEABLE'] . adm_back_link($this->u_action), E_USER_WARNING);
}
try
{
while ($phpbb_extension_manager->enable_step($ext_name))
while ($this->ext_manager->enable_step($ext_name))
{
// Are we approaching the time limit? If so we want to pause the update and continue after refreshing
if ((time() - $start_time) >= $safe_time_limit)
{
$template->assign_var('S_NEXT_STEP', true);
$this->template->assign_var('S_NEXT_STEP', true);
meta_refresh(0, $this->u_action . '&amp;action=enable&amp;ext_name=' . urlencode($ext_name) . '&amp;hash=' . generate_link_hash('enable.' . $ext_name));
}
}
$this->log->add('admin', $user->data['user_id'], $user->ip, 'LOG_EXT_ENABLE', time(), array($ext_name));
// Update custom style for admin area
$this->template->set_custom_style(array(
array(
'name' => 'adm',
'ext_path' => 'adm/style/',
),
), array($phpbb_root_path . 'adm/style'));
$this->log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_EXT_ENABLE', time(), array($ext_name));
}
catch (\phpbb\db\migration\exception $e)
{
$template->assign_var('MIGRATOR_ERROR', $e->getLocalisedMessage($user));
$this->template->assign_var('MIGRATOR_ERROR', $e->getLocalisedMessage($this->user));
}
$this->tpl_name = 'acp_ext_enable';
$template->assign_vars(array(
$this->template->assign_vars(array(
'U_RETURN' => $this->u_action . '&amp;action=list',
));
break;
case 'disable_pre':
if (!$phpbb_extension_manager->is_enabled($ext_name))
if (!$this->ext_manager->is_enabled($ext_name))
{
redirect($this->u_action);
}
$this->tpl_name = 'acp_ext_disable';
$template->assign_vars(array(
$this->template->assign_vars(array(
'PRE' => true,
'L_CONFIRM_MESSAGE' => $this->user->lang('EXTENSION_DISABLE_CONFIRM', $md_manager->get_metadata('display-name')),
'U_DISABLE' => $this->u_action . '&amp;action=disable&amp;ext_name=' . urlencode($ext_name) . '&amp;hash=' . generate_link_hash('disable.' . $ext_name),
@@ -234,38 +255,38 @@ class acp_extensions
break;
case 'disable':
if (!$phpbb_extension_manager->is_enabled($ext_name))
if (!$this->ext_manager->is_enabled($ext_name))
{
redirect($this->u_action);
}
while ($phpbb_extension_manager->disable_step($ext_name))
while ($this->ext_manager->disable_step($ext_name))
{
// Are we approaching the time limit? If so we want to pause the update and continue after refreshing
if ((time() - $start_time) >= $safe_time_limit)
{
$template->assign_var('S_NEXT_STEP', true);
$this->template->assign_var('S_NEXT_STEP', true);
meta_refresh(0, $this->u_action . '&amp;action=disable&amp;ext_name=' . urlencode($ext_name) . '&amp;hash=' . generate_link_hash('disable.' . $ext_name));
}
}
$this->log->add('admin', $user->data['user_id'], $user->ip, 'LOG_EXT_DISABLE', time(), array($ext_name));
$this->log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_EXT_DISABLE', time(), array($ext_name));
$this->tpl_name = 'acp_ext_disable';
$template->assign_vars(array(
$this->template->assign_vars(array(
'U_RETURN' => $this->u_action . '&amp;action=list',
));
break;
case 'delete_data_pre':
if ($phpbb_extension_manager->is_enabled($ext_name))
if ($this->ext_manager->is_enabled($ext_name))
{
redirect($this->u_action);
}
$this->tpl_name = 'acp_ext_delete_data';
$template->assign_vars(array(
$this->template->assign_vars(array(
'PRE' => true,
'L_CONFIRM_MESSAGE' => $this->user->lang('EXTENSION_DELETE_DATA_CONFIRM', $md_manager->get_metadata('display-name')),
'U_PURGE' => $this->u_action . '&amp;action=delete_data&amp;ext_name=' . urlencode($ext_name) . '&amp;hash=' . generate_link_hash('delete_data.' . $ext_name),
@@ -273,67 +294,72 @@ class acp_extensions
break;
case 'delete_data':
if ($phpbb_extension_manager->is_enabled($ext_name))
if ($this->ext_manager->is_enabled($ext_name))
{
redirect($this->u_action);
}
try
{
while ($phpbb_extension_manager->purge_step($ext_name))
while ($this->ext_manager->purge_step($ext_name))
{
// Are we approaching the time limit? If so we want to pause the update and continue after refreshing
if ((time() - $start_time) >= $safe_time_limit)
{
$template->assign_var('S_NEXT_STEP', true);
$this->template->assign_var('S_NEXT_STEP', true);
meta_refresh(0, $this->u_action . '&amp;action=delete_data&amp;ext_name=' . urlencode($ext_name) . '&amp;hash=' . generate_link_hash('delete_data.' . $ext_name));
}
}
$this->log->add('admin', $user->data['user_id'], $user->ip, 'LOG_EXT_PURGE', time(), array($ext_name));
$this->log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_EXT_PURGE', time(), array($ext_name));
}
catch (\phpbb\db\migration\exception $e)
{
$template->assign_var('MIGRATOR_ERROR', $e->getLocalisedMessage($user));
$this->template->assign_var('MIGRATOR_ERROR', $e->getLocalisedMessage($this->user));
}
$this->tpl_name = 'acp_ext_delete_data';
$template->assign_vars(array(
$this->template->assign_vars(array(
'U_RETURN' => $this->u_action . '&amp;action=list',
));
break;
case 'details':
// Output it to the template
$md_manager->output_template_data($template);
$meta = $md_manager->get_metadata('all');
$this->output_metadata_to_template($meta);
try
if (isset($meta['extra']['version-check']))
{
$updates_available = $phpbb_extension_manager->version_check($md_manager, $request->variable('versioncheck_force', false), $this->config['extension_force_unstable'] ? 'unstable' : null);
$template->assign_vars(array(
'S_UP_TO_DATE' => empty($updates_available),
'S_VERSIONCHECK' => true,
'UP_TO_DATE_MSG' => $this->user->lang(empty($updates_available) ? 'UP_TO_DATE' : 'NOT_UP_TO_DATE', $md_manager->get_metadata('display-name')),
));
foreach ($updates_available as $branch => $version_data)
try
{
$template->assign_block_vars('updates_available', $version_data);
$updates_available = $this->ext_manager->version_check($md_manager, $this->request->variable('versioncheck_force', false), false, $this->config['extension_force_unstable'] ? 'unstable' : null);
$this->template->assign_vars(array(
'S_UP_TO_DATE' => empty($updates_available),
'UP_TO_DATE_MSG' => $this->user->lang(empty($updates_available) ? 'UP_TO_DATE' : 'NOT_UP_TO_DATE', $md_manager->get_metadata('display-name')),
));
$this->template->assign_block_vars('updates_available', $updates_available);
}
catch (exception_interface $e)
{
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
$this->template->assign_vars(array(
'S_VERSIONCHECK_FAIL' => true,
'VERSIONCHECK_FAIL_REASON' => ($e->getMessage() !== 'VERSIONCHECK_FAIL') ? $message : '',
));
}
$this->template->assign_var('S_VERSIONCHECK', true);
}
catch (exception_interface $e)
else
{
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
$template->assign_vars(array(
'S_VERSIONCHECK_STATUS' => $e->getCode(),
'VERSIONCHECK_FAIL_REASON' => ($e->getMessage() !== 'VERSIONCHECK_FAIL') ? $message : '',
));
$this->template->assign_var('S_VERSIONCHECK', false);
}
$template->assign_vars(array(
$this->template->assign_vars(array(
'U_BACK' => $this->u_action . '&amp;action=list',
'U_VERSIONCHECK_FORCE' => $this->u_action . '&amp;action=details&amp;versioncheck_force=1&amp;ext_name=' . urlencode($md_manager->get_metadata('name')),
));
@@ -341,21 +367,41 @@ class acp_extensions
$this->tpl_name = 'acp_ext_details';
break;
}
/**
* Event to run after a specific action on extension has completed
*
* @event core.acp_extensions_run_action_after
* @var string action Action that has run
* @var string u_action Url we are at
* @var string ext_name Extension name from request
* @var int safe_time_limit Safe limit of execution time
* @var int start_time Start time
* @var string tpl_name Template file to load
* @since 3.1.11-RC1
*/
$u_action = $this->u_action;
$tpl_name = $this->tpl_name;
$vars = array('action', 'u_action', 'ext_name', 'safe_time_limit', 'start_time', 'tpl_name');
extract($this->phpbb_dispatcher->trigger_event('core.acp_extensions_run_action_after', compact($vars)));
// In case they have been updated by the event
$this->u_action = $u_action;
$this->tpl_name = $tpl_name;
}
/**
* Lists all the enabled extensions and dumps to the template
*
* @param $phpbb_extension_manager An instance of the extension manager
* @return null
*/
public function list_enabled_exts(\phpbb\extension\manager $phpbb_extension_manager)
public function list_enabled_exts()
{
$enabled_extension_meta_data = array();
foreach ($phpbb_extension_manager->all_enabled() as $name => $location)
foreach ($this->ext_manager->all_enabled() as $name => $location)
{
$md_manager = $phpbb_extension_manager->create_extension_metadata_manager($name);
$md_manager = $this->ext_manager->create_extension_metadata_manager($name);
try
{
@@ -370,7 +416,7 @@ class acp_extensions
try
{
$force_update = $this->request->variable('versioncheck_force', false);
$updates = $phpbb_extension_manager->version_check($md_manager, $force_update, !$force_update);
$updates = $this->ext_manager->version_check($md_manager, $force_update, !$force_update);
$enabled_extension_meta_data[$name]['S_UP_TO_DATE'] = empty($updates);
$enabled_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
@@ -418,16 +464,15 @@ class acp_extensions
/**
* Lists all the disabled extensions and dumps to the template
*
* @param $phpbb_extension_manager An instance of the extension manager
* @return null
*/
public function list_disabled_exts(\phpbb\extension\manager $phpbb_extension_manager)
public function list_disabled_exts()
{
$disabled_extension_meta_data = array();
foreach ($phpbb_extension_manager->all_disabled() as $name => $location)
foreach ($this->ext_manager->all_disabled() as $name => $location)
{
$md_manager = $phpbb_extension_manager->create_extension_metadata_manager($name);
$md_manager = $this->ext_manager->create_extension_metadata_manager($name);
try
{
@@ -440,7 +485,7 @@ class acp_extensions
if (isset($meta['extra']['version-check']))
{
$force_update = $this->request->variable('versioncheck_force', false);
$updates = $phpbb_extension_manager->version_check($md_manager, $force_update, !$force_update);
$updates = $this->ext_manager->version_check($md_manager, $force_update, !$force_update);
$disabled_extension_meta_data[$name]['S_UP_TO_DATE'] = empty($updates);
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
@@ -488,18 +533,17 @@ class acp_extensions
/**
* Lists all the available extensions and dumps to the template
*
* @param $phpbb_extension_manager An instance of the extension manager
* @return null
*/
public function list_available_exts(\phpbb\extension\manager $phpbb_extension_manager)
public function list_available_exts()
{
$uninstalled = array_diff_key($phpbb_extension_manager->all_available(), $phpbb_extension_manager->all_configured());
$uninstalled = array_diff_key($this->ext_manager->all_available(), $this->ext_manager->all_configured());
$available_extension_meta_data = array();
foreach ($uninstalled as $name => $location)
{
$md_manager = $phpbb_extension_manager->create_extension_metadata_manager($name);
$md_manager = $this->ext_manager->create_extension_metadata_manager($name);
try
{
@@ -512,7 +556,7 @@ class acp_extensions
if (isset($meta['extra']['version-check']))
{
$force_update = $this->request->variable('versioncheck_force', false);
$updates = $phpbb_extension_manager->version_check($md_manager, $force_update, !$force_update);
$updates = $this->ext_manager->version_check($md_manager, $force_update, !$force_update);
$available_extension_meta_data[$name]['S_UP_TO_DATE'] = empty($updates);
$available_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
@@ -577,4 +621,41 @@ class acp_extensions
{
return strnatcasecmp($val1['META_DISPLAY_NAME'], $val2['META_DISPLAY_NAME']);
}
/**
* Outputs extension metadata into the template
*
* @param array $metadata Array with all metadata for the extension
* @return null
*/
public function output_metadata_to_template($metadata)
{
$this->template->assign_vars(array(
'META_NAME' => $metadata['name'],
'META_TYPE' => $metadata['type'],
'META_DESCRIPTION' => (isset($metadata['description'])) ? $metadata['description'] : '',
'META_HOMEPAGE' => (isset($metadata['homepage'])) ? $metadata['homepage'] : '',
'META_VERSION' => $metadata['version'],
'META_TIME' => (isset($metadata['time'])) ? $metadata['time'] : '',
'META_LICENSE' => $metadata['license'],
'META_REQUIRE_PHP' => (isset($metadata['require']['php'])) ? $metadata['require']['php'] : '',
'META_REQUIRE_PHP_FAIL' => (isset($metadata['require']['php'])) ? false : true,
'META_REQUIRE_PHPBB' => (isset($metadata['extra']['soft-require']['phpbb/phpbb'])) ? $metadata['extra']['soft-require']['phpbb/phpbb'] : '',
'META_REQUIRE_PHPBB_FAIL' => (isset($metadata['extra']['soft-require']['phpbb/phpbb'])) ? false : true,
'META_DISPLAY_NAME' => (isset($metadata['extra']['display-name'])) ? $metadata['extra']['display-name'] : '',
));
foreach ($metadata['authors'] as $author)
{
$this->template->assign_block_vars('meta_authors', array(
'AUTHOR_NAME' => $author['name'],
'AUTHOR_EMAIL' => (isset($author['email'])) ? $author['email'] : '',
'AUTHOR_HOMEPAGE' => (isset($author['homepage'])) ? $author['homepage'] : '',
'AUTHOR_ROLE' => (isset($author['role'])) ? $author['role'] : '',
));
}
}
}

View File

@@ -90,7 +90,7 @@ class acp_forums
$errors = $this->delete_forum($forum_id, $action_posts, $action_subforums, $posts_to_id, $subforums_to_id);
if (sizeof($errors))
if (count($errors))
{
break;
}
@@ -198,7 +198,7 @@ class acp_forums
$errors = $this->update_forum_data($forum_data);
if (!sizeof($errors))
if (!count($errors))
{
$forum_perm_from = $request->variable('forum_perm_from', 0);
$cache->destroy('sql', FORUMS_TABLE);
@@ -622,7 +622,7 @@ class acp_forums
$template_data = array(
'S_EDIT_FORUM' => true,
'S_ERROR' => (sizeof($errors)) ? true : false,
'S_ERROR' => (count($errors)) ? true : false,
'S_PARENT_ID' => $this->parent_id,
'S_FORUM_PARENT_ID' => $forum_data['parent_id'],
'S_ADD_ACTION' => ($action == 'add') ? true : false,
@@ -632,7 +632,7 @@ class acp_forums
'L_COPY_PERMISSIONS_EXPLAIN' => $user->lang['COPY_PERMISSIONS_' . strtoupper($action) . '_EXPLAIN'],
'L_TITLE' => $user->lang[$this->page_title],
'ERROR_MSG' => (sizeof($errors)) ? implode('<br />', $errors) : '',
'ERROR_MSG' => (count($errors)) ? implode('<br />', $errors) : '',
'FORUM_NAME' => $forum_data['forum_name'],
'FORUM_DATA_LINK' => $forum_data['forum_link'],
@@ -772,8 +772,8 @@ class acp_forums
'S_FORUM_LINK' => ($forum_data['forum_type'] == FORUM_LINK) ? true : false,
'S_HAS_SUBFORUMS' => ($forum_data['right_id'] - $forum_data['left_id'] > 1) ? true : false,
'S_FORUMS_LIST' => $forums_list,
'S_ERROR' => (sizeof($errors)) ? true : false,
'ERROR_MSG' => (sizeof($errors)) ? implode('<br />', $errors) : '')
'S_ERROR' => (count($errors)) ? true : false,
'ERROR_MSG' => (count($errors)) ? implode('<br />', $errors) : '')
);
return;
@@ -924,7 +924,7 @@ class acp_forums
unset($rowset);
$template->assign_vars(array(
'ERROR_MSG' => (sizeof($errors)) ? implode('<br />', $errors) : '',
'ERROR_MSG' => (count($errors)) ? implode('<br />', $errors) : '',
'NAVIGATION' => $navigation,
'FORUM_BOX' => $forum_box,
'U_SEL_ACTION' => $this->u_action,
@@ -1053,7 +1053,7 @@ class acp_forums
// What are we going to do tonight Brain? The same thing we do everynight,
// try to take over the world ... or decide whether to continue update
// and if so, whether it's a new forum/cat/link or an existing one
if (sizeof($errors))
if (count($errors))
{
return $errors;
}
@@ -1217,12 +1217,12 @@ class acp_forums
$errors = array_merge($errors, $this->delete_forum_content($_row['forum_id']));
}
if (sizeof($errors))
if (count($errors))
{
return $errors;
}
if (sizeof($forum_ids))
if (count($forum_ids))
{
$sql = 'DELETE FROM ' . FORUMS_TABLE . '
WHERE ' . $db->sql_in_set('forum_id', $forum_ids);
@@ -1252,7 +1252,7 @@ class acp_forums
$allowed_forums = array_diff($allowed_forums, $forum_ids);
$sql = 'UPDATE ' . EXTENSION_GROUPS_TABLE . "
SET allowed_forums = '" . ((sizeof($allowed_forums)) ? serialize($allowed_forums) : '') . "'
SET allowed_forums = '" . ((count($allowed_forums)) ? serialize($allowed_forums) : '') . "'
WHERE group_id = {$_row['group_id']}";
$db->sql_query($sql);
}
@@ -1321,7 +1321,7 @@ class acp_forums
$forum_data_sql['forum_last_poster_colour'] = '';
}
if (sizeof($errors))
if (count($errors))
{
return $errors;
}
@@ -1338,7 +1338,7 @@ class acp_forums
}
}
if (sizeof($errors))
if (count($errors))
{
return $errors;
}
@@ -1431,12 +1431,14 @@ class acp_forums
return $errors;
}
$db->sql_transaction('begin');
$moved_forums = get_forum_branch($from_id, 'children', 'descending');
$from_data = $moved_forums[0];
$diff = sizeof($moved_forums) * 2;
$diff = count($moved_forums) * 2;
$moved_ids = array();
for ($i = 0, $size = sizeof($moved_forums); $i < $size; ++$i)
for ($i = 0, $size = count($moved_forums); $i < $size; ++$i)
{
$moved_ids[] = $moved_forums[$i]['forum_id'];
}
@@ -1502,6 +1504,8 @@ class acp_forums
WHERE " . $db->sql_in_set('forum_id', $moved_ids);
$db->sql_query($sql);
$db->sql_transaction('commit');
return $errors;
}
@@ -1612,7 +1616,7 @@ class acp_forums
}
}
if (sizeof($errors))
if (count($errors))
{
return $errors;
}
@@ -1628,12 +1632,12 @@ class acp_forums
$errors = array_merge($errors, $this->delete_forum_content($row['forum_id']));
}
if (sizeof($errors))
if (count($errors))
{
return $errors;
}
$diff = sizeof($forum_ids) * 2;
$diff = count($forum_ids) * 2;
$sql = 'DELETE FROM ' . FORUMS_TABLE . '
WHERE ' . $db->sql_in_set('forum_id', $forum_ids);
@@ -1706,7 +1710,7 @@ class acp_forums
}
}
if (sizeof($errors))
if (count($errors))
{
return $errors;
}
@@ -1754,7 +1758,7 @@ class acp_forums
$allowed_forums = array_diff($allowed_forums, $forum_ids);
$sql = 'UPDATE ' . EXTENSION_GROUPS_TABLE . "
SET allowed_forums = '" . ((sizeof($allowed_forums)) ? serialize($allowed_forums) : '') . "'
SET allowed_forums = '" . ((count($allowed_forums)) ? serialize($allowed_forums) : '') . "'
WHERE group_id = {$row['group_id']}";
$db->sql_query($sql);
}
@@ -1927,9 +1931,9 @@ class acp_forums
}
$db->sql_freeresult($result);
if (sizeof($ids))
if (count($ids))
{
$start += sizeof($ids);
$start += count($ids);
foreach ($tables as $table)
{
@@ -1937,7 +1941,7 @@ class acp_forums
}
}
}
while (sizeof($ids) == $batch_size);
while (count($ids) == $batch_size);
}
unset($ids);
@@ -1978,7 +1982,7 @@ class acp_forums
}
// Adjust users post counts
if (sizeof($post_counts))
if (count($post_counts))
{
foreach ($post_counts as $poster_id => $substract)
{
@@ -2062,7 +2066,7 @@ class acp_forums
}
$db->sql_freeresult($result);
if (!sizeof($target))
if (!count($target))
{
// The forum is already on top or bottom
return false;

View File

@@ -187,7 +187,7 @@ class acp_groups
group_user_attributes('default', $group_id, $mark_ary, false, $group_name, $group_row);
$start = (sizeof($mark_ary) < 200) ? 0 : $start + 200;
$start = (count($mark_ary) < 200) ? 0 : $start + 200;
}
else
{
@@ -486,7 +486,7 @@ class acp_groups
$error = array_merge($error, $validation_error);
}
if (!sizeof($error))
if (!count($error))
{
// Only set the rank, colour, etc. if it's changed or if we're adding a new
// group. This prevents existing group members being updated if no changes
@@ -614,7 +614,7 @@ class acp_groups
}
}
if (sizeof($error))
if (count($error))
{
$error = array_map(array(&$user, 'lang'), $error);
$group_rank = $submit_ary['rank'];
@@ -732,12 +732,12 @@ class acp_groups
'S_ADD_GROUP' => ($action == 'add') ? true : false,
'S_GROUP_PERM' => ($action == 'add' && $auth->acl_get('a_authgroups') && $auth->acl_gets('a_aauth', 'a_fauth', 'a_mauth', 'a_uauth')) ? true : false,
'S_INCLUDE_SWATCH' => true,
'S_ERROR' => (sizeof($error)) ? true : false,
'S_ERROR' => (count($error)) ? true : false,
'S_SPECIAL_GROUP' => ($group_type == GROUP_SPECIAL) ? true : false,
'S_USER_FOUNDER' => ($user->data['user_type'] == USER_FOUNDER) ? true : false,
'S_AVATARS_ENABLED' => ($config['allow_avatar'] && $avatars_enabled),
'ERROR_MSG' => (sizeof($error)) ? implode('<br />', $error) : '',
'ERROR_MSG' => (count($error)) ? implode('<br />', $error) : '',
'GROUP_NAME' => $group_helper->get_name($group_name),
'GROUP_INTERNAL_NAME' => $group_name,
'GROUP_DESC' => $group_desc_data['text'],
@@ -926,7 +926,7 @@ class acp_groups
);
// Get us all the groups
$sql = 'SELECT g.group_id, g.group_name, g.group_type
$sql = 'SELECT g.group_id, g.group_name, g.group_type, g.group_colour
FROM ' . GROUPS_TABLE . ' g
ORDER BY g.group_type ASC, g.group_name';
$result = $db->sql_query($sql);
@@ -985,6 +985,7 @@ class acp_groups
'S_GROUP_SPECIAL' => ($row['group_type'] == GROUP_SPECIAL) ? true : false,
'GROUP_NAME' => $group_name,
'GROUP_COLOR' => $row['group_colour'],
'TOTAL_MEMBERS' => $row['total_members'],
'PENDING_MEMBERS' => $row['pending_members']
));

View File

@@ -48,7 +48,7 @@ class acp_help_phpbb
$error[] = $user->lang['FORM_INVALID'];
}
// Do not write values if there is an error
if (sizeof($error))
if (count($error))
{
$submit = false;
}

View File

@@ -166,7 +166,7 @@ class acp_icons
}
$db->sql_freeresult($result);
if (sizeof($smilies))
if (count($smilies))
{
foreach ($smilies as $row)
{
@@ -301,7 +301,7 @@ class acp_icons
}
// Ok, another row for adding an addition code for a pre-existing image...
if ($action == 'add' && $mode == 'smilies' && sizeof($smilies))
if ($action == 'add' && $mode == 'smilies' && count($smilies))
{
$template->assign_vars(array(
'S_ADD_CODE' => true,
@@ -378,7 +378,7 @@ class acp_icons
{
$smiley_count = $this->item_count($table);
$addable_smileys_count = sizeof($images);
$addable_smileys_count = count($images);
foreach ($images as $image)
{
if (!isset($image_add[$image]))
@@ -546,8 +546,8 @@ class acp_icons
{
if (preg_match_all("#'(.*?)', ?#", $pak_entry, $data))
{
if ((sizeof($data[1]) != 4 && $mode == 'icons') ||
((sizeof($data[1]) != 6 || (empty($data[1][4]) || empty($data[1][5]))) && $mode == 'smilies' ))
if ((count($data[1]) != 4 && $mode == 'icons') ||
((count($data[1]) != 6 || (empty($data[1][4]) || empty($data[1][5]))) && $mode == 'smilies' ))
{
trigger_error($user->lang['WRONG_PAK_TYPE'] . adm_back_link($this->u_action), E_USER_WARNING);
}
@@ -605,7 +605,7 @@ class acp_icons
if ($mode == 'smilies')
{
$smiley_count = $this->item_count($table);
if ($smiley_count + sizeof($pak_ary) > SMILEY_LIMIT)
if ($smiley_count + count($pak_ary) > SMILEY_LIMIT)
{
trigger_error($user->lang('TOO_MANY_SMILIES', SMILEY_LIMIT) . adm_back_link($this->u_action), E_USER_WARNING);
}
@@ -616,8 +616,8 @@ class acp_icons
$data = array();
if (preg_match_all("#'(.*?)', ?#", $pak_entry, $data))
{
if ((sizeof($data[1]) != 4 && $mode == 'icons') ||
(sizeof($data[1]) != 6 && $mode == 'smilies'))
if ((count($data[1]) != 4 && $mode == 'icons') ||
(count($data[1]) != 6 && $mode == 'smilies'))
{
trigger_error($user->lang['WRONG_PAK_TYPE'] . adm_back_link($this->u_action), E_USER_WARNING);
}

View File

@@ -70,7 +70,7 @@ class acp_inactive
$s_limit_days = $s_sort_key = $s_sort_dir = $u_sort_param = '';
gen_sort_selects($limit_days, $sort_by_text, $sort_days, $sort_key, $sort_dir, $s_limit_days, $s_sort_key, $s_sort_dir, $u_sort_param);
if ($submit && sizeof($mark))
if ($submit && count($mark))
{
if ($action !== 'delete' && !check_form_key($form_key))
{

View File

@@ -49,13 +49,16 @@ class acp_jabber
$this->tpl_name = 'acp_jabber';
$this->page_title = 'ACP_JABBER_SETTINGS';
$jab_enable = $request->variable('jab_enable', (bool) $config['jab_enable']);
$jab_host = $request->variable('jab_host', (string) $config['jab_host']);
$jab_port = $request->variable('jab_port', (int) $config['jab_port']);
$jab_username = $request->variable('jab_username', (string) $config['jab_username']);
$jab_password = $request->variable('jab_password', (string) $config['jab_password']);
$jab_package_size = $request->variable('jab_package_size', (int) $config['jab_package_size']);
$jab_use_ssl = $request->variable('jab_use_ssl', (bool) $config['jab_use_ssl']);
$jab_enable = $request->variable('jab_enable', (bool) $config['jab_enable']);
$jab_host = $request->variable('jab_host', (string) $config['jab_host']);
$jab_port = $request->variable('jab_port', (int) $config['jab_port']);
$jab_username = $request->variable('jab_username', (string) $config['jab_username']);
$jab_password = $request->variable('jab_password', (string) $config['jab_password']);
$jab_package_size = $request->variable('jab_package_size', (int) $config['jab_package_size']);
$jab_use_ssl = $request->variable('jab_use_ssl', (bool) $config['jab_use_ssl']);
$jab_verify_peer = $request->variable('jab_verify_peer', (bool) $config['jab_verify_peer']);
$jab_verify_peer_name = $request->variable('jab_verify_peer_name', (bool) $config['jab_verify_peer_name']);
$jab_allow_self_signed = $request->variable('jab_allow_self_signed', (bool) $config['jab_allow_self_signed']);
$form_name = 'acp_jabber';
add_form_key($form_name);
@@ -73,7 +76,7 @@ class acp_jabber
// Is this feature enabled? Then try to establish a connection
if ($jab_enable)
{
$jabber = new jabber($jab_host, $jab_port, $jab_username, $jab_password, $jab_use_ssl);
$jabber = new jabber($jab_host, $jab_port, $jab_username, $jab_password, $jab_use_ssl, $jab_verify_peer, $jab_verify_peer_name, $jab_allow_self_signed);
if (!$jabber->connect())
{
@@ -113,6 +116,9 @@ class acp_jabber
}
$config->set('jab_package_size', $jab_package_size);
$config->set('jab_use_ssl', $jab_use_ssl);
$config->set('jab_verify_peer', $jab_verify_peer);
$config->set('jab_verify_peer_name', $jab_verify_peer_name);
$config->set('jab_allow_self_signed', $jab_allow_self_signed);
$phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_' . $log);
trigger_error($message . adm_back_link($this->u_action));
@@ -128,6 +134,9 @@ class acp_jabber
'JAB_PASSWORD' => $jab_password !== '' ? '********' : '',
'JAB_PACKAGE_SIZE' => $jab_package_size,
'JAB_USE_SSL' => $jab_use_ssl,
'JAB_VERIFY_PEER' => $jab_verify_peer,
'JAB_VERIFY_PEER_NAME' => $jab_verify_peer_name,
'JAB_ALLOW_SELF_SIGNED' => $jab_allow_self_signed,
'S_CAN_USE_SSL' => jabber::can_use_ssl(),
'S_GTALK_NOTE' => (!@function_exists('dns_get_record')) ? true : false,
));

View File

@@ -32,7 +32,7 @@ class acp_language
function main($id, $mode)
{
global $config, $db, $user, $template, $phpbb_log, $phpbb_container;
global $phpbb_root_path, $phpEx, $request;
global $phpbb_root_path, $phpEx, $request, $phpbb_dispatcher;
if (!function_exists('validate_language_iso_name'))
{
@@ -229,7 +229,20 @@ class acp_language
$phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_LANGUAGE_PACK_DELETED', false, array($row['lang_english_name']));
trigger_error(sprintf($user->lang['LANGUAGE_PACK_DELETED'], $row['lang_english_name']) . adm_back_link($this->u_action));
$delete_message = sprintf($user->lang['LANGUAGE_PACK_DELETED'], $row['lang_english_name']);
$lang_iso = $row['lang_iso'];
/**
* Run code after language deleted
*
* @event core.acp_language_after_delete
* @var string lang_iso Language ISO code
* @var string delete_message Delete message appear to user
* @since 3.2.2-RC1
*/
$vars = array('lang_iso', 'delete_message');
extract($phpbb_dispatcher->trigger_event('core.acp_language_after_delete', compact($vars)));
trigger_error($delete_message . adm_back_link($this->u_action));
}
else
{
@@ -402,7 +415,7 @@ class acp_language
unset($installed);
if (sizeof($new_ary))
if (count($new_ary))
{
foreach ($new_ary as $iso => $lang_ary)
{

View File

@@ -57,7 +57,7 @@ class acp_logs
{
$conditions = array();
if ($deletemark && sizeof($marked))
if ($deletemark && count($marked))
{
$conditions['log_id'] = array('IN' => $marked);
}
@@ -167,7 +167,7 @@ class acp_logs
'IP' => $row['ip'],
'DATE' => $user->format_date($row['time']),
'ACTION' => $row['action'],
'DATA' => (sizeof($data)) ? implode(' | ', $data) : '',
'DATA' => (count($data)) ? implode(' | ', $data) : '',
'ID' => $row['id'],
)
);

View File

@@ -337,7 +337,7 @@ class acp_main
}
unset($posted);
if (sizeof($sql_ary))
if (count($sql_ary))
{
$db->sql_multi_insert(TOPICS_POSTED_TABLE, $sql_ary);
}
@@ -429,24 +429,32 @@ class acp_main
// Version check
$user->add_lang('install');
if ($auth->acl_get('a_server') && version_compare(PHP_VERSION, '5.4', '<'))
if ($auth->acl_get('a_server') && version_compare(PHP_VERSION, '5.4.0', '<'))
{
$template->assign_vars(array(
'S_PHP_VERSION_OLD' => true,
'L_PHP_VERSION_OLD' => sprintf($user->lang['PHP_VERSION_OLD'], '<a href="https://www.phpbb.com/community/viewtopic.php?f=14&amp;t=2152375">', '</a>'),
'L_PHP_VERSION_OLD' => sprintf($user->lang['PHP_VERSION_OLD'], PHP_VERSION, '5.4.0', '<a href="https://www.phpbb.com/support/docs/en/3.2/ug/quickstart/requirements">', '</a>'),
));
}
if ($auth->acl_get('a_board'))
{
/* @var $version_helper \phpbb\version_helper */
$version_helper = $phpbb_container->get('version_helper');
try
{
$recheck = $request->variable('versioncheck_force', false);
$updates_available = $version_helper->get_suggested_updates($recheck);
$updates_available = $version_helper->get_update_on_branch($recheck);
$upgrades_available = $version_helper->get_suggested_updates();
if (!empty($upgrades_available))
{
$upgrades_available = array_pop($upgrades_available);
}
$template->assign_var('S_VERSION_UP_TO_DATE', empty($updates_available));
$template->assign_vars(array(
'S_VERSION_UP_TO_DATE' => empty($updates_available),
'S_VERSION_UPGRADEABLE' => !empty($upgrades_available),
'UPGRADE_INSTRUCTIONS' => !empty($upgrades_available) ? $user->lang('UPGRADE_INSTRUCTIONS', $upgrades_available['current'], $upgrades_available['announcement']) : false,
));
}
catch (\RuntimeException $e)
{
@@ -569,6 +577,7 @@ class acp_main
'S_TOTAL_ORPHAN' => ($total_orphan === false) ? false : true,
'GZIP_COMPRESSION' => ($config['gzip_compress'] && @extension_loaded('zlib')) ? $user->lang['ON'] : $user->lang['OFF'],
'DATABASE_INFO' => $db->sql_server_info(),
'PHP_VERSION_INFO' => PHP_VERSION,
'BOARD_VERSION' => $config['version'],
'U_ACTION' => $this->u_action,
@@ -576,6 +585,7 @@ class acp_main
'U_INACTIVE_USERS' => append_sid("{$phpbb_admin_path}index.$phpEx", 'i=inactive&amp;mode=list'),
'U_VERSIONCHECK' => append_sid("{$phpbb_admin_path}index.$phpEx", 'i=update&amp;mode=version_check'),
'U_VERSIONCHECK_FORCE' => append_sid("{$phpbb_admin_path}index.$phpEx", 'versioncheck_force=1'),
'U_ATTACH_ORPHAN' => append_sid("{$phpbb_admin_path}index.$phpEx", 'i=acp_attachments&mode=orphan'),
'S_VERSIONCHECK' => ($auth->acl_get('a_board')) ? true : false,
'S_ACTION_OPTIONS' => ($auth->acl_get('a_board')) ? true : false,

View File

@@ -249,7 +249,7 @@ class acp_modules
trigger_error($msg . adm_back_link($this->u_action . '&amp;parent_id=' . $this->parent_id), E_USER_WARNING);
}
if (!sizeof($errors))
if (!count($errors))
{
$module_manager->remove_cache_file($this->module_class);
@@ -364,7 +364,7 @@ class acp_modules
trigger_error($msg . adm_back_link($this->u_action . '&amp;parent_id=' . $this->parent_id), E_USER_WARNING);
}
if (!sizeof($errors))
if (!count($errors))
{
$module_manager->remove_cache_file($this->module_class);
@@ -430,7 +430,7 @@ class acp_modules
array_change_key_case($module_data, CASE_UPPER))
);
if (sizeof($errors))
if (count($errors))
{
$template->assign_vars(array(
'S_ERROR' => true,
@@ -444,7 +444,7 @@ class acp_modules
}
// Default management page
if (sizeof($errors))
if (count($errors))
{
if ($request->is_ajax())
{

View File

@@ -348,7 +348,7 @@ class acp_permission_roles
{
$hold_ary = $this->auth_admin->get_role_mask($role_id);
if (sizeof($hold_ary))
if (count($hold_ary))
{
$role_name = (!empty($user->lang[$role_row['role_name']])) ? $user->lang[$role_row['role_name']] : $role_row['role_name'];
@@ -496,7 +496,7 @@ class acp_permission_roles
$content_array = $content_array[0];
$template->assign_var('S_NUM_PERM_COLS', sizeof($categories));
$template->assign_var('S_NUM_PERM_COLS', count($categories));
// Assign to template
foreach ($content_array as $cat => $cat_array)

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