1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-09-09 07:40:45 +02:00

Compare commits

..

1139 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
Marc Alexander
f3338b2874 Merge branch '3.2.x' 2018-03-26 21:20:21 +02:00
Marc Alexander
c706883e44 Merge branch '3.2.x' 2018-02-28 21:21:27 +01:00
Marc Alexander
7dc4eea66b Merge branch '3.2.x' 2018-02-28 21:03:03 +01:00
Marc Alexander
7be590d325 Merge branch '3.2.x' 2018-02-24 19:17:39 +01:00
Marc Alexander
a03fa03dd5 Merge branch '3.2.x' 2018-02-24 18:55:09 +01:00
Marc Alexander
f43184d0a7 Merge branch '3.2.x' 2018-02-22 20:34:28 +01:00
Marc Alexander
98d4065f58 Merge branch '3.2.x' 2018-02-22 20:06:53 +01:00
Marc Alexander
7cc319875c Merge branch '3.2.x' 2018-02-22 19:49:09 +01:00
Marc Alexander
2b8c8973e9 Merge branch '3.2.x' 2018-02-21 21:14:07 +01:00
Marc Alexander
47c1538272 Merge branch '3.2.x' 2018-02-21 20:55:24 +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
2470dcbc20 Merge branch '3.2.x' 2018-02-20 20:00:27 +01:00
Marc Alexander
09718a565b Merge branch '3.2.x' 2018-02-19 21:27:07 +01:00
Marc Alexander
03c6e0e17e Merge branch '3.2.x' 2018-02-19 19:44:18 +01:00
Marc Alexander
ee62c66035 Merge branch '3.2.x' 2018-02-19 08:03:58 +01:00
Marc Alexander
f201afc9df Merge branch '3.2.x' 2018-02-19 07:55:17 +01:00
Marc Alexander
0e6a293e2c Merge branch '3.2.x' 2018-02-18 17:10:26 +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
Marc Alexander
00a35827b0 Merge branch '3.2.x' 2018-02-14 20:11:44 +01:00
Marc Alexander
7e2cde0844 Merge branch '3.2.x' 2018-01-31 19:59:07 +01:00
Marc Alexander
798843dc18 Merge branch '3.2.x' 2018-01-29 18:53:57 +01:00
Marc Alexander
4981f4cddd Merge branch '3.2.x' 2018-01-27 12:58:26 +01:00
Marc Alexander
dac735f89d Merge branch '3.2.x' 2018-01-27 12:55:04 +01:00
Marc Alexander
aecb6e6372 Merge branch '3.2.x' 2018-01-25 21:23:57 +01:00
Marc Alexander
a24a8a6757 Merge branch '3.2.x' 2018-01-25 18:44:22 +01:00
Marc Alexander
2053399085 Merge branch '3.2.x' 2018-01-24 23:35:53 +01:00
Marc Alexander
4b4f256817 Merge branch '3.2.x' 2018-01-24 19:19:34 +01:00
Marc Alexander
ca537a691d Merge branch '3.2.x' 2018-01-24 19:16:28 +01:00
Marc Alexander
ef6b6b156d Merge branch '3.2.x' 2018-01-24 19:09:29 +01:00
Marc Alexander
18cd315071 Merge branch '3.2.x' 2018-01-24 18:40:09 +01:00
Marc Alexander
ef0680fd19 Merge branch '3.2.x' 2018-01-24 18:32:19 +01:00
Marc Alexander
2113e998d1 Merge branch '3.2.x' 2018-01-24 18:12:21 +01:00
Marc Alexander
d0c93d56ad Merge branch '3.2.x' 2018-01-20 19:57:38 +01:00
Marc Alexander
e0f9794126 Merge branch '3.2.x' 2018-01-20 19:52:18 +01:00
Marc Alexander
c6dbfeadee Merge branch '3.2.x' 2018-01-20 19:50:15 +01:00
Marc Alexander
8b03b9ded2 Merge branch '3.2.x' 2018-01-20 19:45:50 +01:00
Marc Alexander
77d02d4d24 Merge branch '3.2.x' 2018-01-20 18:40:35 +01:00
Marc Alexander
39945aec10 Merge branch '3.2.x' 2018-01-19 12:20:57 +01:00
Marc Alexander
82ccc43767 Merge branch '3.2.x' 2018-01-17 23:06:19 +01:00
Marc Alexander
ab65accebc Merge branch '3.2.x' 2018-01-16 21:34:23 +01:00
Derky
6ac85a371a Merge branch '3.2.x' 2018-01-12 07:32:13 +01:00
Derky
3d409d4932 Merge branch '3.2.x' 2018-01-11 21:45:46 +01:00
Marc Alexander
4bf3290c23 Merge branch '3.2.x' 2018-01-11 21:33:44 +01:00
Derky
beed8821ff Merge branch '3.2.x' 2018-01-11 21:03:20 +01:00
Marc Alexander
6b221ae4cb Merge branch '3.2.x' 2018-01-07 19:30:41 +01:00
Matt Friedman
a2e603c058 [ticket/15369] Fix php_exporter tests
PHPBB3-15369
2018-01-06 11:01:40 -08: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
Derky
7560ffcbe9 Merge branch '3.2.x' 2018-01-05 22:52:33 +01:00
Derky
7d5276e7dc Merge branch '3.2.x' 2018-01-04 21:46:38 +01:00
Matt Friedman
3c143e7ae8 [ticket/15369] Update composer to 1.5
PHPBB3-15369
2018-01-02 12:27:41 -08:00
Marc Alexander
9e3432cd7b Merge branch '3.2.x' 2017-12-28 22:06:33 +01:00
Marc Alexander
7bb7bbc54c Merge branch '3.2.x' 2017-12-28 14:51:05 +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
ea1d911508 Merge branch '3.2.x' 2017-12-28 10:43:31 +01:00
Marc Alexander
19c8112e99 Merge branch '3.2.x' 2017-12-28 08:29:32 +01:00
Marc Alexander
15033667da Merge branch '3.2.x' 2017-12-28 08:22:40 +01:00
Marc Alexander
3ccba88948 Merge branch '3.2.x' 2017-12-27 21:37:18 +01:00
Marc Alexander
a12ad9c914 Merge branch '3.2.x' 2017-12-27 21:31:36 +01:00
Marc Alexander
59c7a5506b Merge branch '3.2.x' 2017-12-27 21:27:15 +01:00
Marc Alexander
475b85200b Merge branch '3.2.x' 2017-12-27 21:14:02 +01:00
Marc Alexander
f0284ddbdf Merge branch '3.2.x' 2017-12-27 20:56:51 +01:00
Marc Alexander
a89fdabb35 Merge branch '3.2.x' 2017-12-27 20:44:44 +01:00
Marc Alexander
3bc3c7febc Merge branch '3.2.x' 2017-12-27 20:28:14 +01:00
Derky
c94c2a1ec2 Merge branch '3.2.x' 2017-12-27 19:32:20 +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
c596383592 Merge branch '3.2.x' 2017-12-27 19:08:16 +01:00
Marc Alexander
52cde712f2 Merge branch '3.2.x' 2017-12-27 18:39:20 +01:00
Marc Alexander
1656ca4011 Merge branch '3.2.x' 2017-12-27 18:16:29 +01:00
Marc Alexander
93beaa8a3a Merge branch '3.2.x' 2017-12-27 14:39:46 +01:00
Oliver Schramm
1702219629 Merge branch 'ticket/15339' into ticket/15339-33 2017-12-24 19:55:46 +01:00
Marc Alexander
843586a93f Merge branch '3.2.x' 2017-12-23 13:23:07 +01:00
Marc Alexander
7ef4be39a5 Merge branch '3.2.x' 2017-12-22 19:52:21 +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
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
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
Marc Alexander
730e472fb3 Merge branch '3.2.x' 2017-12-17 21:37:57 +01:00
Marc Alexander
dfdb02c933 Merge branch '3.2.x' 2017-12-17 16:22:01 +01:00
Marc Alexander
2b7c498f40 Merge branch '3.2.x' 2017-12-17 16:13:10 +01:00
Marc Alexander
10f1e2d1fa Merge branch '3.2.x' 2017-12-10 10:45:03 +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
Marc Alexander
0568c4a502 Merge branch '3.2.x' 2017-12-03 17:49:43 +01: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
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
Marc Alexander
66c4c6748f Merge branch '3.2.x' 2017-11-26 22:04:01 +01:00
Marc Alexander
206c6b2185 Merge branch '3.2.x' 2017-11-26 18:33:59 +01:00
Derky
1dd447c4aa Merge branch '3.2.x' 2017-11-21 14:10:06 +01:00
Marc Alexander
c123254242 Merge branch '3.2.x' 2017-11-16 22:11:11 +01:00
Máté Bartus
cd757469a6 Merge branch '3.2.x' 2017-11-15 21:45:10 +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
9448cb07c6 Merge pull request #5005 from hanakin/ticket/15404
[ticket/15404] autoprefix browser compatibility
2017-11-04 14:46:30 +01:00
Michael Miday
9a1acae8af [ticket/15404] fix gradients
PHPBB3-15404
2017-11-04 11:43:09 +01:00
Marc Alexander
7ad6e50af2 Merge branch '3.2.x' 2017-11-02 21:36:24 +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
4523eb0812 Merge branch '3.2.x' 2017-11-01 21:33:40 +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
91caee664a Merge branch '3.2.x' 2017-11-01 16:08:46 +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
dbca73f468 Merge branch '3.2.x' 2017-11-01 15:51:31 +01:00
Marc Alexander
f75fdc69b3 Merge branch '3.2.x' 2017-11-01 15:45:15 +01:00
Marc Alexander
51b8974312 Merge branch '3.2.x' 2017-11-01 13:21:37 +01:00
Marc Alexander
54d5d9329a Merge branch '3.2.x' 2017-11-01 13:19:50 +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
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
Marc Alexander
6259789e02 Merge branch '3.2.x' 2017-11-01 10:40:01 +01:00
Marc Alexander
28df230f8d Merge branch '3.2.x' 2017-10-31 16:13:39 +01:00
Marc Alexander
c6e8a5ddee Merge branch '3.2.x' 2017-10-31 15:51:24 +01:00
Marc Alexander
a51741df41 Merge branch '3.2.x' 2017-10-31 15:47:14 +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
Marc Alexander
f5467c560a Merge branch '3.2.x' 2017-10-31 14:17:32 +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
ea23d456d5 Merge branch '3.2.x' 2017-10-31 09:58:33 +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
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
Oliver Schramm
297278a45c Merge branch 'ticket/15339' into ticket/15339-33 2017-10-28 04:00:22 +02:00
Marc Alexander
d11db17e2c Merge branch '3.2.x' 2017-10-22 10:19:35 +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
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
867d0bfb2f Merge branch '3.2.x' 2017-10-17 21:01:25 +02:00
Marc Alexander
5338b7a361 Merge branch '3.2.x' 2017-10-17 19:54:24 +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
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
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
052b55624b Merge pull request #4626 from hanakin/ticket/14976
[ticket/14976] Convert all ems to px
2017-10-15 10:06:39 +02:00
Marc Alexander
c3939580b3 Merge branch '3.2.x' 2017-10-13 19:39:46 +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
d64ce15ecf Merge branch '3.2.x' 2017-10-11 21:00:38 +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
7998aa8381 Merge branch '3.2.x' 2017-10-11 13:29:06 +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
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
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
Oliver Schramm
bba4b4fc30 Merge branch '3.2.x' 2017-10-05 15:40:28 +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
5d3cac71d5 Merge branch '3.2.x' 2017-10-05 15:00:55 +02:00
Oliver Schramm
92f25a6edc Merge branch '3.2.x' 2017-10-05 14:55:00 +02:00
Michael Miday
7d464aa0ea [ticket/14336] add title
PHPBB3-14336
2017-10-04 10:07:43 -04:00
Marc Alexander
ff52857b1e Merge branch '3.2.x' 2017-09-28 21:33:24 +02:00
Oliver Schramm
6de10bd75e Merge branch '3.2.x' 2017-09-28 18:57:57 +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
Marc Alexander
b70ba0e47c Merge branch '3.2.x' 2017-09-19 19:22:22 +02: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
Rubén Calvo
7b4c355190 [ticket/15366] Remove useless code
PHPBB3-15366
2017-09-16 12:30:36 +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
905c5e3706 Merge branch '3.2.x' 2017-09-15 10:05:19 +02:00
Oliver Schramm
99306435bd Merge branch '3.2.x' 2017-09-10 15:32:28 +02:00
Máté Bartus
10f487fbf6 Merge branch '3.2.x' 2017-09-10 15:18:06 +02:00
Rubén Calvo
c10f1b38ac [ticket/15289] Add migration for storage module
PHPBB3-15289
2017-09-10 14:42:06 +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
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
Tristan Darricau
c6bf129ee4 [ticket/15357] Requires composer/installers in phpBB core for extensions
PHPBB3-15357
2017-09-10 11:03:31 +02:00
Rubén Calvo
246bc8cf08 [ticket/15289] Fix missing language string
PHPBB3-15289
2017-09-09 17:59:33 +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
Máté Bartus
5fccb54391 Merge branch '3.2.x' 2017-09-09 17:20:36 +02:00
Máté Bartus
72799a26ea Merge branch '3.2.x' 2017-09-09 17:11:03 +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
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
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
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
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
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
da1f2fb9a9 Merge branch '3.2.x' 2017-09-08 15:02:26 +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
aa15e61e4c Merge branch '3.2.x' 2017-09-08 13:53:38 +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
Rubén Calvo
443c5034ce [ticket/15276] Changed annotation
PHPBB3-15276
2017-09-07 16:44:01 +02:00
Rubén Calvo
a8ba4a99e3 [ticket/15276] Remove unused code
PHPBB3-15276
2017-09-07 15:10:52 +02:00
Máté Bartus
b1fe0f9dbe Merge branch '3.2.x' 2017-09-07 15:09:40 +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
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
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
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
Máté Bartus
049971d31d Merge branch '3.2.x' 2017-09-07 14:39:03 +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
Máté Bartus
6211b69a6f Merge branch '3.2.x' 2017-09-07 14:32:51 +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
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
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
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
Marc Alexander
a6fb569fa9 Merge branch '3.2.x' 2017-09-06 19:07:35 +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
Michael Miday
95e5f9cfe0 [ticket/15343] Fix forum row inner list
PHPBB3-15343
2017-08-30 17:41:33 -04:00
Michael Miday
cff4e1e7fb [ticket/15308] Unqualify selectors
PHPBB3-15308
2017-08-30 17:12:19 -04: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
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
Marc Alexander
52d356da88 Merge branch '3.2.x' 2017-08-13 16:15:43 +02:00
Marc Alexander
5519bf05f1 Merge branch '3.2.x' 2017-08-13 16:10:30 +02:00
Marc Alexander
53a0c8a4e0 Merge branch '3.2.x' 2017-08-13 16:06:03 +02:00
Marc Alexander
cdd58d997b Merge branch '3.2.x' 2017-08-13 15:59:46 +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
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
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
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
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
Matt Friedman
bc93feba66 [ticket/15295] Restore tests on mysql and myisam
PHPBB3-15295
2017-07-26 12:24:57 -07: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
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
rxu
a0434284d5 [ticket/14972] Add PHP 7.2 to the test matrix
PHPBB3-14972
2017-07-23 01:30:42 +07: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
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
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
324d1e3c55 Merge branch '3.2.x' 2017-07-11 21:19:00 +02: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
1369 changed files with 28112 additions and 45576 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,20 +0,0 @@
# Debian version
ARG VARIANT="buster"
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT}
# Install PHP
RUN apt-get -y update
RUN apt-get -y install php php-xml php-mbstring php-curl php-zip php-xdebug
# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
# Install MySQL
RUN apt-get -y install mysql-server php-mysql
# Xdebug
ADD resources/xdebug.ini /etc/php/8.1/apache2/conf.d/xdebug.ini
# Configure Apache
RUN echo "Listen 8080" >> /etc/apache2/ports.conf && \
a2enmod rewrite

View File

@@ -1,37 +0,0 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.1/containers/ubuntu
{
"name": "Ubuntu",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04
// Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon.
"args": { "VARIANT": "ubuntu-22.04" }
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
"settings": {
// Allow Xdebug to listen to requests from remote (or container)
"remote.localPortHost": "allInterfaces"
},
//"devPort": {},
// Specify which VS Code extensions to install (List of IDs)
"extensions": ["xdebug.php-debug"]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [80, 9003],
// Use 'postCreateCommand' to run commands after the container is created.
"postStartCommand": "bash .devcontainer/resources/setup.sh",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"features": {
"github-cli": "latest"
}
}

View File

@@ -1,38 +0,0 @@
installer:
admin:
name: admin
password: adminadmin
email: admin@example.org
board:
lang: en
name: My Board
description: My amazing new phpBB board
database:
dbms: mysqli
dbhost: 127.0.0.1
dbport: 3306
dbuser: phpbb
dbpasswd: phpbb
dbname: phpbb
table_prefix: phpbb_
email:
enabled: false
smtp_delivery : ~
smtp_host: ~
smtp_port: ~
smtp_auth: ~
smtp_user: ~
smtp_pass: ~
server:
cookie_secure: false
server_protocol: http://
force_server_vars: true
server_name: localhost
server_port: 80
script_path: /
extensions: []

View File

@@ -1,52 +0,0 @@
# setup.sh
# Commands to install and configure phpBB
# Start MySQL
echo "[Codespaces] Start MySQL"
sudo service mysql start
# Start Apache
echo "[Codespaces] Start Apache"
sudo service apache2 start
# Add SSH key
echo "[Codespaces] Add SSH key"
echo "$SSH_KEY" > /home/vscode/.ssh/id_rsa && chmod 600 /home/vscode/.ssh/id_rsa
# Create a MySQL user to use
echo "[Codespaces] Create MySQL user"
sudo mysql -u root<<EOFMYSQL
CREATE USER 'phpbb'@'localhost' IDENTIFIED BY 'phpbb';
GRANT ALL PRIVILEGES ON *.* TO 'phpbb'@'localhost' WITH GRANT OPTION;
CREATE DATABASE IF NOT EXISTS phpbb;
EOFMYSQL
# Download dependencies
echo "[Codespaces] Install Composer dependencies"
composer install --no-interaction
# Symlink the webroot so it can be viewed
echo "[Codespaces] Create Symlink of webroot"
sudo rm -rf /var/www/html
sudo ln -s /workspaces/phpbb/phpBB /var/www/html
# Copy phpBB config
echo "[Codespaces] Copy phpBB configuration"
cp /workspaces/phpbb/.devcontainer/resources/phpbb-config.yml /workspaces/phpbb/phpBB/install/install-config.yml
# Force the server URL to reflect the Codespace
# https://docs.github.com/en/codespaces/developing-in-a-codespace/default-environment-variables-for-your-codespace
if [ "$CODESPACES" = true ] ; then
echo "[Codespaces] Set the phpBB server name using default environment variables"
codespaces_url="${CODESPACE_NAME}-80.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}"
sed -i "s/localhost/$codespaces_url/g" /workspaces/phpbb/phpBB/install/install-config.yml
fi
# Install phpBB
echo "[Codespaces] Run phpBB CLI installation"
cd /workspaces/phpbb/phpBB && composer install --no-interaction
sudo php /workspaces/phpbb/phpBB/install/phpbbcli.php install /workspaces/phpbb/phpBB/install/install-config.yml
rm -rf /workspaces/phpbb/phpBB/install
# Finished
echo "[Codespaces] phpBB installation completed"

View File

@@ -1,10 +0,0 @@
zend_extension=xdebug.so
[xdebug]
xdebug.mode=develop,debug
xdebug.discover_client_host=1
xdebug.client_port=9003
xdebug.start_with_request=yes
xdebug.log='/var/log/xdebug/xdebug.log'
xdebug.connect_timeout_ms=2000
xdebug.idekey=VSCODE

View File

@@ -2,5 +2,5 @@
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://area51.phpbb.com/docs/dev/master/development/coding_guidelines.html) and [Git Contribution Guidelines](https://area51.phpbb.com/docs/dev/master/development/git.html)
3. Read our [Coding guidelines](https://wiki.phpbb.com/Coding_guidelines) and [Git Contribution Guidelines](http://wiki.phpbb.com/Git)
4. Send us a pull request

View File

@@ -1,10 +1,10 @@
Checklist:
- [ ] Correct branch: master for new features; 3.3.x for fixes
- [ ] Correct branch: master for new features; 3.2.x for fixes
- [ ] Tests pass
- [ ] Code follows coding guidelines: [master](https://area51.phpbb.com/docs/master/coding-guidelines.html) and [3.3.x](https://area51.phpbb.com/docs/dev/3.3.x/development/coding_guidelines.html)
- [ ] Commit follows commit message [format](https://area51.phpbb.com/docs/dev/3.3.x/development/git.html)
- [ ] 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:
Tracker ticket (set the ticket ID to **your ticket ID**):
https://tracker.phpbb.com/browse/PHPBB-12345
https://tracker.phpbb.com/browse/PHPBB3-12345

View File

@@ -1,27 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
if [ ! -f doctum.phar ]; then
# Download the latest (5.x.x) release if the file does not exist
# Remove it to update your phar
curl -O https://doctum.long-term.support/releases/5/doctum.phar
rm -f doctum.phar.sha256
curl -O https://doctum.long-term.support/releases/5/doctum.phar.sha256
sha256sum --strict --check doctum.phar.sha256
rm -f doctum.phar.sha256
chmod +x ./doctum.phar
# You can fetch the latest (5.x.x) version code here:
# https://doctum.long-term.support/releases/5/VERSION
fi
# Show the version to inform users of the script
./doctum.phar version --text
./doctum.phar parse build/doctum-checkout.conf.php -v

View File

@@ -1,63 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
root="$1"
path="${root}phpBB/"
# Check the permissions of the files
# The following variables MUST NOT contain any wildcard
# Directories to skip
directories_skipped="-path ${path}develop -o -path ${path}vendor"
# Files to skip
files_skipped="-false"
# Files which have to be executable
executable_files="-path ${path}bin/* -o -path ${path}install/phpbbcli.php"
incorrect_files=$( \
find ${path} \
'(' \
'(' \
${directories_skipped} \
')' \
-a -type d -prune -a -type f \
')' -o \
'(' \
-type f -a \
-not '(' \
${files_skipped} \
')' -a \
'(' \
'(' \
'(' \
${executable_files} \
')' -a \
-not -perm /100 \
')' -o \
'(' \
-not '(' \
${executable_files} \
')' -a \
-perm /111 \
')' \
')' \
')' \
)
if [ "${incorrect_files}" != '' ]
then
echo "The following files do not have proper permissions:";
ls -la ${incorrect_files}
exit 1;
fi

View File

@@ -1,14 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
find . -type f -a -iregex '.*\.\(gif\|jpg\|jpeg\|png\)$' -a -not -wholename '*vendor/*' | \
parallel --gnu --keep-order 'phpBB/develop/strip_icc_profiles.sh {}'

View File

@@ -1,64 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
root="$1"
extname="$2"
path="${root}phpBB/ext/${extname}/"
# Check the permissions of the files
# The following variables MUST NOT contain any wildcard
# Directories to skip
directories_skipped="-path ${path}develop -o -path ${path}vendor -o -path ${path}.git"
# Files to skip
files_skipped="-false"
# Files which have to be executable
executable_files="-path ${path}bin/* -o -path ${path}install/phpbbcli.php"
incorrect_files=$( \
find ${path} \
'(' \
'(' \
${directories_skipped} \
')' \
-a -type d -prune -a -type f \
')' -o \
'(' \
-type f -a \
-not '(' \
${files_skipped} \
')' -a \
'(' \
'(' \
'(' \
${executable_files} \
')' -a \
-not -perm /100 \
')' -o \
'(' \
-not '(' \
${executable_files} \
')' -a \
-perm /111 \
')' \
')' \
')' \
)
if [ "${incorrect_files}" != '' ]
then
echo "The following files do not have proper permissions:";
ls -la ${incorrect_files}
exit 1;
fi

25
.github/ext-sniff.sh vendored
View File

@@ -1,25 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
set -x
EXTNAME=$1
NOTESTS=$2
if [ "$NOTESTS" == "1" ]
then
phpBB/vendor/bin/phpcs \
-s \
--extensions=php \
--standard=build/code_sniffer/ruleset-php-extensions.xml \
--ignore=*/"$EXTNAME"/tests/*,*/"$EXTNAME"/vendor/* \
phpBB/ext/"$EXTNAME"
fi

View File

@@ -1,41 +0,0 @@
dn: dc=example,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
o: example
dc: example
dn: ou=foo,dc=example,dc=com
objectClass: organizationalUnit
ou: foo
dn: cn=admin,dc=example,dc=com
objectClass: simpleSecurityObject
objectClass: organizationalRole
cn: admin
description: LDAP administrator
userPassword:: e1NTSEF9NytMR2gveUxTMzdsc3RRd1V1dENZSVA0TWdYdm9SdDY=
dn: ou=group,dc=example,dc=com
objectClass: organizationalUnit
ou: group
dn: cn=admin,ou=foo,dc=example,dc=com
objectClass: posixAccount
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
loginShell: /bin/bash
homeDirectory: /home/admin
uid: admin
cn: admin
uidNumber: 10000
gidNumber: 10000
sn: admin
mail: admin@example.com
userPassword:: e1NTSEF9WHpueGZURHZZc21JSkl6czdMVXBjdCtWYTA1dlMzVlQ=
dn: cn=admin,ou=group,dc=example,dc=com
objectClass: posixGroup
gidNumber: 10000
cn: admin

View File

@@ -1,17 +0,0 @@
# See slapd.conf(5) for details on configuration options.
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/nis.schema
pidfile /var/tmp/slapd/slapd.pid
argsfile /var/tmp/slapd/slapd.args
modulepath /usr/lib/openldap
database ldif
directory /var/tmp/slapd
suffix "dc=example,dc=com"
rootdn "cn=admin,dc=example,dc=com"
rootpw adminadmin

View File

@@ -1,16 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
set -x
cd build
../phpBB/vendor/bin/phing sniff
cd ..

View File

@@ -1,39 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
bootstrap="../tests/bootstrap.php">
<testsuites>
<testsuite name="phpBB Test Suite">
<directory suffix="_test.php">../tests</directory>
<exclude>../tests/functional</exclude>
<exclude>../tests/lint_test.php</exclude>
</testsuite>
<testsuite name="phpBB Functional Tests">
<directory suffix="_test.php">../tests/functional</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>slow</group>
</exclude>
</groups>
<php>
<server name="PHPBB_TEST_DBMS" value="mysqli" />
<server name="PHPBB_TEST_DBHOST" value="0.0.0.0" />
<server name="PHPBB_TEST_DBPORT" value="3306" />
<server name="PHPBB_TEST_DBNAME" value="phpbb_tests" />
<server name="PHPBB_TEST_DBUSER" value="root" />
<server name="PHPBB_TEST_DBPASSWD" value="" />
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
</php>
</phpunit>

View File

@@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
bootstrap="../tests/bootstrap.php">
<testsuites>
<testsuite name="phpBB Test Suite">
<directory suffix="_test.php">../tests</directory>
<exclude>../tests/functional</exclude>
<exclude>../tests/lint_test.php</exclude>
</testsuite>
<testsuite name="phpBB Functional Tests">
<directory suffix="_test.php">../tests/functional</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>slow</group>
</exclude>
</groups>
<php>
<server name="PHPBB_TEST_DBMS" value="phpbb\db\driver\mssqlnative" />
<server name="PHPBB_TEST_DBHOST" value="127.0.0.1" />
<server name="PHPBB_TEST_DBPORT" value="" />
<server name="PHPBB_TEST_DBNAME" value="phpbb_tests" />
<server name="PHPBB_TEST_DBUSER" value="sa" />
<server name="PHPBB_TEST_DBPASSWD" value="Pssw0rd_12" />
<server name="PHPBB_TEST_REDIS_HOST" value="localhost" />
<server name="PHPBB_TEST_MEMCACHED_HOST" value="localhost" />
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
</php>
</phpunit>

View File

@@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
bootstrap="../tests/bootstrap.php">
<testsuites>
<testsuite name="phpBB Test Suite">
<directory suffix="_test.php">../tests</directory>
<exclude>../tests/functional</exclude>
<exclude>../tests/lint_test.php</exclude>
</testsuite>
<testsuite name="phpBB Functional Tests">
<directory suffix="_test.php">../tests/functional</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>slow</group>
</exclude>
</groups>
<php>
<server name="PHPBB_TEST_DBMS" value="phpbb\db\driver\postgres"/>
<server name="PHPBB_TEST_DBHOST" value="localhost" />
<server name="PHPBB_TEST_DBPORT" value="5432" />
<server name="PHPBB_TEST_DBNAME" value="phpbb_tests" />
<server name="PHPBB_TEST_DBUSER" value="postgres" />
<server name="PHPBB_TEST_DBPASSWD" value="postgres" />
<server name="PHPBB_TEST_REDIS_HOST" value="localhost" />
<server name="PHPBB_TEST_MEMCACHED_HOST" value="localhost" />
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
</php>
</phpunit>

View File

@@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
bootstrap="../tests/bootstrap.php">
<testsuites>
<testsuite name="phpBB Test Suite">
<directory suffix="_test.php">../tests</directory>
<exclude>../tests/functional</exclude>
<exclude>../tests/lint_test.php</exclude>
</testsuite>
<testsuite name="phpBB Functional Tests">
<directory suffix="_test.php">../tests/functional</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>slow</group>
</exclude>
</groups>
<php>
<server name="PHPBB_TEST_DBMS" value="phpbb\db\driver\postgres"/>
<server name="PHPBB_TEST_DBHOST" value="localhost" />
<server name="PHPBB_TEST_DBPORT" value="5432" />
<server name="PHPBB_TEST_DBNAME" value="phpbb_tests" />
<server name="PHPBB_TEST_DBUSER" value="postgres" />
<server name="PHPBB_TEST_DBPASSWD" value="root" />
<server name="PHPBB_TEST_REDIS_HOST" value="localhost" />
<server name="PHPBB_TEST_MEMCACHED_HOST" value="localhost" />
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
<server name="PHPBB_FUNCTIONAL_URL" value="http://phpbb.test/" />
</php>
</phpunit>

View File

@@ -1,35 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
bootstrap="../tests/bootstrap.php">
<testsuites>
<testsuite name="phpBB Test Suite">
<directory suffix="_test.php">../tests</directory>
<exclude>../tests/functional</exclude>
<exclude>../tests/lint_test.php</exclude>
</testsuite>
<testsuite name="phpBB Functional Tests">
<directory suffix="_test.php">../tests/functional</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>slow</group>
</exclude>
</groups>
<php>
<server name="PHPBB_TEST_REDIS_HOST" value="localhost" />
<server name="PHPBB_TEST_MEMCACHED_HOST" value="localhost" />
<server name="PHPBB_TEST_TABLE_PREFIX" value="phpbb_"/>
<server name="PHPBB_FUNCTIONAL_URL" value="http://localhost/" />
</php>
</phpunit>

View File

@@ -1,22 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
set -x
EXTNAME=$1
# Move the extension in place
mkdir --parents phpBB/ext/$EXTNAME
cp -R ../tmp/* phpBB/ext/$EXTNAME
# Move the test files for extensions in place
cp -R .github/*.xml phpBB/ext/$EXTNAME/.github
cp -R .github/*.sh phpBB/ext/$EXTNAME/.github

View File

@@ -1,26 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
set -x
DB=$1
MYISAM=$2
if [ "$DB" == "postgres" ]
then
psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres
psql -c 'create database phpbb_tests;' -U postgres
fi
if [ "$MYISAM" == '1' ]
then
mysql -h 127.0.0.1 -u root -e 'SET GLOBAL storage_engine=MyISAM;'
fi

View File

@@ -1,14 +0,0 @@
#!/bin/sh
#
# 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.
#
set -e
sudo apt-get update
sudo apt-get install -y parallel libimage-exiftool-perl

19
.github/setup-ldap.sh vendored
View File

@@ -1,19 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
set -x
sudo apt-get -y install ldap-utils slapd
mkdir /var/tmp/slapd
cp .github/ldap/slapd.conf /var/tmp/slapd/slapd.conf
slapd -d 256 -d 128 -f /var/tmp/slapd/slapd.conf -h ldap://localhost:3389 &
sleep 3
ldapadd -H ldap://localhost:3389 -D "cn=admin,dc=example,dc=com" -w adminadmin -f .github/ldap/base.ldif

View File

@@ -1,36 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
set -x
DB=$1
PHP_VERSION=$2
NOTESTS=$3
if [ "$NOTESTS" == '1' ]
then
.github/setup-exiftool.sh
.github/setup-unbuffer.sh
fi
if [ "$NOTESTS" != '1' ]
then
.github/setup-webserver.sh
fi
cd phpBB
php ../composer.phar install --dev --no-interaction
if [[ "$PHP_VERSION" =~ ^nightly$ || "$PHP_VERSION" =~ ^8 ]]
then
php ../composer.phar remove phpunit/dbunit --dev --update-with-dependencies \
&& php ../composer.phar require symfony/yaml:~4.4 misantron/dbunit:~5.0 phpunit/phpunit:^9.3 doctrine/instantiator:^1.4 --dev --update-with-all-dependencies --ignore-platform-reqs
fi
cd ..

View File

@@ -1,14 +0,0 @@
#!/bin/sh
#
# 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.
#
set -e
sudo apt-get update
sudo apt-get install -y expect-dev

View File

@@ -1,81 +0,0 @@
#!/bin/bash
#
# 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.
#
set -e
set -x
sudo apt-get update
sudo apt-get install -y nginx coreutils
sudo service nginx stop
DIR=$(dirname "$0")
USER=$(whoami)
PHPBB_ROOT_PATH=$(realpath "$DIR/../phpBB")
NGINX_SITE_CONF="/etc/nginx/sites-enabled/default"
NGINX_CONF="/etc/nginx/nginx.conf"
APP_SOCK=$(realpath "$DIR")/php-app.sock
NGINX_PHP_CONF="$DIR/nginx-php.conf"
# php-fpm
PHP_FPM_BIN="/usr/sbin/php-fpm$PHP_VERSION"
PHP_FPM_CONF="$DIR/php-fpm.conf"
if [ ! -f $PHP_FPM_BIN ] && [ -f "/usr/bin/php-fpm" ]
then
PHP_FPM_BIN="/usr/bin/php-fpm"
fi
if [ ! -f $PHP_FPM_BIN ]
then
sudo apt-get install php$PHP_VERSION-fpm php$PHP_VERSION-cli \
php$PHP_VERSION-curl php$PHP_VERSION-xml php$PHP_VERSION-mbstring \
php$PHP_VERSION-zip php$PHP_VERSION-mysql php$PHP_VERSION-sqlite3 \
php$PHP_VERSION-intl php$PHP_VERSION-gd php$PHP_VERSION-pgsql
sudo service php$PHP_VERSION-fpm start
sudo service php$PHP_VERSION-fpm status
fi
echo "
[global]
[ci]
user = $USER
group = $USER
listen = $APP_SOCK
listen.mode = 0666
pm = static
pm.max_children = 2
php_admin_value[memory_limit] = 128M
" > $PHP_FPM_CONF
sudo $PHP_FPM_BIN \
--fpm-config "$DIR/php-fpm.conf"
# nginx
sudo sed -i "s/user www-data;/user $USER;/g" $NGINX_CONF
sudo cp "$DIR/../phpBB/docs/nginx.sample.conf" "$NGINX_SITE_CONF"
sudo sed -i \
-e "s/example\.com/localhost/g" \
-e "s|root /path/to/phpbb;|root $PHPBB_ROOT_PATH;|g" \
$NGINX_SITE_CONF
# Generate FastCGI configuration for Nginx
echo "
upstream php {
server unix:$APP_SOCK;
}
" > $NGINX_PHP_CONF
sudo mv "$NGINX_PHP_CONF" /etc/nginx/conf.d/php.conf
sudo nginx -T
sudo service nginx start

View File

@@ -1,598 +0,0 @@
name: Tests
on:
push:
branches:
- 3.3.x
- master
- 'prep-release-*'
tags:
- 'release-*'
pull_request:
branches:
- 3.3.x
- master
- 'prep-release-*'
jobs:
# Basic checks, e.g. parse errors, commit messages, etc.
basic-checks:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- db: 'none'
php: '7.2'
NOTESTS: 1
name: PHP ${{ matrix.php }} - ${{ matrix.db }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 100
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, mysqli, sqlite, pdo_sqlite, intl, gd, exif, iconv, sqlsrv, pdo_sqlsrv, ldap
coverage: none
- name: Get Composer Cache Directory
id: composer-cache
env:
PHP_VERSION: ${{ matrix.php }}
run: |
cd phpBB
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "version=${PHP_VERSION%.*}" >> $GITHUB_OUTPUT
cd ..
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ steps.composer-cache.outputs.version }}-${{ hashFiles('phpBB/composer.lock') }}
- name: Setup environment for phpBB
env:
DB: ${{ matrix.db }}
PHP_VERSION: ${{ matrix.php }}
NOTESTS: '1'
run: |
.github/setup-phpbb.sh $DB $PHP_VERSION $NOTESTS
- name: Phing sniff
run: |
.github/phing-sniff.sh
- name: Check doctum parse errors
run: |
.github/check-doctum-parse-errors.sh
- name: Check image ICC profiles
run: |
.github/check-image-icc-profiles.sh
- name: Check executable files
run: |
.github/check-executable-files.sh ./
- name: Check commit message
if: github.event_name == 'pull_request'
run: |
git fetch origin $GITHUB_BASE_REF &> /dev/null
git-tools/commit-msg-hook-range.sh $(git rev-parse origin/$GITHUB_BASE_REF)..$GITHUB_SHA
# Tests for MySQL and MariaDB
mysql-tests:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- php: '7.2'
db: "mariadb:10.1"
- php: '7.2'
db: "mariadb:10.2"
- php: '7.2'
db: "mariadb:10.3"
- php: '7.2'
db: "mariadb:10.4"
- php: '7.2'
db: "mariadb:10.5"
- php: '7.2'
db: "mysql:5.6"
db_alias: "MySQL Slow Tests"
SLOWTESTS: 1
- php: '7.2'
db: "mysql:5.6"
db_alias: "MyISAM Tests"
MYISAM: 1
- php: '7.2'
db: "mysql:5.6"
- php: '7.2'
db: "mysql:5.7"
- php: '7.3'
db: "mysql:5.7"
- php: '7.4'
db: "mysql:5.7"
- php: '7.4'
db: "mysql:8.0"
- php: '8.0'
db: "mysql:5.7"
- php: '8.1'
db: "mysql:5.7"
- php: '8.2'
db: "mysql:5.7"
- php: '8.3'
db: "mysql:5.7"
- php: '8.4'
db: "mysql:5.7"
name: PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }}
services:
mysql:
image: ${{ matrix.db }}
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: phpbb_tests
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=3
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- name: Checkout repository
uses: actions/checkout@v4
- id: database-type
env:
MATRIX_DB: ${{ matrix.db }}
run: |
db=$(echo "${MATRIX_DB%%:*}")
echo "db=$db" >> $GITHUB_OUTPUT
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, mysqli, sqlite, pdo_sqlite, intl, gd, exif, iconv, sqlsrv, pdo_sqlsrv, ldap
coverage: none
- name: Get Composer Cache Directory
id: composer-cache
env:
PHP_VERSION: ${{ matrix.php }}
run: |
cd phpBB
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "version=${PHP_VERSION%.*}" >> $GITHUB_OUTPUT
cd ..
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ steps.composer-cache.outputs.version }}-${{ hashFiles('phpBB/composer.lock') }}
- name: Setup environment for phpBB
env:
DB: ${{steps.database-type.outputs.db}}
PHP_VERSION: ${{ matrix.php }}
NOTESTS: '0'
run: |
.github/setup-phpbb.sh $DB $PHP_VERSION ${NOTESTS:-0}
- name: Setup database
env:
DB: ${{steps.database-type.outputs.db}}
MYISAM: ${{ matrix.MYISAM != 1 && '0' || '1' }}
run: |
.github/setup-database.sh $DB $MYISAM
- name: Setup LDAP
if: ${{ matrix.SLOWTESTS == 1 }}
run: |
.github/setup-ldap.sh
- name: Lint tests
if: ${{ matrix.SLOWTESTS != 1 && steps.database-type.outputs.db == 'mysql' }}
run: phpBB/vendor/bin/phpunit tests/lint_test.php
- name: Run unit tests
env:
DB: ${{steps.database-type.outputs.db}}
if: ${{ matrix.SLOWTESTS != 1 && matrix.NOTESTS != 1 }}
run: |
phpBB/vendor/bin/phpunit --configuration .github/phpunit-$DB-github.xml --verbose --stop-on-error
- name: Slow tests
env:
DB: ${{steps.database-type.outputs.db}}
if: ${{ matrix.SLOWTESTS == 1 }}
run: |
phpBB/vendor/bin/phpunit --configuration .github/phpunit-$DB-github.xml --group slow
# Tests for PostgreSQL
postgres-tests:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- php: '7.2'
db: "postgres:9.3"
- php: '7.2'
db: "postgres:9.5"
- php: '7.2'
db: "postgres:9.6"
- php: '7.2'
db: "postgres:10"
- php: '7.2'
db: "postgres:11"
- php: '7.2'
db: "postgres:12"
- php: '7.2'
db: "postgres:13"
- php: '7.3'
db: "postgres:13"
- php: '7.4'
db: "postgres:13"
- php: '8.0'
db: "postgres:12"
- php: '8.0'
db: "postgres:13"
- php: '8.1'
db: "postgres:14"
- php: '8.2'
db: "postgres:14"
- php: '8.3'
db: "postgres:14"
- php: '8.4'
db: "postgres:14"
name: PHP ${{ matrix.php }} - ${{ matrix.db }}
services:
postgres:
image: ${{ matrix.db != 'postgres:9.3' && matrix.db != 'postgres:9.5' && matrix.db != 'postgres:9.6' && matrix.db != 'postgres:10' && matrix.db != 'postgres:11' && matrix.db != 'postgres:12' && matrix.db != 'postgres:13' && 'postgres:10' || matrix.db }}
env:
POSTGRES_HOST: localhost
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: >-
-v /var/run/postgresql:/var/run/postgresql
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- name: Checkout repository
uses: actions/checkout@v4
- id: database-type
env:
MATRIX_DB: ${{ matrix.db }}
run: |
db=$(echo "${MATRIX_DB%%:*}")
echo "db=$db" >> $GITHUB_OUTPUT
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, mysqli, sqlite, pdo_sqlite, intl, gd, exif, iconv, sqlsrv, pdo_sqlsrv, ldap
coverage: none
- name: Get Composer Cache Directory
id: composer-cache
env:
PHP_VERSION: ${{ matrix.php }}
run: |
cd phpBB
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "version=${PHP_VERSION%.*}" >> $GITHUB_OUTPUT
cd ..
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ steps.composer-cache.outputs.version }}-${{ hashFiles('phpBB/composer.lock') }}
- name: Setup environment for phpBB
env:
DB: ${{steps.database-type.outputs.db}}
PHP_VERSION: ${{ matrix.php }}
NOTESTS: '0'
run: |
.github/setup-phpbb.sh $DB $PHP_VERSION ${NOTESTS:-0}
- name: Setup database
env:
DB: ${{steps.database-type.outputs.db}}
MYISAM: '0'
run: |
.github/setup-database.sh $DB $MYISAM
- name: Run unit tests
env:
DB: ${{steps.database-type.outputs.db}}
run: |
phpBB/vendor/bin/phpunit --configuration .github/phpunit-$DB-github.xml --verbose --stop-on-error
# Other database types, namely sqlite3 and mssql
other-tests:
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- php: '7.2'
db: "sqlite3"
- php: '7.2'
db: "mcr.microsoft.com/mssql/server:2017-latest"
db_alias: 'MSSQL 2017'
- php: '7.2'
db: "mcr.microsoft.com/mssql/server:2019-latest"
db_alias: 'MSSQL 2019'
name: PHP ${{ matrix.php }} - ${{ matrix.db_alias != '' && matrix.db_alias || matrix.db }}
services:
mssql:
image: ${{ matrix.db != 'mcr.microsoft.com/mssql/server:2017-latest' && matrix.db != 'mcr.microsoft.com/mssql/server:2019-latest' && 'mcr.microsoft.com/mssql/server:2017-latest' || matrix.db }}
env:
SA_PASSWORD: "Pssw0rd_12"
ACCEPT_EULA: "y"
ports:
- 1433:1433
options: >-
--health-cmd="/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Pssw0rd_12' -Q \"Use [master]; CREATE DATABASE [phpbb_tests] COLLATE Latin1_General_CI_AS\" || exit 1"
--health-interval 10s
--health-timeout 5s
--health-retries 5
--health-start-period 10s
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- name: Checkout repository
uses: actions/checkout@v4
- id: database-type
env:
MATRIX_DB: ${{ matrix.db }}
run: |
if [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2017-latest' ] || [ $MATRIX_DB == 'mcr.microsoft.com/mssql/server:2019-latest' ]
then
db='mssql'
else
db=$(echo "${MATRIX_DB%%:*}")
fi
echo "db=$db" >> $GITHUB_OUTPUT
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, mysqli, sqlite, pdo_sqlite, intl, gd, exif, iconv, sqlsrv, pdo_sqlsrv, ldap
coverage: none
- name: Get Composer Cache Directory
id: composer-cache
env:
PHP_VERSION: ${{ matrix.php }}
run: |
cd phpBB
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "version=${PHP_VERSION%.*}" >> $GITHUB_OUTPUT
cd ..
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ steps.composer-cache.outputs.version }}-${{ hashFiles('phpBB/composer.lock') }}
- name: Setup environment for phpBB
env:
DB: ${{steps.database-type.outputs.db}}
PHP_VERSION: ${{ matrix.php }}
NOTESTS: '0'
run: |
.github/setup-phpbb.sh $DB $PHP_VERSION ${NOTESTS:-0}
- name: Setup database
env:
DB: ${{steps.database-type.outputs.db}}
MYISAM: '0'
run: |
.github/setup-database.sh $DB $MYISAM
- name: Run unit tests
env:
DB: ${{steps.database-type.outputs.db}}
run: |
phpBB/vendor/bin/phpunit --configuration .github/phpunit-$DB-github.xml --verbose --stop-on-error
# Test with IIS & PostgreSQL on Windows
windows-tests:
runs-on: windows-latest
strategy:
matrix:
include:
- php: '7.4'
db: "postgres"
type: 'unit'
- php: '8.0'
db: "postgres"
type: 'unit'
- php: '8.1'
db: "postgres"
type: 'unit'
- php: '8.2'
db: "postgres"
type: 'unit'
- php: '8.3'
db: "postgres"
type: 'unit'
- php: '8.4'
db: "postgres"
type: 'unit'
- php: '7.4'
db: "postgres"
type: 'functional'
- php: '8.0'
db: "postgres"
type: 'functional'
- php: '8.1'
db: "postgres"
type: 'functional'
- php: '8.2'
db: "postgres"
type: 'functional'
- php: '8.3'
db: "postgres"
type: 'functional'
- php: '8.4'
db: "postgres"
type: 'functional'
name: Windows - PHP ${{ matrix.php }} - ${{ matrix.db }} - ${{ matrix.type }}
steps:
- name: Prepare git for Windows
run: |
git config --system core.autocrlf false
git config --system core.eol lf
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, intl, gd, exif, iconv, pgsql, pdo_pgsql
ini-values: upload_tmp_dir=${{ runner.temp }}, sys_temp_dir=${{ runner.temp }}
coverage: none
- name: Get Composer Cache Directory
id: composer-cache
run: |
cd phpBB
echo "dir=$(composer config cache-files-dir)" >> $env:GITHUB_OUTPUT
$major_version="${{ matrix.php }}".substring(0,1)
echo "version=$major_version" >> $env:GITHUB_OUTPUT
cd ..
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: composer-${{ steps.composer-cache.outputs.version }}-${{ hashFiles('phpBB/composer.lock') }}
- name: Setup environment for phpBB
env:
GITHUB_WORKSPACE: ${{ github.workspace }}
TEMP_DIR: ${{ runner.temp }}
run: |
Enable-WindowsOptionalFeature -Online -FeatureName IIS-WebServerRole, IIS-WebServer, IIS-CommonHttpFeatures, IIS-ManagementConsole, IIS-HttpErrors, IIS-HttpRedirect, IIS-WindowsAuthentication, IIS-StaticContent, IIS-DefaultDocument, IIS-HttpCompressionStatic, IIS-DirectoryBrowsing, IIS-WebServerManagementTools, IIS-CGI -All
Set-Service wuauserv -StartupType Manual
(Get-Content ${env:GITHUB_WORKSPACE}\phpBB\web.config).replace("<configuration>", "<configuration>`n`t<system.web>`n`t`t<customErrors mode=`"Off`"/>`n`t</system.web>") | Set-Content ${env:GITHUB_WORKSPACE}\phpBB\web.config
(Get-Content ${env:GITHUB_WORKSPACE}\phpBB\web.config).replace("`t</system.webServer>", "`t`t<httpErrors errorMode=`"Detailed`" />`n`t</system.webServer>") | Set-Content ${env:GITHUB_WORKSPACE}\phpBB\web.config
choco install urlrewrite -y
Import-Module WebAdministration
New-WebSite -Name 'phpBBTest' -PhysicalPath "${env:GITHUB_WORKSPACE}\phpBB" -Force
$session = Get-PSSession -Name WinPSCompatSession
$sb = {Set-ItemProperty 'IIS:\Sites\phpBBTest' -name Bindings -value @{protocol='http';bindingInformation='*:80:phpbb.test'}}
Invoke-Command -Scriptblock $sb -Session $session
$sb = {Set-WebConfigurationProperty -filter /system.WebServer/security/authentication/AnonymousAuthentication -name enabled -value true -location "IIS:\Sites\phpBBTest"}
Invoke-Command -Scriptblock $sb -Session $session
Add-Content -Path $env:windir\System32\drivers\etc\hosts -Value "`r`n127.0.0.1`tphpbb.test" -Force
[System.Environment]::SetEnvironmentVariable('PATH',$Env:PATH+";%windir%\system32\inetsrv")
echo Setup FAST-CGI configuration
Add-WebConfiguration -Filter /system.webServer/fastCgi -PSPath IIS:\ -Value @{fullpath="C:\tools\php\php-cgi.exe"}
echo Setup FACT-CGI handler
New-WebHandler -Name "PHP-FastCGI" -Path "*.php" -Modules FastCgiModule -ScriptProcessor "C:\tools\php\php-cgi.exe" -Verb '*' -ResourceType Either
iisreset
NET START W3SVC
mkdir "${env:GITHUB_WORKSPACE}\phpBB\cache\test"
mkdir "${env:GITHUB_WORKSPACE}\phpBB\cache\installer"
icacls "${env:GITHUB_WORKSPACE}\phpBB\cache" /grant Users:F /T
icacls "${env:GITHUB_WORKSPACE}\phpBB\files" /grant Users:F /T
icacls "${env:GITHUB_WORKSPACE}\phpBB\store" /grant Users:F /T
icacls "${env:GITHUB_WORKSPACE}\phpBB\images\avatars\upload" /grant Users:F /T
$accessRule = New-Object System.Security.AccessControl.FileSystemAccessRule("IIS_IUSRS", "FullControl", "ContainerInherit,ObjectInherit", "None", "Allow")
$acl = Get-ACL "${env:TEMP_DIR}"
$acl.AddAccessRule($accessRule)
Set-ACL -Path "${env:TEMP_DIR}" -ACLObject $acl
cd ${env:GITHUB_WORKSPACE}\phpBB
php ..\composer.phar install
php ..\composer.phar remove phpunit/dbunit --dev --update-with-dependencies
php ..\composer.phar require symfony/yaml:~4.4 misantron/dbunit:~5.0 phpunit/phpunit:^9.3 doctrine/instantiator:^1.4 --dev --update-with-all-dependencies --ignore-platform-reqs
cd ..
- name: Setup database
run: |
$postgreSqlSvc = Get-Service "postgresql*"
Set-Service $postgreSqlSvc.Name -StartupType manual
$runningStatus = [System.ServiceProcess.ServiceControllerStatus]::Running
$maxStartTimeout = New-TimeSpan -Seconds 30
try {
$postgreSqlSvc.Start()
$postgreSqlSvc.WaitForStatus($runningStatus, $maxStartTimeout)
} catch {
$_ | select *
}
[System.Environment]::SetEnvironmentVariable('PATH',$Env:PATH+";${env:PGBIN}")
$env:PGPASSWORD = 'root'
psql -c 'ALTER SYSTEM SET hot_standby = on;' -U postgres
psql -c 'ALTER SYSTEM SET wal_level = minimal;' -U postgres
psql -c 'DROP DATABASE IF EXISTS phpbb_tests;' -U postgres
psql -c 'create database phpbb_tests;' -U postgres
Set-MpPreference -ExclusionPath "${env:PGDATA}" # Exclude PGDATA directory from Windows Defender
Set-MpPreference -DisableRealtimeMonitoring $true
- name: Run unit tests
if: ${{ matrix.type == 'unit' }}
run: |
phpBB/vendor/bin/phpunit --configuration .github/phpunit-psql-windows-github.xml --verbose --stop-on-error --exclude-group functional
- name: Run unit tests
if: ${{ matrix.type == 'functional' }}
run: |
phpBB/vendor/bin/phpunit --configuration .github/phpunit-psql-windows-github.xml --verbose --stop-on-error --group functional

43
.gitignore vendored
View File

@@ -1,54 +1,31 @@
# Excludes cache
*~
/phpunit.xml
/phpBB/cache/*
!/phpBB/cache/.htaccess
!/phpBB/cache/index.html
# Excludes user data
/phpBB/composer.phar
/phpBB/config*.php*
/phpBB/ext/*
/phpBB/files/*
/phpBB/images/avatars/gallery/*
/phpBB/images/avatars/upload/*
/phpBB/images/ranks/*
/phpBB/store/*
# Excludes all custom langages
/phpBB/install/schemas/schema.json
/phpBB/language/*
!/phpBB/language/en
# Excludes all custom styles
/phpBB/store/*
/phpBB/styles/*
!/phpBB/styles/prosilver
/phpBB/styles/prosilver/theme/*/
!/phpBB/styles/prosilver/theme/en
!/phpBB/styles/prosilver/theme/images
!/phpBB/styles/all
# Excludes all custom env
/phpBB/config/*
!/phpBB/config/default
!/phpBB/config/development
!/phpBB/config/installer
!/phpBB/config/production
!/phpBB/config/test
!/phpBB/config/.htaccess
# Excludes vendors
node_modules
/phpBB/vendor
# Excludes test / dev files
/phpunit.xml
/phpBB/composer.phar
/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/*
/tests/vendor
/vagrant/phpbb-install-config.yml
.vagrant
node_modules
# Excludes IDE / editors files
*~
.idea
*.DS_Store*
/.vscode

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" }
]
}
}

57
.travis.yml Normal file
View File

@@ -0,0 +1,57 @@
language: php
sudo: required
dist: precise
matrix:
include:
- php: 5.6
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: 7.2
env: DB=mysqli
- php: nightly
env: DB=mysqli
allow_failures:
- php: nightly
fast_finish: true
addons:
apt:
sources:
- node
services:
- redis-server
install:
- travis/setup-phpbb.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
before_script:
- travis/setup-database.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
- phantomjs --webdriver=8910 > /dev/null &
script:
- travis/phing-sniff.sh $DB $TRAVIS_PHP_VERSION $NOTESTS
- 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 remote set-branches --add origin $TRAVIS_BRANCH && git fetch && git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..$TRAVIS_PULL_REQUEST_SHA; fi"

18
.vscode/launch.json vendored
View File

@@ -1,18 +0,0 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug phpBB",
"type": "php",
"request": "launch",
"port": 9003,
"pathMappings": {
"/var/www/html": "${workspaceRoot}/phpBB/"
},
"log": true
}
]
}

View File

@@ -1,3 +0,0 @@
{
"php.debug.ideKey": "VSCODE"
}

281
LICENSE
View File

@@ -1,281 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS

View File

@@ -1,50 +1,40 @@
[<img src="phpBB/styles/all/imgs/svg/phpbb_logo_large_cosmic.svg" alt="phpBB" style="max-width:40%" width="400">](https://www.phpbb.com)
[![phpBB](https://www.phpbb.com/theme/images/logos/blue/160x52.png)](http://www.phpbb.com)
## ABOUT
phpBB is a free open-source bulletin board written in PHP.
## 🧑🏻‍🤝🏻🧑🏽 Community
## COMMUNITY
Get your copy of phpBB, find support and lots more on [phpBB.com](https://www.phpbb.com). Discuss the development on [area51](https://area51.phpbb.com/phpBB/index.php).
Get your copy of phpBB, find support and lots more on [phpBB.com](http://www.phpbb.com)! Discuss the development on [area51](http://area51.phpbb.com/phpBB/index.php).
## 👨‍💻 Contribute
## INSTALLING DEPENDENCIES
1. [Create an account on phpBB.com](https://www.phpbb.com/community/ucp.php?mode=register)
2. [Create a ticket (unless there already is one)](https://tracker.phpbb.com/secure/CreateIssue!default.jspa)
To be able to run an installation from the repo (and not from a pre-built package) you need to run the following commands to install phpBB's dependencies.
cd phpBB
php ../composer.phar install
## CONTRIBUTE
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://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
### 🏗️ Setting up a development build of phpBB
## VAGRANT
To run an installation from the repo (and not from a pre-built package) on a local server, run the following commands:
Read our [Vagrant documentation](phpBB/docs/vagrant.md) to find out how to use Vagrant to develop and contribute to phpBB.
- Fork phpbb/phpbb to your GitHub account, then create a local clone of it:
```
git clone https://github.com/your_github_name/phpbb.git
```
- Install phpBB's dependencies (from the root of your phpbb repo):
```
cd phpBB
php ../composer.phar install
```
## AUTOMATED TESTING
Alternatively, you can read:
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:
* Our [Vagrant documentation](phpBB/docs/vagrant.md) to find out how to use Vagrant to develop and contribute to phpBB.
* Our [GitHub Codespaces documentation](phpBB/docs/codespaces.md) to learn about phpBB's cloud-based development environment.
* [![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
## 📓 Documentation
phpBB's [Development Documentation](https://area51.phpbb.com/docs/dev/index.html) contains all the information you'll need to learn about developing for phpBB's core, extensions and automated testing.
## 🔬 Automated Testing
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 GitHub Actions below:
Branch | Description | GitHub Actions |
------- | ----------- | -------------- |
**master** | Latest development version | ![Tests](https://github.com/phpbb/phpbb/workflows/Tests/badge.svg?branch=master) |
**3.3.x** | Development of version 3.3.x | ![Tests](https://github.com/phpbb/phpbb/workflows/Tests/badge.svg?branch=3.3.x) |
## 📜 License
## LICENSE
[GNU General Public License v2](http://opensource.org/licenses/gpl-2.0.php)

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.3.13-RC1" />
<property name="prevversion" value="3.3.12" />
<property name="olderversions" value="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, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.6, 3.2.7, 3.2.8, 3.2.9, 3.2.10, 3.2.11, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9, 3.3.10, 3.3.11" />
<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}" />
@@ -81,36 +81,29 @@
--ignore=${project.basedir}/phpBB/phpbb/db/migration/data/v30x/*
phpBB/phpbb"
dir="." returnProperty="retval-php-strict" passthru="true" />
<php function="preg_replace" returnProperty="sniffIgnoreList">
<param value="/\s+/"/>
<param value=""/>
<param value="${project.basedir}/phpBB/cache/*,
${project.basedir}/phpBB/develop/*,
${project.basedir}/phpBB/ext/*,
${project.basedir}/phpBB/includes/diff/*.php,
${project.basedir}/phpBB/includes/sphinxapi.php,
${project.basedir}/phpBB/includes/utf/data/*,
${project.basedir}/phpBB/install/data/*,
${project.basedir}/phpBB/install/database_update.php,
${project.basedir}/phpBB/phpbb/*,
${project.basedir}/phpBB/vendor/*,
${project.basedir}/phpBB/vendor-ext/*,
${project.basedir}/phpBB/config.php,
${project.basedir}/phpBB/config_dev.php,
${project.basedir}/phpBB/config_test.php"/>
</php>
<exec command="phpBB/vendor/bin/phpcs
-s -p
--extensions=php
--standard=build/code_sniffer/ruleset-php-legacy-core.xml
--ignore=${sniffIgnoreList}
--ignore=${project.basedir}/phpBB/cache/*
--ignore=${project.basedir}/phpBB/develop/*
--ignore=${project.basedir}/phpBB/ext/*
--ignore=${project.basedir}/phpBB/includes/diff/*.php
--ignore=${project.basedir}/phpBB/includes/sphinxapi.php
--ignore=${project.basedir}/phpBB/includes/utf/data/*
--ignore=${project.basedir}/phpBB/install/data/*
--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
-s -p
--extensions=php
--standard=build/code_sniffer/ruleset-php-extensions.xml
--ignore=${project.basedir}/phpBB/ext/*/tests/*,${project.basedir}/phpBB/ext/*/vendor/*
--ignore=${project.basedir}/phpBB/ext/*/tests/*
--ignore=${project.basedir}/phpBB/ext/*/vendor/*
phpBB/ext"
dir="." returnProperty="retval-php-ext" passthru="true" />
<if>
@@ -128,13 +121,13 @@
<!-- Builds docs for current branch into build/api/output/master -->
<target name="docs">
<exec dir="."
command="./doctum.phar update build/doctum-checkout.conf.php"
command="phpBB/vendor/bin/sami.php update build/sami-checkout.conf.php"
passthru="true" />
</target>
<!-- Builds docs for multiple branches/tags into build/api/output/$branch -->
<target name="docs-all">
<exec dir="."
command="./doctum.phar update build/doctum-all.conf.php"
command="phpBB/vendor/bin/sami.php update build/sami-all.conf.php"
passthru="true" />
</target>
@@ -181,7 +174,6 @@
<!-- create an empty config.php file (not for diffs) -->
<touch file="build/new_version/phpBB3/config.php" />
<copy file="build/new_version/phpBB3/phpbb/.htaccess" tofile="build/new_version/phpBB3/vendor/.htaccess" />
</target>
@@ -363,8 +355,6 @@
<chmod mode="0777" file="${dir}/store" />
<chmod mode="0777" file="${dir}/files" />
<chmod mode="0777" file="${dir}/images/avatars/upload" />
<!-- set permissions of executable scripts to 755 -->
<chmod mode="0755" file="${dir}/bin/phpbbcli.php" />
</target>
<target name="clean-vendor-dir">

View File

@@ -1,16 +1,16 @@
#!/usr/bin/env php
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
*
* 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.
*
*/
if ($_SERVER['argc'] != 2)
{
@@ -18,54 +18,40 @@ if ($_SERVER['argc'] != 2)
exit(1);
}
if ($_SERVER['argv'][1] == '--stdin')
{
$stdIn = file_get_contents('php://stdin');
// XML output from tracker can be directly piped to this script using:
// cat tracker_output.xml | php build/build_changelog.php --stdin
$xml = simplexml_load_string($stdIn);
}
else
{
$fixVersion = $_SERVER['argv'][1];
$fixVersion = $_SERVER['argv'][1];
$query = 'project IN (PHPBB3, SECURITY)
AND resolution = Fixed
AND fixVersion = "' . $fixVersion . '"
AND status IN ("Unverified Fix", Closed)';
$query = 'project IN (PHPBB3, SECURITY)
AND resolution = Fixed
AND fixVersion = "' . $fixVersion . '"
AND status IN ("Unverified Fix", Closed)';
$url = 'https://tracker.phpbb.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=' . urlencode($query) . '&tempMax=1000';
$xml = simplexml_load_string(file_get_contents($url));
}
$url = 'http://tracker.phpbb.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=' . urlencode($query) . '&tempMax=1000';
$xml = simplexml_load_string(file_get_contents($url));
$types = [];
foreach ($xml->xpath('//item') as $item)
{
$key = (string) $item->key;
$keyUrl = 'https://tracker.phpbb.com/browse/' . $key;
$keyUrl = 'http://tracker.phpbb.com/browse/' . $key;
$keyLink = '<a href="' . $keyUrl . '">' . $key . '</a>';
$value = str_replace($key, $keyLink, htmlspecialchars($item->title, ENT_COMPAT));
$value = str_replace($key, $keyLink, htmlspecialchars($item->title));
$value = str_replace(']', '] -', $value);
$types[(string) $item->type][$key] = $value;
}
if (count($types))
ksort($types);
foreach ($types as $type => $tickets)
{
ksort($types);
foreach ($types as $type => $tickets)
echo "<h4>$type</h4>\n";
echo "<ul>\n";
uksort($tickets, 'strnatcasecmp');
foreach ($tickets as $ticket)
{
echo "<h4>$type</h4>\n";
echo "<ul>\n";
uksort($tickets, 'strnatcasecmp');
foreach ($tickets as $ticket)
{
echo "<li>$ticket</li>\n";
}
echo "</ul>\n";
echo "<li>$ticket</li>\n";
}
echo "</ul>\n";
}

View File

@@ -33,7 +33,7 @@ class build_package
var $status_begun = false;
var $num_dots = 0;
function __construct($versions, $verbose = false)
function build_package($versions, $verbose = false)
{
$this->versions = $versions;
$this->verbose = $verbose;
@@ -43,10 +43,10 @@ class build_package
$_before = $this->versions[count($this->versions) - 2];
$this->locations = array(
'new_version' => dirname(__DIR__) . '/phpBB/',
'old_versions' => __DIR__ . '/old_versions/',
'root' => __DIR__ . '/',
'package_dir' => __DIR__ . '/new_version/'
'new_version' => dirname(dirname(__FILE__)) . '/phpBB/',
'old_versions' => dirname(__FILE__) . '/old_versions/',
'root' => dirname(__FILE__) . '/',
'package_dir' => dirname(__FILE__) . '/new_version/'
);
$this->package_infos = array(

View File

@@ -11,9 +11,6 @@
*
*/
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
/**
* Checks that each PHP source file contains a valid header as defined by the
* phpBB Coding Guidelines.
@@ -21,7 +18,7 @@ use PHP_CodeSniffer\Sniffs\Sniff;
* @package code_sniffer
* @author Manuel Pichler <mapi@phpundercontrol.org>
*/
class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff
{
/**
* Returns an array of tokens this test wants to listen for.
@@ -36,13 +33,13 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
/**
* Processes this test, when one of its tokens is encountered.
*
* @param File $phpcsFile The file being scanned.
* @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
* @param int $stackPtr The position of the current token
* in the stack passed in $tokens.
*
* @return void
* @return null
*/
public function process(File $phpcsFile, $stackPtr): void
public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
{
// We are only interested in the first file comment.
if ($stackPtr !== 0)
@@ -65,7 +62,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
// Mark as error if this is not a doc comment
else if ($start === false || $tokens[$start]['code'] !== T_DOC_COMMENT_OPEN_TAG)
{
$phpcsFile->addError('Missing required file doc comment.', $stackPtr, 'MissingComment');
$phpcsFile->addError('Missing required file doc comment.', $stackPtr);
return;
}
@@ -85,7 +82,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
if ($tokens[$token]['column'] === 1 && (($tokens[$token]['content'] !== '*' && $tokens[$token]['content'] !== ' ') || ($tokens[$token]['content'] === ' ' && $tokens[$token + 1]['content'] !== '*')))
{
$message = 'The file doc comment should not be indented.';
$phpcsFile->addWarning($message, $token, 'CommentIndented');
$phpcsFile->addWarning($message, $token);
}
}
@@ -98,13 +95,13 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
if (!(($tokens[$start + 2]['content'] !== '*' && $tokens[$start + 4]['content'] !== '*') || ($tokens[$start + 3]['content'] !== '*' && $tokens[$start + 6]['content'] !== '*')))
{
$message = 'The first file comment line should be empty.';
$phpcsFile->addWarning($message, ($start + 1), 'CommentFirstNotEmpty');
$phpcsFile->addWarning($message, ($start + 1));
}
if ($tokens[$end - 3]['content'] !== '*' && $tokens[$end - 6]['content'] !== '*')
{
$message = 'The last file comment line should be empty.';
$phpcsFile->addWarning($message, $end - 1, 'CommentLastNotEmpty');
$phpcsFile->addWarning($message, $end - 1);
}
//$this->processPackage($phpcsFile, $start, $tags);
@@ -116,59 +113,59 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
/**
* Checks that the tags array contains a valid package tag
*
* @param File $phpcsFile The context source file instance.
* @param PHP_CodeSniffer_File $phpcsFile The context source file instance.
* @param integer The stack pointer for the first comment token.
* @param array(string=>array) $tags The found file doc comment tags.
*
* @return void
* @return null
*/
protected function processPackage(File $phpcsFile, $ptr, $tags): void
protected function processPackage(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
{
if (!isset($tags['package']))
{
$message = 'Missing require @package tag in file doc comment.';
$phpcsFile->addError($message, $ptr, 'MissingTagPackage');
$phpcsFile->addError($message, $ptr);
}
else if (preg_match('/^([\w]+)$/', $tags['package'][0]) === 0)
{
$message = 'Invalid content found for @package tag.';
$phpcsFile->addWarning($message, $tags['package'][1], 'InvalidTagPackage');
$phpcsFile->addWarning($message, $tags['package'][1]);
}
}
/**
* Checks that the tags array contains a valid version tag
*
* @param File $phpcsFile The context source file instance.
* @param PHP_CodeSniffer_File $phpcsFile The context source file instance.
* @param integer The stack pointer for the first comment token.
* @param array(string=>array) $tags The found file doc comment tags.
*
* @return void
* @return null
*/
protected function processVersion(File $phpcsFile, $ptr, $tags): void
protected function processVersion(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
{
if (!isset($tags['version']))
{
$message = 'Missing require @version tag in file doc comment.';
$phpcsFile->addError($message, $ptr, 'MissingTagVersion');
$phpcsFile->addError($message, $ptr);
}
else if (preg_match('/^\$Id:[^\$]+\$$/', $tags['version'][0]) === 0)
{
$message = 'Invalid content found for @version tag, use "$Id: $".';
$phpcsFile->addError($message, $tags['version'][1], 'InvalidTagVersion');
$phpcsFile->addError($message, $tags['version'][1]);
}
}
/**
* Checks that the tags array contains a valid copyright tag
*
* @param File $phpcsFile The context source file instance.
* @param PHP_CodeSniffer_File $phpcsFile The context source file instance.
* @param integer The stack pointer for the first comment token.
* @param array(string=>array) $tags The found file doc comment tags.
*
* @return void
* @return null
*/
protected function processCopyright(File $phpcsFile, $ptr, $tags): void
protected function processCopyright(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
{
$copyright = '(c) phpBB Limited <https://www.phpbb.com>';
$tokens = $phpcsFile->getTokens();
@@ -180,7 +177,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
if ($tokens[$tag + 2]['content'] !== $copyright)
{
$message = 'Invalid content found for the first @copyright tag, use "' . $copyright . '".';
$phpcsFile->addError($message, $tags['copyright'][0][1], 'InvalidTagCopyright');
$phpcsFile->addError($message, $tags['copyright'][0][1]);
}
return;
@@ -188,19 +185,19 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
}
$message = 'Missing require @copyright tag in file doc comment.';
$phpcsFile->addError($message, $ptr, 'MissingTagCopyright');
$phpcsFile->addError($message, $ptr);
}
/**
* Checks that the tags array contains a valid license tag
*
* @param File $phpcsFile The context source file instance.
* @param PHP_CodeSniffer_File $phpcsFile The context source file instance.
* @param integer The stack pointer for the first comment token.
* @param array(string=>array) $tags The found file doc comment tags.
*
* @return void
* @return null
*/
protected function processLicense(File $phpcsFile, $ptr, $tags): void
protected function processLicense(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
{
$license = 'GNU General Public License, version 2 (GPL-2.0)';
$tokens = $phpcsFile->getTokens();
@@ -213,7 +210,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
if ($found)
{
$message = 'It must be only one @license tag in file doc comment.';
$phpcsFile->addError($message, $ptr, 'MultiTagVersion');
$phpcsFile->addError($message, $ptr);
}
$found = true;
@@ -221,7 +218,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
if ($tokens[$tag + 2]['content'] !== $license)
{
$message = 'Invalid content found for @license tag, use "' . $license . '".';
$phpcsFile->addError($message, $tags['license'][0][1], 'InvalidTagLicense');
$phpcsFile->addError($message, $tags['license'][0][1]);
}
}
}
@@ -229,7 +226,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements Sniff
if (!$found)
{
$message = 'Missing require @license tag in file doc comment.';
$phpcsFile->addError($message, $ptr, 'MissingTagLicense');
$phpcsFile->addError($message, $ptr);
}
}
}

View File

@@ -11,14 +11,11 @@
*
*/
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
/**
* Checks that the opening brace of a control structures is on the line after.
* From Generic_Sniffs_Functions_OpeningFunctionBraceBsdAllmanSniff
*/
class phpbb_Sniffs_ControlStructures_OpeningBraceBsdAllmanSniff implements Sniff
class phpbb_Sniffs_ControlStructures_OpeningBraceBsdAllmanSniff implements PHP_CodeSniffer_Sniff
{
/**
* Registers the tokens that this sniff wants to listen for.
@@ -39,13 +36,13 @@ class phpbb_Sniffs_ControlStructures_OpeningBraceBsdAllmanSniff implements Sniff
/**
* Processes this test, when one of its tokens is encountered.
*
* @param File $phpcsFile The file being scanned.
* @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
* @param int $stackPtr The position of the current token in the
* stack passed in $tokens.
*
* @return void
*/
public function process(File $phpcsFile, $stackPtr)
public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
{
$tokens = $phpcsFile->getTokens();

View File

@@ -11,14 +11,11 @@
*
*/
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
/**
* Checks that there is exactly one space between the keyword and the opening
* parenthesis of a control structures.
*/
class phpbb_Sniffs_ControlStructures_OpeningParenthesisSniff implements Sniff
class phpbb_Sniffs_ControlStructures_OpeningParenthesisSniff implements PHP_CodeSniffer_Sniff
{
/**
* Registers the tokens that this sniff wants to listen for.
@@ -39,13 +36,13 @@ class phpbb_Sniffs_ControlStructures_OpeningParenthesisSniff implements Sniff
/**
* Processes this test, when one of its tokens is encountered.
*
* @param File $phpcsFile The file being scanned.
* @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
* @param int $stackPtr The position of the current token in the
* stack passed in $tokens.
*
* @return void
*/
public function process(File $phpcsFile, $stackPtr)
public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
{
$tokens = $phpcsFile->getTokens();

View File

@@ -1,57 +0,0 @@
<?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.
*
*/
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
/**
* Checks that the visibility qualifiers are placed after the static keyword
* according to the coding guidelines
*/
class phpbb_Sniffs_ControlStructures_StaticKeywordSniff implements Sniff
{
/**
* Registers the tokens that this sniff wants to listen for.
*/
public function register()
{
return [
T_STATIC,
];
}
/**
* Processes this test, when one of its tokens is encountered.
*
* @param File $phpcsFile The file being scanned.
* @param int $stackPtr The position of the current token in the stack passed in $tokens.
*
* @return void
*/
public function process(File $phpcsFile, $stackPtr)
{
$tokens = $phpcsFile->getTokens();
$disallowed_after_tokens = [
T_PUBLIC,
T_PROTECTED,
T_PRIVATE,
];
if (in_array($tokens[$stackPtr + 2]['code'], $disallowed_after_tokens))
{
$error = 'Access specifier (e.g. public) should not follow static scope attribute. Encountered "' . $tokens[$stackPtr + 2]['content'] . '" after static';
$phpcsFile->addWarning($error, $stackPtr, 'InvalidStaticFunctionDeclaration', [], 1);
}
}
}

View File

@@ -11,42 +11,26 @@
*
*/
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
/**
* Checks that each use statement is used.
*/
class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
class phpbb_Sniffs_Namespaces_UnusedUseSniff implements PHP_CodeSniffer_Sniff
{
const FIND = [
T_NS_SEPARATOR,
T_STRING,
T_WHITESPACE,
];
/**
* {@inheritdoc}
*/
public function register()
{
return [T_USE];
return array(T_USE);
}
protected function check(File $phpcsFile, $found_name, $full_name, $short_name, $stack_pointer)
protected function check($phpcsFile, $found_name, $full_name, $short_name, $line)
{
$found_name_normalized = ltrim($found_name, '\\');
$full_name = ltrim($full_name, '\\');
$is_global = ($full_name === $short_name);
$unnecessarily_fully_qualified = ($is_global)
? ($found_name_normalized !== $found_name && $found_name_normalized === $short_name)
: ($found_name_normalized === $full_name);
if ($unnecessarily_fully_qualified)
if ($found_name === $full_name)
{
$error = 'Either use statement or full name must be used.';
$phpcsFile->addError($error, $stack_pointer, 'FullName');
$phpcsFile->addError($error, $line, 'FullName');
}
if ($found_name === $short_name)
@@ -60,7 +44,7 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
/**
* {@inheritdoc}
*/
public function process(File $phpcsFile, $stackPtr)
public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
{
if ($this->should_ignore_use($phpcsFile, $stackPtr) === true)
{
@@ -71,50 +55,27 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
$class_name_start = $phpcsFile->findNext(array(T_NS_SEPARATOR, T_STRING), ($stackPtr + 1));
$class_name_end = $phpcsFile->findNext(self::FIND, ($stackPtr + 1), null, true);
$find = array(
T_NS_SEPARATOR,
T_STRING,
T_WHITESPACE,
);
$class_name_end = $phpcsFile->findNext($find, ($stackPtr + 1), null, true);
$aliasing_as_position = $phpcsFile->findNext(T_AS, $class_name_end, null, false, null, true);
if ($aliasing_as_position !== false)
{
$alias_position = $phpcsFile->findNext(T_STRING, $aliasing_as_position, null, false, null, true);
$name_short = $tokens[$alias_position]['content'];
$name_full = $phpcsFile->getTokensAsString($class_name_start, ($class_name_end - $class_name_start - 1));
$class_name_short = $tokens[$alias_position]['content'];
$class_name_full = $phpcsFile->getTokensAsString($class_name_start, ($class_name_end - $class_name_start - 1));
}
else
{
$name_full = $phpcsFile->getTokensAsString($class_name_start, ($class_name_end - $class_name_start));
$name_short = $tokens[$class_name_end - 1]['content'];
$class_name_full = $phpcsFile->getTokensAsString($class_name_start, ($class_name_end - $class_name_start));
$class_name_short = $tokens[$class_name_end - 1]['content'];
}
if ($tokens[$class_name_start]['content'] === 'function'
&& $tokens[$class_name_start + 1]['code'] === T_WHITESPACE)
{
$class_name_start += 2;
$name_full = $phpcsFile->getTokensAsString(
$class_name_start,
($class_name_end - $class_name_start - (int) ($aliasing_as_position !== false))
);
$ok = $this->findFunctionUsage($phpcsFile, $stackPtr, $tokens, $name_full, $name_short);
}
else
{
$ok = $this->findClassUsage($phpcsFile, $stackPtr, $tokens, $name_full, $name_short);
}
if ($name_full[0] === '\\')
{
$phpcsFile->addError("There must not be a leading '\\' in use statements.", $stackPtr, 'Malformed');
}
if (!$ok)
{
$error = 'There must not be unused USE statements.';
$phpcsFile->addError($error, $stackPtr, 'Unused');
}
}
private function findClassUsage(File $phpcsFile, $stackPtr, $tokens, $class_name_full, $class_name_short)
{
$ok = false;
// Checks in simple statements (new, instanceof and extends)
@@ -131,11 +92,11 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
continue;
}
$simple_class_name_end = $phpcsFile->findNext(self::FIND, ($simple_statement + 1), null, true);
$simple_class_name_end = $phpcsFile->findNext($find, ($simple_statement + 1), null, true);
$simple_class_name = trim($phpcsFile->getTokensAsString($simple_class_name_start, ($simple_class_name_end - $simple_class_name_start)));
$ok = $this->check($phpcsFile, $simple_class_name, $class_name_full, $class_name_short, $simple_statement) || $ok;
$ok = $this->check($phpcsFile, $simple_class_name, $class_name_full, $class_name_short, $simple_statement) ? true : $ok;
}
}
@@ -145,12 +106,12 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
{
$old_paamayim_nekudotayim = $paamayim_nekudotayim;
$paamayim_nekudotayim_class_name_start = $phpcsFile->findPrevious(self::FIND, $paamayim_nekudotayim - 1, null, true);
$paamayim_nekudotayim_class_name_start = $phpcsFile->findPrevious($find, $paamayim_nekudotayim - 1, null, true);
$paamayim_nekudotayim_class_name_end = $paamayim_nekudotayim - 1;
$paamayim_nekudotayim_class_name = trim($phpcsFile->getTokensAsString($paamayim_nekudotayim_class_name_start + 1, ($paamayim_nekudotayim_class_name_end - $paamayim_nekudotayim_class_name_start)));
$ok = $this->check($phpcsFile, $paamayim_nekudotayim_class_name, $class_name_full, $class_name_short, $paamayim_nekudotayim) || $ok;
$ok = $this->check($phpcsFile, $paamayim_nekudotayim_class_name, $class_name_full, $class_name_short, $paamayim_nekudotayim) ? true : $ok;
}
// Checks in implements
@@ -165,11 +126,11 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
$old_implemented_class = $implemented_class;
$implements_class_name_start = $phpcsFile->findNext(array(T_NS_SEPARATOR, T_STRING), ($implemented_class - 1));
$implements_class_name_end = $phpcsFile->findNext(self::FIND, ($implemented_class - 1), null, true);
$implements_class_name_end = $phpcsFile->findNext($find, ($implemented_class - 1), null, true);
$implements_class_name = trim($phpcsFile->getTokensAsString($implements_class_name_start, ($implements_class_name_end - $implements_class_name_start)));
$ok = $this->check($phpcsFile, $implements_class_name, $class_name_full, $class_name_short, $implements) || $ok;
$ok = $this->check($phpcsFile, $implements_class_name, $class_name_full, $class_name_short, $implements) ? true : $ok;
}
}
@@ -177,7 +138,7 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
while (($docblock = $phpcsFile->findNext(T_DOC_COMMENT_CLOSE_TAG, ($old_docblock + 1))) !== false)
{
$old_docblock = $docblock;
$ok = $this->checkDocblock($phpcsFile, $docblock, $tokens, $class_name_full, $class_name_short) || $ok;
$ok = $this->checkDocblock($phpcsFile, $docblock, $tokens, $class_name_full, $class_name_short) ? true : $ok;
}
// Checks in type hinting
@@ -190,7 +151,7 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
$params = $phpcsFile->getMethodParameters($function_declaration);
foreach ($params as $param)
{
$ok = $this->check($phpcsFile, $param['type_hint'], $class_name_full, $class_name_short, $function_declaration) || $ok;
$ok = $this->check($phpcsFile, $param['type_hint'], $class_name_full, $class_name_short, $function_declaration) ? true : $ok;
}
}
@@ -201,118 +162,30 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
$old_catch = $catch;
$caught_class_name_start = $phpcsFile->findNext(array(T_NS_SEPARATOR, T_STRING), $catch + 1);
$caught_class_name_end = $phpcsFile->findNext(self::FIND, $caught_class_name_start + 1, null, true);
$caught_class_name_end = $phpcsFile->findNext($find, $caught_class_name_start + 1, null, true);
$caught_class_name = trim($phpcsFile->getTokensAsString($caught_class_name_start, ($caught_class_name_end - $caught_class_name_start)));
$ok = $this->check($phpcsFile, $caught_class_name, $class_name_full, $class_name_short, $catch) || $ok;
$ok = $this->check($phpcsFile, $caught_class_name, $class_name_full, $class_name_short, $catch) ? true : $ok;
}
$old_use = $stackPtr;
while (($use = $phpcsFile->findNext(T_USE, ($old_use + 1))) !== false)
if (!$ok)
{
$old_use = $use;
// Needs to be inside a class and must not be inside a function scope.
if (!$phpcsFile->hasCondition($use, [T_CLASS, T_TRAIT]) || $phpcsFile->hasCondition($use, T_FUNCTION))
{
continue;
}
$next = $phpcsFile->findNext(T_WHITESPACE, ($use + 1), null, true, null, true);
if ($tokens[$next]['code'] === T_OPEN_PARENTHESIS)
{
continue;
}
$class_name_start = $phpcsFile->findNext(array(T_NS_SEPARATOR, T_STRING), $use + 1, null, false, null, true);
$class_name_end = $phpcsFile->findNext(self::FIND, $class_name_start + 1, null, true, null, true);
$found_name = trim($phpcsFile->getTokensAsString($class_name_start, ($class_name_end - $class_name_start)));
$ok = $this->check($phpcsFile, $found_name, $class_name_full, $class_name_short, $use) || $ok;
$error = 'There must not be unused USE statements.';
$phpcsFile->addError($error, $stackPtr, 'Unused');
}
return $ok;
}
private function findFunctionUsage(File $phpcsFile, $stackPtr, $tokens, $name_full, $name_short)
{
$ok = false;
$position = $phpcsFile->findNext(T_OPEN_PARENTHESIS, $stackPtr + 1);
while ($position !== false)
{
$function_name_end = $position;
$found_start = 1 + $phpcsFile->findPrevious(
[T_NS_SEPARATOR, T_STRING, T_WHITESPACE],
$function_name_end - 1,
null,
true
);
$position = $phpcsFile->findNext(T_OPEN_PARENTHESIS, $position + 1);
if ($found_start === null)
{
continue;
}
$function_name_start = $found_start;
// Trim the output.
while ($tokens[$function_name_start]['code'] === T_WHITESPACE && $function_name_start < $function_name_end)
{
++$function_name_start;
}
while ($tokens[$function_name_end]['code'] === T_WHITESPACE && $function_name_end > $function_name_start)
{
--$function_name_end;
}
$function_name_length = $function_name_end - $function_name_start;
// Filter out control structures, built in type constructors, etc.
if ($function_name_length <= 0)
{
continue;
}
// This doesn't seem to be valid PHP, where is the opening tag?
if ($found_start === 0)
{
continue;
}
$previous_token = $found_start - 1;
$filter = [
T_FUNCTION, // Function declaration
T_OBJECT_OPERATOR, // Method call
T_DOUBLE_COLON, // Static method call
T_NEW, // Constructors
];
// Filter out calls to methods and function declarations.
if (in_array($tokens[$previous_token]['code'], $filter))
{
continue;
}
$function_name = $phpcsFile->getTokensAsString($function_name_start, $function_name_length);
$ok = $this->check($phpcsFile, $function_name, $name_full, $name_short, $function_name_start) || $ok;
}
return $ok;
}
/**
* Check if this use statement is part of the namespace block.
*
* @param File $phpcsFile The file being scanned.
* @param PHP_CodeSniffer_File $phpcsFile The file being scanned.
* @param int $stackPtr The position of the current token in
* the stack passed in $tokens.
*
* @return bool
*/
private function should_ignore_use(File $phpcsFile, $stackPtr)
private function should_ignore_use(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
{
$tokens = $phpcsFile->getTokens();
@@ -334,7 +207,7 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
}
/**
* @param File $phpcsFile
* @param PHP_CodeSniffer_File $phpcsFile
* @param int $field
* @param array $tokens
* @param string $class_name_full
@@ -343,7 +216,7 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
*
* @return bool
*/
private function checkDocblock(File $phpcsFile, $comment_end, $tokens, $class_name_full, $class_name_short)
private function checkDocblock(PHP_CodeSniffer_File $phpcsFile, $comment_end, $tokens, $class_name_full, $class_name_short)
{
$ok = false;
@@ -371,7 +244,7 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements Sniff
$classes = explode('|', str_replace('[]', '', $classes));
foreach ($classes as $class)
{
$ok = $this->check($phpcsFile, $class, $class_name_full, $class_name_short, $tag + 2) || $ok;
$ok = $this->check($phpcsFile, $class, $class_name_full, $class_name_short, $tokens[$tag + 2]['line']) ? true : $ok;
}
}

View File

@@ -89,7 +89,4 @@
<!-- There MUST be one space between control structure and opening parenthesis -->
<rule ref="./phpbb/Sniffs/ControlStructures/OpeningParenthesisSniff.php" />
<!-- Static qualifier MUST be placed before the visibility qualifiers. -->
<rule ref="./phpbb/Sniffs/ControlStructures/StaticKeywordSniff.php" />
</ruleset>

View File

@@ -1,21 +0,0 @@
<?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.
*
*/
require __DIR__ . '/doctum-checkout.conf.php';
$config['versions'] = Doctum\Version\GitVersionCollection::create(__DIR__ . '/../')
->add('3.3.x')
->add('master')
;
return new Doctum\Doctum($iterator, $config);

View File

@@ -1,31 +0,0 @@
<?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.
*
*/
$iterator = Symfony\Component\Finder\Finder::create()
->files()
->name('*.php')
->in(__DIR__ . '/../phpBB/')
->notPath('#^cache/#')
->notPath('#^develop/#')
->notPath('#^ext/#')
->notPath('#^vendor/#')
->notPath('data');
// This variable will be used and changed in doctum-all.conf.php
$config = [
'title' => 'phpBB API Documentation',
'build_dir' => __DIR__ . '/api/output/%version%',
'cache_dir' => __DIR__ . '/api/cache/%version%',
];
return new Doctum\Doctum($iterator, $config);

View File

@@ -1,127 +0,0 @@
#!/usr/bin/env php
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
if (version_compare(PHP_VERSION, '7.0-dev', '<'))
{
die('generate_package_json.php requires at least PHP 7.0.');
}
define('IN_PHPBB', true);
include_once('../phpBB/includes/functions.php');
$json_data = new \stdClass();
$json_data->metadata = new stdClass();
$json_data->metadata->current_version_date = '';
$json_data->metadata->current_version = '';
$json_data->metadata->download_path = '';
$json_data->metadata->show_update_package = true;
$json_data->metadata->historic = false;
$json_data->package = [];
// Open build.xml
$build_xml = simplexml_load_file('build.xml');
$current_version = (string) $build_xml->xpath('/project/property[@name=\'newversion\']/@value')[0]->value;
$previous_version = (string) $build_xml->xpath('/project/property[@name=\'prevversion\']/@value')[0]->value;
$older_verions = explode(', ', (string) $build_xml->xpath('/project/property[@name=\'olderversions\']/@value')[0]->value);
// Clean and sort version info
$older_verions[] = $previous_version;
$older_verions = array_filter($older_verions, function($version) {
preg_match(get_preg_expression('semantic_version'), $version, $matches);
return empty($matches['prerelease']) || strpos($matches['prerelease'], 'pl') !== false;
});
usort($older_verions, function($version_a, $version_b)
{
return phpbb_version_compare($version_b, $version_a);
});
// Set metadata
$json_data->metadata->current_version = $current_version;
$json_data->metadata->current_version_date = date('Y-m-d');
$json_data->metadata->download_path = 'https://download.phpbb.com/pub/release/' . preg_replace('#([0-9]+\.[0-9]+)(\..+)#', '$1', $current_version) . '/' . $current_version . '/';
// Add package, patch files, and changed files
phpbb_add_package_file(
$json_data->package,
'phpBB ' . $current_version,
'phpBB-' . $current_version,
'full',
''
);
phpbb_add_package_file(
$json_data->package,
'phpBB ' . $current_version . ' Patch Files',
'phpBB-' . $current_version . '-patch',
'update',
'patch'
);
phpbb_add_package_file(
$json_data->package,
'phpBB ' . $current_version . ' Changed Files',
'phpBB-' . $current_version . '-files',
'update',
'files'
);
// Loop through packages and assign to packages array
foreach ($older_verions as $version)
{
phpbb_add_package_file(
$json_data->package,
'phpBB ' . $version . ' to ' . $current_version . ' Update Package',
'phpBB-' . $version . '_to_' . $current_version,
'update',
'advanced_update',
$version
);
}
echo(json_encode($json_data, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . "\n");
function phpbb_add_package_file(array &$package_list, $name, $file_name, $type, $subtype, $from = '')
{
if (!file_exists(__DIR__ . '/new_version/release_files/' . $file_name . '.zip'))
{
trigger_error('File does not exist: ' . __DIR__ . '/new_version/release_files/' . $file_name . '.zip');
return;
}
$package_file = new stdClass();
$package_file->name = $name;
$package_file->filename = $file_name;
$package_file->type = $type;
if (!empty($subtype))
{
$package_file->subtype = $subtype;
}
if (!empty($from))
{
$package_file->from = $from;
}
$package_file->files = [];
foreach (['zip', 'tar.bz2'] as $extension)
{
$file_path = 'new_version/release_files/' . $file_name . '.' . $extension;
$filedata = new stdClass();
$filedata->filesize = filesize($file_path);
$filedata->checksum = trim(preg_replace('/(^\w+)(.+)/', '$1', file_get_contents($file_path . '.sha256')));
$filedata->filetype = $extension;
$package_file->files[] = $filedata;
}
$package_list[] = $package_file;
}

32
build/sami-all.conf.php Normal file
View File

@@ -0,0 +1,32 @@
<?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.
*
*/
require __DIR__ . '/sami-checkout.conf.php';
$config['versions'] = Sami\Version\GitVersionCollection::create(__DIR__ . '/../')
/*
This would be nice, but currently causes various problems that need
debugging.
->addFromTags('release-3.0.*')
->add('3.0.x', '3.0-next (olympus)')
->addFromTags('release-3.1.*')
->add('3.1.x', '3.1-next (ascraeus)')
->add('master')
*/
->add('3.0.x')
->add('3.1.x')
->add('3.2.x')
->add('master')
;
return new Sami\Sami($iterator, $config);

View File

@@ -0,0 +1,44 @@
<?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.
*
*/
// Prevent 'Class "acm" does not exist.' exception on removeClass().
class PhpbbArrayStore extends Sami\Store\ArrayStore
{
public function removeClass(Sami\Project $project, $name)
{
unset($this->classes[$name]);
}
}
$iterator = Symfony\Component\Finder\Finder::create()
->files()
->name('*.php')
->in(__DIR__ . '/../phpBB/')
->notPath('#^cache/#')
->notPath('#^develop/#')
->notPath('#^ext/#')
->notPath('#^vendor/#')
->notPath('data')
;
$config = array(
'theme' => 'enhanced',
'title' => 'phpBB API Documentation',
'build_dir' => __DIR__.'/api/output/%version%',
'cache_dir' => __DIR__.'/api/cache/%version%',
'default_opened_level' => 2,
// Do not use JsonStore. See https://github.com/fabpot/Sami/issues/79
'store' => new PhpbbArrayStore,
);
return new Sami\Sami($iterator, $config);

View File

@@ -1,54 +0,0 @@
<?php declare(strict_types=1);
/**
*
* 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.
*
*/
if (php_sapi_name() !== 'cli')
{
die("This program must be run from the command line.\n");
}
if (version_compare(PHP_VERSION, '7.1.3', '<'))
{
die('update_stylesheet_querystrings.php requires at least PHP 7.1.3');
}
// Usage: "$ php build/update_stylesheet_querystrings.php"
$targets = [dirname(dirname(__FILE__)) . '/phpBB/styles/prosilver/theme/stylesheet.css'];
array_map('patch_glob', $targets);
function patch_glob($glob): void
{
array_map('patch_file', glob($glob));
}
function patch_file(string $filepath): void
{
$file = file_get_contents($filepath);
$old = $file;
$new = preg_replace_callback(
'(^@import\\s+url\\([\'"](?<basename>\\w++\\.css)\\?\\K(?:hash|v)=[^\'"]++)m',
function ($match) use ($filepath)
{
$path = dirname($filepath) . DIRECTORY_SEPARATOR . $match['basename'];
$hash = sprintf('%08x', crc32(file_get_contents($path)));
return 'hash=' . $hash;
},
$old
);
if ($new !== $old)
{
file_put_contents($filepath, $new);
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -24,17 +24,7 @@ COMMIT_MSG_HOOK_FATAL=$(git config --bool phpbb.hooks.commit-msg.fatal 2> /dev/n
git config phpbb.hooks.commit-msg.fatal true
EXIT_STATUS=0
COMMIT_HASHES=$(git rev-list --no-merges "$COMMIT_RANGE")
# If any message have been returned instead of commit hashes list
# send a non-zero exit status upstream.
if ! [[ "$COMMIT_HASHES" =~ ^[0-9a-f]{5,40} ]]
then
EXIT_STATUS=1
fi
for COMMIT_HASH in $COMMIT_HASHES
for COMMIT_HASH in $(git rev-list --no-merges "$COMMIT_RANGE")
do
echo "Inspecting commit message of commit $COMMIT_HASH"

View File

@@ -1,7 +1,7 @@
#!/bin/sh
#
# A hook to check syntax of a phpBB3 commit message, per:
# * <https://area51.phpbb.com/docs/dev/master/development/git.html>
# * <http://wiki.phpbb.com/display/DEV/Git>
# * <http://area51.phpbb.com/phpBB/viewtopic.php?p=209919#p209919>
#
# This is a commit-msg hook.
@@ -147,15 +147,6 @@ then
quit $ERR_LENGTH;
fi
# Check for CR/LF line breaks
if grep -q $'\r$' "$1"
then
complain "The commit message uses CR/LF line breaks, which are not permitted." >&2
complain >&2
quit $ERR_EOF;
fi
lines=$(wc -l "$1" | awk '{ print $1; }');
expecting=header;
in_description=0;
@@ -224,7 +215,7 @@ do
"footer")
err=$ERR_FOOTER;
# Each ticket is on its own line
echo "$line" | grep -Eq "^PHPBB3?-[0-9]+$";
echo "$line" | grep -Eq "^PHPBB3-[0-9]+$";
;;
"eof")
err=$ERR_EOF;
@@ -356,7 +347,7 @@ echo "$expecting" | grep -q "eof" || (
# Check the branch ticket is mentioned, doesn't make sense otherwise
if [ $ticket -gt 0 ]
then
echo "$tickets" | grep -Eq "\bPHPBB3?-$ticket\b" || (
echo "$tickets" | grep -Eq "\bPHPBB3-$ticket\b" || (
complain "Ticket ID [$ticket] of branch missing from list of tickets:" >&2;
complain "$tickets" | sed 's/ /\n/g;s/^/* /g' >&2;
quit $ERR_FOOTER;

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
# A hook to add [$branch] to the beginning of a commit message
# if certain conditions are met.
@@ -31,25 +31,12 @@ branch="$(echo "$branch" | sed "s/refs\/heads\///g")"
if [ "$2" = "" ]
then
tail="";
ticket_id=$(sed -E 's/(ticket\/)(security\/)?([0-9]+)(.+$)?/\3/gm;t;d' <<< "$branch");
branch_title=$(sed -E 's/(ticket\/)(security\/)?([0-9]+)(.+$)?/\1\2\3/gm;t;d' <<< "$branch");
# Fall back to branch name if no ticket ID
if [ -z "$branch_title" ];
# Branch is prefixed with 'ticket/', append ticket ID to message
if [ "$branch" != "${branch##ticket/}" ];
then
branch_title="$branch";
tail="$(printf "\n\nPHPBB3-${branch##ticket/}")";
fi
if [ "security/" = "$(sed -E 's/(ticket\/)(security\/)?([0-9]+)(.+$)?/\2/gm;t;d' <<< "$branch")" ];
then
tail="$(printf '\n\nSECURITY-%s' "$ticket_id")";
else
# Branch is prefixed with 'ticket/', append ticket ID to message
if [ "$branch" != "${branch##ticket/}" ];
then
tail="$(printf '\n\nPHPBB-%s' "$ticket_id")";
fi
fi
echo "[$branch_title] $tail$(cat "$1")" > "$1"
echo "[$branch] $tail$(cat "$1")" > "$1"
fi

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

@@ -36,13 +36,6 @@ RewriteRule ^(.*)$ app.php [QSA,L]
#Options +FollowSymLinks
</IfModule>
# Apache content negotation tries to interpret non-existent paths as files if
# MultiViews is enabled. This will however cause issues with paths containg
# dots, e.g. for the cron tasks
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
# With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
# module mod_authz_host to a new module called mod_access_compat (which may be
# disabled) and a new "Require" syntax has been introduced to mod_authz_host.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 33 KiB

View File

@@ -49,6 +49,7 @@ if (!$auth->acl_get('a_'))
define('IN_ADMIN', true);
// Some oft used variables
$safe_mode = (@ini_get('safe_mode') == '1' || strtolower(@ini_get('safe_mode')) === 'on') ? true : false;
$file_uploads = (@ini_get('file_uploads') == '1' || strtolower(@ini_get('file_uploads')) === 'on') ? true : false;
$module_id = $request->variable('i', '');
$mode = $request->variable('mode', '');
@@ -61,8 +62,8 @@ $template->set_custom_style(array(
),
), $phpbb_admin_path . 'style');
$template->assign_var('T_ASSETS_PATH', $phpbb_path_helper->update_web_root_path($phpbb_root_path . 'assets'));
$template->assign_var('T_TEMPLATE_PATH', $phpbb_path_helper->update_web_root_path($phpbb_root_path . 'style'));
$template->assign_var('T_ASSETS_PATH', $phpbb_root_path . 'assets');
$template->assign_var('T_TEMPLATE_PATH', $phpbb_admin_path . 'style');
// Instantiate new module
$module = new p_master();

View File

@@ -29,7 +29,7 @@
<!-- BEGIN upload -->
:: {upload.FILE_INFO}<br />
<!-- IF upload.S_DENIED --><span class="error">{upload.L_DENIED}</span><!-- ELSEIF upload.ERROR_MSG --><span class="error">{upload.ERROR_MSG}</span><!-- ELSE --><span class="success">{L_SUCCESSFULLY_UPLOADED}</span><!-- ENDIF -->
<!-- IF upload.S_DENIED --><span class="error">{upload.DENIED}</span><!-- ELSEIF upload.ERROR_MSG --><span class="error">{upload.ERROR_MSG}</span><!-- ELSE --><span class="success">{L_SUCCESSFULLY_UPLOADED}</span><!-- ENDIF -->
<br /><br />
<!-- END upload -->
@@ -37,6 +37,12 @@
<!-- IF S_ATTACHMENT_SETTINGS -->
<!-- IF not S_THUMBNAIL_SUPPORT -->
<div class="errorbox">
<p>{L_NO_THUMBNAIL_SUPPORT}</p>
</div>
<!-- ENDIF -->
<form id="attachsettings" method="post" action="{U_ACTION}">
<!-- BEGIN options -->
<!-- IF options.S_LEGEND -->
@@ -50,21 +56,16 @@
<dl>
<dt><label for="{options.KEY}">{options.TITLE}{L_COLON}</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
<dd>{options.CONTENT}</dd>
{% if (options.KEY == 'allow_attachments' and S_EMPTY_POST_GROUPS) or (options.KEY == 'allow_pm_attach' and S_EMPTY_PM_GROUPS) %}
<dd><span class="error">{{ lang(options.KEY == 'allow_attachments' ? 'NO_EXT_GROUP_ALLOWED_POST' : 'NO_EXT_GROUP_ALLOWED_PM', U_EXTENSION_GROUPS) }}</span></dd>
{% endif %}
</dl>
<!-- ENDIF -->
<!-- END options -->
</fieldset>
<fieldset>
<legend>{{ lang('ACP_SUBMIT_CHANGES') }}</legend>
<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>
<fieldset class="submit-buttons">
<legend>{L_SUBMIT}</legend>
<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}" />
</fieldset>
<!-- IF not S_SECURE_DOWNLOADS -->
@@ -115,7 +116,7 @@
<!-- ELSEIF S_EXTENSION_GROUPS -->
<!-- IF S_EDIT_GROUP -->
<script>
<script type="text/javascript" defer="defer">
// <![CDATA[
function update_image(newimage)
{
@@ -209,13 +210,10 @@
<dd><select name="allowed_forums[]" multiple="multiple" size="8">{S_FORUM_ID_OPTIONS}</select></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<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>
<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>
@@ -316,14 +314,10 @@
</tbody>
</table>
</fieldset>
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<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>
<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>
@@ -394,13 +388,10 @@
<!-- ENDIF -->
<!-- IF .orphan -->
</fieldset>
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<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>
<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 -->
{S_FORM_TOKEN}
@@ -436,25 +427,17 @@
</tr>
</thead>
<tbody>
{% for attachments in attachments %}
<!-- BEGIN attachments -->
<tr>
<td>
{{ lang('EXTENSION_GROUP') ~ lang('COLON') }} <strong>{{ attachments.EXT_GROUP_NAME }}</strong>
{% if attachments.S_IN_MESSAGE %}
<br>{{ attachments.L_DOWNLOAD_COUNT }}
<br>{{ lang('IN') }} {{ lang('PRIVATE_MESSAGE') }}
{% else %}
<br><a href="{{ attachments.U_FILE }}"><strong>{{ attachments.REAL_FILENAME }}</strong></a>
{% if attachments.COMMENT %}<br>{{ attachments.COMMENT }}{% endif %}
<br>{{ attachments.L_DOWNLOAD_COUNT }}
<br>{{ lang('TOPIC') ~ lang('COLON') }} <a href="{{ attachments.U_VIEW_TOPIC }}">{{ attachments.TOPIC_TITLE }}</a>
{% endif %}
<!-- IF attachments.S_IN_MESSAGE -->{L_EXTENSION_GROUP}{L_COLON} <strong><!-- IF attachments.EXT_GROUP_NAME -->{attachments.EXT_GROUP_NAME}<!-- ELSE -->{L_NO_EXT_GROUP}<!-- ENDIF --></strong><br />{attachments.L_DOWNLOAD_COUNT}<br />{L_IN} {L_PRIVATE_MESSAGE}
<!-- ELSE --><a href="{attachments.U_FILE}" style="font-weight: bold;">{attachments.REAL_FILENAME}</a><br /><!-- IF attachments.COMMENT -->{attachments.COMMENT}<br /><!-- ENDIF -->{attachments.L_DOWNLOAD_COUNT}<br />{L_TOPIC}{L_COLON} <a href="{attachments.U_VIEW_TOPIC}">{attachments.TOPIC_TITLE}</a><!-- ENDIF -->
</td>
<td>{{ attachments.FILETIME }}<br>{{ lang('POST_BY_AUTHOR') }} {{ attachments.ATTACHMENT_POSTER }}</td>
<td class="centered-text">{{ attachments.FILESIZE }}</td>
<td class="centered-text"><input type="checkbox" class="radio" name="delete[{{ attachments.ATTACH_ID }}]" /></td>
<td>{attachments.FILETIME}<br />{L_POST_BY_AUTHOR} {attachments.ATTACHMENT_POSTER}</td>
<td class="centered-text">{attachments.FILESIZE}</td>
<td class="centered-text"><input type="checkbox" class="radio" name="delete[{attachments.ATTACH_ID}]" /></td>
</tr>
{% endfor %}
<!-- END attachments -->
</tbody>
</table>
<!-- ELSE -->

View File

@@ -1,6 +1,6 @@
<dl>
<dt><label for="avatar_upload_file">{L_UPLOAD_AVATAR_FILE}{L_COLON}</label></dt>
<dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_UPLOAD_SIZE}" /><input type="file" name="avatar_upload_file" id="avatar_upload_file" class="inputbox autowidth" accept="{{ AVATAR_ALLOWED_EXTENSIONS }}" /></dd>
<dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_UPLOAD_SIZE}" /><input type="file" name="avatar_upload_file" id="avatar_upload_file" class="inputbox autowidth" /></dd>
</dl>
<!-- IF S_UPLOAD_AVATAR_URL -->

View File

@@ -8,7 +8,7 @@
<p>{L_EXPLAIN}</p>
<script>
<script type="text/javascript">
// <![CDATA[
var ban_length = new Array();
@@ -73,14 +73,12 @@
<dt><label for="bangivereason">{L_BAN_GIVE_REASON}{L_COLON}</label></dt>
<dd><input name="bangivereason" type="text" class="text medium" maxlength="255" id="bangivereason" /></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<p class="submit-buttons">
<input class="button1" type="submit" id="bansubmit" name="bansubmit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="banreset" name="banreset" value="{L_RESET}" />
</p>
{S_FORM_TOKEN}
<p class="submit-buttons">
<input class="button1" type="submit" id="bansubmit" name="bansubmit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="banreset" name="banreset" value="{L_RESET}" />
</p>
{S_FORM_TOKEN}
</fieldset>
</form>

View File

@@ -31,11 +31,11 @@
</fieldset>
<fieldset>
<legend>{{ lang('BBCODE_HELPLINE') }}</legend>
<p>{{ lang('BBCODE_HELPLINE_EXPLAIN') }}</p>
<legend>{L_BBCODE_HELPLINE}</legend>
<p>{L_BBCODE_HELPLINE_EXPLAIN}</p>
<dl>
<dt><label for="bbcode_helpline">{{ lang('BBCODE_HELPLINE_TEXT') }}</label></dt>
<dd><textarea id="bbcode_helpline" name="bbcode_helpline" cols="60" rows="4">{{ BBCODE_HELPLINE }}</textarea></dd>
<dt><label for="bbcode_helpline">{L_BBCODE_HELPLINE_TEXT}</label></dt>
<dd><input type="text" id="bbcode_helpline" name="bbcode_helpline" size="60" maxlength="255" value="{BBCODE_HELPLINE}" /></dd>
</dl>
</fieldset>

View File

@@ -1,6 +1,6 @@
<!-- INCLUDE overall_header.html -->
<script>
<script type="text/javascript">
// <![CDATA[
var form_name = 'acp_contact';
@@ -44,7 +44,7 @@
<!-- INCLUDE acp_posting_buttons.html -->
<dl class="responsive-columns">
<dt style="width: 90px;" id="color_palette_placeholder" data-color-palette="v" data-height="12" data-width="15" data-bbcode="true">
<dt style="width: 90px;" id="color_palette_placeholder" data-orientation="v" data-height="12" data-width="15" data-bbcode="true">
</dt>
<dd style="margin-{S_CONTENT_FLOW_BEGIN}: 90px;">
@@ -66,12 +66,9 @@
</dl>
</fieldset>
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<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>
<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="submit" name="preview" value="{L_PREVIEW}" />
{S_FORM_TOKEN}
</fieldset>
</form>

View File

@@ -20,6 +20,7 @@
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_START_RESTORE}" />&nbsp;
<input class="button2" type="submit" id="delete" name="delete" value="{L_DELETE_BACKUP}" />&nbsp;
<input class="button2" type="submit" id="download" name="download" value="{L_DOWNLOAD_BACKUP}" />
</p>
{S_FORM_TOKEN}
</fieldset>
@@ -35,7 +36,7 @@
<p>{L_ACP_BACKUP_EXPLAIN}</p>
<script>
<script type="text/javascript">
// <![CDATA[
function selector(bool)
@@ -58,6 +59,7 @@
<dl>
<dt><label for="type">{L_BACKUP_TYPE}{L_COLON}</label></dt>
<dd><label><input type="radio" class="radio" name="type" value="full" id="type" checked="checked" /> {L_FULL_BACKUP}</label>
<label><input type="radio" name="type" class="radio" value="structure" /> {L_STRUCTURE_ONLY}</label>
<label><input type="radio" class="radio" name="type" value="data" /> {L_DATA_ONLY}</label></dd>
</dl>
<dl>
@@ -66,6 +68,13 @@
<label><input name="method"<!-- IF methods.S_FIRST_ROW --> id="method" checked="checked"<!-- ENDIF --> type="radio" class="radio" value="{methods.TYPE}" /> {methods.TYPE}</label>
<!-- END methods --></dd>
</dl>
<dl>
<dt><label for="where">{L_ACTION}{L_COLON}</label></dt>
<dd>
<label><input id="where" type="radio" class="radio" name="where" value="store" checked="checked" /> {L_STORE_LOCAL}</label>
<label><input type="radio" class="radio" name="where" value="download" /> {L_DOWNLOAD}</label>
</dd>
</dl>
<dl>
<dt><label for="table">{L_TABLE_SELECT}{L_COLON}</label></dt>
<dd><select id="table" name="table[]" size="10" multiple="multiple">
@@ -75,15 +84,12 @@
</select></dd>
<dd><a href="#" onclick="selector(true); return false;">{L_SELECT_ALL}</a> :: <a href="#" onclick="selector(false); return false;">{L_DESELECT_ALL}</a></dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<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}
<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>

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

@@ -1,40 +1,40 @@
{% INCLUDE 'overall_header.html' %}
<!-- INCLUDE overall_header.html -->
<a id="maincontent"></a>
<h1>{{ lang('EXTENSIONS_ADMIN') }}</h1>
<h1>{L_EXTENSIONS_ADMIN}</h1>
<p>{{ lang('EXTENSIONS_EXPLAIN') }}</p>
<p>{{ lang('EXTENSION_DELETE_DATA_EXPLAIN') }}</p>
<p>{L_EXTENSIONS_EXPLAIN}</p>
<p>{L_EXTENSION_DELETE_DATA_EXPLAIN}</p>
{% if MIGRATOR_ERROR %}
<div class="errorbox">
<p><strong>{{ lang('MIGRATION_EXCEPTION_ERROR') }}</strong></p>
<p>{{ MIGRATOR_ERROR }}</p>
<p><a href="{{ U_RETURN }}">{{ lang('RETURN_TO_EXTENSION_LIST') }}</a></p>
</div>
{% elseif S_PRE_STEP %}
<div class="errorbox">
<p>{{ CONFIRM_MESSAGE }}</p>
</div>
<!-- IF MIGRATOR_ERROR -->
<div class="errorbox">
<p><strong>{L_MIGRATION_EXCEPTION_ERROR}</strong></p>
<p>{MIGRATOR_ERROR}</p>
<p><a href="{U_RETURN}">{L_RETURN_TO_EXTENSION_LIST}</a></p>
</div>
<!-- ELSEIF PRE -->
<div class="errorbox">
<p>{L_CONFIRM_MESSAGE}</p>
</div>
<form id="acp_extensions" method="post" action="{{ U_PURGE }}">
<fieldset class="submit-buttons">
<legend>{{ lang('EXTENSION_DELETE_DATA') }}</legend>
<input class="button1" type="submit" name="delete_data" value="{{ lang('EXTENSION_DELETE_DATA') }}">
<input class="button2" type="submit" name="cancel" value="{{ lang('CANCEL') }}">
</fieldset>
</form>
{% elseif S_NEXT_STEP %}
<form id="acp_extensions" method="post" action="{U_PURGE}">
<fieldset class="submit-buttons">
<legend>{L_EXTENSION_DELETE_DATA}</legend>
<input class="button1" type="submit" name="delete_data" value="{L_EXTENSION_DELETE_DATA}" />
<input class="button2" type="submit" name="cancel" value="{L_CANCEL}" />
</fieldset>
</form>
<!-- ELSEIF S_NEXT_STEP -->
<div class="errorbox">
<p>{{ lang('EXTENSION_DELETE_DATA_IN_PROGRESS') }}</p>
<p>{L_EXTENSION_DELETE_DATA_IN_PROGRESS}</p>
</div>
{% else %}
<!-- ELSE -->
<div class="successbox">
<p>{{ lang('EXTENSION_DELETE_DATA_SUCCESS') }}</p>
<br>
<p><a href="{{ U_RETURN }}">{{ lang('RETURN_TO_EXTENSION_LIST') }}</a></p>
<p>{L_EXTENSION_DELETE_DATA_SUCCESS}</p>
<br />
<p><a href="{U_RETURN}">{L_RETURN_TO_EXTENSION_LIST}</a></p>
</div>
{% endif %}
<!-- ENDIF -->
{% INCLUDE 'overall_footer.html' %}
<!-- INCLUDE overall_footer.html -->

View File

@@ -1,34 +1,34 @@
{% INCLUDE 'overall_header.html' %}
<!-- INCLUDE overall_header.html -->
<a id="maincontent"></a>
<h1>{{ lang('EXTENSIONS_ADMIN') }}</h1>
<h1>{L_EXTENSIONS_ADMIN}</h1>
<p>{{ lang('EXTENSIONS_EXPLAIN') }}</p>
<p>{{ lang('EXTENSION_DISABLE_EXPLAIN') }}</p>
<p>{L_EXTENSIONS_EXPLAIN}</p>
<p>{L_EXTENSION_DISABLE_EXPLAIN}</p>
{% if S_PRE_STEP %}
<fieldset>
<h2>{{ lang('CONFIRM') }}</h2>
<p>{{ CONFIRM_MESSAGE }}</p>
</fieldset>
<!-- IF PRE -->
<fieldset>
<h2>{L_CONFIRM}</h2>
<p>{L_CONFIRM_MESSAGE}</p>
</fieldset>
<form id="acp_extensions" method="post" action="{{ U_DISABLE }}">
<fieldset class="submit-buttons">
<input class="button1" type="submit" name="disable" value="{{ lang('EXTENSION_DISABLE') }}">
<input class="button2" type="submit" name="cancel" value="{{ lang('CANCEL') }}">
</fieldset>
</form>
{% elseif S_NEXT_STEP %}
<form id="acp_extensions" method="post" action="{U_DISABLE}">
<fieldset class="submit-buttons">
<input class="button1" type="submit" name="disable" value="{L_EXTENSION_DISABLE}" />
<input class="button2" type="submit" name="cancel" value="{L_CANCEL}" />
</fieldset>
</form>
<!-- ELSEIF S_NEXT_STEP -->
<div class="successbox notice">
<p>{{ lang('EXTENSION_DISABLE_IN_PROGRESS') }}</p>
<p>{L_EXTENSION_DISABLE_IN_PROGRESS}</p>
</div>
{% else %}
<!-- ELSE -->
<div class="successbox">
<p>{{ lang('EXTENSION_DISABLE_SUCCESS') }}</p>
<br>
<p><a href="{{ U_RETURN }}">{{ lang('RETURN_TO_EXTENSION_LIST') }}</a></p>
<p>{L_EXTENSION_DISABLE_SUCCESS}</p>
<br />
<p><a href="{U_RETURN}">{L_RETURN_TO_EXTENSION_LIST}</a></p>
</div>
{% endif %}
<!-- ENDIF -->
{% INCLUDE 'overall_footer.html' %}
<!-- INCLUDE overall_footer.html -->

View File

@@ -1,40 +1,40 @@
{% INCLUDE 'overall_header.html' %}
<!-- INCLUDE overall_header.html -->
<a id="maincontent"></a>
<h1>{{ lang('EXTENSIONS_ADMIN') }}</h1>
<h1>{L_EXTENSIONS_ADMIN}</h1>
<p>{{ lang('EXTENSIONS_EXPLAIN') }}</p>
<p>{{ lang('EXTENSION_ENABLE_EXPLAIN') }}</p>
<p>{L_EXTENSIONS_EXPLAIN}</p>
<p>{L_EXTENSION_ENABLE_EXPLAIN}</p>
{% if MIGRATOR_ERROR %}
<div class="errorbox">
<p><strong>{{ lang('MIGRATION_EXCEPTION_ERROR') }}</strong></p>
<p>{{ MIGRATOR_ERROR }}</p>
<p><a href="{{ U_RETURN }}">{{ lang('RETURN_TO_EXTENSION_LIST') }}</a></p>
</div>
{% elseif S_PRE_STEP %}
<fieldset>
<h2>{{ lang('CONFIRM') }}</h2>
<p>{{ CONFIRM_MESSAGE }}</p>
</fieldset>
<!-- IF MIGRATOR_ERROR -->
<div class="errorbox">
<p><strong>{L_MIGRATION_EXCEPTION_ERROR}</strong></p>
<p>{MIGRATOR_ERROR}</p>
<p><a href="{U_RETURN}">{L_RETURN_TO_EXTENSION_LIST}</a></p>
</div>
<!-- ELSEIF PRE -->
<fieldset>
<h2>{L_CONFIRM}</h2>
<p>{L_CONFIRM_MESSAGE}</p>
</fieldset>
<form id="acp_extensions" method="post" action="{{ U_ENABLE }}">
<fieldset class="submit-buttons">
<input class="button1" type="submit" name="enable" value="{{ lang('EXTENSION_ENABLE') }}">
<input class="button2" type="submit" name="cancel" value="{{ lang('CANCEL') }}">
</fieldset>
</form>
{% elseif S_NEXT_STEP %}
<form id="acp_extensions" method="post" action="{U_ENABLE}">
<fieldset class="submit-buttons">
<input class="button1" type="submit" name="enable" value="{L_EXTENSION_ENABLE}" />
<input class="button2" type="submit" name="cancel" value="{L_CANCEL}" />
</fieldset>
</form>
<!-- ELSEIF S_NEXT_STEP -->
<div class="successbox notice">
<p>{{ lang('EXTENSION_ENABLE_IN_PROGRESS') }}</p>
<p>{L_EXTENSION_ENABLE_IN_PROGRESS}</p>
</div>
{% else %}
<!-- ELSE -->
<div class="successbox">
<p>{{ lang('EXTENSION_ENABLE_SUCCESS') }}</p>
<br>
<p><a href="{{ U_RETURN }}">{{ lang('RETURN_TO_EXTENSION_LIST') }}</a></p>
<p>{L_EXTENSION_ENABLE_SUCCESS}</p>
<br />
<p><a href="{U_RETURN}">{L_RETURN_TO_EXTENSION_LIST}</a></p>
</div>
{% endif %}
<!-- ENDIF -->
{% INCLUDE 'overall_footer.html' %}
<!-- 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.3" 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">
@@ -60,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>
@@ -88,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

@@ -4,7 +4,7 @@
<!-- IF S_EDIT_FORUM -->
<script>
<script type="text/javascript">
// <![CDATA[
/**
* Handle displaying/hiding several options based on the forum type
@@ -210,11 +210,6 @@
<dd><label><input type="radio" class="radio" name="display_subforum_list" value="1"<!-- IF S_DISPLAY_SUBFORUM_LIST --> id="display_subforum_list" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="display_subforum_list" value="0"<!-- IF not S_DISPLAY_SUBFORUM_LIST --> id="display_subforum_list" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<dl>
<dt><label for="display_subforum_limit">{L_LIMIT_SUBFORUMS}{L_COLON}</label><br /><span>{L_LIMIT_SUBFORUMS_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" name="display_subforum_limit" value="1"<!-- IF S_DISPLAY_SUBFORUM_LIMIT --> id="display_subforum_limit" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="display_subforum_limit" value="0"<!-- IF not S_DISPLAY_SUBFORUM_LIMIT --> id="display_subforum_limit" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<dl>
<dt><label for="display_on_index">{L_LIST_INDEX}{L_COLON}</label><br /><span>{L_LIST_INDEX_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" name="display_on_index" value="1"<!-- IF S_DISPLAY_ON_INDEX --> id="display_on_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
@@ -410,7 +405,7 @@
<!-- ELSEIF S_CONTINUE_SYNC -->
<script>
<script type="text/javascript">
// <![CDATA[
var close_waitscreen = 0;
// no scrollbars...
@@ -426,7 +421,7 @@
<!-- ELSE -->
<script>
<script type="text/javascript">
// <![CDATA[
/**
* Popup search progress bar
@@ -452,7 +447,7 @@
<!-- ENDIF -->
<!-- IF S_RESYNCED -->
<script>
<script type="text/javascript">
// <![CDATA[
var close_waitscreen = 1;
// ]]>

View File

@@ -36,12 +36,10 @@
<dl>
<dt><label for="group_type">{L_GROUP_TYPE}{L_COLON}</label><br /><span>{L_GROUP_TYPE_EXPLAIN}</span></dt>
<dd>
{% EVENT acp_group_types_prepend %}
<label><input name="group_type" type="radio" class="radio" id="group_type" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN}</label>
<label><input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST}</label>
<label><input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED}</label>
<label><input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}</label>
{% EVENT acp_group_types_append %}
</dd>
</dl>
<!-- ELSE -->
@@ -100,7 +98,7 @@
<input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="6" maxlength="6" />
<!-- IF GROUP_COLOUR -->&nbsp;<span style="background-color: #{GROUP_COLOUR}">&nbsp; &nbsp;</span><!-- ENDIF -->&nbsp;&nbsp;<span>
[ <a href="#" id="color_palette_toggle">{L_COLOUR_SWATCH}</a> ]</span>
<div id="color_palette_placeholder" style="display: none;" data-color-palette="h" data-height="12" data-width="15" data-target="#group_colour"></div>
<div id="color_palette_placeholder" style="display: none;" data-orientation="h" data-height="12" data-width="15" data-target="#group_colour"></div>
</dd>
</dl>
<dl>
@@ -225,7 +223,6 @@
<fieldset>
<legend>{L_ADD_USERS}</legend>
{% EVENT acp_groups_add_user_options_before %}
<dl>
<dt><label for="leader">{L_USER_GROUP_LEADER}{L_COLON}</label></dt>
<dd><label><input name="leader" type="radio" class="radio" value="1" /> {L_YES}</label>
@@ -236,13 +233,11 @@
<dd><label><input name="default" type="radio" class="radio" value="1" /> {L_YES}</label>
<label><input name="default" type="radio" class="radio" id="default" value="0" checked="checked" /> {L_NO}</label></dd>
</dl>
{% EVENT acp_groups_add_user_usernames_before %}
<dl>
<dt><label for="usernames">{L_USERNAME}{L_COLON}</label><br /><span>{L_USERNAMES_EXPLAIN}</span></dt>
<dd><textarea id="usernames" name="usernames" cols="40" rows="5"></textarea></dd>
<dd><!-- EVENT acp_groups_find_username_prepend -->[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]<!-- EVENT acp_groups_find_username_append --></dd>
</dl>
{% EVENT acp_groups_add_user_options_after %}
<p class="quick">
<input class="button2" type="submit" name="addusers" value="{L_SUBMIT}" />

View File

@@ -15,15 +15,13 @@
<label><input type="radio" name="legend_sort_groupname" class="radio" value="0"<!-- IF not LEGEND_SORT_GROUPNAME --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
</dd>
</dl>
</fieldset>
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<p class="submit-buttons">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" name="reset" value="{L_RESET}" />
<input type="hidden" name="action" value="set_config_legend" />
{S_FORM_TOKEN}
</p>
<p class="submit-buttons">
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" name="reset" value="{L_RESET}" />
<input type="hidden" name="action" value="set_config_legend" />
{S_FORM_TOKEN}
</p>
</fieldset>
</form>

View File

@@ -38,13 +38,10 @@
<dd>{L_SEND_STATISTICS_LONG}</dd>
</dl>
</div>
<script>
var statsData = {{ S_STATS_DATA }};
</script>
<!-- EVENT acp_help_phpbb_stats_after -->
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<p class="submit-buttons">
<input type="hidden" name="systemdata" value="{RAW_DATA}" />
<input type="hidden" name="help_send_statistics_time" value="{COLLECT_STATS_TIME}" />
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
</p>
@@ -54,13 +51,8 @@
</form>
<form action="{U_COLLECT_STATS}" method="post" target="questionaire_result" id="questionnaire-form">
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<p class="submit-buttons">
{% for providers in providers %}
{% for values in providers.values %}
<input type="hidden" name="{{ providers.NAME }}[{{ values.KEY }}]" value="{{ values.VALUE }}" />
{% endfor %}
{% endfor %}
<input type="hidden" name="systemdata" value="{RAW_DATA}" />
<input class="button1" type="submit" id="submit_stats" name="submit" value="{L_SEND_STATISTICS}" />
</p>
</fieldset>

View File

@@ -4,7 +4,7 @@
<!-- IF S_EDIT -->
<script>
<script type="text/javascript" defer="defer">
// <![CDATA[
<!-- IF S_ADD_CODE -->
@@ -105,7 +105,7 @@
<!-- BEGIN items -->
<tr>
<td style="text-align: center;"><img src="{items.IMG_SRC}" alt="{items.TEXT_ALT}" title="{items.TEXT_ALT}" style="max-width: 160px;"><input type="hidden" name="image[{items.IMG}]" value="1" /></td>
<td style="text-align: center;"><img src="{items.IMG_SRC}" alt="{items.TEXT_ALT}" title="{items.TEXT_ALT}" /><input type="hidden" name="image[{items.IMG}]" value="1" /></td>
<td style="vertical-align: top;">[{items.IMG}]</td>
<!-- IF S_SMILIES -->
<td><input class="text post" type="text" name="code[{items.IMG}]" value="{items.CODE}" size="10" maxlength="50" /></td>

View File

@@ -45,7 +45,7 @@
</tr>
<!-- BEGINELSE -->
<tr>
<td colspan="7" style="text-align: center;">{L_NO_INACTIVE_USERS}</td>
<td colspan="6" style="text-align: center;">{L_NO_INACTIVE_USERS}</td>
</tr>
<!-- END inactive -->
</tbody>

View File

@@ -70,12 +70,9 @@
</fieldset>
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<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>
<fieldset 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}" />
{S_FORM_TOKEN}
</fieldset>
</form>

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.3" 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

@@ -14,31 +14,27 @@
<p>{L_ADMIN_INTRO}</p>
{% if S_UPDATE_INCOMPLETE %}
<!-- IF S_UPDATE_INCOMPLETE -->
<div class="errorbox">
<p>{{ lang('UPDATE_INCOMPLETE') }} <a href="{{ U_VERSIONCHECK }}">{{ lang('MORE_INFORMATION') }}</a></p>
<p>{L_UPDATE_INCOMPLETE} <a href="{U_VERSIONCHECK}">{L_MORE_INFORMATION}</a></p>
</div>
{% elseif S_VERSIONCHECK_FAIL %}
<!-- ELSEIF S_VERSIONCHECK_FAIL -->
<div class="errorbox notice">
<p>{{ lang('VERSIONCHECK_FAIL') }}</p>
<p>{{ VERSIONCHECK_FAIL_REASON }}</p>
<p><a href="{{ U_VERSIONCHECK_FORCE }}">{{ lang('VERSIONCHECK_FORCE_UPDATE') }}</a> &middot; <a href="{{ U_VERSIONCHECK }}">{{ lang('MORE_INFORMATION') }}</a></p>
<p>{L_VERSIONCHECK_FAIL}</p>
<p>{VERSIONCHECK_FAIL_REASON}</p>
<p><a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a> &middot; <a href="{U_VERSIONCHECK}">{L_MORE_INFORMATION}</a></p>
</div>
{% elseif not S_VERSION_UP_TO_DATE %}
<!-- ELSEIF not S_VERSION_UP_TO_DATE -->
<div class="errorbox">
<p>{{ lang('VERSION_NOT_UP_TO_DATE_TITLE') }}</p>
<p><a href="{{ U_VERSIONCHECK_FORCE }}">{{ lang('VERSIONCHECK_FORCE_UPDATE') }}</a> &middot; <a href="{{ U_VERSIONCHECK }}">{{ lang('MORE_INFORMATION') }}</a></p>
<p>{L_VERSION_NOT_UP_TO_DATE_TITLE}</p>
<p><a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a> &middot; <a href="{U_VERSIONCHECK}">{L_MORE_INFORMATION}</a></p>
</div>
{% elseif S_VERSION_UP_TO_DATE && S_VERSIONCHECK_FORCE %}
<div class="successbox">
<p>{{ lang('VERSION_UP_TO_DATE_ACP') }}</p>
</div>
{% endif %}
{% if S_VERSION_UPGRADEABLE %}
<!-- ENDIF -->
<!-- IF S_VERSION_UPGRADEABLE -->
<div class="errorbox notice">
<p>{{ UPGRADE_INSTRUCTIONS }}</p>
<p>{UPGRADE_INSTRUCTIONS}</p>
</div>
{% endif %}
<!-- ENDIF -->
<!-- IF S_SEARCH_INDEX_MISSING -->
<div class="errorbox">
@@ -82,13 +78,6 @@
<p>{L_ERROR_MBSTRING_HTTP_OUTPUT_EXPLAIN}</p>
</div>
<!-- ENDIF -->
{% if S_DEFAULT_CHARSET_FAIL %}
<div class="errorbox">
<h3>{{ lang('ERROR_DEFAULT_CHARSET') }}</h3>
<p>{{ lang('ERROR_DEFAULT_CHARSET_EXPLAIN') }}</p>
</div>
{% endif %}
<!-- ENDIF -->
<!-- IF S_WRITABLE_CONFIG -->
@@ -105,115 +94,89 @@
<!-- EVENT acp_main_notice_after -->
<div class="lside">
<table class="table2 zebra-table no-header" data-no-responsive-header="true">
<thead>
<tr>
<th>{{ lang('STATISTIC') }}</th>
<th>{{ lang('VALUE') }}</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tabled">{{ lang('BOARD_STARTED') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ START_DATE }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('AVATAR_DIR_SIZE') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ AVATAR_DIR_SIZE }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('DATABASE_SIZE') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ DBSIZE }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('UPLOAD_DIR_SIZE') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ UPLOAD_DIR_SIZE }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('DATABASE_SERVER_INFO') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ DATABASE_INFO }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('GZIP_COMPRESSION') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ GZIP_COMPRESSION }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('PHP_VERSION') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ PHP_VERSION_INFO }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('NUMBER_ORPHAN') ~ lang('COLON') }}</td>
<td class="tabled">
{% if TOTAL_ORPHAN > 0 %}
<a href="{{ U_ATTACH_ORPHAN }}" title="{{ lang('MORE_INFORMATION') }}"><strong>{{ TOTAL_ORPHAN }}</strong></a>
{% else %}
<strong>{{ TOTAL_ORPHAN }}</strong>
{% endif %}
</td>
</tr>
{% if S_VERSIONCHECK %}
<tr>
<td class="tabled">{{ lang('BOARD_VERSION') ~ lang('COLON') }}</td>
<td class="tabled">
<strong><a href="{{ U_VERSIONCHECK }}" {% if S_VERSION_UP_TO_DATE %}style="color: #228822;" {% elseif not S_VERSIONCHECK_FAIL %}style="color: #BC2A4D;" {% endif %}title="{{ lang('MORE_INFORMATION') }}">{{ BOARD_VERSION }}</a></strong> [&nbsp;<a href="{{ U_VERSIONCHECK_FORCE }}">{{ lang('VERSIONCHECK_FORCE_UPDATE') }}</a>&nbsp;]
</td>
</tr>
{% endif %}
</tbody>
</table>
<table class="table2 zebra-table no-header" data-no-responsive-header="true">
<thead>
<tr>
<th>{{ lang('STATISTIC') }}</th>
<th>{{ lang('VALUE') }}</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tabled">{{ lang('NUMBER_POSTS') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ TOTAL_POSTS }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('POSTS_PER_DAY') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ POSTS_PER_DAY }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('NUMBER_TOPICS') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ TOTAL_TOPICS }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('TOPICS_PER_DAY') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ TOPICS_PER_DAY }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('NUMBER_USERS') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ TOTAL_USERS }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('USERS_PER_DAY') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ USERS_PER_DAY }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('NUMBER_FILES') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ TOTAL_FILES }}</strong></td>
</tr>
<tr>
<td class="tabled">{{ lang('FILES_PER_DAY') ~ lang('COLON') }}</td>
<td class="tabled"><strong>{{ FILES_PER_DAY }}</strong></td>
</tr>
{% if S_VERSIONCHECK %}
<tr>
<td class="tabled">&nbsp;</td>
<td class="tabled">&nbsp;</td>
</tr>
{% endif %}
</tbody>
</table>
</div>
<table class="table1 two-columns no-header" data-no-responsive-header="true">
<caption>{L_FORUM_STATS}</caption>
<col class="col1" /><col class="col2" /><col class="col1" /><col class="col2" />
<thead>
<tr>
<th>{L_STATISTIC}</th>
<th>{L_VALUE}</th>
<th>{L_STATISTIC}</th>
<th>{L_VALUE}</th>
</tr>
</thead>
<tbody>
<tr>
<td>{L_NUMBER_POSTS}{L_COLON} </td>
<td><strong>{TOTAL_POSTS}</strong></td>
<td>{L_POSTS_PER_DAY}{L_COLON} </td>
<td><strong>{POSTS_PER_DAY}</strong></td>
</tr>
<tr>
<td>{L_NUMBER_TOPICS}{L_COLON} </td>
<td><strong>{TOTAL_TOPICS}</strong></td>
<td>{L_TOPICS_PER_DAY}{L_COLON} </td>
<td><strong>{TOPICS_PER_DAY}</strong></td>
</tr>
<tr>
<td>{L_NUMBER_USERS}{L_COLON} </td>
<td><strong>{TOTAL_USERS}</strong></td>
<td>{L_USERS_PER_DAY}{L_COLON} </td>
<td><strong>{USERS_PER_DAY}</strong></td>
</tr>
<tr>
<td>{L_NUMBER_FILES}{L_COLON} </td>
<td><strong>{TOTAL_FILES}</strong></td>
<td>{L_FILES_PER_DAY}{L_COLON} </td>
<td><strong>{FILES_PER_DAY}</strong></td>
</tr>
<tr>
<td>{L_BOARD_STARTED}{L_COLON} </td>
<td><strong>{START_DATE}</strong></td>
<td>{L_AVATAR_DIR_SIZE}{L_COLON} </td>
<td><strong>{AVATAR_DIR_SIZE}</strong></td>
</tr>
<tr>
<td>{L_DATABASE_SIZE}{L_COLON} </td>
<td><strong>{DBSIZE}</strong></td>
<td>{L_UPLOAD_DIR_SIZE}{L_COLON} </td>
<td><strong>{UPLOAD_DIR_SIZE}</strong></td>
</tr>
<tr>
<td>{L_DATABASE_SERVER_INFO}{L_COLON} </td>
<td><strong>{DATABASE_INFO}</strong></td>
<td>{L_GZIP_COMPRESSION}{L_COLON} </td>
<td><strong>{GZIP_COMPRESSION}</strong></td>
</tr>
<tr>
<td>{L_PHP_VERSION}{L_COLON} </td>
<td><strong>{PHP_VERSION_INFO}</strong></td>
<!-- IF S_TOTAL_ORPHAN -->
<td>{L_NUMBER_ORPHAN}{L_COLON} </td>
<td>
<!-- IF TOTAL_ORPHAN > 0 -->
<a href="{U_ATTACH_ORPHAN}" title="{L_MORE_INFORMATION}"><strong>{TOTAL_ORPHAN}</strong></a>
<!-- ELSE -->
<strong>{TOTAL_ORPHAN}</strong>
<!-- ENDIF -->
</td>
<!-- ELSE -->
<td>&nbsp;</td>
<td>&nbsp;</td>
<!-- ENDIF -->
</tr>
<!-- IF S_VERSIONCHECK -->
<tr>
<td>{L_BOARD_VERSION}{L_COLON} </td>
<td>
<strong><a href="{U_VERSIONCHECK}" <!-- IF S_VERSION_UP_TO_DATE -->style="color: #228822;" <!-- ELSEIF not S_VERSIONCHECK_FAIL -->style="color: #BC2A4D;" <!-- ENDIF -->title="{L_MORE_INFORMATION}">{BOARD_VERSION}</a></strong> [&nbsp;<a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a>&nbsp;]
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<!-- ENDIF -->
</tbody>
</table>
<!-- IF S_ACTION_OPTIONS -->
<fieldset>

View File

@@ -4,7 +4,7 @@
<!-- IF S_EDIT_MODULE -->
<script>
<script type="text/javascript">
// <![CDATA[
function display_options(value)
{

View File

@@ -4,7 +4,7 @@
<!-- IF S_EDIT -->
<script>
<script type="text/javascript">
// <![CDATA[
var active_pmask = '0';
var active_fmask = '0';
@@ -20,7 +20,7 @@
// ]]>
</script>
<script src="style/permissions.js"></script>
<script type="text/javascript" src="style/permissions.js"></script>
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>

View File

@@ -340,12 +340,9 @@
<br class="responsive-hide" /><br class="responsive-hide" />
<fieldset class="quick" style="float: {S_CONTENT_FLOW_END};">
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="action[apply_all_permissions]" value="{L_APPLY_ALL_PERMISSIONS}" />&nbsp;
<input class="button2" type="button" id="reset" name="cancel" value="{L_RESET}" onclick="document.forms['set-permissions'].reset(); init_colours(active_pmask + active_fmask);" />
{S_FORM_TOKEN}
</p>
<input class="button1" type="submit" name="action[apply_all_permissions]" value="{L_APPLY_ALL_PERMISSIONS}" />
<input class="button2" type="button" name="cancel" value="{L_RESET}" onclick="document.forms['set-permissions'].reset(); init_colours(active_pmask + active_fmask);" />
{S_FORM_TOKEN}
</fieldset>
<br class="responsive-hide" /><br class="responsive-hide" />

View File

@@ -1,10 +1,31 @@
<script>
<script type="text/javascript">
// <![CDATA[
// Define the bbCode tags
var bbcode = new Array();
var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
// Helpline messages
var help_line = {
b: '{LA_BBCODE_B_HELP}',
i: '{LA_BBCODE_I_HELP}',
u: '{LA_BBCODE_U_HELP}',
q: '{LA_BBCODE_Q_HELP}',
c: '{LA_BBCODE_C_HELP}',
l: '{LA_BBCODE_L_HELP}',
o: '{LA_BBCODE_O_HELP}',
p: '{LA_BBCODE_P_HELP}',
w: '{LA_BBCODE_W_HELP}',
a: '{LA_BBCODE_A_HELP}',
s: '{LA_BBCODE_S_HELP}',
f: '{LA_BBCODE_F_HELP}',
y: '{LA_BBCODE_Y_HELP}',
d: '{LA_BBCODE_D_HELP}'
<!-- BEGIN custom_tags -->
,cb_{custom_tags.BBCODE_ID}{L_COLON} '{custom_tags.A_BBCODE_HELPLINE}'
<!-- END custom_tags -->
}
// ]]>
</script>
@@ -44,7 +65,7 @@
</select>
<!-- EVENT acp_posting_buttons_custom_tags_before -->
<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{{ custom_tags.BBCODE_HELPLINE }}" />
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->
</div>
<!-- EVENT acp_posting_buttons_after -->

View File

@@ -21,11 +21,8 @@
<!-- IF S_STEP_ONE -->
{% EVENT acp_profile_options_before %}
<fieldset>
<legend>{L_TITLE}</legend>
{% EVENT acp_profile_basic_options_before %}
<dl>
<dt><label>{L_FIELD_TYPE}{L_COLON}</label><br /><span>{L_FIELD_TYPE_EXPLAIN}</span></dt>
<dd><strong>{FIELD_TYPE}</strong></dd>
@@ -46,11 +43,8 @@
<dd><label><input type="radio" class="radio" id="field_no_view" name="field_no_view" value="0"<!-- IF not S_FIELD_NO_VIEW --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="field_no_view" value="1"<!-- IF S_FIELD_NO_VIEW --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
{% EVENT acp_profile_basic_options_after %}
</fieldset>
{% EVENT acp_profile_visibility_options_before %}
<fieldset>
<legend>{L_VISIBILITY_OPTION}</legend>
<dl>
@@ -93,11 +87,8 @@
<dd><input class="text medium" type="text" name="field_contact_url" id="field_contact_url" value="{FIELD_CONTACT_URL}" /> <label for="field_contact_url">{L_FIELD_CONTACT_URL}</label></dd>
<!-- EVENT acp_profile_contact_last -->
</dl>
{% EVENT acp_profile_contact_after %}
</fieldset>
{% EVENT acp_profile_visibility_options_after %}
<!-- IF S_EDIT_MODE -->
<fieldset class="quick">
<input class="button1" type="submit" name="save" value="{L_SAVE}" />
@@ -247,7 +238,7 @@
<form id="profile_fields" method="post" action="{U_ACTION}">
<fieldset class="quick">
<select name="field_type">{S_TYPE_OPTIONS}</select>
<input class="text small" type="text" name="field_ident" /> <select name="field_type">{S_TYPE_OPTIONS}</select>
<input class="button1" type="submit" name="submit" value="{L_CREATE_NEW_FIELD}" />
<input type="hidden" name="create" value="1" />
{S_FORM_TOKEN}

View File

@@ -7,7 +7,7 @@
<p>{L_ACP_PRUNE_USERS_EXPLAIN}</p>
<form id="acp_prune" method="post" action="{U_ACTION}">
<fieldset>
<legend>{L_CRITERIA}</legend>
<dl>
@@ -66,19 +66,15 @@
<dd><label><input type="radio" class="radio" name="action" value="delete" /> {L_DELETE_USERS}</label>
<label><input type="radio" class="radio" id="deactivate" name="action" value="deactivate" checked="checked" /> {L_DEACTIVATE}</label></dd>
</dl>
<p class="submit-buttons">
<input type="hidden" name="prune" value="1" />
<input class="button1" type="submit" id="update" name="update" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
{S_FORM_TOKEN}
</p>
</fieldset>
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<p class="submit-buttons">
<input type="hidden" name="prune" value="1" />
<input class="button1" type="submit" id="update" name="update" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
{S_FORM_TOKEN}
</p>
</fieldset>
</form>
<!-- INCLUDE overall_footer.html -->

View File

@@ -6,7 +6,7 @@
<a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
<script>
<script type="text/javascript">
// <![CDATA[
function update_image(newimage)
{
@@ -85,7 +85,7 @@
<!-- BEGIN ranks -->
<tr>
<!-- EVENT acp_ranks_list_column_before -->
<td style="text-align: center;"><!-- IF ranks.S_RANK_IMAGE --><img src="{ranks.RANK_IMAGE}" alt="{ranks.RANK_TITLE}" title="{ranks.RANK_TITLE}" style="max-width: 160px;"><!-- ELSE -->&nbsp; - &nbsp;<!-- ENDIF --></td>
<td style="text-align: center;"><!-- IF ranks.S_RANK_IMAGE --><img src="{ranks.RANK_IMAGE}" alt="{ranks.RANK_TITLE}" title="{ranks.RANK_TITLE}" /><!-- ELSE -->&nbsp; - &nbsp;<!-- ENDIF --></td>
<td style="text-align: center;">{ranks.RANK_TITLE}</td>
<td style="text-align: center;"><!-- IF ranks.S_SPECIAL_RANK -->&nbsp; - &nbsp;<!-- ELSE -->{ranks.MIN_POSTS}<!-- ENDIF --></td>
<!-- EVENT acp_ranks_list_column_after -->

View File

@@ -36,13 +36,6 @@
<dt><label for="max_num_search_keywords">{L_MAX_NUM_SEARCH_KEYWORDS}{L_COLON}</label><br /><span>{L_MAX_NUM_SEARCH_KEYWORDS_EXPLAIN}</span></dt>
<dd><input id="max_num_search_keywords" type="number" min="0" max="9999" name="config[max_num_search_keywords]" value="{MAX_NUM_SEARCH_KEYWORDS}" /></dd>
</dl>
<dl>
<dt>
<label for="default_search_return_chars">{{ lang('DEFAULT_SEARCH_RETURN_CHARS') ~ lang('COLON') }}</label>
<br><span>{{ lang('DEFAULT_SEARCH_RETURN_CHARS_EXPLAIN') }}</span>
</dt>
<dd><input id="default_search_return_chars" name="config[default_search_return_chars]" type="number" value="{{ DEFAULT_SEARCH_RETURN_CHARS }}" min="0" max="9999"></dd>
</dl>
<dl>
<dt><label for="search_store_results">{L_SEARCH_STORE_RESULTS}{L_COLON}</label><br /><span>{L_SEARCH_STORE_RESULTS_EXPLAIN}</span></dt>
<dd><input id="search_store_results" type="number" min="0" max="999999" name="config[search_store_results]" value="{SEARCH_STORE_RESULTS}" /> {L_SECONDS}</dd>
@@ -66,47 +59,40 @@
<!-- END backend -->
<fieldset>
<legend>{L_ACP_SUBMIT_CHANGES}</legend>
<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>
<fieldset class="submit-buttons">
<legend>{L_SUBMIT}</legend>
<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}" />
{S_FORM_TOKEN}
</fieldset>
</form>
<!-- ELSEIF S_INDEX -->
<script type="text/javascript">
// <![CDATA[
/**
* Popup search progress bar
*/
function popup_progress_bar(progress_type)
{
close_waitscreen = 0;
// no scrollbars
popup('{UA_PROGRESS_BAR}&amp;type=' + progress_type, 400, 240, '_index');
}
// ]]>
</script>
<h1>{L_ACP_SEARCH_INDEX}</h1>
<!-- IF S_CONTINUE_INDEXING -->
<p>
{% if S_CONTINUE_INDEXING == 'create' %}
{{ lang('CONTINUE_INDEXING_EXPLAIN') }}
{% else %}
{{ lang('CONTINUE_DELETING_INDEX_EXPLAIN') }}
{% endif %}
</p>
<p>{L_CONTINUE_EXPLAIN}</p>
<form id="acp_search_continue" method="post" action="{U_CONTINUE_INDEXING}">
<fieldset>
<legend>{{ lang('CONTINUE_INDEXING') }}</legend>
{% if CONTINUE_PROGRESS %}
<div class="centered-text">
<br>
<progress
value="{{ CONTINUE_PROGRESS.VALUE }}"
max="{{ CONTINUE_PROGRESS.TOTAL }}"
style="height: 2em; width: 20em;"></progress><br>
{{ CONTINUE_PROGRESS.PERCENTAGE|number_format(2) ~ ' %' }}<br>
{{ lang('SEARCH_INDEX_PROGRESS', CONTINUE_PROGRESS.VALUE, CONTINUE_PROGRESS.REMAINING, CONTINUE_PROGRESS.TOTAL) }}
</div>
{% endif %}
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="submit" id="cancel" name="cancel" value="{L_CANCEL}" />
</p>
<fieldset class="submit-buttons">
<legend>{L_SUBMIT}</legend>
<input class="button1" type="submit" id="continue" name="continue" value="{L_CONTINUE}" onclick="popup_progress_bar('{S_CONTINUE_INDEXING}');" />&nbsp;
<input class="button2" type="submit" id="cancel" name="cancel" value="{L_CANCEL}" />
{S_FORM_TOKEN}
</fieldset>
</form>
@@ -154,10 +140,10 @@
<p class="quick">
<!-- IF backend.S_INDEXED -->
<input type="hidden" name="action" value="delete" />
<input class="button2" type="submit" name="submit" value="{{ lang('DELETE_INDEX') }}" />
<input class="button2" type="submit" value="{L_DELETE_INDEX}" onclick="popup_progress_bar('delete');" />
<!-- ELSE -->
<input type="hidden" name="action" value="create" />
<input class="button2" type="submit" name="submit" value="{{ lang('CREATE_INDEX') }}" />
<input class="button2" type="submit" value="{L_CREATE_INDEX}" onclick="popup_progress_bar('create');" />
<!-- ENDIF -->
</p>
{S_FORM_TOKEN}
@@ -168,24 +154,6 @@
<!-- ENDIF -->
<!-- ELSEIF S_INDEX_PROGRESS -->
<div class="successbox">
<h3>{{ INDEXING_TITLE }}</h3>
<p>
{{ INDEXING_EXPLAIN }}
{% if INDEXING_PROGRESS %}<br>{{ INDEXING_PROGRESS }}{% endif %}
{% if INDEXING_RATE %}<br>{{ INDEXING_RATE }}{% endif %}
{% if INDEXING_PROGRESS_BAR %}
<br>
<progress
value="{{ INDEXING_PROGRESS_BAR.VALUE }}"
max="{{ INDEXING_PROGRESS_BAR.TOTAL }}"
style="height: 2em; width: 20em;"></progress><br>
{{ INDEXING_PROGRESS_BAR.PERCENTAGE|number_format(2) ~ ' %' }}<br>
{{ lang('SEARCH_INDEX_PROGRESS', INDEXING_PROGRESS_BAR.VALUE, INDEXING_PROGRESS_BAR.REMAINING, INDEXING_PROGRESS_BAR.TOTAL) }}
{% endif %}
</p>
</div>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->

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.3" 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,10 +96,9 @@
<thead>
<tr>
<th>{L_STYLE_NAME}</th>
<th style="width: 10%; white-space: nowrap; text-align: center;">{{ lang('STYLE_VERSION') }}</th>
<th style="width: 10%; white-space: nowrap; text-align: center;">{L_STYLE_PHPBB_VERSION}</th>
<!-- IF not STYLES_LIST_HIDE_COUNT --><th style="width: 10%; white-space: nowrap; text-align: center;">{L_STYLE_USED_BY}</th><!-- ENDIF -->
<th style="width: 25%; white-space: nowrap; text-align: center;">{L_ACTIONS}</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}
<th>&nbsp;</th>
</tr>
@@ -131,7 +130,6 @@
<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_VERSION }}</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>
@@ -146,11 +144,9 @@
<!-- END actions -->
</td>
{styles_list.EXTRA}
<td class="{$ROW_CLASS} mark" style="width: 20px;">
<td class="{$ROW_CLASS} mark" width="20">
<!-- IF styles_list.STYLE_ID -->
{% if styles_list.STYLE_NAME !== 'prosilver' %}
<input class="checkbox" type="checkbox" name="ids[]" value="{styles_list.STYLE_ID}" />
{% endif %}
<input class="checkbox" type="checkbox" name="ids[]" value="{styles_list.STYLE_ID}" />
<!-- ELSE -->
<!-- IF styles_list.COMMENT != '' -->
&nbsp;

View File

@@ -137,13 +137,9 @@
<td><a href="{group.U_EDIT_GROUP}">{group.GROUP_NAME}</a></td>
<td><!-- IF group.S_IS_MEMBER --><!-- IF group.S_NO_DEFAULT --><a href="{group.U_DEFAULT}">{L_GROUP_DEFAULT}</a><!-- ELSE --><strong>{L_GROUP_DEFAULT}</strong><!-- ENDIF --><!-- ELSEIF not group.S_IS_MEMBER and group.U_APPROVE --><a href="{group.U_APPROVE}">{L_GROUP_APPROVE}</a><!-- ELSE -->&nbsp;<!-- ENDIF --></td>
<td><!-- IF group.S_IS_MEMBER and not group.S_SPECIAL_GROUP --><a href="{group.U_DEMOTE_PROMOTE}">{group.L_DEMOTE_PROMOTE}</a><!-- ELSE -->&nbsp;<!-- ENDIF --></td>
<td>{% if group.U_DELETE %}<a href="{{ group.U_DELETE }}">{{ lang('GROUP_DELETE') }}</a>{% endif %}</td>
<td><a href="{group.U_DELETE}">{L_GROUP_DELETE}</a></td>
</tr>
<!-- ENDIF -->
<!-- BEGINELSE -->
<tr>
<td class="row3 centered-text" colspan="4">{{ lang('NO_GROUP') }}</td>
</tr>
<!-- END group -->
</tbody>
</table>

View File

@@ -79,7 +79,7 @@
<!-- IF not S_USER_FOUNDER or S_FOUNDER -->
<script>
<script type="text/javascript">
// <![CDATA[
function display_reason(option)

View File

@@ -1,4 +1,4 @@
<script>
<script type="text/javascript">
// <![CDATA[
var default_dateformat = '{A_DEFAULT_DATEFORMAT}';
// ]]>
@@ -33,7 +33,7 @@
<dt><label for="notifymethod">{L_NOTIFY_METHOD}{L_COLON}</label><br /><span>{L_NOTIFY_METHOD_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" name="notifymethod" value="0"<!-- IF NOTIFY_EMAIL --> id="notifymethod" checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_EMAIL}</label>
<label><input type="radio" class="radio" name="notifymethod" value="1"<!-- IF NOTIFY_IM --> id="notifymethod" checked="checked"<!-- ENDIF --><!-- IF S_JABBER_DISABLED --> disabled="disabled"<!-- ENDIF --> /> {L_NOTIFY_METHOD_IM}</label>
<label><input type="radio" class="radio" name="notifymethod" value="2"<!-- IF NOTIFY_BOTH --> id="notifymethod" checked="checked"<!-- ENDIF --><!-- IF S_JABBER_DISABLED --> disabled="disabled"<!-- ENDIF --> /> {L_NOTIFY_METHOD_BOTH}</label></dd>
<label><input type="radio" class="radio" name="notifymethod" value="2"<!-- IF NOTIFY_BOTH --> id="notifymethod" checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_BOTH}</label></dd>
</dl>
<dl>
<dt><label for="notifypm">{L_NOTIFY_ON_PM}{L_COLON}</label></dt>

View File

@@ -1,4 +1,4 @@
<script>
<script type="text/javascript">
// <![CDATA[
var form_name = 'user_signature';
@@ -26,7 +26,7 @@
<!-- INCLUDE acp_posting_buttons.html -->
<dl class="responsive-columns">
<dt style="width: 90px;" id="color_palette_placeholder" data-color-palette="v" data-height="12" data-width="15" data-bbcode="true">
<dt style="width: 90px;" id="color_palette_placeholder" data-orientation="v" data-height="12" data-width="15" data-bbcode="true">
</dt>
<dd style="margin-{S_CONTENT_FLOW_BEGIN}: 90px;"><textarea name="signature" rows="10" cols="60" style="width: 95%;" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" data-bbcode="true">{SIGNATURE}</textarea></dd>
<dd style="margin-{S_CONTENT_FLOW_BEGIN}: 90px; margin-top: 5px;">

View File

@@ -14,7 +14,7 @@
<!-- BEGIN warn -->
<tr>
<td>{warn.USERNAME}</td>
<td style="text-align: center; white-space: nowrap;">{warn.DATE}</td>
<td style="text-align: center; nowrap: nowrap;">{warn.DATE}</td>
<td>{warn.ACTION}</td>
<td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{warn.ID}" /></td>
</tr>

File diff suppressed because it is too large Load Diff

View File

@@ -169,7 +169,7 @@ function parse_document(container)
ul = $this.children(),
tabs = ul.children().not('[data-skip-responsive]'),
links = tabs.children('a'),
item = ul.append('<li class="tab responsive-tab" style="display:none;"><a href="javascript:void(0);" class="responsive-tab-link">&nbsp;</a><div class="dropdown tab-dropdown" style="display: none;"><div class="pointer"><div class="pointer-inner"></div></div><ul class="dropdown-contents" /></div></li>').find('li.responsive-tab'),
item = ul.append('<li class="tab responsive-tab" style="display:none;"><a href="javascript:void(0);" class="responsive-tab-link">&nbsp;</a><div class="dropdown tab-dropdown" style="display: none;"><div class="pointer"><div class="pointer-inner" /></div><ul class="dropdown-contents" /></div></li>').find('li.responsive-tab'),
menu = item.find('.dropdown-contents'),
maxHeight = 0,
lastWidth = false,
@@ -254,10 +254,5 @@ function parse_document(container)
});
$('#configlist').closest('.send-stats-data-row').addClass('send-stats-data-hidden');
// Do not underline actions icons on hover (could not be done via CSS)
$('.actions a:has(i.acp-icon)').mouseover(function () {
$(this).css("text-decoration", "none");
});
});
})(jQuery);

View File

@@ -1,4 +1,4 @@
/* global phpbb, statsData */
/* global phpbb */
(function($) { // Avoid conflicts with other libraries
@@ -74,7 +74,7 @@ phpbb.prepareSendStats = function () {
var $sendStatisticsSuccess = $('<input />', {
type: 'hidden',
name: 'send_statistics_response',
value: JSON.stringify(res)
value: res
});
$sendStatisticsSuccess.appendTo('p.submit-buttons');
@@ -87,7 +87,7 @@ phpbb.prepareSendStats = function () {
$.ajax({
url: $this.attr('data-ajax-action').replace('&amp;', '&'),
type: 'POST',
data: statsData,
data: 'systemdata=' + encodeURIComponent($this.find('input[name=systemdata]').val()),
success: returnHandler,
error: errorHandler,
cache: false
@@ -173,9 +173,7 @@ function submitPermissions() {
var permissionSubmitSize = 0,
permissionRequestCount = 0,
forumIds = [],
permissionSubmitFailed = false,
clearIndicator = true,
$loadingIndicator;
permissionSubmitFailed = false;
if ($submitAllButton !== $submitButton) {
fieldsetList = $form.find('fieldset#' + $submitButton.closest('fieldset.permissions').id);
@@ -209,8 +207,6 @@ function submitPermissions() {
}
});
$loadingIndicator = phpbb.loadingIndicator();
/**
* Handler for submitted permissions form chunk
*
@@ -226,8 +222,6 @@ function submitPermissions() {
} else if (!permissionSubmitFailed && res.S_USER_NOTICE) {
// Display success message at the end of submitting the form
if (permissionRequestCount >= permissionSubmitSize) {
clearIndicator = true;
var $alert = phpbb.alert(res.MESSAGE_TITLE, res.MESSAGE_TEXT);
var $alertBoxLink = $alert.find('p.alert_text > a');
@@ -277,17 +271,6 @@ function submitPermissions() {
$form.submit();
}, res.REFRESH_DATA.time * 1000); // Server specifies time in seconds
}
} else {
// Still more forms to submit, so do not clear indicator
clearIndicator = false;
}
}
if (clearIndicator) {
phpbb.clearLoadingTimeout();
if ($loadingIndicator) {
$loadingIndicator.fadeOut(phpbb.alertTime);
}
}
}

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