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

Compare commits

..

1641 Commits

Author SHA1 Message Date
Marc Alexander
1b11013988 Merge pull request #4899 from rubencm/ticket/15286
[ticket/15286] Use storage in attachments
2018-05-14 21:59:05 +02:00
Rubén Calvo
246cc01507 [ticket/15286] Remove double semicolon
PHPBB3-15286
2018-05-08 14:17:17 +02:00
Rubén Calvo
ed2165342f [ticket/15286] Remove thumbnail if there is an error
PHPBB3-15286
2018-05-01 14:40:02 +02:00
Rubén Calvo
f80c59cb05 [ticket/15286] Fix tests after rebase
PHPBB3-15286
2018-05-01 14:40:02 +02:00
Rubén Calvo
6bd01d1506 [ticket/15286] Add event to allow redirects
PHPBB3-15286
2018-05-01 10:47:11 +02:00
Rubén Calvo
3c295abd66 [ticket/15286] Remove download_mode
PHPBB3-15286
2018-05-01 10:47:11 +02:00
Rubén Calvo
5111d8a339 [ticket/15286] Update tests
PHPBB3-15286
2018-05-01 10:47:11 +02:00
Rubén Calvo
a176fa56ef [ticket/15286] Fix tests
PHPBB3-15286
2018-05-01 10:47:11 +02:00
Rubén Calvo
ef43dbdcca [ticket/15286] Update use storage in avatars
PHPBB3-15286
2018-05-01 10:47:11 +02:00
Rubén Calvo
e564ca6e60 [ticket/15286] Fix tests
PHPBB3-15286
2018-05-01 10:47:11 +02:00
Rubén Calvo
e749e06042 [ticket/15286] Use storage in attachments
PHPBB3-15286
2018-05-01 10:47:11 +02:00
Marc Alexander
1c9798320e Merge pull request #5212 from hanakin/ticket/15647
[ticket/15647] fix post font-size and line-height
2018-04-23 13:49:54 +02:00
Marc Alexander
23dcc948f2 Merge pull request #5211 from JoshyPHP/ticket/15646
[ticket/15646] Add support for Argon2i passwords
2018-04-22 10:08:54 +02:00
Michael Miday
ba1eda7d95 [ticket/15647] fix post font-size and line-height
PHPBB3-15647
2018-04-18 18:34:20 -04:00
JoshyPHP
e2ae8560f5 [ticket/15646] Made Argon2i the default password driver
PHPBB3-15646
2018-04-18 22:44:21 +02:00
JoshyPHP
9e7b10164a [ticket/15646] Added support for Argon2i passwords
PHPBB3-15646
2018-04-18 21:10:26 +02:00
Derky
0d2960bd5e Merge branch '3.2.x' 2018-03-30 21:05:09 +02:00
Derky
7c839470b7 Merge pull request #5182 from marc1706/ticket/15604
[ticket/15604] Use HTTPS links for download SQL server drivers
2018-03-30 21:03:27 +02:00
Marc Alexander
d8c9dd8802 [ticket/15604] Use HTTPS links & curl for SQL server driver download
PHPBB3-15604
2018-03-29 20:38:00 +02:00
Marc Alexander
f3338b2874 Merge branch '3.2.x' 2018-03-26 21:20:21 +02:00
Marc Alexander
22a251916c [3.2.x] Update version numbers to 3.2.4-dev 2018-03-26 21:18:16 +02:00
Marc Alexander
b98a81364f Merge branch 'prep-release-3.2.3' into 3.2.x 2018-03-26 21:17:02 +02:00
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
c706883e44 Merge branch '3.2.x' 2018-02-28 21:21:27 +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
7dc4eea66b Merge branch '3.2.x' 2018-02-28 21:03:03 +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
7be590d325 Merge branch '3.2.x' 2018-02-24 19:17:39 +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
a03fa03dd5 Merge branch '3.2.x' 2018-02-24 18:55:09 +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
f43184d0a7 Merge branch '3.2.x' 2018-02-22 20:34:28 +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
98d4065f58 Merge branch '3.2.x' 2018-02-22 20:06:53 +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
7cc319875c Merge branch '3.2.x' 2018-02-22 19:49:09 +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
2b8c8973e9 Merge branch '3.2.x' 2018-02-21 21:14:07 +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
47c1538272 Merge branch '3.2.x' 2018-02-21 20:55:24 +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
9380d8b51a Merge remote-tracking branch 'hanakin/ticket/15535' 2018-02-21 19:27:29 +01:00
Michael Miday
025d40a63d [ticket/15565] remove improper font-sizes
PHPBB3-15565
2018-02-21 19:24:51 +01:00
Marc Alexander
7786b78e94 Merge branch '3.2.x' 2018-02-21 19:06:00 +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
2470dcbc20 Merge branch '3.2.x' 2018-02-20 20:00:27 +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
09718a565b Merge branch '3.2.x' 2018-02-19 21:27:07 +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
03c6e0e17e Merge branch '3.2.x' 2018-02-19 19:44:18 +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
ee62c66035 Merge branch '3.2.x' 2018-02-19 08:03:58 +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
f201afc9df Merge branch '3.2.x' 2018-02-19 07:55:17 +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
0e6a293e2c Merge branch '3.2.x' 2018-02-18 17:10:26 +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
Marc Alexander
009ae0dfac Merge pull request #4966 from VSEphpbb/ticket/15369
[ticket/15369] Update composer
2018-02-17 16:31:53 +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
00a35827b0 Merge branch '3.2.x' 2018-02-14 20:11:44 +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
7e2cde0844 Merge branch '3.2.x' 2018-01-31 19:59:07 +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
798843dc18 Merge branch '3.2.x' 2018-01-29 18:53:57 +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
4981f4cddd Merge branch '3.2.x' 2018-01-27 12:58:26 +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
dac735f89d Merge branch '3.2.x' 2018-01-27 12:55:04 +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
aecb6e6372 Merge branch '3.2.x' 2018-01-25 21:23:57 +01: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
a24a8a6757 Merge branch '3.2.x' 2018-01-25 18:44:22 +01: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
2053399085 Merge branch '3.2.x' 2018-01-24 23:35:53 +01: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
4b4f256817 Merge branch '3.2.x' 2018-01-24 19:19:34 +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
ca537a691d Merge branch '3.2.x' 2018-01-24 19:16:28 +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
ef6b6b156d Merge branch '3.2.x' 2018-01-24 19:09:29 +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
18cd315071 Merge branch '3.2.x' 2018-01-24 18:40:09 +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
ef0680fd19 Merge branch '3.2.x' 2018-01-24 18:32:19 +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
2113e998d1 Merge branch '3.2.x' 2018-01-24 18:12:21 +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
d0c93d56ad Merge branch '3.2.x' 2018-01-20 19:57:38 +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
e0f9794126 Merge branch '3.2.x' 2018-01-20 19:52:18 +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
c6dbfeadee Merge branch '3.2.x' 2018-01-20 19:50:15 +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
8b03b9ded2 Merge branch '3.2.x' 2018-01-20 19:45:50 +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
77d02d4d24 Merge branch '3.2.x' 2018-01-20 18:40:35 +01: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
39945aec10 Merge branch '3.2.x' 2018-01-19 12:20:57 +01: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
82ccc43767 Merge branch '3.2.x' 2018-01-17 23:06:19 +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
ab65accebc Merge branch '3.2.x' 2018-01-16 21:34:23 +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
6ac85a371a Merge branch '3.2.x' 2018-01-12 07:32:13 +01:00
Derky
7f6ececf95 Merge pull request #5079 from rxu/ticket/15502
[ticket/15502] Fix migrations
2018-01-12 07:30:51 +01:00
Derky
3d409d4932 Merge branch '3.2.x' 2018-01-11 21:45:46 +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
4bf3290c23 Merge branch '3.2.x' 2018-01-11 21:33:44 +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
beed8821ff Merge branch '3.2.x' 2018-01-11 21:03:20 +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
6b221ae4cb Merge branch '3.2.x' 2018-01-07 19:30: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
Matt Friedman
a2e603c058 [ticket/15369] Fix php_exporter tests
PHPBB3-15369
2018-01-06 11:01:40 -08: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
Matt Friedman
6ad1188b65 [ticket/15369] Fix tests
PHPBB3-15369
2018-01-06 10:37:39 -08:00
Matt Friedman
a6b45ff0fd [ticket/15369] Update composer to 1.6.x
PHPBB3-15369
2018-01-06 09:36:16 -08: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
7560ffcbe9 Merge branch '3.2.x' 2018-01-05 22:52:33 +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
7d5276e7dc Merge branch '3.2.x' 2018-01-04 21:46:38 +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
Matt Friedman
3c143e7ae8 [ticket/15369] Update composer to 1.5
PHPBB3-15369
2018-01-02 12:27:41 -08: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
9e3432cd7b Merge branch '3.2.x' 2017-12-28 22:06:33 +01: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
7bb7bbc54c Merge branch '3.2.x' 2017-12-28 14:51:05 +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
3232c27ece Merge branch '3.2.x' 2017-12-28 11:15:36 +01:00
Marc Alexander
f9da4f10ae Merge pull request #5017 from Elsensee/ticket/15339-33
[ticket/15339] Use manual method when adding modules
2017-12-28 11:14:13 +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
ea1d911508 Merge branch '3.2.x' 2017-12-28 10:43:31 +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
19c8112e99 Merge branch '3.2.x' 2017-12-28 08:29:32 +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
15033667da Merge branch '3.2.x' 2017-12-28 08:22:40 +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
3ccba88948 Merge branch '3.2.x' 2017-12-27 21:37:18 +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
a12ad9c914 Merge branch '3.2.x' 2017-12-27 21:31:36 +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
59c7a5506b Merge branch '3.2.x' 2017-12-27 21:27:15 +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
475b85200b Merge branch '3.2.x' 2017-12-27 21:14:02 +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
f0284ddbdf Merge branch '3.2.x' 2017-12-27 20:56:51 +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
a89fdabb35 Merge branch '3.2.x' 2017-12-27 20:44:44 +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
3bc3c7febc Merge branch '3.2.x' 2017-12-27 20:28:14 +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
c94c2a1ec2 Merge branch '3.2.x' 2017-12-27 19:32:20 +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
6b98cc9ae8 Merge pull request #5065 from rubencm/ticket/15400
[ticket/15400] Make app.php routes work in vagrant
2017-12-27 19:27:03 +01:00
Marc Alexander
a4a57b5860 Merge branch '3.2.x' 2017-12-27 19:14:03 +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
c596383592 Merge branch '3.2.x' 2017-12-27 19:08:16 +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
52cde712f2 Merge branch '3.2.x' 2017-12-27 18:39:20 +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
1656ca4011 Merge branch '3.2.x' 2017-12-27 18:16:29 +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
93beaa8a3a Merge branch '3.2.x' 2017-12-27 14:39:46 +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
1702219629 Merge branch 'ticket/15339' into ticket/15339-33 2017-12-24 19:55:46 +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
843586a93f Merge branch '3.2.x' 2017-12-23 13:23:07 +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
7ef4be39a5 Merge branch '3.2.x' 2017-12-22 19:52:21 +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
Rubén Calvo
a4a928b156 [ticket/15400] Make app.php routes work in vagrant
PHPBB3-15400
2017-12-20 20:35:26 +01:00
Marc Alexander
20984af029 Merge branch '3.2.x' 2017-12-18 21:13:19 +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
Derk
b9e2e53c33 Merge pull request #5062 from vinny/ticket/15484
[ticket/15484] Remove empty lines from includes/ucp/ucp_register.php
2017-12-18 07:43:37 +01:00
vinny
5bfd609cc8 [ticket/15485] Add template event for forum images
PHPBB3-15485
2017-12-18 02:52:35 -03:00
vinny
68f8ec60fc [ticket/15484] Remove multiple empty lines at includes/ucp/ucp_register.php
PHPBB3-15484
2017-12-18 02:32:51 -03:00
Derky
bcbfd75719 Merge branch '3.2.x' 2017-12-18 00:07:13 +01: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
730e472fb3 Merge branch '3.2.x' 2017-12-17 21:37:57 +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
dfdb02c933 Merge branch '3.2.x' 2017-12-17 16:22:01 +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
2b7c498f40 Merge branch '3.2.x' 2017-12-17 16:13:10 +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
10f1e2d1fa Merge branch '3.2.x' 2017-12-10 10:45:03 +01: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
Derk
9a5d03ce72 Merge pull request #4962 from rubencm/ticket/14972
[ticket/14972] replace all occurrences of sizeof() with the count()
2017-12-03 23:58:34 +01:00
Derky
f70801856a Merge branch '3.2.x' 2017-12-03 23:06:09 +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
0568c4a502 Merge branch '3.2.x' 2017-12-03 17:49:43 +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
156dd4a05b Merge branch '3.2.x'
* 3.2.x:
  [ticket/15460] Fix group name displayed in the manage users ACP module
2017-11-26 22:12:44 +00: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
ddc9b720ad Merge branch '3.2.x'
* 3.2.x:
  [ticket/15463] Add MichaelC and Hanakin to the dev credits
2017-11-26 21:57:07 +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
66c4c6748f Merge branch '3.2.x' 2017-11-26 22:04:01 +01: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
206c6b2185 Merge branch '3.2.x' 2017-11-26 18:33:59 +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
1dd447c4aa Merge branch '3.2.x' 2017-11-21 14:10:06 +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
c123254242 Merge branch '3.2.x' 2017-11-16 22:11:11 +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
cd757469a6 Merge branch '3.2.x' 2017-11-15 21:45:10 +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
ded043baab Merge pull request #5000 from hanakin/ticket/15402
[ticket/15402] repurpose tweaks.css
2017-11-05 11:50:06 +01:00
Marc Alexander
7bb40cf5d7 Merge branch '3.2.x' 2017-11-05 11:06:20 +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
Marc Alexander
9448cb07c6 Merge pull request #5005 from hanakin/ticket/15404
[ticket/15404] autoprefix browser compatibility
2017-11-04 14:46:30 +01:00
rxu
f9b9d659a1 [ticket/15224] Fix some MySQL fulltext index searching errors
PHPBB3-15224
2017-11-04 19:14:04 +07:00
Michael Miday
9a1acae8af [ticket/15404] fix gradients
PHPBB3-15404
2017-11-04 11:43:09 +01:00
JoshyPHP
9933380d80 [ticket/15408] Reject duplicate BBCodes in ACP
PHPBB3-15408
2017-11-03 13:13:46 +01:00
Marc Alexander
7ad6e50af2 Merge branch '3.2.x' 2017-11-02 21:36:24 +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
968d483d39 Merge pull request #5006 from hanakin/ticket/15406
[ticket/15406] Fix/standardize bidi.css classes
2017-11-02 21:22:04 +01:00
Marc Alexander
7c141954bf Merge branch '3.2.x' 2017-11-02 21:14:19 +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
4523eb0812 Merge branch '3.2.x' 2017-11-01 21:33:40 +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
0a929155b1 Merge pull request #5028 from marc1706/ticket/15387
[ticket/15387] Fix CSS for master branch
2017-11-01 19:45:55 +01:00
Marc Alexander
2312af57c6 [ticket/15387] Fix CSS for master branch
PHPBB3-15387
2017-11-01 19:08:17 +01:00
Marc Alexander
c309b4cd8d Merge branch '3.2.x' 2017-11-01 18:02:14 +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
91caee664a Merge branch '3.2.x' 2017-11-01 16:08:46 +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
1926f1a3a8 Merge pull request #5010 from hanakin/ticket/15414
[ticket/15414] Remove useless redundant css properties
2017-11-01 16:03:31 +01:00
Marc Alexander
d7f9b9bc07 Merge pull request #5011 from rxu/ticket/15415
[ticket/15415] Fix styling in ucp_notifications.html
2017-11-01 16:02:11 +01:00
Marc Alexander
a3fd51ae47 Merge branch '3.2.x' 2017-11-01 15:59:09 +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
dbca73f468 Merge branch '3.2.x' 2017-11-01 15:51:31 +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
f75fdc69b3 Merge branch '3.2.x' 2017-11-01 15:45:15 +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
51b8974312 Merge branch '3.2.x' 2017-11-01 13:21:37 +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
54d5d9329a Merge branch '3.2.x' 2017-11-01 13:19:50 +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
e157d8890b Merge pull request #5020 from marc1706/ticket/15424
[ticket/15424] Multiple typo fixes in docs & comments
2017-11-01 12:27:13 +01:00
Marc Alexander
14cb1b9cfc Merge branch '3.2.x' 2017-11-01 12:19:46 +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
Marc Alexander
c1fb27a68a Merge pull request #5001 from hanakin/ticket/15403
[ticket/15403] Add useful front-end build tools
2017-11-01 11:07:57 +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
6259789e02 Merge branch '3.2.x' 2017-11-01 10:40:01 +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
28df230f8d Merge branch '3.2.x' 2017-10-31 16:13:39 +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
c6e8a5ddee Merge branch '3.2.x' 2017-10-31 15:51:24 +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
a51741df41 Merge branch '3.2.x' 2017-10-31 15:47:14 +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
Marc Alexander
330b06b3e8 Merge pull request #5021 from marc1706/ticket/15245
[ticket/15245] Fix tests after merging into master
2017-10-31 15:09:55 +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
f5467c560a Merge branch '3.2.x' 2017-10-31 14:17:32 +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
dee88e28e0 [ticket/15245] Fix tests after merging into master
PHPBB3-15245
2017-10-31 14:11:17 +01:00
Marc Alexander
cc52dc9a7e Merge branch '3.2.x' 2017-10-31 12:58:44 +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
ea23d456d5 Merge branch '3.2.x' 2017-10-31 09:58:33 +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
0c009e3feb Merge pull request #4959 from rubencm/ticket/15366
[ticket/15366] Remove useless code
2017-10-29 22:09:49 +01:00
Marc Alexander
7a54b0631d Merge branch '3.2.x' 2017-10-29 12:49:25 +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
luzpaz
e13ba99c81 [ticket/15424] Multiple typo fixes in docs & comments
Fixed typos in some docs, guidelines, some non-user-facing files.

PHPBB3-15424
2017-10-29 12:44:01 +01:00
Marc Alexander
408916d24e Merge branch '3.2.x' 2017-10-29 11:34:52 +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
297278a45c Merge branch 'ticket/15339' into ticket/15339-33 2017-10-28 04:00:22 +02: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
d11db17e2c Merge branch '3.2.x' 2017-10-22 10:19:35 +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
rxu
613cbd8654 [ticket/15415] Fix styling in ucp_notifications.html
PHPBB3-15415
2017-10-19 23:58:57 +07:00
Marc Alexander
e7fa0de888 Merge branch '3.2.x' 2017-10-18 21:11:42 +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
Michael Miday
817736ed3a [ticket/15414] Inline take no dimensions
PHPBB3-15414
2017-10-17 23:32:31 -04:00
Michael Miday
f9e21a81dc [ticket/15414] Inline with float
PHPBB3-15414
2017-10-17 23:31:58 -04:00
Michael Miday
8b76c54240 [ticket/15404] Add missing non-vendors
PHPBB3-15404
2017-10-17 23:27:02 -04:00
Michael Miday
2c58e7a8a9 [ticket/15404] fix errors
PHPBB3-15404
2017-10-17 23:26:26 -04:00
Marc Alexander
f2f1037e8d Merge branch '3.2.x' 2017-10-17 21:16:15 +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
867d0bfb2f Merge branch '3.2.x' 2017-10-17 21:01:25 +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
5338b7a361 Merge branch '3.2.x' 2017-10-17 19:54:24 +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
Marc Alexander
b60f30ca66 Merge pull request #5007 from vinny/ticket/15411
[ticket/15411] Use lowercase in hex color code
2017-10-17 12:05:32 +02:00
vinny
40247dcd1b [ticket/15411] Use lowercase in hex color code
PHPBB3-15411
2017-10-17 03:54:08 -03:00
Michael Miday
1a5c75ef35 [ticket/15406] Remove deprecated fucky code
PHPBB3-15406
2017-10-16 23:59:21 -04:00
Michael Miday
01d05c2ccb [ticket/15406] Fix missing .rtl class
PHPBB3-15406
2017-10-16 23:58:46 -04: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
d509bd9baa Merge pull request #4947 from rubencm/ticket/15289-2
[ticket/15289] Allow to configure storage from acp
2017-10-16 21:05:01 +02:00
Michael Miday
83079a89c7 [ticket/15404] autoprefix browser compatability
PHPBB3-15404
2017-10-16 12:42:46 -04:00
Michael Miday
a59db22959 [ticket/15402] repurpose tweaks.css
PHPBB3-15402
2017-10-16 12:32:54 -04:00
Michael Miday
919d2879c3 [ticket/15403] Add useful gulp methods
PHPBB3-15403
2017-10-16 12:31:18 -04:00
Michael Miday
a97ae96eda [ticket/15403] Add node modules
PHPBB3-15403
2017-10-16 12:30:48 -04:00
Marc Alexander
3dc1cde5c6 Merge branch '3.2.x' 2017-10-15 21:32:26 +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
d80b2d4236 Merge pull request #4946 from Nicofuma/ticket/15357
[ticket/15357] Requires composer/installers in phpBB core for extensions
2017-10-15 20:48:09 +02:00
Marc Alexander
21ccc97cf8 Merge branch '3.2.x' 2017-10-15 20:42:05 +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
Marc Alexander
052b55624b Merge pull request #4626 from hanakin/ticket/14976
[ticket/14976] Convert all ems to px
2017-10-15 10:06:39 +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
c3939580b3 Merge branch '3.2.x' 2017-10-13 19:39:46 +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
Michael Miday
b7c3318541 [ticket/14976] fix error
PHPBB3-14976
2017-10-13 00:16:48 -04:00
Michael Miday
dbcd54d523 [ticket/14976] refactor fieldset.fields1 dd
PHPBB3-14976
2017-10-13 00:16:30 -04:00
Marc Alexander
f57e377847 [ticket/15353] Use empty where applicable
PHPBB3-15353
2017-10-12 21:56:59 +02:00
Marc Alexander
d64ce15ecf Merge branch '3.2.x' 2017-10-11 21:00:38 +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
hanakin
a408180c4a [ticket/14976] fix errors
PHPBB3-14976
2017-10-11 14:51:16 -04:00
hanakin
f7baa94d44 [ticket/14976] Fix content.css
PHPBB3-14976
2017-10-11 14:50:32 -04:00
hanakin
4ddc9a89fe [ticket/14976] more fixes in content.css
PHPBB3-14976
2017-10-11 14:50:32 -04:00
hanakin
8a312b01fb [ticket/14976] fix errors
PHPBB3-14976
2017-10-11 14:50:32 -04:00
hanakin
f268e07935 [ticket/14976] fix common.css and ignore normalize
PHPBB3-14976
2017-10-11 14:50:32 -04:00
hanakin
c51b613015 [ticket/14976] Allow px line-heights for prosilver
PHPBB3-14976
2017-10-11 14:50:32 -04:00
hanakin
a3372e628a [ticket/14976] Fix linting
PHPBB3-14976
2017-10-11 14:50:32 -04:00
hanakin
036d00f872 [ticket/14976] Some cleanup
PHPBB3-14976
2017-10-11 14:50:32 -04:00
hanakin
3652a9cae6 [ticket/14976] More conversions
PHPBB3-14976
2017-10-11 14:50:32 -04:00
hanakin
3b5fa30bb5 [ticket/14976] Fix icon line-height
PHPBB3-14976
2017-10-11 14:49:49 -04:00
hanakin
dbf1987bb3 [ticket/14976] more em converstions and size fixes
PHPBB3-14976
2017-10-11 14:49:49 -04:00
hanakin
725805e7ed [ticket/14976] Some more em conversions
PHPBB3-14976
2017-10-11 14:48:33 -04:00
hanakin
980a9a6f69 [ticket/14976] Start converting ems
PHPBB3-14976
2017-10-11 14:48:33 -04:00
Marc Alexander
0e6a0aae8f Merge pull request #4987 from hanakin/ticket/14336
[ticket/14336] add title text to online status icon
2017-10-11 19:13:18 +02:00
Marc Alexander
5fb7029692 Merge branch '3.2.x' 2017-10-11 19:06:52 +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
7998aa8381 Merge branch '3.2.x' 2017-10-11 13:29:06 +02: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
Máté Bartus
68b3da2df0 Merge pull request #4990 from rubencm/ticket/15377
[ticket/15377] Fix INCLUDECSS and INCLUDEJS
2017-10-09 21:12:08 +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
Máté Bartus
eb0122b8ee Merge pull request #4685 from hanakin/ticket/15071
[ticket/15071] Consolidate all media queries
2017-10-09 16:15:33 +02:00
Rubén Calvo
eaeec9b50b [ticket/15377] Use __DIR__ constant
PHPBB3-15377
2017-10-09 12:31:57 +02:00
Rubén Calvo
c2d3322e82 [ticket/15377] Add test
PHPBB3-15377
2017-10-07 00:20:20 +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
Rubén Calvo
18c5f5c6e8 [ticket/15377] Fix INCLUDECSS and INCLUDEJS
PHPBB3-15377
2017-10-05 20:54:01 +02:00
Máté Bartus
f4ffbd5506 Merge branch '3.2.x' 2017-10-05 20:46:10 +02: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
bba4b4fc30 Merge branch '3.2.x' 2017-10-05 15:40:28 +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
8e62ea225e Merge branch '3.2.x'
Conflicts:
	phpBB/includes/ucp/ucp_notifications.php
2017-10-05 15:14:58 +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
5d3cac71d5 Merge branch '3.2.x' 2017-10-05 15:00:55 +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
92f25a6edc Merge branch '3.2.x' 2017-10-05 14:55:00 +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
Michael Miday
7d464aa0ea [ticket/14336] add title
PHPBB3-14336
2017-10-04 10:07:43 -04: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
ff52857b1e Merge branch '3.2.x' 2017-09-28 21:33:24 +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
6de10bd75e Merge branch '3.2.x' 2017-09-28 18:57:57 +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
Michael Miday
ad67efecfa [ticket/15071] Tweak order
PHPBB3-15071
2017-09-23 11:32:02 -04:00
hanakin
98479f235b [ticket/15071] Fix cahnges
PHPBB3-15071
2017-09-23 11:24:32 -04:00
hanakin
f724017953 [ticket/15071] Consolidate all media queries
PHPBB3-15071
2017-09-23 11:17:57 -04: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
b70ba0e47c Merge branch '3.2.x' 2017-09-19 19:22:22 +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
Rubén Calvo
e1e2c8ae3f [ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2017-09-17 17:05:37 +02: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
Rubén Calvo
7b4c355190 [ticket/15366] Remove useless code
PHPBB3-15366
2017-09-16 12:30:36 +02:00
kasimi
f1f35f7f3d [ticket/15365] Fix invalidating OPcache
PHPBB3-15365
2017-09-16 11:10:04 +02:00
Marc Alexander
024cf709c4 Merge pull request #4957 from CHItA/ticket/13214
[ticket/13214] Remove px after 0 from padding property
2017-09-15 15:45:37 +02:00
Máté Bartus
36e7446103 [ticket/13214] Remove px after 0 from padding property
PHPBB3-13214
2017-09-15 11:29:08 +02:00
Máté Bartus
711d4db968 [ticket/13214] Remove .idea files added by accident on merge
PHPBB3-13214
2017-09-15 10:18:34 +02:00
Máté Bartus
ba58e9cb4c Merge branch '3.2.x' 2017-09-15 10:12:14 +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
905c5e3706 Merge branch '3.2.x' 2017-09-15 10:05:19 +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
99306435bd Merge branch '3.2.x' 2017-09-10 15:32:28 +02: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
10f487fbf6 Merge branch '3.2.x' 2017-09-10 15:18:06 +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
Rubén Calvo
c10f1b38ac [ticket/15289] Add migration for storage module
PHPBB3-15289
2017-09-10 14:42:06 +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
Rubén Calvo
748235276e [ticket/15289] Remove permission for standard admin
PHPBB3-15289
2017-09-10 13:23:02 +02:00
Marc Alexander
9aa997b4ef Merge branch '3.2.x' 2017-09-10 13:02:15 +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
Rubén Calvo
cb350e20e1 [ticket/15289] Add permission for storage
PHPBB3-15289
2017-09-10 11:55:05 +02:00
Máté Bartus
5ab5e99691 Merge pull request #4719 from hanakin/ticket/14131
[ticket/14131] Completely overhaul all colors in Colours.css
2017-09-10 11:40:53 +02:00
Oliver Schramm
4b39b99d56 [ticket/14933] Fix docblock for kernel_exception_subscriber
PHPBB3-14933
2017-09-10 11:08:59 +02:00
Tristan Darricau
c6bf129ee4 [ticket/15357] Requires composer/installers in phpBB core for extensions
PHPBB3-15357
2017-09-10 11:03:31 +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
Rubén Calvo
246bc8cf08 [ticket/15289] Fix missing language string
PHPBB3-15289
2017-09-09 17:59:33 +02:00
Oliver Schramm
7f8407b321 [ticket/14933] Fix parameter for kernel_exception_subscriber
PHPBB3-14933
2017-09-09 17:37:10 +02:00
Tristan Darricau
83071ee3fd Merge pull request #4895 from rubencm/ticket/15289
[ticket/15289] Allow to configure storage from acp

* github.com:phpbb/phpbb: (38 commits)
  [ticket/15289] Add phpdoc
  [ticket/15289] Remove common language from acp module
  [ticket/15289] Check form
  [ticket/15289] Use empty instead of count
  [ticket/15289] Language fixes
  [ticket/15289] Add missing files
  [ticket/15289] Use twig syntax in variables
  [ticket/15289] Use lang_defined()
  [ticket/15289] Dont use short names
  [ticket/15289] Dont use short names
  [ticket/15289] Use Twig includes
  [ticket/15289] Update acp module
  [ticket/15289] Fix comment typo
  [ticket/15289] Fix show field description
  [ticket/15289] Update event
  [ticket/15289] Remove switch since there is only one mode
  [ticket/15289] Improve error messages
  [ticket/15289] Fix code style
  [ticket/15289] Update acp storage
  [ticket/15289] Update acp storage template
  ...
2017-09-09 17:33:51 +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
5fccb54391 Merge branch '3.2.x' 2017-09-09 17:20:36 +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
72799a26ea Merge branch '3.2.x' 2017-09-09 17:11:03 +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
3e18766fd6 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15149] Fix Ctrl+Submit action on posting
2017-09-09 17:09:09 +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
Máté Bartus
5a19307e9a Merge pull request #4938 from hanakin/ticket/15354
[ticket/15354] Use Lang Var for Loading text
2017-09-09 17:07:18 +02:00
Tristan Darricau
a33666fd32 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15355] Remove version field when no update is available
2017-09-09 17:04:32 +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
Rubén Calvo
2b864f51d8 [ticket/15289] Add phpdoc
PHPBB3-15289
2017-09-09 15:21:06 +02:00
hanakin
43e7261acc [ticket/14131] Fix rebase conflict
PHPBB3-14131
2017-09-09 14:13:42 +02:00
hanakin
ae7d5f1207 [ticket/14131] Fix prefixing
PHPBB3-14131
2017-09-09 14:13:42 +02:00
hanakin
cd0a2a7e63 [ticket/14131] Re-color everything consistently
PHPBB3-14131
2017-09-09 14:13:42 +02:00
Rubén Calvo
c2f508eec6 [ticket/15289] Remove common language from acp module
PHPBB3-15289
2017-09-09 14:01:08 +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
Tristan Darricau
870ced94eb Merge pull request #4939 from CHItA/ticket/15351
[ticket/15351] Fix missing global usage

* github.com:phpbb/phpbb:
  [ticket/15351] Fix missing global usage
2017-09-09 13:19:56 +02:00
Máté Bartus
bd7cdd2e25 [ticket/15351] Fix missing global usage
PHPBB3-15351
2017-09-09 12:58:05 +02:00
Máté Bartus
dababbb9ad Merge branch '3.2.x' 2017-09-09 12:09:50 +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
Michael Miday
dca07283e9 [ticket/15354] Use Lang Var
PHPBB3-15354
2017-09-09 11:20:05 +02:00
Rubén Calvo
11f13e21ac [ticket/15289] Check form
PHPBB3-15289
2017-09-08 17:01:13 +02:00
Rubén Calvo
036ae01b82 [ticket/15289] Use empty instead of count
PHPBB3-15289
2017-09-08 16:54:11 +02:00
Rubén Calvo
d7b1018110 [ticket/15289] Language fixes
PHPBB3-15289
2017-09-08 16:53:20 +02:00
Rubén Calvo
b1928d515e [ticket/15289] Add missing files
PHPBB3-15289
2017-09-08 16:27:26 +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
Rubén Calvo
367b84b462 [ticket/15289] Use twig syntax in variables
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
557165ac2f [ticket/15289] Use lang_defined()
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
7a0c5fcb18 [ticket/15289] Dont use short names
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
500404a921 [ticket/15289] Dont use short names
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
5420d660ba [ticket/15289] Use Twig includes
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
0628d00986 [ticket/15289] Update acp module
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
c785bfa00e [ticket/15289] Fix comment typo
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
0789a42c7a [ticket/15289] Fix show field description
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
d322404d00 [ticket/15289] Update event
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
ab2dfc2762 [ticket/15289] Remove switch since there is only one mode
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
4c9670363c [ticket/15289] Improve error messages
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
e27e51bdbf [ticket/15289] Fix code style
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
c5f3dec2f2 [ticket/15289] Update acp storage
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
f36a6d845d [ticket/15289] Update acp storage template
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
fdb75ed443 [ticket/15289] Use config global
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
5be42739dc [ticket/15289] Fix radio buttons
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
da32ecb30b [ticket/15289] Remove comment
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
7f4e47d26f [ticket/15289] Update provider
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
0b75f1e46a [ticket/15289] Update acp template
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
04a34d9f4f [ticket/15289] Use macros to generate form
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
7e0845f930 [ticket/15289] Fix code style
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
ebfb71604d [ticket/15289] Use lang function in template
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
d5438dd3f2 [ticket/15289] Add event to add language
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
c3c8117f0a [ticket/15289] Update acp to be able to save data in the database
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
6e739a1d0b [ticket/15289] Fix adapter factory
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
71f9babcf1 [ticket/15289] Fix language key
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
19b99a0770 [ticket/15289] Add twig extension to generate inputs from the template
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
9fd8a6ee0f [ticket/15289] Update acp template
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
6cf97b9471 [ticket/15289] Fix selected
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
737a8f9f7d [ticket/15289] Update acp module
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
ba9f082bf4 [ticket/15289] Add acp module
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
944f9bf54e [ticket/15289] Add storage collection service
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Marc Alexander
ad24ecae11 Merge pull request #4937 from rubencm/ticket/15330
[ticket/15330] Twig function to know if a language string is defined
2017-09-08 16:16:44 +02:00
Oliver Schramm
7a32f79752 Merge branch '3.2.x' 2017-09-08 16:06:52 +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
da1f2fb9a9 Merge branch '3.2.x' 2017-09-08 15:02:26 +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
Rubén Calvo
c87b94133c [ticket/15330] Fix typo
PHPBB3-15330
2017-09-08 14:39:04 +02:00
Oliver Schramm
92f4cb442b Merge branch '3.2.x' 2017-09-08 14:22:17 +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
aa15e61e4c Merge branch '3.2.x' 2017-09-08 13:53:38 +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
Tristan Darricau
9b2c45d892 Merge pull request #4894 from rubencm/ticket/15276
[ticket/15276] Use storage in avatars

* github.com:phpbb/phpbb: (34 commits)
  [ticket/15276] Changed annotation
  [ticket/15276] Remove unused code
  [ticket/15276] Revert some changes
  [ticket/15276] Use IniGetWrapper
  [ticket/15276] Add missing dependency
  [ticket/15276] Remove unused dependency
  [ticket/15276] Add missing properties
  [ticket/15276] Use InitGetWrapper
  [ticket/15276] Fix comments
  [ticket/15276] Fix code and add phpdoc
  [ticket/15276] Use stream_copy_to_stream
  [ticket/15276] Fix typo
  [ticket/15276] Use mimetype guesser
  [ticket/15276] Update file_info to get size of images
  [ticket/15276] Update
  [ticket/15276] Remove avatar_path
  [ticket/15276] Remove avatar_path from acp
  [ticket/15276] Use finfo to get mimetype
  [ticket/15276] Update file_info
  [ticket/15276] Fix code style
  ...
2017-09-08 13:32:38 +02:00
Rubén Calvo
21f3c53882 [ticket/15330] Twig function to know if a language string is defined
PHPBB3-15330
2017-09-08 11:56:20 +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
Rubén Calvo
443c5034ce [ticket/15276] Changed annotation
PHPBB3-15276
2017-09-07 16:44:01 +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
Rubén Calvo
a8ba4a99e3 [ticket/15276] Remove unused code
PHPBB3-15276
2017-09-07 15:10:52 +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
b1fe0f9dbe Merge branch '3.2.x' 2017-09-07 15:09:40 +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
Máté Bartus
2c56beee33 Merge pull request #4890 from hanakin/ticket/15308
[ticket/15308] Remove !important from pagination css class
2017-09-07 15:07:26 +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
d7005b816c Merge branch '3.2.x'
* 3.2.x:
  [ticket/15262] Update the font-weight of buttons
2017-09-07 15:01:00 +02:00
Rubén Calvo
ed282199ac [ticket/15276] Revert some changes
PHPBB3-15276
2017-09-07 14:59:55 +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
4bed192958 Merge pull request #4921 from hanakin/ticket/15343
[ticket/15343] Fix forum row inner list

* github.com:phpbb/phpbb:
  [ticket/15343] make blocks
  [ticket/15343] Fix forum row inner list
2017-09-07 14:58:26 +02:00
Rubén Calvo
9fcf30d504 [ticket/15276] Use IniGetWrapper
PHPBB3-15276
2017-09-07 14:50:55 +02:00
Tristan Darricau
51693764f9 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15309] Add margin to pagination
  [ticket/15309] Right-align responsive pagination for consistency
  [ticket/15309] Fix pagination overlap
2017-09-07 14:46:12 +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
1521def486 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15333] Call callback when confirm dialog is canceled
2017-09-07 14:41:49 +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
049971d31d Merge branch '3.2.x' 2017-09-07 14:39:03 +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
b2be15e46e Merge branch '3.2.x'
* 3.2.x:
  [ticket/15332] Don't remove dark background if fadedark is false
2017-09-07 14:36:09 +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
6211b69a6f Merge branch '3.2.x' 2017-09-07 14:32:51 +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
1bf9d4815d Merge branch '3.2.x'
* 3.2.x:
  [ticket/15340] Update plupload to version 2.3.3
2017-09-07 14:19:26 +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
Tristan Darricau
d4f56b7409 Merge pull request #4923 from hanakin/ticket/15344
[ticket/15344] update and fix stylelint

* github.com:phpbb/phpbb:
  [ticket/15344] update stylelint and fix issues
2017-09-07 14:16:32 +02:00
Máté Bartus
60dba82e1d Merge branch '3.2.x' 2017-09-07 14:13:58 +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
Máté Bartus
6459bcf98f Merge branch '3.2.x' 2017-09-07 14:07:26 +02:00
Rubén Calvo
5ff182ce25 [ticket/15276] Add missing dependency
PHPBB3-15276
2017-09-07 13:51:35 +02:00
Rubén Calvo
b255209574 [ticket/15276] Remove unused dependency
PHPBB3-15276
2017-09-07 13:36:25 +02:00
Rubén Calvo
bb886667d2 [ticket/15276] Add missing properties
PHPBB3-15276
2017-09-07 13:35:15 +02:00
kasimi
edd1ce7443 [ticket/15328] Use type_interface
PHPBB3-15328
2017-09-07 13:30:39 +02:00
Rubén Calvo
354dda5cc8 [ticket/15276] Use InitGetWrapper
PHPBB3-15276
2017-09-07 13:29:35 +02:00
Rubén Calvo
fe20aa058f [ticket/15276] Fix comments
PHPBB3-15276
2017-09-07 13:15:19 +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
a6fb569fa9 Merge branch '3.2.x' 2017-09-06 19:07:35 +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
Michael Miday
30fa0c9474 [ticket/15344] update stylelint and fix issues
PHPBB3-15344
2017-09-02 15:44:47 -04:00
Michael Miday
40b2e3c1d4 [ticket/15343] make blocks
PHPBB3-15343
2017-09-01 06:30:44 -04: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
95e5f9cfe0 [ticket/15343] Fix forum row inner list
PHPBB3-15343
2017-08-30 17:41:33 -04:00
Michael Miday
311c7c0561 [ticket/15262] Update the font-weight of buttons
PHPBB3-15262
2017-08-30 17:31:29 -04:00
Michael Miday
cff4e1e7fb [ticket/15308] Unqualify selectors
PHPBB3-15308
2017-08-30 17:12:19 -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
Rubén Calvo
da3c9b3de7 [ticket/15276] Fix code and add phpdoc
PHPBB3-15276
2017-08-28 17:55:19 +02:00
Rubén Calvo
28060a8468 [ticket/15276] Use stream_copy_to_stream
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
87229e1a77 [ticket/15276] Fix typo
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
c3e9aa1c18 [ticket/15276] Use mimetype guesser
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
09856aeb26 [ticket/15276] Update file_info to get size of images
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
3c60333725 [ticket/15276] Update
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
2afada5a5a [ticket/15276] Remove avatar_path
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
0ff80fead8 [ticket/15276] Remove avatar_path from acp
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
090ed9bf79 [ticket/15276] Use finfo to get mimetype
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
400e663347 [ticket/15276] Update file_info
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
8d7336e57c [ticket/15276] Fix code style
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
8a47fd4120 [ticket/15276] Remove old code
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
006990f1d0 [ticket/15276] Fix file_info errors
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
9e018e7c12 [ticket/15276] Use streams
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
946f0348a2 [ticket/15276] Add methods to get file info
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
4c5114c14d [ticket/15276] Use storage to download avatar
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
286b1bbe33 [ticket/15276] Change adapter to provider in config_name
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
89f4e12f85 [ticket/15276] Add service to collection
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
5a25a6b69f [ticket/15276] Remove empty line
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
ee094dd0de [ticket/15276] Remove annotation
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
929e32e80d [ticket/15276] Use storage in avatar test
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
41af01b1ee [ticket/15276] Rename exception
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
ef00bb4da5 [ticket/15276] Resolve conflicts
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
0417482d55 [ticket/15276] Fix migration
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Rubén Calvo
4ed0de9f41 [ticket/15276] Use storage in avatars
PHPBB3-15276
2017-08-25 15:31:58 +02:00
Tristan Darricau
d8fb94245f Merge pull request #4893 from rubencm/ticket/15305
[ticket/15305] Add streams for storage

* github.com:phpbb/phpbb:
  [ticket/15305] Update phpdoc
  [ticket/15305] Remove not_implemented exception
  [ticket/15305] Close stream before throwing an exception
  [ticket/15305] Update annotations
  [ticket/15305] Remove not_implemented exception in streams
  [ticket/15305] Use streams in filespec
  [ticket/15305] Throw exception if stream_copy_to_stream() fail
  [ticket/15305] Use php://temp stream instead of tmpfile()
  [ticket/15305] Revert open in w+b mode
  [ticket/15305] Fix typo
  [ticket/15305] Open file in w+b mode
  [ticket/15305] Open file in binary mode
  [ticket/15305] Simulate streams if they are not implemented
  [ticket/15305] Use an aditional interface for streams
  [ticket/15305] Fix streams
  [ticket/15305] Add tests
  [ticket/15305] Update PHPDoc
  [ticket/15305] Add streams
2017-08-25 15:28:37 +02:00
Rubén Calvo
89bb359361 [ticket/15305] Update phpdoc
PHPBB3-15305
2017-08-25 15:11:21 +02:00
Rubén Calvo
6c3756a1b3 [ticket/15305] Remove not_implemented exception
PHPBB3-15305
2017-08-24 17:42:31 +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
Rubén Calvo
0ec50e9055 [ticket/15305] Close stream before throwing an exception
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
b311bb6411 [ticket/15305] Update annotations
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
dbd80a950a [ticket/15305] Remove not_implemented exception in streams
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
55f3452e2d [ticket/15305] Use streams in filespec
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
d89df35959 [ticket/15305] Throw exception if stream_copy_to_stream() fail
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
98ad1e4971 [ticket/15305] Use php://temp stream instead of tmpfile()
The tmpfile() return a file resource, but is not in binary mode.

PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
4a4e5d13b1 [ticket/15305] Revert open in w+b mode
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
e87daeb952 [ticket/15305] Fix typo
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
9d8e0080b9 [ticket/15305] Open file in w+b mode
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
c28100be1c [ticket/15305] Open file in binary mode
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
b9e22b4da4 [ticket/15305] Simulate streams if they are not implemented
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
c93c2d4007 [ticket/15305] Use an aditional interface for streams
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
cd2bae63cb [ticket/15305] Fix streams
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
9b7a5fc2a5 [ticket/15305] Add tests
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
dedd7648cd [ticket/15305] Update PHPDoc
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Rubén Calvo
8ffb14b305 [ticket/15305] Add streams
PHPBB3-15305
2017-08-23 17:18:53 +02:00
Tristan Darricau
c17db782f8 Merge pull request #4917 from vinny/ticket/15336
[ticket/15336] Fix travis fail in bidi.css

* github.com:phpbb/phpbb:
  [ticket/15336] Fix travis fail in bidi.css
2017-08-23 14:52:04 +02:00
Vinny
9fc4052697 [ticket/15336] Fix travis fail in bidi.css
PHPBB3-15336
2017-08-23 04:17:33 -03: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
52d356da88 Merge branch '3.2.x' 2017-08-13 16:15:43 +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
5519bf05f1 Merge branch '3.2.x' 2017-08-13 16:10:30 +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
53a0c8a4e0 Merge branch '3.2.x' 2017-08-13 16:06:03 +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
cdd58d997b Merge branch '3.2.x' 2017-08-13 15:59:46 +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
5e97463651 Merge branch '3.2.x'
* 3.2.x:
  [PHPBB3-15247] Add support for php v7 APCu cache API
2017-08-06 12:07:53 +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
6cdf94197f Merge pull request #4871 from javiexin/ticket/15274
[ticket/15274] Allow "custom" migrations to use parameters

* github.com:phpbb/phpbb:
  [ticket/15274] Allow "custom" migrations to use parameters
  [ticket/15274] Allow "custom" migrations to use parameters
2017-08-06 12:04:07 +02:00
Tristan Darricau
07c12f2d1e Merge pull request #4875 from rubencm/ticket/15287
[ticket/15287] Factory to build storage from DI

* github.com:phpbb/phpbb:
  [ticket/15287] Change adapter to provider in config_name
  [ticket/15287] Launch exception if storage is not available
  [ticket/15287] Add is_available method
  [ticket/15287] Fix annotation return type
  [ticket/15287] Fix variable name
  [ticket/15287] Fix method name
  [ticket/15287] Ensures that the target file directory exists
  [ticket/15287] Rename class
  [ticket/15287] Load the adapter lazily
  [ticket/15287] Travis
  [ticket/15287] Remove unused argument
  [ticket/15287] Travis
  [ticket/15287] Fix code style
  [ticket/15287] Add PHPDoc
  [ticket/15287] Remove unused services
  [ticket/15287] Add filespec for storage
  [ticket/15287] Add services
  [ticket/15287] Update test
  [ticket/15287] Apply suggested change
  [ticket/15287] Update storage
2017-08-06 12:02:25 +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
85cecd8764 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15292] Reduce bluriness for forum and topic icons
2017-08-06 12:01:05 +02:00
Tristan Darricau
c59ef8bd2f Merge branch '3.2.x'
* 3.2.x:
  [ticket/15304] Update s9e/text-formatter dependency
2017-08-06 11:52:08 +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
8422d1551b Merge branch '3.2.x'
* 3.2.x:
  [ticket/15303] Correctly refer to $memcached and not $memcache
2017-08-06 11:32:56 +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
Rubén Calvo
42dcce34de [ticket/15287] Change adapter to provider in config_name
PHPBB3-15287
2017-07-28 15:32:15 +02:00
Marc Alexander
d4bb31d240 Merge pull request #4883 from VSEphpbb/ticket/15295
[ticket/15295] Restore tests on mysql and myisam
2017-07-27 18:59:15 +02:00
Marc Alexander
f7d387f93c [ticket/security/211] Add test for line breaks in URL
SECURITY-211
2017-07-27 18:23:43 +02:00
Matt Friedman
bc93feba66 [ticket/15295] Restore tests on mysql and myisam
PHPBB3-15295
2017-07-26 12:24:57 -07: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
Máté Bartus
ec9b52f86e Merge pull request #4866 from Nicofuma/ticket/15258
[ticket/15258] Adds a method to get a service by class in service_collection
2017-07-26 17:42:53 +02:00
Tristan Darricau
29f48475aa [ticket/15258] Adds a method to get a service by class in service_collection
PHPBB3-15258
2017-07-26 13:16:51 +02:00
Tristan Darricau
3de15aa6f0 Merge pull request #4878 from rxu/ticket/14972
[ticket/14972] Add PHP 7.2 to the test matrix

* github.com:phpbb/phpbb:
  [ticket/14972] Add PHP 7.2 to the test matrix
2017-07-26 13:11:35 +02:00
Tristan Darricau
ca260d41e5 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15293] Prevent continuing to database update on incomplete file update
2017-07-26 13:09:30 +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
Rubén Calvo
e41d4b0d0c [ticket/15287] Launch exception if storage is not available
PHPBB3-15287
2017-07-24 09:42:29 +02:00
Rubén Calvo
ba8cda4d05 [ticket/15287] Add is_available method
PHPBB3-15287
2017-07-24 09:29:57 +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
rxu
a0434284d5 [ticket/14972] Add PHP 7.2 to the test matrix
PHPBB3-14972
2017-07-23 01:30:42 +07: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
Rubén Calvo
23e67da331 [ticket/15287] Fix annotation return type
PHPBB3-15287
2017-07-21 20:23:38 +02:00
Rubén Calvo
a09a50670c [ticket/15287] Fix variable name
PHPBB3-15287
2017-07-21 19:29:22 +02:00
Rubén Calvo
8d7e8d4311 [ticket/15287] Fix method name
PHPBB3-15287
2017-07-21 19:29:12 +02:00
Rubén Calvo
2a19e213e8 [ticket/15287] Ensures that the target file directory exists
PHPBB3-15287
2017-07-21 19:28:54 +02:00
Rubén Calvo
e2b02c15a5 [ticket/15287] Rename class
PHPBB3-15287
2017-07-21 19:28:46 +02:00
Rubén Calvo
69bfc48dd2 [ticket/15287] Load the adapter lazily
PHPBB3-15287
2017-07-21 19:28:32 +02:00
Rubén Calvo
18ca46a66c [ticket/15287] Travis
PHPBB3-15287
2017-07-21 19:28:23 +02:00
Rubén Calvo
3e89fdca6d [ticket/15287] Remove unused argument
PHPBB3-15287
2017-07-21 19:28:12 +02:00
Rubén Calvo
4d37063cd7 [ticket/15287] Travis
PHPBB3-15287
2017-07-21 19:28:01 +02:00
Rubén Calvo
a710bc616a [ticket/15287] Fix code style
PHPBB3-15287
2017-07-21 19:27:47 +02:00
Rubén Calvo
ff86178667 [ticket/15287] Add PHPDoc
PHPBB3-15287
2017-07-21 19:27:38 +02:00
Rubén Calvo
67f1f85146 [ticket/15287] Remove unused services
PHPBB3-15287
2017-07-21 19:27:26 +02:00
Rubén Calvo
1dbf75c32c [ticket/15287] Add filespec for storage
PHPBB3-15287
2017-07-21 19:27:12 +02:00
Rubén Calvo
440ef369ca [ticket/15287] Add services
PHPBB3-15287
2017-07-21 19:26:58 +02:00
Rubén Calvo
95ebd5d894 [ticket/15287] Update test
PHPBB3-15287
2017-07-21 19:26:45 +02:00
Rubén Calvo
5897876f2f [ticket/15287] Apply suggested change
PHPBB3-15287
2017-07-21 19:26:27 +02:00
Rubén Calvo
af21b8b6c1 [ticket/15287] Update storage
PHPBB3-15287
2017-07-21 19:26:00 +02:00
Tristan Darricau
51d42b2ced Merge pull request #4859 from rubencm/ticket/15253
[ticket/15253] Add storage abstraction

* github.com:phpbb/phpbb: (26 commits)
  [ticket/15253] Fix code style
  [ticket/15253] Fix rebase
  [ticket/15253] Add create dir method
  [ticket/15253] Remove delete dir method
  [ticket/15253] Fix get contents method
  [ticket/15253] PHP 7.2 compatibility
  [ticket/15253] Fix method visibility
  [ticket/15253] Add old tests
  [ticket/15253] Fix code
  [ticket/15253] Add missing return
  [ticket/15253] Make symfony_filesystem variable static
  [ticket/15253] Fix test for <php7.0
  [ticket/15253] Replace realpath with helper
  [ticket/15253] Update tests
  [ticket/15253] Update imports
  [ticket/15253] Add language strings
  [ticket/15253] Fix code style
  [ticket/15253] Move storage helper to filesystem
  [ticket/15253] Move storage helper to filesystem
  [ticket/15253] Add experimental annotation
  ...
2017-07-20 21:09:10 +02:00
Rubén Calvo
3399594946 [ticket/15253] Fix code style
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
c3a422bdeb [ticket/15253] Fix rebase
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
c18c40aaa5 [ticket/15253] Add create dir method
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
b8483c582d [ticket/15253] Remove delete dir method
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
30e0015ca9 [ticket/15253] Fix get contents method
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
01a28d0bd4 [ticket/15253] PHP 7.2 compatibility
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
9b28b21f9a [ticket/15253] Fix method visibility
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
7bf1a27db4 [ticket/15253] Add old tests
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
436410761d [ticket/15253] Fix code
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
a01d33b1fa [ticket/15253] Add missing return
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
9de384fb22 [ticket/15253] Make symfony_filesystem variable static
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
425fb5b09d [ticket/15253] Fix test for <php7.0
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
9ff25b5970 [ticket/15253] Replace realpath with helper
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
45334eadb6 [ticket/15253] Update tests
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
b1755d9dac [ticket/15253] Update imports
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
8bbec30748 [ticket/15253] Add language strings
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
94ee3dc8b0 [ticket/15253] Fix code style
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
de288be1b3 [ticket/15253] Move storage helper to filesystem
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
603a8c51da [ticket/15253] Move storage helper to filesystem
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
8dbbf74550 [ticket/15253] Add experimental annotation
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
ecb79539f4 [ticket/15253] Use storage helper methods instead of filesystem methods
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
21c9b0eeae [ticket/15253] Fix coding style
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
91163d7ec3 [ticket/15253] Update test
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
afb804fe1e [ticket/15253] Fix exception route
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
0d14c85630 [ticket/15253] Use path from adapter
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
334b44057d [ticket/15253] Add storage abstraction
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Marc Alexander
2482ec6897 Merge branch '3.2.x' 2017-07-20 19:50:19 +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
Tristan Darricau
35962a0508 Merge pull request #4862 from rxu/ticket/14972-new
[ticket/14972] PHP 7.2 compatibility

* github.com:phpbb/phpbb:
  [ticket/14972] Temporarily pull PHP nightly build out of allowed tests failures
  [ticket/14972] replace all occurrences of sizeof() with the count()
  [ticket/14972] Fix find_key_index method
  [ticket/14972] Update tests matrix to reflect bumping PHP version requirement
  [ticket/14972] Fix test_collection_with_mask test
  [ticket/14972] Avoid using self as constant in tests
  [ticket/14972] Fix create_insert_array() declaration in admin_activate_user
  [ticket/14972] Fix use of deprecated media attachment constants
  [ticket/14972] Migrate from deprecated getMock() method to createMock()
  [ticket/14972] Fix sizeof calls
  [ticket/14972] Bump PHP requirements to 5.6. Update dependencies.
2017-07-18 10:25:24 +02:00
Tristan Darricau
60efaef3cb Merge pull request #4870 from rubencm/ticket/15269
[ticket/15269] Set development environment and enable all debugs when installing with vagrant

* github.com:phpbb/phpbb:
  [ticket/15269] Don't enable DEBUG_CONTAINER by default
  [ticket/15269] Remove comment only if is the beginning of a line
  [ticket/15269] Set development environment and enable all debugs with vagrant
2017-07-18 10:22:59 +02:00
Rubén Calvo
60f175046d [ticket/15269] Don't enable DEBUG_CONTAINER by default
PHPBB3-15269
2017-07-17 21:09:35 +02:00
rxu
765768f139 [ticket/14972] Temporarily pull PHP nightly build out of allowed tests failures
PHPBB3-14972
2017-07-17 18:44:45 +07:00
rxu
797234e416 [ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2017-07-17 16:57:00 +07:00
rxu
67a65e3788 [ticket/14972] Fix find_key_index method
PHPBB3-14972
2017-07-17 16:56:58 +07:00
rxu
e336a62fa3 [ticket/14972] Update tests matrix to reflect bumping PHP version requirement
PHPBB3-14972
2017-07-17 16:56:57 +07:00
rxu
0552666cf5 [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
2017-07-17 16:56:57 +07:00
rxu
221004b21b [ticket/14972] Avoid using self as constant in tests
PHPBB3-14972
2017-07-17 16:56:56 +07:00
rxu
efd8e35a6b [ticket/14972] Fix create_insert_array() declaration in admin_activate_user
PHPBB3-14972
2017-07-17 16:56:56 +07:00
rxu
003a9a6d25 [ticket/14972] Fix use of deprecated media attachment constants
PHPBB3-14972
2017-07-17 16:56:55 +07:00
rxu
e3859d894d [ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
2017-07-17 16:56:55 +07:00
rxu
055a5f8040 [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
2017-07-17 16:56:54 +07:00
rxu
07c6e821d5 [ticket/14972] Bump PHP requirements to 5.6. Update dependencies.
Also bump to PHP 7.2 compatible versions: PHPUnit to 5.7, Guzzle to 6.3.

PHPBB3-14972
2017-07-17 16:56:53 +07:00
Marc Alexander
f101532c09 Merge branch '3.2.x' 2017-07-16 21:42:30 +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
65aaef1f83 Merge branch 'prep-release-3.1.11' into 3.1.x 2017-07-16 15:00:22 +02:00
javiexin
55d5ed79fb [ticket/15274] Allow "custom" migrations to use parameters
Remove references in migration tool.

PHPBB3-15274
2017-07-16 11:58:54 +02:00
javiexin
563a6680eb [ticket/15274] Allow "custom" migrations to use parameters
Add the possibility to have custom migrations with parameters,
allowing the use of a single function for several uses.

PHPBB3-15274
2017-07-15 18:49:13 +02:00
Rubén Calvo
2a31978aff [ticket/15269] Remove comment only if is the beginning of a line
PHPBB3-15269
2017-07-12 12:07:13 +02:00
Rubén Calvo
f9a5787fc9 [ticket/15269] Set development environment and enable all debugs with vagrant
PHPBB3-15269
2017-07-12 12:06:47 +02:00
Marc Alexander
8514e8be73 Merge branch '3.2.x' 2017-07-11 21:30:04 +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
324d1e3c55 Merge branch '3.2.x' 2017-07-11 21:19:00 +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
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
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
5e24508280 Merge branch '3.2.x' 2017-06-25 21:27:09 +02:00
Marc Alexander
848cc8c5e6 Merge branch '3.2.x' 2017-06-25 17:27:50 +02:00
Marc Alexander
6b55ae7573 Merge branch '3.2.x' 2017-06-25 15:12:39 +02:00
Marc Alexander
c876392b98 Merge branch '3.2.x' 2017-06-25 14:13:58 +02:00
Marc Alexander
797bde42aa Merge branch '3.2.x' 2017-06-25 11:07:13 +02:00
Marc Alexander
fd9a084386 Merge branch '3.2.x' 2017-06-25 10:32:43 +02:00
Marc Alexander
3b8a155de0 Merge pull request #4848 from rubencm/ticket/15203
[ticket/15203] Include missing constants in web installer
2017-06-25 10:29:49 +02:00
Marc Alexander
1660f7e52c Merge branch '3.2.x' 2017-06-25 10:24:15 +02:00
Marc Alexander
1b3bdddfd1 Merge branch '3.2.x' 2017-06-25 10:10:14 +02:00
Marc Alexander
976d799ff2 Merge branch '3.2.x' 2017-06-24 21:42:54 +02:00
Marc Alexander
d77c018d7f Merge branch '3.2.x' 2017-06-24 21:32:14 +02:00
Marc Alexander
059c08181e Merge branch '3.2.x' 2017-06-16 20:18:55 +02:00
Marc Alexander
011aa0a125 Merge branch '3.2.x' 2017-06-16 19:49:13 +02:00
Rubén Calvo
833a4c9e95 [ticket/15203] Remove require since is already in startup.php
PHPBB3-15203
2017-06-14 08:37:12 +02:00
Rubén Calvo
0f941a8db2 [ticket/15203] Include missing constants in web installer
PHPBB3-15203
2017-06-14 06:12:02 +02:00
Marc Alexander
b51d809491 Merge pull request #4846 from rxu/ticket/15179
[ticket/15179] Fix indentation
2017-06-11 21:39:45 +02:00
rxu
467ff41e84 [ticket/15179] Fix indentation
PHPBB3-15179
2017-06-12 02:04:30 +07:00
Marc Alexander
a44f31ec42 Merge branch '3.2.x' 2017-06-11 19:09:02 +02:00
Marc Alexander
70e30a0591 Merge pull request #4741 from flash1452/ticket/11515
[ticket/11515] Extra check after acquiring locks.
2017-06-11 16:40:48 +02:00
Tristan Darricau
5e6d8f44c9 Merge branch '3.2.x'
* 3.2.x:
  [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:57 +02:00
Marc Alexander
cfa56ed3b8 Merge branch '3.2.x' 2017-06-05 11:57:37 +02:00
Marc Alexander
c0abca3c1a Merge pull request #4836 from hanakin/ticket/15234
[ticket/15234] quickfix notification avatar sizes
2017-06-05 11:55:06 +02:00
Marc Alexander
92195ede52 Merge branch '3.2.x' 2017-06-05 11:53:07 +02:00
Marc Alexander
1377f13f36 Merge branch '3.2.x' 2017-06-05 11:44:13 +02:00
Marc Alexander
47684bd684 Merge branch '3.2.x' 2017-06-05 11:19:26 +02:00
Marc Alexander
970c44b05f Merge branch '3.2.x' 2017-06-05 11:16:35 +02:00
Marc Alexander
a58d032bf9 Merge branch '3.2.x' 2017-06-05 11:13:43 +02:00
Marc Alexander
509ea30aa2 Merge branch '3.2.x' 2017-06-05 11:02:49 +02:00
Marc Alexander
df2a0e0b00 Merge branch '3.2.x' 2017-06-05 10:54:46 +02:00
Marc Alexander
cfafc32694 Merge branch '3.2.x' 2017-06-03 11:43:13 +02:00
Marc Alexander
2a8f3e0101 Merge branch '3.2.x' 2017-06-03 11:37:10 +02:00
Michael Miday
686a8e6d3a [ticket/15234] patch avatar sizes
PHPBB3-15234
2017-06-01 16:35:21 -04:00
Marc Alexander
9a18d3e79c Merge branch '3.2.x' 2017-05-30 19:10:22 +02:00
Marc Alexander
145a3a2c75 Merge branch '3.2.x' 2017-05-29 12:14:10 +02:00
Marc Alexander
0a3d290551 Merge branch '3.2.x' 2017-05-25 21:50:23 +02:00
Marc Alexander
cb3ce2b19a Merge branch '3.2.x' 2017-05-25 19:38:02 +02:00
Marc Alexander
36763ab244 Merge branch '3.2.x' 2017-05-25 08:52:49 +02:00
Marc Alexander
ee95103ced Merge branch '3.2.x' 2017-05-21 16:42:17 +02:00
Marc Alexander
0d1c6d46af Merge branch '3.2.x' 2017-05-21 16:33:08 +02:00
Marc Alexander
3c9843dc42 Merge branch '3.2.x' 2017-05-21 14:20:12 +02:00
Marc Alexander
f9ceb05f2c Merge branch '3.2.x' 2017-05-21 12:49:23 +02:00
Vishal Pandey
fa108176e5 [ticket/11515] If condition changes
Duplicate return statements removed.

PHPBB3-11515
2017-05-14 12:08:20 +05:30
Vishal Pandey
8897dbf9fe [ticket/11515] Inverted Logic
Inverted the logic to raise exception inside if.

PHPBB3-11515
2017-05-14 11:47:48 +05:30
Tristan Darricau
52dd4895c8 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15226] Add index for latest topics to topics table
2017-05-12 17:27:06 +02:00
Máté Bartus
e87e2a76b1 Merge pull request #4827 from rxu/ticket/15220
[ticket/15220] Fix undefined variable $phpbb_root_path in acp_extensions.php
2017-05-09 08:58:18 +02:00
Máté Bartus
f6ac6701ff Merge pull request #4820 from marc1706/ticket/15213
[ticket/15213] Fix stylelint failures
2017-05-09 08:41:48 +02:00
Tristan Darricau
985d822706 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15221] add missing commas
2017-05-08 14:56:01 +02:00
Tristan Darricau
0af7fc6e08 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15222] Fix a typo in generate_text_for_display_test.php
2017-05-08 14:52:00 +02:00
rxu
2485db81a3 [ticket/15220] Fix undefined variable $phpbb_root_path in acp_extensions.php
PHPBB3-15220
2017-05-07 10:03:19 +07:00
Marc Alexander
5f09e0ec0a [ticket/15213] Fix stylelint failures
PHPBB3-15213
2017-05-02 13:55:36 -04:00
Marc Alexander
cf603f7025 Merge branch '3.2.x' 2017-05-02 13:16:39 -04:00
Marc Alexander
d8e11c7983 Merge branch '3.2.x' 2017-04-30 20:36:15 -04:00
Tristan Darricau
d6f5231324 Merge branch '3.2.x'
* 3.2.x:
2017-04-28 11:30:36 +02:00
Marc Alexander
e60306d1e1 Merge pull request #4801 from hanakin/ticket/15156
[ticket/15156] Simplify user online notification
2017-04-27 17:04:18 -04:00
Marc Alexander
b98b039056 Merge branch '3.2.x' 2017-04-27 10:04:12 -04:00
Marc Alexander
bd1206d45f Merge branch '3.2.x' 2017-04-27 09:36:14 -04:00
Marc Alexander
183ec7c05f Merge branch '3.2.x' 2017-04-26 19:58:51 -04:00
Marc Alexander
a7a7757e30 Merge branch '3.2.x' 2017-04-26 19:54:02 -04:00
Marc Alexander
630320d9d2 Merge branch '3.2.x' 2017-04-26 19:30:53 -04:00
Marc Alexander
47231fe435 Merge branch '3.2.x' 2017-04-26 19:08:30 -04:00
Marc Alexander
2cf47ffaa1 Merge pull request #3909 from Nicofuma/ticket/11150
[ticket/11150] Install extensions through composer
2017-04-26 09:49:37 -04:00
Marc Alexander
df473d2a7e Merge pull request #4808 from hanakin/ticket/15192
[ticket/15192] Fix dropdown-extended & notification code
2017-04-26 09:35:19 -04:00
hanakin
077a3c1fa1 [ticket/15156] remove old img and fix language.css
PHPBB3-15156
2017-04-25 20:48:07 -04:00
hanakin
0b818b0739 [ticket/15192] fix stupid test issue
PHPBB3-15192
2017-04-25 18:32:25 -04:00
hanakin
5c36c41f06 [ticket/15192] use proper scope for overides
PHPBB3-15192
2017-04-25 18:30:09 -04:00
hanakin
323f187ccf [ticket/15192] Cleanup selectors and proper scope
PHPBB3-15192
2017-04-25 18:07:21 -04:00
hanakin
308b0778cf [ticket/15192] Fix js selectors
PHPBB3-15192
2017-04-25 18:06:44 -04:00
hanakin
5e6ba1e466 [ticket/15192] relocate class properly
PHPBB3-15192
2017-04-25 18:04:06 -04:00
Tristan Darricau
1f9a269d78 [ticket/11150] Makes the customisation db lync dynamic
PHPBB3-11150
2017-04-23 21:09:59 +02:00
Tristan Darricau
5376f676bf [ticket/11150] Handle composer context transparently
PHPBB3-11150
2017-04-23 21:01:16 +02:00
Tristan Darricau
69571f9cef [ticket/11150] Fix comments
PHPBB3-11150
2017-04-23 21:01:15 +02:00
Tristan Darricau
31953496ee [ticket/11150] More CSS fixes
PHPBB3-11150
2017-04-23 21:01:15 +02:00
Tristan Darricau
9314e533c8 [ticket/11150] Fix rebase conflicts
PHPBB3-11150
2017-04-23 21:01:15 +02:00
Tristan Darricau
a49663a10f [ticket/11150] Silly CSS changes
PHPBB3-11150
2017-04-23 21:01:15 +02:00
Tristan Darricau
ab162b2fa6 [ticket/11150] Do not generate actions links in templates
PHPBB3-11150
2017-04-23 21:01:15 +02:00
Tristan Darricau
d59b26dcec [ticket/11150] Add comments + ignore invaid repositories URLs
PHPBB3-11150
2017-04-23 21:01:15 +02:00
Tristan Darricau
fbf11d61aa [ticket/11150] Updates deps + fix various issues
PHPBB3-11150
2017-04-23 21:01:14 +02:00
Tristan Darricau
87ce6cadaf [ticket/11150] Fix wording
PHPBB3-11150
2017-04-23 21:01:14 +02:00
Tristan Darricau
efe37cd5a8 [ticket/11150] Wording
PHPBB3-11150
2017-04-23 21:01:14 +02:00
Tristan Darricau
ed32ab89ad [ticket/11150] Removes outdated TODO
PHPBB3-11150
2017-04-23 21:01:14 +02:00
Tristan Darricau
60bf9af27a [ticket/11150] Fix illegal uage if $_SERVER when viewing the catalog
PHPBB3-11150
2017-04-23 21:01:14 +02:00
Tristan Darricau
4599799fba [ticket/11150] Improves requirements check
PHPBB3-11150
2017-04-23 21:01:14 +02:00
Tristan Darricau
16d3fa49a1 [ticket/11150] Add composer-ext.* and vendor-ext/
PHPBB3-11150
2017-04-23 21:01:13 +02:00
Tristan Darricau
1703b678d0 [ticket/11150] Skip invalid extensions, not the whole list
PHPBB3-11150
2017-04-23 21:01:13 +02:00
Tristan Darricau
5f4aa4f416 [ticket/11150] Uses PHPBB_VERSION, not the composer.json one
PHPBB3-11150
2017-04-23 21:01:13 +02:00
Tristan Darricau
ce12b7799f [ticket/11150] Ignore vendor-ext in the sniffer
PHPBB3-11150
2017-04-23 21:01:13 +02:00
Tristan Darricau
fad379813f [ticket/11150] Always display an error message
PHPBB3-11150
2017-04-23 21:01:13 +02:00
Tristan Darricau
f6eb17048a [ticket/11150] Initialize the errors array in the translate trait
PHPBB3-11150
2017-04-23 21:01:13 +02:00
Tristan Darricau
1c9ecd084c [ticket/11150] CS
PHPBB3-11150
2017-04-23 21:01:12 +02:00
Tristan Darricau
43038a65de [ticket/11150] Update tests
PHPBB3-11150
2017-04-23 21:01:12 +02:00
Tristan Darricau
718ca44a06 [ticket/11150] CS
PHPBB3-11150
2017-04-23 21:01:12 +02:00
Tristan Darricau
4617037feb [ticket/11150] Console liek output
PHPBB3-11150
2017-04-23 21:01:12 +02:00
Tristan Darricau
6571067719 [ticket/11150] Case insentitive sort
PHPBB3-11150
2017-04-23 21:01:12 +02:00
Tristan Darricau
b5136e4976 [ticket/11150] Fix CS
PHPBB3-11150
2017-04-23 21:01:11 +02:00
Tristan Darricau
ea4a4acee0 [ticket/11150] CS and wording
PHPBB3-11150
2017-04-23 21:01:11 +02:00
Tristan Darricau
8ea2ecf835 [ticket/11150] Disable packagist and add titania
PHPBB3-11150
2017-04-23 21:01:11 +02:00
Tristan Darricau
7958dca09d [ticket/11150] Load vendor/ext-autoload.php
PHPBB3-11150
2017-04-23 21:01:11 +02:00
Tristan Darricau
e71e6224f5 [ticket/11150] Remove 'Update' and 'Remove' actions in the catalog
PHPBB3-11150
2017-04-23 21:01:11 +02:00
Tristan Darricau
bac391c282 [ticket/11150] CS
PHPBB3-11150
2017-04-23 21:01:11 +02:00
Tristan Darricau
8b96fc7d04 [ticket/11150] Add missing config entries
PHPBB3-11150
2017-04-23 21:01:10 +02:00
Tristan Darricau
65cd20539f [ticket/11150] Purge on remove by default
PHPBB3-11150
2017-04-23 21:01:10 +02:00
Tristan Darricau
b10719d03d [ticket/11150] Don't display remove for enabled extensions
PHPBB3-11150
2017-04-23 21:01:10 +02:00
Tristan Darricau
ba0f151c39 [ticket/11150] Adds an overflow to composer output
PHPBB3-11150
2017-04-23 21:01:10 +02:00
Tristan Darricau
0926e94955 [ticket/11150] CS
PHPBB3-11150
2017-04-23 21:01:10 +02:00
Tristan Darricau
dbfe2d7947 [ticket/11150] Yellow => Orange in composer output
PHPBB3-11150
2017-04-23 21:01:09 +02:00
Tristan Darricau
fc1d79cf47 [ticket/11150] Correctly enable/purge extensions
PHPBB3-11150
2017-04-23 21:01:09 +02:00
Tristan Darricau
60086b5c41 [ticket/11150] Add language key
PHPBB3-11150
2017-04-23 21:01:09 +02:00
Tristan Darricau
9a836b5901 [ticket/11150] Makes composer output level configurable
PHPBB3-11150
2017-04-23 21:01:09 +02:00
Tristan Darricau
972f3a7ff4 [ticket/11150] Fix Html output formatter
PHPBB3-11150
2017-04-23 21:01:09 +02:00
Tristan Darricau
317c90cf48 [ticket/11150] Makes minimum-stability configurable
PHPBB3-11150
2017-04-23 21:01:09 +02:00
Tristan Darricau
6bbd8486b2 [ticket/11150] Filter out versions incompatibles with the minimum stability flag
PHPBB3-11150
2017-04-23 21:01:08 +02:00
Tristan Darricau
a5a678c0d8 [ticket/11150] Translate Enabling/disabling extension
PHPBB3-11150
2017-04-23 21:01:08 +02:00
Tristan Darricau
ab60adb60c [ticket/11150] Add html output formatter
PHPBB3-11150
2017-04-23 21:01:08 +02:00
Tristan Darricau
c88c692ad6 [ticket/11150] Use json instead of serialize
PHPBB3-11150
2017-04-23 21:01:08 +02:00
Tristan Darricau
f1e80830b7 [ticket/11150] Wording
PHPBB3-11150
2017-04-23 21:01:08 +02:00
Tristan Darricau
38a58df41b [ticket/11150] Gallery => Catalog
PHPBB3-11150
2017-04-23 21:01:08 +02:00
Tristan Darricau
963eea33a9 [ticket/11150] Move composer output
PHPBB3-11150
2017-04-23 21:01:07 +02:00
Tristan Darricau
560d4729f9 [ticket/11150] Small fix
PHPBB3-11150
2017-04-23 21:01:07 +02:00
Tristan Darricau
178f0e1639 [ticket/11150] Tweak gallery actions
PHPBB3-11150
2017-04-23 21:01:07 +02:00
Tristan Darricau
35b0543da9 [ticket/11150] Uses percentages instead of fixed column size
PHPBB3-11150
2017-04-23 21:01:07 +02:00
Tristan Darricau
1acef8d268 [ticket/11150] Updates CLI wording
PHPBB3-11150
2017-04-23 21:01:07 +02:00
Tristan Darricau
31931134aa [ticket/11150] Composer is using $_SERVER for some git stuff
PHPBB3-11150
2017-04-23 21:01:07 +02:00
Tristan Darricau
cc0a762866 [ticket/11150] Disable if directories not writable
PHPBB3-11150
2017-04-23 21:01:06 +02:00
Tristan Darricau
0a809fb90e [ticket/11150] Add missing language keys
PHPBB3-11150
2017-04-23 21:01:06 +02:00
Tristan Darricau
9b69cd74ae [ticket/11150] Language keys
PHPBB3-11150
2017-04-23 21:01:06 +02:00
Tristan Darricau
46972aa4c7 [ticket/11150] Enforce enable on install and purge on remove options
PHPBB3-11150
2017-04-23 21:01:06 +02:00
Tristan Darricau
8f1d254191 [ticket/11150] Repositories settings - end
PHPBB3-11150
2017-04-23 21:01:06 +02:00
Tristan Darricau
b75087a433 [ticket/11150] Repositories settings, beginning
PHPBB3-11150
2017-04-23 21:01:06 +02:00
Tristan Darricau
3640302afd [ticket/11150] Set settings
PHPBB3-11150
2017-04-23 21:01:05 +02:00
Tristan Darricau
3d363a7bb3 [ticket/11150] Gallery pagination
PHPBB3-11150
2017-04-23 21:01:05 +02:00
Tristan Darricau
3a1f2ad3ff [ticket/11150] Sorts extensions by display name
PHPBB3-11150
2017-04-23 21:01:05 +02:00
Tristan Darricau
8db408a21c [ticket/11150] Resize actions column
PHPBB3-11150
2017-04-23 21:01:05 +02:00
Tristan Darricau
bf5462e708 [ticket/11150] Resizes some columns
PHPBB3-11150
2017-04-23 21:01:05 +02:00
Tristan Darricau
f6a867af5f [ticket/11150] Move homepage and display package name
PHPBB3-11150
2017-04-23 21:01:05 +02:00
Tristan Darricau
c12cfdad9d [ticket/11150] Move actions to a dedicated collumn in the gallery
PHPBB3-11150
2017-04-23 21:01:04 +02:00
Tristan Darricau
76a9bb2275 [ticket/11150] Display extensions with the display_name in the gallery
PHPBB3-11150
2017-04-23 21:01:04 +02:00
Tristan Darricau
88b32580dc [ticket/11150] Add Remove && Update buttons
PHPBB3-11150
2017-04-23 21:01:04 +02:00
Tristan Darricau
d6618397bf [ticket/11150] Better pre/post action handling, restore ext.json in case of err
PHPBB3-11150
2017-04-23 21:01:04 +02:00
Tristan Darricau
51916def9c [ticket/11150] Display extension status in "gallery"
PHPBB3-11150
2017-04-23 21:01:04 +02:00
Tristan Darricau
a32d429f1e [ticket/11150] Restore the cwd before using the autoloader in case of error
PHPBB3-11150
2017-04-23 21:01:03 +02:00
Tristan Darricau
50b2989cf0 [ticket/11150] PHP 5.4 compatibility
PHPBB3-11150
2017-04-23 21:01:03 +02:00
Tristan Darricau
d5672303a3 [ticket/11150] Install from ACP
PHPBB3-11150
2017-04-23 21:01:03 +02:00
Tristan Darricau
6a15ad1368 [ticket/11150] Implement install extension link in ACP
PHPBB3-11150
2017-04-23 21:01:03 +02:00
Tristan Darricau
adb8d30d98 [ticket/11150] Add ACP gallery
PHPBB3-11150
2017-04-23 21:01:03 +02:00
Tristan Darricau
c49cd29e96 [ticket/11150] Cache the list of available packages for 24 hours
PHPBB3-11150
2017-04-23 21:01:03 +02:00
Tristan Darricau
8b1284594b [ticket/11150] Use a trait to translate composer and introduce web_io
PHPBB3-11150
2017-04-23 21:01:02 +02:00
Tristan Darricau
8a1ca4375e [ticket/11150] Preserve original requirements and avoid finally
PHPBB3-11150
2017-04-23 21:01:02 +02:00
Tristan Darricau
e3fadc1fc7 [ticket/11150] Display and translate composer output
PHPBB3-11150
2017-04-23 21:01:02 +02:00
Tristan Darricau
00229c20f0 [ticket/11150] Add extension:start-managing command
PHPBB3-11150
2017-04-23 21:01:02 +02:00
Tristan Darricau
779c9c8552 [ticket/11150] Preserve every packages of every phpbb types in composer-ext.json
PHPBB3-11150
2017-04-23 21:01:02 +02:00
Tristan Darricau
540bac3ba4 [ticket/11150] Better version normalization
PHPBB3-11150
2017-04-23 21:01:02 +02:00
Tristan Darricau
ac129f34d3 [ticket/11150] Do not override extensions installed manually
PHPBB3-11150
2017-04-23 21:01:01 +02:00
Tristan Darricau
fbb85e2f4f [ticket/11150] Add ability to manage extensions through composer
PHPBB3-11150
2017-04-23 21:01:01 +02:00
Tristan Darricau
712626d845 Merge branch '3.2.x'
* 3.2.x:
  [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:55:13 +02:00
Tristan Darricau
1844b8ca2a Merge branch '3.2.x'
* 3.2.x:
  [ticket/15011] Use exception interface for 3.2
2017-04-21 23:51:42 +02:00
Tristan Darricau
bdbac7b4c9 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15144] Attachment icon display should only occur
2017-04-20 12:55:14 +02:00
hanakin
522b73cd46 [ticket/15156] Fix profile page
PHPBB3-15156
2017-04-19 19:21:36 -04:00
Tristan Darricau
f21662ab95 Merge branch '3.2.x'
* 3.2.x:
  [ticket/13608] Add core.ucp_restore_permissions event
2017-04-19 23:09:05 +02:00
Tristan Darricau
fb328548f4 Merge branch '3.2.x'
* 3.2.x:
  [ticket/13609] Add core.ucp_switch_permissions event
2017-04-19 23:04:46 +02:00
Tristan Darricau
edf6aefd2a Merge branch '3.2.x'
* 3.2.x:
  [ticket/7336] Index first post when splitting topics
  [ticket/7336] Add tests for indexing first post after splitting topics
2017-04-19 23:02:03 +02:00
Tristan Darricau
f579e75be0 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15146] Date profile field validation incorrect
2017-04-19 22:53:00 +02:00
Tristan Darricau
69b703f1ad Merge branch '3.2.x'
* 3.2.x:
  [ticket/13735] Fix input type number for Firefox in prosilver
2017-04-19 22:20:21 +02:00
hanakin
9f71c1baff [ticket/15109] Add icon to member profile
PHPBB3-15109
2017-04-19 15:26:31 -04:00
hanakin
4ffb033978 [ticket/15156] Add icon to pm profile
PHPBB3-15156
2017-04-19 14:51:47 -04:00
hanakin
c730702570 [ticket/15156] Add icon to post profile
PHPBB3-15156
2017-04-19 14:35:15 -04:00
hanakin
e34ad7c4a9 [ticket/15156] Set icon color
PHPBB3-15156
2017-04-19 14:32:25 -04:00
hanakin
e678880492 [ticket/15156] Remove online styles
PHPBB3-15156
2017-04-19 14:10:34 -04:00
Tristan Darricau
57b122cc16 Merge branch '3.2.x'
* 3.2.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:28 +02:00
Tristan Darricau
1e14328493 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15158] Update oauth to v0.8.10
2017-04-18 23:54:27 +02:00
Tristan Darricau
3a59ba17e5 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15173] Fix message area resizing lag
2017-04-18 23:49:00 +02:00
Tristan Darricau
446bfd9680 Merge branch '3.2.x'
* 3.2.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:43:03 +02:00
Tristan Darricau
ea1222f3bb Merge branch '3.2.x'
* 3.2.x:
  [ticket/15163] Escape curly braces in smilies HTML attributes
2017-04-18 23:37:01 +02:00
Tristan Darricau
5566d03718 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15084] fix wrong order of breadcrumbs on module management
2017-04-18 23:25:44 +02:00
Tristan Darricau
d4df27b567 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15079] Parse message before inserting it into drafts table
2017-04-18 23:20:05 +02:00
Tristan Darricau
451a7ce43c Merge branch '3.2.x'
* 3.2.x:
  [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:15:10 +02:00
Tristan Darricau
19cbb8fa9d Merge branch '3.2.x'
* 3.2.x:
  [ticket/15108] Remove duplicate code in request->context
2017-04-18 23:10:41 +02:00
Tristan Darricau
a4d1c60b00 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15103] Update fast-image-size to 1.1.3
2017-04-18 23:07:41 +02:00
Tristan Darricau
5e12ca7929 Merge pull request #4773 from VSEphpbb/ticket/15154
[ticket/15154] Load compatibility globals into the CLI installer

* github.com:phpbb/phpbb:
  [ticket/15154] Load compatibility globals into the CLI installer
2017-04-18 23:05:52 +02:00
Marc Alexander
31e258c8c3 Merge branch '3.2.x' 2017-04-18 21:46:48 +02:00
Marc Alexander
38b44ea5fc Merge branch '3.2.x' 2017-04-18 20:38:46 +02:00
Marc Alexander
a87727ba47 Merge branch '3.2.x' 2017-04-17 12:02:22 +02:00
Marc Alexander
4206e25b2a Merge branch '3.2.x' 2017-04-17 11:51:16 +02:00
Marc Alexander
465ceab1e6 Merge branch '3.2.x' 2017-04-16 19:41:19 +02:00
Marc Alexander
1b9380040c Merge branch '3.2.x' 2017-04-16 17:35:48 +02:00
Marc Alexander
473f8bc0a6 Merge branch '3.2.x' 2017-04-16 15:14:23 +02:00
Marc Alexander
c92c2aa2f4 Merge branch '3.2.x' 2017-04-16 11:42:53 +02:00
Tristan Darricau
905e189c77 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15090] Ensure send stats module exists before removing
2017-04-16 10:22:01 +02:00
Marc Alexander
58929bdccd Merge branch '3.2.x' 2017-04-15 18:19:16 +02:00
Marc Alexander
fba8595421 Merge branch '3.2.x' 2017-04-11 21:28:08 +02:00
Marc Alexander
4a657d0732 Merge branch '3.2.x' 2017-04-09 14:11:10 +02:00
Marc Alexander
08b55af93f Merge pull request #4785 from hanakin/patch-3
[ticket/15160] correct path of node_modules
2017-04-02 10:40:07 +02:00
hanakin
bf5d0fc468 [ticket/15160] correct gitignore node_modules path
PHPBB3-15160
2017-03-31 17:36:02 -04:00
Marc Alexander
798dda2cbc Merge branch '3.2.x' 2017-03-28 19:42:59 +02:00
Matt Friedman
a10129e6f4 [ticket/15154] Load compatibility globals into the CLI installer
PHPBB3-15154
2017-03-26 23:40:24 -07:00
Marc Alexander
c95a4820b5 Merge pull request #4772 from VSEphpbb/ticket/15153
[ticket/15153] Update to newer homestead for vagrant
2017-03-27 08:14:09 +02:00
Matt Friedman
c6321fc61b [ticket/15153] Update to newer homestead for vagrant
PHPBB3-15153
2017-03-26 16:31:59 -07:00
Marc Alexander
835d8f429d Merge pull request #4727 from hanakin/ticket/15116
[ticket/15116] Fix admin errors
2017-03-26 22:39:45 +02:00
Marc Alexander
e2a746c644 Merge branch '3.2.x' 2017-03-26 17:12:43 +02:00
hanakin
75e4b235b4 [ticket/15116] turn on adm tests
PHPBB3-15116
2017-03-25 17:41:05 -04:00
hanakin
6dc1bdc1ca [ticket/15116] fix new errors after rc update
PHPBB3-15116
2017-03-25 17:40:15 -04:00
hanakin
f0e07ceb90 [ticket/15116] Fix admin errors
PHPBB3-15116
2017-03-25 17:37:58 -04:00
Marc Alexander
f36d5691c8 Merge pull request #4726 from hanakin/ticket/15115
[ticket/15115] Update CSS error checking Stylelintrc file
2017-03-25 16:48:05 +01:00
Michael Miday
84fdd1a5d4 [ticket/15115] Fix typo
PHPBB3-15115
2017-03-25 16:47:51 +01:00
Marc Alexander
f23ff335c7 Merge branch '3.2.x' 2017-03-25 16:37:37 +01:00
Marc Alexander
097f77dc66 Merge branch '3.2.x' 2017-03-25 11:30:35 +01:00
hanakin
74fcd60afe [ticket/15115] Update grads & single line rules
PHPBB3-15115
2017-03-24 20:33:24 -04:00
hanakin
1f224233c7 [ticket/15115] Fix test paths
PHPBB3-15115
2017-03-24 20:01:10 -04:00
hanakin
3173b46315 [ticket/15115] fix stylelintrc error
PHPBB3-15115
2017-03-24 20:01:10 -04:00
hanakin
79f865bd56 [ticket/15115] Fix errors
PHPBB3-15115
2017-03-24 20:01:10 -04:00
hanakin
ae85c9e91d [ticket/15115] minor order adjustments
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
09dbd30541 [ticket/15115] Small tweak to orders
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
3b67065d89 [ticket/15115] Update tests to run on proprer dir
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
8f25f40321 [ticket/15115] Fix print.css errors
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
9f5dc941dc [ticket/15115] Slight tweaks to rc and sorting file
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
f1ad532a56 [ticket/15115] pkg.json must be in root
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
c6f2f00a78 [ticket/15115] more prep for rebase
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
8713c71776 [ticket/15115] prep for rebase
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
ec71279a77 [ticket/15115] Fix errors
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
2ca1402476 [ticket/15115] Update stylelintrc & pkg.json files
PHPBB3-15115
2017-03-24 20:01:09 -04:00
hanakin
6102a3f6ae [ticket/15115] Add .postcss-sorting.json file
allow for editors to auto sort on save
https://github.com/hudochenkov/postcss-sorting#usage

PHPBB3-15115
2017-03-24 20:01:09 -04:00
Tristan Darricau
e4c13af894 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15143] Fix display of version update in ACP
2017-03-24 23:20:08 +01:00
Tristan Darricau
1f1baf3e30 Merge branch '3.2.x'
* 3.2.x:
  [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:08:02 +01:00
Tristan Darricau
9b6fa7421b Merge branch '3.2.x'
* 3.2.x:
  [ticket/15137] Missed one language string change
  [ticket/15137] Global announcements can stick for a non-zero number of days
2017-03-21 16:29:38 +01:00
Tristan Darricau
d64726815c Merge branch '3.2.x'
* 3.2.x:
  [ticket/15102] Missing parameter calling version_check
2017-03-19 18:53:22 +01:00
Tristan Darricau
e0bdec4709 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14758] Improve the ACP Parameter wording
2017-03-19 18:49:59 +01:00
Tristan Darricau
7d0692eff3 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14806] Fix ACP test emails authentication failure
2017-03-19 18:45:39 +01:00
Tristan Darricau
0d701f0bd1 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14928] fixing valid stability %s
2017-03-19 18:39:10 +01:00
Tristan Darricau
e2701bd28b Merge branch '3.2.x'
* 3.2.x:
  [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:45 +01:00
Tristan Darricau
c3f20c34bd Merge branch '3.2.x'
* 3.2.x:
  [ticket/15122] Add cache driver for memcached
2017-03-19 18:15:00 +01:00
Tristan Darricau
9c49aebfe9 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14974] make cookie notice configurable via language files
2017-03-19 18:11:43 +01:00
Tristan Darricau
d81afd4af1 Merge branch '3.2.x'
* 3.2.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:10:46 +01:00
Tristan Darricau
b8e9b0e934 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14844] Add CSS classes for strong and italics text to BBCodes
2017-03-19 18:02:02 +01:00
Marc Alexander
644182398f Merge pull request #4704 from hanakin/ticket/14095
[ticket/14095] Pure CSS loader...No Image
2017-03-19 17:27:47 +01:00
Marc Alexander
0dc61deb77 Merge branch '3.2.x' 2017-03-19 16:01:42 +01:00
Marc Alexander
adc2ea3f0c Merge branch '3.2.x' 2017-03-19 15:53:27 +01:00
Marc Alexander
218466b40e Merge branch '3.2.x' 2017-03-19 15:28:26 +01:00
Marc Alexander
811a58377e Merge branch '3.2.x' 2017-03-19 00:11:41 +01:00
Marc Alexander
02c584636f Merge branch '3.2.x' 2017-03-19 00:07:30 +01:00
Marc Alexander
6676aefa36 Merge branch '3.2.x' 2017-03-19 00:01:38 +01:00
Vishal Pandey
f18743eb50 [ticket/11515] Refactoring changes.
Refactoring the code as suggested.

PHPBB3-11515
2017-03-18 22:37:16 +05:30
Marc Alexander
7c59f084a6 Merge pull request #3937 from hanakin/ticket/14204
[ticket/14204]Fix form buttons to use consistent button codebase
2017-03-18 14:35:38 +01:00
Vishal Pandey
b98acb9409 [ticket/11515] Refactoring the patch.
Removing else conditions.

PHPBB3-11515
2017-03-14 17:19:41 +05:30
Vishal Pandey
4f71a75df1 [ticket/11515] Space between if and braces
Exactly one space between if and opening brace.

PHPBB3-11515
2017-03-14 02:27:18 +05:30
Vishal Pandey
1ba32e1b7a [ticket/11515] Change If...else statement struct
Modifications in if-else structure.

PHPBB3-11515
2017-03-14 02:16:18 +05:30
Vishal Pandey
9063556a57 [ticket/11515] Extra check after acquiring locks.
Add additional check to flock.php and db.php to ensure lock aquiring.

PHPBB3-11515
2017-03-14 00:57:28 +05:30
Oliver Schramm
b4478676b5 Merge pull request #4731 from Rishabh04-02/ticket/15120
[ticket/15120] Semicolon missing
2017-03-11 01:03:56 +01:00
Rishabh04-02
e077bd70a4 [ticket/15120] Semicolon missing
PHPBB3-15120
2017-03-10 11:00:46 +05:30
Marc Alexander
1eb364b8d3 Merge pull request #4627 from hanakin/ticket/14981
[ticket/14981] Update nomalize.css to v5.0
2017-03-09 22:22:03 +01:00
Marc Alexander
f7a58e0a6a Merge branch '3.2.x' 2017-03-09 22:11:59 +01:00
Marc Alexander
a96f55ec15 Merge branch 'ticket/14970' 2017-03-08 21:45:52 +01:00
Marc Alexander
18641e822e Merge branch '3.2.x' 2017-03-08 21:29:20 +01:00
Marc Alexander
173ca21ca1 Merge branch '3.2.x' 2017-03-08 21:27:15 +01:00
Marc Alexander
6ce33c2e69 Merge branch '3.2.x' 2017-03-08 21:24:51 +01:00
Marc Alexander
8921c3a3b8 Merge branch '3.2.x' 2017-03-08 21:21:21 +01:00
Marc Alexander
37ee22a0e6 Merge branch '3.2.x' 2017-03-08 21:09:40 +01:00
Marc Alexander
0097a575ec [ticket/14970] Also run stylelint against admin css
PHPBB3-14970
2017-03-08 20:59:16 +01:00
hanakin
978c2a6a28 [ticket/14095] Update admin.css
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
e4df5ea53f [ticket/14095] Cleanup/simplify JS
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
c9bf006a09 [ticket/14095] Add to all footers by default
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
b19103c5e3 [ticket/14095] Use gmd animated svg spinner
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
2872d6aa1f [ticket/14095] Update design a little
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
072ac9fdca [ticket/14095] keyframes supported by all browsers
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
920ea3018d [ticket/14095] Faster & simpler
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
f02e755756 [ticket/14095] Display it properly on darkened bg
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
8b9a5848f6 [ticket/14095] use the var
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
3d7319d308 [ticket/14095] Add text for screen reader
PHPBB3-14095
2017-02-23 17:44:05 -05:00
hanakin
cf738f05e5 [ticket/14095] Swap out everything
PHPBB3-14095
2017-02-23 17:44:05 -05:00
Marc Alexander
54d60dc8b1 [ticket/14970] Fix issues noted by stylelint
PHPBB3-14970
2017-02-23 22:27:42 +01:00
Marc Alexander
967817143d Merge branch '3.2.x' 2017-02-23 22:21:25 +01:00
Marc Alexander
4365d85b38 Merge branch '3.2.x' 2017-02-22 21:54:10 +01:00
Marc Alexander
fa2d1eb8b1 [ticket/14970] Remove unneeded parameters from check-stylesheet.sh
PHPBB3-14970
2017-02-22 21:46:07 +01:00
Marc Alexander
ccd4aed3c8 [ticket/14970] Add stylelint-order as dependency
PHPBB3-14970
2017-02-22 21:46:07 +01:00
Marc Alexander
dcf83ce60b [ticket/14970] Update package.json definitions for bugs & homepage
PHPBB3-14970
2017-02-22 21:46:07 +01:00
Marc Alexander
6a8f20a788 [ticket/14970] Do not output node install output in stylelint
PHPBB3-14970
2017-02-22 21:46:07 +01:00
Marc Alexander
f872020c1a [ticket/14970] Try using newer node version
PHPBB3-14970
2017-02-22 21:46:07 +01:00
Marc Alexander
1be84e0233 [ticket/14970] Run stylelint on travis
PHPBB3-14970
2017-02-22 21:46:07 +01:00
Marc Alexander
47caa97ff2 [ticket/14970] Fixed issues picked up by stylelint
PHPBB3-14970
2017-02-22 21:46:07 +01:00
Marc Alexander
67bc5f93ce [ticket/14970] Add stylelint to package.json
PHPBB3-14970
2017-02-22 21:44:15 +01:00
Marc Alexander
c8dcf82b3e [ticket/14970] Ignore node_modules directory
PHPBB3-14970
2017-02-22 21:44:15 +01:00
Marc Alexander
9ac840f853 [ticket/14970] Add package.json for phpBB
PHPBB3-14970
2017-02-22 21:44:15 +01:00
Marc Alexander
d956ac418d Merge branch '3.2.x' 2017-02-22 11:09:30 +01:00
Marc Alexander
cfeea80a8c Merge branch '3.2.x' 2017-02-21 22:08:21 +01:00
Marc Alexander
7794696317 Merge branch '3.2.x' 2017-02-21 21:14:34 +01:00
Marc Alexander
e24d3a6ade Merge branch '3.2.x' 2017-02-19 21:47:10 +01:00
Marc Alexander
38c3ded1f8 Merge branch '3.2.x' 2017-02-19 10:06:45 +01:00
hanakin
1c85634778 [ticket/14204] Add new refactored code
PHPBB3-14204
2017-02-17 14:24:11 -05:00
hanakin
2b52a13a3f [ticket/14204] Remove old code
PHPBB3-14204
2017-02-17 14:23:48 -05:00
hanakin
c0b22b380f [ticket/14204] Add new classes
PHPBB3-14204
2017-02-17 14:23:14 -05:00
Marc Alexander
277fcba26e Merge branch '3.2.x' 2017-02-11 22:04:07 +01:00
Marc Alexander
30c8e40b9b Merge branch '3.2.x' 2017-02-11 21:48:42 +01:00
Tristan Darricau
f11fd2b726 Merge branch '3.2.x'
* 3.2.x:
  [ticket/13250] Use faster str_replace() instead of preg_replace()
  [ticket/13250] Replace slashes in cache file names
2017-02-05 18:11:28 +01:00
Tristan Darricau
95ad20c994 Merge branch '3.2.x'
* 3.2.x:
  [ticket/13601] Add core.acl_clear_prefetch_after event
2017-02-05 18:06:04 +01:00
Tristan Darricau
608cf8a38b Merge branch '3.2.x'
* 3.2.x:
  [ticket/15059] Preserve code line breaks and scroll overflow
2017-02-05 17:53:30 +01:00
Tristan Darricau
bb132cceb3 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15062] Update to Rhea version the CSS files
2017-02-05 17:38:16 +01:00
Máté Bartus
e906b2c609 Merge branch '3.2.x' 2017-01-29 14:43:15 +01:00
Máté Bartus
f890ba3913 Merge branch '3.2.x' 2017-01-29 14:34:13 +01:00
Marc Alexander
4e0e52d2f8 Merge branch '3.2.x' 2017-01-28 11:09:30 +01:00
Marc Alexander
5f6133ac7f Merge branch '3.2.x' 2017-01-27 19:00:37 +01:00
Marc Alexander
674584f319 Merge branch '3.2.x' 2017-01-25 10:06:30 +01:00
Tristan Darricau
a6eec874af Merge branch '3.2.x'
* 3.2.x:
  [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:40 +01:00
Tristan Darricau
51be7891e2 Merge branch '3.2.x'
* 3.2.x:
  Use SSL in version check for extension
2017-01-22 23:32:13 +01:00
Tristan Darricau
007bb90e05 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15036] Unlink install_config during functional testing
2017-01-22 23:30:25 +01:00
Tristan Darricau
8d0fe34a06 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14997] Fixing topiclist_row_topic_title_after position
2017-01-22 23:29:18 +01:00
Tristan Darricau
7f82d28f6f Merge branch '3.2.x'
* 3.2.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:16:23 +01:00
Tristan Darricau
aa7ca1993d Merge branch '3.2.x'
* 3.2.x:
  [ticket/15006] Pass inherit settings to form and use correct button
2017-01-22 23:07:53 +01:00
Tristan Darricau
34866b2db1 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15015] Use correct explain string for enable email settings
2017-01-22 23:06:53 +01:00
Marc Alexander
574dac7667 Merge branch '3.2.x' 2017-01-22 23:02:47 +01:00
Marc Alexander
defcb1c46f Merge branch '3.2.x' 2017-01-22 23:00:12 +01:00
Marc Alexander
e0412085a6 Merge branch '3.2.x' 2017-01-21 11:56:21 +01:00
Tristan Darricau
a2a26f04e7 Merge branch '3.2.x'
* 3.2.x:
  [ticket/11611] Remove no longer used file for setting up git repository
2017-01-20 20:55:28 +01:00
Marc Alexander
5e06278f62 Merge branch '3.2.x' 2017-01-17 21:55:09 +01:00
Tristan Darricau
3d61d2b370 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15011] Output meaningful errors when validating all metadata
  [ticket/11076] State current and minimum required versions in old PHP notice
2017-01-15 18:16:45 +01:00
Marc Alexander
7973984821 Merge branch '3.2.x' 2017-01-15 14:06:13 +01:00
Tristan Darricau
51500977b2 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14989] Allow more admin-configurable schemes in post links
2017-01-15 12:36:29 +01:00
Tristan Darricau
6fe1605137 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14985] Added functional tests for BBCodes and smilies
  [ticket/14985] Decode HTML special chars in plain text columns
2017-01-15 12:08:06 +01:00
Tristan Darricau
567034e306 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15011] Fix 3.2.x merge
  [ticket/15011] Error not checked on metadata load failure
2017-01-15 12:01:26 +01:00
Tristan Darricau
84e6b87acd Merge branch '3.2.x'
* 3.2.x:
  [ticket/14984] Correct wrong arrow direction in PM inbox
2017-01-15 11:40:26 +01:00
Tristan Darricau
ba0aff0a40 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15002] Show topic icons in search results
2017-01-15 11:36:47 +01:00
Tristan Darricau
d9e6a06729 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14999] Correct Next PM Iconography
2017-01-15 11:27:03 +01:00
Tristan Darricau
891fa43442 Merge branch '3.2.x'
* 3.2.x:
  [ticket/15012] Use valid constructor in ftp_file_updater
2017-01-15 11:25:59 +01:00
Marc Alexander
d882911bf5 Merge branch '3.2.x' 2017-01-15 00:25:32 +01:00
Marc Alexander
605fd40914 Merge branch '3.2.x' 2017-01-15 00:13:50 +01:00
Marc Alexander
ad0e26d6ea Merge branch '3.2.x' 2017-01-14 14:59:30 +01:00
hanakin
82830baa16 [ticket/14981] Update nomalize.css to v5.0
PHPBB3-14981
2017-01-09 11:05:44 -05:00
Marc Alexander
6b2e277a27 Merge branch '3.2.x' 2017-01-08 20:53:56 +01:00
Tristan Darricau
fb5f33f190 Merge branch '3.2.x'
* 3.2.x:
  [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:29 +01:00
Tristan Darricau
118824fd26 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14967] Add cookie notice migration fixing invalid previous one
2017-01-08 18:06:22 +01:00
Marc Alexander
1d0bb70f78 Merge pull request #4509 from hanakin/ticket/14865
[ticket/14865] Use Stylelint for managing CSS
2017-01-08 14:02:28 +01:00
Marc Alexander
a5384fa7a6 Merge branch '3.2.x' 2017-01-07 17:20:39 +01:00
Marc Alexander
8d58d1814f Merge branch '3.2.x' 2017-01-07 17:08:30 +01:00
Marc Alexander
663bdda53c Merge branch '3.2.x' 2017-01-07 00:20:22 +01:00
Marc Alexander
f8d5b3c417 Merge branch '3.2.x' 2017-01-07 00:18:43 +01:00
Marc Alexander
c0fb367d0a Merge branch '3.2.x' 2017-01-07 00:16:49 +01:00
Marc Alexander
710d3e921c Merge branch '3.2.x' 2017-01-06 15:29:45 +01:00
Marc Alexander
49b2269155 Merge branch '3.2.x' 2017-01-06 13:53:43 +01:00
Marc Alexander
a187c46072 Merge branch '3.2.x' 2017-01-06 01:14:13 +01:00
Marc Alexander
839fec4a0c Merge branch '3.2.x' 2017-01-06 01:12:43 +01:00
Marc Alexander
0543413626 Merge branch '3.2.x' 2017-01-06 01:06:10 +01:00
Marc Alexander
93567727fe Merge branch '3.2.x' 2017-01-04 22:16:47 +01:00
Marc Alexander
13d0549e59 Merge branch '3.2.x' 2017-01-04 21:50:47 +01:00
Marc Alexander
ee3cf0af0f Merge branch '3.2.x' 2017-01-04 21:07:36 +01:00
Marc Alexander
0f19c507e2 Merge branch '3.2.x' 2017-01-04 20:31:50 +01:00
Marc Alexander
ac1bf79904 Merge branch '3.2.x' 2017-01-04 20:12:03 +01:00
Marc Alexander
3fef34a541 Merge branch '3.2.x' 2017-01-04 17:48:56 +01:00
Marc Alexander
e5cc7b6631 Merge branch '3.2.x' 2017-01-04 17:44:15 +01:00
Marc Alexander
5c2b9e0e37 Merge branch '3.2.x' 2017-01-04 17:30:05 +01:00
Marc Alexander
b5ad21debc Merge branch '3.2.x' 2017-01-02 22:55:25 +01:00
Tristan Darricau
387d76aa09 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14953] Use ORDER_BY instead of incorrect ORDER for sql query
2017-01-02 22:47:51 +01:00
Tristan Darricau
bab707a00d Merge branch '3.2.x' 2016-12-30 10:22:24 +01:00
Tristan Darricau
c12b4320eb Merge branch '3.2.x' 2016-12-30 10:06:29 +01:00
Tristan Darricau
5ff0e4ec7d Merge branch '3.2.x' 2016-12-29 18:27:59 +01:00
Tristan Darricau
b81aaee17f Merge branch '3.2.x' 2016-12-29 18:18:54 +01:00
Marc Alexander
7eddb02568 Merge branch '3.2.x' 2016-12-28 22:24:12 +01:00
Marc Alexander
f3750fbfea Merge branch '3.2.x' 2016-12-28 22:15:29 +01:00
Marc Alexander
4ca90795af Merge branch '3.2.x' 2016-12-28 22:12:48 +01:00
Marc Alexander
27c5997e87 Merge branch '3.2.x' 2016-12-25 15:52:42 +01:00
Marc Alexander
a4911c59fb Merge branch '3.2.x' 2016-12-25 11:58:01 +01:00
Máté Bartus
c0493c2e81 Merge branch '3.2.x' 2016-12-24 12:53:20 +01:00
Marc Alexander
aba8a664ce Merge branch '3.2.x' 2016-12-20 20:27:42 +01:00
Marc Alexander
006961c8a4 Merge branch '3.2.x' 2016-12-18 21:10:29 +01:00
Marc Alexander
585195a646 Merge branch '3.2.x' 2016-12-18 21:07:27 +01:00
Marc Alexander
6d2f549417 Merge branch '3.2.x' 2016-12-18 21:01:22 +01:00
Marc Alexander
9e998e1830 Merge branch '3.2.x' 2016-12-18 20:50:59 +01:00
Marc Alexander
7da6b23ebe Merge branch '3.2.x' 2016-12-18 20:47:50 +01:00
Marc Alexander
1f7c2afbab Merge branch '3.2.x' 2016-12-18 20:40:51 +01:00
Marc Alexander
1ccc214afb Merge branch '3.2.x' 2016-12-18 19:34:19 +01:00
Máté Bartus
afd511674e Merge branch '3.2.x' 2016-12-18 19:09:12 +01:00
Marc Alexander
a56d25b437 Merge branch '3.2.x' 2016-12-18 16:23:04 +01:00
Marc Alexander
33f8ace91c Merge branch '3.2.x' 2016-12-18 15:46:57 +01:00
Marc Alexander
3848c7e8e6 Merge branch '3.2.x' 2016-12-18 10:44:21 +01:00
Marc Alexander
84d7371167 Merge branch '3.2.x' 2016-12-17 23:39:09 +01:00
Marc Alexander
20752848ff Merge branch '3.2.x' 2016-12-17 16:41:59 +01:00
Marc Alexander
36c6c1fa55 Merge branch '3.2.x' 2016-12-17 16:27:07 +01:00
Marc Alexander
2ddaf5dc2d Merge branch '3.2.x' 2016-12-17 15:58:19 +01:00
Marc Alexander
5dc31fd03d Merge branch '3.2.x' 2016-12-12 22:09:40 +01:00
Tristan Darricau
d1959cb731 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14887] ACP profile step one lang specific event
2016-12-11 20:43:42 +01:00
Tristan Darricau
41f4de72f5 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14889] Missing method in profile fields type interface
2016-12-11 20:41:45 +01:00
Tristan Darricau
84d6f2fafb Merge branch '3.2.x'
* 3.2.x:
  [ticket/14893] Fix undefined variable on reporting PM notification
2016-12-11 20:28:26 +01:00
Tristan Darricau
9744352053 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14893] Fix undefined variable on reporting PM notification
2016-12-11 20:26:45 +01:00
Tristan Darricau
58734f960d Merge branch '3.2.x'
* 3.2.x:
  [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:12 +01:00
Tristan Darricau
37f786b3b7 erge branch '3.2.x'
* 3.2.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:35 +01:00
Tristan Darricau
cb3dd0bce5 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14901] Remove notice for extension without version check
2016-12-11 20:09:18 +01:00
Tristan Darricau
5374acd04c Merge branch '3.2.x'
* 3.2.x:
  [ticket/14906] Delete redundant sig key in user_cache_data array
2016-12-11 19:51:59 +01:00
Tristan Darricau
31dbdfe6b6 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14910] Fixes typo PLease to Please in EXTENSION_NOT_INSTALLED
2016-12-11 19:49:40 +01:00
Marc Alexander
e1b62c5f72 Merge branch '3.2.x' 2016-12-11 15:59:22 +01:00
Marc Alexander
ad4a61dcd5 Merge branch '3.2.x' 2016-12-10 23:02:14 +01:00
Marc Alexander
5ac8059bad Merge branch '3.2.x' 2016-12-10 13:38:05 +01:00
Marc Alexander
02769c3d7e Merge branch '3.2.x' 2016-12-10 00:34:14 +01:00
Marc Alexander
86257feb33 Merge branch '3.2.x' 2016-12-10 00:30:07 +01:00
Marc Alexander
e9ccc41336 Merge branch '3.2.x' 2016-12-09 20:48:17 +01:00
Máté Bartus
c5f5ab2c3f Merge branch '3.2.x' 2016-12-09 12:44:44 +01:00
Marc Alexander
1de4b6d260 Merge branch '3.2.x' 2016-12-08 22:00:45 +01:00
Máté Bartus
e5baca179d Merge branch '3.2.x' 2016-12-08 20:56:04 +01:00
Marc Alexander
101584bc0f Merge branch '3.2.x' 2016-12-08 20:32:19 +01:00
Marc Alexander
bc6ce4c4af Merge branch '3.2.x' 2016-12-06 15:18:02 +01:00
Marc Alexander
2a4d88f07f Merge branch '3.2.x' 2016-12-05 19:15:41 +01:00
Marc Alexander
e75fa8d834 Merge branch '3.2.x' 2016-12-05 18:13:36 +01:00
Tristan Darricau
874f31fc52 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14888] Missing check for disabled profile field types
2016-12-04 10:31:35 +01:00
Marc Alexander
e978a5e5ec Merge branch '3.2.x' 2016-12-03 16:02:00 +01:00
Marc Alexander
b85c8afabb Merge branch '3.2.x' 2016-12-03 15:54:16 +01:00
Tristan Darricau
c36ac7703a Merge branch '3.2.x'
* 3.2.x: (47 commits)
  [ticket/14492] Add user service to installer & only instantiate if needed
  [ticket/14492] Fix redirection to help phpBB page
  [ticket/14492] Encode URI components in systemdata for stats
  [ticket/14492] Always update the time the stats were sent
  [ticket/14492] Update versions in files
  [ticket/14492] Add missing event variable
  [ticket/14492] Don't explicitly pass data providers by refs
  [ticket/14492] Update phpBB version and fix miscellaneous code issues
  [ticket/14492] Install all extensions if 'all' is specified for extensions
  [ticket/14492] Checkout master if viglink tag does not exist for latest version
  [ticket/14492] Add language variables for updating extensions
  [ticket/14492] Prevent timeouts in install & update extensions tasks
  [ticket/14492] Use same list for checking if extension should be updated
  [ticket/14492] Add missing config to schema_data.sql
  [ticket/14492] Unify version check for installing default extensions
  [ticket/14492] Use extension manager instead of finder and add try/catch
  [ticket/14492] Checkout viglink for each version depending on tags
  [ticket/14492] Remove unused use statement
  [ticket/14492] Redirect to help phpBB page after installation
  [ticket/14492] Properly retrieve version updating from
  ...
2016-12-03 14:42:32 +01:00
Tristan Darricau
e064fd0d6d Merge branch '3.2.x'
* 3.2.x:
  [ticket/14733] Make sure detect_algorithm() works correctly and add tests
  [ticket/14733] Extend passwords driver_interface in rehashable_driver_interface
  [ticket/14733] Use new interface to preserve backwards compatibility
  [ticket/14733] Use default cost factor in bcrypt constructor
  [ticket/14733] Support increasing hashing cost factor
2016-12-03 14:08:01 +01:00
Tristan Darricau
054d0d158b Merge branch '3.2.x'
* 3.2.x:
2016-12-03 13:32:43 +01:00
Tristan Darricau
97c6b88a1c Merge branch '3.2.x'
* 3.2.x:
  [ticket/9590] Update permissions with correct permission role
  [ticket/9590] Correctly update submit size and replace all forum_id[]
  [ticket/9590] Further deduplicate code for form data
  [ticket/9590] Preserve selected forums after previous page redirect
  [ticket/9590] Support ajax submit of permissions for specific forums
  [ticket/9590] Correctly set roles and refresh page using POST
  [ticket/9590] Submit permissions form in chunks when using "Apply all"
2016-12-03 13:17:07 +01:00
Tristan Darricau
4ae6cb9789 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14736] Reset role dropdown when modifying permissions
2016-12-03 13:03:18 +01:00
Tristan Darricau
6aa4f0e9d1 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14884] Remove duplicate span from navbar_header
2016-12-03 12:42:36 +01:00
Tristan Darricau
51ec271748 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14885] Use \n instead of \r for output_handler messages
  [ticket/14885] Add a line break when writing to the migrator output file
2016-12-03 12:36:26 +01:00
Tristan Darricau
b7061af193 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14875] Add raw_variable() to request mock
  [ticket/14875] Move raw_variable() method to request_interface
  [ticket/14875] Use raw_variable() method in _variable() to get raw data
  [ticket/14875] Add method for raw input to request and add to installer
  [ticket/14875] Add method for untrimmed input to ajax iohandler
2016-12-03 12:33:05 +01:00
Marc Alexander
19d136f62d Merge branch '3.2.x' 2016-12-02 16:39:56 +01:00
Marc Alexander
92b6991d0e Merge branch '3.2.x' 2016-12-02 11:50:56 +01:00
Marc Alexander
58a7ac9b5b Merge branch '3.2.x' 2016-12-02 11:27:00 +01:00
Marc Alexander
2019d750c4 Merge branch '3.2.x' 2016-12-01 13:23:11 +01:00
Marc Alexander
ece91e92c3 Merge branch '3.2.x' 2016-12-01 11:41:25 +01:00
Marc Alexander
08209af201 Merge branch '3.2.x' 2016-11-27 20:49:25 +01:00
Marc Alexander
7fb6d3e414 Merge branch '3.2.x' 2016-11-27 20:45:14 +01:00
Marc Alexander
79bc8752ea Merge branch '3.2.x' 2016-11-26 16:41:34 +01:00
hanakin
e79e0efc9e [ticket/14865] Mask remaining issues with print
PHPBB3-14865
2016-11-25 00:28:09 +01:00
hanakin
58d50129ce [ticket/14865] Mask remaining issues in responsive
PHPBB3-14865
2016-11-25 00:27:46 +01:00
hanakin
4d5b955a61 [ticket/18465] Fix badge color
PHPBB3-14865
2016-11-25 00:26:53 +01:00
hanakin
52ddce75f6 [ticket/14865] Remove duplicate from responsive
PHPBB3-14865
2016-11-25 00:26:17 +01:00
hanakin
154552dfa4 [ticket/14865] Fix comments in responsive
PHPBB3-14865
2016-11-25 00:25:41 +01:00
hanakin
6010bc298e [ticket/14865] Mask remaining issues with tweaks
PHPBB3-14865
2016-11-25 00:24:52 +01:00
Tristan Darricau
fd6de052ef Merge branch '3.2.x'
* 3.2.x:
  [ticket/14867] Revert back to twig 1.26.* and update dependencies
2016-11-24 14:23:24 +01:00
Tristan Darricau
28ef544521 Merge branch '3.2.x'
* 3.2.x:
  [ticket/9211] Use different icon for link subforum in forum legend
2016-11-24 14:16:40 +01:00
Tristan Darricau
ce1f5eeffd Merge branch '3.2.x'
* 3.2.x:
  [ticket/14750] Remove html5 invalid attributes from attachment file input
2016-11-24 14:15:32 +01:00
hanakin
fc056cf717 [ticket/14865] Remove spacer overqualified div
PHPBB3-14865
2016-11-24 13:32:14 +01:00
hanakin
298353146d [ticket/14865] Mask remaining issues with links
PHPBB3-14865
2016-11-24 13:32:13 +01:00
hanakin
53b82f28f7 [ticket/14865] Mask remaining issues with forms
PHPBB3-14865
2016-11-24 13:32:11 +01:00
hanakin
628005e730 [ticket/14865] Mask remaining issues with cp
PHPBB3-14865
2016-11-24 13:32:09 +01:00
hanakin
507428e5dc [ticket/14865] Mask remaining issues with contnet
PHPBB3-14865
2016-11-24 13:32:09 +01:00
hanakin
cc258f09eb [ticket/14865] Move colors from content to colours
PHPBB3-14865
2016-11-24 13:32:08 +01:00
hanakin
abcc7efff1 [ticket/14865] Mask remaining issues with common
PHPBB3-14865
2016-11-24 13:32:07 +01:00
hanakin
30d3d5c696 [ticket/14865] Remove duplicate code from common
PHPBB3-14865
2016-11-24 13:32:07 +01:00
hanakin
e69f9e5847 [ticket/14865] Mask remaining issues with colours
PHPBB3-14865
2016-11-24 13:32:06 +01:00
hanakin
80e5f6f187 [ticket/14865] Remove duplicate code from colours
PHPBB3-14865
2016-11-24 13:30:19 +01:00
hanakin
c5fa60cd78 [ticket/14865] Mask remaining issue with buttons
PHPBB3-14865
2016-11-24 13:30:19 +01:00
hanakin
7c85e16c40 [ticket/14865] Mask remaining issues with bidi
PHPBB3-14865
2016-11-24 13:30:19 +01:00
hanakin
9dcd206ab3 [ticket/14865] Standardize comments a little
PHPBB3-14865
2016-11-24 13:30:19 +01:00
hanakin
452261e806 [ticket/14865] Fix all fixable linting issues
PHPBB3-14865
2016-11-24 13:30:19 +01:00
hanakin
39572a3aa0 [ticket/14865] Add stylelint file
PHPBB3-14865
2016-11-24 13:30:19 +01:00
Marc Alexander
8b5806c002 Merge branch '3.2.x' 2016-11-20 15:23:23 +01:00
Marc Alexander
dcd8540f3c Merge branch '3.2.x' 2016-11-20 13:18:34 +01:00
Marc Alexander
5474aec55f Merge branch '3.2.x' 2016-11-20 12:58:04 +01:00
Marc Alexander
7aba483d61 Merge branch '3.2.x' 2016-11-20 09:46:37 +01:00
Marc Alexander
82960414f7 Merge branch '3.2.x' 2016-11-17 09:56:59 +01:00
Marc Alexander
32667f6290 Merge branch '3.2.x' 2016-11-16 21:57:49 +01:00
Marc Alexander
d5a6ae7290 Merge branch '3.2.x' 2016-11-16 21:53:33 +01:00
Tristan Darricau
462fb7b296 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14716] Update dependencies to latest versions
2016-11-14 21:36:34 +01:00
Tristan Darricau
361ec09956 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14831] Rename migration and replace preg_replace() with simpler methods
  [ticket/14831] Compare depends_on for migrations and remove prefixless names
  [ticket/14831] Add migration for deduplicating entries and fix typo
  [ticket/14831] Add method for getting valid migration name
  [ticket/14831] Fall back to possible migration names instead of adding prefix
  [ticket/14831] Make sure migrations always start with backslash
2016-11-14 21:22:16 +01:00
Marc Alexander
3bde3cf45a Merge branch '3.2.x' 2016-11-13 21:29:38 +01:00
Marc Alexander
fa9182c133 Merge branch '3.2.x' 2016-11-12 19:41:20 +01:00
Marc Alexander
ccf06c25a5 Merge branch '3.2.x' 2016-11-12 19:27:12 +01:00
Marc Alexander
221a8beb07 Merge branch '3.2.x' 2016-11-12 17:14:42 +01:00
Marc Alexander
5451c7fea9 Merge branch '3.2.x' 2016-11-12 17:10:39 +01:00
Marc Alexander
90cd9fc18f Merge branch '3.2.x' 2016-11-12 16:17:34 +01:00
Marc Alexander
577fb0c39c Merge branch '3.2.x' 2016-11-12 13:55:53 +01:00
Marc Alexander
0759b591fb Merge branch '3.2.x' 2016-11-12 13:47:46 +01:00
Marc Alexander
6b6b740dcb Merge branch '3.2.x' 2016-11-12 13:44:36 +01:00
Tristan Darricau
3364a54f39 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14795] Use maximum topic views instead of adding up views in merge
2016-11-06 15:47:56 +01:00
Tristan Darricau
79dd364b9c Merge branch '3.2.x'
* 3.2.x:
  [ticket/11483] Add tests for generating user act key on force reactivate
  [ticket/11483] Generate user act key if database entry is empty
2016-11-06 15:42:05 +01:00
Marc Alexander
0cb72ed6c5 Merge branch '3.2.x' 2016-11-05 21:36:27 +01:00
Máté Bartus
65d09b1dce Merge branch '3.2.x' 2016-11-02 10:02:09 +01:00
Marc Alexander
890fe72e48 Merge branch '3.2.x' 2016-10-28 21:06:54 +02:00
Tristan Darricau
c563fe3cc5 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14818] Optimize generate_board_url function
2016-10-24 23:08:11 +02:00
Tristan Darricau
e1234a92be Merge branch '3.2.x'
* 3.2.x:
  [ticket/14831] Optimize code construction
  [ticket/14831] Add more tests against UCP modules
  [ticket/14831] Add more tests, better name for $e placeholder
  [ticket/14831] Do not throw exception on the module existence checking
  [ticket/14831] Fix module migrator tool
2016-10-24 22:24:28 +02:00
Marc Alexander
773099d761 Merge branch '3.2.x' 2016-10-24 18:21:19 +02:00
Marc Alexander
84db7a66ee Merge branch '3.2.x' 2016-10-23 11:48:59 +02:00
Máté Bartus
e030ddc1b2 Merge branch '3.2.x' 2016-10-20 18:35:40 +02:00
Marc Alexander
47b6e7edf4 Merge branch '3.2.x' 2016-10-12 21:44:07 +02:00
Marc Alexander
8f4ea4c495 Merge branch '3.2.x' 2016-10-10 21:39:21 +02:00
Marc Alexander
54ca672dde Merge branch '3.2.x' 2016-10-09 15:58:33 +02:00
Tristan Darricau
d94c03d084 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14802] Add test for empty/blank lines in poll options
  [ticket/14802] Empty/blank lines should not be additional poll options
2016-10-03 20:21:46 +02:00
Tristan Darricau
10ae96c9b6 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14786] Add mcp_forum_actions_before/after events
2016-10-02 18:13:13 +02:00
Tristan Darricau
3375ce16eb Merge branch '3.2.x'
* 3.2.x:
  [ticket/14787] Add 1 more parameter to the core.search_modify_url_parameters
2016-10-02 18:08:26 +02:00
Tristan Darricau
2602c2d29c Merge branch '3.2.x'
* 3.2.x:
  [ticket/14801] Highlighting utf8 strings in search results
2016-10-02 17:44:59 +02:00
Tristan Darricau
bd71c3d8e2 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14789] Remove obsolete check_form_key() and add missing hashes
  [ticket/14789] Move form key checks to where they actually do something
2016-10-02 17:18:35 +02:00
Tristan Darricau
a0c508b926 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14805] Ignore platform requirements while building packages
2016-10-02 17:14:58 +02:00
Marc Alexander
c30a2b27a5 Merge branch '3.2.x' 2016-10-01 16:58:15 +01:00
Marc Alexander
89f3e5d29e Merge branch '3.2.x' 2016-10-01 11:07:46 +01:00
Marc Alexander
0b1d7cc53f Merge branch '3.2.x' 2016-09-30 21:49:41 +01:00
Tristan Darricau
ab84605991 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14799] purge_notifications() should not leave open transactions.
2016-09-28 20:58:39 +02:00
Tristan Darricau
c4812a2d83 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14797] Support PHP 7.1 and clearly state support for latest versions
2016-09-25 17:26:32 +02:00
Tristan Darricau
a713f5159a Merge branch '3.2.x'
* 3.2.x:
  [ticket/10809] Reflect MSSQL removal in docs files
  [ticket/10809] Remove MSSQL support
2016-09-25 17:19:18 +02:00
Marc Alexander
e2431502d1 Merge branch '3.2.x' 2016-09-24 21:45:36 +02:00
Marc Alexander
531d23935a Merge branch '3.2.x' 2016-09-24 13:04:27 +02:00
Marc Alexander
62e288bc90 Merge branch '3.2.x' 2016-09-24 11:50:20 +02:00
Tristan Darricau
f9b7bbafac Merge branch '3.2.x'
* 3.2.x:
  [ticket/14484] Remove duplicate methods and no longer needed calls
  [ticket/14484] Remove invalid code caused by merge conflict
  [ticket/14484] Properly enable extensions in UI tests
  [ticket/14484] Move facebook/webdriver back to tests dir composer.json
  [ticket/14484] Move facebook webdriver to main composer.json
2016-09-24 10:31:48 +02:00
Marc Alexander
1b57fed387 Merge branch '3.2.x' 2016-09-24 10:28:42 +02:00
Marc Alexander
8b17274d7f Merge branch '3.2.x' 2016-09-24 10:04:38 +02:00
Marc Alexander
173adc1053 Merge branch '3.2.x' 2016-09-24 09:56:33 +02:00
Marc Alexander
4fffe2eb4d Merge branch '3.2.x' 2016-09-24 09:42:21 +02:00
Marc Alexander
f79aabb866 Merge branch '3.2.x' 2016-09-24 09:36:08 +02:00
Marc Alexander
b15517e700 Merge branch '3.2.x' 2016-09-23 21:10:29 +02:00
Marc Alexander
bbb1ff325b Merge branch '3.2.x' 2016-09-23 20:55:24 +02:00
Marc Alexander
1b82a9d608 Merge branch '3.2.x' 2016-09-22 21:26:38 +02:00
Marc Alexander
8c53b369d4 Merge branch '3.2.x' 2016-09-22 21:24:02 +02:00
Máté Bartus
a94c4ce0dd Merge branch '3.2.x'
* 3.2.x:
  [ticket/14791] Get form tokens from correct button in search test base
2016-09-22 10:16:22 +02:00
Tristan Darricau
9df5a7e7da Merge branch '3.2.x'
* 3.2.x:
  [ticket/14787] Add more parameters to the core.search_modify_url_parameters
2016-09-18 21:25:19 +02:00
Tristan Darricau
3c2b7d026b Merge branch '3.2.x'
* 3.2.x:
  [ticket/14789] Add form tokens to tests and uncomment add_form_key
  [ticket/14789] Add link hashes and form tokens to all acp links/buttons
2016-09-18 21:17:18 +02:00
Tristan Darricau
b12ab19ecd Merge branch '3.2.x'
* 3.2.x:
  [ticket/14788] Update CREDITS.txt
2016-09-18 13:28:42 +02:00
Marc Alexander
3fdeb74e02 Merge branch '3.2.x' 2016-09-18 13:08:55 +02:00
Marc Alexander
ce3d46c19a Merge branch '3.2.x' 2016-09-17 16:27:57 +02:00
Marc Alexander
ea4a0e3439 Merge branch '3.2.x' 2016-09-17 13:00:24 +02:00
Marc Alexander
d21d2bca87 Merge branch '3.2.x' 2016-09-17 08:54:08 +02:00
Marc Alexander
ca7fdf4e5b Merge branch '3.2.x' 2016-09-17 00:05:13 +02:00
Andreas Fischer
4c54237e3e Merge branch '3.2.x'
* 3.2.x:
  [ticket/14782] Use the $select variable in "Your Posts" search
2016-09-15 19:30:55 +02:00
Marc Alexander
53d96f66e5 Merge branch '3.2.x' 2016-09-14 20:51:42 +02:00
Marc Alexander
c571d99c0f Merge pull request #4441 from Nicofuma/ticket/14769
[ticket/14769] Fix CLI installer configuration compatibility with SF 3
2016-09-13 21:39:59 +02:00
Tristan Darricau
6d7d7d4c0f Revert "Deploy on Heroku"
This reverts commit 89842299d7.
2016-09-13 01:04:26 +02:00
Tristan Darricau
89842299d7 Deploy on Heroku 2016-09-13 01:01:01 +02:00
Tristan Darricau
d9aea27c75 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14774] Support partial downloads of attachments
2016-09-11 13:59:08 +02:00
Tristan Darricau
b8260cadf0 [ticket/14769] Fix CLI installer configuration compatibility with SF 3
PHPBB3-14769
2016-09-11 13:41:33 +02:00
Marc Alexander
6f31d334e0 Merge branch '3.2.x' 2016-09-11 11:08:41 +02:00
Marc Alexander
38866f927c Merge branch '3.2.x' 2016-09-09 23:39:25 +02:00
Marc Alexander
0fdb72dd29 Merge branch '3.2.x' 2016-09-07 21:25:35 +02:00
Marc Alexander
66e481c501 Merge branch '3.2.x' 2016-09-06 21:50:28 +02:00
Marc Alexander
d13ef57ff4 Merge branch '3.2.x' 2016-09-06 21:45:52 +02:00
Marc Alexander
b8423ed6ff Merge branch '3.2.x' 2016-09-04 17:47:57 +02:00
Tristan Darricau
a94cb72b8e Merge branch '3.2.x'
* 3.2.x:
  [ticket/14763] Specify correct class for local files class type
2016-09-03 14:54:05 +02:00
Marc Alexander
0fd39234eb Merge pull request #4431 from VSEphpbb/ticket/14761
[ticket/14761] myisam tests should be setup on PHP 5.5 (5.4 removed)
2016-09-02 19:26:28 +02:00
Matt Friedman
55d927493c [ticket/14761] myisam should be setup on PHP 5.5 (5.4 removed)
PHPBB3-14761
2016-09-01 20:35:35 -07:00
Tristan Darricau
c61465dbe7 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14727] Event core.search_modify_submit_parameters

 Conflicts:
	phpBB/search.php
2016-09-01 16:25:13 +02:00
Tristan Darricau
e6be2e558f Merge branch '3.2.x'
* 3.2.x:
  [ticket/10961] Send HTTP 403 when applicable
2016-09-01 14:54:06 +02:00
Tristan Darricau
0c91160856 Merge pull request #4412 from Senky/ticket/14573
[ticket/14573] Extend breadcrumb to support more pages

* Senky/ticket/14573:
  [ticket/14573] Add Whoisonline breadcrumbs
  [ticket/14573] Add Memberlist breadcrumbs
  [ticket/14573] Add MCP breadcrumbs
  [ticket/14573] Add UCP breadcrumbs
  [ticket/14573] Add Search breadcrumbs
  [ticket/14573] Add FAQ breadcrumbs
2016-09-01 14:50:15 +02:00
Marc Alexander
7a9f8ddee9 Merge branch '3.2.x' 2016-08-31 21:42:15 +02:00
Tristan Darricau
9e53c7e0c3 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14673] Changes wrong language variable in mcp_forum
2016-08-31 19:08:27 +02:00
Tristan Darricau
7919cf7462 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14588] fix header search rtl
2016-08-31 19:04:28 +02:00
Marc Alexander
a08b078440 Merge branch '3.2.x' 2016-08-28 15:54:33 +02:00
Marc Alexander
a78a334a0d Merge branch '3.2.x' 2016-08-28 15:45:10 +02:00
Marc Alexander
e740552bfb Merge branch '3.2.x' 2016-08-28 00:12:57 +02:00
Crizzo
aaf45d12ec Merge branch '3.2.x' 2016-08-27 16:20:15 +02:00
Andreas Fischer
6d12b454cb Merge branch '3.2.x'
* 3.2.x:
  [ticket/14749] Adds missing } in mcp_forum.html to TOPIC_DELETED
2016-08-22 22:05:52 +02:00
Marc Alexander
34b3e4b8e2 Merge branch '3.2.x' 2016-08-21 19:04:20 +02:00
Marc Alexander
229816ebe8 Merge branch '3.2.x' 2016-08-21 18:57:37 +02:00
Marc Alexander
c3681a259c Merge branch '3.2.x' 2016-08-21 10:07:40 +02:00
Marc Alexander
8783ede6e0 Merge branch '3.2.x' 2016-08-21 09:51:28 +02:00
Marc Alexander
f10d68c07e Merge branch '3.2.x' 2016-08-21 09:45:02 +02:00
Marc Alexander
dc2777e769 Merge branch '3.2.x' 2016-08-16 21:02:56 +02:00
Marc Alexander
9dbe47ba8e Merge branch '3.2.x' 2016-08-16 20:49:36 +02:00
Jakub Senko
6260beb3f2 [ticket/14573] Add Whoisonline breadcrumbs
PHPBB3-14573
2016-08-15 18:12:20 +02:00
Jakub Senko
51a744fda5 [ticket/14573] Add Memberlist breadcrumbs
PHPBB3-14573
2016-08-15 18:09:23 +02:00
Jakub Senko
10e7c88877 [ticket/14573] Add MCP breadcrumbs
PHPBB3-14573
2016-08-15 17:35:32 +02:00
Jakub Senko
5292f9c091 [ticket/14573] Add UCP breadcrumbs
PHPBB3-14573
2016-08-15 17:34:33 +02:00
Jakub Senko
fc0714721e [ticket/14573] Add Search breadcrumbs
PHPBB3-14573
2016-08-15 17:25:22 +02:00
Jakub Senko
3870b221d6 [ticket/14573] Add FAQ breadcrumbs
PHPBB3-14573
2016-08-15 17:20:20 +02:00
Marc Alexander
0df1d39c1f Merge branch '3.2.x' 2016-08-13 23:14:11 +02:00
Marc Alexander
c8bdd0a67c Merge pull request #4232 from CHItA/ticket/14542
[ticket/14542] Move cron to controller
2016-08-08 09:44:52 +02:00
Máté Bartus
8c137a5658 [ticket/14542] Add missing dockblocks
PHPBB3-14542
2016-08-07 22:03:21 +02:00
Marc Alexander
5acb831f19 Merge pull request #4282 from CHItA/ticket/14584
[ticket/14548] Move deprecated globals and functions
2016-08-07 21:02:17 +02:00
Máté Bartus
447f094871 [ticket/14542] Fix tests
PHPBB3-14542
2016-08-05 23:03:35 +02:00
Máté Bartus
6eecc26e31 [ticket/14542] Move cron to controller
PHPBB3-14542
2016-08-05 22:50:54 +02:00
Máté Bartus
6ca10fc85a Merge branch '3.2.x' 2016-08-05 21:29:27 +02:00
Marc Alexander
e2207c65e7 Merge branch '3.2.x' 2016-08-05 20:18:54 +02:00
Marc Alexander
d74e85ffd9 Merge branch '3.2.x' 2016-08-04 20:47:33 +02:00
Marc Alexander
81f0d912b0 Merge branch '3.2.x' 2016-08-03 22:21:47 +02:00
Marc Alexander
94e6479c93 Merge branch '3.2.x' 2016-08-03 21:54:38 +02:00
Marc Alexander
da15d435bf Merge branch '3.2.x' 2016-08-01 20:42:16 +02:00
Marc Alexander
4cd89dcda7 Merge branch '3.2.x' 2016-07-31 15:39:10 +02:00
Oliver Schramm
46045eb9b0 Merge branch '3.2.x' 2016-07-30 23:23:00 +02:00
Máté Bartus
832722417a Merge pull request #4350 from marc1706/ticket/14670
[ticket/14670] Use symfony 3.x in master branch
2016-07-29 17:51:50 +02:00
Máté Bartus
e9f28ea22c [ticket/14584] Change all to be removed tags to 4.0
PHPBB3-14584
2016-07-29 17:48:26 +02:00
Máté Bartus
54e5d41359 [ticket/14548] Move deprecated globals and functions
PHPBB3-14584
2016-07-29 17:48:00 +02:00
Andreas Fischer
0dc13c720c Merge branch '3.2.x'
* 3.2.x:
  [ticket/14652] Fix typos in core.index_modify_birthdays_list vars descriptions
2016-07-29 09:41:51 +02:00
Marc Alexander
224b0bb8d2 [ticket/14670] Set shared flag instead of defining prototype scope
The prototype scope was deprecated in symfony 2.8 and removed in 3.0.

PHPBB3-14670
2016-07-24 21:52:05 +02:00
Marc Alexander
402292cb07 [ticket/14670] Do not backup static attributes
This seems to cause issues with the UI tests as the backed up
static web driver does not seem to be properly initialized.

PHPBB3-14670
2016-07-24 19:30:02 +02:00
Marc Alexander
6d2a9805db Merge branch '3.2.x' 2016-07-24 19:15:53 +02:00
Marc Alexander
e1f9c946ef [ticket/14670] Modify service definition for RouterListener
PHPBB3-14670
2016-07-23 17:54:45 +02:00
Marc Alexander
d66e8cba23 [ticket/14670] Fix typo in .travis.yml
PHPBB3-14670
2016-07-23 17:13:54 +02:00
Marc Alexander
74abce31bc [ticket/14670] Remove usage of prototype scope in tests
In this specific case, the mock container builder is used which does not
even support setting the scope.

PHPBB3-14670
2016-07-23 17:13:54 +02:00
Marc Alexander
b93bdfb1c3 [ticket/14670] Add new travis builds and PHP 5.5 requirement
PHPBB3-14670
2016-07-23 17:13:54 +02:00
Marc Alexander
42b6dc38c5 [ticket/14670] Fix incompatibilities with container definitions
PHPBB3-14670
2016-07-23 17:13:54 +02:00
Marc Alexander
59a228f7cd [ticket/14670] Use symfony 3.1 in master branch
Removed sami as it doesn't have a version compatible
with symfony 3.x.

PHPBB3-14670
2016-07-23 17:13:54 +02:00
Máté Bartus
96617e8e46 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14717] Quote strings beginning with @ or % in yaml definitions
2016-07-23 16:57:56 +02:00
Marc Alexander
0628735f57 Merge branch '3.2.x' 2016-07-21 22:05:23 +02:00
Marc Alexander
83fadbe697 Merge branch '3.2.x' 2016-07-20 20:25:08 +02:00
Máté Bartus
0336bef2d9 Merge branch '3.2.x' 2016-07-19 19:24:52 +02:00
Máté Bartus
5760099618 Merge branch '3.2.x' 2016-07-19 10:20:21 +02:00
Marc Alexander
c5bfcb4c48 Merge branch '3.2.x' 2016-07-18 20:40:41 +02:00
Marc Alexander
c14d7d719e Merge branch '3.2.x' 2016-07-17 22:10:12 +02:00
Marc Alexander
cff33d6c39 Merge branch '3.2.x' 2016-07-17 17:52:09 +02:00
Marc Alexander
7eb8d8fcae Merge branch '3.2.x' 2016-07-17 15:57:33 +02:00
Marc Alexander
8760a1fd51 Merge branch '3.2.x' 2016-07-17 15:54:19 +02:00
Marc Alexander
ae6e5a6c20 Merge branch '3.2.x' 2016-07-17 15:52:46 +02:00
Marc Alexander
3816b5e54b Merge branch '3.2.x' 2016-07-17 11:06:54 +02:00
Marc Alexander
007aeb5dec Merge branch '3.2.x' 2016-07-17 11:05:34 +02:00
Marc Alexander
9227ade5e3 Merge branch '3.2.x' 2016-07-17 10:56:59 +02:00
Crizzo
95124db4c9 Merge branch '3.2.x' 2016-07-16 23:45:54 +02:00
Marc Alexander
1c20bc33a5 Merge branch '3.2.x' 2016-07-16 21:25:53 +02:00
Marc Alexander
305efd648b Merge branch '3.2.x' 2016-07-16 19:49:31 +02:00
Marc Alexander
4e840fee16 Merge branch '3.2.x'
Conflicts:
	phpBB/composer.lock
2016-07-14 20:23:27 +02:00
Marc Alexander
96406f9b2e Merge branch '3.2.x' 2016-07-14 20:14:30 +02:00
Marc Alexander
c880d73fe8 Merge branch '3.2.x' 2016-07-14 20:11:54 +02:00
Andreas Fischer
c2860cbabb Merge branch '3.2.x'
* 3.2.x:
  [ticket/14665] Remove invalid syntax in report_id_auto_increment migration
2016-07-10 20:06:48 +02:00
Andreas Fischer
a4f575c322 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14689] Build API docs for 3.2.x
2016-07-08 14:12:52 +02:00
Marc Alexander
113738fce9 Merge branch '3.2.x' 2016-07-07 19:20:42 +02:00
Marc Alexander
cd45922186 Merge branch '3.2.x' 2016-07-06 19:30:26 +02:00
Marc Alexander
fc8a7013d6 Merge branch '3.2.x' 2016-07-06 19:24:08 +02:00
Marc Alexander
983d9a629b Merge branch '3.2.x' 2016-07-06 19:19:21 +02:00
Marc Alexander
46aa5e65e4 Merge branch '3.2.x' 2016-06-28 21:10:18 +02:00
Marc Alexander
c9716a8b63 Merge branch '3.2.x' 2016-06-27 22:06:08 +02:00
Tristan Darricau
fe9df5b76b [Release 3.2.0-RC1] Restore versions in master
This reverts commit 37cf178c0c.
2016-06-27 21:59:53 +02:00
Tristan Darricau
926d55bc02 Merge branch '3.2.x'
* 3.2.x:
  [Release 3.2.0-RC1] Update version to 3.2.0-RC2-dev
2016-06-27 21:58:43 +02:00
Tristan Darricau
f9d251943b Merge branch '3.2.x'
* 3.2.x:
  [prep-release-3.2.0-RC1] Update changelog
  [prep-release-3.2.0-RC1] Add migration
  [prep-release-3.2.0-RC1] Update schema.json
  [prep-release-3.2.0-RC1] Update version to 3.2.0-RC1
2016-06-27 21:56:21 +02:00
Marc Alexander
8bdbca3f52 Merge branch '3.2.x' 2016-06-26 10:27:26 +02:00
Marc Alexander
155d24107a Merge branch '3.2.x'
Conflicts:
	phpBB/composer.lock
2016-06-20 21:24:46 +02:00
Máté Bartus
1dc622e921 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14660] Remove redundant empty line in ucp_profile.php
2016-06-20 10:14:18 +02:00
Marc Alexander
871a97b4b3 Merge branch '3.2.x' 2016-06-19 22:33:37 +02:00
Marc Alexander
9e7f5e9d86 Merge branch '3.2.x' 2016-06-19 22:07:44 +02:00
Marc Alexander
f9a38cafb2 Merge branch '3.2.x'
Conflicts:
	phpBB/language/en/install.php
2016-06-19 18:57:52 +02:00
Marc Alexander
9b748631ed Merge branch '3.2.x' 2016-06-19 18:38:25 +02:00
Marc Alexander
f8978f23a6 Merge branch '3.2.x' 2016-06-19 18:25:37 +02:00
Marc Alexander
a6863249a1 Merge branch '3.2.x' 2016-06-19 18:07:55 +02:00
Marc Alexander
2a0c4a8fa9 Merge branch '3.2.x' 2016-06-19 17:55:37 +02:00
Marc Alexander
74f36bc1c9 Merge branch '3.2.x' 2016-06-19 17:49:10 +02:00
Marc Alexander
ff2c9202bc Merge branch '3.2.x' 2016-06-19 17:46:15 +02:00
Marc Alexander
f1306cf9ff Merge branch '3.2.x' 2016-06-19 17:21:20 +02:00
Marc Alexander
4296e0a329 Merge branch '3.2.x' 2016-06-13 22:08:19 +02:00
Andreas Fischer
83682fe4cf Merge branch '3.2.x'
* 3.2.x:
  [ticket/14291] Do not update filesize if displaying thumbnail
2016-06-11 13:45:58 +02:00
Marc Alexander
36e78f4aba Merge branch '3.2.x' 2016-06-08 20:47:20 +02:00
Marc Alexander
34d44d58c3 Merge branch '3.2.x' 2016-06-08 20:32:30 +02:00
Marc Alexander
1bf58c654a Merge branch '3.2.x' 2016-06-04 16:16:22 +02:00
Marc Alexander
401e78c5b0 Merge branch '3.2.x' 2016-05-31 21:43:21 +02:00
Marc Alexander
b465df321c Merge branch '3.2.x' 2016-05-28 09:59:55 +02:00
Marc Alexander
57733f84e5 Merge branch '3.2.x' 2016-05-27 22:14:00 +02:00
Marc Alexander
51d80174b1 Merge branch '3.2.x' 2016-05-27 21:10:51 +02:00
Máté Bartus
1d9e8e4485 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14650] Semi-colon instead of slash to make Matt happy
  [ticket/14650] Move CONTRIBUTING.md and add pull request template
2016-05-27 13:29:26 +02:00
Marc Alexander
89371294bf Merge branch '3.2.x' 2016-05-26 15:47:25 +02:00
Marc Alexander
682aa32af1 Merge branch '3.2.x' 2016-05-24 21:47:56 +02:00
Máté Bartus
8afbb3fb76 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14645] Language pack not reconised when using a symlink
2016-05-22 21:44:48 +02:00
Marc Alexander
4cf0b56d7a Merge branch '3.2.x' 2016-05-16 14:05:29 +02:00
Máté Bartus
3c1cd4f478 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14624] Remove no longer existing event argumemt
2016-05-16 12:12:04 +02:00
Marc Alexander
c24b29cc36 Merge branch '3.2.x' 2016-05-15 23:57:47 +02:00
Tristan Darricau
ddcd458167 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14595] Added smtp_port where places where smtp_host exists. PHPBB3-14595
  [ticket/14595] Added SMTP port to getConfigTreeBuilder PHPBB3-14595
2016-05-15 10:20:38 +02:00
Marc Alexander
b70b9714dd Merge branch '3.2.x' 2016-05-12 19:18:31 +02:00
Tristan Darricau
c43fabf502 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14619] Updates 3.1.x/ascraeus to 3.2.x/rhea
2016-05-02 21:19:58 +02:00
Tristan Darricau
7c8f383bf2 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14607] Add missing auto_increment to report_id
2016-05-02 21:14:35 +02:00
Tristan Darricau
21bd3b7c0a Merge branch '3.2.x'
* 3.2.x:
  [ticket/13969] Remove obsolute language files
2016-04-29 20:16:48 +02:00
Tristan Darricau
d70a9fb81e Merge branch '3.2.x'
* 3.2.x:
2016-04-29 20:11:42 +02:00
Tristan Darricau
6949ee162d erge branch 'prep-release-3.2.0-b2'
* prep-release-3.2.0-b2:
  [prep-release-3.2.0-b2] Add schema.json
  [prep-release-3.2.0-b2] Add changelog for 3.2.0-b2
  [prep-release-3.2.0-b2] Add migration for 3.2.0-b2
  [prep-release-3.2.0-b2] Update version to 3.2.0-b2
2016-04-28 21:51:23 +02:00
Marc Alexander
682c44cee4 Merge branch '3.2.x' 2016-04-23 23:04:13 +02:00
Joas Schilling
4b51590520 Merge branch '3.2.x' 2016-04-16 12:51:06 +02:00
Tristan Darricau
36c87313a4 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14589] Fix @var usage
2016-04-13 19:14:18 +02:00
Tristan Darricau
3a028ef067 Merge pull request #4288 from CHItA/ticket/14601
[ticket/14601] Fix composer.lock

* CHItA/ticket/14601:
  [ticket/14601] Fix composer.lock
2016-04-13 19:06:46 +02:00
Máté Bartus
caf63ba86b [ticket/14601] Fix composer.lock
PHPBB3-14601
2016-04-13 10:52:12 +02:00
Máté Bartus
3a44ac1690 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14598] Support vars docblock in sniffer
2016-04-13 10:20:39 +02:00
Máté Bartus
13a3e99848 Merge branch '3.2.x'
* 3.2.x:
  [ticket/13616] Fix CS + constant in the core extension
  [ticket/13616] Fix UI tests
  [ticket/13616] Cleanup globals after installing the board in func tests
  [ticket/13616] Updates direct call to twig environment constructor
  [ticket/13616] Uses a php 5.4 compatible version
  [ticket/13616] Uses symfony/proxy-manager-bridge to lazy load twig lexer

Conflicts:
	phpBB/composer.lock
2016-04-13 10:14:47 +02:00
Tristan Darricau
94853ba2dd Merge branch '3.2.x'
* 3.2.x:
  [ticket/14589] Fix grammatical errors in language strings
  [ticket/14589] Add error messages for failable installer requirements
2016-04-12 11:27:03 +02:00
Marc Alexander
ffcde0c95a Merge branch '3.2.x' 2016-04-11 21:27:20 +02:00
Joas Schilling
4a1d1dd6a5 Merge branch '3.2.x' 2016-04-09 19:53:57 +02:00
Joas Schilling
c03d9d9acc Merge branch '3.2.x'
* 3.2.x:
  [ticket/14587] Remove sectionGroup from web.config
2016-04-08 16:35:18 +02:00
Marc Alexander
662fbc7cde Merge branch '3.2.x' 2016-04-07 21:59:44 +02:00
Marc Alexander
76af1c608c Merge branch '3.2.x' 2016-04-06 21:00:41 +02:00
Marc Alexander
a6c90643fd Merge branch '3.2.x' 2016-04-06 20:54:57 +02:00
Tristan Darricau
4ded3864cd Merge branch '3.2.x'
* 3.2.x:
  [ticket/14559] Remove attachment BBCode tags from the quoted message
2016-04-03 16:34:46 +02:00
Tristan Darricau
b1085b7dcb Merge branch '3.2.x'
* 3.2.x:
  [ticket/14561] Remove requires for functions in tests
  [ticket/14561] Small change to progress bar output
  [ticket/14561] Fix function docblock in activate command
  [ticket/14561] Add a progress bar to reclean command
  [ticket/14561] Use the user loader where appropriate
  [ticket/14561] Add extra help explaining reclean command
  [ticket/14561] Import classes with use statements
  [ticket/14561] Remove unused use statements
  [ticket/14561] Refactor tests
  [ticket/14561] Reclean usernames command
  [ticket/14561] User activate command
  [ticket/14561] User delete command
2016-04-03 16:32:25 +02:00
Tristan Darricau
71c4ffceec Merge branch '3.2.x'
* 3.2.x:
  [ticket/13502] Also cover passing object to resolver in tests
  [ticket/13502] Test getArguments() method of controller resolver
  [ticket/13502] Fix coding style
  [ticket/13502] Controller resolver should handle callable functions and objects
2016-04-03 16:04:59 +02:00
Tristan Darricau
3c89a69701 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14532] Do not escape column default in mssql
2016-04-03 16:03:07 +02:00
Tristan Darricau
e2372b369b Merge branch '3.2.x'
* 3.2.x:
  [ticket/14260] Added regression test
2016-04-03 15:51:57 +02:00
Marc Alexander
0eefec86a5 Merge branch '3.2.x' 2016-04-03 10:28:19 +02:00
Tristan Darricau
92fdc14208 Merge branch '3.2.x'
* 3.2.x:
  Revert "[ticket/14562] Language fallback for extension permissions"
  [ticket/14562] Language fallback for extension permissions (3.2.x)
  [ticket/14562] Language fallback for extension permissions
2016-04-02 13:13:01 +02:00
Tristan Darricau
93f932b80f [ticket/14495] Revert changes in master
PHPBB3-14495
2016-04-02 12:12:24 +02:00
Tristan Darricau
2b5037ee96 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14495] Specify correct version numbers in 3.2.x
2016-04-02 12:09:40 +02:00
Tristan Darricau
b81be8f71e Merge branch '3.2.x'
* 3.2.x:
  [ticket/14577] Do not calculate size of array in for loop
2016-04-02 12:07:15 +02:00
Tristan Darricau
49c3da0cb9 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14393] Fix db update progress bar
  [ticket/14393] Fix init for conflict archive
  [ticket/14393] Fix updater behaviour
2016-03-31 22:50:47 +02:00
Tristan Darricau
cae1e4127a Merge branch '3.2.x'
* 3.2.x:
  [ticket/14576] Move common required files to bootstrap
2016-03-31 22:42:55 +02:00
Marc Alexander
7d5e052e97 Merge branch '3.2.x' 2016-03-31 12:30:20 +02:00
Marc Alexander
be5175d451 Merge branch '3.2.x' 2016-03-30 21:04:14 +02:00
Marc Alexander
073cf35422 Merge branch '3.2.x' 2016-03-30 19:01:12 +02:00
Marc Alexander
4ddf69f0f1 Merge branch '3.2.x' 2016-03-30 10:04:57 +02:00
Máté Bartus
646c2e40a2 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14568] Update the repository readme
2016-03-28 19:27:21 +02:00
Marc Alexander
d298e7f5a1 Merge branch '3.2.x' 2016-03-28 00:28:36 +02:00
Tristan Darricau
32c7209887 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14329] Add missing ACP language vars
2016-03-27 16:41:38 +02:00
Tristan Darricau
1fba54ab2e Merge branch '3.2.x'
* 3.2.x:
  [ticket/14272] Allow input of floats for filesize
  [ticket/14272] Use input type number instead of text in avatars
  [ticket/14272] Assign min and max values for avatar driver settings
  [ticket/14272] Define min and max values for avatar width and height
  [ticket/14272] Disable not toggled form elements
  [ticket/14272] Make sure phpbb_avatar_manager was defined
  [ticket/14272] Remove useless check
  [ticket/14272] Fix invalid or missing min/max settings
  [ticket/14272] Assign min/max for all allowed types
  [ticket/14272] Only use maxlength and size for allowed input elements
2016-03-27 13:34:57 +02:00
Tristan Darricau
c13c7c28ad Merge branch '3.2.x'
* 3.2.x:
  [ticket/14481] Add tests for x_forwarded_proto header
  [ticket/14481] Use port 443 if https is specified in x-forwarded-proto
  [ticket/14481] Respect HTTP_X_FORWARDED headers for implying https
2016-03-27 12:56:06 +02:00
Marc Alexander
475b92e28e Merge branch '3.2.x' 2016-03-27 12:40:41 +02:00
Marc Alexander
4924e225d7 Merge branch '3.2.x' 2016-03-27 12:37:32 +02:00
Marc Alexander
42c923ba5a Merge branch '3.2.x' 2016-03-27 12:35:08 +02:00
Tristan Darricau
9467b602a8 Merge branch '3.2.x'
* 3.2.x: (26 commits)
  [ticket/12684] Use a switch statement for readability
  [ticket/12684] Refactor a test
  [ticket/12684] Use interactive method correctly
  [ticket/12684] Extract interactivity to a method
  [ticket/12684] Update option help
  [ticket/12684] Add extended help for the user:add command
  [ticket/12684] Add shorthand alternates to the options
  [ticket/12684] Remove whitespace
  [ticket/12684] Add an error on user creation failure
  [ticket/12684] Remove unnecessary null arguments
  [ticket/12684] Additional clean up
  [ticket/12684] Allowed to use $this in enclosure
  [ticket/12684] Move all lang keys to cli
  [ticket/12684] Fix a few mistakes and clean it up
  [ticket/12684] Some code clean up
  [ticket/12684] Another little fix
  [ticket/12684] Fix tests
  [ticket/12684] Update to use non-deprecated methods
  [ticket/12684] Add send email option
  [ticket/12684] Add input validation
  ...
2016-03-26 19:38:59 +01:00
Tristan Darricau
8e15967a66 Merge branch '3.2.x'
* 3.2.x:
  [ticket/13013] Explain to user explicitl what "participate more" means
2016-03-26 19:21:49 +01:00
Tristan Darricau
053f89fa07 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14134] Fix Okay in a comment.
  [ticket/14134] Fix code comments.
  [ticket/14134] Send warning notification PM in user's language.
2016-03-26 18:59:35 +01:00
Tristan Darricau
cb84946d7b Merge branch '3.2.x'
* 3.2.x:
2016-03-25 11:56:16 +01:00
Tristan Darricau
ce24e46879 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14437] Make sure attachments array is properly ordered before processing
  [ticket/14437] Preserve attachment ID order by ordering by attach_id
  [ticket/14437] Sort attachments after assigning inline attachments
  [ticket/14437] Correctly assume index from attachment display order
2016-03-25 11:49:57 +01:00
Tristan Darricau
a54b528bc6 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14497] Do not check for doctype on index and use correct return
  [ticket/14497] Add test for visiting installer
  [ticket/14497] Use nginx sample config in travis tests
  [ticket/14497] Support second app.php script in install folder
2016-03-25 11:46:16 +01:00
Tristan Darricau
06186ea250 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14241] Log fatal captcha error to error log
  [ticket/14241] Prevent empty q&a as a result of improper settings
2016-03-25 11:43:39 +01:00
Tristan Darricau
5d118581ce Merge branch '3.2.x'
* 3.2.x:
  [ticket/14527] Decode automatically generated postlink without prefix
  [ticket/14527] Add tests for reverted improper fix
  [ticket/14527] Retrieve link URL from href and not link text
2016-03-25 11:35:47 +01:00
Tristan Darricau
e7cf42da8c Merge branch '3.2.x'
* 3.2.x:
  [ticket/13630] Prevent empty parameter select_single
2016-03-25 11:21:29 +01:00
Tristan Darricau
dfd7426be4 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14530] Only generate text again if sig was parsed for storage
  [ticket/14530] Add accidentally removed sig_parsed flag
2016-03-25 11:14:33 +01:00
Tristan Darricau
ba9e9ecfa3 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14290] Correctly use modified since header
2016-03-25 11:11:09 +01:00
Tristan Darricau
3bb78d3b85 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14381] Set the mode in message parser to "reparse"
2016-03-25 11:03:47 +01:00
Marc Alexander
5bb1a98125 Merge branch '3.2.x' 2016-03-24 21:15:21 +01:00
Tristan Darricau
80e4bc9ec0 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14136] Add back X-UA-Compatible meta tag
2016-03-24 18:00:48 +01:00
Tristan Darricau
b0d105c8e0 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14536] Force unix time stamps to be integer
2016-03-24 17:54:14 +01:00
Marc Alexander
46faec12fa Merge branch '3.2.x' 2016-03-24 17:22:39 +01:00
Marc Alexander
4d69df687a Merge branch '3.2.x' 2016-03-24 16:33:19 +01:00
Marc Alexander
f729e51ba8 Merge branch '3.2.x' 2016-03-24 15:22:42 +01:00
Marc Alexander
1aedf3ab60 Merge branch '3.2.x' 2016-03-24 11:49:35 +01:00
725 changed files with 21006 additions and 7607 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"
curl -o php_sqlsrv-$($DLLVersion)-$($env:php -replace '([0-9])[.]([0-9])[.]?([0-9]+)?','$1.$2')-nts-vc14-x64.zip https://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
curl -o php_pdo_sqlsrv-$($DLLVersion)-$($env:php -replace '([0-9])[.]([0-9])[.]?([0-9]+)?','$1.$2')-nts-vc14-x64.zip https://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**):

5
.gitignore vendored
View File

@@ -17,7 +17,12 @@
/phpBB/styles/*
!/phpBB/styles/prosilver
!/phpBB/styles/all
node_modules
/phpBB/vendor
/phpBB/vendor-ext/*
!/phpBB/vendor-ext/.git-keep
/phpBB/composer-ext.json
/phpBB/composer-ext.lock
/tests/phpbb_unit_tests.sqlite*
/tests/test_config*.php
/tests/tmp/*

243
.postcss-sorting.json Normal file
View File

@@ -0,0 +1,243 @@
{
"order": [
"custom-properties",
"dollar-variables",
{
"type": "at-rule",
"name": "include"
},
"declarations",
"rules",
{
"type": "at-rule",
"name": "media"
}
],
"properties-order": [
{
"emptyLineBefore": false,
"properties": [
"font",
"font-family",
"font-size",
"font-weight",
"font-style",
"font-variant",
"font-size-adjust",
"font-stretch",
"font-effect",
"font-emphasize",
"font-emphasize-position",
"font-emphasize-style",
"font-smooth",
"font-smoothing",
"line-height",
"text-align",
"text-align-last",
"vertical-align",
"white-space",
"text-decoration",
"text-emphasis",
"text-emphasis-color",
"text-emphasis-style",
"text-emphasis-position",
"text-indent",
"text-justify",
"letter-spacing",
"word-spacing",
"writing-mode",
"text-outline",
"text-transform",
"text-size-adjust",
"text-wrap",
"text-overflow",
"text-overflow-ellipsis",
"text-overflow-mode",
"word-wrap",
"word-break",
"tab-size",
"hyphens"
]
},
{
"emptyLineBefore": false,
"properties": [
"background",
"background-color",
"background-image",
"background-repeat",
"background-attachment",
"background-position",
"background-position-x",
"background-position-y",
"background-clip",
"background-origin",
"background-size",
"interpolation-mode",
"filter",
"border",
"border-width",
"border-style",
"border-color",
"border-top",
"border-top-width",
"border-top-style",
"border-top-color",
"border-right",
"border-right-width",
"border-right-style",
"border-right-color",
"border-bottom",
"border-bottom-width",
"border-bottom-style",
"border-bottom-color",
"border-left",
"border-left-width",
"border-left-style",
"border-left-color",
"border-radius",
"border-top-left-radius",
"border-top-right-radius",
"border-bottom-right-radius",
"border-bottom-left-radius",
"border-image",
"border-image-source",
"border-image-slice",
"border-image-width",
"border-image-outset",
"border-image-repeat",
"outline",
"outline-width",
"outline-style",
"outline-color",
"outline-offset",
"tap-highlight-color"
]
},
{
"emptyLineBefore": false,
"properties": [
"box-decoration-break",
"box-shadow",
"text-shadow"
]
},
{
"emptyLineBefore": false,
"properties": [
"color",
"opacity"
]
},
{
"emptyLineBefore": false,
"properties": [
"position",
"z-index",
"top",
"right",
"bottom",
"left"
]
},
{
"emptyLineBefore": false,
"properties": [
"display",
"visibility",
"float",
"clear",
"overflow",
"overflow-x",
"overflow-y",
"overflow-scrolling",
"clip",
"zoom",
"flex",
"flex-direction",
"flex-order",
"flex-pack",
"flex-align",
"flex-basis",
"flex-grow",
"flex-shrink",
"flex-wrap",
"justify-content",
"align-items",
"align-self"
]
},
{
"emptyLineBefore": false,
"properties": [
"box-sizing",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left",
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left"
]
},
{
"emptyLineBefore": false,
"properties": [
"table-layout",
"empty-cells",
"caption-side",
"border-spacing",
"border-collapse",
"list-style",
"list-style-position",
"list-style-type",
"list-style-image"
]
},
{
"emptyLineBefore": false,
"properties": [
"content",
"quotes",
"counter-reset",
"counter-increment",
"resize",
"cursor",
"touch-callout",
"touch-action",
"user-select",
"nav-index",
"nav-up",
"nav-right",
"nav-down",
"nav-left",
"transition",
"transition-delay",
"transition-timing-function",
"transition-duration",
"transition-property",
"transform",
"transform-origin",
"animation",
"animation-name",
"animation-duration",
"animation-play-state",
"animation-timing-function",
"animation-delay",
"animation-iteration-count",
"animation-direction",
"pointer-events"
]
}
],
"unspecified-properties-position": "bottomAlphabetical"
}

391
.stylelintrc Normal file
View File

@@ -0,0 +1,391 @@
{
"plugins": [
"stylelint-order"
],
"ignoreFiles": [
"./phpBB/styles/prosilver/theme/normalize.css",
],
"rules": {
"at-rule-name-case": "lower",
"at-rule-name-newline-after": "always-multi-line",
"at-rule-name-space-after": "always-single-line",
"at-rule-no-vendor-prefix": true,
"at-rule-semicolon-newline-after": "always",
"block-closing-brace-newline-after": [
"always", {
"ignoreAtRules": ["if", "else"]
}
],
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-before": "always-single-line",
"block-no-empty": true,
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-hex-length": "long",
"color-named": "never",
"color-no-invalid-hex": true,
"comment-empty-line-before": [
"always", {
"except": ["first-nested"],
"ignore": ["stylelint-commands"]
}
],
"comment-whitespace-inside": "always",
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-newline-before": "never-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-block-semicolon-space-before": "never",
"declaration-block-trailing-semicolon": "always",
"declaration-block-single-line-max-declarations": 1,
"declaration-block-no-duplicate-properties": [
true, {
"ignore": ["consecutive-duplicates-with-different-values"]
}
],
"declaration-colon-newline-after": "always-multi-line",
"declaration-colon-space-after": "always-single-line",
"declaration-colon-space-before": "never",
"declaration-empty-line-before": "never",
"declaration-property-unit-blacklist": {
"line-height": ["rem", "em", "%"]
},
"declaration-property-unit-whitelist": {
"height": ["px", "%", "vh"],
"width": ["px", "%", "vw"],
"font-size": ["px", "rem", "%"],
"margin-left": ["px", "rem", "%"],
"margin-right": ["px", "rem", "%"],
"margin-top": ["px", "rem", "%"],
"margin-bottom": ["px", "rem", "%"],
"padding-left": ["px", "rem"],
"padding-right": ["px", "rem"],
"padding-top": ["px", "rem"],
"padding-bottom": ["px", "rem"],
"letter-spacing": ["em"],
"word-spacing": ["em"]
},
"font-family-name-quotes": "always-where-recommended",
"function-calc-no-unspaced-operator": true,
"function-comma-newline-after": "never-multi-line",
"function-comma-newline-before": "never-multi-line",
"function-comma-space-after": "always-single-line",
"function-comma-space-before": "never-single-line",
"function-linear-gradient-no-nonstandard-direction": true,
"function-max-empty-lines": 5,
"function-name-case": "lower",
"function-parentheses-newline-inside": "always-multi-line",
"function-parentheses-space-inside": "never-single-line",
"function-url-quotes": "always",
"function-whitespace-after": "always",
"indentation": "tab",
"length-zero-no-unit": true,
"max-empty-lines": 10,
"max-line-length": 180,
"max-nesting-depth": 4,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-case": "lower",
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": "always",
"media-feature-range-operator-space-before": "always",
"media-query-list-comma-newline-after": "always-multi-line",
"media-query-list-comma-newline-before": "never-multi-line",
"media-query-list-comma-space-after": "always-single-line",
"media-query-list-comma-space-before": "never",
"no-duplicate-selectors": true,
"no-empty-source": true,
"no-eol-whitespace": true,
"no-extra-semicolons": true,
"no-missing-end-of-source-newline": true,
"no-unknown-animations": true,
"number-leading-zero": "always",
"number-max-precision": 10,
"number-no-trailing-zeros": true,
"property-case": "lower",
"property-no-unknown": true,
"rule-empty-line-before": ["always-multi-line", {
"ignore": ["after-comment"],
"except": ["first-nested"]
}],
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-attribute-quotes": "always",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-list-comma-newline-after": "always",
"selector-list-comma-space-before": "never",
"selector-max-empty-lines": 5,
"selector-max-compound-selectors": 5,
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-colon-notation": "single",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"selector-type-no-unknown": true,
"selector-descendant-combinator-no-non-space": true,
"selector-max-id": 0,
"selector-no-qualifying-type": [
true, {
"ignore": ["attribute"]
}
],
"shorthand-property-no-redundant-values": true,
"string-no-newline": true,
"string-quotes": "double",
"unit-case": "lower",
"unit-no-unknown": true,
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-newline-before": "never-multi-line",
"value-list-comma-space-after": "always-single-line",
"value-list-comma-space-before": "never",
"order/declaration-block-order": [
"custom-properties",
"dollar-variables",
{
"type": "at-rule",
"name": "include"
},
"declarations",
"rules",
{
"type": "at-rule",
"name": "media"
}
],
"order/declaration-block-properties-specified-order": [
[
"font",
"font-family",
"font-size",
"font-weight",
"font-style",
"font-variant",
"font-size-adjust",
"font-stretch",
"font-effect",
"font-emphasize",
"font-emphasize-position",
"font-emphasize-style",
"font-smooth",
"font-smoothing",
"line-height",
"text-align",
"text-align-last",
"vertical-align",
"white-space",
"text-decoration",
"text-emphasis",
"text-emphasis-color",
"text-emphasis-style",
"text-emphasis-position",
"text-indent",
"text-justify",
"letter-spacing",
"word-spacing",
"writing-mode",
"text-outline",
"text-transform",
"text-size-adjust",
"text-wrap",
"text-overflow",
"text-overflow-ellipsis",
"text-overflow-mode",
"word-wrap",
"word-break",
"tab-size",
"hyphens",
"background",
"background-color",
"background-image",
"background-repeat",
"background-attachment",
"background-position",
"background-position-x",
"background-position-y",
"background-clip",
"background-origin",
"background-size",
"interpolation-mode",
"filter",
"border",
"border-width",
"border-style",
"border-color",
"border-top",
"border-top-width",
"border-top-style",
"border-top-color",
"border-right",
"border-right-width",
"border-right-style",
"border-right-color",
"border-bottom",
"border-bottom-width",
"border-bottom-style",
"border-bottom-color",
"border-left",
"border-left-width",
"border-left-style",
"border-left-color",
"border-radius",
"border-top-left-radius",
"border-top-right-radius",
"border-bottom-right-radius",
"border-bottom-left-radius",
"border-image",
"border-image-source",
"border-image-slice",
"border-image-width",
"border-image-outset",
"border-image-repeat",
"outline",
"outline-width",
"outline-style",
"outline-color",
"outline-offset",
"tap-highlight-color",
"box-decoration-break",
"box-shadow",
"text-shadow",
"color",
"opacity",
"position",
"z-index",
"top",
"right",
"bottom",
"left",
"display",
"visibility",
"float",
"clear",
"overflow",
"overflow-x",
"overflow-y",
"overflow-scrolling",
"clip",
"zoom",
"flex",
"flex-direction",
"flex-order",
"flex-pack",
"flex-align",
"flex-basis",
"flex-grow",
"flex-shrink",
"flex-wrap",
"justify-content",
"align-items",
"align-self",
"box-sizing",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left",
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left",
"table-layout",
"empty-cells",
"caption-side",
"border-spacing",
"border-collapse",
"list-style",
"list-style-position",
"list-style-type",
"list-style-image",
"content",
"quotes",
"counter-reset",
"counter-increment",
"resize",
"cursor",
"touch-callout",
"touch-action",
"user-select",
"nav-index",
"nav-up",
"nav-right",
"nav-down",
"nav-left",
"transition",
"transition-delay",
"transition-timing-function",
"transition-duration",
"transition-property",
"transform",
"transform-origin",
"animation",
"animation-name",
"animation-duration",
"animation-play-state",
"animation-timing-function",
"animation-delay",
"animation-iteration-count",
"animation-direction",
"pointer-events"
],
{ unspecified: "bottomAlphabetical" }
]
}
}

View File

@@ -1,38 +1,40 @@
language: php
sudo: required
dist: precise
matrix:
include:
- php: 5.4
env: DB=none;NOTESTS=1
- php: 5.4
env: DB=mysqli # MyISAM
- php: 5.4
env: DB=mysql
- php: 5.4
env: DB=mariadb
- php: 5.4
env: DB=postgres
- php: 5.4
env: DB=sqlite3
- php: 5.4
env: DB=mysqli;SLOWTESTS=1
- php: 5.5
env: DB=mysqli
- php: 5.6
env: DB=mysqli
env: DB=none;NOTESTS=1
- php: 5.6
env: DB=mariadb
- php: 5.6
env: DB=postgres
- php: 5.6
env: DB=sqlite3
- php: 5.6
env: DB=mysqli;SLOWTESTS=1
- php: 5.6
env: DB=mysqli # MyISAM
- php: 5.6
env: DB=mysql
- php: 7.0
env: DB=mysqli
- php: 7.1
env: DB=mysqli
- php: nightly
- php: 7.2
env: DB=mysqli
- php: hhvm
- php: nightly
env: DB=mysqli
allow_failures:
- php: hhvm
- php: nightly
fast_finish: true
addons:
apt:
sources:
- node
services:
- redis-server
@@ -48,7 +50,8 @@ script:
- travis/check-sami-parse-errors.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
- travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
- travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION $NOTESTS ./
- travis/check-stylesheet.sh $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 --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.1" />
<property name="prevversion" value="3.2.0" />
<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.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.1-RC1" />
<property name="newversion" value="3.3.0-a1-dev" />
<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}" />
@@ -95,6 +95,7 @@
--ignore=${project.basedir}/phpBB/install/database_update.php
--ignore=${project.basedir}/phpBB/phpbb/*
--ignore=${project.basedir}/phpBB/vendor/*
--ignore=${project.basedir}/phpBB/vendor-ext/*
phpBB"
dir="." returnProperty="retval-php-legacy" passthru="true" />
<exec command="phpBB/vendor/bin/phpcs

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'));

Binary file not shown.

71
gulpfile.js Normal file
View File

@@ -0,0 +1,71 @@
'use strict';
const del = require('del');
const gulp = require('gulp');
const autoprefixer = require('gulp-autoprefixer');
const sass = require('gulp-sass');
const rename = require('gulp-rename');
const sourcemaps = require('gulp-sourcemaps');
const cssnano = require('gulp-cssnano');
const postcss = require('gulp-postcss');
const stylefmt = require('gulp-stylefmt');
const sorting = require('postcss-sorting');
const atimport = require('postcss-import');
const torem = require('postcss-pxtorem');
const sortOrder = require('./.postcss-sorting.json');
const pkg = require('./package.json');
// Config
const build = {
css: './phpBB/styles/prosilver/theme/',
};
const AUTOPREFIXER_BROWSERS = [
'> 1%',
'last 2 versions'
];
gulp.task('css', () => {
const css = gulp
.src(build.css + '*.css')
.pipe(autoprefixer(AUTOPREFIXER_BROWSERS))
.pipe(
postcss([
sorting(sortOrder)
])
)
.pipe(stylefmt())
.pipe(gulp.dest(build.css));
return css;
});
gulp.task('clean', () => {
del(['dist']);
});
gulp.task('minify', () => {
const css = gulp
.src(build.css + '/bidi.css')
.pipe(sourcemaps.init())
.pipe(
postcss([
atimport()
])
)
.pipe(cssnano())
.pipe(rename({
suffix: '.min',
extname: '.css'
}))
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest(build.css));
return css;
});
gulp.task('watch', () => {
gulp.watch('phpBB/styles/prosilver/theme/*.css', ['css']);
});
gulp.task('default', ['css', 'watch']);

52
package.json Normal file
View File

@@ -0,0 +1,52 @@
{
"name": "phpbb",
"version": "3.3.0-dev",
"description": "phpBB Forum Software application",
"main": " ",
"directories": {
"doc": "docs"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/phpbb/phpbb.git"
},
"browserslist": [
"> 1%",
"last 2 versions"
],
"keywords": [
"phpBB",
"phpbb",
"forum",
"php",
"software",
"community"
],
"author": "",
"license": "GPL-2.0",
"bugs": {
"url": "https://tracker.phpbb.com"
},
"homepage": "https://www.phpbb.com",
"devDependencies": {
"stylelint": "8.0.0",
"stylelint-order": "0.3.0"
},
"dependencies": {
"del": "^3.0.0",
"gulp": "^3.9.1",
"gulp-autoprefixer": "^4.0.0",
"gulp-cssnano": "^2.1.2",
"gulp-postcss": "^7.0.0",
"gulp-rename": "^1.2.2",
"gulp-sass": "^3.1.0",
"gulp-sourcemaps": "^2.6.1",
"gulp-stylefmt": "^1.1.0",
"postcss-import": "^11.0.0",
"postcss-pxtorem": "^4.0.1",
"postcss-sorting": "^3.0.2"
}
}

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

@@ -0,0 +1,130 @@
{% include('overall_header.html') %}
<a id="maincontent"></a>
<h1>{{ lang( 'EXTENSIONS_CATALOG') }}</h1>
<p>{{ lang( 'EXTENSIONS_CATALOG_EXPLAIN') }}</p>
<fieldset class="quick quick-left">
<span class="small"><a href="https://www.phpbb.com/go/customise/extensions/{{ PHPBB_MAJOR }}" target="_blank">{{ lang('BROWSE_EXTENSIONS_DATABASE') }}</a> &bull; <a href="javascript:phpbb.toggleDisplay('catalog_settings');">{{ lang('SETTINGS') }}</a></span>
</fieldset>
{% if pagination is defined %}
<div class="pagination top-pagination">
{% include('pagination.html') %}
</div>
{% endif %}
<form id="catalog_settings" method="post" action="{{ U_ACTION }}" style="display:none">
<fieldset style="clear: both;">
<legend>{{ lang('EXTENSIONS_CATALOG_SETTINGS') }}</legend>
<dl>
<dt><label for="enable_on_install">{{ lang('ENABLE_ON_INSTALL') }}{{ lang('COLON') }}</label></dt>
<dd>
<label><input type="radio" id="enable_on_install" name="enable_on_install" class="radio" value="1"{% if settings.enable_on_install %} checked="checked" {% endif %} /> {{ lang('YES') }}</label>
<label><input type="radio" name="enable_on_install" class="radio" value="0"{% if not settings.enable_on_install %} checked="checked" {% endif %} /> {{ lang('NO') }}</label>
</dd>
</dl>
<dl>
<dt><label for="purge_on_remove">{{ lang('PURGE_ON_REMOVE') }}{{ lang('COLON') }}</label></dt>
<dd>
<label><input type="radio" id="purge_on_remove" name="purge_on_remove" class="radio" value="1"{% if settings.purge_on_remove %} checked="checked" {% endif %} /> {{ lang('YES') }}</label>
<label><input type="radio" name="purge_on_remove" class="radio" value="0"{% if not settings.purge_on_remove %} checked="checked" {% endif %} /> {{ lang('NO') }}</label>
</dd>
</dl>
<dl>
<dt>
<label for="repositories">{{ lang('COMPOSER_REPOSITORIES') }}{{ lang('COLON') }}</label><br />
<span class="explain">
{{ lang('COMPOSER_REPOSITORIES_EXPLAIN') }}
</span>
</dt>
<dd>
<textarea id="repositories" name="repositories" rows="5" cols="30">{{ settings.repositories|join('\n') }}</textarea>
</dd>
</dl>
<dl>
<dt>
<label for="enable_packagist">{{ lang('ENABLE_PACKAGIST') }}{{ lang('COLON') }}</label><br />
<span class="explain">
<strong class="error">{{ lang('WARNING') }}{{ lang('COLON') }}</strong> {{ lang('ENABLE_PACKAGIST_EXPLAIN') }}
</span>
</dt>
<dd>
<label><input type="radio" id="enable_packagist" name="enable_packagist" class="radio" value="1"{% if settings.enable_packagist %} checked="checked" {% endif %} /> {{ lang('YES') }}</label>
<label><input type="radio" name="enable_packagist" class="radio" value="0"{% if not settings.enable_packagist %} checked="checked" {% endif %} /> {{ lang('NO') }}</label>
</dd>
</dl>
<dl>
<dt>
<label for="minimum_stability">{{ lang('COMPOSER_MINIMUM_STABILITY') }}{{ lang('COLON') }}</label><br />
<span class="explain">
<strong class="error">{{ lang('WARNING') }}{{ lang('COLON') }}</strong> {{ lang('COMPOSER_MINIMUM_STABILITY_EXPLAIN') }}
</span>
</dt>
<dd>
<select id="minimum_stability" name="minimum_stability">
{% for stability in settings.stabilities %}
<option value="{{ stability }}"{% if stability === settings.minimum_stability %} selected='selected'{% endif %}>{{ lang('STABILITY_' ~ stability|upper) }}</option>
{% endfor %}
</select>
</dd>
</dl>
<p class="submit-buttons">
<input class="button1" type="submit" name="update" value="{{ lang('SUBMIT') }}" />&nbsp;
<input class="button2" type="reset" name="reset" value="{{ lang('RESET') }}" />
<input type="hidden" name="action" value="set_catalog_settings" />
{{ S_FORM_TOKEN }}
</p>
</fieldset>
</form>
{% if extensions is empty %}
<tr>
<td colspan="4"><div class="errorbox notice">{{ lang('NO_EXTENSION_AVAILABLE') }}</div></td>
</tr>
{% else %}
<table class="table1">
<col class="row1" ><col class="row1" ><col class="row1" ><col class="row2" >
<thead>
<tr>
<th style="width: 25%;">{{ lang("EXTENSION_NAME") }}</th>
<th style="text-align: center; width: 10%;">{{ lang("VERSION") }}</th>
<th>{{ lang("DESCRIPTION") }}</th>
<th style="text-align: center; width: 15%;">{{ lang("EXTENSION_ACTIONS") }}</th>
</tr>
</thead>
<tbody>
{% for extension in extensions %}
<tr>
<td>
<strong>{{ extension.display_name }}</strong><br />
{{ extension.name }}
</td>
<td style="text-align: center">{{ extension.version }}</td>
<td>{{ extension.description }} &bull; <a href="{{ extension.url }}">{{ lang('HOMEPAGE') }}</a></td>
<td style="text-align: center">
{% if extension.name in managed_extensions %}
<span style="color: #228822;">{{ lang('INSTALLED') }}</span>
{% elseif extension.name in installed_extensions -%}
<span style="color: #BC2A4D;">{{ lang('INSTALLED_MANUALLY') }}</span>
(<a href="{{ U_ACTION }}&amp;action=manage&amp;extension={{ extension.composer_name|url_encode }}">{{ lang('MANAGE') }}</a>)
{% elseif not enabled -%}
<a href="{{ U_ACTION }}&amp;action=install&amp;extension={{ extension.composer_name|url_encode }}">{{ lang('INSTALL') }}</a>
{%- endif -%}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
{% if pagination is defined %}
<div class="pagination bottom-pagination">
{% include('pagination.html') %}
</div>
{% endif %}
{% 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="{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">
@@ -51,7 +51,8 @@
<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 -->
@@ -59,7 +60,7 @@
<td style="text-align: center;"><a href="{enabled.U_DETAILS}">{L_DETAILS}</a></td>
<td style="text-align: center;">
<!-- BEGIN actions -->
<a href="{enabled.actions.U_ACTION}"<!-- IF enabled.actions.L_ACTION_EXPLAIN --> title="{enabled.actions.L_ACTION_EXPLAIN}"<!-- ENDIF -->>{enabled.actions.L_ACTION}</a>
<a href="{enabled.actions.U_ACTION}"<!-- IF enabled.actions.L_ACTION_EXPLAIN --> title="{enabled.actions.L_ACTION_EXPLAIN}"<!-- ENDIF --><!-- IF enabled.actions.COLOR --> style="color: {enabled.actions.COLOR};"<!-- ENDIF -->>{enabled.actions.L_ACTION}</a>
<!-- IF not enabled.actions.S_LAST_ROW -->&nbsp;|&nbsp;<!-- ENDIF -->
<!-- END actions -->
</td>
@@ -76,7 +77,8 @@
<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 -->
@@ -86,7 +88,7 @@
</td>
<td style="text-align: center;">
<!-- BEGIN actions -->
<a href="{disabled.actions.U_ACTION}"<!-- IF disabled.actions.L_ACTION_EXPLAIN --> title="{disabled.actions.L_ACTION_EXPLAIN}"<!-- ENDIF -->>{disabled.actions.L_ACTION}</a>
<a href="{disabled.actions.U_ACTION}"<!-- IF disabled.actions.L_ACTION_EXPLAIN --> title="{disabled.actions.L_ACTION_EXPLAIN}"<!-- ENDIF --><!-- IF disabled.actions.COLOR --> style="color: {disabled.actions.COLOR};"<!-- ENDIF -->>{disabled.actions.L_ACTION}</a>
<!-- IF not disabled.actions.S_LAST_ROW -->&nbsp;|&nbsp;<!-- ENDIF -->
<!-- END actions -->
</td>

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

@@ -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

@@ -153,8 +153,14 @@
<td><strong>{PHP_VERSION_INFO}</strong></td>
<!-- IF S_TOTAL_ORPHAN -->
<td>{L_NUMBER_ORPHAN}{L_COLON} </td>
<td><strong>{TOTAL_ORPHAN}</strong></td>
<!-- ELSE -->
<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 -->

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

@@ -0,0 +1,76 @@
{% include 'overall_header.html' %}
<a id="maincontent"></a>
<h1>{{ lang('STORAGE_TITLE') }}</h1>
<p>{{ lang('STORAGE_TITLE_EXPLAIN') }}</p>
<form id="acp_storage" method="post" action="{{ U_ACTION }}">
{% for storage in STORAGES %}
<fieldset>
<legend>{{ lang('STORAGE_' ~ storage.get_name | upper ~ '_TITLE') }}</legend>
<dl>
<dt><label for="{{ storage.get_name }}">{{ lang('STORAGE_SELECT') }}{{ lang('COLON') }}</label><br /><span>{{ lang('STORAGE_SELECT_DESC') }}</span></dt>
<dd>
<select id="{{ storage.get_name }}" name="{{ storage.get_name }}[provider]" data-togglable-settings="true">
{% for provider in PROVIDERS if provider.is_available %}
<option value="{{ get_class(provider) }}"{{ attribute(config, 'storage\\' ~ storage.get_name ~ '\\provider') == get_class(provider) ? ' selected' : '' }} data-toggle-setting="#{{ storage.get_name }}_{{ provider.get_name }}_settings">
{{ lang('STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_NAME') }}
</option>
{% endfor %}
</select>
</dd>
</dl>
</fieldset>
{% for provider in PROVIDERS if provider.is_available %}
<fieldset id="{{ storage.get_name }}_{{ provider.get_name }}_settings">
<legend>{{ lang('STORAGE_' ~ storage.get_name | upper ~ '_TITLE') }} - {{ lang('STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_NAME') }}</legend>
{% for name, options in provider.get_options %}
{% set title = 'STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_OPTION_' ~ name | upper %}
{% set description = 'STORAGE_ADAPTER_' ~ provider.get_name | upper ~ '_OPTION_' ~ name | upper ~ '_EXPLAIN' %}
{% set input_id = storage.get_name ~ '_' ~ provider.get_name ~ '_' ~ name %}
{% set input_type = options['type'] %}
{% set input_name = storage.get_name ~ '[' ~ name ~ ']' %}
{% set input_value = attribute(config, 'storage\\' ~ storage.get_name ~ '\\config\\' ~ name) %}
<dl>
<dt>
<label for="{{ input_id }}}">{{ lang(title) }}{{ lang('COLON') }}</label>
{% if lang_defined(description) %}
<br /><span>{{ lang(description) }}</span>
{% endif %}
</dt>
<dd>
{% if input_type in ['text', 'password', 'email'] %}
<input id="{{ input_id }}" type="{{ input_type }}" name="{{ input_name }}" value="{{ input_value }}" maxlength="{{ options['maxlength'] ?: 255 }}" />
{% elseif input_type == 'textarea' %}
<textarea id="{{ input_id }}" name="{{ input_name }}">{{ input_value }}</textarea>
{% elseif input_type == 'radio' %}
{% for option_name, option_value in options['options'] %}
<input type="radio" name="{{ input_name }}" value="{{ option_value }}" class="radio"{% if loop.first %} id="{{ input_id }}"{% endif %}{{ (option_value == input_value) ? ' checked="checked"' }}> {{ lang(option_name) }}
{% endfor %}
{% elseif input_type == 'select' %}
<select name="{{ input_name }}" id="{{ input_id }}">
{% for option_name, option_value in options['options'] %}
<option value="{{ option_value }}"{{ (option_value == input_value) ? ' selected' }}>{{ lang(option_name) }}</option>
{% endfor %}
</select>
{% endif %}
</dd>
</dl>
{% endfor %}
</fieldset>
{% endfor %}
{% endfor %}
<fieldset class="submit-buttons">
<legend>{{ lang('SUBMIT') }}</legend>
<input class="button1" type="submit" id="submit" name="submit" value="{{ lang('SUBMIT') }}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{{ lang('RESET') }}" />
{{ S_FORM_TOKEN }}
</fieldset>
</form>
{% include 'overall_footer.html' %}

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}">
@@ -96,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}
@@ -129,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

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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,14 @@
<!-- INCLUDE overall_header.html -->
<div {% if S_USER_NOTICE %}class="successbox"{% else %}class="errorbox"{% endif %}>
<h3>{{ MESSAGE_TITLE }}</h3>
<p>{{ MESSAGE_TEXT }}</p>
</div>
<div>
<fieldset class="console-output">
<pre>{{ MESSAGE_DETAIL }}</pre>
</fieldset>
</div>
<!-- INCLUDE overall_footer.html -->

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

@@ -20,7 +20,14 @@
<div id="darkenwrapper" data-ajax-error-title="{L_AJAX_ERROR_TITLE}" data-ajax-error-text="{L_AJAX_ERROR_TEXT}" data-ajax-error-text-abort="{L_AJAX_ERROR_TEXT_ABORT}" data-ajax-error-text-timeout="{L_AJAX_ERROR_TEXT_TIMEOUT}" data-ajax-error-text-parsererror="{L_AJAX_ERROR_TEXT_PARSERERROR}">
<div id="darken">&nbsp;</div>
</div>
<div id="loading_indicator"></div>
<div id="loading_indicator" class="loading_indicator">
<div class="loader">
<svg class="spinner" width="48px" height="48px" viewBox="0 0 66 66" xmlns="http://www.w3.org/2000/svg" aria-labelledby="loader-title" role="img">
<title id="loader-title">{L_LOADING}</title>
<circle class="spinner-path" fill="none" stroke-width="6" stroke-linecap="round" cx="33" cy="33" r="30"></circle>
</svg>
</div>
</div>
<div id="phpbb_alert" class="phpbb_alert" data-l-err="{L_ERROR}" data-l-timeout-processing-req="{L_TIMEOUT_PROCESSING_REQ}">
<a href="#" class="alert_close"></a>

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

@@ -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

@@ -27,11 +27,7 @@ phpbb.isTouch = (window && typeof window.ontouchstart !== 'undefined');
*/
phpbb.loadingIndicator = function() {
if (!$loadingIndicator) {
$loadingIndicator = $('<div />', {
id: 'loading_indicator',
class: 'loading_indicator',
});
$loadingIndicator.appendTo('#page-footer');
$loadingIndicator = $('#loading_indicator');
}
if (!$loadingIndicator.is(':visible')) {
@@ -179,7 +175,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) {
@@ -194,9 +190,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);
@@ -1333,6 +1327,8 @@ phpbb.toggleDropdown = function() {
$this.css({
marginLeft: 0,
left: 0,
marginRight: 0,
right: 0,
maxWidth: (windowWidth - 4) + 'px'
});
@@ -1656,7 +1652,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

@@ -71,8 +71,14 @@ require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
register_compatibility_globals();
if (@is_file($phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php'))
{
require_once($phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php');
}
/** @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

@@ -65,8 +65,7 @@ if (!defined('PHPBB_INSTALLED'))
// Eliminate . and .. from the path
require($phpbb_root_path . 'phpbb/filesystem.' . $phpEx);
$phpbb_filesystem = new phpbb\filesystem\filesystem();
$script_path = $phpbb_filesystem->clean_path($script_path);
$script_path = \phpbb\filesystem\helper::clean_path($script_path);
$url = (($secure) ? 'https://' : 'http://') . $server_name;
@@ -136,6 +135,11 @@ require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
register_compatibility_globals();
if (@is_file($phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php'))
{
require_once($phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php');
}
// Add own hook handler
require($phpbb_root_path . 'includes/hooks/index.' . $phpEx);
$phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('template', 'display')));

0
phpBB/composer-ext.json Normal file
View File

0
phpBB/composer-ext.lock Normal file
View File

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",
@@ -25,51 +25,52 @@
"phpbb/phpbb-core": "self.version"
},
"require": {
"php": ">=5.4",
"php": ">=5.6",
"bantu/ini-get-wrapper": "1.0.*",
"composer/composer": "^1.6",
"composer/installers": "^1.4",
"google/recaptcha": "~1.1",
"guzzlehttp/guzzle": "~5.3",
"guzzlehttp/guzzle": "~6.3",
"lusitanian/oauth": "^0.8.1",
"marc1706/fast-image-size": "^1.1",
"paragonie/random_compat": "^1.4",
"patchwork/utf8": "^1.1",
"s9e/text-formatter": "~0.10.0",
"symfony/config": "^2.8",
"symfony/console": "^2.8",
"symfony/debug": "^2.8",
"symfony/dependency-injection": "^2.8",
"symfony/event-dispatcher": "^2.8",
"symfony/filesystem": "^2.8",
"symfony/finder": "^2.8",
"symfony/http-foundation": "^2.8",
"symfony/http-kernel": "^2.8",
"symfony/proxy-manager-bridge": "^2.8",
"symfony/routing": "^2.8",
"symfony/twig-bridge": "^2.8",
"symfony/yaml": "^2.8",
"s9e/text-formatter": "~0.13.0",
"symfony/config": "~3.1",
"symfony/console": "~3.1",
"symfony/debug": "~3.1",
"symfony/dependency-injection": "~3.1",
"symfony/event-dispatcher": "~3.1",
"symfony/filesystem": "~3.1",
"symfony/finder": "~3.1",
"symfony/http-foundation": "~3.1",
"symfony/http-kernel": "~3.1",
"symfony/proxy-manager-bridge": "~3.1",
"symfony/routing": "~3.1",
"symfony/twig-bridge": "~3.1",
"symfony/yaml": "~3.1",
"twig/twig": "^1.0"
},
"require-dev": {
"fabpot/goutte": "~2.0",
"fabpot/goutte": "~3.1",
"facebook/webdriver": "~1.1",
"laravel/homestead": "~2.2",
"laravel/homestead": "~4.0",
"phing/phing": "2.4.*",
"phpunit/dbunit": "1.3.*",
"phpunit/phpunit": "^4.1",
"sami/sami": "1.*",
"phpunit/dbunit": "~2.0",
"phpunit/phpunit": "^5.7",
"squizlabs/php_codesniffer": "2.*",
"symfony/browser-kit": "^2.8",
"symfony/css-selector": "^2.8",
"symfony/dom-crawler": "^2.8"
"symfony/browser-kit": "~3.1",
"symfony/css-selector": "~3.1",
"symfony/dom-crawler": "~3.1"
},
"extra": {
"branch-alias": {
"dev-master": "3.2.x-dev"
"dev-master": "3.3.x-dev"
}
},
"config": {
"platform": {
"php": "5.4"
"php": "5.6"
}
}
}

2424
phpBB/composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -14,6 +14,7 @@ parameters:
# List of default password driver types
passwords.algorithms:
- passwords.driver.argon2i
- passwords.driver.bcrypt_2y
- passwords.driver.bcrypt
- passwords.driver.salted_md5

View File

@@ -8,6 +8,7 @@ imports:
- { resource: services_cron.yml }
- { resource: services_db.yml }
- { resource: services_event.yml }
- { resource: services_extensions.yml }
- { resource: services_feed.yml }
- { resource: services_files.yml }
- { resource: services_filesystem.yml }
@@ -24,6 +25,7 @@ imports:
- { resource: services_profilefield.yml }
- { resource: services_report.yml }
- { resource: services_routing.yml }
- { resource: services_storage.yml }
- { resource: services_text_formatter.yml }
- { resource: services_text_reparser.yml }
- { resource: services_twig.yml }
@@ -98,25 +100,12 @@ services:
- '%core.root_path%'
- '@template'
ext.manager:
class: phpbb\extension\manager
arguments:
- '@service_container'
- '@dbal.conn'
- '@config'
- '@filesystem'
- '%tables.ext%'
- '%core.root_path%'
- '%core.php_ext%'
- '@cache'
file_downloader:
class: phpbb\file_downloader
file_locator:
class: phpbb\routing\file_locator
arguments:
- '@filesystem'
- '%core.root_path%'
group_helper:
@@ -140,7 +129,6 @@ services:
class: phpbb\path_helper
arguments:
- '@symfony_request'
- '@filesystem'
- '@request'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -6,9 +6,8 @@ services:
- '@config'
- '@dbal.conn'
- '@dispatcher'
- '@filesystem'
- '@attachment.resync'
- '%core.root_path%'
- '@storage.attachment'
attachment.manager:
class: phpbb\attachment\manager
@@ -36,5 +35,5 @@ services:
- '@mimetype.guesser'
- '@dispatcher'
- '@plupload'
- '@storage.attachment'
- '@user'
- '%core.root_path%'

View File

@@ -61,11 +61,11 @@ services:
- '@config'
- '%core.root_path%'
- '%core.php_ext%'
- '@filesystem'
- '@storage.avatar'
- '@path_helper'
- '@dispatcher'
- '@files.factory'
- '@cache.driver'
- '@php_ini'
calls:
- [set_name, [avatar.driver.upload]]
tags:

View File

@@ -3,7 +3,6 @@ services:
class: phpbb\console\exception_subscriber
arguments:
- '@language'
- '%debug.exceptions%'
tags:
- { name: kernel.event_subscriber }
@@ -141,6 +140,33 @@ services:
tags:
- { name: console.command }
console.command.extension.install:
class: phpbb\console\command\extension\install
arguments:
- '@user'
- '@ext.composer.manager'
- '@language'
tags:
- { name: console.command }
console.command.extension.list_available:
class: phpbb\console\command\extension\list_available
arguments:
- '@user'
- '@ext.composer.manager'
- '@language'
tags:
- { name: console.command }
console.command.extension.manage:
class: phpbb\console\command\extension\manage
arguments:
- '@user'
- '@ext.composer.manager'
- '@language'
tags:
- { name: console.command }
console.command.extension.purge:
class: phpbb\console\command\extension\purge
arguments:
@@ -150,6 +176,15 @@ services:
tags:
- { name: console.command }
console.command.extension.remove:
class: phpbb\console\command\extension\remove
arguments:
- '@user'
- '@ext.composer.manager'
- '@language'
tags:
- { name: console.command }
console.command.extension.show:
class: phpbb\console\command\extension\show
arguments:
@@ -159,6 +194,15 @@ services:
tags:
- { name: console.command }
console.command.extension.update:
class: phpbb\console\command\extension\update
arguments:
- '@user'
- '@ext.composer.manager'
- '@language'
tags:
- { name: console.command }
console.command.fixup.recalculate_email_hash:
class: phpbb\console\command\fixup\recalculate_email_hash
arguments:

View File

@@ -68,5 +68,3 @@ services:
viewonline_helper:
class: phpbb\viewonline_helper
arguments:
- '@filesystem'

View File

@@ -3,6 +3,7 @@ services:
class: phpbb\cron\manager
arguments:
- '@cron.task_collection'
- '@routing.helper'
- '%core.root_path%'
- '%core.php_ext%'
@@ -13,6 +14,18 @@ services:
- '@config'
- '@dbal.conn'
cron.controller:
class: phpbb\cron\controller\cron
cron.event_listener:
class: phpbb\cron\event\cron_runner_listener
arguments:
- '@cron.lock_db'
- '@cron.manager'
- '@request'
tags:
- { name: kernel.event_subscriber }
# ----- Cron tasks -----
cron.task_collection:
class: phpbb\di\service_collection

View File

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

View File

@@ -0,0 +1,47 @@
services:
ext.manager:
class: phpbb\extension\manager
arguments:
- '@service_container'
- '@dbal.conn'
- '@config'
- '%tables.ext%'
- '%core.root_path%'
- '%core.php_ext%'
- '@cache'
ext.composer.installer:
class: phpbb\composer\installer
arguments:
- '%core.root_path%'
- '@filesystem'
- '@request'
- '@config'
ext.composer.manager:
class: phpbb\composer\extension_manager
arguments:
- '@ext.composer.installer'
- '@cache.driver'
- '@ext.manager'
- '@filesystem'
- phpbb-extension
- EXTENSIONS_
- '%core.root_path%'
- '@config'
style.composer.manager:
class: phpbb\composer\manager
arguments:
- '@ext.composer.installer'
- '@cache.driver'
- phpbb-style
- STYLES_
lang.composer.manager:
class: phpbb\composer\manager
arguments:
- '@ext.composer.installer'
- '@cache.driver'
- phpbb-language
- LANGUAGES_

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

@@ -16,6 +16,16 @@ services:
- '@mimetype.guesser'
- '@plupload'
files.filespec_storage:
class: phpbb\files\filespec_storage
shared: false
arguments:
- '@language'
- '@php_ini'
- '@upload_imagesize'
- '@mimetype.guesser'
- '@plupload'
files.upload:
class: phpbb\files\upload
shared: false
@@ -36,6 +46,16 @@ services:
- '@plupload'
- '@request'
files.types.form_storage:
class: phpbb\files\types\form_storage
shared: false
arguments:
- '@files.factory'
- '@language'
- '@php_ini'
- '@plupload'
- '@request'
files.types.local:
class: phpbb\files\types\local
shared: false
@@ -55,3 +75,14 @@ services:
- '@php_ini'
- '@request'
- '%core.root_path%'
files.types.remote_storage:
class: phpbb\files\types\remote_storage
shared: false
arguments:
- '@config'
- '@files.factory'
- '@language'
- '@php_ini'
- '@request'
- '%core.root_path%'

View File

@@ -1,4 +1,7 @@
parameters:
passwords.driver.argon2_memory_cost: 1024
passwords.driver.argon2_threads: 2
passwords.driver.argon2_time_cost: 2
passwords.driver.bcrypt_cost: 10
services:
@@ -27,6 +30,17 @@ services:
tags:
- { name: service_collection, tag: passwords.driver }
passwords.driver.argon2i:
class: phpbb\passwords\driver\argon2i
arguments:
- '@config'
- '@passwords.driver_helper'
- '%passwords.driver.argon2_memory_cost%'
- '%passwords.driver.argon2_threads%'
- '%passwords.driver.argon2_time_cost%'
tags:
- { name: passwords.driver }
passwords.driver.bcrypt:
class: phpbb\passwords\driver\bcrypt
arguments:

View File

@@ -12,8 +12,6 @@ services:
class: Symfony\Component\HttpKernel\EventListener\RouterListener
arguments:
- '@router'
- null
- null
- '@request_stack'
tags:
- { name: kernel.event_subscriber }
@@ -25,7 +23,6 @@ services:
- '@router'
- '@symfony_request'
- '@request'
- '@filesystem'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -0,0 +1,67 @@
services:
# Storages
storage.attachment:
class: phpbb\storage\storage
arguments:
- '@storage.adapter.factory'
- 'attachment'
tags:
- { name: storage }
storage.avatar:
class: phpbb\storage\storage
arguments:
- '@storage.adapter.factory'
- 'avatar'
tags:
- { name: storage }
# Factory
storage.adapter.factory:
class: phpbb\storage\adapter_factory
arguments:
- '@config'
- '@storage.adapter_collection'
- '@storage.provider_collection'
# Collections
storage.storage_collection:
class: phpbb\di\service_collection
arguments:
- '@service_container'
tags:
- { name: service_collection, tag: storage }
storage.adapter_collection:
class: phpbb\di\service_collection
arguments:
- '@service_container'
tags:
- { name: service_collection, tag: storage.adapter, class_name_aware: true }
storage.provider_collection:
class: phpbb\di\service_collection
arguments:
- '@service_container'
tags:
- { name: service_collection, tag: storage.provider, class_name_aware: true }
# Adapters
storage.adapter.local:
class: phpbb\storage\adapter\local
shared: false
arguments:
- '@filesystem'
- '@upload_imagesize'
- '@mimetype.guesser'
- '%core.root_path%'
tags:
- { name: storage.adapter }
# Providers
storage.provider.local:
class: phpbb\storage\provider\local
arguments:
tags:
- { name: storage.provider }

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

@@ -15,6 +15,7 @@ services:
- []
calls:
- [setLexer, ['@template.twig.lexer']]
- [addGlobal, ['config', '@config']]
template.twig.lexer:
class: phpbb\template\twig\lexer
@@ -24,8 +25,6 @@ services:
template.twig.loader:
class: phpbb\template\twig\loader
arguments:
- '@filesystem'
template.twig.extensions.collection:
class: phpbb\di\service_collection

View File

@@ -0,0 +1,3 @@
phpbb_cron_run:
path: /{cron_type}
defaults: { _controller: cron.controller:handle }

View File

@@ -8,6 +8,10 @@
# instantiate the 'foo_service' service and call the 'method' method.
#
phpbb_cron_routing:
resource: cron.yml
prefix: /cron
phpbb_feed_routing:
resource: feed.yml
prefix: /feed

View File

@@ -11,3 +11,7 @@ core:
debug: true
auto_reload: true
enable_debug_extension: true
extensions:
composer_debug: true
composer_verbose: true

View File

@@ -31,7 +31,6 @@ services:
file_locator:
class: phpbb\routing\file_locator
arguments:
- '@filesystem'
- '%core.root_path%'
kernel_exception_subscriber:
@@ -50,7 +49,6 @@ services:
class: phpbb\path_helper
arguments:
- '@symfony_request'
- '@filesystem'
- '@request'
- '%core.root_path%'
- '%core.php_ext%'

View File

@@ -11,10 +11,11 @@
*
*/
use Symfony\Component\HttpFoundation\RedirectResponse;
/**
*/
define('IN_PHPBB', true);
define('IN_CRON', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
@@ -23,62 +24,14 @@ include($phpbb_root_path . 'common.' . $phpEx);
$user->session_begin(false);
$auth->acl($user->data);
function output_image()
{
// Output transparent gif
header('Cache-Control: no-cache');
header('Content-type: image/gif');
header('Content-length: 43');
echo base64_decode('R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
// Flush here to prevent browser from showing the page as loading while
// running cron.
flush();
}
// Thanks to various fatal errors and lack of try/finally, it is quite easy to leave
// the cron lock locked, especially when working on cron-related code.
//
// Attempt to alleviate the problem by doing setup outside of the lock as much as possible.
$cron_type = $request->variable('cron_type', '');
// Comment this line out for debugging so the page does not return an image.
output_image();
$get_params_array = $request->get_super_global(\phpbb\request\request_interface::GET);
/* @var $cron_lock \phpbb\lock\db */
$cron_lock = $phpbb_container->get('cron.lock_db');
if ($cron_lock->acquire())
{
/* @var $cron \phpbb\cron\manager */
$cron = $phpbb_container->get('cron.manager');
$task = $cron->find_task($cron_type);
if ($task)
{
/**
* This event enables you to catch the task before it runs
*
* @event core.cron_run_before
* @var \phpbb\cron\task\wrapper task Current Cron task
* @since 3.1.8-RC1
*/
$vars = array(
'task',
);
extract($phpbb_dispatcher->trigger_event('core.cron_run_before', compact($vars)));
if ($task->is_parametrized())
{
$task->parse_parameters($request);
}
if ($task->is_ready())
{
$task->run();
}
}
$cron_lock->release();
}
garbage_collection();
/** @var \phpbb\controller\helper $controller_helper */
$controller_helper = $phpbb_container->get('controller.helper');
$response = new RedirectResponse(
$controller_helper->route('phpbb_cron_run', $get_params_array),
301
);
$response->send();

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

@@ -19,7 +19,7 @@ $auth->acl($user->data);
$user->setup();
$echos = 0;
if (!isset($config['avatar_salt']))
{
$cache->purge();
@@ -30,6 +30,11 @@ if (!isset($config['avatar_salt']))
die('database not up to date');
}
if (!isset($config['storage\\avatar\\config\\path']) || $config['storage\\avatar\\config\\path'] !== 'phpbb\\storage\\provider\\local')
{
die('use local provider');
}
// let's start with the users using a group_avatar.
$sql = 'SELECT group_id, group_avatar
FROM ' . GROUPS_TABLE . '
@@ -46,16 +51,16 @@ while ($row = $db->sql_fetchrow($result))
{
$new_avatar_name = adjust_avatar($row['group_avatar'], 'g' . $row['group_id']);
$group_avatars[] = $new_avatar_name;
// failure is probably due to the avatar name already being adjusted
if ($new_avatar_name !== false)
{
$sql = 'UPDATE ' . USERS_TABLE . "
SET user_avatar = '" . $db->sql_escape($new_avatar_name) . "'
WHERE user_avatar = '" . $db->sql_escape($row['group_avatar']) . "'
WHERE user_avatar = '" . $db->sql_escape($row['group_avatar']) . "'
AND user_avatar_type = " . AVATAR_UPLOAD;
$db->sql_query($sql);
$sql = 'UPDATE ' . GROUPS_TABLE . "
SET group_avatar = '" . $db->sql_escape($new_avatar_name) . "'
WHERE group_id = {$row['group_id']}";
@@ -80,8 +85,8 @@ while ($row = $db->sql_fetchrow($result))
$db->sql_freeresult($result);
$sql = 'SELECT user_id, username, user_avatar, user_avatar_type
FROM ' . USERS_TABLE . '
WHERE user_avatar_type = ' . AVATAR_UPLOAD . '
FROM ' . USERS_TABLE . '
WHERE user_avatar_type = ' . AVATAR_UPLOAD . '
AND ' . $db->sql_in_set('user_avatar', $group_avatars, true, true);
$result = $db->sql_query($sql);
@@ -108,7 +113,7 @@ while ($row = $db->sql_fetchrow($result))
$db->sql_query($sql);
echo '<br /> Failed updating user ' . $row['user_id'] . "\n";
}
if ($echos > 200)
{
echo '<br />' . "\n";
@@ -131,8 +136,8 @@ $db->sql_close();
function adjust_avatar($old_name, $midfix)
{
global $config, $phpbb_root_path;
$avatar_path = $phpbb_root_path . $config['avatar_path'];
$avatar_path = $phpbb_root_path . $config['storage\\avatar\\config\\path'];
$extension = strtolower(substr(strrchr($old_name, '.'), 1));
$new_name = $config['avatar_salt'] . '_' . $midfix . '.' . $extension;

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

@@ -44,7 +44,7 @@ require($phpbb_root_path . 'phpbb/class_loader.' . $phpEx);
$phpbb_class_loader = new \phpbb\class_loader('phpbb\\', "{$phpbb_root_path}phpbb/", $phpEx);
$phpbb_class_loader->register();
$finder = new \phpbb\finder(new \phpbb\filesystem\filesystem(), $phpbb_root_path);
$finder = new \phpbb\finder($phpbb_root_path);
$classes = $finder->core_path('phpbb/')
->directory('/db/migration/data')
->get_classes();

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

@@ -62,7 +62,7 @@ echo "USE $dbname;$newline$newline";
@set_time_limit(0);
$finder = new \phpbb\finder(new \phpbb\filesystem\filesystem(), $phpbb_root_path);
$finder = new \phpbb\finder($phpbb_root_path);
$classes = $finder->core_path('phpbb/')
->directory('/db/migration/data')
->get_classes();

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 )
{

View File

@@ -50,6 +50,8 @@
<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>
@@ -57,6 +59,7 @@
<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>
@@ -126,6 +129,201 @@
<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>
@@ -718,6 +916,53 @@
<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>

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]
@@ -79,10 +83,10 @@ prosilver by subBlue Design, Tom Beddard, (c) 2004 phpBB Limited
phpBB contains code from the following applications:
LGPL licenced:
LGPL licensed:
Smarty (c) 2001, 2002 by ispi of Lincoln, Inc, http://smarty.php.net/
GPL licenced:
GPL licensed:
phpMyAdmin (c) 2001, 2003 phpMyAdmin Devel team, http://www.phpmyadmin.net/
Jabber Class (c) 2006 Flyspray.org, http://www.flyspray.org/
Chora (c) 2000-2006, The Horde Project. http://horde.org/chora/
@@ -96,6 +100,6 @@ Pear (c) 2001-2004 PHP Group, http://pear.php.net
Text_Diff-0.2.1 http://pear.php.net/package/Text_Diff
MIT licenced:
MIT licensed:
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>
@@ -269,11 +269,11 @@
<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>
@@ -301,7 +301,7 @@
<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>

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="" />
<meta name="description" content="phpBB 3.2.x Readme" />
<meta name="description" content="phpBB 3.3.x Readme" />
<title>phpBB &bull; Readme</title>
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
@@ -21,7 +21,7 @@
<div id="doc-description">
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
<h1>phpBB 3.2.x Readme</h1>
<h1>phpBB 3.3.x Readme</h1>
<p style="display: none;"><a href="#start_here">Skip</a></p>
</div>
@@ -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.5.9. We recommend that you upgrade to the latest stable release of PHP to run phpBB. The minimum version required is PHP 5.5.9 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

@@ -264,7 +264,6 @@ PHPBB_QA (Set board to QA-Mode, which means the updater also c
<li>{T_SUPER_TEMPLATE_PATH} - styles/xxx/template</li>
<li>{T_IMAGES_PATH} - images/</li>
<li>{T_SMILIES_PATH} - $config['smilies_path']/</li>
<li>{T_AVATAR_PATH} - $config['avatar_path']/</li>
<li>{T_AVATAR_GALLERY_PATH} - $config['avatar_gallery_path']/</li>
<li>{T_ICONS_PATH} - $config['icons_path']/</li>
<li>{T_RANKS_PATH} - $config['ranks_path']/</li>
@@ -627,7 +626,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 +993,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 +1003,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>
@@ -1211,7 +1210,7 @@ parent = prosilver</pre>
&lt;td class=&quot;gensmall&quot;&gt;TEST&lt;/td&gt;
</pre></div>
<p>Try to match text class types with existing useage, e.g. don't use the nav class where viewtopic uses gensmall for example.</p>
<p>Try to match text class types with existing usage, e.g. don't use the nav class where viewtopic uses gensmall for example.</p>
<p>Row colours/classes are now defined by the template, use an <code>IF S_ROW_COUNT</code> switch, see viewtopic or viewforum for an example.</p>
@@ -1223,7 +1222,7 @@ parent = prosilver</pre>
<p>The separate catXXXX and thXXX classes are gone. When defining a header cell just use <code>&lt;th&gt;</code> rather than <code>&lt;th class="thHead"&gt;</code> etc. Similarly for cat, don't use <code>&lt;td class="catLeft"&gt;</code> use <code>&lt;td class="cat"&gt;</code> etc.</p>
<p>Try to retain consistency of basic layout and class useage, i.e. _EXPLAIN text should generally be placed below the title it explains, e.g. <code>{L_POST_USERNAME}&lt;br /&gt;&lt;span class="gensmall"&gt;{L_POST_USERNAME_EXPLAIN}&lt;/span&gt;</code> is the typical way of handling this ... there may be exceptions and this isn't a hard and fast rule.</p>
<p>Try to retain consistency of basic layout and class usage, i.e. _EXPLAIN text should generally be placed below the title it explains, e.g. <code>{L_POST_USERNAME}&lt;br /&gt;&lt;span class="gensmall"&gt;{L_POST_USERNAME_EXPLAIN}&lt;/span&gt;</code> is the typical way of handling this ... there may be exceptions and this isn't a hard and fast rule.</p>
<p>Try to keep template conditional and other statements tabbed in line with the block to which they refer.</p>
@@ -1767,7 +1766,7 @@ This may span multiple lines.
<p>The <a href="http://en.wikipedia.org/wiki/Universal_Character_Set">Universal Character Set (UCS)</a> described in ISO/IEC 10646 consists of a large amount of characters. Each of them has a unique name and a code point which is an integer number. <a href="http://en.wikipedia.org/wiki/Unicode">Unicode</a> - which is an industry standard - complements the Universal Character Set with further information about the characters' properties and alternative character encodings. More information on Unicode can be found on the <a href="http://www.unicode.org/">Unicode Consortium's website</a>. One of the Unicode encodings is the <a href="http://en.wikipedia.org/wiki/UTF-8">8-bit Unicode Transformation Format (UTF-8)</a>. It encodes characters with up to four bytes aiming for maximum compatibility with the <a href="http://en.wikipedia.org/wiki/ASCII">American Standard Code for Information Interchange</a> which is a 7-bit encoding of a relatively small subset of the UCS.</p>
<h4>phpBB's use of Unicode</h4>
<p>Unfortunately PHP does not faciliate the use of Unicode prior to version 6. Most functions simply treat strings as sequences of bytes assuming that each character takes up exactly one byte. This behaviour still allows for storing UTF-8 encoded text in PHP strings but many operations on strings have unexpected results. To circumvent this problem we have created some alternative functions to PHP's native string operations which use code points instead of bytes. These functions can be found in <code>/includes/utf/utf_tools.php</code>. They are also covered in the <a href="http://area51.phpbb.com/docs/code/">phpBB3 Sourcecode Documentation</a>. A lot of native PHP functions still work with UTF-8 as long as you stick to certain restrictions. For example <code>explode</code> still works as long as the first and the last character of the delimiter string are ASCII characters.</p>
<p>Unfortunately PHP does not facilitate the use of Unicode prior to version 6. Most functions simply treat strings as sequences of bytes assuming that each character takes up exactly one byte. This behaviour still allows for storing UTF-8 encoded text in PHP strings but many operations on strings have unexpected results. To circumvent this problem we have created some alternative functions to PHP's native string operations which use code points instead of bytes. These functions can be found in <code>/includes/utf/utf_tools.php</code>. They are also covered in the <a href="http://area51.phpbb.com/docs/code/">phpBB3 Sourcecode Documentation</a>. A lot of native PHP functions still work with UTF-8 as long as you stick to certain restrictions. For example <code>explode</code> still works as long as the first and the last character of the delimiter string are ASCII characters.</p>
<p>phpBB only uses the ASCII and the UTF-8 character encodings. Still all Strings are UTF-8 encoded because ASCII is a subset of UTF-8. The only exceptions to this rule are code sections which deal with external systems which use other encodings and character sets. Such external data should be converted to UTF-8 using the <code>utf8_recode()</code> function supplied with phpBB. It supports a variety of other character sets and encodings, a full list can be found below.</p>
@@ -1848,7 +1847,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
<p>The <abbr title="Internet Engineering Task Force">IETF</abbr> recently published <a href="http://tools.ietf.org/html/rfc4646">RFC 4646</a> for tags used to identify languages, which in combination with <a href="http://tools.ietf.org/html/rfc4647">RFC 4647</a> obseletes the older <a href="http://tools.ietf.org/html/rfc3066">RFC 3006</a> and older-still <a href="http://tools.ietf.org/html/rfc1766">RFC 1766</a>. <a href="http://tools.ietf.org/html/rfc4646">RFC 4646</a> uses <a href="http://www.loc.gov/standards/iso639-2/php/English_list.php">ISO 639-1/ISO 639-2</a>, <a href="http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html">ISO 3166-1 alpha-2</a>, <a href="http://www.unicode.org/iso15924/iso15924-codes.html">ISO 15924</a> and <a href="http://unstats.un.org/unsd/methods/m49/m49.htm">UN M.49</a> to define a language tag. Each complete tag is composed of subtags which are not case sensitive and can also be empty.</p>
<p>Ordering of the subtags in the case that they are all non-empty is: <code>language</code>-<code>script</code>-<code>region</code>-<code>variant</code>-<code>extension</code>-<code>privateuse</code>. Should any subtag be empty, its corresponding hyphen would also be ommited. Thus, the language tag for English will be <code>en</code> <strong>and not</strong> <code>en-----</code>.</p>
<p>Ordering of the subtags in the case that they are all non-empty is: <code>language</code>-<code>script</code>-<code>region</code>-<code>variant</code>-<code>extension</code>-<code>privateuse</code>. Should any subtag be empty, its corresponding hyphen would also be omitted. Thus, the language tag for English will be <code>en</code> <strong>and not</strong> <code>en-----</code>.</p>
<p>Most language tags consist of a two- or three-letter language subtag (from <a href="http://www.loc.gov/standards/iso639-2/php/English_list.php">ISO 639-1/ISO 639-2</a>). Sometimes, this is followed by a two-letter or three-digit region subtag (from <a href="http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html">ISO 3166-1 alpha-2</a> or <a href="http://unstats.un.org/unsd/methods/m49/m49.htm">UN M.49</a>). Some examples are:</p>
@@ -1902,7 +1901,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
<p>The ultimate aim of a language tag is to convey the needed <strong>useful distingushing information</strong>, whilst keeping it as <strong>short as possible</strong>. So for example, use <code>en</code>, <code>fr</code> and <code>ja</code> as opposed to <code>en-GB</code>, <code>fr-FR</code> and <code>ja-JP</code>, since we know English, French and Japanese are the native language of Great Britain, France and Japan respectively.</p>
<p>Next is the <a href="http://www.unicode.org/iso15924/iso15924-codes.html">ISO 15924</a> language script code and when one should or shouldn't use it. For example, whilst <code>en-Latn</code> is syntaxically correct for describing English written with Latin script, real world English writing is <strong>more-or-less exclusively in the Latin script</strong>. For such languages like English that are written in a single script, the <a href="http://www.iana.org/assignments/language-subtag-registry"><abbr title="Internet Assigned Numbers Authority">IANA</abbr> Language Subtag Registry</a> has a "Suppress-Script" field meaning the script code <strong>should be ommitted</strong> unless a specific language tag requires a specific script code. Some languages are <strong>written in more than one script</strong> and in such cases, the script code <strong>is encouraged</strong> since an end-user may be able to read their language in one script, but not the other. Some examples are:</p>
<p>Next is the <a href="http://www.unicode.org/iso15924/iso15924-codes.html">ISO 15924</a> language script code and when one should or shouldn't use it. For example, whilst <code>en-Latn</code> is syntaxically correct for describing English written with Latin script, real world English writing is <strong>more-or-less exclusively in the Latin script</strong>. For such languages like English that are written in a single script, the <a href="http://www.iana.org/assignments/language-subtag-registry"><abbr title="Internet Assigned Numbers Authority">IANA</abbr> Language Subtag Registry</a> has a "Suppress-Script" field meaning the script code <strong>should be omitted</strong> unless a specific language tag requires a specific script code. Some languages are <strong>written in more than one script</strong> and in such cases, the script code <strong>is encouraged</strong> since an end-user may be able to read their language in one script, but not the other. Some examples are:</p>
<table>
<caption>Examples of using a language subtag in combination with a script subtag</caption>
@@ -1967,7 +1966,7 @@ if (utf8_case_fold_nfc($string1) == utf8_case_fold_nfc($string2))
</tbody>
</table>
<p>Usage of the three-digit <a href="http://unstats.un.org/unsd/methods/m49/m49.htm">UN M.49</a> code over the two-letter <a href="http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html">ISO 3166-1 alpha-2</a> code should hapen if a macro-geographical entity is required and/or the <a href="http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html">ISO 3166-1 alpha-2</a> is ambiguous.</p>
<p>Usage of the three-digit <a href="http://unstats.un.org/unsd/methods/m49/m49.htm">UN M.49</a> code over the two-letter <a href="http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html">ISO 3166-1 alpha-2</a> code should happen if a macro-geographical entity is required and/or the <a href="http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html">ISO 3166-1 alpha-2</a> is ambiguous.</p>
<p>Examples of English using marco-geographical regions:</p>
@@ -2387,7 +2386,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

@@ -164,13 +164,13 @@ acp_group_options_before
===
* Location: adm/style/acp_groups.html
* Since: 3.1.0-b4
* Purpose: Add addtional options to group settings (before GROUP_FOUNDER_MANAGE)
* Purpose: Add additional options to group settings (before GROUP_FOUNDER_MANAGE)
acp_group_options_after
===
* Location: adm/style/acp_groups.html
* Since: 3.1.0-b4
* Purpose: Add addtional options to group settings (after GROUP_RECEIVE_PM)
* Purpose: Add additional options to group settings (after GROUP_RECEIVE_PM)
acp_groups_find_username_append
===
@@ -433,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:
@@ -498,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:
@@ -666,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:
@@ -946,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:
@@ -1483,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:
@@ -2671,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

@@ -3,17 +3,8 @@
# from your system's lighttpd.conf.
# Tested with lighttpd 1.4.35
# If you want to use the X-Sendfile feature,
# uncomment the 'allow-x-send-file' for the fastcgi
# server below and add the following to your config.php
#
# define('PHPBB_ENABLE_X_SENDFILE', true);
#
# See http://blog.lighttpd.net/articles/2006/07/02/x-sendfile
# for the details on X-Sendfile.
# Load moules
server.modules += (
server.modules += (
"mod_access",
"mod_fastcgi",
"mod_rewrite",
@@ -32,11 +23,11 @@ $HTTP["host"] == "www.myforums.com" {
server.name = "www.myforums.com"
server.document-root = "/path/to/phpbb"
server.dir-listing = "disable"
index-file.names = ( "index.php", "index.htm", "index.html" )
accesslog.filename = "/var/log/lighttpd/access-www.myforums.com.log"
# Deny access to internal phpbb files.
# Deny access to internal phpbb files.
$HTTP["url"] =~ "^/(config\.php|common\.php|cache|files|images/avatars/upload|includes|phpbb|store|vendor)" {
url.access-deny = ( "" )
}
@@ -45,12 +36,12 @@ $HTTP["host"] == "www.myforums.com" {
$HTTP["url"] =~ "/\.svn|/\.git" {
url.access-deny = ( "" )
}
# Deny access to apache configuration files.
$HTTP["url"] =~ "/\.htaccess|/\.htpasswd|/\.htgroups" {
url.access-deny = ( "" )
}
# The following 3 lines will rewrite URLs passed through the front controller
# to not require app.php in the actual URL. In other words, a controller is
# by default accessed at /app.php/my/controller, but can also be accessed at
@@ -58,14 +49,14 @@ $HTTP["host"] == "www.myforums.com" {
url.rewrite-if-not-file = (
"^/(.*)$" => "/app.php/$1"
)
fastcgi.server = ( ".php" =>
fastcgi.server = ( ".php" =>
((
"bin-path" => "/usr/bin/php-cgi",
"socket" => "/tmp/php.socket",
"max-procs" => 4,
"idle-timeout" => 30,
"bin-environment" => (
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "10",
"PHP_FCGI_MAX_REQUESTS" => "10000"
),

View File

@@ -3,14 +3,6 @@
# from your system's nginx.conf.
# Tested with nginx 0.8.35.
# If you want to use the X-Accel-Redirect feature,
# add the following to your config.php.
#
# define('PHPBB_ENABLE_X_ACCEL_REDIRECT', true);
#
# See http://wiki.nginx.org/XSendfile for the details
# on X-Accel-Redirect.
http {
# Compression - requires gzip and gzip static modules.
gzip on;
@@ -18,11 +10,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 +41,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 +62,7 @@ http {
}
# Deny access to internal phpbb files.
location ~ /(config\.php|common\.php|cache|files|images/avatars/upload|includes|phpbb|store|vendor) {
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

@@ -99,6 +99,11 @@ if (isset($_GET['avatar']))
/* @var $phpbb_avatar_manager \phpbb\avatar\manager */
$phpbb_avatar_manager = $phpbb_container->get('avatar.manager');
if (@is_file($phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php'))
{
require_once($phpbb_root_path . $config['exts_composer_vendor_dir'] . '/autoload.php');
}
$filename = $request->variable('avatar', '');
$avatar_group = false;
$exit = false;
@@ -159,6 +164,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 +232,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');
@@ -247,7 +254,6 @@ else
}
}
$download_mode = (int) $extensions[$attachment['extension']]['download_mode'];
$display_cat = $extensions[$attachment['extension']]['display_cat'];
if (($display_cat == ATTACHMENT_CATEGORY_IMAGE || $display_cat == ATTACHMENT_CATEGORY_THUMB) && !$user->optionget('viewimg'))
@@ -260,6 +266,8 @@ else
$display_cat = ATTACHMENT_CATEGORY_NONE;
}
$redirect = '';
/**
* Event to modify data before sending file to browser
*
@@ -267,21 +275,22 @@ else
* @var int attach_id The attachment ID
* @var array attachment Array with attachment data
* @var int display_cat Attachment category
* @var int download_mode File extension specific download mode
* @var array extensions Array with file extensions data
* @var string mode Download mode
* @var bool thumbnail Flag indicating if the file is a thumbnail
* @var string redirect Do a redirection instead of reading the file
* @since 3.1.6-RC1
* @changed 3.1.7-RC1 Fixing wrong name of a variable (replacing "extension" by "extensions")
* @changed 3.3.0-a1 Add redirect variable
*/
$vars = array(
'attach_id',
'attachment',
'display_cat',
'download_mode',
'extensions',
'mode',
'thumbnail',
'redirect',
);
extract($phpbb_dispatcher->trigger_event('core.download_file_send_to_browser_before', compact($vars)));
@@ -302,23 +311,15 @@ else
}
else
{
// Determine the 'presenting'-method
if ($download_mode == PHYSICAL_LINK)
if (!empty($redirect))
{
// This presenting method should no longer be used
if (!@is_dir($phpbb_root_path . $config['upload_path']))
{
send_status_line(500, 'Internal Server Error');
trigger_error($user->lang['PHYSICAL_DOWNLOAD_NOT_POSSIBLE']);
}
redirect($phpbb_root_path . $config['upload_path'] . '/' . $attachment['physical_filename']);
file_gc();
redirect($redirect, false, true);
}
else
{
send_file_to_browser($attachment, $config['upload_path'], $display_cat);
file_gc();
send_file_to_browser($attachment, $display_cat);
}
file_gc();
}
}

View File

@@ -147,7 +147,6 @@ class acp_attachments
'allow_attachments' => array('lang' => 'ALLOW_ATTACHMENTS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
'allow_pm_attach' => array('lang' => 'ALLOW_PM_ATTACHMENTS', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
'upload_path' => array('lang' => 'UPLOAD_DIR', 'validate' => 'wpath', 'type' => 'text:25:100', 'explain' => true),
'display_order' => array('lang' => 'DISPLAY_ORDER', 'validate' => 'bool', 'type' => 'custom', 'method' => 'display_order', 'explain' => true),
'attachment_quota' => array('lang' => 'ATTACH_QUOTA', 'validate' => 'string', 'type' => 'custom', 'method' => 'max_filesize', 'explain' => true),
'max_filesize' => array('lang' => 'ATTACH_MAX_FILESIZE', 'validate' => 'string', 'type' => 'custom', 'method' => 'max_filesize', 'explain' => true),
@@ -190,7 +189,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;
}
@@ -223,10 +222,7 @@ class acp_attachments
{
$phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_CONFIG_ATTACH');
// 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 +252,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 +286,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 +359,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 +386,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 +416,7 @@ class acp_attachments
if ($add_extension && $add)
{
if (!sizeof($error))
if (!count($error))
{
$sql = 'SELECT extension_id
FROM ' . EXTENSIONS_TABLE . "
@@ -433,7 +429,7 @@ class acp_attachments
}
$db->sql_freeresult($result);
if (!sizeof($error))
if (!count($error))
{
$sql_ary = array(
'group_id' => $add_extension_group,
@@ -447,7 +443,7 @@ class acp_attachments
}
}
if (!sizeof($error))
if (!count($error))
{
$notify[] = $user->lang['EXTENSIONS_UPDATED'];
}
@@ -558,7 +554,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 +571,7 @@ class acp_attachments
$max_filesize = 0;
}
if (!sizeof($allowed_forums))
if (!count($allowed_forums))
{
$forum_select = false;
}
@@ -590,11 +586,6 @@ class acp_attachments
'allow_in_pm' => ($allow_in_pm) ? 1 : 0,
);
if ($action == 'add')
{
$group_ary['download_mode'] = INLINE_LINK;
}
$sql = ($action == 'add') ? 'INSERT INTO ' . EXTENSION_GROUPS_TABLE . ' ' : 'UPDATE ' . EXTENSION_GROUPS_TABLE . ' SET ';
$sql .= $db->sql_build_array((($action == 'add') ? 'INSERT' : 'UPDATE'), $group_ary);
$sql .= ($action == 'edit') ? " WHERE group_id = $group_id" : '';
@@ -612,7 +603,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 +611,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 +621,7 @@ class acp_attachments
$cache->destroy('_extensions');
if (!sizeof($error))
if (!count($error))
{
$notify[] = $user->lang['SUCCESS_EXTENSION_GROUP_' . strtoupper($action)];
}
@@ -806,7 +797,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 +913,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 +945,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 +965,7 @@ class acp_attachments
}
unset($add_files);
if (sizeof($upload_list))
if (count($upload_list))
{
$template->assign_var('S_UPLOADING_FILES', true);
@@ -1064,13 +1058,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 +1096,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 +1118,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 +1134,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 +1255,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 +1290,7 @@ class acp_attachments
break;
}
if (sizeof($error))
if (count($error))
{
$template->assign_vars(array(
'S_WARNING' => true,
@@ -1274,7 +1298,7 @@ class acp_attachments
);
}
if (sizeof($notify))
if (count($notify))
{
$template->assign_vars(array(
'S_NOTIFY' => true,
@@ -1443,7 +1467,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)
{
@@ -1503,50 +1527,6 @@ class acp_attachments
return $imagick;
}
/**
* Test Settings
*/
function test_upload(&$error, $upload_dir, $create_directory = false)
{
global $user, $phpbb_root_path;
// Does the target directory exist, is it a directory and writable.
if ($create_directory)
{
if (!file_exists($phpbb_root_path . $upload_dir))
{
@mkdir($phpbb_root_path . $upload_dir, 0777);
try
{
$this->filesystem->phpbb_chmod($phpbb_root_path . $upload_dir, CHMOD_READ | CHMOD_WRITE);
}
catch (\phpbb\filesystem\exception\filesystem_exception $e)
{
// Do nothing
}
}
}
if (!file_exists($phpbb_root_path . $upload_dir))
{
$error[] = sprintf($user->lang['NO_UPLOAD_DIR'], $upload_dir);
return;
}
if (!is_dir($phpbb_root_path . $upload_dir))
{
$error[] = sprintf($user->lang['UPLOAD_NOT_DIR'], $upload_dir);
return;
}
if (!$this->filesystem->is_writable($phpbb_root_path . $upload_dir))
{
$error[] = sprintf($user->lang['NO_WRITE_UPLOAD'], $upload_dir);
return;
}
}
/**
* Perform operations on sites for external linking
*/
@@ -1676,7 +1656,7 @@ class acp_attachments
}
$db->sql_freeresult($result);
if (sizeof($iplist))
if (count($iplist))
{
foreach ($iplist as $ip_entry)
{
@@ -1686,7 +1666,7 @@ class acp_attachments
}
}
if (sizeof($hostlist))
if (count($hostlist))
{
foreach ($hostlist as $host_entry)
{
@@ -1709,7 +1689,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

@@ -356,6 +356,7 @@ class acp_board
'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',
@@ -444,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),
@@ -503,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;
}
@@ -532,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 === '********')
@@ -552,7 +546,7 @@ 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)));
}
}
}
@@ -690,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)
@@ -1110,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

@@ -24,23 +24,35 @@ if (!defined('IN_PHPBB'))
class acp_extensions
{
var $u_action;
var $tpl_name;
var $page_title;
public $u_action;
private $db;
/** @var phpbb\config\config */
private $config;
/** @var \phpbb\template\twig\twig */
private $template;
private $user;
private $log;
/** @var \phpbb\request\request */
private $request;
private $phpbb_dispatcher;
private $ext_manager;
function main()
/** @var \phpbb\extension\manager */
private $ext_manager;
private $u_catalog_action;
/** @var string */
private $phpbb_root_path;
function main($id, $mode)
{
// Start the page
global $config, $user, $template, $request, $phpbb_extension_manager, $phpbb_root_path, $phpbb_log, $phpbb_dispatcher;
global $config, $user, $template, $request, $phpbb_extension_manager, $db, $phpbb_log, $phpbb_dispatcher, $phpbb_root_path;
$this->db = $db;
$this->config = $config;
$this->template = $template;
$this->user = $user;
@@ -48,8 +60,24 @@ class acp_extensions
$this->log = $phpbb_log;
$this->phpbb_dispatcher = $phpbb_dispatcher;
$this->ext_manager = $phpbb_extension_manager;
$this->phpbb_root_path = $phpbb_root_path;
$this->user->add_lang(array('install', 'acp/extensions', 'migrator'));
$this->user->add_lang(['install', 'acp/extensions', 'migrator']);
switch ($mode)
{
case 'catalog':
$this->catalog_mode($id, $mode);
break;
default:
$this->main_mode($id, $mode);
break;
}
}
public function main_mode($id, $mode)
{
global $phpbb_extension_manager, $phpbb_container, $phpbb_admin_path, $phpEx;
$this->page_title = 'ACP_EXTENSIONS';
@@ -110,6 +138,8 @@ class acp_extensions
}
}
$this->u_catalog_action = append_sid("{$phpbb_admin_path}index.$phpEx", "i=$id&amp;mode=catalog");
// What are we doing?
switch ($action)
{
@@ -133,7 +163,7 @@ class acp_extensions
$this->config->set('extension_force_unstable', false);
trigger_error($this->user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action));
}
break;
break;
case 'list':
default:
@@ -143,15 +173,27 @@ class acp_extensions
trigger_error($this->user->lang['CONFIG_UPDATED'] . adm_back_link($this->u_action));
}
$this->list_enabled_exts();
$this->list_disabled_exts();
$this->list_available_exts();
/** @var \phpbb\composer\manager $composer_manager */
$composer_manager = $phpbb_container->get('ext.composer.manager');
$managed_packages = [];
if ($composer_manager->check_requirements())
{
$managed_packages = $composer_manager->get_managed_packages();
}
$this->list_enabled_exts($phpbb_extension_manager, $managed_packages);
$this->list_disabled_exts($phpbb_extension_manager, $managed_packages);
$this->list_available_exts($phpbb_extension_manager, $managed_packages);
$this->template->assign_vars(array(
'U_VERSIONCHECK_FORCE' => $this->u_action . '&amp;action=list&amp;versioncheck_force=1',
'FORCE_UNSTABLE' => $this->config['extension_force_unstable'],
'U_ACTION' => $this->u_action,
'MANAGED_EXTENSIONS' => $managed_packages,
'U_CATALOG_ACTION' => $this->u_catalog_action,
));
$this->request->disable_super_globals();
$this->tpl_name = 'acp_ext_list';
break;
@@ -223,7 +265,7 @@ class acp_extensions
'name' => 'adm',
'ext_path' => 'adm/style/',
),
), array($phpbb_root_path . 'adm/style'));
), array($this->phpbb_root_path . 'adm/style'));
$this->log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_EXT_ENABLE', time(), array($ext_name));
}
@@ -391,11 +433,340 @@ class acp_extensions
}
/**
* Lists all the enabled extensions and dumps to the template
*
* @return null
*/
public function list_enabled_exts()
* Handles the catalog mode of the extensions list
*
* @param string $id
* @param string $mode
*/
public function catalog_mode($id, $mode)
{
global $phpbb_container;
$action = $this->request->variable('action', 'list');
/** @var \phpbb\language\language $language */
$language = $phpbb_container->get('language');
/** @var \phpbb\composer\manager $composer_manager */
$composer_manager = $phpbb_container->get('ext.composer.manager');
/** @var \phpbb\extension\manager $extensions_manager */
$extensions_manager = $phpbb_container->get('ext.manager');
if (!$composer_manager->check_requirements())
{
$this->page_title = 'ACP_EXTENSIONS_CATALOG';
$this->tpl_name = 'message_body';
$this->template->assign_vars([
'MESSAGE_TITLE' => $language->lang('EXTENSIONS_CATALOG_NOT_AVAILABLE'),
'MESSAGE_TEXT' => $language->lang('EXTENSIONS_COMPOSER_NOT_WRITABLE'),
]);
return;
}
switch ($action)
{
case 'install':
$this->page_title = 'ACP_EXTENSIONS_INSTALL';
$extension = $this->request->variable('extension', '');
if (empty($extension))
{
redirect($this->u_action);
}
$formatter = new \phpbb\composer\io\html_output_formatter([
'warning' => new \Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'yellow')
]);
$composer_io = new \phpbb\composer\io\web_io($language, '', $phpbb_container->getParameter('extensions.composer.output'), $formatter);
try
{
$composer_manager->install((array) $extension, $composer_io);
}
catch (\phpbb\exception\runtime_exception $e)
{
$this->display_composer_exception($language, $e, $composer_io);
return;
}
$this->tpl_name = 'detailed_message_body';
$this->template->assign_vars(array(
'MESSAGE_TITLE' => $language->lang('ACP_EXTENSIONS_INSTALL'),
'MESSAGE_TEXT' => $language->lang('EXTENSIONS_INSTALLED') . adm_back_link($this->u_action),
'MESSAGE_DETAIL' => $composer_io->getOutput(),
'MESSAGE_DETAIL_LEGEND' => $language->lang('COMPOSER_OUTPUT'),
'S_USER_NOTICE' => true,
)
);
break;
case 'remove':
$this->page_title = 'ACP_EXTENSIONS_REMOVE';
$extension = $this->request->variable('extension', '');
if (empty($extension))
{
redirect($this->u_action);
}
$formatter = new \phpbb\composer\io\html_output_formatter([
'warning' => new \Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'yellow')
]);
$composer_io = new \phpbb\composer\io\web_io($language, '', $phpbb_container->getParameter('extensions.composer.output'), $formatter);
try
{
$composer_manager->remove((array) $extension, $composer_io);
}
catch (\phpbb\exception\runtime_exception $e)
{
$this->display_composer_exception($language, $e, $composer_io);
return;
}
$this->tpl_name = 'detailed_message_body';
$this->template->assign_vars(array(
'MESSAGE_TITLE' => $language->lang('ACP_EXTENSIONS_REMOVE'),
'MESSAGE_TEXT' => $language->lang('EXTENSIONS_REMOVED') . adm_back_link($this->u_action),
'MESSAGE_DETAIL' => $composer_io->getOutput(),
'MESSAGE_DETAIL_LEGEND' => $language->lang('COMPOSER_OUTPUT'),
'S_USER_NOTICE' => true,
)
);
break;
case 'update':
$this->page_title = 'ACP_EXTENSIONS_UPDATE';
$extension = $this->request->variable('extension', '');
if (empty($extension))
{
redirect($this->u_action);
}
$formatter = new \phpbb\composer\io\html_output_formatter([
'warning' => new \Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'yellow')
]);
$composer_io = new \phpbb\composer\io\web_io($language, '', $phpbb_container->getParameter('extensions.composer.output'), $formatter);
try
{
$composer_manager->update((array) $extension, $composer_io);
}
catch (\phpbb\exception\runtime_exception $e)
{
$this->display_composer_exception($language, $e, $composer_io);
return;
}
$this->tpl_name = 'detailed_message_body';
$this->template->assign_vars(array(
'MESSAGE_TITLE' => $language->lang('ACP_EXTENSIONS_UPDATE'),
'MESSAGE_TEXT' => $language->lang('EXTENSIONS_UPDATED') . adm_back_link($this->u_action),
'MESSAGE_DETAIL' => $composer_io->getOutput(),
'MESSAGE_DETAIL_LEGEND' => $language->lang('COMPOSER_OUTPUT'),
'S_USER_NOTICE' => true,
)
);
break;
case 'manage':
$this->page_title = 'ACP_EXTENSIONS_MANAGE';
$extension = $this->request->variable('extension', '');
if (empty($extension))
{
redirect($this->u_action);
}
$formatter = new \phpbb\composer\io\html_output_formatter([
'warning' => new \Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'yellow')
]);
$composer_io = new \phpbb\composer\io\web_io($language, '', $phpbb_container->getParameter('extensions.composer.output'), $formatter);
try
{
$composer_manager->start_managing($extension, $composer_io);
}
catch (\phpbb\exception\runtime_exception $e)
{
$this->display_composer_exception($language, $e, $composer_io);
return;
}
$this->tpl_name = 'detailed_message_body';
$this->template->assign_vars(array(
'MESSAGE_TITLE' => $language->lang('ACP_EXTENSIONS_MANAGE'),
'MESSAGE_TEXT' => $language->lang('EXTENSION_MANAGED_SUCCESS', $extension) . adm_back_link($this->u_action),
'MESSAGE_DETAIL' => $composer_io->getOutput(),
'MESSAGE_DETAIL_LEGEND' => $language->lang('COMPOSER_OUTPUT'),
'S_USER_NOTICE' => true,
)
);
break;
case 'list':
default:
if (!$this->config['exts_composer_packagist'] && $this->request->is_set('enable_packagist') && confirm_box(true))
{
$this->config->set('exts_composer_packagist', true);
$composer_manager->reset_cache();
trigger_error($language->lang('CONFIG_UPDATED') . adm_back_link($this->u_action));
}
$submit = $this->request->is_set('update');
if ($submit)
{
if (!check_form_key('catalog_settings'))
{
trigger_error($language->lang('FORM_INVALID') . adm_back_link($this->u_action), E_USER_WARNING);
}
$enable_packagist = $this->request->variable('enable_packagist', false);
$enable_on_install = $this->request->variable('enable_on_install', false);
$purge_on_remove = $this->request->variable('purge_on_remove', false);
$minimum_stability = $this->request->variable('minimum_stability', 'stable');
$repositories = array_unique(
array_filter(
array_map(
'trim',
explode("\n", $this->request->variable('repositories', ''))
)
)
);
$previous_minimum_stability = $this->config['exts_composer_minimum_stability'];
$previous_repositories = $this->config['exts_composer_repositories'];
$previous_enable_packagist = $this->config['exts_composer_packagist'];
$this->config->set('exts_composer_enable_on_install', $enable_on_install);
$this->config->set('exts_composer_purge_on_remove', $purge_on_remove);
$this->config->set('exts_composer_minimum_stability', $minimum_stability);
$this->config->set('exts_composer_repositories', json_encode($repositories, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES));
if ($minimum_stability != $previous_minimum_stability
|| $repositories != $previous_repositories
|| $enable_packagist != $previous_enable_packagist)
{
$composer_manager->reset_cache();
}
if (!$this->config['exts_composer_packagist'] && $enable_packagist)
{
$s_hidden_fields = build_hidden_fields(array(
'enable_packagist' => $enable_packagist
));
confirm_box(false, $language->lang('ENABLE_PACKAGIST_CONFIRM'), $s_hidden_fields);
}
else
{
$this->config->set('exts_composer_packagist', $enable_packagist);
trigger_error($language->lang('CONFIG_UPDATED') . adm_back_link($this->u_action));
}
}
/** @var \phpbb\composer\extension_manager $manager */
$manager = $phpbb_container->get('ext.composer.manager');
/** @var \phpbb\pagination $pagination */
$pagination = $phpbb_container->get('pagination');
$start = $this->request->variable('start', 0);
$base_url = $this->u_action;
$available_extensions = $manager->get_available_packages();
$managed_packages = $manager->get_managed_packages();
$extensions = array_slice($available_extensions, $start, 20);
$pagination->generate_template_pagination($base_url, 'pagination', 'start', count($available_extensions), 20, $start);
$this->page_title = 'ACP_EXTENSIONS_CATALOG';
$this->tpl_name = 'acp_ext_catalog';
$this->template->assign_vars([
'extensions' => $extensions,
'managed_extensions' => array_keys($managed_packages),
'installed_extensions' => array_keys($extensions_manager->all_available()),
'U_ACTION' => $this->u_action,
'settings' => [
'enable_packagist' => $this->config['exts_composer_packagist'],
'enable_on_install' => $this->config['exts_composer_enable_on_install'],
'purge_on_remove' => $this->config['exts_composer_purge_on_remove'],
'minimum_stability' => $this->config['exts_composer_minimum_stability'],
'stabilities' => array_keys(\Composer\Package\BasePackage::$stabilities),
'repositories' => json_decode($this->config['exts_composer_repositories'], true),
],
]);
add_form_key('catalog_settings');
break;
}
}
/**
* Display an exception raised by the composer manager
*
* @param \phpbb\language\language $language
* @param \phpbb\exception\runtime_exception $e
* @param \phpbb\composer\io\web_io $composer_io
*/
private function display_composer_exception(\phpbb\language\language $language, \phpbb\exception\runtime_exception $e, \phpbb\composer\io\web_io $composer_io)
{
$this->tpl_name = 'detailed_message_body';
if ($e->getPrevious())
{
$message_title = $language->lang_array($e->getMessage(), $e->get_parameters());
if ($e->getPrevious() instanceof \phpbb\exception\exception_interface)
{
$message_text = $language->lang_array($e->getPrevious()->getMessage(), $e->getPrevious()->get_parameters()) . adm_back_link($this->u_action);
}
else
{
$message_text = $e->getPrevious()->getMessage() . adm_back_link($this->u_action);
}
}
else
{
$message_title = $language->lang('INFORMATION');
$message_text = $language->lang_array($e->getMessage(), $e->get_parameters()) . adm_back_link($this->u_action);
}
$this->template->assign_vars(array(
'MESSAGE_TITLE' => $message_title,
'MESSAGE_TEXT' => $message_text,
'MESSAGE_DETAIL' => $composer_io->getOutput(),
'MESSAGE_DETAIL_LEGEND' => $language->lang('COMPOSER_OUTPUT'),
'S_USER_ERROR' => true,
)
);
}
/**
* Lists all the enabled extensions and dumps to the template
*
* @param \phpbb\extension\manager $phpbb_extension_manager An instance of the extension manager
* @param array $managed_packages List of managed packages
*
* @return null
*/
public function list_enabled_exts(\phpbb\extension\manager $phpbb_extension_manager, array $managed_packages)
{
$enabled_extension_meta_data = array();
@@ -409,6 +780,7 @@ class acp_extensions
$enabled_extension_meta_data[$name] = array(
'META_DISPLAY_NAME' => $md_manager->get_metadata('display-name'),
'META_VERSION' => $meta['version'],
'META_NAME' => $md_manager->get_metadata('name'),
);
if (isset($meta['extra']['version-check']))
@@ -458,15 +830,29 @@ class acp_extensions
$this->output_actions('enabled', array(
'DISABLE' => $this->u_action . '&amp;action=disable_pre&amp;ext_name=' . urlencode($name),
));
if (isset($managed_packages[$block_vars['META_NAME']]))
{
$this->output_actions('enabled', [
'UPDATE' => $this->u_catalog_action . '&amp;action=update&amp;extension=' . urlencode($block_vars['META_NAME']),
'REMOVE' => [
'url' => $this->u_catalog_action . '&amp;action=remove&amp;extension=' . urlencode($block_vars['META_NAME']),
'color' => '#BC2A4D;',
]
]);
}
}
}
/**
* Lists all the disabled extensions and dumps to the template
*
* @return null
*/
public function list_disabled_exts()
* Lists all the disabled extensions and dumps to the template
*
* @param \phpbb\extension\manager $phpbb_extension_manager An instance of the extension manager
* @param array $managed_packages List of managed packages
*
* @return null
*/
public function list_disabled_exts(\phpbb\extension\manager $phpbb_extension_manager, array $managed_packages)
{
$disabled_extension_meta_data = array();
@@ -480,6 +866,7 @@ class acp_extensions
$disabled_extension_meta_data[$name] = array(
'META_DISPLAY_NAME' => $md_manager->get_metadata('display-name'),
'META_VERSION' => $meta['version'],
'META_NAME' => $md_manager->get_metadata('name'),
);
if (isset($meta['extra']['version-check']))
@@ -527,15 +914,29 @@ class acp_extensions
'ENABLE' => $this->u_action . '&amp;action=enable_pre&amp;ext_name=' . urlencode($name),
'DELETE_DATA' => $this->u_action . '&amp;action=delete_data_pre&amp;ext_name=' . urlencode($name),
));
if (isset($managed_packages[$block_vars['META_NAME']]))
{
$this->output_actions('disabled', [
'UPDATE' => $this->u_catalog_action . '&amp;action=update&amp;extension=' . urlencode($block_vars['META_NAME']),
'REMOVE' => [
'url' => $this->u_catalog_action . '&amp;action=remove&amp;extension=' . urlencode($block_vars['META_NAME']),
'color' => '#BC2A4D;',
]
]);
}
}
}
/**
* Lists all the available extensions and dumps to the template
*
* @return null
*/
public function list_available_exts()
* Lists all the available extensions and dumps to the template
*
* @param \phpbb\extension\manager $phpbb_extension_manager An instance of the extension manager
* @param array $managed_packages List of managed packages
*
* @return null
*/
public function list_available_exts(\phpbb\extension\manager $phpbb_extension_manager, array $managed_packages)
{
$uninstalled = array_diff_key($this->ext_manager->all_available(), $this->ext_manager->all_configured());
@@ -551,6 +952,7 @@ class acp_extensions
$available_extension_meta_data[$name] = array(
'META_DISPLAY_NAME' => $md_manager->get_metadata('display-name'),
'META_VERSION' => $meta['version'],
'META_NAME' => $md_manager->get_metadata('name'),
);
if (isset($meta['extra']['version-check']))
@@ -604,13 +1006,26 @@ class acp_extensions
*/
private function output_actions($block, $actions)
{
foreach ($actions as $lang => $url)
foreach ($actions as $lang => $options)
{
$this->template->assign_block_vars($block . '.actions', array(
$url = $options;
if (is_array($options))
{
$url = $options['url'];
}
$vars = array(
'L_ACTION' => $this->user->lang('EXTENSION_' . $lang),
'L_ACTION_EXPLAIN' => (isset($this->user->lang['EXTENSION_' . $lang . '_EXPLAIN'])) ? $this->user->lang('EXTENSION_' . $lang . '_EXPLAIN') : '',
'U_ACTION' => $url,
));
);
if (isset($options['color']))
{
$vars['COLOR'] = $options['color'];
}
$this->template->assign_block_vars($block . '.actions', $vars);
}
}

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

@@ -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);
}
@@ -502,26 +502,8 @@ class acp_main
$upload_dir_size = get_formatted_filesize($config['upload_dir_size']);
$avatar_dir_size = 0;
if ($avatar_dir = @opendir($phpbb_root_path . $config['avatar_path']))
{
while (($file = readdir($avatar_dir)) !== false)
{
if ($file[0] != '.' && $file != 'CVS' && strpos($file, 'index.') === false)
{
$avatar_dir_size += filesize($phpbb_root_path . $config['avatar_path'] . '/' . $file);
}
}
closedir($avatar_dir);
$avatar_dir_size = get_formatted_filesize($avatar_dir_size);
}
else
{
// Couldn't open Avatar dir.
$avatar_dir_size = $user->lang['NOT_AVAILABLE'];
}
// Couldn't open Avatar dir.
$avatar_dir_size = $user->lang['NOT_AVAILABLE'];
if ($posts_per_day > $total_posts)
{
@@ -585,6 +567,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)

View File

@@ -131,11 +131,11 @@ class acp_permissions
}
unset($usernames);
if (sizeof($username) && !sizeof($user_id))
if (count($username) && !count($user_id))
{
user_get_id_name($user_id, $username);
if (!sizeof($user_id))
if (!count($user_id))
{
trigger_error($user->lang['SELECTED_USER_NOT_EXIST'] . adm_back_link($this->u_action), E_USER_WARNING);
}
@@ -260,17 +260,17 @@ class acp_permissions
{
$items = $this->retrieve_defined_user_groups($permission_scope, $forum_id, $permission_type);
if ($all_users && sizeof($items['user_ids']))
if ($all_users && count($items['user_ids']))
{
$user_id = $items['user_ids'];
}
else if ($all_groups && sizeof($items['group_ids']))
else if ($all_groups && count($items['group_ids']))
{
$group_id = $items['group_ids'];
}
}
if (sizeof($user_id) || sizeof($group_id))
if (count($user_id) || count($group_id))
{
$this->remove_permissions($mode, $permission_type, $auth_admin, $user_id, $group_id, $forum_id);
}
@@ -349,7 +349,7 @@ class acp_permissions
{
case 'forum_dropdown':
if (sizeof($forum_id))
if (count($forum_id))
{
$this->check_existence('forum', $forum_id);
continue 2;
@@ -364,7 +364,7 @@ class acp_permissions
case 'forums':
if (sizeof($forum_id))
if (count($forum_id))
{
$this->check_existence('forum', $forum_id);
continue 2;
@@ -394,7 +394,7 @@ class acp_permissions
case 'user':
if (sizeof($user_id))
if (count($user_id))
{
$this->check_existence('user', $user_id);
continue 2;
@@ -409,7 +409,7 @@ class acp_permissions
case 'group':
if (sizeof($group_id))
if (count($group_id))
{
$this->check_existence('group', $group_id);
continue 2;
@@ -428,14 +428,14 @@ class acp_permissions
$all_users = (isset($_POST['all_users'])) ? true : false;
$all_groups = (isset($_POST['all_groups'])) ? true : false;
if ((sizeof($user_id) && !$all_users) || (sizeof($group_id) && !$all_groups))
if ((count($user_id) && !$all_users) || (count($group_id) && !$all_groups))
{
if (sizeof($user_id))
if (count($user_id))
{
$this->check_existence('user', $user_id);
}
if (sizeof($group_id))
if (count($group_id))
{
$this->check_existence('group', $group_id);
}
@@ -446,13 +446,13 @@ class acp_permissions
// Now we check the users... because the "all"-selection is different here (all defined users/groups)
$items = $this->retrieve_defined_user_groups($permission_scope, $forum_id, $permission_type);
if ($all_users && sizeof($items['user_ids']))
if ($all_users && count($items['user_ids']))
{
$user_id = $items['user_ids'];
continue 2;
}
if ($all_groups && sizeof($items['group_ids']))
if ($all_groups && count($items['group_ids']))
{
$group_id = $items['group_ids'];
continue 2;
@@ -487,14 +487,14 @@ class acp_permissions
'ANONYMOUS_USER_ID' => ANONYMOUS,
'S_SELECT_VICTIM' => true,
'S_ALLOW_ALL_SELECT' => (sizeof($forum_id) > 5) ? false : true,
'S_ALLOW_ALL_SELECT' => (count($forum_id) > 5) ? false : true,
'S_CAN_SELECT_USER' => ($auth->acl_get('a_authusers')) ? true : false,
'S_CAN_SELECT_GROUP' => ($auth->acl_get('a_authgroups')) ? true : false,
'S_HIDDEN_FIELDS' => $s_hidden_fields)
);
// Let the forum names being displayed
if (sizeof($forum_id))
if (count($forum_id))
{
$sql = 'SELECT forum_name
FROM ' . FORUMS_TABLE . '
@@ -510,7 +510,7 @@ class acp_permissions
$db->sql_freeresult($result);
$template->assign_vars(array(
'S_FORUM_NAMES' => (sizeof($forum_names)) ? true : false,
'S_FORUM_NAMES' => (count($forum_names)) ? true : false,
'FORUM_NAMES' => implode($user->lang['COMMA_SEPARATOR'], $forum_names))
);
}
@@ -527,13 +527,13 @@ class acp_permissions
));
// Do not allow forum_ids being set and no other setting defined (will bog down the server too much)
if (sizeof($forum_id) && !sizeof($user_id) && !sizeof($group_id))
if (count($forum_id) && !count($user_id) && !count($group_id))
{
trigger_error($user->lang['ONLY_FORUM_DEFINED'] . adm_back_link($this->u_action), E_USER_WARNING);
}
$template->assign_vars(array(
'S_PERMISSION_DROPDOWN' => (sizeof($this->permission_dropdown) > 1) ? $this->build_permission_dropdown($this->permission_dropdown, $permission_type, $permission_scope) : false,
'S_PERMISSION_DROPDOWN' => (count($this->permission_dropdown) > 1) ? $this->build_permission_dropdown($this->permission_dropdown, $permission_type, $permission_scope) : false,
'L_PERMISSION_TYPE' => $this->permissions->get_type_lang($permission_type),
'U_ACTION' => $this->u_action,
@@ -546,8 +546,8 @@ class acp_permissions
'S_SETTING_PERMISSIONS' => true)
);
$hold_ary = $auth_admin->get_mask('set', (sizeof($user_id)) ? $user_id : false, (sizeof($group_id)) ? $group_id : false, (sizeof($forum_id)) ? $forum_id : false, $permission_type, $permission_scope, ACL_NO);
$auth_admin->display_mask('set', $permission_type, $hold_ary, ((sizeof($user_id)) ? 'user' : 'group'), (($permission_scope == 'local') ? true : false));
$hold_ary = $auth_admin->get_mask('set', (count($user_id)) ? $user_id : false, (count($group_id)) ? $group_id : false, (count($forum_id)) ? $forum_id : false, $permission_type, $permission_scope, ACL_NO);
$auth_admin->display_mask('set', $permission_type, $hold_ary, ((count($user_id)) ? 'user' : 'group'), (($permission_scope == 'local') ? true : false));
}
else
{
@@ -555,8 +555,8 @@ class acp_permissions
'S_VIEWING_PERMISSIONS' => true)
);
$hold_ary = $auth_admin->get_mask('view', (sizeof($user_id)) ? $user_id : false, (sizeof($group_id)) ? $group_id : false, (sizeof($forum_id)) ? $forum_id : false, $permission_type, $permission_scope, ACL_NEVER);
$auth_admin->display_mask('view', $permission_type, $hold_ary, ((sizeof($user_id)) ? 'user' : 'group'), (($permission_scope == 'local') ? true : false));
$hold_ary = $auth_admin->get_mask('view', (count($user_id)) ? $user_id : false, (count($group_id)) ? $group_id : false, (count($forum_id)) ? $forum_id : false, $permission_type, $permission_scope, ACL_NEVER);
$auth_admin->display_mask('view', $permission_type, $hold_ary, ((count($user_id)) ? 'user' : 'group'), (($permission_scope == 'local') ? true : false));
}
}
@@ -652,7 +652,7 @@ class acp_permissions
break;
}
if (sizeof($ids))
if (count($ids))
{
$sql = "SELECT $sql_id
FROM $table
@@ -667,7 +667,7 @@ class acp_permissions
$db->sql_freeresult($result);
}
if (!sizeof($ids))
if (!count($ids))
{
trigger_error($user->lang['SELECTED_' . strtoupper($mode) . '_NOT_EXIST'] . adm_back_link($this->u_action), E_USER_WARNING);
}
@@ -684,7 +684,7 @@ class acp_permissions
$psubmit = $request->variable('psubmit', array(0 => array(0 => 0)));
// User or group to be set?
$ug_type = (sizeof($user_id)) ? 'user' : 'group';
$ug_type = (count($user_id)) ? 'user' : 'group';
// Check the permission setting again
if (!$auth->acl_get('a_' . str_replace('_', '', $permission_type) . 'auth') || !$auth->acl_get('a_auth' . $ug_type . 's'))
@@ -715,7 +715,7 @@ class acp_permissions
$ug_id = array($ug_id);
$forum_id = array($forum_id);
if (sizeof($inherit))
if (count($inherit))
{
foreach ($inherit as $_ug_id => $forum_id_ary)
{
@@ -771,7 +771,7 @@ class acp_permissions
global $request;
// User or group to be set?
$ug_type = (sizeof($user_id)) ? 'user' : 'group';
$ug_type = (count($user_id)) ? 'user' : 'group';
// Check the permission setting again
if (!$auth->acl_get('a_' . str_replace('_', '', $permission_type) . 'auth') || !$auth->acl_get('a_auth' . $ug_type . 's'))
@@ -870,7 +870,7 @@ class acp_permissions
}
}
if (sizeof(array_diff_assoc($auth_settings, $test_auth_settings)))
if (count(array_diff_assoc($auth_settings, $test_auth_settings)))
{
return false;
}
@@ -886,7 +886,7 @@ class acp_permissions
global $user, $db, $cache, $auth;
// User or group to be set?
$ug_type = (sizeof($user_id)) ? 'user' : 'group';
$ug_type = (count($user_id)) ? 'user' : 'group';
// Check the permission setting again
if (!$auth->acl_get('a_' . str_replace('_', '', $permission_type) . 'auth') || !$auth->acl_get('a_auth' . $ug_type . 's'))
@@ -895,7 +895,7 @@ class acp_permissions
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
}
$auth_admin->acl_delete($ug_type, (($ug_type == 'user') ? $user_id : $group_id), (sizeof($forum_id) ? $forum_id : false), $permission_type);
$auth_admin->acl_delete($ug_type, (($ug_type == 'user') ? $user_id : $group_id), (count($forum_id) ? $forum_id : false), $permission_type);
// Do we need to recache the moderator lists?
if ($permission_type == 'm_')
@@ -903,7 +903,7 @@ class acp_permissions
phpbb_cache_moderators($db, $cache, $auth);
}
$this->log_action($mode, 'del', $permission_type, $ug_type, (($ug_type == 'user') ? $user_id : $group_id), (sizeof($forum_id) ? $forum_id : array(0 => 0)));
$this->log_action($mode, 'del', $permission_type, $ug_type, (($ug_type == 'user') ? $user_id : $group_id), (count($forum_id) ? $forum_id : array(0 => 0)));
if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local')
{
@@ -1053,7 +1053,7 @@ class acp_permissions
$total = ACL_NO;
$add_key = (($forum_id) ? '_LOCAL' : '');
if (sizeof($groups))
if (count($groups))
{
// Get group auth settings
$hold_ary = $auth->acl_group_raw_data(array_keys($groups), $permission, $forum_id);
@@ -1099,7 +1099,7 @@ class acp_permissions
// Get user specific permission... globally or for this forum
$hold_ary = $auth->acl_user_raw_data($user_id, $permission, $forum_id);
$auth_setting = (!sizeof($hold_ary)) ? ACL_NO : $hold_ary[$user_id][$forum_id][$permission];
$auth_setting = (!count($hold_ary)) ? ACL_NO : $hold_ary[$user_id][$forum_id][$permission];
switch ($auth_setting)
{
@@ -1258,7 +1258,7 @@ class acp_permissions
/** @var \phpbb\group\helper $group_helper */
$group_helper = $phpbb_container->get('group_helper');
$sql_forum_id = ($permission_scope == 'global') ? 'AND a.forum_id = 0' : ((sizeof($forum_id)) ? 'AND ' . $db->sql_in_set('a.forum_id', $forum_id) : 'AND a.forum_id <> 0');
$sql_forum_id = ($permission_scope == 'global') ? 'AND a.forum_id = 0' : ((count($forum_id)) ? 'AND ' . $db->sql_in_set('a.forum_id', $forum_id) : 'AND a.forum_id <> 0');
// Permission options are only able to be a permission set... therefore we will pre-fetch the possible options and also the possible roles
$option_ids = $role_ids = array();
@@ -1274,7 +1274,7 @@ class acp_permissions
}
$db->sql_freeresult($result);
if (sizeof($option_ids))
if (count($option_ids))
{
$sql = 'SELECT DISTINCT role_id
FROM ' . ACL_ROLES_DATA_TABLE . '
@@ -1288,15 +1288,15 @@ class acp_permissions
$db->sql_freeresult($result);
}
if (sizeof($option_ids) && sizeof($role_ids))
if (count($option_ids) && count($role_ids))
{
$sql_where = 'AND (' . $db->sql_in_set('a.auth_option_id', $option_ids) . ' OR ' . $db->sql_in_set('a.auth_role_id', $role_ids) . ')';
}
else if (sizeof($role_ids))
else if (count($role_ids))
{
$sql_where = 'AND ' . $db->sql_in_set('a.auth_role_id', $role_ids);
}
else if (sizeof($option_ids))
else if (count($option_ids))
{
$sql_where = 'AND ' . $db->sql_in_set('a.auth_option_id', $option_ids);
}

View File

@@ -446,7 +446,7 @@ class acp_profile
{
$exploded_options = (is_array($options)) ? $options : explode("\n", $options);
if (sizeof($exploded_options) == sizeof($lang_options) || $action == 'create')
if (count($exploded_options) == count($lang_options) || $action == 'create')
{
// The number of options in the field is equal to the number of options already in the database
// Or we are creating a new dropdown list.
@@ -567,7 +567,7 @@ class acp_profile
}
}
if (sizeof($error))
if (count($error))
{
$submit = false;
}
@@ -600,9 +600,9 @@ class acp_profile
$s_hidden_fields .= build_hidden_fields($_new_key_ary);
}
if (!sizeof($error))
if (!count($error))
{
if (($step == 3 && (sizeof($this->lang_defs['iso']) == 1 || $save)) || ($action == 'edit' && $save))
if (($step == 3 && (count($this->lang_defs['iso']) == 1 || $save)) || ($action == 'edit' && $save))
{
if (!check_form_key($form_key))
{
@@ -616,7 +616,7 @@ class acp_profile
$template->assign_vars(array(
'S_EDIT' => true,
'S_EDIT_MODE' => ($action == 'edit') ? true : false,
'ERROR_MSG' => (sizeof($error)) ? implode('<br />', $error) : '',
'ERROR_MSG' => (count($error)) ? implode('<br />', $error) : '',
'L_TITLE' => $user->lang['STEP_' . $step . '_TITLE_' . strtoupper($action)],
'L_EXPLAIN' => $user->lang['STEP_' . $step . '_EXPLAIN_' . strtoupper($action)],
@@ -664,7 +664,7 @@ class acp_profile
$template->assign_vars(array(
'S_STEP_TWO' => true,
'L_NEXT_STEP' => (sizeof($this->lang_defs['iso']) == 1) ? $user->lang['SAVE'] : $user->lang['PROFILE_LANG_OPTIONS'])
'L_NEXT_STEP' => (count($this->lang_defs['iso']) == 1) ? $user->lang['SAVE'] : $user->lang['PROFILE_LANG_OPTIONS'])
);
// Build options based on profile type
@@ -738,6 +738,32 @@ class acp_profile
break;
}
$tpl_name = $this->tpl_name;
$page_title = $this->page_title;
$u_action = $this->u_action;
/**
* Event to handle actions on the ACP profile fields page
*
* @event core.acp_profile_action
* @var string action Action that is being performed
* @var string tpl_name Template file to load
* @var string page_title Page title
* @var string u_action The URL we are at, read only
* @since 3.2.2-RC1
*/
$vars = array(
'action',
'tpl_name',
'page_title',
'u_action',
);
extract($phpbb_dispatcher->trigger_event('core.acp_profile_action', compact($vars)));
$this->tpl_name = $tpl_name;
$this->page_title = $page_title;
unset($u_action);
$sql = 'SELECT *
FROM ' . PROFILE_FIELDS_TABLE . '
ORDER BY field_order';
@@ -750,7 +776,7 @@ class acp_profile
$active_value = (!$row['field_active']) ? 'activate' : 'deactivate';
$id = $row['field_id'];
$s_need_edit = (sizeof($this->lang_defs['diff'][$row['field_id']])) ? true : false;
$s_need_edit = (count($this->lang_defs['diff'][$row['field_id']])) ? true : false;
if ($s_need_edit)
{
@@ -762,7 +788,8 @@ class acp_profile
continue;
}
$profile_field = $this->type_collection[$row['field_type']];
$template->assign_block_vars('fields', array(
$field_block = array(
'FIELD_IDENT' => $row['field_ident'],
'FIELD_TYPE' => $profile_field->get_name(),
@@ -774,8 +801,26 @@ class acp_profile
'U_MOVE_UP' => $this->u_action . "&amp;action=move_up&amp;field_id=$id" . '&amp;hash=' . generate_link_hash('acp_profile'),
'U_MOVE_DOWN' => $this->u_action . "&amp;action=move_down&amp;field_id=$id" . '&amp;hash=' . generate_link_hash('acp_profile'),
'S_NEED_EDIT' => $s_need_edit)
'S_NEED_EDIT' => $s_need_edit,
);
/**
* Event to modify profile field data before it is assigned to the template
*
* @event core.acp_profile_modify_profile_row
* @var array row Array with data for the current profile field
* @var array field_block Template data that is being assigned to the 'fields' block
* @var object profile_field A profile field instance, implements \phpbb\profilefields\type\type_base
* @since 3.2.2-RC1
*/
$vars = array(
'row',
'field_block',
'profile_field',
);
extract($phpbb_dispatcher->trigger_event('core.acp_profile_modify_profile_row', compact($vars)));
$template->assign_block_vars('fields', $field_block);
}
$db->sql_freeresult($result);
@@ -1011,7 +1056,7 @@ class acp_profile
$this->update_insert(PROFILE_LANG_TABLE, $sql_ary, array('field_id' => $field_id, 'lang_id' => $default_lang_id));
}
if (is_array($cp->vars['l_lang_name']) && sizeof($cp->vars['l_lang_name']))
if (is_array($cp->vars['l_lang_name']) && count($cp->vars['l_lang_name']))
{
foreach ($cp->vars['l_lang_name'] as $lang_id => $data)
{
@@ -1087,7 +1132,7 @@ class acp_profile
}
}
if (is_array($cp->vars['l_lang_options']) && sizeof($cp->vars['l_lang_options']))
if (is_array($cp->vars['l_lang_options']) && count($cp->vars['l_lang_options']))
{
$empty_lang = array();
@@ -1098,7 +1143,7 @@ class acp_profile
$lang_ary = explode("\n", $lang_ary);
}
if (sizeof($lang_ary) != sizeof($cp->vars['lang_options']))
if (count($lang_ary) != count($cp->vars['lang_options']))
{
$empty_lang[$lang_id] = true;
}
@@ -1150,7 +1195,7 @@ class acp_profile
}
}
if (sizeof($profile_lang_fields))
if (count($profile_lang_fields))
{
foreach ($profile_lang_fields as $sql)
{
@@ -1213,7 +1258,7 @@ class acp_profile
$where_sql[] = $key . ' = ' . ((is_string($value)) ? "'" . $db->sql_escape($value) . "'" : (int) $value);
}
if (!sizeof($where_sql))
if (!count($where_sql))
{
return;
}
@@ -1229,14 +1274,14 @@ class acp_profile
{
$sql_ary = array_merge($where_fields, $sql_ary);
if (sizeof($sql_ary))
if (count($sql_ary))
{
$db->sql_query("INSERT INTO $table " . $db->sql_build_array('INSERT', $sql_ary));
}
}
else
{
if (sizeof($sql_ary))
if (count($sql_ary))
{
$sql = "UPDATE $table SET " . $db->sql_build_array('UPDATE', $sql_ary) . '
WHERE ' . implode(' AND ', $where_sql);

View File

@@ -55,7 +55,7 @@ class acp_prune
*/
function prune_forums($id, $mode)
{
global $db, $user, $auth, $template, $phpbb_log, $request;
global $db, $user, $auth, $template, $phpbb_log, $request, $phpbb_dispatcher;
$all_forums = $request->variable('all_forums', 0);
$forum_id = $request->variable('f', array(0));
@@ -97,7 +97,7 @@ class acp_prune
'S_PRUNED' => true)
);
$sql_forum = (sizeof($forum_id)) ? ' AND ' . $db->sql_in_set('forum_id', $forum_id) : '';
$sql_forum = (count($forum_id)) ? ' AND ' . $db->sql_in_set('forum_id', $forum_id) : '';
// Get a list of forum's or the data for the forum that we are pruning.
$sql = 'SELECT forum_id, forum_name
@@ -165,7 +165,7 @@ class acp_prune
}
else
{
confirm_box(false, $user->lang['PRUNE_FORUM_CONFIRM'], build_hidden_fields(array(
$hidden_fields = array(
'i' => $id,
'mode' => $mode,
'submit' => 1,
@@ -177,13 +177,25 @@ class acp_prune
'prune_old_polls' => $request->variable('prune_old_polls', 0),
'prune_announce' => $request->variable('prune_announce', 0),
'prune_sticky' => $request->variable('prune_sticky', 0),
)));
);
/**
* Use this event to pass data from the prune form to the confirmation screen
*
* @event core.prune_forums_settings_confirm
* @var array hidden_fields Hidden fields that are passed through the confirm screen
* @since 3.2.2-RC1
*/
$vars = array('hidden_fields');
extract($phpbb_dispatcher->trigger_event('core.prune_forums_settings_confirm', compact($vars)));
confirm_box(false, $user->lang['PRUNE_FORUM_CONFIRM'], build_hidden_fields($hidden_fields));
}
}
// If they haven't selected a forum for pruning yet then
// display a select box to use for pruning.
if (!sizeof($forum_id))
if (!count($forum_id))
{
$template->assign_vars(array(
'U_ACTION' => $this->u_action,
@@ -215,15 +227,27 @@ class acp_prune
$db->sql_freeresult($result);
$l_selected_forums = (sizeof($forum_id) == 1) ? 'SELECTED_FORUM' : 'SELECTED_FORUMS';
$l_selected_forums = (count($forum_id) == 1) ? 'SELECTED_FORUM' : 'SELECTED_FORUMS';
$template->assign_vars(array(
$template_data = array(
'L_SELECTED_FORUMS' => $user->lang[$l_selected_forums],
'U_ACTION' => $this->u_action,
'U_BACK' => $this->u_action,
'FORUM_LIST' => $forum_list,
'S_HIDDEN_FIELDS' => $s_hidden_fields)
'S_HIDDEN_FIELDS' => $s_hidden_fields,
);
/**
* Event to add/modify prune forums settings template data
*
* @event core.prune_forums_settings_template_data
* @var array template_data Array with form template data
* @since 3.2.2-RC1
*/
$vars = array('template_data');
extract($phpbb_dispatcher->trigger_event('core.prune_forums_settings_template_data', compact($vars)));
$template->assign_vars($template_data);
}
}
@@ -252,7 +276,7 @@ class acp_prune
$user_ids = $usernames = array();
$this->get_prune_users($user_ids, $usernames);
if (sizeof($user_ids))
if (count($user_ids))
{
if ($action == 'deactivate')
{
@@ -291,7 +315,7 @@ class acp_prune
$user_ids = $usernames = array();
$this->get_prune_users($user_ids, $usernames);
if (!sizeof($user_ids))
if (!count($user_ids))
{
trigger_error($user->lang['USER_PRUNE_FAILURE'] . adm_back_link($this->u_action), E_USER_WARNING);
}
@@ -434,7 +458,7 @@ class acp_prune
}
// implicit else when both arrays are empty do nothing
if ((sizeof($active) && sizeof($active) != 3) || (sizeof($joined_before) && sizeof($joined_before) != 3) || (sizeof($joined_after) && sizeof($joined_after) != 3))
if ((count($active) && count($active) != 3) || (count($joined_before) && count($joined_before) != 3) || (count($joined_after) && count($joined_after) != 3))
{
trigger_error($user->lang['WRONG_ACTIVE_JOINED_DATE'] . adm_back_link($this->u_action), E_USER_WARNING);
}
@@ -448,15 +472,15 @@ class acp_prune
$where_sql .= ($count !== false) ? " AND user_posts " . $key_match[$count_select] . ' ' . (int) $count . ' ' : '';
// First handle pruning of users who never logged in, last active date is 0000-00-00
if (sizeof($active) && (int) $active[0] == 0 && (int) $active[1] == 0 && (int) $active[2] == 0)
if (count($active) && (int) $active[0] == 0 && (int) $active[1] == 0 && (int) $active[2] == 0)
{
$where_sql .= ' AND user_lastvisit = 0';
}
else if (sizeof($active) && $active_select != 'lt')
else if (count($active) && $active_select != 'lt')
{
$where_sql .= ' AND user_lastvisit ' . $key_match[$active_select] . ' ' . gmmktime(0, 0, 0, (int) $active[1], (int) $active[2], (int) $active[0]);
}
else if (sizeof($active))
else if (count($active))
{
$where_sql .= ' AND (user_lastvisit > 0 AND user_lastvisit < ' . gmmktime(0, 0, 0, (int) $active[1], (int) $active[2], (int) $active[0]) . ')';
}

View File

@@ -103,7 +103,7 @@ class acp_reasons
}
}
if (!sizeof($error))
if (!count($error))
{
// New reason?
if ($action == 'add')
@@ -171,7 +171,7 @@ class acp_reasons
'L_TITLE' => $user->lang['REASON_' . $l_title],
'U_ACTION' => $this->u_action . "&amp;id=$reason_id&amp;action=$action",
'U_BACK' => $this->u_action,
'ERROR_MSG' => (sizeof($error)) ? implode('<br />', $error) : '',
'ERROR_MSG' => (count($error)) ? implode('<br />', $error) : '',
'REASON_TITLE' => $reason_row['reason_title'],
'REASON_DESCRIPTION' => $reason_row['reason_description'],
@@ -182,7 +182,7 @@ class acp_reasons
'S_AVAILABLE_TITLES' => implode($user->lang['COMMA_SEPARATOR'], array_map('htmlspecialchars', array_keys($user->lang['report_reasons']['TITLE']))),
'S_EDIT_REASON' => true,
'S_TRANSLATED' => $translated,
'S_ERROR' => (sizeof($error)) ? true : false,
'S_ERROR' => (count($error)) ? true : false,
)
);

View File

@@ -332,9 +332,9 @@ class acp_search
$forum_ids[] = $row['forum_id'];
}
$db->sql_freeresult($result);
$row_count += sizeof($ids);
$row_count += count($ids);
if (sizeof($ids))
if (count($ids))
{
$this->search->index_remove($ids, $posters, $forum_ids);
}
@@ -474,8 +474,8 @@ class acp_search
$statistics = array();
foreach ($data as $statistic => $value)
{
$n = sizeof($statistics);
if ($n && sizeof($statistics[$n - 1]) < 3)
$n = count($statistics);
if ($n && count($statistics[$n - 1]) < 3)
{
$statistics[$n - 1] += array('statistic_2' => $statistic, 'value_2' => $value);
}
@@ -492,7 +492,7 @@ class acp_search
'S_ACTIVE' => ($type == $config['search_type']) ? true : false,
'S_HIDDEN_FIELDS' => build_hidden_fields(array('search_type' => $type)),
'S_INDEXED' => (bool) $search->index_created(),
'S_STATS' => (bool) sizeof($statistics))
'S_STATS' => (bool) count($statistics))
);
foreach ($statistics as $statistic)

View File

@@ -0,0 +1,318 @@
<?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.
*
*/
/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
exit;
}
class acp_storage
{
/** @var \phpbb\config $config */
protected $config;
/** @var \phpbb\language\language $lang */
protected $lang;
/** @var \phpbb\request\request */
protected $request;
/** @var \phpbb\template\template */
protected $template;
/** @var \phpbb\user */
protected $user;
/** @var \phpbb\di\service_collection */
protected $provider_collection;
/** @var \phpbb\di\service_collection */
protected $storage_collection;
/** @var string */
public $page_title;
/** @var string */
public $tpl_name;
/** @var string */
public $u_action;
/**
* @param string $id
* @param string $mode
*/
public function main($id, $mode)
{
global $phpbb_container, $phpbb_dispatcher;
$this->config = $phpbb_container->get('config');
$this->lang = $phpbb_container->get('language');
$this->request = $phpbb_container->get('request');
$this->template = $phpbb_container->get('template');
$this->user = $phpbb_container->get('user');
$this->provider_collection = $phpbb_container->get('storage.provider_collection');
$this->storage_collection = $phpbb_container->get('storage.storage_collection');
// Add necesary language files
$this->lang->add_lang(['acp/storage']);
/**
* Add language strings
*
* @event core.acp_storage_load
* @since 3.3.0-a1
*/
$phpbb_dispatcher->dispatch('core.acp_storage_load');
$this->overview($id, $mode);
}
/**
* @param string $id
* @param string $mode
*/
public function overview($id, $mode)
{
$form_key = 'acp_storage';
add_form_key($form_key);
// Template from adm/style
$this->tpl_name = 'acp_storage';
// Set page title
$this->page_title = 'STORAGE_TITLE';
if ($this->request->is_set_post('submit'))
{
$modified_storages = [];
$messages = [];
if (!check_form_key($form_key))
{
$messages[] = $this->lang->lang('FORM_INVALID');
}
foreach ($this->storage_collection as $storage)
{
$storage_name = $storage->get_name();
$options = $this->get_provider_options($this->get_current_provider($storage_name));
$modified = false;
// Check if provider have been modified
if ($this->get_new_provider($storage_name) != $this->get_current_provider($storage_name))
{
$modified = true;
}
// Check if options have been modified
if (!$modified)
{
foreach (array_keys($options) as $definition)
{
if ($this->get_new_definition($storage_name, $definition) != $this->get_current_definition($storage_name, $definition))
{
$modified = true;
break;
}
}
}
// If the storage have been modified, validate options
if ($modified)
{
$modified_storages[] = $storage_name;
$this->validate_data($storage_name, $messages);
}
}
if (!empty($modified_storages))
{
if (empty($messages))
{
foreach ($modified_storages as $storage_name)
{
$this->update_storage_config($storage_name);
}
trigger_error($this->lang->lang('STORAGE_UPDATE_SUCCESSFUL') . adm_back_link($this->u_action), E_USER_NOTICE);
}
else
{
trigger_error(implode('<br />', $messages) . adm_back_link($this->u_action), E_USER_WARNING);
}
}
// If there is no errors
trigger_error($this->lang->lang('STORAGE_NO_CHANGES') . adm_back_link($this->u_action), E_USER_WARNING);
}
$this->template->assign_vars(array(
'STORAGES' => $this->storage_collection,
'PROVIDERS' => $this->provider_collection,
));
}
/**
* Get the current provider from config
*
* @param string $key Storage name
* @return string The current provider
*/
protected function get_current_provider($storage_name)
{
return $this->config['storage\\' . $storage_name . '\\provider'];
}
/**
* Get the new provider from the request
*
* @param string $key Storage name
* @return string The new provider
*/
protected function get_new_provider($storage_name)
{
return $this->request->variable([$storage_name, 'provider'], '');
}
/**
* Get adapter definitions from a provider
*
* @param string $provider Provider class
* @return array Adapter definitions
*/
protected function get_provider_options($provider)
{
return $this->provider_collection->get_by_class($provider)->get_options();
}
/**
* Get the current value of the definition of a storage from config
*
* @param string $storage_name Storage name
* @param string $definition Definition
* @return string Definition value
*/
protected function get_current_definition($storage_name, $definition)
{
return $this->config['storage\\' . $storage_name . '\\config\\' . $definition];
}
/**
* Get the new value of the definition of a storage from the request
*
* @param string $storage_name Storage name
* @param string $definition Definition
* @return string Definition value
*/
protected function get_new_definition($storage_name, $definition)
{
return $this->request->variable([$storage_name, $definition], '');
}
/**
* Validates data
*
* @param string $storage_name Storage name
* @param array $messages Reference to messages array
*/
protected function validate_data($storage_name, &$messages)
{
$storage_title = $this->lang->lang('STORAGE_' . strtoupper($storage_name) . '_TITLE');
// Check if provider exists
try
{
$new_provider = $this->provider_collection->get_by_class($this->get_new_provider($storage_name));
}
catch (\Exception $e)
{
$messages[] = $this->lang->lang('STORAGE_PROVIDER_NOT_EXISTS', $storage_title);
return;
}
// Check if provider is available
if (!$new_provider->is_available())
{
$messages[] = $this->lang->lang('STORAGE_PROVIDER_NOT_AVAILABLE', $storage_title);
return;
}
// Check options
$new_options = $this->get_provider_options($this->get_new_provider($storage_name));
foreach ($new_options as $definition_key => $definition_value)
{
$provider = $this->provider_collection->get_by_class($this->get_new_provider($storage_name));
$definition_title = $this->lang->lang('STORAGE_ADAPTER_' . strtoupper($provider->get_name()) . '_OPTION_' . strtoupper($definition_key));
$value = $this->get_new_definition($storage_name, $definition_key);
switch ($definition_value['type'])
{
case 'email':
if (!filter_var($value, FILTER_VALIDATE_EMAIL))
{
$messages[] = $this->lang->lang('STORAGE_FORM_TYPE_EMAIL_INCORRECT_FORMAT', $definition_title, $storage_title);
}
case 'text':
case 'password':
$maxlength = isset($definition_value['maxlength']) ? $definition_value['maxlength'] : 255;
if (strlen($value) > $maxlength)
{
$messages[] = $this->lang->lang('STORAGE_FORM_TYPE_TEXT_TOO_LONG', $definition_title, $storage_title);
}
break;
case 'radio':
case 'select':
if (!in_array($value, array_values($definition_value['options'])))
{
$messages[] = $this->lang->lang('STORAGE_FORM_TYPE_SELECT_NOT_AVAILABLE', $definition_title, $storage_title);
}
break;
}
}
}
/**
* Updates an storage with the info provided in the form
*
* @param string $storage_name Storage name
*/
protected function update_storage_config($storage_name)
{
$current_options = $this->get_provider_options($this->get_current_provider($storage_name));
// Remove old storage config
foreach (array_keys($current_options) as $definition)
{
$this->config->delete('storage\\' . $storage_name . '\\config\\' . $definition);
}
// Update provider
$this->config->set('storage\\' . $storage_name . '\\provider', $this->get_new_provider($storage_name));
// Set new storage config
$new_options = $this->get_provider_options($this->get_new_provider($storage_name));
foreach (array_keys($new_options) as $definition)
{
$this->config->set('storage\\' . $storage_name . '\\config\\' . $definition, $this->get_new_definition($storage_name, $definition));
}
}
}

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