mirror of
https://github.com/phpbb/phpbb.git
synced 2025-09-08 07:10:51 +02:00
Compare commits
1264 Commits
release-3.
...
release-3.
Author | SHA1 | Date | |
---|---|---|---|
|
830a384988 | ||
|
9bbd034a4e | ||
|
da8ec61ab2 | ||
|
44f130808f | ||
|
e096137537 | ||
|
7074876f32 | ||
|
538f03efb0 | ||
|
ba82dfa49e | ||
|
89f0e4d54f | ||
|
f82299b8e4 | ||
|
166320ef9e | ||
|
9d7acd1897 | ||
|
f423c2803a | ||
|
743d3af3c5 | ||
|
91637f8070 | ||
|
70cf5ddf9d | ||
|
864953ebff | ||
|
af4f477a1b | ||
|
e0eeea800c | ||
|
0a68593dd2 | ||
|
0c6c94e527 | ||
|
77b3f36992 | ||
|
777a1ad916 | ||
|
cfa2bc534b | ||
|
a0abb1e10e | ||
|
c6746ab3cd | ||
|
24b02ad4d6 | ||
|
cae30929ea | ||
|
2f6993fa81 | ||
|
655d40679d | ||
|
b582a19039 | ||
|
1db7aa712a | ||
|
49c19a267f | ||
|
c5ce0cd3c4 | ||
|
03be94c1f7 | ||
|
3d93fd40ed | ||
|
0da910df94 | ||
|
0926b360f7 | ||
|
f2c4bf176d | ||
|
dd89a369f3 | ||
|
c0882c1d34 | ||
|
7cad25e4cb | ||
|
a4d67c55d9 | ||
|
9f149e345b | ||
|
ff411ee81b | ||
|
072bf470fc | ||
|
14fd750b08 | ||
|
4c550c221b | ||
|
56314f4c22 | ||
|
2251816b10 | ||
|
bc96a9f1f6 | ||
|
7df7cfff33 | ||
|
429225027e | ||
|
e88aecd3b4 | ||
|
1f65f85b53 | ||
|
4139e4f2b5 | ||
|
739081b045 | ||
|
3489780faa | ||
|
1f8f1b6286 | ||
|
d5c063fd80 | ||
|
40bc4ac484 | ||
|
442d21ace2 | ||
|
3ccaac488b | ||
|
c431dc0d04 | ||
|
19b018ece0 | ||
|
8a7607964f | ||
|
54e31efcbc | ||
|
e31c895774 | ||
|
d9991bdaf1 | ||
|
f111e70fc3 | ||
|
0fc1de279e | ||
|
87f82c404e | ||
|
97b834c3ef | ||
|
cb406258fe | ||
|
97a0f49be4 | ||
|
c6aa4a319d | ||
|
27cf12f807 | ||
|
c127591d25 | ||
|
9e6207add3 | ||
|
d8348f8a5e | ||
|
aa84ea8e5d | ||
|
869e6a9a88 | ||
|
2d742beb92 | ||
|
5f6fa321ef | ||
|
cc42c09a95 | ||
|
7d3300f99d | ||
|
ea51dc25c1 | ||
|
58e4ec68b6 | ||
|
0f000aff0d | ||
|
2c9da5ad47 | ||
|
445a8be895 | ||
|
60af11da9d | ||
|
956c7186ec | ||
|
bef0b15dbd | ||
|
47e7cd7194 | ||
|
d3fb01d8f7 | ||
|
48659c2ce1 | ||
|
fd19ef7598 | ||
|
f84c3687cc | ||
|
aa6c2fae5c | ||
|
76e9f4dd2d | ||
|
909aef0ed3 | ||
|
0e68c35cfd | ||
|
7ec24ec0f6 | ||
|
71f82f2615 | ||
|
573507e6a5 | ||
|
853362ddad | ||
|
a73c7398f3 | ||
|
b4748a5d1e | ||
|
ea73920261 | ||
|
5ecd9fb775 | ||
|
b6ea338309 | ||
|
de6942e117 | ||
|
1846b90a33 | ||
|
a03cec5b8d | ||
|
544c7c4e08 | ||
|
fadec0d2b9 | ||
|
b1e4b232b9 | ||
|
3c223b3a5d | ||
|
63f222ca90 | ||
|
daee389e53 | ||
|
fe79705e99 | ||
|
90b7d1fbda | ||
|
df96351244 | ||
|
37eb22a61d | ||
|
5235e6de53 | ||
|
7e2d544016 | ||
|
b7597a347b | ||
|
8eda17f430 | ||
|
809d73ca5e | ||
|
230e737790 | ||
|
7d7aa9d119 | ||
|
08d169c109 | ||
|
3ed1104467 | ||
|
8c9d6add2e | ||
|
0cf85c047e | ||
|
e40afd8cd1 | ||
|
27df2278ef | ||
|
3ba8e7bda3 | ||
|
ad3b7830b4 | ||
|
bd6e5144dd | ||
|
3a4f1bc061 | ||
|
dbd003a0d1 | ||
|
96adf7f0d6 | ||
|
a0adf07453 | ||
|
04e68c092b | ||
|
28296af248 | ||
|
dfe42e9603 | ||
|
7d5d5b0f06 | ||
|
daae2147c8 | ||
|
f7049bd0dc | ||
|
c084990a68 | ||
|
41b3450f2f | ||
|
959e5fb79d | ||
|
cff3dbf00e | ||
|
886ec98dc7 | ||
|
af7dca6acd | ||
|
c494d8f53e | ||
|
a35c8a924e | ||
|
9d72c4a66a | ||
|
185bda094b | ||
|
ddfc52a5f6 | ||
|
a2793f24b1 | ||
|
37a3bd131b | ||
|
54751991ad | ||
|
90b59bb547 | ||
|
6a568719d0 | ||
|
5f56e9025b | ||
|
7fedc19cc4 | ||
|
6a5b99b12b | ||
|
cbf6d71f68 | ||
|
b17fa7dfa5 | ||
|
467e603570 | ||
|
4c36ca4b85 | ||
|
1be233a801 | ||
|
69a5ed78cf | ||
|
76ffd288fe | ||
|
d275fefc69 | ||
|
f2fde5e7a3 | ||
|
829e147504 | ||
|
74cd513a88 | ||
|
800411e514 | ||
|
fd95da909a | ||
|
129bfd5e62 | ||
|
e5504b74f0 | ||
|
72529cd179 | ||
|
3322117c38 | ||
|
591eff9e78 | ||
|
375e264a47 | ||
|
103d344cd4 | ||
|
47e418e50e | ||
|
32aa0596f3 | ||
|
839987fa19 | ||
|
6c35ca80ed | ||
|
164a4190d5 | ||
|
533d2b90b8 | ||
|
99a99c5412 | ||
|
57915a8aaa | ||
|
ab58bb8744 | ||
|
c9e493a911 | ||
|
0256c69191 | ||
|
45dda53310 | ||
|
1f305e4025 | ||
|
8481bd4e18 | ||
|
376042d845 | ||
|
346f31a031 | ||
|
17e8726582 | ||
|
5505f98aad | ||
|
dfc5a2b7cd | ||
|
fbe5193359 | ||
|
3acee9a3ee | ||
|
5895f56de0 | ||
|
8ded30bbbe | ||
|
9b4190e136 | ||
|
15f433f00f | ||
|
c54838b25f | ||
|
afe16a6272 | ||
|
e02aca8399 | ||
|
b9c284d85b | ||
|
1f27097208 | ||
|
9f3b151dab | ||
|
dee5e6e076 | ||
|
b1596fda7f | ||
|
edfc4f3efc | ||
|
4f0627de03 | ||
|
2fa23c9b3f | ||
|
e308093d75 | ||
|
88f197e67a | ||
|
fd37919ecb | ||
|
d62d35ad46 | ||
|
64f0d74489 | ||
|
f604e1ab5d | ||
|
930b02342e | ||
|
ffe900c72d | ||
|
69dece6197 | ||
|
e519b21b2e | ||
|
67c3bd4a90 | ||
|
65d6e338a9 | ||
|
eb1ade6768 | ||
|
89fef2ce13 | ||
|
80a63a9a94 | ||
|
f9b46a4ae7 | ||
|
cba4f4f568 | ||
|
4451db9f22 | ||
|
ade5183ba1 | ||
|
90a5e22eb5 | ||
|
c07ecb060d | ||
|
cc7a0aa4fb | ||
|
9fb2a5d5f8 | ||
|
c1035c98e4 | ||
|
6f315da9ab | ||
|
430ec6f61d | ||
|
c5e0635bc7 | ||
|
267d1b15c4 | ||
|
8fb2347cfa | ||
|
36460ebdf6 | ||
|
9525a64d64 | ||
|
c30394ff4a | ||
|
487df8befc | ||
|
48db9cbcf0 | ||
|
b51247e1da | ||
|
1e667ce8cc | ||
|
3e8071478b | ||
|
098764a0aa | ||
|
9d4c51f8ba | ||
|
74f49387e1 | ||
|
c3caa3d9dc | ||
|
0c96873e73 | ||
|
c60caace5d | ||
|
a99cb31a52 | ||
|
8f84119743 | ||
|
d817f3cc67 | ||
|
207b52c77f | ||
|
1639cb93a8 | ||
|
1ee9cc91d4 | ||
|
9bdd002f58 | ||
|
3ad13ebd88 | ||
|
e1d2c4c900 | ||
|
0e53442fd4 | ||
|
bad9943208 | ||
|
2fcc1b4d18 | ||
|
7671c971e4 | ||
|
1c567daf39 | ||
|
365489a317 | ||
|
b24c2ea5be | ||
|
10753454bf | ||
|
0881bbbb64 | ||
|
78ff392b64 | ||
|
d894472866 | ||
|
a3faf1fefc | ||
|
0e8a573a71 | ||
|
642bfe9a39 | ||
|
88c921be23 | ||
|
48d6abcf0a | ||
|
4fce18609f | ||
|
5e36dd3d0b | ||
|
0f46d35f75 | ||
|
b01b3b8b94 | ||
|
9432662c37 | ||
|
997bdc7778 | ||
|
30b3fbb2cf | ||
|
ff76a3e433 | ||
|
6c98e3b12f | ||
|
08bf8812d3 | ||
|
9aa017d0f7 | ||
|
390a37492d | ||
|
23f5b6debd | ||
|
145ba85d98 | ||
|
3e1f9c4201 | ||
|
592ef2eff4 | ||
|
16620ea3d2 | ||
|
e9d8425f15 | ||
|
4dcd2351ea | ||
|
255368843c | ||
|
619d323dd1 | ||
|
8e3a38e80d | ||
|
34cfa5f885 | ||
|
2df3703b2a | ||
|
a1a3daaca8 | ||
|
453d9113f1 | ||
|
dbd9c1f242 | ||
|
c3108d44ce | ||
|
d98fd7868b | ||
|
20771271ca | ||
|
6d58c4a4b5 | ||
|
0d15a95f97 | ||
|
6bbc18fa40 | ||
|
8f19d16b2a | ||
|
16c3b40b4e | ||
|
ad4889be4b | ||
|
9343317121 | ||
|
c6bed98cf5 | ||
|
34ebbbc7c3 | ||
|
4844370c26 | ||
|
1ff01d722a | ||
|
5a82061c3a | ||
|
a96fc3d87f | ||
|
e974f338af | ||
|
ba5243ba76 | ||
|
da428b1fd3 | ||
|
edaa36205f | ||
|
8323de331e | ||
|
b80b624551 | ||
|
8a3147faf8 | ||
|
6e6a2c5df8 | ||
|
df0388ccc5 | ||
|
114cfe2c27 | ||
|
36d4169768 | ||
|
260dc5ed7c | ||
|
f8fb3e0f9f | ||
|
9c7e8c2dc5 | ||
|
372324cead | ||
|
2319748c08 | ||
|
39f5b82bc3 | ||
|
55f7438187 | ||
|
4a1e5df654 | ||
|
c77798b1a3 | ||
|
ef77852aff | ||
|
221cd3eb68 | ||
|
728335820c | ||
|
bc4c82bae5 | ||
|
78db28286e | ||
|
577d669ba7 | ||
|
dd561ec275 | ||
|
a298ed1a66 | ||
|
8d3d396f1b | ||
|
43ea7168d1 | ||
|
c9ea560c63 | ||
|
0fd04f2e6f | ||
|
74285b4308 | ||
|
cdf6464382 | ||
|
4533dd9fa0 | ||
|
9b1e2e523c | ||
|
0e114f91f4 | ||
|
50f5efba9c | ||
|
9be9062df3 | ||
|
cd348b200a | ||
|
dc32b900c5 | ||
|
ac36cc25eb | ||
|
af2bf4ef36 | ||
|
87209fdd06 | ||
|
c259a9b387 | ||
|
ecb81894cc | ||
|
ad4fe1799f | ||
|
6984f17f62 | ||
|
4d07f8a134 | ||
|
d90afa67d8 | ||
|
2f6a258175 | ||
|
094ac6b60f | ||
|
552691efbf | ||
|
33f1934b72 | ||
|
f658e062b2 | ||
|
85898d3d2c | ||
|
466bdee8e6 | ||
|
10f430f393 | ||
|
ffc6623dd4 | ||
|
b8ef36ddb1 | ||
|
e3a85ff0a7 | ||
|
b13910ee45 | ||
|
163292bc11 | ||
|
a41b16d06a | ||
|
52b1a9d4fa | ||
|
cac8ac8242 | ||
|
6f8c0df1c6 | ||
|
c891277996 | ||
|
cefbd39b82 | ||
|
77f1bac64b | ||
|
849cd74700 | ||
|
51ef1ae346 | ||
|
a02b124dd0 | ||
|
2a038d45df | ||
|
3cb09358fe | ||
|
9f2867b115 | ||
|
2059d57c04 | ||
|
0cc0920734 | ||
|
8b8f693d00 | ||
|
8afa9fdf28 | ||
|
244ff0f969 | ||
|
eca10dc08f | ||
|
8e54c9ef8b | ||
|
832a87b924 | ||
|
fd7244c892 | ||
|
05d0879795 | ||
|
f02afe58bc | ||
|
d98a1c4bc4 | ||
|
868d55913d | ||
|
20148e4d06 | ||
|
fce30d1d91 | ||
|
2406fe2e5e | ||
|
1f0c616974 | ||
|
4dfadfc97f | ||
|
84a8cf00ad | ||
|
1dd0ceabf6 | ||
|
322b86da1f | ||
|
b2711371f1 | ||
|
35ad0f1249 | ||
|
82105070ad | ||
|
1100db7e86 | ||
|
8ce95413aa | ||
|
4d4d3824f3 | ||
|
98a6133c1e | ||
|
380be9f1fd | ||
|
722639a0e2 | ||
|
d15269950d | ||
|
297376ee94 | ||
|
1d40c0f43b | ||
|
7bb4e88acd | ||
|
1ad64f89b8 | ||
|
bf8ee698f9 | ||
|
59b52d6312 | ||
|
40354f1f90 | ||
|
71e632b9f0 | ||
|
cb226f83be | ||
|
4c60995d7a | ||
|
7a5fbd0257 | ||
|
b28fe0a7fa | ||
|
85e4566223 | ||
|
722fe0ca48 | ||
|
55a0570567 | ||
|
89a564adb2 | ||
|
b4e673acc1 | ||
|
5075090d4f | ||
|
cd4190a72d | ||
|
6b798d02fb | ||
|
78333e300c | ||
|
cdaed8dabf | ||
|
165e0edb2a | ||
|
328a7afcc3 | ||
|
5a6933fee7 | ||
|
047c7375a5 | ||
|
57fc321c4d | ||
|
f1eda6868f | ||
|
4e5f29a21b | ||
|
88d7c4fe57 | ||
|
e362ff1f3c | ||
|
32d569c594 | ||
|
5b32019ad6 | ||
|
c6383d3f89 | ||
|
1d25c80a9c | ||
|
0b3951cb81 | ||
|
ae76bfc99e | ||
|
cc62b68243 | ||
|
737ef92a1e | ||
|
6972d06f59 | ||
|
2fd2fb94cf | ||
|
06c980f1ec | ||
|
f66ca6a9cc | ||
|
ec24f739e8 | ||
|
c588332aa5 | ||
|
ef755ffd38 | ||
|
de2c70127f | ||
|
9e52ed9af1 | ||
|
164f0e031d | ||
|
51d830a6d3 | ||
|
32d9efff47 | ||
|
7d73d1ff83 | ||
|
c958ba13e8 | ||
|
2f17757f4e | ||
|
187c6df18a | ||
|
b8bbf9db03 | ||
|
713f25e552 | ||
|
4267cc3a43 | ||
|
90e9d5c462 | ||
|
b59e41d289 | ||
|
fdd4f68aea | ||
|
cdd56c0505 | ||
|
1fff455862 | ||
|
18f9c9f6e2 | ||
|
97040dc6ff | ||
|
e02dc7a9c1 | ||
|
931582aad9 | ||
|
4db52518a9 | ||
|
3910387ee5 | ||
|
73d150db80 | ||
|
d2f95ef875 | ||
|
dcc7118c0d | ||
|
537dca0892 | ||
|
9a64bffd68 | ||
|
77e14c3030 | ||
|
a5ccdc7997 | ||
|
becb1e1fff | ||
|
bc6dc9f173 | ||
|
2436af94e3 | ||
|
430c266eb2 | ||
|
75f57fa407 | ||
|
35c62d1e74 | ||
|
6ae405f743 | ||
|
65ef56ed71 | ||
|
2b22adbcac | ||
|
6242698a84 | ||
|
a078336cb1 | ||
|
229472cb07 | ||
|
e0d9f2aad6 | ||
|
4da479d47f | ||
|
19bbbfe0f3 | ||
|
bc08813866 | ||
|
6b435cbf13 | ||
|
72f6241aa2 | ||
|
585a3ed863 | ||
|
abb01946bd | ||
|
47d2f34a1b | ||
|
27e33f39f7 | ||
|
631b0f2dba | ||
|
c3578bc3e3 | ||
|
0d3ca3883e | ||
|
a084b07495 | ||
|
e76ea47fb8 | ||
|
bf397cb985 | ||
|
b0ff957684 | ||
|
73b9327631 | ||
|
aa95636a4d | ||
|
bd59241110 | ||
|
2dbc9e1016 | ||
|
33584f12f0 | ||
|
2ae08dc3ba | ||
|
29b1b95226 | ||
|
53ead1e926 | ||
|
271e8b43f9 | ||
|
32ba128ea5 | ||
|
142f937354 | ||
|
70aa4407d3 | ||
|
5503c09cd5 | ||
|
6d589a8bb9 | ||
|
b9761f116d | ||
|
43c52b073b | ||
|
1a187e0607 | ||
|
316b69805b | ||
|
4b8e8df55c | ||
|
14cc4f3ae2 | ||
|
dccb5564d2 | ||
|
0aa289e4d9 | ||
|
857a085496 | ||
|
d2750b650f | ||
|
ce48b4de57 | ||
|
051323dbc6 | ||
|
2efdaaa0e2 | ||
|
801519ca4d | ||
|
f6b376def8 | ||
|
a4f42ced3d | ||
|
a01c773fa2 | ||
|
312ca75be5 | ||
|
64178b40b8 | ||
|
86752fc6df | ||
|
62e8ba3d49 | ||
|
08f558d8f7 | ||
|
65921a7891 | ||
|
a3dc829dab | ||
|
4b6c2c8cde | ||
|
dff950162c | ||
|
f008708d5c | ||
|
05e6ed04ed | ||
|
d737430a03 | ||
|
2c6543cb6e | ||
|
b3e8eb9feb | ||
|
bd0244180b | ||
|
7b880af02e | ||
|
3ee5472a8c | ||
|
557f85e7fc | ||
|
a2838ad0b1 | ||
|
a019a86bfc | ||
|
7c79e7844c | ||
|
71a70500ea | ||
|
08c6f56f4b | ||
|
863d65112b | ||
|
17421195df | ||
|
3b395aa7a4 | ||
|
5c8fd9760b | ||
|
4f8fcaa95b | ||
|
0048c2b613 | ||
|
8e787cba7a | ||
|
0d39e659fe | ||
|
429ecb938c | ||
|
f814840568 | ||
|
43762950bc | ||
|
cd2649273b | ||
|
cd0ffc5de6 | ||
|
a36f96aefa | ||
|
06bfae8edb | ||
|
b14043b276 | ||
|
f054ab972d | ||
|
76748183bb | ||
|
6bcc372af5 | ||
|
eccb3d6602 | ||
|
a37f10ae09 | ||
|
88384a1e63 | ||
|
773f6d08a5 | ||
|
463e8e4b13 | ||
|
7c99fcf782 | ||
|
775d1c855a | ||
|
e050cf5c11 | ||
|
e4671c1521 | ||
|
0eb44fc934 | ||
|
bb11294b96 | ||
|
723d9d8e4c | ||
|
488fd8f54c | ||
|
c044a41d07 | ||
|
f68e98c064 | ||
|
c016e09ca4 | ||
|
bc823a18be | ||
|
4466ef1bc4 | ||
|
48696b5148 | ||
|
758fe20f4b | ||
|
0d1b7b3935 | ||
|
263fbe54fc | ||
|
4a92a8efb5 | ||
|
03be89ebd7 | ||
|
210310b584 | ||
|
c12d67cd90 | ||
|
52afa74f4e | ||
|
b00a39b9ad | ||
|
6078bae7f8 | ||
|
317f3e848f | ||
|
3346609126 | ||
|
4938887e5d | ||
|
2ee8bd0c4a | ||
|
a277f9cf07 | ||
|
8e1461ca61 | ||
|
9fb649793d | ||
|
b74e811496 | ||
|
260a0a29ad | ||
|
7e1e3e1a5e | ||
|
0771eaa732 | ||
|
1455be2260 | ||
|
3bf64de247 | ||
|
55f98d0941 | ||
|
f04685200b | ||
|
dd01de03bf | ||
|
801183a99b | ||
|
9225a0fdff | ||
|
c9ada4d201 | ||
|
2dae36e3fb | ||
|
6fd507f60d | ||
|
6cc4d78ebf | ||
|
5330ea0f09 | ||
|
55123bc94c | ||
|
8a9cf32b1d | ||
|
3038bf5eaf | ||
|
ba13832085 | ||
|
2081a78095 | ||
|
37880af03c | ||
|
c64b8102b7 | ||
|
3d4660a703 | ||
|
f68820762b | ||
|
f222f8a84a | ||
|
d51c67440e | ||
|
0cc41be3c0 | ||
|
bd1d734dcc | ||
|
4ac2547d62 | ||
|
ef132e1531 | ||
|
69d2bad929 | ||
|
61a147546d | ||
|
ed2c8b5bf7 | ||
|
55223e6840 | ||
|
29d2c66922 | ||
|
88db46946e | ||
|
941be83395 | ||
|
8e8e25cc1f | ||
|
e7289fa019 | ||
|
5b501e594c | ||
|
4eecc95a42 | ||
|
5eb493fa86 | ||
|
43e0283fb1 | ||
|
8cf2790d55 | ||
|
4ad0c3e903 | ||
|
eaafb758ce | ||
|
89461d982c | ||
|
33cd613406 | ||
|
4554c030c0 | ||
|
20e08aa2a0 | ||
|
da7c41f167 | ||
|
13a756bfb7 | ||
|
486ffa85a2 | ||
|
d2ff12256c | ||
|
ef91c6abed | ||
|
f3fe610a5e | ||
|
5cba468c35 | ||
|
0026ed02ae | ||
|
7195f51806 | ||
|
11532bd8c1 | ||
|
e9e6847803 | ||
|
e7ce7ecbe7 | ||
|
befacabf7e | ||
|
775df0eb8a | ||
|
4e480d46f5 | ||
|
3df9b2c8f8 | ||
|
f2a1fbadbc | ||
|
e8454e018d | ||
|
d3f017c149 | ||
|
78a0d10a5a | ||
|
e4aa8806b9 | ||
|
960dc08946 | ||
|
be8bf42fe3 | ||
|
d0a5f87a44 | ||
|
4e7705fcaf | ||
|
a1ecb6db69 | ||
|
44303aa425 | ||
|
63db42522b | ||
|
a840d70bbf | ||
|
51952005eb | ||
|
d6303ed592 | ||
|
6f1b635992 | ||
|
019e85d064 | ||
|
b54aa81cdd | ||
|
b14c088ce7 | ||
|
6f109dd1ef | ||
|
c9cfde7837 | ||
|
ebdef04f5d | ||
|
d47a22dda0 | ||
|
61bca182f6 | ||
|
38082c41e3 | ||
|
d53f75f668 | ||
|
c1cb59c237 | ||
|
652e3da28d | ||
|
7f50c798e6 | ||
|
927cc2ebad | ||
|
24da2db987 | ||
|
2ec4855cba | ||
|
45ba2e9770 | ||
|
55b854906d | ||
|
1c52968df6 | ||
|
24b80d6bd7 | ||
|
bb83af0a0a | ||
|
cddb884be6 | ||
|
51181c6ea1 | ||
|
53b9216c78 | ||
|
a3c10f575b | ||
|
2f53761eaf | ||
|
95520d2ff2 | ||
|
8829772631 | ||
|
c4b93c9c1c | ||
|
65a4f0d631 | ||
|
1298591dff | ||
|
7404155a1e | ||
|
37cf178c0c | ||
|
dbf02b4514 | ||
|
9170261885 | ||
|
f75a01182f | ||
|
27f16a195e | ||
|
471a773bcf | ||
|
963a03b120 | ||
|
7f1c4cd205 | ||
|
e4336de68d | ||
|
1a0e40489f | ||
|
63b902c2f9 | ||
|
4653951673 | ||
|
597e7163c0 | ||
|
4efaeabc8c | ||
|
fa878f2818 | ||
|
a19bf11f73 | ||
|
19da62f873 | ||
|
09c602425c | ||
|
219977ccf3 | ||
|
9595946508 | ||
|
773a701d62 | ||
|
9639f6ad63 | ||
|
d5e342db3a | ||
|
cc628f06b2 | ||
|
a460aec68c | ||
|
c60dbede3e | ||
|
6a48cad4a2 | ||
|
abe93918b4 | ||
|
450e5b36b8 | ||
|
aaa99b4719 | ||
|
e8c6a3aa0a | ||
|
70b04016eb | ||
|
804236bce4 | ||
|
7cbb049572 | ||
|
6145f46bd1 | ||
|
2eb8a97f47 | ||
|
63d3b240a4 | ||
|
cf8c13b04c | ||
|
1f42da7ba5 | ||
|
83f737a30a | ||
|
79d6d53296 | ||
|
6764bea40c | ||
|
9551475fce | ||
|
4d50a1daa5 | ||
|
3708770eb9 | ||
|
6a73188e6a | ||
|
8d3716ab91 | ||
|
cff2895599 | ||
|
516670225d | ||
|
256730c76a | ||
|
e9cbb45435 | ||
|
2a53831124 | ||
|
7dc1af25bc | ||
|
cddf80c2e6 | ||
|
d316927225 | ||
|
25ae8876b6 | ||
|
797565dfa7 | ||
|
ef1e163180 | ||
|
cf2b96def7 | ||
|
a9beed3ad0 | ||
|
9d88238f89 | ||
|
800b7be873 | ||
|
a90d8fa8d4 | ||
|
b2141fd1a8 | ||
|
4cf666f0bc | ||
|
ff8b5058e0 | ||
|
82649b37e4 | ||
|
08acf2acba | ||
|
4fdbd6217d | ||
|
b63c61d099 | ||
|
72248cab45 | ||
|
33d1d19f97 | ||
|
73073ac8c3 | ||
|
9961aefa38 | ||
|
6350798e97 | ||
|
50227dbc75 | ||
|
0a512b2695 | ||
|
80db259ab9 | ||
|
e30518461c | ||
|
9bea18b5db | ||
|
10d96d4f33 | ||
|
be5ea21706 | ||
|
191b80a750 | ||
|
c103c42857 | ||
|
dcf90a8d8b | ||
|
a8fb33218c | ||
|
e578450077 | ||
|
7a8455baa7 | ||
|
548357e14c | ||
|
2576993564 | ||
|
85fdff8230 | ||
|
3e88ea9c06 | ||
|
e6e4c0e62d | ||
|
7e6371ea8e | ||
|
283a039647 | ||
|
c3fd07a5f0 | ||
|
1a68504174 | ||
|
3f1580263c | ||
|
3bafbc81ef | ||
|
559325fbd6 | ||
|
0d7625c534 | ||
|
06507f9fa6 | ||
|
9ca3cd519a | ||
|
90cefcf0f4 | ||
|
7a28b7514a | ||
|
2a95f545c3 | ||
|
94d2be725a | ||
|
e7262e2d39 | ||
|
40a00bd4e5 | ||
|
9c34594bc3 | ||
|
bf37cdf878 | ||
|
96973a7cec | ||
|
42053efb51 | ||
|
961ffee684 | ||
|
734972cc3d | ||
|
03348087d8 | ||
|
f57f09f814 | ||
|
3572f4c92e | ||
|
c7bbcd7b84 | ||
|
1629e6aaf3 | ||
|
c0f3463819 | ||
|
c3b30144e3 | ||
|
aa3c5286cd | ||
|
8e1102b1da | ||
|
2ca49e02b4 | ||
|
ef226138c8 | ||
|
43c16ca4c3 | ||
|
e9b7cb1324 | ||
|
6eda942a7f | ||
|
c941041963 | ||
|
829a8ac15a | ||
|
39c4590f01 | ||
|
40aac1cd57 | ||
|
3cd0c53118 | ||
|
6196e4ae4d | ||
|
ead261e6db | ||
|
877188c114 | ||
|
269e253524 | ||
|
23bdb2eede | ||
|
29bb1ab72d | ||
|
4cdec74e94 | ||
|
1b01667c7b | ||
|
fdcedb262f | ||
|
1b0b78dabc | ||
|
4614cc972f | ||
|
68645d38ef | ||
|
ed378a2ec3 | ||
|
4c257d47a6 | ||
|
96bdcedacd | ||
|
d713ce94ff | ||
|
560bee1be4 | ||
|
c938077172 | ||
|
336f5b49a7 | ||
|
972255247b | ||
|
f41c7bd2b1 | ||
|
9163cc2864 | ||
|
d89b75bd36 | ||
|
58dfff38fa | ||
|
c4ef83e4d2 | ||
|
e7043dc044 | ||
|
5ee6c216e5 | ||
|
15e22af266 | ||
|
45a3e4d04f | ||
|
2ae17d6caf | ||
|
ebbedf29e0 | ||
|
4e8981ee37 | ||
|
901f36e982 | ||
|
9ad5c577f5 | ||
|
c53eae7abc | ||
|
cdc7f1722d | ||
|
12f5c0405e | ||
|
e80f79fc9a | ||
|
920219dc56 | ||
|
04f320cb01 | ||
|
7bf8006b67 | ||
|
68eba86309 | ||
|
a319d58d03 | ||
|
d0f5b39f11 | ||
|
f929db6190 | ||
|
02469d4691 | ||
|
d747ac146e | ||
|
5754cbfec4 | ||
|
6d2acb5ba3 | ||
|
bffd963c50 | ||
|
663e3bc642 | ||
|
4070d1e06f | ||
|
5cdbef860d | ||
|
e8762ce3cb | ||
|
8769e765a2 | ||
|
a2f517fb38 | ||
|
5ba5128ae6 | ||
|
753d6dfcae | ||
|
3281826a51 | ||
|
2505aaa9d6 | ||
|
9dad16c5a6 | ||
|
a895640245 | ||
|
bd91925fe7 | ||
|
ccdf8e7ee1 | ||
|
28ba2d4494 | ||
|
79a8d48c3c | ||
|
d603d66eaa | ||
|
0a9c049f76 | ||
|
83b56f7855 | ||
|
2653b98e09 | ||
|
5b61ac06cb | ||
|
1819b64046 | ||
|
01d5667388 | ||
|
91045879df | ||
|
3f4cf72872 | ||
|
ada90d3b0a | ||
|
621b958b1c | ||
|
1641fd18c1 | ||
|
2b90591a31 | ||
|
e81bf76dea | ||
|
afb69d7cd2 | ||
|
4b789c0418 | ||
|
ed0f151d86 | ||
|
aee3eec439 | ||
|
13f365916c | ||
|
6291bfaca9 | ||
|
16f9b4630c | ||
|
91f1116e04 | ||
|
8a9429efa4 | ||
|
f9b6086302 | ||
|
65113f222e | ||
|
14e8113fcf | ||
|
48283d7c62 | ||
|
c9ffef2c57 | ||
|
3f5a873e4c | ||
|
ff9632261e | ||
|
842d6f7815 | ||
|
bfc09e2b39 | ||
|
dfc2168d31 | ||
|
2387fdd599 | ||
|
7a1cf2a280 | ||
|
a643d04b05 | ||
|
9fc01a42e6 | ||
|
27df46040f | ||
|
b22fbc91d1 | ||
|
a5f1ff8563 | ||
|
00dcbb3992 | ||
|
4205450c9d | ||
|
0647eea742 | ||
|
0b1ed8dbbb | ||
|
1a5fbd4bd0 | ||
|
39de59e65f | ||
|
b8dd3ef43a | ||
|
4fa47d301f | ||
|
a9242bbf7b | ||
|
28705b54a5 | ||
|
478c90cb00 | ||
|
fae305073a | ||
|
9a5f420ce8 | ||
|
c44a01fd9d | ||
|
99196a42f2 | ||
|
3278ff03e7 | ||
|
7830ac2c9a | ||
|
0ca32c41b5 | ||
|
5a9e9029e8 | ||
|
a9090ecb0e | ||
|
2bfbc07b7d | ||
|
386d31ec63 | ||
|
5442a25967 | ||
|
4a14eb8488 | ||
|
7d5a853b21 | ||
|
a7950bd8ce | ||
|
50737da051 | ||
|
465eabbc65 | ||
|
5e96738ca1 | ||
|
1600d82b77 | ||
|
4db229ff6c | ||
|
1f962dacaf | ||
|
fac6e5206f | ||
|
9ef5b126ec | ||
|
dedfb317f2 | ||
|
640070e133 | ||
|
ebe5eb8342 | ||
|
18a4505b23 | ||
|
c3bc504b70 | ||
|
9f3ee58595 | ||
|
2a7c514cd0 | ||
|
7f9ba9849b | ||
|
3eb6f7176a | ||
|
6774c5077d | ||
|
e873ed6944 | ||
|
8d98981012 | ||
|
9b94eaa0e4 | ||
|
f29ebb1846 | ||
|
2168cb7f8e | ||
|
28f0c3457c | ||
|
53a9131db6 | ||
|
4212c304ab | ||
|
f6cc30cbfe | ||
|
23be4d8af2 | ||
|
0ff4a6b6a4 | ||
|
826b338275 | ||
|
d2ecbfcc1b | ||
|
a9b6a537c5 | ||
|
3a23068d89 | ||
|
7e2c8f1885 | ||
|
dcb6154be7 | ||
|
51c243f76b | ||
|
1721965c38 | ||
|
d817da6049 | ||
|
2e3f89444a | ||
|
244d171cb0 | ||
|
a5790597ca | ||
|
ed21921c58 | ||
|
a4fac6da2a | ||
|
78bf53587a | ||
|
2a6e8f3668 | ||
|
1bb4e3621e | ||
|
d8bcf479bf | ||
|
200bcae2ae | ||
|
c36892f2fa | ||
|
a66ec6eccf | ||
|
c5ef29a6f1 | ||
|
56c2caf6c0 | ||
|
d9ad14e4c5 | ||
|
c003611f05 | ||
|
8f396673fe | ||
|
a18c59317f | ||
|
827f11cf83 | ||
|
1e0cda3e8a | ||
|
10d4093561 | ||
|
dc097221d8 | ||
|
8a8428d002 | ||
|
5b3b0edd80 | ||
|
00c2efca60 | ||
|
f77142c0b6 | ||
|
15a0013193 | ||
|
4dc8841e33 | ||
|
933938a1d8 | ||
|
0f7d08c121 | ||
|
46c79bbe90 | ||
|
04450e1fae | ||
|
eca4726f3c | ||
|
0194c78d19 | ||
|
e610b23916 | ||
|
1c61fd54d4 | ||
|
d8e7f865d8 | ||
|
a03470ac75 | ||
|
f1874ec416 | ||
|
a92ce812e7 | ||
|
67d58aa7b8 | ||
|
681836a84d | ||
|
365c99a787 | ||
|
5c2ef741a6 | ||
|
04fbbbe1ed | ||
|
36d2ed3121 | ||
|
cc212f680d | ||
|
186c5f4f83 | ||
|
48bdab88de | ||
|
17b8e93a53 | ||
|
dad531e4b2 | ||
|
58678ff21c | ||
|
3e278bcf0a | ||
|
215fad420f | ||
|
ebbc730c73 | ||
|
b0fe454163 | ||
|
5dd11735fb | ||
|
eef7a4dbf4 | ||
|
d142bebdd6 | ||
|
2337d9dd27 | ||
|
4c5c289f75 | ||
|
2c28138329 | ||
|
18fea1b286 | ||
|
9288a50bcf | ||
|
6a90172e1a | ||
|
ad8363ae57 | ||
|
1f25f710ea | ||
|
f22bd4e511 | ||
|
795ce6ccf1 | ||
|
b0bedce662 | ||
|
8058967e7f | ||
|
8a6c82a0ef | ||
|
0e84856a45 | ||
|
9bcf8df5d0 | ||
|
b758c098d3 | ||
|
5917a8e72e | ||
|
693664f278 | ||
|
a9df243772 | ||
|
2c813e6e5e | ||
|
61e0247f22 | ||
|
0a983d219a | ||
|
5d0f02ce7f | ||
|
0e49dc4409 | ||
|
98ea7252d3 | ||
|
0251a02896 | ||
|
5e84d47a03 | ||
|
6c814ef641 | ||
|
a01e3a0ffa | ||
|
7c45ed0733 | ||
|
a0fa396901 | ||
|
05ccbc512d | ||
|
00bf1ef8b8 | ||
|
dd115d1896 | ||
|
10004c4032 | ||
|
9fcd0b116b | ||
|
0f8790dd2e | ||
|
0c1e7c2f9c | ||
|
d461ee4f5c | ||
|
e6e87ab214 | ||
|
9d7b6260bd | ||
|
a1b7a5aedc | ||
|
c00e45d30e | ||
|
f55a61d067 | ||
|
62a2619300 | ||
|
b77856a903 | ||
|
3d7d0c40b8 | ||
|
f1772ce7e5 | ||
|
1e10664739 | ||
|
4e717c1725 | ||
|
5fc3177395 | ||
|
cc941e6e05 | ||
|
8c5d6efad5 | ||
|
293a42e7c5 | ||
|
e5344ae135 | ||
|
f53a27e891 | ||
|
ad23b2330c | ||
|
83fd8e88d6 | ||
|
0e6bcd166c | ||
|
65ce507dda | ||
|
43ffffca5f | ||
|
7b0452e53a | ||
|
07b8c0663d | ||
|
b17f9fc81c | ||
|
0ca4484525 | ||
|
e905c6226d | ||
|
97c6cce687 | ||
|
a84f77bf25 | ||
|
fe31060fca | ||
|
637b02690d | ||
|
b324cf1907 | ||
|
f32b4c0547 | ||
|
d373428180 | ||
|
6fe084a2fd | ||
|
d17a8ab523 | ||
|
8f7aba6582 | ||
|
df4a620ba1 | ||
|
50761104ba | ||
|
0102fa3f2d | ||
|
72bdbf52cc | ||
|
f259a451bb | ||
|
40bd4c8b72 | ||
|
276d48ed4f | ||
|
af99569432 | ||
|
a21d1680d2 | ||
|
47f70a4cfd | ||
|
e8f29d9fb6 | ||
|
119d0e60e8 | ||
|
db1b73a3f4 | ||
|
b6cf2d7284 | ||
|
37b2791837 | ||
|
f249c52af6 | ||
|
294f926bfc | ||
|
68996e527e | ||
|
d17257c346 | ||
|
c5c2f7f7d0 | ||
|
811f1573de | ||
|
ec00fc85e0 | ||
|
c485312d38 | ||
|
269e958532 | ||
|
9d1d8813fe | ||
|
4b4584bcd4 | ||
|
dcc80f4709 | ||
|
9eedf29021 | ||
|
8d1eee0e01 | ||
|
1f0b6c8123 | ||
|
f872af464e | ||
|
9a7f2c08f6 | ||
|
accf8f8625 | ||
|
c3370201ba | ||
|
05fec8c642 | ||
|
3479f95090 | ||
|
b39b3da5af | ||
|
575468931f | ||
|
5f052ec8dc | ||
|
e030f0ca09 | ||
|
8e8fac17ff | ||
|
c9541e0795 | ||
|
f3c2c497d8 | ||
|
805b084607 | ||
|
74ec6f4e9a | ||
|
7705017f63 | ||
|
c99386e155 | ||
|
685449bfe3 | ||
|
be5a40f6a9 | ||
|
aca6e64669 | ||
|
9a5de3fc1e | ||
|
054da80114 |
2
CONTRIBUTING.md → .github/CONTRIBUTING.md
vendored
2
CONTRIBUTING.md → .github/CONTRIBUTING.md
vendored
@@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
1. [Create an account on phpBB.com](http://www.phpbb.com/community/ucp.php?mode=register)
|
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)
|
2. [Create a ticket (unless there already is one)](http://tracker.phpbb.com/secure/CreateIssue!default.jspa)
|
||||||
3. Read our [Coding guidelines](https://wiki.phpbb.com/Coding_guidelines) and [Git Contribution Guidelines](http://wiki.phpbb.com/Git); if you're new to git, also read [the introduction guide](http://wiki.phpbb.com/display/DEV/Working+with+Git)
|
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
|
4. Send us a pull request
|
10
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
10
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
Checklist:
|
||||||
|
|
||||||
|
- [ ] Correct branch: master for new features; 3.2.x, 3.1.x for fixes
|
||||||
|
- [ ] Tests pass
|
||||||
|
- [ ] Code follows coding guidelines: [master / 3.2.x](https://area51.phpbb.com/docs/master/coding-guidelines.html), [3.1.x](https://area51.phpbb.com/docs/31x/coding-guidelines.html)
|
||||||
|
- [ ] Commit follows commit message [format](https://wiki.phpbb.com/Git#Commit_Messages)
|
||||||
|
|
||||||
|
Tracker ticket (set the ticket ID to **your ticket ID**):
|
||||||
|
|
||||||
|
https://tracker.phpbb.com/browse/PHPBB3-12345
|
4
.gitignore
vendored
4
.gitignore
vendored
@@ -4,7 +4,7 @@
|
|||||||
!/phpBB/cache/.htaccess
|
!/phpBB/cache/.htaccess
|
||||||
!/phpBB/cache/index.html
|
!/phpBB/cache/index.html
|
||||||
/phpBB/composer.phar
|
/phpBB/composer.phar
|
||||||
/phpBB/config*.php
|
/phpBB/config*.php*
|
||||||
/phpBB/ext/*
|
/phpBB/ext/*
|
||||||
/phpBB/files/*
|
/phpBB/files/*
|
||||||
/phpBB/images/avatars/gallery/*
|
/phpBB/images/avatars/gallery/*
|
||||||
@@ -22,3 +22,5 @@
|
|||||||
/tests/test_config*.php
|
/tests/test_config*.php
|
||||||
/tests/tmp/*
|
/tests/tmp/*
|
||||||
/tests/vendor
|
/tests/vendor
|
||||||
|
/vagrant/phpbb-install-config.yml
|
||||||
|
.vagrant
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
"jquery": true,
|
"jquery": true,
|
||||||
|
|
||||||
"globals": {
|
"globals": {
|
||||||
"JSON": true
|
"JSON": true,
|
||||||
|
"phpbb": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -22,10 +22,15 @@ matrix:
|
|||||||
env: DB=mysqli
|
env: DB=mysqli
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
env: DB=mysqli
|
env: DB=mysqli
|
||||||
|
- php: 7.1
|
||||||
|
env: DB=mysqli
|
||||||
|
- php: nightly
|
||||||
|
env: DB=mysqli
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
env: DB=mysqli
|
env: DB=mysqli
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: hhvm
|
- php: hhvm
|
||||||
|
- php: nightly
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
16
README.md
16
README.md
@@ -2,34 +2,38 @@
|
|||||||
|
|
||||||
## ABOUT
|
## ABOUT
|
||||||
|
|
||||||
phpBB is a free bulletin board written in PHP.
|
phpBB is a free open-source bulletin board written in PHP.
|
||||||
|
|
||||||
## COMMUNITY
|
## COMMUNITY
|
||||||
|
|
||||||
Find support and lots more on [phpBB.com](http://www.phpbb.com)! Discuss the development on [area51](http://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).
|
||||||
|
|
||||||
## INSTALLING DEPENDENCIES
|
## INSTALLING DEPENDENCIES
|
||||||
|
|
||||||
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.
|
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
|
cd phpBB
|
||||||
php ../composer.phar install --dev
|
php ../composer.phar install
|
||||||
|
|
||||||
|
|
||||||
## CONTRIBUTE
|
## CONTRIBUTE
|
||||||
|
|
||||||
1. [Create an account on phpBB.com](http://www.phpbb.com/community/ucp.php?mode=register)
|
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)
|
2. [Create a ticket (unless there already is one)](http://tracker.phpbb.com/secure/CreateIssue!default.jspa)
|
||||||
3. [Read our Git Contribution Guidelines](http://wiki.phpbb.com/Git); if you're new to git, also read [the introduction guide](http://wiki.phpbb.com/display/DEV/Working+with+Git)
|
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
|
4. Send us a pull request
|
||||||
|
|
||||||
|
## VAGRANT
|
||||||
|
|
||||||
|
Read our [Vagrant documentation](phpBB/docs/vagrant.md) to find out how to use Vagrant to develop and contribute to phpBB.
|
||||||
|
|
||||||
## AUTOMATED TESTING
|
## AUTOMATED TESTING
|
||||||
|
|
||||||
We have unit and functional tests in order to prevent regressions. You can view the bamboo continuous integration [here](http://bamboo.phpbb.com) or check our travis build below:
|
We have unit and functional tests in order to prevent regressions. You can view the bamboo continuous integration [here](http://bamboo.phpbb.com) or check our travis builds below:
|
||||||
|
|
||||||
* [](http://travis-ci.org/phpbb/phpbb) **master** - Latest development version
|
* [](http://travis-ci.org/phpbb/phpbb) **master** - Latest development version
|
||||||
|
* [](http://travis-ci.org/phpbb/phpbb) **3.2.x** - Development of version 3.2.x
|
||||||
* [](http://travis-ci.org/phpbb/phpbb) **3.1.x** - Development of version 3.1.x
|
* [](http://travis-ci.org/phpbb/phpbb) **3.1.x** - Development of version 3.1.x
|
||||||
* [](http://travis-ci.org/phpbb/phpbb) **3.0.x** - Development of version 3.0.x
|
|
||||||
|
|
||||||
## LICENSE
|
## LICENSE
|
||||||
|
|
||||||
|
25
Vagrantfile
vendored
Normal file
25
Vagrantfile
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
require 'json'
|
||||||
|
require 'yaml'
|
||||||
|
|
||||||
|
VAGRANTFILE_API_VERSION ||= "2"
|
||||||
|
confDir = $confDir ||= File.expand_path("phpBB/vendor/laravel/homestead", File.dirname(__FILE__))
|
||||||
|
|
||||||
|
homesteadYamlPath = "vagrant/bootstrap.yaml"
|
||||||
|
afterScriptPath = "vagrant/after.sh"
|
||||||
|
aliasesPath = "vagrant/aliases"
|
||||||
|
|
||||||
|
require File.expand_path(confDir + '/scripts/homestead.rb')
|
||||||
|
|
||||||
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
|
if File.exists? aliasesPath then
|
||||||
|
config.vm.provision "file", source: aliasesPath, destination: "~/.bash_aliases"
|
||||||
|
end
|
||||||
|
|
||||||
|
if File.exists? homesteadYamlPath then
|
||||||
|
Homestead.configure(config, YAML::load(File.read(homesteadYamlPath)))
|
||||||
|
end
|
||||||
|
|
||||||
|
if File.exists? afterScriptPath then
|
||||||
|
config.vm.provision "shell", path: afterScriptPath
|
||||||
|
end
|
||||||
|
end
|
119
build/build.xml
119
build/build.xml
@@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
<project name="phpBB" description="The phpBB forum software" default="all" basedir="../">
|
<project name="phpBB" description="The phpBB forum software" default="all" basedir="../">
|
||||||
<!-- a few settings for the build -->
|
<!-- a few settings for the build -->
|
||||||
<property name="newversion" value="3.2.0-b2" />
|
<property name="newversion" value="3.2.0" />
|
||||||
<property name="prevversion" value="3.2.0-b1" />
|
<property name="prevversion" value="3.2.0-RC2" />
|
||||||
<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.2.0-a1, 3.2.0-a2" />
|
<property name="olderversions" value="3.0.14, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.7-pl1, 3.1.8, 3.1.9, 3.1.10, 3.2.0-a1, 3.2.0-a2, 3.2.0-b1, 3.2.0-b2, 3.2.0-RC1" />
|
||||||
<!-- no configuration should be needed beyond this point -->
|
<!-- no configuration should be needed beyond this point -->
|
||||||
|
|
||||||
<property name="oldversions" value="${olderversions}, ${prevversion}" />
|
<property name="oldversions" value="${olderversions}, ${prevversion}" />
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
-->
|
-->
|
||||||
<target name="composer">
|
<target name="composer">
|
||||||
<exec dir="phpBB"
|
<exec dir="phpBB"
|
||||||
command="php ../composer.phar install --dev"
|
command="php ../composer.phar install --ignore-platform-reqs"
|
||||||
checkreturn="true"
|
checkreturn="true"
|
||||||
passthru="true" />
|
passthru="true" />
|
||||||
</target>
|
</target>
|
||||||
@@ -142,7 +142,9 @@
|
|||||||
|
|
||||||
<phingcall target="export">
|
<phingcall target="export">
|
||||||
<property name="revision" value="release-${version}" />
|
<property name="revision" value="release-${version}" />
|
||||||
|
<property name="version" value="${version}" />
|
||||||
<property name="dir" value="build/old_versions/release-${version}" />
|
<property name="dir" value="build/old_versions/release-${version}" />
|
||||||
|
<property name="skip-composer" value="true" />
|
||||||
</phingcall>
|
</phingcall>
|
||||||
|
|
||||||
<phingcall target="clean-diff-dir">
|
<phingcall target="clean-diff-dir">
|
||||||
@@ -248,26 +250,35 @@
|
|||||||
<equals arg1="${composer-has-dependencies}" arg2="1" trim="true" />
|
<equals arg1="${composer-has-dependencies}" arg2="1" trim="true" />
|
||||||
<then>
|
<then>
|
||||||
<!-- We have non-dev composer dependencies -->
|
<!-- We have non-dev composer dependencies -->
|
||||||
<exec dir="."
|
|
||||||
command="git ls-tree ${revision} composer.phar"
|
|
||||||
checkreturn="true"
|
|
||||||
outputProperty='composer-ls-tree-output' />
|
|
||||||
<if>
|
<if>
|
||||||
<equals arg1="${composer-ls-tree-output}" arg2="" trim="true" />
|
<not><isset property="skip-composer" /></not>
|
||||||
<then>
|
<then>
|
||||||
<fail message="There are composer dependencies, but composer.phar is missing." />
|
|
||||||
</then>
|
|
||||||
<else>
|
|
||||||
<!-- Export the phar, install dependencies, delete phar. -->
|
|
||||||
<exec dir="."
|
<exec dir="."
|
||||||
command="git archive ${revision} composer.phar | tar -xf - -C ${dir}"
|
command="git ls-tree ${revision} composer.phar"
|
||||||
checkreturn="true" />
|
|
||||||
<exec dir="${dir}"
|
|
||||||
command="php composer.phar install --no-dev --optimize-autoloader"
|
|
||||||
checkreturn="true"
|
checkreturn="true"
|
||||||
passthru="true" />
|
outputProperty='composer-ls-tree-output' />
|
||||||
<delete file="${dir}/composer.phar" />
|
<if>
|
||||||
</else>
|
<equals arg1="${composer-ls-tree-output}" arg2="" trim="true" />
|
||||||
|
<then>
|
||||||
|
<fail message="There are composer dependencies, but composer.phar is missing." />
|
||||||
|
</then>
|
||||||
|
<else>
|
||||||
|
<!-- Export the phar, install dependencies, delete phar. -->
|
||||||
|
<exec dir="."
|
||||||
|
command="git archive ${revision} composer.phar | tar -xf - -C ${dir}"
|
||||||
|
checkreturn="true" />
|
||||||
|
<exec dir="${dir}"
|
||||||
|
command="php composer.phar install --no-dev --optimize-autoloader --ignore-platform-reqs"
|
||||||
|
checkreturn="true"
|
||||||
|
passthru="true" />
|
||||||
|
<delete file="${dir}/composer.phar" />
|
||||||
|
|
||||||
|
<phingcall target="clean-vendor-dir">
|
||||||
|
<property name="dir" value="${dir}" />
|
||||||
|
</phingcall>
|
||||||
|
</else>
|
||||||
|
</if>
|
||||||
|
</then>
|
||||||
</if>
|
</if>
|
||||||
</then>
|
</then>
|
||||||
<else>
|
<else>
|
||||||
@@ -277,6 +288,54 @@
|
|||||||
</else>
|
</else>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
|
<!-- Checkout latest viglink to ext folder -->
|
||||||
|
<available file="${dir}/ext" type="dir" property="add-viglink-ext" />
|
||||||
|
<exec dir="${dir}"
|
||||||
|
command='php -r "echo version_compare('${version}', '3.2.0-RC2', '>=') ? 'true' : 'false';"'
|
||||||
|
checkreturn="true"
|
||||||
|
outputProperty='viglink-available' />
|
||||||
|
<if>
|
||||||
|
<and>
|
||||||
|
<equals arg1="${add-viglink-ext}" arg2="1" trim="true" />
|
||||||
|
<or>
|
||||||
|
<equals arg1="${revision}" arg2="HEAD" trim="true" />
|
||||||
|
<equals arg1="${viglink-available}" arg2="1" trim="true" />
|
||||||
|
</or>
|
||||||
|
</and>
|
||||||
|
<then>
|
||||||
|
<exec dir="${dir}/ext" command="mkdir phpbb" passthru="true" />
|
||||||
|
|
||||||
|
<exec dir="${dir}/ext/phpbb" command="git clone https://github.com/phpbb-extensions/viglink.git viglink" passthru="true" checkreturn="true" />
|
||||||
|
<if>
|
||||||
|
<equals arg1="${revision}" arg2="HEAD" trim="true" />
|
||||||
|
<then>
|
||||||
|
<exec dir="${dir}/ext/phpbb/viglink"
|
||||||
|
command="git rev-parse release-phpbb-${version}"
|
||||||
|
returnProperty='viglink_head_tag_exists' />
|
||||||
|
<if>
|
||||||
|
<equals arg1="${viglink_head_tag_exists}" arg2="0" trim="true" />
|
||||||
|
<then>
|
||||||
|
<exec dir="${dir}/ext/phpbb/viglink" command="git checkout release-phpbb-${version}" passthru="true" />
|
||||||
|
</then>
|
||||||
|
<else>
|
||||||
|
<exec dir="${dir}/ext/phpbb/viglink" command="git checkout master" passthru="true" />
|
||||||
|
</else>
|
||||||
|
</if>
|
||||||
|
</then>
|
||||||
|
<else>
|
||||||
|
<exec dir="${dir}/ext/phpbb/viglink" command="git checkout release-phpbb-${version}" passthru="true" />
|
||||||
|
</else>
|
||||||
|
</if>
|
||||||
|
<delete dir="${dir}/ext/phpbb/viglink/.git" />
|
||||||
|
<delete dir="${dir}/ext/phpbb/viglink/tests" />
|
||||||
|
<delete dir="${dir}/ext/phpbb/viglink/travis" />
|
||||||
|
<delete file="${dir}/ext/phpbb/viglink/.gitattributes" />
|
||||||
|
<delete file="${dir}/ext/phpbb/viglink/.travis.yml" />
|
||||||
|
<delete file="${dir}/ext/phpbb/viglink/phpunit.xml.dist" />
|
||||||
|
<delete file="${dir}/ext/phpbb/viglink/README.md" />
|
||||||
|
</then>
|
||||||
|
</if>
|
||||||
|
|
||||||
<!-- Create schema.json -->
|
<!-- Create schema.json -->
|
||||||
<exec dir="${dir}" command="php develop/create_schema_files.php" />
|
<exec dir="${dir}" command="php develop/create_schema_files.php" />
|
||||||
|
|
||||||
@@ -286,10 +345,6 @@
|
|||||||
<delete dir="${dir}/config/development" />
|
<delete dir="${dir}/config/development" />
|
||||||
<delete dir="${dir}/config/test" />
|
<delete dir="${dir}/config/test" />
|
||||||
|
|
||||||
<phingcall target="clean-vendor-dir">
|
|
||||||
<property name="dir" value="${dir}" />
|
|
||||||
</phingcall>
|
|
||||||
|
|
||||||
<echo msg="Setting permissions for checkout of ${revision} in ${dir}" />
|
<echo msg="Setting permissions for checkout of ${revision} in ${dir}" />
|
||||||
<!-- set permissions of all files to 644, directories to 755 -->
|
<!-- set permissions of all files to 644, directories to 755 -->
|
||||||
<exec dir="${dir}" command="find . -type f|xargs chmod 644" escape="false" />
|
<exec dir="${dir}" command="find . -type f|xargs chmod 644" escape="false" />
|
||||||
@@ -443,6 +498,13 @@
|
|||||||
<delete file="${dir}/vendor/symfony/http-kernel/README.md" />
|
<delete file="${dir}/vendor/symfony/http-kernel/README.md" />
|
||||||
<delete file="${dir}/vendor/symfony/http-kernel/phpunit.xml.dist" />
|
<delete file="${dir}/vendor/symfony/http-kernel/phpunit.xml.dist" />
|
||||||
|
|
||||||
|
<delete dir="${dir}/vendor/symfony/proxy-manager-bridge/.git" />
|
||||||
|
<delete dir="${dir}/vendor/symfony/proxy-manager-bridge/Tests" />
|
||||||
|
<delete file="${dir}/vendor/symfony/proxy-manager-bridge/.gitignore" />
|
||||||
|
<delete file="${dir}/vendor/symfony/proxy-manager-bridge/CHANGELOG.md" />
|
||||||
|
<delete file="${dir}/vendor/symfony/proxy-manager-bridge/README.md" />
|
||||||
|
<delete file="${dir}/vendor/symfony/proxy-manager-bridge/phpunit.xml.dist" />
|
||||||
|
|
||||||
<delete dir="${dir}/vendor/symfony/routing/.git" />
|
<delete dir="${dir}/vendor/symfony/routing/.git" />
|
||||||
<delete dir="${dir}/vendor/symfony/routing/Tests" />
|
<delete dir="${dir}/vendor/symfony/routing/Tests" />
|
||||||
<delete file="${dir}/vendor/symfony/routing/.gitignore" />
|
<delete file="${dir}/vendor/symfony/routing/.gitignore" />
|
||||||
@@ -473,6 +535,15 @@
|
|||||||
<delete file="${dir}/vendor/twig/twig/CHANGELOG" />
|
<delete file="${dir}/vendor/twig/twig/CHANGELOG" />
|
||||||
<delete file="${dir}/vendor/twig/twig/phpunit.xml.dist" />
|
<delete file="${dir}/vendor/twig/twig/phpunit.xml.dist" />
|
||||||
<delete file="${dir}/vendor/twig/twig/README.rst" />
|
<delete file="${dir}/vendor/twig/twig/README.rst" />
|
||||||
|
|
||||||
|
<delete file="${dir}/vendor/zendframework/zend-code/CONTRIBUTING.md" />
|
||||||
|
<delete file="${dir}/vendor/zendframework/zend-code/README.md" />
|
||||||
|
|
||||||
|
<delete file="${dir}/vendor/zendframework/zend-eventmanager/CONTRIBUTING.md" />
|
||||||
|
<delete file="${dir}/vendor/zendframework/zend-eventmanager/README.md" />
|
||||||
|
|
||||||
|
<delete file="${dir}/vendor/zendframework/zend-stdlib/CONTRIBUTING.md" />
|
||||||
|
<delete file="${dir}/vendor/zendframework/zend-stdlib/README.md" />
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="clean-diff-dir">
|
<target name="clean-diff-dir">
|
||||||
|
@@ -134,53 +134,19 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements PHP_CodeSniffer_Sniff
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$old_docblock = $stackPtr;
|
||||||
|
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) ? true : $ok;
|
||||||
|
}
|
||||||
|
|
||||||
// Checks in type hinting
|
// Checks in type hinting
|
||||||
$old_function_declaration = $stackPtr;
|
$old_function_declaration = $stackPtr;
|
||||||
while (($function_declaration = $phpcsFile->findNext(T_FUNCTION, ($old_function_declaration + 1))) !== false)
|
while (($function_declaration = $phpcsFile->findNext(T_FUNCTION, ($old_function_declaration + 1))) !== false)
|
||||||
{
|
{
|
||||||
$old_function_declaration = $function_declaration;
|
$old_function_declaration = $function_declaration;
|
||||||
|
|
||||||
// Check docblocks
|
|
||||||
$find = array(
|
|
||||||
T_COMMENT,
|
|
||||||
T_DOC_COMMENT_CLOSE_TAG,
|
|
||||||
T_DOC_COMMENT,
|
|
||||||
T_CLASS,
|
|
||||||
T_FUNCTION,
|
|
||||||
T_OPEN_TAG,
|
|
||||||
);
|
|
||||||
|
|
||||||
$comment_end = $phpcsFile->findPrevious($find, ($function_declaration - 1));
|
|
||||||
if ($comment_end !== false)
|
|
||||||
{
|
|
||||||
if ($tokens[$comment_end]['code'] === T_DOC_COMMENT_CLOSE_TAG)
|
|
||||||
{
|
|
||||||
$comment_start = $tokens[$comment_end]['comment_opener'];
|
|
||||||
foreach ($tokens[$comment_start]['comment_tags'] as $tag) {
|
|
||||||
if ($tokens[$tag]['content'] !== '@param' && $tokens[$tag]['content'] !== '@return' && $tokens[$tag]['content'] !== '@throws') {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
$classes = $tokens[($tag + 2)]['content'];
|
|
||||||
$space = strpos($classes, ' ');
|
|
||||||
if ($space !== false) {
|
|
||||||
$classes = substr($classes, 0, $space);
|
|
||||||
}
|
|
||||||
|
|
||||||
$tab = strpos($classes, "\t");
|
|
||||||
if ($tab !== false) {
|
|
||||||
$classes = substr($classes, 0, $tab);
|
|
||||||
}
|
|
||||||
|
|
||||||
$classes = explode('|', str_replace('[]', '', $classes));
|
|
||||||
foreach ($classes as $class)
|
|
||||||
{
|
|
||||||
$ok = $this->check($phpcsFile, $class, $class_name_full, $class_name_short, $tokens[$tag + 2]['line']) ? true : $ok;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check type hint
|
// Check type hint
|
||||||
$params = $phpcsFile->getMethodParameters($function_declaration);
|
$params = $phpcsFile->getMethodParameters($function_declaration);
|
||||||
foreach ($params as $param)
|
foreach ($params as $param)
|
||||||
@@ -239,4 +205,49 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements PHP_CodeSniffer_Sniff
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param PHP_CodeSniffer_File $phpcsFile
|
||||||
|
* @param int $field
|
||||||
|
* @param array $tokens
|
||||||
|
* @param string $class_name_full
|
||||||
|
* @param string $class_name_short
|
||||||
|
* @param bool $ok
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
private function checkDocblock(PHP_CodeSniffer_File $phpcsFile, $comment_end, $tokens, $class_name_full, $class_name_short)
|
||||||
|
{
|
||||||
|
$ok = false;
|
||||||
|
|
||||||
|
$comment_start = $tokens[$comment_end]['comment_opener'];
|
||||||
|
foreach ($tokens[$comment_start]['comment_tags'] as $tag)
|
||||||
|
{
|
||||||
|
if (!in_array($tokens[$tag]['content'], array('@param', '@var', '@return', '@throws'), true))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
$classes = $tokens[($tag + 2)]['content'];
|
||||||
|
$space = strpos($classes, ' ');
|
||||||
|
if ($space !== false)
|
||||||
|
{
|
||||||
|
$classes = substr($classes, 0, $space);
|
||||||
|
}
|
||||||
|
|
||||||
|
$tab = strpos($classes, "\t");
|
||||||
|
if ($tab !== false)
|
||||||
|
{
|
||||||
|
$classes = substr($classes, 0, $tab);
|
||||||
|
}
|
||||||
|
|
||||||
|
$classes = explode('|', str_replace('[]', '', $classes));
|
||||||
|
foreach ($classes as $class)
|
||||||
|
{
|
||||||
|
$ok = $this->check($phpcsFile, $class, $class_name_full, $class_name_short, $tokens[$tag + 2]['line']) ? true : $ok;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $ok;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@@ -25,6 +25,7 @@ $config['versions'] = Sami\Version\GitVersionCollection::create(__DIR__ . '/../'
|
|||||||
*/
|
*/
|
||||||
->add('3.0.x')
|
->add('3.0.x')
|
||||||
->add('3.1.x')
|
->add('3.1.x')
|
||||||
|
->add('3.2.x')
|
||||||
->add('master')
|
->add('master')
|
||||||
;
|
;
|
||||||
|
|
||||||
|
BIN
composer.phar
BIN
composer.phar
Binary file not shown.
@@ -41,6 +41,7 @@ if (!isset($user->data['session_admin']) || !$user->data['session_admin'])
|
|||||||
// check specific permissions but this is a catchall
|
// check specific permissions but this is a catchall
|
||||||
if (!$auth->acl_get('a_'))
|
if (!$auth->acl_get('a_'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error('NO_ADMIN');
|
trigger_error('NO_ADMIN');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -196,7 +196,7 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="extgroup_filesize">{L_MAX_EXTGROUP_FILESIZE}{L_COLON}</label></dt>
|
<dt><label for="extgroup_filesize">{L_MAX_EXTGROUP_FILESIZE}{L_COLON}</label></dt>
|
||||||
<dd><input type="number" id="extgroup_filesize" size="3" maxlength="15" name="max_filesize" value="{EXTGROUP_FILESIZE}" /> <select name="size_select">{S_EXT_GROUP_SIZE_OPTIONS}</select></dd>
|
<dd><input type="number" id="extgroup_filesize" min="0" max="999999999999999" step="any" name="max_filesize" value="{EXTGROUP_FILESIZE}" /> <select name="size_select">{S_EXT_GROUP_SIZE_OPTIONS}</select></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="assigned_extensions">{L_ASSIGNED_EXTENSIONS}{L_COLON}</label></dt>
|
<dt><label for="assigned_extensions">{L_ASSIGNED_EXTENSIONS}{L_COLON}</label></dt>
|
||||||
@@ -346,7 +346,7 @@
|
|||||||
<td><a href="{orphan.U_FILE}">{orphan.REAL_FILENAME}</a></td>
|
<td><a href="{orphan.U_FILE}">{orphan.REAL_FILENAME}</a></td>
|
||||||
<td>{orphan.FILETIME}</td>
|
<td>{orphan.FILETIME}</td>
|
||||||
<td>{orphan.FILESIZE}</td>
|
<td>{orphan.FILESIZE}</td>
|
||||||
<td><strong>{L_ATTACH_ID}{L_COLON} </strong><input type="number" name="post_id[{orphan.ATTACH_ID}]" maxlength="10" value="{orphan.POST_ID}" style="width: 75%;" /></td>
|
<td><strong>{L_ATTACH_ID}{L_COLON} </strong><input type="number" min="0" max="9999999999" name="post_id[{orphan.ATTACH_ID}]" value="{orphan.POST_ID}" style="width: 75%;" /></td>
|
||||||
<td><input type="checkbox" class="radio" name="add[{orphan.ATTACH_ID}]" /></td>
|
<td><input type="checkbox" class="radio" name="add[{orphan.ATTACH_ID}]" /></td>
|
||||||
<td><input type="checkbox" class="radio" name="delete[{orphan.ATTACH_ID}]" /></td>
|
<td><input type="checkbox" class="radio" name="delete[{orphan.ATTACH_ID}]" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><label for="avatar_gravatar_width">{L_GRAVATAR_AVATAR_SIZE}{L_COLON}</label><br /><span>{L_GRAVATAR_AVATAR_SIZE_EXPLAIN}</span></dt>
|
<dt><label for="avatar_gravatar_width">{L_GRAVATAR_AVATAR_SIZE}{L_COLON}</label><br /><span>{L_GRAVATAR_AVATAR_SIZE_EXPLAIN}</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="number" name="avatar_gravatar_width" id="avatar_gravatar_width" size="3" value="{AVATAR_GRAVATAR_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} ×
|
<input type="number" name="avatar_gravatar_width" id="avatar_gravatar_width" min="{AVATAR_MIN_WIDTH}" max="{AVATAR_MAX_WIDTH}" value="{AVATAR_GRAVATAR_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} ×
|
||||||
<input type="number" name="avatar_gravatar_height" id="avatar_gravatar_height" size="3" value="{AVATAR_GRAVATAR_HEIGHT}" class="inputbox autowidth" /> {L_PIXEL}
|
<input type="number" name="avatar_gravatar_height" id="avatar_gravatar_height" min="{AVATAR_MIN_HEIGHT}" max="{AVATAR_MAX_HEIGHT}" value="{AVATAR_GRAVATAR_HEIGHT}" class="inputbox autowidth" /> {L_PIXEL}
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><label for="avatar_remote_width">{L_LINK_REMOTE_SIZE}{L_COLON}</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></dt>
|
<dt><label for="avatar_remote_width">{L_LINK_REMOTE_SIZE}{L_COLON}</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="number" name="avatar_remote_width" id="avatar_remote_width" size="3" value="{AVATAR_REMOTE_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} ×
|
<input type="number" name="avatar_remote_width" id="avatar_remote_width" min="{AVATAR_MIN_WIDTH}" max="{AVATAR_MAX_WIDTH}" value="{AVATAR_REMOTE_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} ×
|
||||||
<input type="number" name="avatar_remote_height" id="avatar_remote_height" size="3" value="{AVATAR_REMOTE_HEIGHT}" class="inputbox autowidth" /> {L_PIXEL}
|
<input type="number" name="avatar_remote_height" id="avatar_remote_height" min="{AVATAR_MIN_HEIGHT}" max="{AVATAR_MAX_HEIGHT}" value="{AVATAR_REMOTE_HEIGHT}" class="inputbox autowidth" /> {L_PIXEL}
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
@@ -27,11 +27,11 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="max_reg_attempts">{L_REG_LIMIT}{L_COLON}</label><br /><span>{L_REG_LIMIT_EXPLAIN}</span></dt>
|
<dt><label for="max_reg_attempts">{L_REG_LIMIT}{L_COLON}</label><br /><span>{L_REG_LIMIT_EXPLAIN}</span></dt>
|
||||||
<dd><input id="max_reg_attempts" type="number" size="4" maxlength="4" min="0" max="9999" name="max_reg_attempts" value="{REG_LIMIT}" /></dd>
|
<dd><input id="max_reg_attempts" type="number" min="0" max="9999" name="max_reg_attempts" value="{REG_LIMIT}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="max_login_attempts">{L_MAX_LOGIN_ATTEMPTS}{L_COLON}</label><br /><span>{L_MAX_LOGIN_ATTEMPTS_EXPLAIN}</span></dt>
|
<dt><label for="max_login_attempts">{L_MAX_LOGIN_ATTEMPTS}{L_COLON}</label><br /><span>{L_MAX_LOGIN_ATTEMPTS_EXPLAIN}</span></dt>
|
||||||
<dd><input id="max_login_attempts" type="number" size="4" maxlength="4" min="0" max="9999" name="max_login_attempts" value="{MAX_LOGIN_ATTEMPTS}" /></dd>
|
<dd><input id="max_login_attempts" type="number" min="0" max="9999" name="max_login_attempts" value="{MAX_LOGIN_ATTEMPTS}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="enable_post_confirm">{L_VISUAL_CONFIRM_POST}{L_COLON}</label><br /><span>{L_VISUAL_CONFIRM_POST_EXPLAIN}</span></dt>
|
<dt><label for="enable_post_confirm">{L_VISUAL_CONFIRM_POST}{L_COLON}</label><br /><span>{L_VISUAL_CONFIRM_POST_EXPLAIN}</span></dt>
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
<legend>{L_RESTORE_OPTIONS}</legend>
|
<legend>{L_RESTORE_OPTIONS}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="file">{L_SELECT_FILE}{L_COLON}</label></dt>
|
<dt><label for="file">{L_SELECT_FILE}{L_COLON}</label></dt>
|
||||||
<dd><select id="file" name="file" size="10"><!-- BEGIN files --><option value="{files.FILE}"<!-- IF files.S_LAST_ROW --> selected="selected"<!-- ENDIF -->>{files.NAME}</option><!-- END files --></select></dd>
|
<dd><select id="file" name="file" size="10"><!-- BEGIN files --><option value="{files.FILE}"<!-- IF files.S_FIRST_ROW --> selected="selected"<!-- ENDIF -->>{files.NAME}</option><!-- END files --></select></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<p class="submit-buttons">
|
<p class="submit-buttons">
|
||||||
|
@@ -7,19 +7,17 @@
|
|||||||
<h1>{L_EXTENSIONS_ADMIN}</h1>
|
<h1>{L_EXTENSIONS_ADMIN}</h1>
|
||||||
|
|
||||||
<!-- IF S_VERSIONCHECK -->
|
<!-- IF S_VERSIONCHECK -->
|
||||||
<div class="<!-- IF S_UP_TO_DATE -->successbox<!-- ELSE -->errorbox<!-- ENDIF -->">
|
<!-- IF S_VERSIONCHECK_FAIL -->
|
||||||
<p>{UP_TO_DATE_MSG} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
<div class="errorbox notice">
|
||||||
</div>
|
<p>{L_VERSIONCHECK_FAIL}</p>
|
||||||
<!-- ELSE IF S_VERSIONCHECK_STATUS == 0 -->
|
<p>{VERSIONCHECK_FAIL_REASON}</p>
|
||||||
<div class="errorbox notice">
|
<p><a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
||||||
<p>{L_VERSIONCHECK_FAIL}</p>
|
</div>
|
||||||
<p>{VERSIONCHECK_FAIL_REASON}</p>
|
<!-- ELSE -->
|
||||||
<p><a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
<div class="<!-- IF S_UP_TO_DATE -->successbox<!-- ELSE -->errorbox<!-- ENDIF -->">
|
||||||
</div>
|
<p>{UP_TO_DATE_MSG} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
||||||
<!-- ELSE IF S_VERSIONCHECK_STATUS == 1 -->
|
</div>
|
||||||
<div class="errorbox notice">
|
<!-- ENDIF -->
|
||||||
<p>{VERSIONCHECK_FAIL_REASON}</p>
|
|
||||||
</div>
|
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
@@ -136,4 +134,5 @@
|
|||||||
<!-- END meta_authors -->
|
<!-- END meta_authors -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
<!-- EVENT acp_ext_details_end -->
|
||||||
<!-- INCLUDE overall_footer.html -->
|
<!-- INCLUDE overall_footer.html -->
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<!-- IF .enabled -->
|
<!-- IF .enabled -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row3" colspan="4"><strong>{L_EXTENSIONS_ENABLED}</strong></td>
|
<td class="row3" colspan="4"><strong>{L_EXTENSIONS_ENABLED}</strong><!-- EVENT acp_ext_list_enabled_title_after --></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- BEGIN enabled -->
|
<!-- BEGIN enabled -->
|
||||||
<tr class="ext_enabled row-highlight">
|
<tr class="ext_enabled row-highlight">
|
||||||
@@ -69,7 +69,7 @@
|
|||||||
|
|
||||||
<!-- IF .disabled -->
|
<!-- IF .disabled -->
|
||||||
<tr>
|
<tr>
|
||||||
<td class="row3" colspan="4"><strong>{L_EXTENSIONS_DISABLED}</strong></td>
|
<td class="row3" colspan="4"><strong>{L_EXTENSIONS_DISABLED}</strong><!-- EVENT acp_ext_list_disabled_title_after --></td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- BEGIN disabled -->
|
<!-- BEGIN disabled -->
|
||||||
<tr class="ext_disabled row-highlight">
|
<tr class="ext_disabled row-highlight">
|
||||||
|
@@ -242,7 +242,7 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="topics_per_page">{L_FORUM_TOPICS_PAGE}{L_COLON}</label><br /><span>{L_FORUM_TOPICS_PAGE_EXPLAIN}</span></dt>
|
<dt><label for="topics_per_page">{L_FORUM_TOPICS_PAGE}{L_COLON}</label><br /><span>{L_FORUM_TOPICS_PAGE_EXPLAIN}</span></dt>
|
||||||
<dd><input type="number" id="topics_per_page" name="topics_per_page" value="{TOPICS_PER_PAGE}" size="4" maxlength="4" min="0" max="9999" /></dd>
|
<dd><input type="number" id="topics_per_page" name="topics_per_page" value="{TOPICS_PER_PAGE}" min="0" max="9999" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- EVENT acp_forums_normal_settings_append -->
|
<!-- EVENT acp_forums_normal_settings_append -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
@@ -257,15 +257,15 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="prune_freq">{L_AUTO_PRUNE_FREQ}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_FREQ_EXPLAIN}</span></dt>
|
<dt><label for="prune_freq">{L_AUTO_PRUNE_FREQ}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_FREQ_EXPLAIN}</span></dt>
|
||||||
<dd><input type="number" id="prune_freq" name="prune_freq" value="{PRUNE_FREQ}" maxlength="4" size="4" min="0" max="9999" /> {L_DAYS}</dd>
|
<dd><input type="number" id="prune_freq" name="prune_freq" value="{PRUNE_FREQ}" min="0" max="9999" /> {L_DAYS}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="prune_days">{L_AUTO_PRUNE_DAYS}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_DAYS_EXPLAIN}</span></dt>
|
<dt><label for="prune_days">{L_AUTO_PRUNE_DAYS}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_DAYS_EXPLAIN}</span></dt>
|
||||||
<dd><input type="number" id="prune_days" name="prune_days" value="{PRUNE_DAYS}" maxlength="4" size="4" min="0" max="9999" /> {L_DAYS}</dd>
|
<dd><input type="number" id="prune_days" name="prune_days" value="{PRUNE_DAYS}" min="0" max="9999" /> {L_DAYS}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="prune_viewed">{L_AUTO_PRUNE_VIEWED}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_VIEWED_EXPLAIN}</span></dt>
|
<dt><label for="prune_viewed">{L_AUTO_PRUNE_VIEWED}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_VIEWED_EXPLAIN}</span></dt>
|
||||||
<dd><input type="number" id="prune_viewed" name="prune_viewed" value="{PRUNE_VIEWED}" maxlength="4" size="4" min="0" max="9999" /> {L_DAYS}</dd>
|
<dd><input type="number" id="prune_viewed" name="prune_viewed" value="{PRUNE_VIEWED}" min="0" max="9999" /> {L_DAYS}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="prune_old_polls">{L_PRUNE_OLD_POLLS}{L_COLON}</label><br /><span>{L_PRUNE_OLD_POLLS_EXPLAIN}</span></dt>
|
<dt><label for="prune_old_polls">{L_PRUNE_OLD_POLLS}{L_COLON}</label><br /><span>{L_PRUNE_OLD_POLLS_EXPLAIN}</span></dt>
|
||||||
@@ -289,11 +289,11 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="prune_shadow_freq">{L_AUTO_PRUNE_SHADOW_FREQ}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_SHADOW_FREQ_EXPLAIN}</span></dt>
|
<dt><label for="prune_shadow_freq">{L_AUTO_PRUNE_SHADOW_FREQ}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_SHADOW_FREQ_EXPLAIN}</span></dt>
|
||||||
<dd><input type="number" id="prune_shadow_freq" name="prune_shadow_freq" value="{PRUNE_SHADOW_FREQ}" maxlength="4" size="4" min="0" max="9999" /> {L_DAYS}</dd>
|
<dd><input type="number" id="prune_shadow_freq" name="prune_shadow_freq" value="{PRUNE_SHADOW_FREQ}" min="0" max="9999" /> {L_DAYS}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="prune_shadow_days">{L_AUTO_PRUNE_SHADOW_DAYS}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_SHADOW_DAYS_EXPLAIN}</span></dt>
|
<dt><label for="prune_shadow_days">{L_AUTO_PRUNE_SHADOW_DAYS}{L_COLON}</label><br /><span>{L_AUTO_PRUNE_SHADOW_DAYS_EXPLAIN}</span></dt>
|
||||||
<dd><input type="number" id="prune_shadow_days" name="prune_shadow_days" value="{PRUNE_SHADOW_DAYS}" maxlength="4" size="4" min="0" max="9999" /> {L_DAYS}</dd>
|
<dd><input type="number" id="prune_shadow_days" name="prune_shadow_days" value="{PRUNE_SHADOW_DAYS}" min="0" max="9999" /> {L_DAYS}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- EVENT acp_forums_prune_settings_append -->
|
<!-- EVENT acp_forums_prune_settings_append -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@@ -86,11 +86,11 @@
|
|||||||
<legend>{L_GROUP_SETTINGS_SAVE}</legend>
|
<legend>{L_GROUP_SETTINGS_SAVE}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="group_message_limit">{L_GROUP_MESSAGE_LIMIT}{L_COLON}</label><br /><span>{L_GROUP_MESSAGE_LIMIT_EXPLAIN}</span></dt>
|
<dt><label for="group_message_limit">{L_GROUP_MESSAGE_LIMIT}{L_COLON}</label><br /><span>{L_GROUP_MESSAGE_LIMIT_EXPLAIN}</span></dt>
|
||||||
<dd><input name="group_message_limit" type="number" id="group_message_limit" maxlength="4" size="4" min="0" max="9999" value="{GROUP_MESSAGE_LIMIT}" /></dd>
|
<dd><input name="group_message_limit" type="number" id="group_message_limit" min="0" max="9999" value="{GROUP_MESSAGE_LIMIT}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="group_max_recipients">{L_GROUP_MAX_RECIPIENTS}{L_COLON}</label><br /><span>{L_GROUP_MAX_RECIPIENTS_EXPLAIN}</span></dt>
|
<dt><label for="group_max_recipients">{L_GROUP_MAX_RECIPIENTS}{L_COLON}</label><br /><span>{L_GROUP_MAX_RECIPIENTS_EXPLAIN}</span></dt>
|
||||||
<dd><input name="group_max_recipients" type="number" id="group_max_recipients" maxlength="10" size="4" value="{GROUP_MAX_RECIPIENTS}" /></dd>
|
<dd><input name="group_max_recipients" type="number" id="group_max_recipients" min="0" max="9999" value="{GROUP_MAX_RECIPIENTS}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="group_colour">{L_GROUP_COLOR}{L_COLON}</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></dt>
|
<dt><label for="group_colour">{L_GROUP_COLOR}{L_COLON}</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></dt>
|
||||||
|
61
phpBB/adm/style/acp_help_phpbb.html
Normal file
61
phpBB/adm/style/acp_help_phpbb.html
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<a id="maincontent"></a>
|
||||||
|
|
||||||
|
<h1>{L_ACP_HELP_PHPBB}</h1>
|
||||||
|
|
||||||
|
<form id="acp_help_phpbb" method="post" action="{U_ACTION}" data-ajax-action="{U_COLLECT_STATS}">
|
||||||
|
<div class="send-stats-row">
|
||||||
|
<!-- EVENT acp_help_phpbb_stats_before -->
|
||||||
|
<div class="send-stats-tile">
|
||||||
|
<h2><i class="icon fa-bar-chart"></i>{L_SEND_STATISTICS}</h2>
|
||||||
|
<p>{L_EXPLAIN_SEND_STATISTICS}</p>
|
||||||
|
<div class="send-stats-row">
|
||||||
|
<div class="send-stats-data-row send-stats-data-only-row">
|
||||||
|
<a id="trigger-configlist" data-ajax="toggle_link" data-overlay="false" data-toggle-text="{L_HIDE_STATISTICS}"><span>{L_SHOW_STATISTICS}</span><i class="icon fa-angle-down"></i></a>
|
||||||
|
</div>
|
||||||
|
<div class="send-stats-data-row">
|
||||||
|
<div class="configlist" id="configlist">
|
||||||
|
<!-- BEGIN providers -->
|
||||||
|
<fieldset>
|
||||||
|
<legend>{providers.NAME}</legend>
|
||||||
|
<!-- BEGIN values -->
|
||||||
|
<dl>
|
||||||
|
<dt>{providers.values.KEY}</dt>
|
||||||
|
<dd>{providers.values.VALUE}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- END values -->
|
||||||
|
</fieldset>
|
||||||
|
<!-- END providers -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<dl class="send-stats-settings">
|
||||||
|
<dt>
|
||||||
|
<input name="help_send_statistics" id="help_send_statistics" type="checkbox"<!-- IF S_COLLECT_STATS --> checked="checked"<!-- ENDIF --> />
|
||||||
|
<label for="help_send_statistics"></label>
|
||||||
|
</dt>
|
||||||
|
<dd>{L_SEND_STATISTICS_LONG}</dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<!-- EVENT acp_help_phpbb_stats_after -->
|
||||||
|
<fieldset>
|
||||||
|
<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>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<form action="{U_COLLECT_STATS}" method="post" target="questionaire_result" id="questionnaire-form">
|
||||||
|
<fieldset>
|
||||||
|
<p class="submit-buttons">
|
||||||
|
<input type="hidden" name="systemdata" value="{RAW_DATA}" />
|
||||||
|
<input class="button1" type="submit" id="submit_stats" name="submit" value="{L_SEND_STATISTICS}" />
|
||||||
|
</p>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
@@ -111,8 +111,8 @@
|
|||||||
<td><input class="text post" type="text" name="code[{items.IMG}]" value="{items.CODE}" size="10" maxlength="50" /></td>
|
<td><input class="text post" type="text" name="code[{items.IMG}]" value="{items.CODE}" size="10" maxlength="50" /></td>
|
||||||
<td><input class="text post" type="text" name="emotion[{items.IMG}]" value="{items.EMOTION}" size="10" maxlength="50" /></td>
|
<td><input class="text post" type="text" name="emotion[{items.IMG}]" value="{items.EMOTION}" size="10" maxlength="50" /></td>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<td><input class="text post" type="number" size="3" name="width[{items.IMG}]" value="{items.WIDTH}" /></td>
|
<td><input class="text post" type="number" min="0" max="999" name="width[{items.IMG}]" value="{items.WIDTH}" /></td>
|
||||||
<td><input class="text post" type="number" size="3" name="height[{items.IMG}]" value="{items.HEIGHT}" /></td>
|
<td><input class="text post" type="number" min="0" max="999" name="height[{items.IMG}]" value="{items.HEIGHT}" /></td>
|
||||||
<!-- IF not S_SMILIES -->
|
<!-- IF not S_SMILIES -->
|
||||||
<td><input class="text post" type="text" name="alt[{items.IMG}]" value="{items.ALT}" size="10" maxlength="50" /></td>
|
<td><input class="text post" type="text" name="alt[{items.IMG}]" value="{items.ALT}" size="10" maxlength="50" /></td>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
@@ -142,8 +142,8 @@
|
|||||||
<td style="vertical-align: top;"><img src="{IMG_SRC}" id="add_image_src" alt="" title="" /></td>
|
<td style="vertical-align: top;"><img src="{IMG_SRC}" id="add_image_src" alt="" title="" /></td>
|
||||||
<td><input class="text post" type="text" name="add_code" id="add_code" value="{CODE}" size="10" maxlength="50" /></td>
|
<td><input class="text post" type="text" name="add_code" id="add_code" value="{CODE}" size="10" maxlength="50" /></td>
|
||||||
<td><input class="text post" type="text" name="add_emotion" id="add_emotion" value="{EMOTION}" size="10" maxlength="50" /></td>
|
<td><input class="text post" type="text" name="add_emotion" id="add_emotion" value="{EMOTION}" size="10" maxlength="50" /></td>
|
||||||
<td><input class="text post" type="number" size="3" name="add_width" id="add_width" value="{WIDTH}" /></td>
|
<td><input class="text post" type="number" min="0" max="999" name="add_width" id="add_width" value="{WIDTH}" /></td>
|
||||||
<td><input class="text post" type="number" size="3" name="add_height" id="add_height" value="{HEIGHT}" /></td>
|
<td><input class="text post" type="number" min="0" max="999" name="add_height" id="add_height" value="{HEIGHT}" /></td>
|
||||||
<td><input type="checkbox" class="radio" name="add_display_on_posting" checked="checked" onclick="toggle_select('add', this.checked, 'add_order');"/></td>
|
<td><input type="checkbox" class="radio" name="add_display_on_posting" checked="checked" onclick="toggle_select('add', this.checked, 'add_order');"/></td>
|
||||||
<td><select id="order_add_order" name="add_order">
|
<td><select id="order_add_order" name="add_order">
|
||||||
<optgroup id="order_disp_add_order" label="{L_DISPLAY_POSTING}">{S_ADD_ORDER_LIST_DISPLAY}</optgroup>
|
<optgroup id="order_disp_add_order" label="{L_DISPLAY_POSTING}">{S_ADD_ORDER_LIST_DISPLAY}</optgroup>
|
||||||
|
@@ -52,7 +52,7 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<fieldset class="display-options">
|
<fieldset class="display-options">
|
||||||
{L_DISPLAY_LOG}{L_COLON} {S_LIMIT_DAYS} {L_SORT_BY}{L_COLON} {S_SORT_KEY} {S_SORT_DIR}<!-- IF .pagination --> {L_USERS_PER_PAGE}{L_COLON} <input class="inputbox autowidth" type="number" name="users_per_page" id="users_per_page" size="3" value="{USERS_PER_PAGE}" /><!-- ENDIF -->
|
{L_DISPLAY_LOG}{L_COLON} {S_LIMIT_DAYS} {L_SORT_BY}{L_COLON} {S_SORT_KEY} {S_SORT_DIR}<!-- IF .pagination --> {L_USERS_PER_PAGE}{L_COLON} <input class="inputbox autowidth" type="number" name="users_per_page" id="users_per_page" min="0" max="999" value="{USERS_PER_PAGE}" /><!-- ENDIF -->
|
||||||
<input class="button2" type="submit" value="{L_GO}" name="sort" />
|
<input class="button2" type="submit" value="{L_GO}" name="sort" />
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="jab_port">{L_JAB_PORT}{L_COLON}</label><br /><span>{L_JAB_PORT_EXPLAIN}</span></dt>
|
<dt><label for="jab_port">{L_JAB_PORT}{L_COLON}</label><br /><span>{L_JAB_PORT_EXPLAIN}</span></dt>
|
||||||
<dd><input type="number" id="jab_port" name="jab_port" value="{JAB_PORT}" maxlength="5" size="5" /></dd>
|
<dd><input type="number" id="jab_port" name="jab_port" value="{JAB_PORT}" min="0" max="99999" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="jab_username">{L_JAB_USERNAME}{L_COLON}</label><br /><span>{L_JAB_USERNAME_EXPLAIN}</span></dt>
|
<dt><label for="jab_username">{L_JAB_USERNAME}{L_COLON}</label><br /><span>{L_JAB_USERNAME_EXPLAIN}</span></dt>
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="jab_package_size">{L_JAB_PACKAGE_SIZE}{L_COLON}</label><br /><span>{L_JAB_PACKAGE_SIZE_EXPLAIN}</span></dt>
|
<dt><label for="jab_package_size">{L_JAB_PACKAGE_SIZE}{L_COLON}</label><br /><span>{L_JAB_PACKAGE_SIZE_EXPLAIN}</span></dt>
|
||||||
<dd><input type="number" id="jab_package_size" name="jab_package_size" value="{JAB_PACKAGE_SIZE}" maxlength="5" size="5" min="0" max="99999" /></dd>
|
<dd><input type="number" id="jab_package_size" name="jab_package_size" value="{JAB_PACKAGE_SIZE}" min="0" max="99999" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@@ -14,7 +14,11 @@
|
|||||||
|
|
||||||
<p>{L_ADMIN_INTRO}</p>
|
<p>{L_ADMIN_INTRO}</p>
|
||||||
|
|
||||||
<!-- IF S_VERSIONCHECK_FAIL -->
|
<!-- IF S_UPDATE_INCOMPLETE -->
|
||||||
|
<div class="errorbox">
|
||||||
|
<p>{L_UPDATE_INCOMPLETE} <a href="{U_VERSIONCHECK}">{L_MORE_INFORMATION}</a></p>
|
||||||
|
</div>
|
||||||
|
<!-- ELSEIF S_VERSIONCHECK_FAIL -->
|
||||||
<div class="errorbox notice">
|
<div class="errorbox notice">
|
||||||
<p>{L_VERSIONCHECK_FAIL}</p>
|
<p>{L_VERSIONCHECK_FAIL}</p>
|
||||||
<p>{VERSIONCHECK_FAIL_REASON}</p>
|
<p>{VERSIONCHECK_FAIL_REASON}</p>
|
||||||
|
@@ -63,6 +63,7 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</select>
|
</select>
|
||||||
|
<!-- EVENT acp_posting_buttons_custom_tags_before -->
|
||||||
<!-- BEGIN custom_tags -->
|
<!-- 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 -->
|
<!-- END custom_tags -->
|
||||||
|
@@ -127,6 +127,7 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- EVENT acp_profile_step_one_lang_after -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<fieldset class="quick">
|
<fieldset class="quick">
|
||||||
|
@@ -44,7 +44,7 @@
|
|||||||
<div id="posts"<!-- IF S_SPECIAL_RANK --> style="display: none;"<!-- ENDIF -->>
|
<div id="posts"<!-- IF S_SPECIAL_RANK --> style="display: none;"<!-- ENDIF -->>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="min_posts">{L_RANK_MINIMUM}{L_COLON}</label></dt>
|
<dt><label for="min_posts">{L_RANK_MINIMUM}{L_COLON}</label></dt>
|
||||||
<dd><input name="min_posts" type="number" id="min_posts" maxlength="10" value="{MIN_POSTS}" /></dd>
|
<dd><input name="min_posts" type="number" id="min_posts" min="0" max="9999999999" value="{MIN_POSTS}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@@ -18,11 +18,11 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="search_interval">{L_SEARCH_INTERVAL}{L_COLON}</label><br /><span>{L_SEARCH_INTERVAL_EXPLAIN}</span></dt>
|
<dt><label for="search_interval">{L_SEARCH_INTERVAL}{L_COLON}</label><br /><span>{L_SEARCH_INTERVAL_EXPLAIN}</span></dt>
|
||||||
<dd><input id="search_interval" type="number" size="4" maxlength="4" min="0" max="9999" name="config[search_interval]" value="{SEARCH_INTERVAL}" /> {L_SECONDS}</dd>
|
<dd><input id="search_interval" type="number" min="0" max="9999" name="config[search_interval]" value="{SEARCH_INTERVAL}" /> {L_SECONDS}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="search_anonymous_interval">{L_SEARCH_GUEST_INTERVAL}{L_COLON}</label><br /><span>{L_SEARCH_GUEST_INTERVAL_EXPLAIN}</span></dt>
|
<dt><label for="search_anonymous_interval">{L_SEARCH_GUEST_INTERVAL}{L_COLON}</label><br /><span>{L_SEARCH_GUEST_INTERVAL_EXPLAIN}</span></dt>
|
||||||
<dd><input id="search_anonymous_interval" type="number" size="4" maxlength="4" min="0" max="9999" name="config[search_anonymous_interval]" value="{SEARCH_GUEST_INTERVAL}" /> {L_SECONDS}</dd>
|
<dd><input id="search_anonymous_interval" type="number" min="0" max="9999" name="config[search_anonymous_interval]" value="{SEARCH_GUEST_INTERVAL}" /> {L_SECONDS}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="limit_search_load">{L_LIMIT_SEARCH_LOAD}{L_COLON}</label><br /><span>{L_LIMIT_SEARCH_LOAD_EXPLAIN}</span></dt>
|
<dt><label for="limit_search_load">{L_LIMIT_SEARCH_LOAD}{L_COLON}</label><br /><span>{L_LIMIT_SEARCH_LOAD_EXPLAIN}</span></dt>
|
||||||
@@ -30,15 +30,15 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="min_search_author_chars">{L_MIN_SEARCH_AUTHOR_CHARS}{L_COLON}</label><br /><span>{L_MIN_SEARCH_AUTHOR_CHARS_EXPLAIN}</span></dt>
|
<dt><label for="min_search_author_chars">{L_MIN_SEARCH_AUTHOR_CHARS}{L_COLON}</label><br /><span>{L_MIN_SEARCH_AUTHOR_CHARS_EXPLAIN}</span></dt>
|
||||||
<dd><input id="min_search_author_chars" type="number" size="4" maxlength="4" min="0" max="9999" name="config[min_search_author_chars]" value="{MIN_SEARCH_AUTHOR_CHARS}" /></dd>
|
<dd><input id="min_search_author_chars" type="number" min="0" max="9999" name="config[min_search_author_chars]" value="{MIN_SEARCH_AUTHOR_CHARS}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<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>
|
<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" size="4" maxlength="4" min="0" max="9999" name="config[max_num_search_keywords]" value="{MAX_NUM_SEARCH_KEYWORDS}" /></dd>
|
<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>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="search_store_results">{L_SEARCH_STORE_RESULTS}{L_COLON}</label><br /><span>{L_SEARCH_STORE_RESULTS_EXPLAIN}</span></dt>
|
<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" size="4" maxlength="6" min="0" max="999999" name="config[search_store_results]" value="{SEARCH_STORE_RESULTS}" /> {L_SECONDS}</dd>
|
<dd><input id="search_store_results" type="number" min="0" max="999999" name="config[search_store_results]" value="{SEARCH_STORE_RESULTS}" /> {L_SECONDS}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
|
@@ -1,64 +0,0 @@
|
|||||||
<!-- INCLUDE overall_header.html -->
|
|
||||||
|
|
||||||
<a id="maincontent"></a>
|
|
||||||
|
|
||||||
<h1>{L_SEND_STATISTICS}</h1>
|
|
||||||
|
|
||||||
<p>{L_EXPLAIN_SEND_STATISTICS}</p>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
//<![CDATA[
|
|
||||||
var iframect = 0;
|
|
||||||
|
|
||||||
function iframe_updated()
|
|
||||||
{
|
|
||||||
if (iframect++ == 0)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
phpbb.toggleDisplay('questionnaire-form', -1);
|
|
||||||
phpbb.toggleDisplay('questionnaire-thanks', 1);
|
|
||||||
}
|
|
||||||
//]]>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<iframe onload="iframe_updated();" name="questionaire_result" style="display: none;"></iframe>
|
|
||||||
|
|
||||||
<form action="{U_COLLECT_STATS}" method="post" target="questionaire_result" id="questionnaire-form">
|
|
||||||
|
|
||||||
<p><a href="{U_ACP_MAIN}">{L_DONT_SEND_STATISTICS}</a></p>
|
|
||||||
|
|
||||||
<p>{L_EXPLAIN_SHOW_STATISTICS}</p>
|
|
||||||
|
|
||||||
<p id="show-button"><input type="button" class="button2" onclick="phpbb.toggleDisplay('configlist', 1); phpbb.toggleDisplay('show-button', -1);" value="{L_SHOW_STATISTICS}" /></p>
|
|
||||||
|
|
||||||
<div id="configlist">
|
|
||||||
<input type="button" class="button2" onclick="phpbb.toggleDisplay('show-button', 1); phpbb.toggleDisplay('configlist', -1);" value="{L_HIDE_STATISTICS}" />
|
|
||||||
<p class="submit-buttons">
|
|
||||||
<input class="button1" type="submit" id="submit" name="submit" value="{L_SEND_STATISTICS}" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<!-- BEGIN providers -->
|
|
||||||
<fieldset>
|
|
||||||
<legend>{providers.NAME}</legend>
|
|
||||||
<!-- BEGIN values -->
|
|
||||||
<dl>
|
|
||||||
<dt>{providers.values.KEY}</dt>
|
|
||||||
<dd>{providers.values.VALUE}</dd>
|
|
||||||
</dl>
|
|
||||||
<!-- END values -->
|
|
||||||
</fieldset>
|
|
||||||
<!-- END providers -->
|
|
||||||
</div>
|
|
||||||
<p class="submit-buttons">
|
|
||||||
<input type="hidden" name="systemdata" value="{RAW_DATA}" />
|
|
||||||
<input class="button1" type="submit" id="submit" name="submit" value="{L_SEND_STATISTICS}" />
|
|
||||||
</p>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
<div id="questionnaire-thanks" class="successbox">
|
|
||||||
<p><strong>{L_THANKS_SEND_STATISTICS}</strong><br /><br /><a href="{U_ACP_MAIN}">« {L_GO_ACP_MAIN}</a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- INCLUDE overall_footer.html -->
|
|
@@ -6,11 +6,16 @@
|
|||||||
|
|
||||||
<p>{L_VERSION_CHECK_EXPLAIN}</p>
|
<p>{L_VERSION_CHECK_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_UPDATE_INCOMPLETE -->
|
||||||
|
<div class="errorbox">
|
||||||
|
<p>{L_UPDATE_INCOMPLETE} {L_UPDATE_INCOMPLETE_MORE}</p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
<!-- IF S_UP_TO_DATE -->
|
<!-- IF S_UP_TO_DATE -->
|
||||||
<div class="successbox">
|
<div class="successbox">
|
||||||
<p>{L_VERSION_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
<p>{L_VERSION_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
||||||
</div>
|
</div>
|
||||||
<!-- ELSE -->
|
<!-- ELSEIF not S_UPDATE_INCOMPLETE -->
|
||||||
<div class="errorbox">
|
<div class="errorbox">
|
||||||
<p>{L_VERSION_NOT_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
<p>{L_VERSION_NOT_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
|
||||||
</div>
|
</div>
|
||||||
@@ -18,10 +23,21 @@
|
|||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend></legend>
|
<legend></legend>
|
||||||
|
<!-- IF not S_UPDATE_INCOMPLETE -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label>{L_CURRENT_VERSION}</label></dt>
|
<dt><label>{L_CURRENT_VERSION}</label></dt>
|
||||||
<dd><strong>{CURRENT_VERSION}</strong></dd>
|
<dd><strong>{CURRENT_VERSION}</strong></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_FILES_VERSION}</label></dt>
|
||||||
|
<dd><strong>{FILES_VERSION}</strong></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_DATABASE_VERSION}</label></dt>
|
||||||
|
<dd><strong>{CURRENT_VERSION}</strong></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
<!-- BEGIN updates_available -->
|
<!-- BEGIN updates_available -->
|
||||||
@@ -38,6 +54,11 @@
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
<!-- END updates_available -->
|
<!-- END updates_available -->
|
||||||
|
|
||||||
|
<!-- IF S_UPDATE_INCOMPLETE -->
|
||||||
|
{INCOMPLETE_INSTRUCTIONS}
|
||||||
|
<br>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- IF not S_UP_TO_DATE -->
|
<!-- IF not S_UP_TO_DATE -->
|
||||||
{UPDATE_INSTRUCTIONS}
|
{UPDATE_INSTRUCTIONS}
|
||||||
<br /><br />
|
<br /><br />
|
||||||
|
@@ -2583,3 +2583,111 @@ fieldset.permissions .padding {
|
|||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.send-stats-row {
|
||||||
|
margin: 15px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-row:before {
|
||||||
|
display: table;
|
||||||
|
content: " ";
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-tile {
|
||||||
|
position: relative;
|
||||||
|
padding: 14px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
background-color: #eff0f2;
|
||||||
|
border-radius: 6px;
|
||||||
|
box-shadow: rgba(0,0,0,0.3) 1px 1px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-tile h2 {
|
||||||
|
margin-top: 0;
|
||||||
|
text-align: center;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-tile i {
|
||||||
|
padding-right: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
font-family: FontAwesome;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-data-row {
|
||||||
|
background: #f9f9f9;
|
||||||
|
border-radius: 6px;
|
||||||
|
border: #DEDEDE 1px solid;
|
||||||
|
padding: 10px;
|
||||||
|
border-top-width: 0;
|
||||||
|
border-top-right-radius: 0;
|
||||||
|
border-top-left-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-data-hidden .configlist {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-data-only-row {
|
||||||
|
border-radius: 6px !important;
|
||||||
|
border-bottom-width: 1px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-data-hidden {
|
||||||
|
padding: 0;
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-row > .send-stats-data-row:first-child {
|
||||||
|
background-color: #d9edf7;
|
||||||
|
border-bottom-width: 0;
|
||||||
|
border-top-right-radius: 6px;
|
||||||
|
border-top-left-radius: 6px;
|
||||||
|
border-top-width: 1px;
|
||||||
|
border-bottom-left-radius: 0;
|
||||||
|
border-bottom-right-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-settings dt, .send-stats-settings dd {
|
||||||
|
min-width: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-settings dd {
|
||||||
|
line-height: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-settings input {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-settings input[type=checkbox] + label:before {
|
||||||
|
content: "\f096";
|
||||||
|
font-family: FontAwesome;
|
||||||
|
font-size: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-settings input[type=checkbox]:checked + label:before {
|
||||||
|
content: "\f14a";
|
||||||
|
color: #3c763d;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-data-row a:hover span {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-data-row a {
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
.send-stats-data-row i {
|
||||||
|
padding-left: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.configlist {
|
||||||
|
word-wrap: break-word;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
@@ -243,8 +243,16 @@ function parse_document(container)
|
|||||||
|
|
||||||
parse_document($('body'));
|
parse_document($('body'));
|
||||||
|
|
||||||
// Hide configlist and success message in send statistics page
|
$('#questionnaire-form').css('display', 'none');
|
||||||
phpbb.toggleDisplay('configlist', -1);
|
var $triggerConfiglist = $('#trigger-configlist');
|
||||||
phpbb.toggleDisplay('questionnaire-thanks', -1);
|
|
||||||
|
$triggerConfiglist.on('click', function () {
|
||||||
|
var $configlist = $('#configlist');
|
||||||
|
$configlist.closest('.send-stats-data-row').toggleClass('send-stats-data-hidden');
|
||||||
|
$configlist.closest('.send-stats-row').find('.send-stats-data-row:first-child').toggleClass('send-stats-data-only-row');
|
||||||
|
$(this).find('i').toggleClass('fa-angle-down fa-angle-up');
|
||||||
|
});
|
||||||
|
|
||||||
|
$('#configlist').closest('.send-stats-data-row').addClass('send-stats-data-hidden');
|
||||||
});
|
});
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
@@ -4,6 +4,101 @@
|
|||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|
||||||
|
phpbb.prepareSendStats = function () {
|
||||||
|
var $form = $('#acp_help_phpbb');
|
||||||
|
var $dark = $('#darkenwrapper');
|
||||||
|
var $loadingIndicator;
|
||||||
|
|
||||||
|
$form.on('submit', function (event) {
|
||||||
|
var $this = $(this),
|
||||||
|
currentTime = Math.floor(new Date().getTime() / 1000),
|
||||||
|
statsTime = parseInt($this.find('input[name=help_send_statistics_time]').val(), 10);
|
||||||
|
|
||||||
|
event.preventDefault();
|
||||||
|
$this.unbind('submit');
|
||||||
|
|
||||||
|
// Skip ajax request if form is submitted too early or send stats
|
||||||
|
// checkbox is not checked
|
||||||
|
if (!$this.find('input[name=help_send_statistics]').is(':checked') ||
|
||||||
|
statsTime > currentTime) {
|
||||||
|
$form.find('input[type=submit]').click();
|
||||||
|
setTimeout(function () {
|
||||||
|
$form.find('input[type=submit]').click();
|
||||||
|
}, 300);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handler for AJAX errors
|
||||||
|
*/
|
||||||
|
function errorHandler(jqXHR, textStatus, errorThrown) {
|
||||||
|
if (typeof console !== 'undefined' && console.log) {
|
||||||
|
console.log('AJAX error. status: ' + textStatus + ', message: ' + errorThrown);
|
||||||
|
}
|
||||||
|
phpbb.clearLoadingTimeout();
|
||||||
|
var errorText = '';
|
||||||
|
|
||||||
|
if (typeof errorThrown === 'string' && errorThrown.length > 0) {
|
||||||
|
errorText = errorThrown;
|
||||||
|
} else {
|
||||||
|
errorText = $dark.attr('data-ajax-error-text-' + textStatus);
|
||||||
|
if (typeof errorText !== 'string' || !errorText.length) {
|
||||||
|
errorText = $dark.attr('data-ajax-error-text');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
phpbb.alert($dark.attr('data-ajax-error-title'), errorText);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This is a private function used to handle the callbacks, refreshes
|
||||||
|
* and alert. It calls the callback, refreshes the page if necessary, and
|
||||||
|
* displays an alert to the user and removes it after an amount of time.
|
||||||
|
*
|
||||||
|
* It cannot be called from outside this function, and is purely here to
|
||||||
|
* avoid repetition of code.
|
||||||
|
*
|
||||||
|
* @param {object} res The object sent back by the server.
|
||||||
|
*/
|
||||||
|
function returnHandler(res) {
|
||||||
|
phpbb.clearLoadingTimeout();
|
||||||
|
|
||||||
|
// If a confirmation is not required, display an alert and call the
|
||||||
|
// callbacks.
|
||||||
|
$dark.fadeOut(phpbb.alertTime);
|
||||||
|
|
||||||
|
if ($loadingIndicator) {
|
||||||
|
$loadingIndicator.fadeOut(phpbb.alertTime);
|
||||||
|
}
|
||||||
|
|
||||||
|
var $sendStatisticsSuccess = $('<input />', {
|
||||||
|
type: 'hidden',
|
||||||
|
name: 'send_statistics_response',
|
||||||
|
value: res
|
||||||
|
});
|
||||||
|
$sendStatisticsSuccess.appendTo('p.submit-buttons');
|
||||||
|
|
||||||
|
// Finish actual form submission
|
||||||
|
$form.find('input[type=submit]').click();
|
||||||
|
}
|
||||||
|
|
||||||
|
$loadingIndicator = phpbb.loadingIndicator();
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
url: $this.attr('data-ajax-action').replace('&', '&'),
|
||||||
|
type: 'POST',
|
||||||
|
data: 'systemdata=' + encodeURIComponent($this.find('input[name=systemdata]').val()),
|
||||||
|
success: returnHandler,
|
||||||
|
error: errorHandler,
|
||||||
|
cache: false
|
||||||
|
}).always(function() {
|
||||||
|
if ($loadingIndicator && $loadingIndicator.is(':visible')) {
|
||||||
|
$loadingIndicator.fadeOut(phpbb.alertTime);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The following callbacks are for reording items. row_down
|
* The following callbacks are for reording items. row_down
|
||||||
* is triggered when an item is moved down, and row_up is triggered when
|
* is triggered when an item is moved down, and row_up is triggered when
|
||||||
@@ -62,7 +157,138 @@ phpbb.addAjaxCallback('row_delete', function(res) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handler for submitting permissions form in chunks
|
||||||
|
* This call will submit permissions forms in chunks of 5 fieldsets.
|
||||||
|
*/
|
||||||
|
function submitPermissions() {
|
||||||
|
var $form = $('form#set-permissions'),
|
||||||
|
fieldsetList = $form.find('fieldset[id^=perm]'),
|
||||||
|
formDataSets = [],
|
||||||
|
dataSetIndex = 0,
|
||||||
|
$submitAllButton = $form.find('input[type=submit][name^=action]')[0],
|
||||||
|
$submitButton = $form.find('input[type=submit][data-clicked=true]')[0];
|
||||||
|
|
||||||
|
// Set proper start values for handling refresh of page
|
||||||
|
var permissionSubmitSize = 0,
|
||||||
|
permissionRequestCount = 0,
|
||||||
|
forumIds = [],
|
||||||
|
permissionSubmitFailed = false;
|
||||||
|
|
||||||
|
if ($submitAllButton !== $submitButton) {
|
||||||
|
fieldsetList = $form.find('fieldset#' + $submitButton.closest('fieldset.permissions').id);
|
||||||
|
}
|
||||||
|
|
||||||
|
$.each(fieldsetList, function (key, value) {
|
||||||
|
dataSetIndex = Math.floor(key / 5);
|
||||||
|
var $fieldset = $('fieldset#' + value.id);
|
||||||
|
if (key % 5 === 0) {
|
||||||
|
formDataSets[dataSetIndex] = $fieldset.find('select:visible, input:not([data-name])').serialize();
|
||||||
|
} else {
|
||||||
|
formDataSets[dataSetIndex] += '&' + $fieldset.find('select:visible, input:not([data-name])').serialize();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Find proper role value
|
||||||
|
var roleInput = $fieldset.find('input[name^=role][data-name]');
|
||||||
|
if (roleInput.val()) {
|
||||||
|
formDataSets[dataSetIndex] += '&' + roleInput.attr('name') + '=' + roleInput.val();
|
||||||
|
} else {
|
||||||
|
formDataSets[dataSetIndex] += '&' + roleInput.attr('name') + '=' +
|
||||||
|
$fieldset.find('select[name="' + roleInput.attr('name') + '"]').val();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
permissionSubmitSize = formDataSets.length;
|
||||||
|
|
||||||
|
// Add each forum ID to forum ID list to preserve selected forums
|
||||||
|
$.each($form.find('input[type=hidden][name^=forum_id]'), function (key, value) {
|
||||||
|
if (value.name.match(/^forum_id\[([0-9]+)\]$/)) {
|
||||||
|
forumIds.push(value.value);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handler for submitted permissions form chunk
|
||||||
|
*
|
||||||
|
* @param {object} res Object returned by AJAX call
|
||||||
|
*/
|
||||||
|
function handlePermissionReturn(res) {
|
||||||
|
permissionRequestCount++;
|
||||||
|
var $dark = $('#darkenwrapper');
|
||||||
|
|
||||||
|
if (res.S_USER_WARNING) {
|
||||||
|
phpbb.alert(res.MESSAGE_TITLE, res.MESSAGE_TEXT);
|
||||||
|
permissionSubmitFailed = true;
|
||||||
|
} else if (!permissionSubmitFailed && res.S_USER_NOTICE) {
|
||||||
|
// Display success message at the end of submitting the form
|
||||||
|
if (permissionRequestCount >= permissionSubmitSize) {
|
||||||
|
var $alert = phpbb.alert(res.MESSAGE_TITLE, res.MESSAGE_TEXT);
|
||||||
|
var $alertBoxLink = $alert.find('p.alert_text > a');
|
||||||
|
|
||||||
|
// Create form to submit instead of normal "Back to previous page" link
|
||||||
|
if ($alertBoxLink) {
|
||||||
|
// Remove forum_id[] from URL
|
||||||
|
$alertBoxLink.attr('href', $alertBoxLink.attr('href').replace(/(&forum_id\[\]=[0-9]+)/g, ''));
|
||||||
|
var previousPageForm = '<form action="' + $alertBoxLink.attr('href') + '" method="post">';
|
||||||
|
$.each(forumIds, function (key, value) {
|
||||||
|
previousPageForm += '<input type="text" name="forum_id[]" value="' + value + '" />';
|
||||||
|
});
|
||||||
|
previousPageForm += '</form>';
|
||||||
|
|
||||||
|
$alertBoxLink.on('click', function (e) {
|
||||||
|
var $previousPageForm = $(previousPageForm);
|
||||||
|
$('body').append($previousPageForm);
|
||||||
|
e.preventDefault();
|
||||||
|
$previousPageForm.submit();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Do not allow closing alert
|
||||||
|
$dark.off('click');
|
||||||
|
$alert.find('.alert_close').hide();
|
||||||
|
|
||||||
|
if (typeof res.REFRESH_DATA !== 'undefined') {
|
||||||
|
setTimeout(function () {
|
||||||
|
// Create forum to submit using POST. This will prevent
|
||||||
|
// exceeding the maximum length of URLs
|
||||||
|
var form = '<form action="' + res.REFRESH_DATA.url.replace(/(&forum_id\[\]=[0-9]+)/g, '') + '" method="post">';
|
||||||
|
$.each(forumIds, function (key, value) {
|
||||||
|
form += '<input type="text" name="forum_id[]" value="' + value + '" />';
|
||||||
|
});
|
||||||
|
form += '</form>';
|
||||||
|
$form = $(form);
|
||||||
|
$('body').append($form);
|
||||||
|
|
||||||
|
// Hide the alert even if we refresh the page, in case the user
|
||||||
|
// presses the back button.
|
||||||
|
$dark.fadeOut(phpbb.alertTime, function () {
|
||||||
|
if (typeof $alert !== 'undefined') {
|
||||||
|
$alert.hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Submit form
|
||||||
|
$form.submit();
|
||||||
|
}, res.REFRESH_DATA.time * 1000); // Server specifies time in seconds
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create AJAX request for each form data set
|
||||||
|
$.each(formDataSets, function (key, formData) {
|
||||||
|
$.ajax({
|
||||||
|
url: $form.action,
|
||||||
|
type: 'POST',
|
||||||
|
data: formData + '&' + $submitAllButton.name + '=' + encodeURIComponent($submitAllButton.value) +
|
||||||
|
'&creation_time=' + $form.find('input[type=hidden][name=creation_time]')[0].value +
|
||||||
|
'&form_token=' + $form.find('input[type=hidden][name=form_token]')[0].value +
|
||||||
|
'&' + $form.children('input[type=hidden]').serialize(),
|
||||||
|
success: handlePermissionReturn,
|
||||||
|
error: handlePermissionReturn
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
$('[data-ajax]').each(function() {
|
$('[data-ajax]').each(function() {
|
||||||
var $this = $(this),
|
var $this = $(this),
|
||||||
@@ -83,6 +309,22 @@ $('[data-ajax]').each(function() {
|
|||||||
*/
|
*/
|
||||||
$(function() {
|
$(function() {
|
||||||
phpbb.resizeTextArea($('textarea:not(.no-auto-resize)'), {minHeight: 75});
|
phpbb.resizeTextArea($('textarea:not(.no-auto-resize)'), {minHeight: 75});
|
||||||
|
|
||||||
|
var $setPermissionsForm = $('form#set-permissions');
|
||||||
|
if ($setPermissionsForm.length) {
|
||||||
|
$setPermissionsForm.on('submit', function (e) {
|
||||||
|
submitPermissions();
|
||||||
|
e.preventDefault();
|
||||||
|
});
|
||||||
|
$setPermissionsForm.find('input[type=submit]').click(function() {
|
||||||
|
$('input[type=submit]', $(this).parents($('form#set-permissions'))).removeAttr('data-clicked');
|
||||||
|
$(this).attr('data-clicked', true);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($('#acp_help_phpbb')) {
|
||||||
|
phpbb.prepareSendStats();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
|
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<!-- IF META -->{META}<!-- ENDIF -->
|
<!-- IF META -->{META}<!-- ENDIF -->
|
||||||
<title>{PAGE_TITLE}</title>
|
<title>{PAGE_TITLE}</title>
|
||||||
|
@@ -2,10 +2,12 @@
|
|||||||
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
|
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<!-- IF META -->{META}<!-- ENDIF -->
|
<!-- IF META -->{META}<!-- ENDIF -->
|
||||||
<title>{PAGE_TITLE}</title>
|
<title>{PAGE_TITLE}</title>
|
||||||
|
|
||||||
|
<link href="{T_FONT_AWESOME_LINK}" rel="stylesheet">
|
||||||
<link href="style/admin.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" type="text/css" media="screen" />
|
<link href="style/admin.css?assets_version={T_ASSETS_VERSION}" rel="stylesheet" type="text/css" media="screen" />
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
|
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<!-- IF META -->{META}<!-- ENDIF -->
|
<!-- IF META -->{META}<!-- ENDIF -->
|
||||||
<title>{PAGE_TITLE}</title>
|
<title>{PAGE_TITLE}</title>
|
||||||
|
@@ -211,6 +211,23 @@ $(function() {
|
|||||||
|
|
||||||
// Prepare dropdown
|
// Prepare dropdown
|
||||||
phpbb.prepareRolesDropdown();
|
phpbb.prepareRolesDropdown();
|
||||||
|
|
||||||
|
// Reset role drop-down on modifying permissions in advanced tab
|
||||||
|
$('div.permissions-switch > a').on('click', function () {
|
||||||
|
$.each($('input[type=radio][name^="setting["]'), function () {
|
||||||
|
var $this = $(this);
|
||||||
|
$this.on('click', function () {
|
||||||
|
var $rolesOptions = $this.closest('fieldset.permissions').find('.roles-options'),
|
||||||
|
rolesSelect = $rolesOptions.find('select > option')[0];
|
||||||
|
|
||||||
|
// Set selected setting
|
||||||
|
$rolesOptions.children('span')
|
||||||
|
.text(rolesSelect.text);
|
||||||
|
$rolesOptions.children('input[type=hidden]')
|
||||||
|
.val(rolesSelect.value);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery); // Avoid conflicts with other libraries
|
})(jQuery); // Avoid conflicts with other libraries
|
||||||
|
6
phpBB/assets/cookieconsent/cookieconsent.min.css
vendored
Normal file
6
phpBB/assets/cookieconsent/cookieconsent.min.css
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
.cc-window{opacity:1;transition:opacity 1s ease}.cc-window.cc-invisible{opacity:0}.cc-animate.cc-revoke{transition:transform 1s ease}.cc-animate.cc-revoke.cc-top{transform:translateY(-2em)}.cc-animate.cc-revoke.cc-bottom{transform:translateY(2em)}.cc-animate.cc-revoke.cc-active.cc-bottom,.cc-animate.cc-revoke.cc-active.cc-top,.cc-revoke:hover{transform:translateY(0)}.cc-grower{max-height:0;overflow:hidden;transition:max-height 1s}
|
||||||
|
.cc-link,.cc-revoke:hover{text-decoration:underline}.cc-revoke,.cc-window{position:fixed;overflow:hidden;box-sizing:border-box;font-family:Helvetica,Calibri,Arial,sans-serif;font-size:16px;line-height:1.5em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;z-index:9999}.cc-window.cc-static{position:static}.cc-window.cc-floating{padding:2em;max-width:24em;-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner{padding:1em 1.8em;width:100%;-ms-flex-direction:row;flex-direction:row}.cc-revoke{padding:.5em}.cc-header{font-size:18px;font-weight:700}.cc-btn,.cc-close,.cc-link,.cc-revoke{cursor:pointer}.cc-link{opacity:.8;display:inline-block;padding:.2em}.cc-link:hover{opacity:1}.cc-link:active,.cc-link:visited{color:initial}.cc-btn{display:block;padding:.4em .8em;font-size:.9em;font-weight:700;border-width:2px;border-style:solid;text-align:center;white-space:nowrap}.cc-banner .cc-btn:last-child{min-width:140px}.cc-highlight .cc-btn:first-child{background-color:transparent;border-color:transparent}.cc-highlight .cc-btn:first-child:focus,.cc-highlight .cc-btn:first-child:hover{background-color:transparent;text-decoration:underline}.cc-close{display:block;position:absolute;top:.5em;right:.5em;font-size:1.6em;opacity:.9;line-height:.75}.cc-close:focus,.cc-close:hover{opacity:1}
|
||||||
|
.cc-revoke.cc-top{top:0;left:3em;border-bottom-left-radius:.5em;border-bottom-right-radius:.5em}.cc-revoke.cc-bottom{bottom:0;left:3em;border-top-left-radius:.5em;border-top-right-radius:.5em}.cc-revoke.cc-left{left:3em;right:unset}.cc-revoke.cc-right{right:3em;left:unset}.cc-top{top:1em}.cc-left{left:1em}.cc-right{right:1em}.cc-bottom{bottom:1em}.cc-floating>.cc-link{margin-bottom:1em}.cc-floating .cc-message{display:block;margin-bottom:1em}.cc-window.cc-floating .cc-compliance{-ms-flex:1;flex:1}.cc-window.cc-banner{-ms-flex-align:center;align-items:center}.cc-banner.cc-top{left:0;right:0;top:0}.cc-banner.cc-bottom{left:0;right:0;bottom:0}.cc-banner .cc-message{-ms-flex:1;flex:1}.cc-compliance{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:justify;align-content:space-between}.cc-compliance>.cc-btn{-ms-flex:1;flex:1}.cc-btn+.cc-btn{margin-left:.5em}
|
||||||
|
@media print{.cc-revoke,.cc-window{display:none}}@media screen and (max-width:900px){.cc-btn{white-space:normal}}@media screen and (max-width:414px) and (orientation:portrait),screen and (max-width:736px) and (orientation:landscape){.cc-window.cc-top{top:0}.cc-window.cc-bottom{bottom:0}.cc-window.cc-banner,.cc-window.cc-left,.cc-window.cc-right{left:0;right:0}.cc-window.cc-banner{-ms-flex-direction:column;flex-direction:column}.cc-window.cc-banner .cc-compliance{-ms-flex:1;flex:1}.cc-window.cc-floating{max-width:none}.cc-window .cc-message{margin-bottom:1em}.cc-window.cc-banner{-ms-flex-align:unset;align-items:unset}}
|
||||||
|
.cc-floating.cc-theme-classic{padding:1.2em;border-radius:5px}.cc-floating.cc-type-info.cc-theme-classic .cc-compliance{text-align:center;display:inline;-ms-flex:none;flex:none}.cc-theme-classic .cc-btn{border-radius:5px}.cc-theme-classic .cc-btn:last-child{min-width:140px}.cc-floating.cc-type-info.cc-theme-classic .cc-btn{display:inline-block}
|
||||||
|
.cc-theme-edgeless.cc-window{padding:0}.cc-floating.cc-theme-edgeless .cc-message{margin:2em 2em 1.5em}.cc-banner.cc-theme-edgeless .cc-btn{margin:0;padding:.8em 1.8em;height:100%}.cc-banner.cc-theme-edgeless .cc-message{margin-left:1em}.cc-floating.cc-theme-edgeless .cc-btn+.cc-btn{margin-left:0}
|
1
phpBB/assets/cookieconsent/cookieconsent.min.js
vendored
Normal file
1
phpBB/assets/cookieconsent/cookieconsent.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@@ -1541,6 +1541,13 @@ phpbb.toggleSelectSettings = function(el) {
|
|||||||
var $this = $(this),
|
var $this = $(this),
|
||||||
$setting = $($this.data('toggle-setting'));
|
$setting = $($this.data('toggle-setting'));
|
||||||
$setting.toggle($this.is(':selected'));
|
$setting.toggle($this.is(':selected'));
|
||||||
|
|
||||||
|
// Disable any input elements that are not visible right now
|
||||||
|
if ($this.is(':selected')) {
|
||||||
|
$($this.data('toggle-setting') + ' input').prop('disabled', false);
|
||||||
|
} else {
|
||||||
|
$($this.data('toggle-setting') + ' input').prop('disabled', true);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -414,6 +414,12 @@ function getCaretPosition(txtarea) {
|
|||||||
if ($('#attach-panel').length) {
|
if ($('#attach-panel').length) {
|
||||||
phpbb.showDragNDrop(textarea);
|
phpbb.showDragNDrop(textarea);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('textarea').on('keydown', function (e) {
|
||||||
|
if (e.which === 13 && (e.metaKey || e.ctrlKey)) {
|
||||||
|
$(this).closest('form').submit();
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
||||||
|
@@ -42,6 +42,7 @@ require($phpbb_root_path . 'includes/constants.' . $phpEx);
|
|||||||
require($phpbb_root_path . 'includes/functions.' . $phpEx);
|
require($phpbb_root_path . 'includes/functions.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
|
require($phpbb_root_path . 'includes/functions_admin.' . $phpEx);
|
||||||
require($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
|
require($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
|
||||||
|
require($phpbb_root_path . 'includes/functions_compatibility.' . $phpEx);
|
||||||
|
|
||||||
$phpbb_container_builder = new \phpbb\di\container_builder($phpbb_root_path, $phpEx);
|
$phpbb_container_builder = new \phpbb\di\container_builder($phpbb_root_path, $phpEx);
|
||||||
$phpbb_container = $phpbb_container_builder->with_config($phpbb_config_php_file);
|
$phpbb_container = $phpbb_container_builder->with_config($phpbb_config_php_file);
|
||||||
@@ -68,17 +69,18 @@ $phpbb_container = $phpbb_container_builder->get_container();
|
|||||||
$phpbb_container->get('request')->enable_super_globals();
|
$phpbb_container->get('request')->enable_super_globals();
|
||||||
require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
|
require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
|
||||||
|
|
||||||
|
register_compatibility_globals();
|
||||||
|
|
||||||
|
/** @var \phpbb\language\language $language */
|
||||||
|
$language = $phpbb_container->get('language');
|
||||||
|
$language->add_lang(array('common', 'acp/common', 'cli'));
|
||||||
|
|
||||||
/* @var $user \phpbb\user */
|
/* @var $user \phpbb\user */
|
||||||
$user = $phpbb_container->get('user');
|
$user = $phpbb_container->get('user');
|
||||||
$user->data['user_id'] = ANONYMOUS;
|
$user->data['user_id'] = ANONYMOUS;
|
||||||
$user->ip = '127.0.0.1';
|
$user->ip = '127.0.0.1';
|
||||||
$user->add_lang('acp/common');
|
|
||||||
$user->add_lang('cli');
|
|
||||||
|
|
||||||
/* @var $lang \phpbb\language\language */
|
$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $language);
|
||||||
$lang = $phpbb_container->get('language');
|
|
||||||
|
|
||||||
$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $lang);
|
|
||||||
$application->setDispatcher($phpbb_container->get('dispatcher'));
|
$application->setDispatcher($phpbb_container->get('dispatcher'));
|
||||||
$application->register_container_commands($phpbb_container->get('console.command_collection'));
|
$application->register_container_commands($phpbb_container->get('console.command_collection'));
|
||||||
$application->run($input);
|
$application->run($input);
|
||||||
|
@@ -43,7 +43,13 @@ if (!defined('PHPBB_INSTALLED'))
|
|||||||
// available as used by the redirect function
|
// available as used by the redirect function
|
||||||
$server_name = (!empty($_SERVER['HTTP_HOST'])) ? strtolower($_SERVER['HTTP_HOST']) : ((!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'));
|
$server_name = (!empty($_SERVER['HTTP_HOST'])) ? strtolower($_SERVER['HTTP_HOST']) : ((!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'));
|
||||||
$server_port = (!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT');
|
$server_port = (!empty($_SERVER['SERVER_PORT'])) ? (int) $_SERVER['SERVER_PORT'] : (int) getenv('SERVER_PORT');
|
||||||
$secure = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 1 : 0;
|
$secure = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 1 : 0;
|
||||||
|
|
||||||
|
if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] === 'https')
|
||||||
|
{
|
||||||
|
$secure = 1;
|
||||||
|
$server_port = 443;
|
||||||
|
}
|
||||||
|
|
||||||
$script_name = (!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : getenv('PHP_SELF');
|
$script_name = (!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : getenv('PHP_SELF');
|
||||||
if (!$script_name)
|
if (!$script_name)
|
||||||
@@ -128,6 +134,8 @@ $phpbb_class_loader_ext->set_cache($phpbb_container->get('cache.driver'));
|
|||||||
|
|
||||||
require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
|
require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
|
||||||
|
|
||||||
|
register_compatibility_globals();
|
||||||
|
|
||||||
// Add own hook handler
|
// Add own hook handler
|
||||||
require($phpbb_root_path . 'includes/hooks/index.' . $phpEx);
|
require($phpbb_root_path . 'includes/hooks/index.' . $phpEx);
|
||||||
$phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('template', 'display')));
|
$phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('template', 'display')));
|
||||||
|
@@ -25,44 +25,51 @@
|
|||||||
"phpbb/phpbb-core": "self.version"
|
"phpbb/phpbb-core": "self.version"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.4,<7.1",
|
"php": ">=5.4",
|
||||||
"bantu/ini-get-wrapper": "1.0.*",
|
"bantu/ini-get-wrapper": "1.0.*",
|
||||||
"google/recaptcha": "~1.1",
|
"google/recaptcha": "~1.1",
|
||||||
"guzzlehttp/guzzle": "~5.3",
|
"guzzlehttp/guzzle": "~5.3",
|
||||||
"lusitanian/oauth": "^0.8.1",
|
"lusitanian/oauth": "^0.8.1",
|
||||||
"marc1706/fast-image-size": "1.1.*",
|
"marc1706/fast-image-size": "^1.1",
|
||||||
"paragonie/random_compat": "^1.2",
|
"paragonie/random_compat": "^1.4",
|
||||||
"patchwork/utf8": "1.1.*",
|
"patchwork/utf8": "^1.1",
|
||||||
"s9e/text-formatter": "^0.4.2",
|
"s9e/text-formatter": "~0.8.0",
|
||||||
"symfony/config": "2.8.*",
|
"symfony/config": "^2.8",
|
||||||
"symfony/console": "2.8.*",
|
"symfony/console": "^2.8",
|
||||||
"symfony/debug": "2.8.*",
|
"symfony/debug": "^2.8",
|
||||||
"symfony/dependency-injection": "2.8.*",
|
"symfony/dependency-injection": "^2.8",
|
||||||
"symfony/event-dispatcher": "2.8.*",
|
"symfony/event-dispatcher": "^2.8",
|
||||||
"symfony/filesystem": "2.8.*",
|
"symfony/filesystem": "^2.8",
|
||||||
"symfony/finder": "2.8.*",
|
"symfony/finder": "^2.8",
|
||||||
"symfony/http-foundation": "2.8.*",
|
"symfony/http-foundation": "^2.8",
|
||||||
"symfony/http-kernel": "2.8.*",
|
"symfony/http-kernel": "^2.8",
|
||||||
"symfony/routing": "2.8.*",
|
"symfony/proxy-manager-bridge": "^2.8",
|
||||||
"symfony/twig-bridge": "2.8.*",
|
"symfony/routing": "^2.8",
|
||||||
"symfony/yaml": "2.8.*",
|
"symfony/twig-bridge": "^2.8",
|
||||||
"twig/twig": "1.*"
|
"symfony/yaml": "^2.8",
|
||||||
|
"twig/twig": "^1.0,<1.25"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"fabpot/goutte": "~2.0",
|
"fabpot/goutte": "~2.0",
|
||||||
"facebook/webdriver": "~1.1",
|
"facebook/webdriver": "~1.1",
|
||||||
|
"laravel/homestead": "~2.2",
|
||||||
"phing/phing": "2.4.*",
|
"phing/phing": "2.4.*",
|
||||||
"phpunit/dbunit": "1.3.*",
|
"phpunit/dbunit": "1.3.*",
|
||||||
"phpunit/phpunit": "4.1.*",
|
"phpunit/phpunit": "^4.1",
|
||||||
"sami/sami": "1.*",
|
"sami/sami": "1.*",
|
||||||
"squizlabs/php_codesniffer": "2.*",
|
"squizlabs/php_codesniffer": "2.*",
|
||||||
"symfony/browser-kit": "2.8.*",
|
"symfony/browser-kit": "^2.8",
|
||||||
"symfony/css-selector": "2.8.*",
|
"symfony/css-selector": "^2.8",
|
||||||
"symfony/dom-crawler": "2.8.*"
|
"symfony/dom-crawler": "^2.8"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "3.2.x-dev"
|
"dev-master": "3.2.x-dev"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"platform": {
|
||||||
|
"php": "5.4"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
1093
phpBB/composer.lock
generated
1093
phpBB/composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -108,7 +108,7 @@ services:
|
|||||||
- '%tables.ext%'
|
- '%tables.ext%'
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
- '@cache.driver'
|
- '@cache'
|
||||||
|
|
||||||
file_downloader:
|
file_downloader:
|
||||||
class: phpbb\file_downloader
|
class: phpbb\file_downloader
|
||||||
@@ -161,7 +161,7 @@ services:
|
|||||||
|
|
||||||
version_helper:
|
version_helper:
|
||||||
class: phpbb\version_helper
|
class: phpbb\version_helper
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@cache'
|
- '@cache'
|
||||||
- '@config'
|
- '@config'
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
attachment.delete:
|
attachment.delete:
|
||||||
class: phpbb\attachment\delete
|
class: phpbb\attachment\delete
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@config'
|
- '@config'
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
@@ -12,7 +12,7 @@ services:
|
|||||||
|
|
||||||
attachment.manager:
|
attachment.manager:
|
||||||
class: phpbb\attachment\manager
|
class: phpbb\attachment\manager
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@attachment.delete'
|
- '@attachment.delete'
|
||||||
- '@attachment.resync'
|
- '@attachment.resync'
|
||||||
@@ -20,13 +20,13 @@ services:
|
|||||||
|
|
||||||
attachment.resync:
|
attachment.resync:
|
||||||
class: phpbb\attachment\resync
|
class: phpbb\attachment\resync
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
|
|
||||||
attachment.upload:
|
attachment.upload:
|
||||||
class: phpbb\attachment\upload
|
class: phpbb\attachment\upload
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@auth'
|
- '@auth'
|
||||||
- '@cache'
|
- '@cache'
|
||||||
|
@@ -63,6 +63,7 @@ services:
|
|||||||
- '@auth.provider.oauth.service_collection'
|
- '@auth.provider.oauth.service_collection'
|
||||||
- '%tables.users%'
|
- '%tables.users%'
|
||||||
- '@service_container'
|
- '@service_container'
|
||||||
|
- '@dispatcher'
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
tags:
|
tags:
|
||||||
@@ -99,3 +100,11 @@ services:
|
|||||||
- '@request'
|
- '@request'
|
||||||
tags:
|
tags:
|
||||||
- { name: auth.provider.oauth.service }
|
- { name: auth.provider.oauth.service }
|
||||||
|
|
||||||
|
auth.provider.oauth.service.twitter:
|
||||||
|
class: phpbb\auth\provider\oauth\service\twitter
|
||||||
|
arguments:
|
||||||
|
- '@config'
|
||||||
|
- '@request'
|
||||||
|
tags:
|
||||||
|
- { name: auth.provider.oauth.service }
|
||||||
|
@@ -6,7 +6,7 @@ services:
|
|||||||
- '@captcha.plugins.service_collection'
|
- '@captcha.plugins.service_collection'
|
||||||
|
|
||||||
# ----- Captcha plugins -----
|
# ----- Captcha plugins -----
|
||||||
# Scope MUST be prototype for all the plugins to work.
|
# Service MUST NOT be shared for all the plugins to work.
|
||||||
captcha.plugins.service_collection:
|
captcha.plugins.service_collection:
|
||||||
class: phpbb\di\service_collection
|
class: phpbb\di\service_collection
|
||||||
arguments:
|
arguments:
|
||||||
@@ -16,7 +16,7 @@ services:
|
|||||||
|
|
||||||
core.captcha.plugins.gd:
|
core.captcha.plugins.gd:
|
||||||
class: phpbb\captcha\plugins\gd
|
class: phpbb\captcha\plugins\gd
|
||||||
scope: prototype
|
shared: false
|
||||||
calls:
|
calls:
|
||||||
- [set_name, [core.captcha.plugins.gd]]
|
- [set_name, [core.captcha.plugins.gd]]
|
||||||
tags:
|
tags:
|
||||||
@@ -24,7 +24,7 @@ services:
|
|||||||
|
|
||||||
core.captcha.plugins.gd_wave:
|
core.captcha.plugins.gd_wave:
|
||||||
class: phpbb\captcha\plugins\gd_wave
|
class: phpbb\captcha\plugins\gd_wave
|
||||||
scope: prototype
|
shared: false
|
||||||
calls:
|
calls:
|
||||||
- [set_name, [core.captcha.plugins.gd_wave]]
|
- [set_name, [core.captcha.plugins.gd_wave]]
|
||||||
tags:
|
tags:
|
||||||
@@ -32,7 +32,7 @@ services:
|
|||||||
|
|
||||||
core.captcha.plugins.nogd:
|
core.captcha.plugins.nogd:
|
||||||
class: phpbb\captcha\plugins\nogd
|
class: phpbb\captcha\plugins\nogd
|
||||||
scope: prototype
|
shared: false
|
||||||
calls:
|
calls:
|
||||||
- [set_name, [core.captcha.plugins.nogd]]
|
- [set_name, [core.captcha.plugins.nogd]]
|
||||||
tags:
|
tags:
|
||||||
@@ -40,7 +40,7 @@ services:
|
|||||||
|
|
||||||
core.captcha.plugins.qa:
|
core.captcha.plugins.qa:
|
||||||
class: phpbb\captcha\plugins\qa
|
class: phpbb\captcha\plugins\qa
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '%tables.captcha_qa_questions%'
|
- '%tables.captcha_qa_questions%'
|
||||||
- '%tables.captcha_qa_answers%'
|
- '%tables.captcha_qa_answers%'
|
||||||
@@ -52,7 +52,7 @@ services:
|
|||||||
|
|
||||||
core.captcha.plugins.recaptcha:
|
core.captcha.plugins.recaptcha:
|
||||||
class: phpbb\captcha\plugins\recaptcha
|
class: phpbb\captcha\plugins\recaptcha
|
||||||
scope: prototype
|
shared: false
|
||||||
calls:
|
calls:
|
||||||
- [set_name, [core.captcha.plugins.recaptcha]]
|
- [set_name, [core.captcha.plugins.recaptcha]]
|
||||||
tags:
|
tags:
|
||||||
|
@@ -111,15 +111,7 @@ services:
|
|||||||
|
|
||||||
console.command.db.revert:
|
console.command.db.revert:
|
||||||
class: phpbb\console\command\db\revert
|
class: phpbb\console\command\db\revert
|
||||||
arguments:
|
parent: console.command.db.migrate
|
||||||
- '@user'
|
|
||||||
- '@language'
|
|
||||||
- '@migrator'
|
|
||||||
- '@ext.manager'
|
|
||||||
- '@config'
|
|
||||||
- '@cache'
|
|
||||||
- '@filesystem'
|
|
||||||
- '%core.root_path%'
|
|
||||||
tags:
|
tags:
|
||||||
- { name: console.command }
|
- { name: console.command }
|
||||||
|
|
||||||
@@ -219,3 +211,63 @@ services:
|
|||||||
- '@user'
|
- '@user'
|
||||||
tags:
|
tags:
|
||||||
- { name: console.command }
|
- { name: console.command }
|
||||||
|
|
||||||
|
console.command.update.check:
|
||||||
|
class: phpbb\console\command\update\check
|
||||||
|
arguments:
|
||||||
|
- '@user'
|
||||||
|
- '@config'
|
||||||
|
- '@service_container'
|
||||||
|
- '@language'
|
||||||
|
tags:
|
||||||
|
- { name: console.command }
|
||||||
|
|
||||||
|
console.command.user.activate:
|
||||||
|
class: phpbb\console\command\user\activate
|
||||||
|
arguments:
|
||||||
|
- '@user'
|
||||||
|
- '@dbal.conn'
|
||||||
|
- '@config'
|
||||||
|
- '@language'
|
||||||
|
- '@log'
|
||||||
|
- '@notification_manager'
|
||||||
|
- '@user_loader'
|
||||||
|
- '%core.root_path%'
|
||||||
|
- '%core.php_ext%'
|
||||||
|
tags:
|
||||||
|
- { name: console.command }
|
||||||
|
|
||||||
|
console.command.user.add:
|
||||||
|
class: phpbb\console\command\user\add
|
||||||
|
arguments:
|
||||||
|
- '@user'
|
||||||
|
- '@dbal.conn'
|
||||||
|
- '@config'
|
||||||
|
- '@language'
|
||||||
|
- '@passwords.manager'
|
||||||
|
- '%core.root_path%'
|
||||||
|
- '%core.php_ext%'
|
||||||
|
tags:
|
||||||
|
- { name: console.command }
|
||||||
|
|
||||||
|
console.command.user.delete:
|
||||||
|
class: phpbb\console\command\user\delete
|
||||||
|
arguments:
|
||||||
|
- '@user'
|
||||||
|
- '@dbal.conn'
|
||||||
|
- '@language'
|
||||||
|
- '@log'
|
||||||
|
- '@user_loader'
|
||||||
|
- '%core.root_path%'
|
||||||
|
- '%core.php_ext%'
|
||||||
|
tags:
|
||||||
|
- { name: console.command }
|
||||||
|
|
||||||
|
console.command.user.reclean:
|
||||||
|
class: phpbb\console\command\user\reclean
|
||||||
|
arguments:
|
||||||
|
- '@user'
|
||||||
|
- '@dbal.conn'
|
||||||
|
- '@language'
|
||||||
|
tags:
|
||||||
|
- { name: console.command }
|
||||||
|
@@ -75,6 +75,7 @@ services:
|
|||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
- '@config'
|
- '@config'
|
||||||
|
- '%core.cache_dir%'
|
||||||
calls:
|
calls:
|
||||||
- [set_name, [cron.task.core.queue]]
|
- [set_name, [cron.task.core.queue]]
|
||||||
tags:
|
tags:
|
||||||
|
@@ -5,9 +5,7 @@ services:
|
|||||||
- '@service_container'
|
- '@service_container'
|
||||||
|
|
||||||
dbal.conn.driver:
|
dbal.conn.driver:
|
||||||
class: '%dbal.driver.class%'
|
synthetic: true
|
||||||
calls:
|
|
||||||
- [sql_connect, ['%dbal.dbhost%', '%dbal.dbuser%', '%dbal.dbpasswd%', '%dbal.dbname%', '%dbal.dbport%', false, '%dbal.new_link%']]
|
|
||||||
|
|
||||||
# ----- DB Tools -----
|
# ----- DB Tools -----
|
||||||
dbal.tools.factory:
|
dbal.tools.factory:
|
||||||
@@ -31,10 +29,10 @@ services:
|
|||||||
factory: ['@dbal.extractor.factory', get]
|
factory: ['@dbal.extractor.factory', get]
|
||||||
|
|
||||||
# ----- DB Extractors for different drivers -----
|
# ----- DB Extractors for different drivers -----
|
||||||
# Scope MUST be prototype for all the handlers to work correctly.
|
# Service MUST NOT be shared for all the handlers to work correctly.
|
||||||
dbal.extractor.extractors.mssql_extractor:
|
dbal.extractor.extractors.mssql_extractor:
|
||||||
class: phpbb\db\extractor\mssql_extractor
|
class: phpbb\db\extractor\mssql_extractor
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '@request'
|
- '@request'
|
||||||
@@ -42,7 +40,7 @@ services:
|
|||||||
|
|
||||||
dbal.extractor.extractors.mysql_extractor:
|
dbal.extractor.extractors.mysql_extractor:
|
||||||
class: phpbb\db\extractor\mysql_extractor
|
class: phpbb\db\extractor\mysql_extractor
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '@request'
|
- '@request'
|
||||||
@@ -50,7 +48,7 @@ services:
|
|||||||
|
|
||||||
dbal.extractor.extractors.oracle_extractor:
|
dbal.extractor.extractors.oracle_extractor:
|
||||||
class: phpbb\db\extractor\oracle_extractor
|
class: phpbb\db\extractor\oracle_extractor
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '@request'
|
- '@request'
|
||||||
@@ -58,7 +56,7 @@ services:
|
|||||||
|
|
||||||
dbal.extractor.extractors.postgres_extractor:
|
dbal.extractor.extractors.postgres_extractor:
|
||||||
class: phpbb\db\extractor\postgres_extractor
|
class: phpbb\db\extractor\postgres_extractor
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '@request'
|
- '@request'
|
||||||
@@ -66,15 +64,7 @@ services:
|
|||||||
|
|
||||||
dbal.extractor.extractors.sqlite3_extractor:
|
dbal.extractor.extractors.sqlite3_extractor:
|
||||||
class: phpbb\db\extractor\sqlite3_extractor
|
class: phpbb\db\extractor\sqlite3_extractor
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
|
||||||
- '%core.root_path%'
|
|
||||||
- '@request'
|
|
||||||
- '@dbal.conn.driver'
|
|
||||||
|
|
||||||
dbal.extractor.extractors.sqlite_extractor:
|
|
||||||
class: phpbb\db\extractor\sqlite_extractor
|
|
||||||
scope: prototype
|
|
||||||
arguments:
|
arguments:
|
||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '@request'
|
- '@request'
|
||||||
|
@@ -11,6 +11,7 @@ services:
|
|||||||
- '@feed.helper'
|
- '@feed.helper'
|
||||||
- '@user'
|
- '@user'
|
||||||
- '@auth'
|
- '@auth'
|
||||||
|
- '@dispatcher'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
feed.helper:
|
feed.helper:
|
||||||
@@ -23,7 +24,7 @@ services:
|
|||||||
|
|
||||||
feed.forum:
|
feed.forum:
|
||||||
class: phpbb\feed\forum
|
class: phpbb\feed\forum
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@feed.helper'
|
- '@feed.helper'
|
||||||
- '@config'
|
- '@config'
|
||||||
@@ -32,11 +33,12 @@ services:
|
|||||||
- '@user'
|
- '@user'
|
||||||
- '@auth'
|
- '@auth'
|
||||||
- '@content.visibility'
|
- '@content.visibility'
|
||||||
|
- '@dispatcher'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
feed.forums:
|
feed.forums:
|
||||||
class: phpbb\feed\forums
|
class: phpbb\feed\forums
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@feed.helper'
|
- '@feed.helper'
|
||||||
- '@config'
|
- '@config'
|
||||||
@@ -45,11 +47,12 @@ services:
|
|||||||
- '@user'
|
- '@user'
|
||||||
- '@auth'
|
- '@auth'
|
||||||
- '@content.visibility'
|
- '@content.visibility'
|
||||||
|
- '@dispatcher'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
feed.news:
|
feed.news:
|
||||||
class: phpbb\feed\news
|
class: phpbb\feed\news
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@feed.helper'
|
- '@feed.helper'
|
||||||
- '@config'
|
- '@config'
|
||||||
@@ -58,11 +61,12 @@ services:
|
|||||||
- '@user'
|
- '@user'
|
||||||
- '@auth'
|
- '@auth'
|
||||||
- '@content.visibility'
|
- '@content.visibility'
|
||||||
|
- '@dispatcher'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
feed.overall:
|
feed.overall:
|
||||||
class: phpbb\feed\overall
|
class: phpbb\feed\overall
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@feed.helper'
|
- '@feed.helper'
|
||||||
- '@config'
|
- '@config'
|
||||||
@@ -71,11 +75,12 @@ services:
|
|||||||
- '@user'
|
- '@user'
|
||||||
- '@auth'
|
- '@auth'
|
||||||
- '@content.visibility'
|
- '@content.visibility'
|
||||||
|
- '@dispatcher'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
feed.topic:
|
feed.topic:
|
||||||
class: phpbb\feed\topic
|
class: phpbb\feed\topic
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@feed.helper'
|
- '@feed.helper'
|
||||||
- '@config'
|
- '@config'
|
||||||
@@ -84,11 +89,12 @@ services:
|
|||||||
- '@user'
|
- '@user'
|
||||||
- '@auth'
|
- '@auth'
|
||||||
- '@content.visibility'
|
- '@content.visibility'
|
||||||
|
- '@dispatcher'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
feed.topics:
|
feed.topics:
|
||||||
class: phpbb\feed\topics
|
class: phpbb\feed\topics
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@feed.helper'
|
- '@feed.helper'
|
||||||
- '@config'
|
- '@config'
|
||||||
@@ -97,11 +103,12 @@ services:
|
|||||||
- '@user'
|
- '@user'
|
||||||
- '@auth'
|
- '@auth'
|
||||||
- '@content.visibility'
|
- '@content.visibility'
|
||||||
|
- '@dispatcher'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
|
||||||
feed.topics_active:
|
feed.topics_active:
|
||||||
class: phpbb\feed\topics_active
|
class: phpbb\feed\topics_active
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@feed.helper'
|
- '@feed.helper'
|
||||||
- '@config'
|
- '@config'
|
||||||
@@ -110,4 +117,5 @@ services:
|
|||||||
- '@user'
|
- '@user'
|
||||||
- '@auth'
|
- '@auth'
|
||||||
- '@content.visibility'
|
- '@content.visibility'
|
||||||
|
- '@dispatcher'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
|
@@ -6,7 +6,7 @@ services:
|
|||||||
|
|
||||||
files.filespec:
|
files.filespec:
|
||||||
class: phpbb\files\filespec
|
class: phpbb\files\filespec
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@filesystem'
|
- '@filesystem'
|
||||||
- '@language'
|
- '@language'
|
||||||
@@ -18,7 +18,7 @@ services:
|
|||||||
|
|
||||||
files.upload:
|
files.upload:
|
||||||
class: phpbb\files\upload
|
class: phpbb\files\upload
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@filesystem'
|
- '@filesystem'
|
||||||
- '@files.factory'
|
- '@files.factory'
|
||||||
@@ -28,7 +28,7 @@ services:
|
|||||||
|
|
||||||
files.types.form:
|
files.types.form:
|
||||||
class: phpbb\files\types\form
|
class: phpbb\files\types\form
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@files.factory'
|
- '@files.factory'
|
||||||
- '@language'
|
- '@language'
|
||||||
@@ -37,8 +37,8 @@ services:
|
|||||||
- '@request'
|
- '@request'
|
||||||
|
|
||||||
files.types.local:
|
files.types.local:
|
||||||
class: phpbb\files\types\form
|
class: phpbb\files\types\local
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@files.factory'
|
- '@files.factory'
|
||||||
- '@language'
|
- '@language'
|
||||||
@@ -47,7 +47,7 @@ services:
|
|||||||
|
|
||||||
files.types.remote:
|
files.types.remote:
|
||||||
class: phpbb\files\types\remote
|
class: phpbb\files\types\remote
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@config'
|
- '@config'
|
||||||
- '@files.factory'
|
- '@files.factory'
|
||||||
|
@@ -15,7 +15,7 @@ services:
|
|||||||
- '%tables.user_notifications%'
|
- '%tables.user_notifications%'
|
||||||
|
|
||||||
# ----- Notification's types -----
|
# ----- Notification's types -----
|
||||||
# Scope MUST be prototype for all the plugins to work.
|
# Service MUST NOT be shared for all the plugins to work.
|
||||||
notification.type_collection:
|
notification.type_collection:
|
||||||
class: phpbb\di\service_collection
|
class: phpbb\di\service_collection
|
||||||
arguments:
|
arguments:
|
||||||
@@ -36,7 +36,7 @@ services:
|
|||||||
|
|
||||||
notification.type.admin_activate_user:
|
notification.type.admin_activate_user:
|
||||||
class: phpbb\notification\type\admin_activate_user
|
class: phpbb\notification\type\admin_activate_user
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.base
|
parent: notification.type.base
|
||||||
calls:
|
calls:
|
||||||
- [set_user_loader, ['@user_loader']]
|
- [set_user_loader, ['@user_loader']]
|
||||||
@@ -46,42 +46,42 @@ services:
|
|||||||
|
|
||||||
notification.type.approve_post:
|
notification.type.approve_post:
|
||||||
class: phpbb\notification\type\approve_post
|
class: phpbb\notification\type\approve_post
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.post
|
parent: notification.type.post
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.approve_topic:
|
notification.type.approve_topic:
|
||||||
class: phpbb\notification\type\approve_topic
|
class: phpbb\notification\type\approve_topic
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.topic
|
parent: notification.type.topic
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.bookmark:
|
notification.type.bookmark:
|
||||||
class: phpbb\notification\type\bookmark
|
class: phpbb\notification\type\bookmark
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.post
|
parent: notification.type.post
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.disapprove_post:
|
notification.type.disapprove_post:
|
||||||
class: phpbb\notification\type\disapprove_post
|
class: phpbb\notification\type\disapprove_post
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.post
|
parent: notification.type.post
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.disapprove_topic:
|
notification.type.disapprove_topic:
|
||||||
class: phpbb\notification\type\disapprove_topic
|
class: phpbb\notification\type\disapprove_topic
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.topic
|
parent: notification.type.topic
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.group_request:
|
notification.type.group_request:
|
||||||
class: phpbb\notification\type\group_request
|
class: phpbb\notification\type\group_request
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.base
|
parent: notification.type.base
|
||||||
calls:
|
calls:
|
||||||
- [set_user_loader, ['@user_loader']]
|
- [set_user_loader, ['@user_loader']]
|
||||||
@@ -90,14 +90,14 @@ services:
|
|||||||
|
|
||||||
notification.type.group_request_approved:
|
notification.type.group_request_approved:
|
||||||
class: phpbb\notification\type\group_request_approved
|
class: phpbb\notification\type\group_request_approved
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.base
|
parent: notification.type.base
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.pm:
|
notification.type.pm:
|
||||||
class: phpbb\notification\type\pm
|
class: phpbb\notification\type\pm
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.base
|
parent: notification.type.base
|
||||||
calls:
|
calls:
|
||||||
- [set_user_loader, ['@user_loader']]
|
- [set_user_loader, ['@user_loader']]
|
||||||
@@ -107,7 +107,7 @@ services:
|
|||||||
|
|
||||||
notification.type.post:
|
notification.type.post:
|
||||||
class: phpbb\notification\type\post
|
class: phpbb\notification\type\post
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.base
|
parent: notification.type.base
|
||||||
calls:
|
calls:
|
||||||
- [set_user_loader, ['@user_loader']]
|
- [set_user_loader, ['@user_loader']]
|
||||||
@@ -117,14 +117,14 @@ services:
|
|||||||
|
|
||||||
notification.type.post_in_queue:
|
notification.type.post_in_queue:
|
||||||
class: phpbb\notification\type\post_in_queue
|
class: phpbb\notification\type\post_in_queue
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.post
|
parent: notification.type.post
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.quote:
|
notification.type.quote:
|
||||||
class: phpbb\notification\type\quote
|
class: phpbb\notification\type\quote
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.post
|
parent: notification.type.post
|
||||||
calls:
|
calls:
|
||||||
- [set_utils, ['@text_formatter.utils']]
|
- [set_utils, ['@text_formatter.utils']]
|
||||||
@@ -133,35 +133,35 @@ services:
|
|||||||
|
|
||||||
notification.type.report_pm:
|
notification.type.report_pm:
|
||||||
class: phpbb\notification\type\report_pm
|
class: phpbb\notification\type\report_pm
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.pm
|
parent: notification.type.pm
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.report_pm_closed:
|
notification.type.report_pm_closed:
|
||||||
class: phpbb\notification\type\report_pm_closed
|
class: phpbb\notification\type\report_pm_closed
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.pm
|
parent: notification.type.pm
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.report_post:
|
notification.type.report_post:
|
||||||
class: phpbb\notification\type\report_post
|
class: phpbb\notification\type\report_post
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.post
|
parent: notification.type.post
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.report_post_closed:
|
notification.type.report_post_closed:
|
||||||
class: phpbb\notification\type\report_post_closed
|
class: phpbb\notification\type\report_post_closed
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.post
|
parent: notification.type.post
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
notification.type.topic:
|
notification.type.topic:
|
||||||
class: phpbb\notification\type\topic
|
class: phpbb\notification\type\topic
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.base
|
parent: notification.type.base
|
||||||
calls:
|
calls:
|
||||||
- [set_user_loader, ['@user_loader']]
|
- [set_user_loader, ['@user_loader']]
|
||||||
@@ -171,13 +171,13 @@ services:
|
|||||||
|
|
||||||
notification.type.topic_in_queue:
|
notification.type.topic_in_queue:
|
||||||
class: phpbb\notification\type\topic_in_queue
|
class: phpbb\notification\type\topic_in_queue
|
||||||
scope: prototype
|
shared: false
|
||||||
parent: notification.type.topic
|
parent: notification.type.topic
|
||||||
tags:
|
tags:
|
||||||
- { name: notification.type }
|
- { name: notification.type }
|
||||||
|
|
||||||
# ----- Notification's methods -----
|
# ----- Notification's methods -----
|
||||||
# Scope MUST be prototype for all the plugins to work.
|
# Service MUST NOT be shared for all the plugins to work.
|
||||||
notification.method_collection:
|
notification.method_collection:
|
||||||
class: phpbb\di\service_collection
|
class: phpbb\di\service_collection
|
||||||
arguments:
|
arguments:
|
||||||
@@ -187,7 +187,7 @@ services:
|
|||||||
|
|
||||||
notification.method.board:
|
notification.method.board:
|
||||||
class: phpbb\notification\method\board
|
class: phpbb\notification\method\board
|
||||||
scope: prototype # scope MUST be prototype for this to work!
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@user_loader'
|
- '@user_loader'
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
@@ -201,7 +201,7 @@ services:
|
|||||||
|
|
||||||
notification.method.email:
|
notification.method.email:
|
||||||
class: phpbb\notification\method\email
|
class: phpbb\notification\method\email
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@user_loader'
|
- '@user_loader'
|
||||||
- '@user'
|
- '@user'
|
||||||
@@ -213,7 +213,7 @@ services:
|
|||||||
|
|
||||||
notification.method.jabber:
|
notification.method.jabber:
|
||||||
class: phpbb\notification\method\jabber
|
class: phpbb\notification\method\jabber
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@user_loader'
|
- '@user_loader'
|
||||||
- '@user'
|
- '@user'
|
||||||
|
@@ -1,3 +1,6 @@
|
|||||||
|
parameters:
|
||||||
|
passwords.driver.bcrypt_cost: 10
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# ----- Password management -----
|
# ----- Password management -----
|
||||||
passwords.manager:
|
passwords.manager:
|
||||||
@@ -29,6 +32,7 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
- '@config'
|
- '@config'
|
||||||
- '@passwords.driver_helper'
|
- '@passwords.driver_helper'
|
||||||
|
- '%passwords.driver.bcrypt_cost%'
|
||||||
tags:
|
tags:
|
||||||
- { name: passwords.driver }
|
- { name: passwords.driver }
|
||||||
|
|
||||||
@@ -37,6 +41,7 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
- '@config'
|
- '@config'
|
||||||
- '@passwords.driver_helper'
|
- '@passwords.driver_helper'
|
||||||
|
- '%passwords.driver.bcrypt_cost%'
|
||||||
tags:
|
tags:
|
||||||
- { name: passwords.driver }
|
- { name: passwords.driver }
|
||||||
|
|
||||||
|
@@ -29,10 +29,10 @@ services:
|
|||||||
- '@user'
|
- '@user'
|
||||||
|
|
||||||
# ----- Report handlers -----
|
# ----- Report handlers -----
|
||||||
# Scope MUST be prototype for all the handlers to work correctly.
|
# Service MUST NOT be shared for all the handlers to work correctly.
|
||||||
phpbb.report.handlers.report_handler_pm:
|
phpbb.report.handlers.report_handler_pm:
|
||||||
class: phpbb\report\report_handler_pm
|
class: phpbb\report\report_handler_pm
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn.driver'
|
- '@dbal.conn.driver'
|
||||||
- '@dispatcher'
|
- '@dispatcher'
|
||||||
@@ -43,7 +43,7 @@ services:
|
|||||||
|
|
||||||
phpbb.report.handlers.report_handler_post:
|
phpbb.report.handlers.report_handler_post:
|
||||||
class: phpbb\report\report_handler_post
|
class: phpbb\report\report_handler_post
|
||||||
scope: prototype
|
shared: false
|
||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn.driver'
|
- '@dbal.conn.driver'
|
||||||
- '@dispatcher'
|
- '@dispatcher'
|
||||||
|
@@ -5,9 +5,8 @@ services:
|
|||||||
- '@service_container'
|
- '@service_container'
|
||||||
- '@routing.chained_resources_locator'
|
- '@routing.chained_resources_locator'
|
||||||
- '@routing.delegated_loader'
|
- '@routing.delegated_loader'
|
||||||
- '%core.root_path%'
|
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
- '%core.environment%'
|
- '%core.cache_dir%'
|
||||||
|
|
||||||
router.listener:
|
router.listener:
|
||||||
class: Symfony\Component\HttpKernel\EventListener\RouterListener
|
class: Symfony\Component\HttpKernel\EventListener\RouterListener
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
parameters:
|
parameters:
|
||||||
text_formatter.cache.dir: '%core.root_path%cache/%core.environment%/'
|
text_formatter.cache.dir: '%core.cache_dir%'
|
||||||
text_formatter.cache.parser.key: _text_formatter_parser
|
text_formatter.cache.parser.key: _text_formatter_parser
|
||||||
text_formatter.cache.renderer.key: _text_formatter_renderer
|
text_formatter.cache.renderer.key: _text_formatter_renderer
|
||||||
|
|
||||||
|
@@ -24,6 +24,8 @@ services:
|
|||||||
class: phpbb\textreparser\plugins\contact_admin_info
|
class: phpbb\textreparser\plugins\contact_admin_info
|
||||||
arguments:
|
arguments:
|
||||||
- '@config_text'
|
- '@config_text'
|
||||||
|
calls:
|
||||||
|
- [set_name, [contact_admin_info]]
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
@@ -32,6 +34,8 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
- '%tables.forums%'
|
- '%tables.forums%'
|
||||||
|
calls:
|
||||||
|
- [set_name, [forum_description]]
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
@@ -40,6 +44,8 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
- '%tables.forums%'
|
- '%tables.forums%'
|
||||||
|
calls:
|
||||||
|
- [set_name, [forum_rules]]
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
@@ -48,6 +54,8 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
- '%tables.groups%'
|
- '%tables.groups%'
|
||||||
|
calls:
|
||||||
|
- [set_name, [group_description]]
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
@@ -56,6 +64,8 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
- '%tables.privmsgs%'
|
- '%tables.privmsgs%'
|
||||||
|
calls:
|
||||||
|
- [set_name, [pm_text]]
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
@@ -63,6 +73,8 @@ services:
|
|||||||
class: phpbb\textreparser\plugins\poll_option
|
class: phpbb\textreparser\plugins\poll_option
|
||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
|
calls:
|
||||||
|
- [set_name, [poll_option]]
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
@@ -71,6 +83,8 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
- '%tables.topics%'
|
- '%tables.topics%'
|
||||||
|
calls:
|
||||||
|
- [set_name, [poll_title]]
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
@@ -79,6 +93,8 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
- '%tables.posts%'
|
- '%tables.posts%'
|
||||||
|
calls:
|
||||||
|
- [set_name, [post_text]]
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
|
||||||
@@ -87,5 +103,7 @@ services:
|
|||||||
arguments:
|
arguments:
|
||||||
- '@dbal.conn'
|
- '@dbal.conn'
|
||||||
- '%tables.users%'
|
- '%tables.users%'
|
||||||
|
calls:
|
||||||
|
- [set_name, [user_signature]]
|
||||||
tags:
|
tags:
|
||||||
- { name: text_reparser.plugin }
|
- { name: text_reparser.plugin }
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
parameters:
|
parameters:
|
||||||
core.template.cache_path: '%core.root_path%cache/%core.environment%/twig/'
|
core.template.cache_path: '%core.cache_dir%twig/'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
template.twig.environment:
|
template.twig.environment:
|
||||||
@@ -8,14 +8,16 @@ services:
|
|||||||
- '@config'
|
- '@config'
|
||||||
- '@filesystem'
|
- '@filesystem'
|
||||||
- '@path_helper'
|
- '@path_helper'
|
||||||
- '@service_container'
|
|
||||||
- '%core.template.cache_path%'
|
- '%core.template.cache_path%'
|
||||||
- '@ext.manager'
|
- '@ext.manager'
|
||||||
- '@template.twig.loader'
|
- '@template.twig.loader'
|
||||||
- []
|
- []
|
||||||
|
calls:
|
||||||
|
- [setLexer, ['@template.twig.lexer']]
|
||||||
|
|
||||||
template.twig.lexer:
|
template.twig.lexer:
|
||||||
class: phpbb\template\twig\lexer
|
class: phpbb\template\twig\lexer
|
||||||
|
lazy: true
|
||||||
arguments:
|
arguments:
|
||||||
- '@template.twig.environment'
|
- '@template.twig.environment'
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@ services:
|
|||||||
cache.driver:
|
cache.driver:
|
||||||
class: '%cache.driver.class%'
|
class: '%cache.driver.class%'
|
||||||
arguments:
|
arguments:
|
||||||
- '%core.root_path%/cache/installer/'
|
- '%core.cache_dir%'
|
||||||
|
|
||||||
config:
|
config:
|
||||||
class: phpbb\config\config
|
class: phpbb\config\config
|
||||||
@@ -81,11 +81,18 @@ services:
|
|||||||
- '@config'
|
- '@config'
|
||||||
- '@filesystem'
|
- '@filesystem'
|
||||||
- '@path_helper'
|
- '@path_helper'
|
||||||
- '@service_container'
|
|
||||||
- '%core.template.cache_path%'
|
- '%core.template.cache_path%'
|
||||||
- null
|
- null
|
||||||
- '@template.twig.loader'
|
- '@template.twig.loader'
|
||||||
- []
|
- []
|
||||||
|
calls:
|
||||||
|
- [setLexer, ['@template.twig.lexer']]
|
||||||
|
|
||||||
|
user:
|
||||||
|
class: phpbb\user
|
||||||
|
arguments:
|
||||||
|
- '@language'
|
||||||
|
- '%datetime.class%'
|
||||||
|
|
||||||
console.exception_subscriber:
|
console.exception_subscriber:
|
||||||
class: phpbb\console\exception_subscriber
|
class: phpbb\console\exception_subscriber
|
||||||
|
@@ -7,6 +7,16 @@ services:
|
|||||||
tags:
|
tags:
|
||||||
- { name: install_finish, order: 10 }
|
- { name: install_finish, order: 10 }
|
||||||
|
|
||||||
|
installer.install_finish.install_extensions:
|
||||||
|
class: phpbb\install\module\install_finish\task\install_extensions
|
||||||
|
arguments:
|
||||||
|
- '@installer.helper.container_factory'
|
||||||
|
- '@installer.helper.config'
|
||||||
|
- '@installer.helper.iohandler'
|
||||||
|
- '%core.root_path%'
|
||||||
|
tags:
|
||||||
|
- { name: install_finish, order: 20 }
|
||||||
|
|
||||||
installer.install_finish.notify_user:
|
installer.install_finish.notify_user:
|
||||||
class: phpbb\install\module\install_finish\task\notify_user
|
class: phpbb\install\module\install_finish\task\notify_user
|
||||||
arguments:
|
arguments:
|
||||||
@@ -16,7 +26,7 @@ services:
|
|||||||
- '%core.root_path%'
|
- '%core.root_path%'
|
||||||
- '%core.php_ext%'
|
- '%core.php_ext%'
|
||||||
tags:
|
tags:
|
||||||
- { name: install_finish, order: 20 }
|
- { name: install_finish, order: 30 }
|
||||||
|
|
||||||
installer.module.install_finish_collection:
|
installer.module.install_finish_collection:
|
||||||
class: phpbb\di\ordered_service_collection
|
class: phpbb\di\ordered_service_collection
|
||||||
|
@@ -13,7 +13,7 @@ services:
|
|||||||
|
|
||||||
installer.navigation.main_navigation:
|
installer.navigation.main_navigation:
|
||||||
class: phpbb\install\helper\navigation\main_navigation
|
class: phpbb\install\helper\navigation\main_navigation
|
||||||
scope: prototype
|
shared: false
|
||||||
tags:
|
tags:
|
||||||
- { name: installer.navigation }
|
- { name: installer.navigation }
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ services:
|
|||||||
class: phpbb\install\helper\navigation\install_navigation
|
class: phpbb\install\helper\navigation\install_navigation
|
||||||
arguments:
|
arguments:
|
||||||
- '@installer.helper.install_helper'
|
- '@installer.helper.install_helper'
|
||||||
scope: prototype
|
shared: false
|
||||||
tags:
|
tags:
|
||||||
- { name: installer.navigation }
|
- { name: installer.navigation }
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ services:
|
|||||||
class: phpbb\install\helper\navigation\update_navigation
|
class: phpbb\install\helper\navigation\update_navigation
|
||||||
arguments:
|
arguments:
|
||||||
- '@installer.helper.install_helper'
|
- '@installer.helper.install_helper'
|
||||||
scope: prototype
|
shared: false
|
||||||
tags:
|
tags:
|
||||||
- { name: installer.navigation }
|
- { name: installer.navigation }
|
||||||
|
|
||||||
@@ -37,6 +37,6 @@ services:
|
|||||||
class: phpbb\install\helper\navigation\convertor_navigation
|
class: phpbb\install\helper\navigation\convertor_navigation
|
||||||
arguments:
|
arguments:
|
||||||
- '@installer.helper.install_helper'
|
- '@installer.helper.install_helper'
|
||||||
scope: prototype
|
shared: false
|
||||||
tags:
|
tags:
|
||||||
- { name: installer.navigation }
|
- { name: installer.navigation }
|
||||||
|
@@ -11,6 +11,17 @@ services:
|
|||||||
tags:
|
tags:
|
||||||
- { name: update_database_task, order: 10 }
|
- { name: update_database_task, order: 10 }
|
||||||
|
|
||||||
|
installer.update_database.update_extensions:
|
||||||
|
class: phpbb\install\module\update_database\task\update_extensions
|
||||||
|
arguments:
|
||||||
|
- '@installer.helper.container_factory'
|
||||||
|
- '@installer.helper.config'
|
||||||
|
- '@installer.helper.iohandler'
|
||||||
|
- '@installer.helper.update_helper'
|
||||||
|
- '%core.root_path%'
|
||||||
|
tags:
|
||||||
|
- { name: update_database_task, order: 20 }
|
||||||
|
|
||||||
installer.module.update_database_collection:
|
installer.module.update_database_collection:
|
||||||
class: phpbb\di\ordered_service_collection
|
class: phpbb\di\ordered_service_collection
|
||||||
arguments:
|
arguments:
|
||||||
|
@@ -43,7 +43,7 @@ phpbb_convert_intro:
|
|||||||
start_new: 0
|
start_new: 0
|
||||||
|
|
||||||
phpbb_convert_settings:
|
phpbb_convert_settings:
|
||||||
path: /convert/settings/{convertor}
|
path: /convert/settings/{converter}
|
||||||
defaults:
|
defaults:
|
||||||
_controller: phpbb.installer.controller.convert:settings
|
_controller: phpbb.installer.controller.convert:settings
|
||||||
requirements:
|
requirements:
|
||||||
|
@@ -57,6 +57,18 @@ if ($cron_lock->acquire())
|
|||||||
$task = $cron->find_task($cron_type);
|
$task = $cron->find_task($cron_type);
|
||||||
if ($task)
|
if ($task)
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* This event enables you to catch the task before it runs
|
||||||
|
*
|
||||||
|
* @event core.cron_run_before
|
||||||
|
* @var \phpbb\cron\task\wrapper task Current Cron task
|
||||||
|
* @since 3.1.8-RC1
|
||||||
|
*/
|
||||||
|
$vars = array(
|
||||||
|
'task',
|
||||||
|
);
|
||||||
|
extract($phpbb_dispatcher->trigger_event('core.cron_run_before', compact($vars)));
|
||||||
|
|
||||||
if ($task->is_parametrized())
|
if ($task->is_parametrized())
|
||||||
{
|
{
|
||||||
$task->parse_parameters($request);
|
$task->parse_parameters($request);
|
||||||
|
@@ -379,8 +379,6 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)
|
|||||||
$sql = 'VALUES ' . implode(', ', preg_replace('#^(.*?)$#', '(\1)', $sql_subary));
|
$sql = 'VALUES ' . implode(', ', preg_replace('#^(.*?)$#', '(\1)', $sql_subary));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'mssql':
|
|
||||||
case 'sqlite':
|
|
||||||
case 'sqlite3':
|
case 'sqlite3':
|
||||||
$sql = implode(' UNION ALL ', preg_replace('#^(.*?)$#', 'SELECT \1', $sql_subary));
|
$sql = implode(' UNION ALL ', preg_replace('#^(.*?)$#', 'SELECT \1', $sql_subary));
|
||||||
break;
|
break;
|
||||||
|
@@ -49,7 +49,7 @@ $classes = $finder->core_path('phpbb/')
|
|||||||
->directory('/db/migration/data')
|
->directory('/db/migration/data')
|
||||||
->get_classes();
|
->get_classes();
|
||||||
|
|
||||||
$db = new \phpbb\db\driver\sqlite();
|
$db = new \phpbb\db\driver\sqlite3();
|
||||||
$factory = new \phpbb\db\tools\factory();
|
$factory = new \phpbb\db\tools\factory();
|
||||||
$db_tools = $factory->get($db, true);
|
$db_tools = $factory->get($db, true);
|
||||||
|
|
||||||
|
@@ -2,8 +2,9 @@
|
|||||||
<html dir="ltr" lang="en">
|
<html dir="ltr" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="keywords" content="" />
|
<meta name="keywords" content="" />
|
||||||
<meta name="description" content="phpBB 3.1.x Changelog" />
|
<meta name="description" content="phpBB 3.2.x Changelog" />
|
||||||
<title>phpBB • Changelog</title>
|
<title>phpBB • Changelog</title>
|
||||||
|
|
||||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
@@ -20,7 +21,7 @@
|
|||||||
|
|
||||||
<div id="doc-description">
|
<div id="doc-description">
|
||||||
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
||||||
<h1>phpBB 3.1.x Changelog</h1>
|
<h1>phpBB 3.2.x Changelog</h1>
|
||||||
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -35,7 +36,7 @@
|
|||||||
<!-- BEGIN DOCUMENT -->
|
<!-- BEGIN DOCUMENT -->
|
||||||
|
|
||||||
<p class="paragraph main-description">
|
<p class="paragraph main-description">
|
||||||
This is a non-exhaustive (but still near complete) changelog for phpBB 3.1.x including release candidate versions.
|
This is a non-exhaustive (but still near complete) changelog for phpBB 3.2.x including release candidate versions.
|
||||||
Our thanks to all those people who've contributed bug reports and code fixes.
|
Our thanks to all those people who've contributed bug reports and code fixes.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -49,10 +50,14 @@
|
|||||||
<ol>
|
<ol>
|
||||||
<li><a href="#changelog">Changelog</a>
|
<li><a href="#changelog">Changelog</a>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li><a href="#v320rc1">Changes since 3.2.0-RC1</a></li>
|
||||||
|
<li><a href="#v320b2">Changes since 3.2.0-b2</a></li>
|
||||||
<li><a href="#v320b1">Changes since 3.2.0-b1</a></li>
|
<li><a href="#v320b1">Changes since 3.2.0-b1</a></li>
|
||||||
<li><a href="#v320a2">Changes since 3.2.0-a2</a></li>
|
<li><a href="#v320a2">Changes since 3.2.0-a2</a></li>
|
||||||
<li><a href="#v320a1">Changes since 3.2.0-a1</a></li>
|
<li><a href="#v320a1">Changes since 3.2.0-a1</a></li>
|
||||||
<li><a href="#v31x">Changes since 3.1.x</a></li>
|
<li><a href="#v31x">Changes since 3.1.x</a></li>
|
||||||
|
<li><a href="#v319">Changes since 3.1.9</a></li>
|
||||||
|
<li><a href="#v318">Changes since 3.1.8</a></li>
|
||||||
<li><a href="#v317pl1">Changes since 3.1.7-PL1</a></li>
|
<li><a href="#v317pl1">Changes since 3.1.7-PL1</a></li>
|
||||||
<li><a href="#v317">Changes since 3.1.7</a></li>
|
<li><a href="#v317">Changes since 3.1.7</a></li>
|
||||||
<li><a href="#v316">Changes since 3.1.6</a></li>
|
<li><a href="#v316">Changes since 3.1.6</a></li>
|
||||||
@@ -119,6 +124,140 @@
|
|||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
<a name="v320rc1"></a><h3>Changes since 3.2.0-RC1</h3>
|
||||||
|
<h4>Bug</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14588">PHPBB3-14588</a>] - RTL Search Bar</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14612">PHPBB3-14612</a>] - Double .panel class on confirmation page (ajax error?)</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14628">PHPBB3-14628</a>] - CLI installer doesn't support the translatable error messages</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14633">PHPBB3-14633</a>] - Creating a new topic leaves a white page</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14636">PHPBB3-14636</a>] - BC compatibility broken using request_var</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14640">PHPBB3-14640</a>] - Wrong link to documentation in language/en/install.php</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14660">PHPBB3-14660</a>] - Emails are being sent unparsed</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14663">PHPBB3-14663</a>] - Incorrect unicode chars handling in custom BBCode</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14665">PHPBB3-14665</a>] - Invalid syntax in report_id_auto_increment migration</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14684">PHPBB3-14684</a>] - Extension Sniff script should use NOTESTS</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14690">PHPBB3-14690</a>] - Email queue cron task never runs for phpBB 3.2</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14692">PHPBB3-14692</a>] - Duplicate subexpression in questionnaire.php</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14700">PHPBB3-14700</a>] - Updating from 3.1 to 3.2, just stops</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14706">PHPBB3-14706</a>] - nested BB-Code [list] - shows different behaviour between 3.1 and 3.2</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14709">PHPBB3-14709</a>] - Deleting posts from mcp_main causes missing post_id notice</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14714">PHPBB3-14714</a>] - Update composer dependencies to latest versions</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14716">PHPBB3-14716</a>] - Impossible to install with open basedir restrictions</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14717">PHPBB3-14717</a>] - Quote any scalar in yaml files</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14739">PHPBB3-14739</a>] - Remove old SQLite 2.8.х database driver</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14740">PHPBB3-14740</a>] - BBcodes with quotes dont get parsed correctly</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14742">PHPBB3-14742</a>] - Improvements to migrator</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14746">PHPBB3-14746</a>] - Don't depend on container in installer msg_handler</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14748">PHPBB3-14748</a>] - Modify tests to pass PHP 7.1 tests</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14763">PHPBB3-14763</a>] - Files services definition specifies form for local type</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14764">PHPBB3-14764</a>] - Incomplete update notification points to wrong update-link</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14765">PHPBB3-14765</a>] - Parameter vs requirement spelling mismatch in installer routing config</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14774">PHPBB3-14774</a>] - Content-Range only supported for resuming downloads</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14782">PHPBB3-14782</a>] - Quick Links > Your Posts gives mysql error</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14788">PHPBB3-14788</a>] - Update developer list to reflect team changes</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14791">PHPBB3-14791</a>] - Trying to get form from wrong button in search test base</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14793">PHPBB3-14793</a>] - "A non-numeric value encountered" PHP warning on PHP 7.1+</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14794">PHPBB3-14794</a>] - Fix redirect behavior in according to parse_url() behavior changes in PHP 7.1+</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14797">PHPBB3-14797</a>] - Remove PHP 7.1 builds from allowed failures</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14799">PHPBB3-14799</a>] - purge_notifications() leaves open transaction for bad notification types.</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14813">PHPBB3-14813</a>] - functions_compatibility missing in phpbbcli</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14814">PHPBB3-14814</a>] - Text reparser reparses already correctly [re] -parsed objects</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14821">PHPBB3-14821</a>] - Do not expect parsed HTML in kernel subscriber output</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14846">PHPBB3-14846</a>] - Swapped variables in bbcode, first one doesn't get parsed</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14873">PHPBB3-14873</a>] - Missing width and height variables for smilies</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14875">PHPBB3-14875</a>] - Cannot use HTML entity type database passwords during installation</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14883">PHPBB3-14883</a>] - Text Reparser is Reparsing Empty Data</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14892">PHPBB3-14892</a>] - Assets paths broken on Windows instances</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14894">PHPBB3-14894</a>] - Update: download of conflict files offers .tar file without file extension</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14896">PHPBB3-14896</a>] - Link after installation fails at redirecting to ACP</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14897">PHPBB3-14897</a>] - IOHandler in the installer declares member variable only in the constructor</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14900">PHPBB3-14900</a>] - Disabled extension breakage in ACP</li>
|
||||||
|
</ul>
|
||||||
|
<h4>Improvement</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-10961">PHPBB3-10961</a>] - "You are not authorised..." still sends HTTP status 200 instead of i.e. 403</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13709">PHPBB3-13709</a>] - Fallback to english in email templates by extensions</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14586">PHPBB3-14586</a>] - phpBB Oauth V1 Wrapper Support</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14595">PHPBB3-14595</a>] - smtp port</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14620">PHPBB3-14620</a>] - Update docs/ for 3.2.x</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14689">PHPBB3-14689</a>] - Build 3.2.x API docs</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14729">PHPBB3-14729</a>] - Report post controller and report helper require specific implementation of config class</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14734">PHPBB3-14734</a>] - Use SVG emoji</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14805">PHPBB3-14805</a>] - Allow building package for previous versions on PHP 7</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14867">PHPBB3-14867</a>] - INCLUDECSS Path broken</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14885">PHPBB3-14885</a>] - Migrator logs need line breaks</li>
|
||||||
|
</ul>
|
||||||
|
<h4>New Feature</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12610">PHPBB3-12610</a>] - Add a command to check if the board is up to date.</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14484">PHPBB3-14484</a>] - Support extensions in UI tests</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14492">PHPBB3-14492</a>] - Improve send stats page and include VigLink</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14547">PHPBB3-14547</a>] - Add Vagrant Support</li>
|
||||||
|
</ul>
|
||||||
|
<h4>Task</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-10809">PHPBB3-10809</a>] - Remove PHP MSSQL Support</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13573">PHPBB3-13573</a>] - Investigate ability to use set_config() and similar compatibility functions.</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14671">PHPBB3-14671</a>] - Deduplicate database schema definiton</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14696">PHPBB3-14696</a>] - Fix email template test for '0' username</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14807">PHPBB3-14807</a>] - Updates dependencies</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<a name="v320b2"></a><h3>Changes since 3.2.0-b2</h3>
|
||||||
|
<h4>Bug</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-9435">PHPBB3-9435</a>] - "magic numbers" in message_parser.php/bbcode.php</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13616">PHPBB3-13616</a>] - Pass lexer directly to TWIG environment</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13972">PHPBB3-13972</a>] - 3.1.5 - Waiting time conflict</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14136">PHPBB3-14136</a>] - IE compatibility meta is missing in overall_header.html</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14198">PHPBB3-14198</a>] - Container cache filename doesn't depend on the build options</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14260">PHPBB3-14260</a>] - Right parenthesis breaks (some?) magic URLs</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14318">PHPBB3-14318</a>] - Board Notifications Config Migration Not Working</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14329">PHPBB3-14329</a>] - Updater Cannot remove files</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14381">PHPBB3-14381</a>] - Text Reparser fails with empty sql fields</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14393">PHPBB3-14393</a>] - Update 3.2.0a1 to 3.2.0a2 --> Error: CANNOT_DELETE_FILES </li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14426">PHPBB3-14426</a>] - viewtopic error posts bbcode pregmatch</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14481">PHPBB3-14481</a>] - phpBB does not obey HTTP_X_FORWARDED_PORT header</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14497">PHPBB3-14497</a>] - Update nginx sample config for new installer</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14527">PHPBB3-14527</a>] - Dataloss caused by link shortening</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14528">PHPBB3-14528</a>] - Structured data - breadcrumbs error</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14530">PHPBB3-14530</a>] - Signature parsing inconsistant</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14532">PHPBB3-14532</a>] - Database column default incorrectly escaped on MSSQL</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14550">PHPBB3-14550</a>] - function unique_id()</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14555">PHPBB3-14555</a>] - Inconsistent usage of the cache directory</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14559">PHPBB3-14559</a>] - Attachments' behaviour in quotes</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14562">PHPBB3-14562</a>] - Extension's permissions don't have language fallback</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14564">PHPBB3-14564</a>] - config cookie domain is empty</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14569">PHPBB3-14569</a>] - Add a method for console progress bar initialisation</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14572">PHPBB3-14572</a>] - Quote notifications deleted on edit</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14576">PHPBB3-14576</a>] - Functional Test Framework should include functions.php</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14577">PHPBB3-14577</a>] - Stop using sizeof() inside for() loop</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14589">PHPBB3-14589</a>] - Requirements test showing required text for "yellow/amber" (optional) requirements</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14590">PHPBB3-14590</a>] - Installer gets stuck at sending notification e-mail</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14591">PHPBB3-14591</a>] - Some installation data not being inserted when running under MS SQL Server</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14607">PHPBB3-14607</a>] - Missing Auto Increment in Report Table</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14619">PHPBB3-14619</a>] - docs/ folder need work to change 3.1.x to 3.2.x in readme, install, changelog etc</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14648">PHPBB3-14648</a>] - Users don't receive default notifications if another setting is set.</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14649">PHPBB3-14649</a>] - Missing variable within event</li>
|
||||||
|
</ul>
|
||||||
|
<h4>Improvement</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13502">PHPBB3-13502</a>] - controller resolver should handle callable functions and objects</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14540">PHPBB3-14540</a>] - Adjust class recursive_dot_prefix_filter_iterator to increase performance</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14561">PHPBB3-14561</a>] - Add additional commands for user actions</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14664">PHPBB3-14664</a>] - Fix PHPDoc comment in cron manager</li>
|
||||||
|
</ul>
|
||||||
|
<h4>New Feature</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12684">PHPBB3-12684</a>] - Add a command to add a user from the CLI</li>
|
||||||
|
</ul>
|
||||||
|
<h4>Task</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13969">PHPBB3-13969</a>] - Remove old help_* language files</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14565">PHPBB3-14565</a>] - Updates composer to 1.0.0-b2</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<a name="v320b1"></a><h3>Changes since 3.2.0-b1</h3>
|
<a name="v320b1"></a><h3>Changes since 3.2.0-b1</h3>
|
||||||
<h4>Bug</h4>
|
<h4>Bug</h4>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -470,6 +609,149 @@
|
|||||||
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14265">PHPBB3-14265</a>] - Make all tables available in the container</li>
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14265">PHPBB3-14265</a>] - Make all tables available in the container</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<a name="v319"></a><h3>Changes since 3.1.9</h3>
|
||||||
|
|
||||||
|
<h4>Bug</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-11446">PHPBB3-11446</a>] - Use sql_in_set as designed and consistent with the rest of phpBB code in phpbb_notification_manager</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12230">PHPBB3-12230</a>] - Do not auto remove user group when Newly Registered Users group was disabled</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12925">PHPBB3-12925</a>] - Use plural for permanent delete posts/topics confirmation</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14109">PHPBB3-14109</a>] - MySQL InnoDB does not support multiple index definitions on the same query.</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14291">PHPBB3-14291</a>] - Function send_file_to_browser() endlessly overwrites 'filesize' in ATTACHMENTS_TABLE</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14610">PHPBB3-14610</a>] - Q&A CAPTCHA logs error when it has been solved</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14615">PHPBB3-14615</a>] - delete avatar triggers the new min max value in the HTML5 inputs</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14616">PHPBB3-14616</a>] - Auto-prune fails on large forums</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14631">PHPBB3-14631</a>] - 3.1.9 DB cli update crashes with PHP Fatal error: Call to undefined function phpbb\truncate_string()</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14654">PHPBB3-14654</a>] - Imagemagick > ImageMagick</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14661">PHPBB3-14661</a>] - Fix a typo in twig.php</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14673">PHPBB3-14673</a>] - Missing Language Variable</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14683">PHPBB3-14683</a>] - Typos in operators in some email templates</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14703">PHPBB3-14703</a>] - module.add adds a module to the wrong parent</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14704">PHPBB3-14704</a>] - Remove unused language files and corresponding functions</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14721">PHPBB3-14721</a>] - New registrants choosing old deleted usernames get linked to old accounts with namechange</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14742">PHPBB3-14742</a>] - Improvements to migrator</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14745">PHPBB3-14745</a>] - "U_NOTIFICATION_SETTINGS" contains an HTML entity but is printed in a plaintext email</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14755">PHPBB3-14755</a>] - Error in MCP Move posts</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14782">PHPBB3-14782</a>] - Quick Links > Your Posts gives mysql error</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14788">PHPBB3-14788</a>] - Update developer list to reflect team changes</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14796">PHPBB3-14796</a>] - Log table is using constant in log delete method</li>
|
||||||
|
</ul>
|
||||||
|
<h4>Improvement</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13709">PHPBB3-13709</a>] - Fallback to english in email templates by extensions</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13716">PHPBB3-13716</a>] - Check phpBB version constant against config version</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13865">PHPBB3-13865</a>] - Complement core event search_modify_param</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14184">PHPBB3-14184</a>] - Missing info on SMTP mail function option</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14429">PHPBB3-14429</a>] - core.obtain_users_online_string_modify</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14466">PHPBB3-14466</a>] - Add an event to cron.php</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14469">PHPBB3-14469</a>] - [Template] - <!-- EVENT viewforum_topicrow_before --></li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14516">PHPBB3-14516</a>] - [Template] - memberlist_email_before</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14581">PHPBB3-14581</a>] - Add core events relating to soft delete</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14592">PHPBB3-14592</a>] - [PHP] - core.search_backend_search_after</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14596">PHPBB3-14596</a>] - Prevent installs of 3.1 on PHP 7</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14624">PHPBB3-14624</a>] - Add event to ucp_profile in signature section</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14630">PHPBB3-14630</a>] - Add event to ucp_pm_compose</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14638">PHPBB3-14638</a>] - [PHP] - multiple UCP subscription events for form data and template variables</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14643">PHPBB3-14643</a>] - Select newest file in restore list</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14652">PHPBB3-14652</a>] - Typo birthdays</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14664">PHPBB3-14664</a>] - Fix PHPDoc comment in cron manager</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14672">PHPBB3-14672</a>] - Add template event to viewforum</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14685">PHPBB3-14685</a>] - PHP event for altering announcements sql</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14687">PHPBB3-14687</a>] - Modify viewforum_modify_topicrow</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14688">PHPBB3-14688</a>] - Add core events to the feeds</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14689">PHPBB3-14689</a>] - Build 3.2.x API docs</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14695">PHPBB3-14695</a>] - Add posting_editor_subject_prepend/append template events</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14712">PHPBB3-14712</a>] - Add search.php core event to allow modifying the forum select list</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14713">PHPBB3-14713</a>] - Add core event to the admin function get_forum_list()</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14715">PHPBB3-14715</a>] - Add template events in posting_topic_review & mcp_topic</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14720">PHPBB3-14720</a>] - Add global javascript variable 'phpbb' to jshint settings</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14727">PHPBB3-14727</a>] - Event core.search_modify_submit_parameters</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14738">PHPBB3-14738</a>] - Add core events to improve modifying forum lists</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14747">PHPBB3-14747</a>] - Add topic_last_poster_id and topic_last_post_time to Event core.modify_posting_auth</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14762">PHPBB3-14762</a>] - Add core event to session.php to alter IP address</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14781">PHPBB3-14781</a>] - Add core event to the function group_user_attributes()</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14783">PHPBB3-14783</a>] - Event - ACP Posting Buttons Before Custom BBCodes</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14784">PHPBB3-14784</a>] - missing rewrite for lighttpd</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14785">PHPBB3-14785</a>] - [Template event] - overall_header_headerbar_append</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14787">PHPBB3-14787</a>] - Add more parameters to the core.search_modify_url_parameters event</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14789">PHPBB3-14789</a>] - Add missing link hash and form token checks to ACP</li>
|
||||||
|
</ul>
|
||||||
|
<h4>New Feature</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13978">PHPBB3-13978</a>] - [PHP] - User control panel - on signature change</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14484">PHPBB3-14484</a>] - Support extensions in UI tests</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14506">PHPBB3-14506</a>] - [Template] - mcp_move_before</li>
|
||||||
|
</ul>
|
||||||
|
<h4>Task</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12133">PHPBB3-12133</a>] - Update list of browsers supporting filename* in Content-Disposition</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14538">PHPBB3-14538</a>] - Update composer dependencies</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14598">PHPBB3-14598</a>] - Phing Sniffer Testing Use Statements in DocBlocks</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14743">PHPBB3-14743</a>] - Remove PHP7 from test matrix in 3.1.x</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<a name="v318"></a><h3>Changes since 3.1.8</h3>
|
||||||
|
|
||||||
|
<h4>Bug</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-8058">PHPBB3-8058</a>] - Default style in ACP->Board Settings not observing offset</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13028">PHPBB3-13028</a>] - "View unanswered posts" link should be called instead "View unanswered topics"</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13264">PHPBB3-13264</a>] - Editing an unapproved post as a moderator/admin approves it</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13521">PHPBB3-13521</a>] - Q&A Captcha ACP, required fields error corrupts inputted data</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13630">PHPBB3-13630</a>] - NULL value parsed into $select_single can cause 403 Forbidden on certain restrictive hosting environments for "Find a Member" function within Private Message composition</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13681">PHPBB3-13681</a>] - Email queue shouldn't be cached by opcache</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13683">PHPBB3-13683</a>] - Controller generates urls with absolute path of phpbb's root</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13842">PHPBB3-13842</a>] - Missing rewrite module on IIS7 leads to an error</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-13977">PHPBB3-13977</a>] - Fatal error entering UCP if bookmarked topic was deleted</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14132">PHPBB3-14132</a>] - SQL Error when creating a new subject on fresh installation</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14136">PHPBB3-14136</a>] - IE compatibility meta is missing in overall_header.html</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14241">PHPBB3-14241</a>] - Security bug into Spambot control Questions</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14272">PHPBB3-14272</a>] - Use valid html5 input elements in forms</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14290">PHPBB3-14290</a>] - Function set_modified_headers() never sends 304 'Not Modified' header</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14408">PHPBB3-14408</a>] - Remove span corners</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14422">PHPBB3-14422</a>] - Support cmd+enter & ctrl+enter for submitting message</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14437">PHPBB3-14437</a>] - Place Inline Images on Post get scrambled up -- not follow the order you place them in.</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14443">PHPBB3-14443</a>] - jabber notification-template prefix "short" breaks resolution of paths in extensions</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14475">PHPBB3-14475</a>] - Do not log upon automatically removing users form newly registered users group</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14481">PHPBB3-14481</a>] - phpBB does not obey HTTP_X_FORWARDED_PORT header</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14483">PHPBB3-14483</a>] - call to header(arg, arg) function sendHeaders() in Response.php causes Error 500 in app.php generated links</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14496">PHPBB3-14496</a>] - Automatic update relies on cache creating files in cache folder</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14500">PHPBB3-14500</a>] - Duplicate newversion in build.xml</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14514">PHPBB3-14514</a>] - Users get skipped in passwords_convert_p1 migration</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14519">PHPBB3-14519</a>] - Do not query database for unread notifications if all are retrieved</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14532">PHPBB3-14532</a>] - Database column default incorrectly escaped on MSSQL</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14533">PHPBB3-14533</a>] - "U_NOTIFICATION_SETTINGS" doesn't return the correct URL</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14536">PHPBB3-14536</a>] - Force timestamp to be integer in user::format_date()</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14559">PHPBB3-14559</a>] - Attachments' behaviour in quotes</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14562">PHPBB3-14562</a>] - Extension's permissions don't have language fallback</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14570">PHPBB3-14570</a>] - Board versions for 3.2.x can be accidentally downgraded to 3.1.x</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14577">PHPBB3-14577</a>] - Stop using sizeof() inside for() loop</li>
|
||||||
|
</ul>
|
||||||
|
<h4>Improvement</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-10356">PHPBB3-10356</a>] - Username search should find all users for administrators instead of NORMALs and FOUNDERs only</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12305">PHPBB3-12305</a>] - Add new event core.viewforum_get_topic_id_sql to control forum topic listing</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14134">PHPBB3-14134</a>] - Send warning notification PM in user's language.</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14316">PHPBB3-14316</a>] - Add memberlist_view.html template events before/after the custom fields and zebra links</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14365">PHPBB3-14365</a>] - Add core event to the function topic_review() </li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14366">PHPBB3-14366</a>] - Add core events to the function decode_message()</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14395">PHPBB3-14395</a>] - Add event core.viewtopic_add_quickmod_option_after</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14471">PHPBB3-14471</a>] - Add filedata var to the core.avatar_driver_upload_move_file_before event</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14486">PHPBB3-14486</a>] - Add an event and fix an event in login_box()</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14508">PHPBB3-14508</a>] - Change language notice on account activation</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14540">PHPBB3-14540</a>] - Adjust class recursive_dot_prefix_filter_iterator to increase performance</li>
|
||||||
|
</ul>
|
||||||
|
<h4>New Feature</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-12684">PHPBB3-12684</a>] - Add a command to add a user from the CLI</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14189">PHPBB3-14189</a>] - [PHP] - core.gen_sort_selects_after</li>
|
||||||
|
</ul>
|
||||||
|
<h4>Task</h4>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14538">PHPBB3-14538</a>] - Update composer dependencies</li>
|
||||||
|
<li>[<a href="http://tracker.phpbb.com/browse/PHPBB3-14565">PHPBB3-14565</a>] - Updates composer to 1.0.0-b2</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
<a name="v317pl1"></a><h3>Changes since 3.1.7-PL1</h3>
|
<a name="v317pl1"></a><h3>Changes since 3.1.7-PL1</h3>
|
||||||
|
|
||||||
<h4>Bug</h4>
|
<h4>Bug</h4>
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* phpBB © Copyright phpBB Limited 2003-2014
|
* phpBB © Copyright phpBB Limited 2003-2016
|
||||||
* http://www.phpbb.com
|
* http://www.phpbb.com
|
||||||
*
|
*
|
||||||
* phpBB is free software. You can redistribute it and/or modify it
|
* phpBB is free software. You can redistribute it and/or modify it
|
||||||
@@ -20,14 +20,13 @@
|
|||||||
|
|
||||||
phpBB Project Manager: Marshalrusty (Yuriy Rusko)
|
phpBB Project Manager: Marshalrusty (Yuriy Rusko)
|
||||||
|
|
||||||
phpBB Lead Developer: naderman (Nils Adermann)
|
phpBB Product Manager: naderman (Nils Adermann)
|
||||||
|
|
||||||
|
phpBB Lead Developer: Marc (Marc Alexander)
|
||||||
|
|
||||||
phpBB Developers: bantu (Andreas Fischer)
|
phpBB Developers: bantu (Andreas Fischer)
|
||||||
CHItA (Máté Bartus)
|
CHItA (Máté Bartus)
|
||||||
dhruv.goel92 (Dhruv Goel)
|
|
||||||
Elsensee (Oliver Schramm)
|
Elsensee (Oliver Schramm)
|
||||||
marc1706 (Marc Alexander)
|
|
||||||
nickvergessen (Joas Schilling)
|
|
||||||
Nicofuma (Tristan Darricau)
|
Nicofuma (Tristan Darricau)
|
||||||
prototech (Cesar Gallegos)
|
prototech (Cesar Gallegos)
|
||||||
|
|
||||||
@@ -54,11 +53,13 @@ phpBB Developers: A_Jelly_Doughnut (Josh Woody) [01/2010 - 11/2010]
|
|||||||
ckwalsh (Cullen Walsh) [01/2010 - 07/2011]
|
ckwalsh (Cullen Walsh) [01/2010 - 07/2011]
|
||||||
DavidMJ (David M.) [12/2005 - 08/2009]
|
DavidMJ (David M.) [12/2005 - 08/2009]
|
||||||
dhn (Dominik Dröscher) [05/2007 - 01/2011]
|
dhn (Dominik Dröscher) [05/2007 - 01/2011]
|
||||||
|
dhruv.goel92 (Dhruv Goel) [04/2013 - 05/2016]
|
||||||
EXreaction (Nathan Guse) [07/2012 - 05/2014]
|
EXreaction (Nathan Guse) [07/2012 - 05/2014]
|
||||||
GrahamJE (Graham Eames) [09/2005 - 11/2006]
|
GrahamJE (Graham Eames) [09/2005 - 11/2006]
|
||||||
igorw (Igor Wiedler) [08/2010 - 02/2013]
|
igorw (Igor Wiedler) [08/2010 - 02/2013]
|
||||||
imkingdavid (David King) [11/2012 - 06/2014]
|
imkingdavid (David King) [11/2012 - 06/2014]
|
||||||
kellanved (Henry Sudhof) [04/2007 - 03/2011]
|
kellanved (Henry Sudhof) [04/2007 - 03/2011]
|
||||||
|
nickvergessen (Joas Schilling)[04/2010 - 12/2015]
|
||||||
Oleg (Oleg Pudeyev) [01/2011 - 05/2013]
|
Oleg (Oleg Pudeyev) [01/2011 - 05/2013]
|
||||||
rxu (Ruslan Uzdenov) [04/2010 - 12/2012]
|
rxu (Ruslan Uzdenov) [04/2010 - 12/2012]
|
||||||
TerraFrost (Jim Wigginton) [04/2009 - 01/2011]
|
TerraFrost (Jim Wigginton) [04/2009 - 01/2011]
|
||||||
@@ -74,9 +75,7 @@ Major contributions by: leviatan21 (Gabriel Vazquez)
|
|||||||
|
|
||||||
Visual Confirmation: Xore (Robert Hetzler)
|
Visual Confirmation: Xore (Robert Hetzler)
|
||||||
|
|
||||||
Original subSilver by subBlue Design, Tom Beddard, (c) 2001 phpBB Limited
|
|
||||||
prosilver by subBlue Design, Tom Beddard, (c) 2004 phpBB Limited
|
prosilver by subBlue Design, Tom Beddard, (c) 2004 phpBB Limited
|
||||||
subsilver2 by subBlue Design, Tom Beddard, (c) 2004 phpBB Limited
|
|
||||||
|
|
||||||
phpBB contains code from the following applications:
|
phpBB contains code from the following applications:
|
||||||
|
|
||||||
@@ -98,4 +97,5 @@ Pear (c) 2001-2004 PHP Group, http://pear.php.net
|
|||||||
Text_Diff-0.2.1 http://pear.php.net/package/Text_Diff
|
Text_Diff-0.2.1 http://pear.php.net/package/Text_Diff
|
||||||
|
|
||||||
MIT licenced:
|
MIT licenced:
|
||||||
Symfony2 (c) 2004-2011 Fabien Potencier, http://symfony.com/
|
Symfony2 (c) 2004-2011 Fabien Potencier, https://symfony.com/
|
||||||
|
Cookie Consent (c) 2015 Silktide Ltd, https://cookieconsent.insites.com
|
||||||
|
@@ -2,8 +2,9 @@
|
|||||||
<html dir="ltr" lang="en">
|
<html dir="ltr" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="keywords" content="" />
|
<meta name="keywords" content="" />
|
||||||
<meta name="description" content="phpBB 3.1.x frequently asked questions" />
|
<meta name="description" content="phpBB 3.2.x frequently asked questions" />
|
||||||
<title>phpBB • FAQ</title>
|
<title>phpBB • FAQ</title>
|
||||||
|
|
||||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
@@ -20,8 +21,8 @@
|
|||||||
|
|
||||||
<div id="doc-description">
|
<div id="doc-description">
|
||||||
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
||||||
<h1>phpBB 3.1.x FAQ</h1>
|
<h1>phpBB 3.2.x FAQ</h1>
|
||||||
<p>phpBB 3.1.x frequently asked questions</p>
|
<p>phpBB 3.2.x frequently asked questions</p>
|
||||||
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -248,7 +249,7 @@ I want to sue you because i think you host an illegal board!</h2>
|
|||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<p>Please read the paragraph about permissions in our extensive <a href="https://www.phpbb.com/support/docs/en/3.1/ug/">online documentation</a>.</p>
|
<p>Please read the paragraph about permissions in our extensive <a href="https://www.phpbb.com/support/docs/en/3.2/ug/">online documentation</a>.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -304,7 +305,7 @@ I want to sue you because i think you host an illegal board!</h2>
|
|||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<p>Please read our <a href="https://www.phpbb.com/support/docs/en/3.1/ug/">extensive user documentation</a> first, it may just explain what you want to know.</p>
|
<p>Please read our <a href="https://www.phpbb.com/support/docs/en/3.2/ug/">extensive user documentation</a> first, it may just explain what you want to know.</p>
|
||||||
|
|
||||||
<p>Feel free to search our community forum for the information you require. <strong>PLEASE DO NOT</strong> post your question without having first used search, chances are someone has already asked and answered your question. You can find our board here:</p>
|
<p>Feel free to search our community forum for the information you require. <strong>PLEASE DO NOT</strong> post your question without having first used search, chances are someone has already asked and answered your question. You can find our board here:</p>
|
||||||
|
|
||||||
|
@@ -2,8 +2,9 @@
|
|||||||
<html dir="ltr" lang="en">
|
<html dir="ltr" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="keywords" content="" />
|
<meta name="keywords" content="" />
|
||||||
<meta name="description" content="phpBB 3.1.x Installation, updating and conversion informations" />
|
<meta name="description" content="phpBB 3.2.x Installation, updating and conversion informations" />
|
||||||
<title>phpBB • Install</title>
|
<title>phpBB • Install</title>
|
||||||
|
|
||||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
@@ -20,8 +21,8 @@
|
|||||||
|
|
||||||
<div id="doc-description">
|
<div id="doc-description">
|
||||||
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
||||||
<h1>phpBB 3.1.x Install</h1>
|
<h1>phpBB 3.2.x Install</h1>
|
||||||
<p>phpBB 3.1.x Installation, updating and conversion informations</p>
|
<p>phpBB 3.2.x Installation, updating and conversion informations</p>
|
||||||
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -58,7 +59,7 @@
|
|||||||
<li><a href="#quickinstall">Quick install</a></li>
|
<li><a href="#quickinstall">Quick install</a></li>
|
||||||
<li><a href="#require">Requirements</a></li>
|
<li><a href="#require">Requirements</a></li>
|
||||||
<li><a href="#install">New installation</a></li>
|
<li><a href="#install">New installation</a></li>
|
||||||
<li><a href="#update">Updating from stable releases of phpBB 3.1.x</a>
|
<li><a href="#update">Updating from stable releases of phpBB 3.2.x</a>
|
||||||
<ol style="list-style-type: lower-roman;">
|
<ol style="list-style-type: lower-roman;">
|
||||||
<li><a href="#update_full">Full package</a></li>
|
<li><a href="#update_full">Full package</a></li>
|
||||||
<li><a href="#update_files">Changed files</a></li>
|
<li><a href="#update_files">Changed files</a></li>
|
||||||
@@ -67,8 +68,8 @@
|
|||||||
<li><a href="#update_all">All package types</a></li>
|
<li><a href="#update_all">All package types</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#update30">Updating from phpBB 3.0.x to phpBB 3.1.x</a></li>
|
<li><a href="#update30_31">Updating from phpBB 3.0.x/3.1.x to phpBB 3.2.x</a></li>
|
||||||
<li><a href="#convert">Conversion from phpBB 2.0.x to phpBB 3.1.x</a>
|
<li><a href="#convert">Conversion from phpBB 2.0.x to phpBB 3.2.x</a>
|
||||||
<ol style="list-style-type: lower-roman;">
|
<ol style="list-style-type: lower-roman;">
|
||||||
<li><a href="#prereq">Requirements before converting</a></li>
|
<li><a href="#prereq">Requirements before converting</a></li>
|
||||||
<li><a href="#conversion">Converting</a></li>
|
<li><a href="#conversion">Converting</a></li>
|
||||||
@@ -108,7 +109,7 @@
|
|||||||
<li>Change the permissions on config.php to be writable by all (666 or -rw-rw-rw- within your FTP Client)</li>
|
<li>Change the permissions on config.php to be writable by all (666 or -rw-rw-rw- within your FTP Client)</li>
|
||||||
<li>Change the permissions on the following directories to be writable by all (777 or -rwxrwxrwx within your FTP Client):<br />
|
<li>Change the permissions on the following directories to be writable by all (777 or -rwxrwxrwx within your FTP Client):<br />
|
||||||
<code>store/</code>, <code>cache/</code>, <code>files/</code> and <code>images/avatars/upload/</code>.</li>
|
<code>store/</code>, <code>cache/</code>, <code>files/</code> and <code>images/avatars/upload/</code>.</li>
|
||||||
<li>Point your web browser to the location where you uploaded the phpBB3 files with the addition of <code>install/index.php</code> or simply <code>install/</code>, e.g. <code>http://www.example.com/phpBB3/install/index.php</code>, <code>http://www.example.com/forum/install/</code>.</li>
|
<li>Point your web browser to the location where you uploaded the phpBB3 files with the addition of <code>install/app.php</code> or simply <code>install/</code>, e.g. <code>http://www.example.com/phpBB3/install/app.php</code>, <code>http://www.example.com/forum/install/</code>.</li>
|
||||||
<li>Click the <strong><em>INSTALL</em></strong> tab, follow the steps and fill out all the requested information.</li>
|
<li>Click the <strong><em>INSTALL</em></strong> tab, follow the steps and fill out all the requested information.</li>
|
||||||
<li>Change the permissions on config.php to be writable only by yourself (644 or -rw-r--r-- within your FTP Client)</li>
|
<li>Change the permissions on config.php to be writable only by yourself (644 or -rw-r--r-- within your FTP Client)</li>
|
||||||
<li>phpBB3 should now be available, please <strong>MAKE SURE</strong> you read at least <a href="#postinstall">Section 6</a> below for important, security related post-installation instructions, and also take note of <a href="#anti_spam">Section 7</a> regarding anti-spam measures.</li>
|
<li>phpBB3 should now be available, please <strong>MAKE SURE</strong> you read at least <a href="#postinstall">Section 6</a> below for important, security related post-installation instructions, and also take note of <a href="#anti_spam">Section 7</a> regarding anti-spam measures.</li>
|
||||||
@@ -132,7 +133,7 @@
|
|||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<p>phpBB 3.1.x has a few requirements which must be met before you are able to install and use it.</p>
|
<p>phpBB 3.2.x has a few requirements which must be met before you are able to install and use it.</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>A webserver or web hosting account running on any major Operating System with support for PHP</li>
|
<li>A webserver or web hosting account running on any major Operating System with support for PHP</li>
|
||||||
@@ -141,13 +142,12 @@
|
|||||||
<li>MySQL 3.23 or above (MySQLi supported)</li>
|
<li>MySQL 3.23 or above (MySQLi supported)</li>
|
||||||
<li>MariaDB 5.1 or above</li>
|
<li>MariaDB 5.1 or above</li>
|
||||||
<li>PostgreSQL 8.3+</li>
|
<li>PostgreSQL 8.3+</li>
|
||||||
<li>SQLite 2.8.2+</li>
|
|
||||||
<li>SQLite 3.6.15+</li>
|
<li>SQLite 3.6.15+</li>
|
||||||
<li>MS SQL Server 2000 or above (directly or via ODBC or the native adapter)</li>
|
<li>MS SQL Server 2000 or above (via ODBC or the native adapter)</li>
|
||||||
<li>Oracle</li>
|
<li>Oracle</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><strong>PHP 5.4.0+</strong> and <strong>PHP < 7.1</strong> with support for the database you intend to use.</li>
|
<li><strong>PHP 5.4.0+</strong> with support for the database you intend to use.</li>
|
||||||
<li>The following PHP modules are required:
|
<li>The following PHP modules are required:
|
||||||
<ul>
|
<ul>
|
||||||
<li>json</li>
|
<li>json</li>
|
||||||
@@ -159,13 +159,13 @@
|
|||||||
<li>zlib Compression support</li>
|
<li>zlib Compression support</li>
|
||||||
<li>Remote FTP support</li>
|
<li>Remote FTP support</li>
|
||||||
<li>XML support</li>
|
<li>XML support</li>
|
||||||
<li>Imagemagick support</li>
|
<li>ImageMagick support</li>
|
||||||
<li>GD Support</li>
|
<li>GD Support</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>If your server or hosting account does not meet the requirements above then you will be unable to install phpBB 3.1.x.</p>
|
<p>If your server or hosting account does not meet the requirements above then you will be unable to install phpBB 3.2.x.</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
|
|
||||||
<p>phpBB comes supplied with British English as its standard language. However, a number of separate packs for different languages are available. If you are not a native English speaker you may wish to install one or more of these packages before continuing. The installation process below will allow you to select a default language from those available (you can, of course, change this default at a later stage). For more details on language packs, where to obtain them and how to install them please see the <a href="README.html#i18n">README</a>.</p>
|
<p>phpBB comes supplied with British English as its standard language. However, a number of separate packs for different languages are available. If you are not a native English speaker you may wish to install one or more of these packages before continuing. The installation process below will allow you to select a default language from those available (you can, of course, change this default at a later stage). For more details on language packs, where to obtain them and how to install them please see the <a href="README.html#i18n">README</a>.</p>
|
||||||
|
|
||||||
<p>Once all the files have been uploaded to your site, you should point your browser at this location with the addition of <code>/install/</code>. For example, if your domain name is <code>www.example.com</code> and you placed the phpBB files in the directory <code>/phpBB3</code> off your web root you would enter <code>http://www.example.com/phpBB3/install/</code> or (alternatively) <code>http://www.example.com/phpBB3/install/index.php</code> into your browser. When you have done this, you should see the <strong><em>phpBB Introduction</em></strong> screen appear.</p>
|
<p>Once all the files have been uploaded to your site, you should point your browser at this location with the addition of <code>/install/</code>. For example, if your domain name is <code>www.example.com</code> and you placed the phpBB files in the directory <code>/phpBB3</code> off your web root you would enter <code>http://www.example.com/phpBB3/install/</code> or (alternatively) <code>http://www.example.com/phpBB3/install/app.php</code> into your browser. When you have done this, you should see the <strong><em>phpBB Introduction</em></strong> screen appear.</p>
|
||||||
|
|
||||||
<h4>Introduction:</h4>
|
<h4>Introduction:</h4>
|
||||||
|
|
||||||
@@ -256,7 +256,7 @@
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<a name="update"></a><h2>4. Updating from stable releases of phpBB 3.1.x</h2>
|
<a name="update"></a><h2>4. Updating from stable releases of phpBB 3.2.x</h2>
|
||||||
|
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
@@ -271,17 +271,17 @@
|
|||||||
|
|
||||||
<p>The full package is normally meant for new installations only, but if you want to replace all source files, this package comes in handy.</p>
|
<p>The full package is normally meant for new installations only, but if you want to replace all source files, this package comes in handy.</p>
|
||||||
|
|
||||||
<p>First, you should make a copy of your existing <code>config.php</code> file; keep it in a safe place! Next, delete all the existing phpBB files, you may want to leave your <code>files/</code> and <code>images/</code> directories in place. You can leave alternative styles in place too. With this complete, you can upload the new phpBB files (see <a href="#install">New installation</a> for details if necessary). Once complete, copy back your saved <code>config.php</code>, replacing the new one. Another method is to just <strong>replace</strong> the existing files with the files from the full package - though make sure you do <strong>not</strong> overwrite your config.php file.</p>
|
<p>First, you should make a copy of your existing <code>config.php</code> file; keep it in a safe place! Next, delete all the existing phpBB files, you may want to leave your <code>files/</code>, <code>images/</code> and <code>ext/</code> directories in place, otherwise you will lose your file attachments, uploaded images and get error due to missing extension files. You can leave alternative styles in place too. With this complete, you can upload the new phpBB files (see <a href="#install">New installation</a> for details if necessary). Once complete, copy back your saved <code>config.php</code>, replacing the new one. Another method is to just <strong>replace</strong> the existing files with the files from the full package - though make sure you do <strong>not</strong> overwrite your config.php file.</p>
|
||||||
|
|
||||||
<p>You should now run <code>install/database_update.php</code> which, depending on your previous version, will make a number of database changes. You may receive <em>FAILURES</em> during this procedure. They should not be a cause for concern unless you see an actual <em>ERROR</em>, in which case the script will stop (in this case you should seek help via our forums or bug tracker). If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
|
<p>You should now got to <code>/install/app.php/update</code> which will display a warning: <strong>No valid update directory was found, please make sure you uploaded the relevant files</strong>. Beneath that warning you will see a radion button <em>Update database only</em>, just click <strong>Submit</strong>. Depending on your previous version this will make a number of database changes. You may receive <em>FAILURES</em> during this procedure. They should not be a cause for concern unless you see an actual <em>ERROR</em>, in which case the script will stop (in this case you should seek help via our forums or bug tracker). If you have shell access to your server, you may wish to update via the command line interface. From your board's root, execute the following command: <code>php bin/phpbbcli.php --safe-mode db:migrate</code>.</p>
|
||||||
|
|
||||||
<p>Once <code>install/database_update.php</code> has completed, you may proceed to the Administration Control Panel and then remove the install directory as advised.</p>
|
<p>Once <code>/install/app.php/update</code> has completed, it displays the success message: <strong>The database update was successful</strong>. You may proceed to the Administration Control Panel and then remove the install directory as advised.</p>
|
||||||
|
|
||||||
<a name="update_files"></a><h3>4.ii. Changed files</h3>
|
<a name="update_files"></a><h3>4.ii. Changed files</h3>
|
||||||
|
|
||||||
<p>This package is meant for those wanting to only replace the files that were changed between a previous version and the latest version.</p>
|
<p>This package is meant for those wanting to only replace the files that were changed between a previous version and the latest version.</p>
|
||||||
|
|
||||||
<p>This package contains a number of archives, each contains the files changed from a given release to the latest version. You should select the appropriate archive for your current version, e.g. if you currently have <strong>3.1.0</strong> you should select the appropriate <code>phpBB-3.1.1-files.zip/tar.bz2</code> file.</p>
|
<p>This package contains a number of archives, each contains the files changed from a given release to the latest version. You should select the appropriate archive for your current version, e.g. if you currently have <strong>3.2.0</strong> you should select the appropriate <code>phpBB-3.2.1-files.zip/tar.bz2</code> file.</p>
|
||||||
|
|
||||||
<p>The directory structure has been preserved, enabling you (if you wish) to simply upload the uncompressed contents of the archive to the appropriate location on your server, i.e. simply overwrite the existing files with the new versions. Do not forget that if you have installed any modifications (MODs) these files will overwrite the originals, possibly destroying them in the process. You will need to re-add MODs to any affected file before uploading.</p>
|
<p>The directory structure has been preserved, enabling you (if you wish) to simply upload the uncompressed contents of the archive to the appropriate location on your server, i.e. simply overwrite the existing files with the new versions. Do not forget that if you have installed any modifications (MODs) these files will overwrite the originals, possibly destroying them in the process. You will need to re-add MODs to any affected file before uploading.</p>
|
||||||
|
|
||||||
@@ -291,9 +291,9 @@
|
|||||||
|
|
||||||
<p>The patch file package is for those wanting to update through the patch application, and should only be used by those who are comfortable with it.</p>
|
<p>The patch file package is for those wanting to update through the patch application, and should only be used by those who are comfortable with it.</p>
|
||||||
|
|
||||||
<p>The patch file is one solution for those with many Modifications (MODs) or other changes and do not want to re-add them back to all the changed files. To use this you will need command line access to a standard UNIX type <strong>patch</strong> application. If you do not have access to such an application, but still want to use this update approach, we strongly recommend the <a href="#update_auto">Automatic update package</a> explained below. It is also the recommended update method.</p>
|
<p>The patch file is one solution for those with changes in to the phpBB core files and do not want to re-add them back to all the changed files. To use this you will need command line access to a standard UNIX type <strong>patch</strong> application. If you do not have access to such an application, but still want to use this update approach, we strongly recommend the <a href="#update_auto">Automatic update package</a> explained below. It is also the recommended update method.</p>
|
||||||
|
|
||||||
<p>A number of patch files are provided to allow you to update from previous stable releases. Select the correct patch, e.g. if your current version is <strong>3.1.0</strong>, you need the <code>phpBB-3.1.1-patch.zip/tar.bz2</code> file. Place the correct patch in the parent directory containing the phpBB core files (i.e. index.php, viewforum.php, etc.). With this done you should run the following command: <code>patch -cl -d [PHPBB DIRECTORY] -p1 < [PATCH NAME]</code> (where PHPBB DIRECTORY is the directory name your phpBB Installation resides in, for example phpBB, and where PATCH NAME is the relevant filename of the selected patch file). This should complete quickly, hopefully without any HUNK FAILED comments.</p>
|
<p>A number of patch files are provided to allow you to update from previous stable releases. Select the correct patch, e.g. if your current version is <strong>3.2.0</strong>, you need the <code>phpBB-3.2.1-patch.zip/tar.bz2</code> file. Place the correct patch in the parent directory containing the phpBB core files (i.e. index.php, viewforum.php, etc.). With this done you should run the following command: <code>patch -cl -d [PHPBB DIRECTORY] -p1 < [PATCH NAME]</code> (where PHPBB DIRECTORY is the directory name your phpBB Installation resides in, for example phpBB, and where PATCH NAME is the relevant filename of the selected patch file). This should complete quickly, hopefully without any HUNK FAILED comments.</p>
|
||||||
|
|
||||||
<p>If you do get failures, you should look at using the <a href="#update_files">Changed Files</a> package to replace the files which failed to patch. Please note that you will need to manually re-add any MODs to these particular files. Alternatively, if you know how, you can examine the .rej files to determine what failed where and make manual adjustments to the relevant source.</p>
|
<p>If you do get failures, you should look at using the <a href="#update_files">Changed Files</a> package to replace the files which failed to patch. Please note that you will need to manually re-add any MODs to these particular files. Alternatively, if you know how, you can examine the .rej files to determine what failed where and make manual adjustments to the relevant source.</p>
|
||||||
|
|
||||||
@@ -303,7 +303,7 @@
|
|||||||
|
|
||||||
<p>This update method is the recommended method for updating. This package detects changed files automatically and merges in changes if needed.</p>
|
<p>This update method is the recommended method for updating. This package detects changed files automatically and merges in changes if needed.</p>
|
||||||
|
|
||||||
<p>The automatic update package will update the board from a given version to the latest version. A number of automatic update files are available, and you should choose the one that corresponds to the version of the board that you are currently running. For example, if your current version is <strong>3.1.5</strong>, you need the <code>phpBB-3.1.5_to_3.1.6.zip/tar.bz2</code> file.</p>
|
<p>The automatic update package will update the board from a given version to the latest version. A number of automatic update files are available, and you should choose the one that corresponds to the version of the board that you are currently running. For example, if your current version is <strong>3.2.0</strong>, you need the <code>phpBB-3.2.0_to_3.2.1.zip/tar.bz2</code> file.</p>
|
||||||
|
|
||||||
<p>To perform the update, either follow the instructions from the <strong>Administration Control Panel->System</strong> Tab - this should point out that you are running an outdated version and will guide you through the update - or follow the instructions listed below.</p>
|
<p>To perform the update, either follow the instructions from the <strong>Administration Control Panel->System</strong> Tab - this should point out that you are running an outdated version and will guide you through the update - or follow the instructions listed below.</p>
|
||||||
|
|
||||||
@@ -332,16 +332,16 @@
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<a name="update30"></a><h2>5. Updating from phpBB 3.0.x to phpBB 3.1.x</h2>
|
<a name="update30_31"></a><h2>5. Updating from phpBB 3.0.x/3.1x to phpBB 3.2.x</h2>
|
||||||
|
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<div class="inner"><span class="corners-top"><span></span></span>
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<p>Updating from phpBB 3.0.x to 3.1.x is just the same as <a href="#update">updating from stable releases of phpBB 3.1.x</a></p>
|
<p>Updating from phpBB 3.0.x or 3.1.x to 3.2.x is just the same as <a href="#update">updating from stable releases of phpBB 3.2.x</a></p>
|
||||||
|
|
||||||
<p>However you can also start with a new set of phpBB 3.1.x files.</p>
|
<p>However you can also start with a new set of phpBB 3.2.x files.</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>Delete all files <strong>EXCEPT</strong> for the following:
|
<li>Delete all files <strong>EXCEPT</strong> for the following:
|
||||||
@@ -351,10 +351,12 @@
|
|||||||
<li>The <code>images/</code> directory</li>
|
<li>The <code>images/</code> directory</li>
|
||||||
<li>The <code>files/</code> directory</li>
|
<li>The <code>files/</code> directory</li>
|
||||||
<li>The <code>store/</code> directory</li>
|
<li>The <code>store/</code> directory</li>
|
||||||
|
<li>(The <code>ext/</code> directory</li>
|
||||||
</ul></li>
|
</ul></li>
|
||||||
|
|
||||||
<li>Upload the contents of the 3.1.x Full Package into your forum's directory. Make sure the root level .htaccess file is included in the upload.</li>
|
<li>Upload the contents of the 3.2.x Full Package into your forum's directory. Make sure the root level .htaccess file is included in the upload.</li>
|
||||||
<li>Browse to install/database_update.php</li>
|
<li>Browse to <code>/install/app.php/update</code></li>
|
||||||
|
<li>Read the notice <em>Update database only</em> and press <strong>Submit</strong></li>
|
||||||
<li>Delete the <code>install/</code> directory</li>
|
<li>Delete the <code>install/</code> directory</li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
@@ -366,7 +368,7 @@
|
|||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
<a name="convert"></a><h2>6. Conversion from phpBB 2.0.x to phpBB 3.1.x</h2>
|
<a name="convert"></a><h2>6. Conversion from phpBB 2.0.x to phpBB 3.2.x</h2>
|
||||||
|
|
||||||
<div class="paragraph">
|
<div class="paragraph">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
@@ -2,8 +2,9 @@
|
|||||||
<html dir="ltr" lang="en">
|
<html dir="ltr" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="keywords" content="" />
|
<meta name="keywords" content="" />
|
||||||
<meta name="description" content="phpBB 3.1.x Readme" />
|
<meta name="description" content="phpBB 3.2.x Readme" />
|
||||||
<title>phpBB • Readme</title>
|
<title>phpBB • Readme</title>
|
||||||
|
|
||||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
@@ -20,7 +21,7 @@
|
|||||||
|
|
||||||
<div id="doc-description">
|
<div id="doc-description">
|
||||||
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
||||||
<h1>phpBB 3.1.x Readme</h1>
|
<h1>phpBB 3.2.x Readme</h1>
|
||||||
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -90,24 +91,23 @@
|
|||||||
<div class="content">
|
<div class="content">
|
||||||
<p>Installation, update and conversion instructions can be found in the <a href="INSTALL.html">INSTALL</a> document in this directory. If you are intending on converting from a phpBB 2.0.x or 3.0.x installation we highly recommend that you backup any existing data before proceeding!</p>
|
<p>Installation, update and conversion instructions can be found in the <a href="INSTALL.html">INSTALL</a> document in this directory. If you are intending on converting from a phpBB 2.0.x or 3.0.x installation we highly recommend that you backup any existing data before proceeding!</p>
|
||||||
|
|
||||||
<p>Users of phpBB 3.0 and 3.1 Beta versions cannot directly update.</p>
|
<p>Users of phpBB 3.0, 3.1 and 3.2 Beta versions cannot directly update.</p>
|
||||||
|
|
||||||
<p>Please note that we don't support the following installation types:</p>
|
<p>Please note that we don't support the following installation types:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Updates from phpBB 3.0 Beta versions to phpBB 3.0 RC1 and higher</li>
|
<li>Updates from phpBB Beta versions and lower to phpBB Release Candidates and higher</li>
|
||||||
<li>Updates from phpBB 3.1 Beta versions to phpBB 3.1 RC1 and higher</li>
|
<li>Conversions from phpBB 2.0.x to phpBB 3.0 Beta, 3.1 Beta and 3.2 Beta versions</li>
|
||||||
<li>Conversions from phpBB 2.0.x to phpBB 3.0 or 3.1 Beta versions</li>
|
<li>phpBB 3.0 Beta, 3.1 Beta or 3.2 beta installations</li>
|
||||||
<li>phpBB 3.0 or 3.1 Beta installations</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>We give support for the following installation types:</p>
|
<p>We give support for the following installation types:</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>Updates from phpBB 3.0 RC1 and 3.1 RC1 to the latest version</li>
|
<li>Updates from phpBB 3.0 RC1, 3.1 RC1 and 3.2 RC1 to the latest version</li>
|
||||||
<li>Note: if using the <em>Automatic Update Package</em>, updates are supported from phpBB 3.0.2 onward. To update a pre-3.0.2 installation, first update to 3.0.2 and then update to the current version.</li>
|
<li>Note: if using the <em>Automatic Update Package</em>, updates are supported from phpBB 3.0.2 onward. To update a pre-3.0.2 installation, first update to 3.0.2 and then update to the current version.</li>
|
||||||
<li>Conversions from phpBB 2.0.x to the latest version</li>
|
<li>Conversions from phpBB 2.0.x to the latest version</li>
|
||||||
<li>New installations of phpBB 3.0.x - only the latest released version</li>
|
|
||||||
<li>New installations of phpBB 3.1.x - only the latest released version</li>
|
<li>New installations of phpBB 3.1.x - only the latest released version</li>
|
||||||
|
<li>New installations of phpBB 3.2.x - only the latest released version</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
|
|
||||||
<a name="i18n"></a><h3>2.i. Languages (Internationalisation - i18n)</h3>
|
<a name="i18n"></a><h3>2.i. Languages (Internationalisation - i18n)</h3>
|
||||||
|
|
||||||
<p>A number of language packs with included style localisations are available. You can find them listed in the <a href="https://www.phpbb.com/languages/">Language Packs</a> pages of our downloads section or from the <a href="https://www.phpbb.com/customise/db/language_packs-25/">Language Packs</a> section of the <a href="https://www.phpbb.com/customise/db/">Customisation Database</a>.</p>
|
<p>A number of language packs with included style localisations are available. You can find them listed in the <a href="https://www.phpbb.com/languages/">Language Packs</a> pages of our downloads section or from the <a href="https://www.phpbb.com/customise/db/language_packs-25">Language Packs</a> section of the <a href="https://www.phpbb.com/customise/db/">Customisation Database</a>.</p>
|
||||||
|
|
||||||
<p>For more information about language packs, please see: <a href="https://www.phpbb.com/languages/">https://www.phpbb.com/languages/</a></p>
|
<p>For more information about language packs, please see: <a href="https://www.phpbb.com/languages/">https://www.phpbb.com/languages/</a></p>
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
|
|
||||||
<p>Installation of these packages is straightforward: simply download the required language pack, uncompress (unzip) it and via FTP transfer the included <code>language</code> and <code>styles</code> folders to the root of your board installation. The language can then be installed via the Administration Control Panel of your board: <code>Customise tab -> Language management -> Language packs</code>. A more detailed description of the process is in the Knowledge Base article, <a href="https://www.phpbb.com/kb/article/how-to-install-a-language-pack/">How to Install a Language Pack</a>.</p>
|
<p>Installation of these packages is straightforward: simply download the required language pack, uncompress (unzip) it and via FTP transfer the included <code>language</code> and <code>styles</code> folders to the root of your board installation. The language can then be installed via the Administration Control Panel of your board: <code>Customise tab -> Language management -> Language packs</code>. A more detailed description of the process is in the Knowledge Base article, <a href="https://www.phpbb.com/kb/article/how-to-install-a-language-pack/">How to Install a Language Pack</a>.</p>
|
||||||
|
|
||||||
<p>If your language is not available, please visit our <a href="https://www.phpbb.com/community/viewforum.php?f=491">[3.1.x] Translations</a> forum where you will find topics on translations in progress. Should you wish to volunteer to translate a language not currently available or assist in maintaining an existing language pack, you can <a href="https://www.phpbb.com/languages/apply.php">Apply to become a translator</a>.</p>
|
<p>If your language is not available, please visit our <a href="https://www.phpbb.com/community/viewforum.php?f=566">[3.2.x] Translations</a> forum where you will find topics on translations in progress. Should you wish to volunteer to translate a language not currently available or assist in maintaining an existing language pack, you can <a href="https://www.phpbb.com/languages/apply.php">Apply to become a translator</a>.</p>
|
||||||
|
|
||||||
<a name="styles"></a><h3>2.ii. Styles</h3>
|
<a name="styles"></a><h3>2.ii. Styles</h3>
|
||||||
|
|
||||||
@@ -184,7 +184,7 @@
|
|||||||
|
|
||||||
<p>Comprehensive documentation is now available on the phpBB website:</p>
|
<p>Comprehensive documentation is now available on the phpBB website:</p>
|
||||||
|
|
||||||
<p><a href="https://www.phpbb.com/support/docs/en/3.1/ug/">https://www.phpbb.com/support/docs/en/3.1/ug/</a></p>
|
<p><a href="https://www.phpbb.com/support/docs/en/3.2/ug/">https://www.phpbb.com/support/docs/en/3.2/ug/</a></p>
|
||||||
|
|
||||||
<p>This covers everything from installation to setting permissions and managing users.</p>
|
<p>This covers everything from installation to setting permissions and managing users.</p>
|
||||||
|
|
||||||
@@ -224,7 +224,7 @@
|
|||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<p>This is a stable release of phpBB. The 3.1.x line is feature frozen, with point releases principally including fixes for bugs and security issues. Feature alterations and minor feature additions may be done if deemed absolutely required. The next major release will be phpBB 3.2 which is currently under development. Please do not post questions asking when 3.2 will be available, no release date has been set.</p>
|
<p>This is a stable release of phpBB. The 3.2.x line is feature frozen, with point releases principally including fixes for bugs and security issues. Feature alterations and minor feature additions may be done if deemed absolutely required. The next major release will be phpBB 3.3 which is currently under development. Please do not post questions asking when 3.3 will be available, no release date has been set.</p>
|
||||||
|
|
||||||
<p>Those interested in the development of phpBB should keep an eye on the development forums to see how things are progressing:</p>
|
<p>Those interested in the development of phpBB should keep an eye on the development forums to see how things are progressing:</p>
|
||||||
|
|
||||||
@@ -266,14 +266,14 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Your server type/version, e.g. Apache 2.2.3, IIS 7, Sambar, etc.</li>
|
<li>Your server type/version, e.g. Apache 2.2.3, IIS 7, Sambar, etc.</li>
|
||||||
<li>PHP version and mode of operation, e.g. PHP 5.4.0 as a module, PHP 5.4.0 running as CGI, etc.</li>
|
<li>PHP version and mode of operation, e.g. PHP 5.4.0 as a module, PHP 5.4.0 running as CGI, etc.</li>
|
||||||
<li>DB type/version, e.g. MySQL 5.0.77, PostgreSQL 9.0.6, MSSQL Server 2000 SP1, etc.</li>
|
<li>DB type/version, e.g. MySQL 5.0.77, PostgreSQL 9.0.6, MSSQL Server 2000 (via ODBC), etc.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<p>The relevant database type/version is listed within the administration control panel.</p>
|
<p>The relevant database type/version is listed within the administration control panel.</p>
|
||||||
|
|
||||||
<p>Please be as detailed as you can in your report, and if possible, list the steps required to duplicate the problem. If you have a patch that fixes the issue, please attach it to the ticket or submit a pull request to our repository <a href="https://github.com/phpbb/phpbb">on GitHub</a>.</p>
|
<p>Please be as detailed as you can in your report, and if possible, list the steps required to duplicate the problem. If you have a patch that fixes the issue, please attach it to the ticket or submit a pull request to our repository <a href="https://github.com/phpbb/phpbb">on GitHub</a>.</p>
|
||||||
|
|
||||||
<p>If you create a patch, it is very much appreciated (but not required) if you follow the phpBB coding guidelines. Please note that the coding guidelines are somewhat different between different versions of phpBB. For phpBB 3.1.x the coding guidelines may be found here: <a href="http://area51.phpbb.com/docs/31x/coding-guidelines.html">http://area51.phpbb.com/docs/31x/coding-guidelines.html</a></p>
|
<p>If you create a patch, it is very much appreciated (but not required) if you follow the phpBB coding guidelines. Please note that the coding guidelines are somewhat different between different versions of phpBB. For phpBB 3.2.x the coding guidelines may be found here: <a href="http://area51.phpbb.com/docs/32x/coding-guidelines.html">http://area51.phpbb.com/docs/32x/coding-guidelines.html</a></p>
|
||||||
|
|
||||||
<p>Once a bug has been submitted you will be emailed any follow up comments added to it. <strong>Please</strong> if you are requested to supply additional information, do so! It is frustrating for us to receive bug reports, ask for additional information but get nothing. In these cases we have a policy of closing the bug, which may leave a very real problem in place. Obviously we would rather not have this situation arise.</p>
|
<p>Once a bug has been submitted you will be emailed any follow up comments added to it. <strong>Please</strong> if you are requested to supply additional information, do so! It is frustrating for us to receive bug reports, ask for additional information but get nothing. In these cases we have a policy of closing the bug, which may leave a very real problem in place. Obviously we would rather not have this situation arise.</p>
|
||||||
|
|
||||||
@@ -323,11 +323,11 @@
|
|||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<p>phpBB 3.2.x takes advantage of new features added in PHP 5.4. We recommend that you upgrade to the latest stable release of PHP to run phpBB. The minimum version required is PHP 5.4.0 and the maximum supported version is PHP 7.0.</p>
|
<p>phpBB 3.2.x takes advantage of new features added in PHP 5.4. We recommend that you upgrade to the latest stable release of PHP to run phpBB. The minimum version required is PHP 5.4.0 and the maximum supported version is the latest stable version of PHP.</p>
|
||||||
|
|
||||||
<p>Please remember that running any application on a development (unstable, e.g. a beta release) version of PHP can lead to strange/unexpected results which may appear to be bugs in the application. Therefore, we recommend you upgrade to the newest stable version of PHP before running phpBB. If you are running a development version of PHP please check any bugs you find on a system running a stable release before submitting.</p>
|
<p>Please remember that running any application on a development (unstable, e.g. a beta release) version of PHP can lead to strange/unexpected results which may appear to be bugs in the application. Therefore, we recommend you upgrade to the newest stable version of PHP before running phpBB. If you are running a development version of PHP please check any bugs you find on a system running a stable release before submitting.</p>
|
||||||
|
|
||||||
<p>This board has been developed and tested under Linux and Windows (amongst others) running Apache using MySQL 3.23, 4.x, 5.x, MariaDB 5.x, MSSQL Server 2000, PostgreSQL 8.x, Oracle 8, SQLite 2 and SQLite 3. Versions of PHP used range from 5.4.x to 5.6.x without problem.</p>
|
<p>This board has been developed and tested under Linux and Windows (amongst others) running Apache using MySQL 3.23, 4.x, 5.x, MariaDB 5.x, PostgreSQL 8.x, Oracle 8 and SQLite 3. Versions of PHP used range from 5.4.x above 5.6.x to 7.0.x without problem.</p>
|
||||||
|
|
||||||
<a name="phpsec"></a><h3>7.i. Notice on PHP security issues</h3>
|
<a name="phpsec"></a><h3>7.i. Notice on PHP security issues</h3>
|
||||||
|
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
<html dir="ltr" lang="en">
|
<html dir="ltr" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="keywords" content="" />
|
<meta name="keywords" content="" />
|
||||||
<meta name="description" content="This is an explanation of how to use the phpBB auth/acl API" />
|
<meta name="description" content="This is an explanation of how to use the phpBB auth/acl API" />
|
||||||
<title>phpBB3 • Auth API</title>
|
<title>phpBB3 • Auth API</title>
|
||||||
|
@@ -2,8 +2,9 @@
|
|||||||
<html dir="ltr" lang="en">
|
<html dir="ltr" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="keywords" content="" />
|
<meta name="keywords" content="" />
|
||||||
<meta name="description" content="Ascraeus coding guidelines document" />
|
<meta name="description" content="Rhea coding guidelines document" />
|
||||||
<title>phpBB3 • Coding Guidelines</title>
|
<title>phpBB3 • Coding Guidelines</title>
|
||||||
|
|
||||||
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
<link href="assets/css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
|
||||||
@@ -21,7 +22,7 @@
|
|||||||
<div id="doc-description">
|
<div id="doc-description">
|
||||||
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
<a href="../index.php" id="logo"><img src="assets/images/site_logo.gif" alt="" /></a>
|
||||||
<h1>Coding Guidelines</h1>
|
<h1>Coding Guidelines</h1>
|
||||||
<p>Ascraeus coding guidelines document</p>
|
<p>Rhea coding guidelines document</p>
|
||||||
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
<p style="display: none;"><a href="#start_here">Skip</a></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -36,7 +37,7 @@
|
|||||||
<!-- BEGIN DOCUMENT -->
|
<!-- BEGIN DOCUMENT -->
|
||||||
|
|
||||||
<p class="paragraph main-description">
|
<p class="paragraph main-description">
|
||||||
These are the phpBB Coding Guidelines for Ascraeus, all attempts should be made to follow them as closely as possible.
|
These are the phpBB Coding Guidelines for Rhea, all attempts should be made to follow them as closely as possible.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h1>Coding Guidelines</h1>
|
<h1>Coding Guidelines</h1>
|
||||||
@@ -1121,9 +1122,6 @@ append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&amp;
|
|||||||
<p>Some of these functions are only chosen over others because of personal preference and have no benefit other than maintaining consistency throughout the code.</p>
|
<p>Some of these functions are only chosen over others because of personal preference and have no benefit other than maintaining consistency throughout the code.</p>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
|
||||||
<p>Use <code>sizeof</code> instead of <code>count</code></p>
|
|
||||||
</li>
|
|
||||||
<li>
|
<li>
|
||||||
<p>Use <code>strpos</code> instead of <code>strstr</code></p>
|
<p>Use <code>strpos</code> instead of <code>strstr</code></p>
|
||||||
</li>
|
</li>
|
||||||
@@ -1186,8 +1184,8 @@ append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=group&amp;
|
|||||||
# General Information about this style
|
# General Information about this style
|
||||||
name = prosilver_duplicate
|
name = prosilver_duplicate
|
||||||
copyright = © phpBB Limited, 2007
|
copyright = © phpBB Limited, 2007
|
||||||
style_version = 3.1.0
|
style_version = 3.2.0
|
||||||
phpbb_version = 3.1.0
|
phpbb_version = 3.2.0
|
||||||
|
|
||||||
# Defining a different template bitfield
|
# Defining a different template bitfield
|
||||||
# template_bitfield = lNg=
|
# template_bitfield = lNg=
|
||||||
@@ -1676,8 +1674,8 @@ div
|
|||||||
# General Information about this style
|
# General Information about this style
|
||||||
name = Custom Style
|
name = Custom Style
|
||||||
copyright = © phpBB Limited, 2007
|
copyright = © phpBB Limited, 2007
|
||||||
style_version = 3.1.0-b1
|
style_version = 3.2.0-b1
|
||||||
phpbb_version = 3.1.0-b1
|
phpbb_version = 3.2.0-b1
|
||||||
|
|
||||||
# Defining a different template bitfield
|
# Defining a different template bitfield
|
||||||
# template_bitfield = lNg=
|
# template_bitfield = lNg=
|
||||||
@@ -1724,7 +1722,7 @@ This may span multiple lines.
|
|||||||
+ first/file/path.html
|
+ first/file/path.html
|
||||||
+ second/file/path.html
|
+ second/file/path.html
|
||||||
* Purpose: Same as above.
|
* Purpose: Same as above.
|
||||||
* Since: 3.1.0-b1
|
* Since: 3.2.0-b1
|
||||||
</pre></div>
|
</pre></div>
|
||||||
<li>An event that is found multiple times in a file should have the number of instances in parenthesis next to the filename.
|
<li>An event that is found multiple times in a file should have the number of instances in parenthesis next to the filename.
|
||||||
<div class="codebox"><pre>event_name
|
<div class="codebox"><pre>event_name
|
||||||
@@ -1733,7 +1731,7 @@ This may span multiple lines.
|
|||||||
+ first/file/path.html (2)
|
+ first/file/path.html (2)
|
||||||
+ second/file/path.html
|
+ second/file/path.html
|
||||||
* Purpose: Same as above.
|
* Purpose: Same as above.
|
||||||
* Since: 3.1.0-b1
|
* Since: 3.2.0-b1
|
||||||
</pre></div></li>
|
</pre></div></li>
|
||||||
<li>An actual example event documentation:
|
<li>An actual example event documentation:
|
||||||
<div class="codebox"><pre>forumlist_body_last_post_title_prepend
|
<div class="codebox"><pre>forumlist_body_last_post_title_prepend
|
||||||
@@ -1742,7 +1740,7 @@ This may span multiple lines.
|
|||||||
+ styles/prosilver/template/forumlist_body.html
|
+ styles/prosilver/template/forumlist_body.html
|
||||||
+ styles/subsilver2/template/forumlist_body.html
|
+ styles/subsilver2/template/forumlist_body.html
|
||||||
* Purpose: Add content before the post title of the latest post in a forum on the forum list.
|
* Purpose: Add content before the post title of the latest post in a forum on the forum list.
|
||||||
* Since: 3.1.0-a1
|
* Since: 3.2.0-a1
|
||||||
</pre></div></ul><br />
|
</pre></div></ul><br />
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@@ -58,6 +58,24 @@ acp_email_options_after
|
|||||||
* Since: 3.1.2-RC1
|
* Since: 3.1.2-RC1
|
||||||
* Purpose: Add settings to mass email form
|
* Purpose: Add settings to mass email form
|
||||||
|
|
||||||
|
acp_ext_details_end
|
||||||
|
===
|
||||||
|
* Location: adm/style/acp_ext_details.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add more detailed information on extension after the available information.
|
||||||
|
|
||||||
|
acp_ext_list_disabled_title_after
|
||||||
|
===
|
||||||
|
* Location: adm/style/acp_ext_list.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add text after disabled extensions section title.
|
||||||
|
|
||||||
|
acp_ext_list_enabled_title_after
|
||||||
|
===
|
||||||
|
* Location: adm/style/acp_ext_list.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add text after enabled extensions section title.
|
||||||
|
|
||||||
acp_forums_custom_settings
|
acp_forums_custom_settings
|
||||||
===
|
===
|
||||||
* Location: adm/style/acp_forums.html
|
* Location: adm/style/acp_forums.html
|
||||||
@@ -184,6 +202,18 @@ acp_groups_position_teampage_add_button_before
|
|||||||
* Since: 3.1.7-RC1
|
* Since: 3.1.7-RC1
|
||||||
* Purpose: Add content before adding group to teampage submit button
|
* Purpose: Add content before adding group to teampage submit button
|
||||||
|
|
||||||
|
acp_help_phpbb_stats_after
|
||||||
|
===
|
||||||
|
* Location: adm/style/acp_help_phpbb.html
|
||||||
|
* Since: 3.2.0-RC2
|
||||||
|
* Purpose: Add content after send statistics tile
|
||||||
|
|
||||||
|
acp_help_phpbb_stats_before
|
||||||
|
===
|
||||||
|
* Location: adm/style/acp_help_phpbb.html
|
||||||
|
* Since: 3.2.0-RC2
|
||||||
|
* Purpose: Add content before send statistics tile
|
||||||
|
|
||||||
acp_logs_quick_select_forum_button_append
|
acp_logs_quick_select_forum_button_append
|
||||||
===
|
===
|
||||||
* Location: adm/style/acp_logs.html
|
* Location: adm/style/acp_logs.html
|
||||||
@@ -343,6 +373,13 @@ acp_posting_buttons_before
|
|||||||
* Since: 3.1.0-b4
|
* Since: 3.1.0-b4
|
||||||
* Purpose: Add content before BBCode posting buttons in the ACP
|
* Purpose: Add content before BBCode posting buttons in the ACP
|
||||||
|
|
||||||
|
acp_posting_buttons_custom_tags_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ adm/style/acp_posting_buttons.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content before the custom BBCodes in the ACP
|
||||||
|
|
||||||
acp_profile_contact_before
|
acp_profile_contact_before
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -350,6 +387,13 @@ acp_profile_contact_before
|
|||||||
* Since: 3.1.6-RC1
|
* Since: 3.1.6-RC1
|
||||||
* Purpose: Add extra options to custom profile field configuration in the ACP
|
* Purpose: Add extra options to custom profile field configuration in the ACP
|
||||||
|
|
||||||
|
acp_profile_step_one_lang_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ adm/style/acp_profile.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add extra lang specific options to custom profile field step one configuration in the ACP
|
||||||
|
|
||||||
acp_prune_forums_append
|
acp_prune_forums_append
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -758,6 +802,27 @@ mcp_ban_unban_before
|
|||||||
* Since: 3.1.0-RC3
|
* Since: 3.1.0-RC3
|
||||||
* Purpose: Add additional fields to the unban form in MCP
|
* Purpose: Add additional fields to the unban form in MCP
|
||||||
|
|
||||||
|
mcp_forum_actions_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_forum.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add some information after actions fieldset
|
||||||
|
|
||||||
|
mcp_forum_actions_append
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_forum.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add additional options to actions select
|
||||||
|
|
||||||
|
mcp_forum_actions_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_forum.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add some information before actions fieldset
|
||||||
|
|
||||||
mcp_forum_topic_title_before
|
mcp_forum_topic_title_before
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -807,6 +872,13 @@ mcp_front_latest_unapproved_before
|
|||||||
* Since: 3.1.3-RC1
|
* Since: 3.1.3-RC1
|
||||||
* Purpose: Add content before latest unapproved posts list
|
* Purpose: Add content before latest unapproved posts list
|
||||||
|
|
||||||
|
mcp_move_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_move.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content before move topic/post form
|
||||||
|
|
||||||
mcp_post_additional_options
|
mcp_post_additional_options
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -828,6 +900,20 @@ mcp_topic_options_before
|
|||||||
* Since: 3.1.6-RC1
|
* Since: 3.1.6-RC1
|
||||||
* Purpose: Add some options (field, checkbox, ...) before the subject field when split a subject
|
* Purpose: Add some options (field, checkbox, ...) before the subject field when split a subject
|
||||||
|
|
||||||
|
mcp_topic_postrow_post_details_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_topic.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content after post details in topic moderation
|
||||||
|
|
||||||
|
mcp_topic_postrow_post_details_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/mcp_topic.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content before post details in topic moderation
|
||||||
|
|
||||||
mcp_topic_topic_title_after
|
mcp_topic_topic_title_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -902,6 +988,13 @@ memberlist_body_username_prepend
|
|||||||
* Purpose: Add information before every username in the memberlist. Works in
|
* Purpose: Add information before every username in the memberlist. Works in
|
||||||
all display modes (leader, group and normal memberlist).
|
all display modes (leader, group and normal memberlist).
|
||||||
|
|
||||||
|
memberlist_email_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/memberlist_email.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Allow adding customizations before the memberlist_email form.
|
||||||
|
|
||||||
memberlist_search_fields_after
|
memberlist_search_fields_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -923,6 +1016,20 @@ memberlist_search_sorting_options_before
|
|||||||
* Since: 3.1.2-RC1
|
* Since: 3.1.2-RC1
|
||||||
* Purpose: Add information before the search sorting options field.
|
* Purpose: Add information before the search sorting options field.
|
||||||
|
|
||||||
|
memberlist_team_username_append
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/memberlist_team.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Append information to username of team member
|
||||||
|
|
||||||
|
memberlist_team_username_prepend
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/memberlist_team.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add information before team user username
|
||||||
|
|
||||||
memberlist_view_contact_after
|
memberlist_view_contact_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1238,6 +1345,20 @@ overall_header_head_append
|
|||||||
* Since: 3.1.0-a1
|
* Since: 3.1.0-a1
|
||||||
* Purpose: Add asset calls directly before the `</head>` tag
|
* Purpose: Add asset calls directly before the `</head>` tag
|
||||||
|
|
||||||
|
overall_header_headerbar_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/overall_header.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content at the end of the headerbar
|
||||||
|
|
||||||
|
overall_header_headerbar_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/overall_header.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content at the beginning of the headerbar
|
||||||
|
|
||||||
overall_header_navbar_before
|
overall_header_navbar_before
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1280,6 +1401,13 @@ overall_header_page_body_before
|
|||||||
* Since: 3.1.0-b3
|
* Since: 3.1.0-b3
|
||||||
* Purpose: Add content after the page-header, but before the page-body
|
* Purpose: Add content after the page-header, but before the page-body
|
||||||
|
|
||||||
|
overall_header_searchbox_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/overall_header.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add content after the search box in the header
|
||||||
|
|
||||||
overall_header_searchbox_before
|
overall_header_searchbox_before
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1372,6 +1500,13 @@ posting_editor_subject_after
|
|||||||
* Since: 3.1.0-a2
|
* Since: 3.1.0-a2
|
||||||
* Purpose: Add field (e.g. textbox) to the posting screen after the subject
|
* Purpose: Add field (e.g. textbox) to the posting screen after the subject
|
||||||
|
|
||||||
|
posting_editor_subject_append
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/posting_editor.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add field, text, etc. to the posting after the subject text box
|
||||||
|
|
||||||
posting_editor_subject_before
|
posting_editor_subject_before
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1379,6 +1514,13 @@ posting_editor_subject_before
|
|||||||
* Since: 3.1.0-a2
|
* Since: 3.1.0-a2
|
||||||
* Purpose: Add field (e.g. textbox) to the posting screen before the subject
|
* Purpose: Add field (e.g. textbox) to the posting screen before the subject
|
||||||
|
|
||||||
|
posting_editor_subject_prepend
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/posting_editor.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add field, text, etc. to the posting before the subject text box
|
||||||
|
|
||||||
posting_editor_submit_buttons
|
posting_editor_submit_buttons
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1435,6 +1577,20 @@ posting_preview_poll_after
|
|||||||
* Since: 3.1.7-RC1
|
* Since: 3.1.7-RC1
|
||||||
* Purpose: Add content after the poll preview block
|
* Purpose: Add content after the poll preview block
|
||||||
|
|
||||||
|
posting_topic_review_row_post_details_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/posting_topic_review.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content after post details in topic review
|
||||||
|
|
||||||
|
posting_topic_review_row_post_details_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/posting_topic_review.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content before post details in topic review
|
||||||
|
|
||||||
posting_topic_title_after
|
posting_topic_title_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1694,6 +1850,15 @@ topiclist_row_append
|
|||||||
* Changed: 3.1.6-RC1 Added event to mcp_forum.html
|
* Changed: 3.1.6-RC1 Added event to mcp_forum.html
|
||||||
* Purpose: Add content into topic rows (inside the elements containing topic titles)
|
* Purpose: Add content into topic rows (inside the elements containing topic titles)
|
||||||
|
|
||||||
|
topiclist_row_topic_title_after
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/search_results.html
|
||||||
|
+ styles/prosilver/template/viewforum_body.html
|
||||||
|
+ styles/prosilver/template/mcp_forum.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content into topic rows (after the elements containing the topic titles)
|
||||||
|
|
||||||
ucp_agreement_terms_after
|
ucp_agreement_terms_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1715,6 +1880,13 @@ ucp_main_front_user_activity_after
|
|||||||
* Since: 3.1.6-RC1
|
* Since: 3.1.6-RC1
|
||||||
* Purpose: Add content right after the user activity info viewing UCP front page
|
* Purpose: Add content right after the user activity info viewing UCP front page
|
||||||
|
|
||||||
|
ucp_main_front_user_activity_append
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/ucp_main_front.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add content after last user activity info viewing UCP front page
|
||||||
|
|
||||||
ucp_main_front_user_activity_before
|
ucp_main_front_user_activity_before
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1722,6 +1894,13 @@ ucp_main_front_user_activity_before
|
|||||||
* Since: 3.1.6-RC1
|
* Since: 3.1.6-RC1
|
||||||
* Purpose: Add content right before the user activity info viewing UCP front page
|
* Purpose: Add content right before the user activity info viewing UCP front page
|
||||||
|
|
||||||
|
ucp_main_front_user_activity_prepend
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/ucp_main_front.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add content before first user activity info viewing UCP front page
|
||||||
|
|
||||||
ucp_pm_history_post_buttons_after
|
ucp_pm_history_post_buttons_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1814,6 +1993,13 @@ ucp_pm_viewmessage_custom_fields_before
|
|||||||
* Purpose: Add data before the custom fields on the user profile when viewing
|
* Purpose: Add data before the custom fields on the user profile when viewing
|
||||||
a private message
|
a private message
|
||||||
|
|
||||||
|
ucp_pm_viewmessage_options_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/ucp_pm_viewmessage.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add content right before display options
|
||||||
|
|
||||||
ucp_pm_viewmessage_post_buttons_after
|
ucp_pm_viewmessage_post_buttons_after
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -1957,6 +2143,13 @@ ucp_profile_register_details_after
|
|||||||
* Since: 3.1.4-RC1
|
* Since: 3.1.4-RC1
|
||||||
* Purpose: Add options in profile page fieldset - after confirm password field.
|
* Purpose: Add options in profile page fieldset - after confirm password field.
|
||||||
|
|
||||||
|
ucp_register_buttons_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/ucp_register.html
|
||||||
|
* Since: 3.1.11-RC1
|
||||||
|
* Purpose: Add content before buttons in registration form.
|
||||||
|
|
||||||
ucp_register_credentials_before
|
ucp_register_credentials_before
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
@@ -2034,6 +2227,13 @@ viewforum_body_topic_row_prepend
|
|||||||
* Since: 3.1.7-RC1
|
* Since: 3.1.7-RC1
|
||||||
* Purpose: Add content at the end of the topic list item.
|
* Purpose: Add content at the end of the topic list item.
|
||||||
|
|
||||||
|
viewforum_body_topicrow_row_before
|
||||||
|
===
|
||||||
|
* Locations:
|
||||||
|
+ styles/prosilver/template/viewforum_body.html
|
||||||
|
* Since: 3.1.10-RC1
|
||||||
|
* Purpose: Add content before list of topics.
|
||||||
|
|
||||||
viewforum_buttons_bottom_before
|
viewforum_buttons_bottom_before
|
||||||
===
|
===
|
||||||
* Locations:
|
* Locations:
|
||||||
|
@@ -22,6 +22,7 @@ installer:
|
|||||||
enabled: false
|
enabled: false
|
||||||
smtp_delivery : ~
|
smtp_delivery : ~
|
||||||
smtp_host: ~
|
smtp_host: ~
|
||||||
|
smtp_port: ~
|
||||||
smtp_auth: ~
|
smtp_auth: ~
|
||||||
smtp_user: ~
|
smtp_user: ~
|
||||||
smtp_pass: ~
|
smtp_pass: ~
|
||||||
@@ -33,3 +34,5 @@ installer:
|
|||||||
server_name: localhost
|
server_name: localhost
|
||||||
server_port: 80
|
server_port: 80
|
||||||
script_path: /
|
script_path: /
|
||||||
|
|
||||||
|
extensions: ['phpbb/viglink']
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
# Sample lighttpd configuration file for phpBB.
|
# Sample lighttpd configuration file for phpBB.
|
||||||
# Global settings have been removed, copy them
|
# Global settings have been removed, copy them
|
||||||
# from your system's lighttpd.conf.
|
# from your system's lighttpd.conf.
|
||||||
# Tested with lighttpd 1.4.26
|
# Tested with lighttpd 1.4.35
|
||||||
|
|
||||||
# If you want to use the X-Sendfile feature,
|
# If you want to use the X-Sendfile feature,
|
||||||
# uncomment the 'allow-x-send-file' for the fastcgi
|
# uncomment the 'allow-x-send-file' for the fastcgi
|
||||||
@@ -16,6 +16,7 @@
|
|||||||
server.modules += (
|
server.modules += (
|
||||||
"mod_access",
|
"mod_access",
|
||||||
"mod_fastcgi",
|
"mod_fastcgi",
|
||||||
|
"mod_rewrite",
|
||||||
"mod_accesslog"
|
"mod_accesslog"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -49,7 +50,15 @@ $HTTP["host"] == "www.myforums.com" {
|
|||||||
$HTTP["url"] =~ "/\.htaccess|/\.htpasswd|/\.htgroups" {
|
$HTTP["url"] =~ "/\.htaccess|/\.htpasswd|/\.htgroups" {
|
||||||
url.access-deny = ( "" )
|
url.access-deny = ( "" )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# The following 3 lines will rewrite URLs passed through the front controller
|
||||||
|
# to not require app.php in the actual URL. In other words, a controller is
|
||||||
|
# by default accessed at /app.php/my/controller, but can also be accessed at
|
||||||
|
# /my/controller
|
||||||
|
url.rewrite-if-not-file = (
|
||||||
|
"^/(.*)$" => "/app.php/$1"
|
||||||
|
)
|
||||||
|
|
||||||
fastcgi.server = ( ".php" =>
|
fastcgi.server = ( ".php" =>
|
||||||
((
|
((
|
||||||
"bin-path" => "/usr/bin/php-cgi",
|
"bin-path" => "/usr/bin/php-cgi",
|
||||||
|
@@ -62,7 +62,7 @@ http {
|
|||||||
root /path/to/phpbb;
|
root /path/to/phpbb;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
# phpbb uses index.htm
|
# phpBB uses index.htm
|
||||||
index index.php index.html index.htm;
|
index index.php index.html index.htm;
|
||||||
try_files $uri $uri/ @rewriteapp;
|
try_files $uri $uri/ @rewriteapp;
|
||||||
}
|
}
|
||||||
@@ -92,6 +92,29 @@ http {
|
|||||||
fastcgi_pass php;
|
fastcgi_pass php;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Correctly pass scripts for installer
|
||||||
|
location /install/ {
|
||||||
|
# phpBB uses index.htm
|
||||||
|
try_files $uri $uri/ @rewrite_installapp;
|
||||||
|
|
||||||
|
# Pass the php scripts to fastcgi server specified in upstream declaration.
|
||||||
|
location ~ \.php(/|$) {
|
||||||
|
# Unmodified fastcgi_params from nginx distribution.
|
||||||
|
include fastcgi_params;
|
||||||
|
# Necessary for php.
|
||||||
|
fastcgi_split_path_info ^(.+\.php)(/.*)$;
|
||||||
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||||
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
||||||
|
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
||||||
|
try_files $uri $uri/ /install/app.php$is_args$args;
|
||||||
|
fastcgi_pass php;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
location @rewrite_installapp {
|
||||||
|
rewrite ^(.*)$ /install/app.php/$1 last;
|
||||||
|
}
|
||||||
|
|
||||||
# Deny access to version control system directories.
|
# Deny access to version control system directories.
|
||||||
location ~ /\.svn|/\.git {
|
location ~ /\.svn|/\.git {
|
||||||
deny all;
|
deny all;
|
||||||
|
@@ -1,2 +1,3 @@
|
|||||||
updater:
|
updater:
|
||||||
type: all
|
type: all
|
||||||
|
extensions: ['phpbb/viglink']
|
||||||
|
123
phpBB/docs/vagrant.md
Normal file
123
phpBB/docs/vagrant.md
Normal file
@@ -0,0 +1,123 @@
|
|||||||
|
## Using Vagrant with phpBB
|
||||||
|
|
||||||
|
phpBB includes support for Vagrant. This allows developers and contributors to run phpBB without the need to set up their own local web server with traditional WAMP/MAMP stacks. It also provides a consistent environment between developers for writing and debugging code changes more productively.
|
||||||
|
|
||||||
|
phpBB uses the [Laravel/Homestead](https://laravel.com/docs/5.1/homestead) Vagrant box. It runs a Linux server with Ubuntu 14.04, PHP 5.6, Nginx, SQLite3, MySQL, and a whole lot more (complete specs below).
|
||||||
|
|
||||||
|
## Get Started
|
||||||
|
|
||||||
|
* Download and Install [Vagrant](https://www.vagrantup.com/downloads.html)
|
||||||
|
* Download and Install [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
|
||||||
|
* Run `vagrant up` from the root of your cloned fork of the phpBB Git repository
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ vagrant up
|
||||||
|
```
|
||||||
|
|
||||||
|
* Access phpBB at `http://192.168.10.10/`
|
||||||
|
* Username: **admin**
|
||||||
|
* Password: **adminadmin**
|
||||||
|
|
||||||
|
## Additional commands:
|
||||||
|
* Access your Linux server from the command line:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ vagrant ssh
|
||||||
|
```
|
||||||
|
|
||||||
|
* Pause your server:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ vagrant suspend
|
||||||
|
```
|
||||||
|
|
||||||
|
* Shut down your server:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ vagrant halt
|
||||||
|
```
|
||||||
|
|
||||||
|
* Delete and remove your server:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ vagrant destroy
|
||||||
|
```
|
||||||
|
|
||||||
|
> Note: destroying the vagrant server will remove all traces of the VM from your computer, reclaiming any disk space used by it. However, it also means the next time you vagrant up, you will be creating a brand new VM with a fresh install of phpBB and a new database.
|
||||||
|
|
||||||
|
## Customising the phpBB configuration
|
||||||
|
|
||||||
|
By default, phpBB is pre-configured to install with a MySQL database. You can, however, switch to PostegreSQL or SQLite3 by editing the `phpbb-install-config.yml` file in the vagrant directory. The next time you run `vagrant up` (or `vagrant provision`) it will be installed under the new configuration.
|
||||||
|
|
||||||
|
If you prefer to access phpBB from the more friendly URL `http://phpbb.app` then you must update your computer's hosts file. This file is typically located at `/etc/hosts` for Mac/Linux or `C:\Windows\System32\drivers\etc\hosts` for Windows. Open this file and add the following line to it, at the very bottom, and save.
|
||||||
|
|
||||||
|
```
|
||||||
|
192.168.10.10 phpbb.app
|
||||||
|
```
|
||||||
|
|
||||||
|
## How it all works
|
||||||
|
|
||||||
|
When you vagrant up, the Laravel/Homestead box is transparently loaded as a Virtual Machine on your computer (this may take several minutes the very first time while it downloads the VM image to your computer). Your local phpBB repository clone is mirrored/shared with the VM, so you can work on the phpBB code on your computer, and see the changes immediately when you browse to phpBB at the URL provided by the VM.
|
||||||
|
|
||||||
|
This is very similar to traditional methods of working with a local WAMP/MAMP stack, except the webserver is now being provided by a VM of a Linux server. The advantages here are the exact same Linux server environment is being used by everybody who uses Vagrant with phpBB, so there will be consist behaviour unlike when everybody is developing on different versions of PHP, server configurations, etc.
|
||||||
|
|
||||||
|
The environment is also "sandboxed" from your system. This means you don't need to worry about adjusting your own computer's internal PHP settings, setting up databases, or doing damage to your system or to phpBB. Other than the phpBB codebase, which lives on your computer, all execution is taking place within the VM and you can at any time, halt or destroy the VM and start a brand new one.
|
||||||
|
|
||||||
|
There are some caveats, however. You can only run one vagrant VM for the phpBB repository. And of course, the database will be destroyed when you vagrant destroy. If the database is important, you should SSH into your vagrant VM and export/import the DB as needed using SSH commands.
|
||||||
|
|
||||||
|
For example, to export/import a MySQL database (using phpBB's `store` directory):
|
||||||
|
|
||||||
|
SSH into the VM
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ vagrant ssh
|
||||||
|
```
|
||||||
|
|
||||||
|
Export MySQL:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ mysqldump -uhomestead -psecret phpbb > /home/vagrant/phpbb/phpBB/store/phpbb.sql
|
||||||
|
```
|
||||||
|
|
||||||
|
Import MySQL:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ mysql -uhomestead -psecret phpbb < /home/vagrant/phpbb/phpBB/store/phpbb.sql
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## About the Laravel/Homestead box
|
||||||
|
|
||||||
|
### Included Software
|
||||||
|
|
||||||
|
* Ubuntu 14.04
|
||||||
|
* Git
|
||||||
|
* PHP 5.6
|
||||||
|
* HHVM
|
||||||
|
* Nginx
|
||||||
|
* MySQL
|
||||||
|
* Sqlite3
|
||||||
|
* Postgres
|
||||||
|
* Composer
|
||||||
|
* Node (With PM2, Bower, Grunt, and Gulp)
|
||||||
|
* Redis
|
||||||
|
* Memcached
|
||||||
|
* Beanstalkd
|
||||||
|
* Blackfire Profiler
|
||||||
|
|
||||||
|
### MySQL Access
|
||||||
|
|
||||||
|
- Hostname: 127.0.0.1
|
||||||
|
- Username: homestead
|
||||||
|
- Password: secret
|
||||||
|
- Database: phpbb
|
||||||
|
- Port: 3306
|
||||||
|
|
||||||
|
### PostgreSQL Access
|
||||||
|
|
||||||
|
- Hostname: 127.0.0.1
|
||||||
|
- Username: homestead
|
||||||
|
- Password: secret
|
||||||
|
- Database: phpbb
|
||||||
|
- Port: 5432
|
@@ -48,7 +48,7 @@ class acp_attachments
|
|||||||
|
|
||||||
function main($id, $mode)
|
function main($id, $mode)
|
||||||
{
|
{
|
||||||
global $db, $user, $auth, $template, $cache, $phpbb_container, $phpbb_filesystem;
|
global $db, $user, $auth, $template, $cache, $phpbb_container, $phpbb_filesystem, $phpbb_dispatcher;
|
||||||
global $config, $phpbb_admin_path, $phpbb_root_path, $phpEx, $phpbb_log, $request;
|
global $config, $phpbb_admin_path, $phpbb_root_path, $phpEx, $phpbb_log, $request;
|
||||||
|
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
@@ -170,6 +170,18 @@ class acp_attachments
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Event to add and/or modify acp_attachement configurations
|
||||||
|
*
|
||||||
|
* @event core.acp_attachments_config_edit_add
|
||||||
|
* @var array display_vars Array of config values to display and process
|
||||||
|
* @var string mode Mode of the config page we are displaying
|
||||||
|
* @var boolean submit Do we display the form or process the submission
|
||||||
|
* @since 3.1.11-RC1
|
||||||
|
*/
|
||||||
|
$vars = array('display_vars', 'mode', 'submit');
|
||||||
|
extract($phpbb_dispatcher->trigger_event('core.acp_attachments_config_edit_add', compact($vars)));
|
||||||
|
|
||||||
$this->new_config = $config;
|
$this->new_config = $config;
|
||||||
$cfg_array = (isset($_REQUEST['config'])) ? $request->variable('config', array('' => '')) : $this->new_config;
|
$cfg_array = (isset($_REQUEST['config'])) ? $request->variable('config', array('' => '')) : $this->new_config;
|
||||||
$error = array();
|
$error = array();
|
||||||
@@ -1431,7 +1443,7 @@ class acp_attachments
|
|||||||
$row['group_name'] = $user->lang['NOT_ASSIGNED'];
|
$row['group_name'] = $user->lang['NOT_ASSIGNED'];
|
||||||
$group_name[] = $row;
|
$group_name[] = $row;
|
||||||
|
|
||||||
for ($i = 0; $i < sizeof($group_name); $i++)
|
for ($i = 0, $groups_size = sizeof($group_name); $i < $groups_size; $i++)
|
||||||
{
|
{
|
||||||
if ($default_group === false)
|
if ($default_group === false)
|
||||||
{
|
{
|
||||||
@@ -1744,8 +1756,8 @@ class acp_attachments
|
|||||||
$size_var = $filesize['si_identifier'];
|
$size_var = $filesize['si_identifier'];
|
||||||
$value = $filesize['value'];
|
$value = $filesize['value'];
|
||||||
|
|
||||||
// size="8" and maxlength="15" attributes as a fallback for browsers that do not support type="number" yet.
|
// size and maxlength must not be specified for input of type number
|
||||||
return '<input type="number" id="' . $key . '" size="8" maxlength="15" min="0" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
|
return '<input type="number" id="' . $key . '" min="0" max="999999999999999" step="any" name="config[' . $key . ']" value="' . $value . '" /> <select name="' . $key . '">' . size_select_options($size_var) . '</select>';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -323,6 +323,7 @@ class acp_board
|
|||||||
'cookie_name' => array('lang' => 'COOKIE_NAME', 'validate' => 'string', 'type' => 'text::16', 'explain' => false),
|
'cookie_name' => array('lang' => 'COOKIE_NAME', 'validate' => 'string', 'type' => 'text::16', 'explain' => false),
|
||||||
'cookie_path' => array('lang' => 'COOKIE_PATH', 'validate' => 'string', 'type' => 'text::255', 'explain' => false),
|
'cookie_path' => array('lang' => 'COOKIE_PATH', 'validate' => 'string', 'type' => 'text::255', 'explain' => false),
|
||||||
'cookie_secure' => array('lang' => 'COOKIE_SECURE', 'validate' => 'bool', 'type' => 'radio:disabled_enabled', 'explain' => true),
|
'cookie_secure' => array('lang' => 'COOKIE_SECURE', 'validate' => 'bool', 'type' => 'radio:disabled_enabled', 'explain' => true),
|
||||||
|
'cookie_notice' => array('lang' => 'COOKIE_NOTICE', 'validate' => 'bool', 'type' => 'radio:enabled_disabled', 'explain' => true),
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
@@ -452,7 +453,7 @@ class acp_board
|
|||||||
|
|
||||||
'legend2' => 'SMTP_SETTINGS',
|
'legend2' => 'SMTP_SETTINGS',
|
||||||
'smtp_delivery' => array('lang' => 'USE_SMTP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
'smtp_delivery' => array('lang' => 'USE_SMTP', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => true),
|
||||||
'smtp_host' => array('lang' => 'SMTP_SERVER', 'validate' => 'string', 'type' => 'text:25:50', 'explain' => false),
|
'smtp_host' => array('lang' => 'SMTP_SERVER', 'validate' => 'string', 'type' => 'text:25:50', 'explain' => true),
|
||||||
'smtp_port' => array('lang' => 'SMTP_PORT', 'validate' => 'int:0:99999', 'type' => 'number:0:99999', 'explain' => true),
|
'smtp_port' => array('lang' => 'SMTP_PORT', 'validate' => 'int:0:99999', 'type' => 'number:0:99999', 'explain' => true),
|
||||||
'smtp_auth_method' => array('lang' => 'SMTP_AUTH_METHOD', 'validate' => 'string', 'type' => 'select', 'method' => 'mail_auth_select', 'explain' => true),
|
'smtp_auth_method' => array('lang' => 'SMTP_AUTH_METHOD', 'validate' => 'string', 'type' => 'select', 'method' => 'mail_auth_select', 'explain' => true),
|
||||||
'smtp_username' => array('lang' => 'SMTP_USERNAME', 'validate' => 'string', 'type' => 'text:25:255', 'explain' => true),
|
'smtp_username' => array('lang' => 'SMTP_USERNAME', 'validate' => 'string', 'type' => 'text:25:255', 'explain' => true),
|
||||||
@@ -642,6 +643,9 @@ class acp_board
|
|||||||
$messenger->template('test');
|
$messenger->template('test');
|
||||||
$messenger->set_addresses($user->data);
|
$messenger->set_addresses($user->data);
|
||||||
$messenger->anti_abuse_headers($config, $user);
|
$messenger->anti_abuse_headers($config, $user);
|
||||||
|
$messenger->assign_vars(array(
|
||||||
|
'USERNAME' => htmlspecialchars_decode($user->data['username']),
|
||||||
|
));
|
||||||
$messenger->send(NOTIFY_EMAIL);
|
$messenger->send(NOTIFY_EMAIL);
|
||||||
|
|
||||||
trigger_error($user->lang('TEST_EMAIL_SENT') . adm_back_link($this->u_action));
|
trigger_error($user->lang('TEST_EMAIL_SENT') . adm_back_link($this->u_action));
|
||||||
@@ -868,7 +872,7 @@ class acp_board
|
|||||||
{
|
{
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
return '<input id="' . $key . '" type="number" size="3" maxlength="3" min="1" max="999" name="config[min_name_chars]" value="' . $value . '" /> ' . $user->lang['MIN_CHARS'] . ' <input type="number" size="3" maxlength="3" min="8" max="180" name="config[max_name_chars]" value="' . $this->new_config['max_name_chars'] . '" /> ' . $user->lang['MAX_CHARS'];
|
return '<input id="' . $key . '" type="number" min="1" max="999" name="config[min_name_chars]" value="' . $value . '" /> ' . $user->lang['MIN_CHARS'] . ' <input type="number" min="8" max="180" name="config[max_name_chars]" value="' . $this->new_config['max_name_chars'] . '" /> ' . $user->lang['MAX_CHARS'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -896,7 +900,7 @@ class acp_board
|
|||||||
{
|
{
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
return '<input id="' . $key . '" type="number" size="3" maxlength="3" min="1" max="999" name="config[min_pass_chars]" value="' . $value . '" /> ' . $user->lang['MIN_CHARS'] . ' <input type="number" size="3" maxlength="3" min="8" max="255" name="config[max_pass_chars]" value="' . $this->new_config['max_pass_chars'] . '" /> ' . $user->lang['MAX_CHARS'];
|
return '<input id="' . $key . '" type="number" min="1" max="999" name="config[min_pass_chars]" value="' . $value . '" /> ' . $user->lang['MIN_CHARS'] . ' <input type="number" min="8" max="255" name="config[max_pass_chars]" value="' . $this->new_config['max_pass_chars'] . '" /> ' . $user->lang['MAX_CHARS'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1041,7 +1045,7 @@ class acp_board
|
|||||||
$user->timezone = $old_tz;
|
$user->timezone = $old_tz;
|
||||||
|
|
||||||
return "<select name=\"dateoptions\" id=\"dateoptions\" onchange=\"if (this.value == 'custom') { document.getElementById('" . addslashes($key) . "').value = '" . addslashes($value) . "'; } else { document.getElementById('" . addslashes($key) . "').value = this.value; }\">$dateformat_options</select>
|
return "<select name=\"dateoptions\" id=\"dateoptions\" onchange=\"if (this.value == 'custom') { document.getElementById('" . addslashes($key) . "').value = '" . addslashes($value) . "'; } else { document.getElementById('" . addslashes($key) . "').value = this.value; }\">$dateformat_options</select>
|
||||||
<input type=\"text\" name=\"config[$key]\" id=\"$key\" value=\"$value\" maxlength=\"30\" />";
|
<input type=\"text\" name=\"config[$key]\" id=\"$key\" value=\"$value\" maxlength=\"64\" />";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -38,6 +38,9 @@ class acp_database
|
|||||||
|
|
||||||
$action = $request->variable('action', '');
|
$action = $request->variable('action', '');
|
||||||
|
|
||||||
|
$form_key = 'acp_database';
|
||||||
|
add_form_key($form_key);
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'MODE' => $mode
|
'MODE' => $mode
|
||||||
));
|
));
|
||||||
@@ -61,6 +64,11 @@ class acp_database
|
|||||||
trigger_error($user->lang['TABLE_SELECT_ERROR'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['TABLE_SELECT_ERROR'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!check_form_key($form_key))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$store = $download = $structure = $schema_data = false;
|
$store = $download = $structure = $schema_data = false;
|
||||||
|
|
||||||
if ($where == 'store_and_download' || $where == 'store')
|
if ($where == 'store_and_download' || $where == 'store')
|
||||||
@@ -107,12 +115,10 @@ class acp_database
|
|||||||
// We might wanna empty out all that junk :D
|
// We might wanna empty out all that junk :D
|
||||||
switch ($db->get_sql_layer())
|
switch ($db->get_sql_layer())
|
||||||
{
|
{
|
||||||
case 'sqlite':
|
|
||||||
case 'sqlite3':
|
case 'sqlite3':
|
||||||
$extractor->flush('DELETE FROM ' . $table_name . ";\n");
|
$extractor->flush('DELETE FROM ' . $table_name . ";\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'mssql':
|
|
||||||
case 'mssql_odbc':
|
case 'mssql_odbc':
|
||||||
case 'mssqlnative':
|
case 'mssqlnative':
|
||||||
$extractor->flush('TRUNCATE TABLE ' . $table_name . "GO\n");
|
$extractor->flush('TRUNCATE TABLE ' . $table_name . "GO\n");
|
||||||
@@ -297,7 +303,6 @@ class acp_database
|
|||||||
case 'mysql':
|
case 'mysql':
|
||||||
case 'mysql4':
|
case 'mysql4':
|
||||||
case 'mysqli':
|
case 'mysqli':
|
||||||
case 'sqlite':
|
|
||||||
case 'sqlite3':
|
case 'sqlite3':
|
||||||
while (($sql = $fgetd($fp, ";\n", $read, $seek, $eof)) !== false)
|
while (($sql = $fgetd($fp, ";\n", $read, $seek, $eof)) !== false)
|
||||||
{
|
{
|
||||||
@@ -352,7 +357,6 @@ class acp_database
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'mssql':
|
|
||||||
case 'mssql_odbc':
|
case 'mssql_odbc':
|
||||||
case 'mssqlnative':
|
case 'mssqlnative':
|
||||||
while (($sql = $fgetd($fp, "GO\n", $read, $seek, $eof)) !== false)
|
while (($sql = $fgetd($fp, "GO\n", $read, $seek, $eof)) !== false)
|
||||||
|
@@ -11,6 +11,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
use phpbb\exception\exception_interface;
|
||||||
|
use phpbb\exception\version_check_exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ignore
|
* @ignore
|
||||||
*/
|
*/
|
||||||
@@ -34,7 +37,7 @@ class acp_extensions
|
|||||||
function main()
|
function main()
|
||||||
{
|
{
|
||||||
// Start the page
|
// Start the page
|
||||||
global $config, $user, $template, $request, $phpbb_extension_manager, $db, $phpbb_root_path, $phpbb_log, $cache;
|
global $config, $user, $template, $request, $phpbb_extension_manager, $db, $phpbb_root_path, $phpbb_log, $cache, $phpbb_dispatcher;
|
||||||
|
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
@@ -43,6 +46,7 @@ class acp_extensions
|
|||||||
$this->cache = $cache;
|
$this->cache = $cache;
|
||||||
$this->request = $request;
|
$this->request = $request;
|
||||||
$this->log = $phpbb_log;
|
$this->log = $phpbb_log;
|
||||||
|
$this->phpbb_dispatcher = $phpbb_dispatcher;
|
||||||
|
|
||||||
$user->add_lang(array('install', 'acp/extensions', 'migrator'));
|
$user->add_lang(array('install', 'acp/extensions', 'migrator'));
|
||||||
|
|
||||||
@@ -55,6 +59,21 @@ class acp_extensions
|
|||||||
$safe_time_limit = (ini_get('max_execution_time') / 2);
|
$safe_time_limit = (ini_get('max_execution_time') / 2);
|
||||||
$start_time = time();
|
$start_time = time();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Event to run a specific action on extension
|
||||||
|
*
|
||||||
|
* @event core.acp_extensions_run_action
|
||||||
|
* @var string action Action to run
|
||||||
|
* @var string u_action Url we are at
|
||||||
|
* @var string ext_name Extension name from request
|
||||||
|
* @var int safe_time_limit Safe limit of execution time
|
||||||
|
* @var int start_time Start time
|
||||||
|
* @since 3.1.11-RC1
|
||||||
|
*/
|
||||||
|
$u_action = $this->u_action;
|
||||||
|
$vars = array('action', 'u_action', 'ext_name', 'safe_time_limit', 'start_time');
|
||||||
|
extract($this->phpbb_dispatcher->trigger_event('core.acp_extensions_run_action', compact($vars)));
|
||||||
|
|
||||||
// Cancel action
|
// Cancel action
|
||||||
if ($request->is_set_post('cancel'))
|
if ($request->is_set_post('cancel'))
|
||||||
{
|
{
|
||||||
@@ -70,13 +89,13 @@ class acp_extensions
|
|||||||
// If they've specified an extension, let's load the metadata manager and validate it.
|
// If they've specified an extension, let's load the metadata manager and validate it.
|
||||||
if ($ext_name)
|
if ($ext_name)
|
||||||
{
|
{
|
||||||
$md_manager = new \phpbb\extension\metadata_manager($ext_name, $config, $phpbb_extension_manager, $template, $phpbb_root_path);
|
$md_manager = new \phpbb\extension\metadata_manager($ext_name, $config, $phpbb_extension_manager, $phpbb_root_path);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$md_manager->get_metadata('all');
|
$md_manager->get_metadata('all');
|
||||||
}
|
}
|
||||||
catch (\phpbb\extension\exception $e)
|
catch (exception_interface $e)
|
||||||
{
|
{
|
||||||
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
||||||
trigger_error($message, E_USER_WARNING);
|
trigger_error($message, E_USER_WARNING);
|
||||||
@@ -287,29 +306,39 @@ class acp_extensions
|
|||||||
|
|
||||||
case 'details':
|
case 'details':
|
||||||
// Output it to the template
|
// Output it to the template
|
||||||
$md_manager->output_template_data();
|
$md_manager->output_template_data($template);
|
||||||
|
|
||||||
try
|
$meta = $md_manager->get_metadata('all');
|
||||||
|
if (isset($meta['extra']['version-check']))
|
||||||
{
|
{
|
||||||
$updates_available = $this->version_check($md_manager, $request->variable('versioncheck_force', false));
|
try
|
||||||
|
|
||||||
$template->assign_vars(array(
|
|
||||||
'S_UP_TO_DATE' => empty($updates_available),
|
|
||||||
'S_VERSIONCHECK' => true,
|
|
||||||
'UP_TO_DATE_MSG' => $this->user->lang(empty($updates_available) ? 'UP_TO_DATE' : 'NOT_UP_TO_DATE', $md_manager->get_metadata('display-name')),
|
|
||||||
));
|
|
||||||
|
|
||||||
foreach ($updates_available as $branch => $version_data)
|
|
||||||
{
|
{
|
||||||
$template->assign_block_vars('updates_available', $version_data);
|
$updates_available = $phpbb_extension_manager->version_check($md_manager, $request->variable('versioncheck_force', false), $this->config['extension_force_unstable'] ? 'unstable' : null);
|
||||||
|
|
||||||
|
$template->assign_vars(array(
|
||||||
|
'S_UP_TO_DATE' => empty($updates_available),
|
||||||
|
'UP_TO_DATE_MSG' => $this->user->lang(empty($updates_available) ? 'UP_TO_DATE' : 'NOT_UP_TO_DATE', $md_manager->get_metadata('display-name')),
|
||||||
|
));
|
||||||
|
|
||||||
|
foreach ($updates_available as $branch => $version_data)
|
||||||
|
{
|
||||||
|
$template->assign_block_vars('updates_available', $version_data);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
catch (exception_interface $e)
|
||||||
|
{
|
||||||
|
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
||||||
|
|
||||||
|
$template->assign_vars(array(
|
||||||
|
'S_VERSIONCHECK_FAIL' => true,
|
||||||
|
'VERSIONCHECK_FAIL_REASON' => ($e->getMessage() !== 'VERSIONCHECK_FAIL') ? $message : '',
|
||||||
|
));
|
||||||
|
}
|
||||||
|
$template->assign_var('S_VERSIONCHECK', true);
|
||||||
}
|
}
|
||||||
catch (\RuntimeException $e)
|
else
|
||||||
{
|
{
|
||||||
$template->assign_vars(array(
|
$template->assign_var('S_VERSIONCHECK', false);
|
||||||
'S_VERSIONCHECK_STATUS' => $e->getCode(),
|
|
||||||
'VERSIONCHECK_FAIL_REASON' => ($e->getMessage() !== $user->lang('VERSIONCHECK_FAIL')) ? $e->getMessage() : '',
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
@@ -334,7 +363,7 @@ class acp_extensions
|
|||||||
|
|
||||||
foreach ($phpbb_extension_manager->all_enabled() as $name => $location)
|
foreach ($phpbb_extension_manager->all_enabled() as $name => $location)
|
||||||
{
|
{
|
||||||
$md_manager = $phpbb_extension_manager->create_extension_metadata_manager($name, $this->template);
|
$md_manager = $phpbb_extension_manager->create_extension_metadata_manager($name);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -344,14 +373,28 @@ class acp_extensions
|
|||||||
'META_VERSION' => $meta['version'],
|
'META_VERSION' => $meta['version'],
|
||||||
);
|
);
|
||||||
|
|
||||||
$force_update = $this->request->variable('versioncheck_force', false);
|
if (isset($meta['extra']['version-check']))
|
||||||
$updates = $this->version_check($md_manager, $force_update, !$force_update);
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
$force_update = $this->request->variable('versioncheck_force', false);
|
||||||
|
$updates = $phpbb_extension_manager->version_check($md_manager, $force_update, !$force_update);
|
||||||
|
|
||||||
$enabled_extension_meta_data[$name]['S_UP_TO_DATE'] = empty($updates);
|
$enabled_extension_meta_data[$name]['S_UP_TO_DATE'] = empty($updates);
|
||||||
$enabled_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
|
$enabled_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
|
||||||
$enabled_extension_meta_data[$name]['U_VERSIONCHECK_FORCE'] = $this->u_action . '&action=details&versioncheck_force=1&ext_name=' . urlencode($md_manager->get_metadata('name'));
|
$enabled_extension_meta_data[$name]['U_VERSIONCHECK_FORCE'] = $this->u_action . '&action=details&versioncheck_force=1&ext_name=' . urlencode($md_manager->get_metadata('name'));
|
||||||
|
}
|
||||||
|
catch (exception_interface $e)
|
||||||
|
{
|
||||||
|
// Ignore exceptions due to the version check
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$enabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (\phpbb\extension\exception $e)
|
catch (exception_interface $e)
|
||||||
{
|
{
|
||||||
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
||||||
$this->template->assign_block_vars('disabled', array(
|
$this->template->assign_block_vars('disabled', array(
|
||||||
@@ -392,7 +435,7 @@ class acp_extensions
|
|||||||
|
|
||||||
foreach ($phpbb_extension_manager->all_disabled() as $name => $location)
|
foreach ($phpbb_extension_manager->all_disabled() as $name => $location)
|
||||||
{
|
{
|
||||||
$md_manager = $phpbb_extension_manager->create_extension_metadata_manager($name, $this->template);
|
$md_manager = $phpbb_extension_manager->create_extension_metadata_manager($name);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -402,14 +445,25 @@ class acp_extensions
|
|||||||
'META_VERSION' => $meta['version'],
|
'META_VERSION' => $meta['version'],
|
||||||
);
|
);
|
||||||
|
|
||||||
$force_update = $this->request->variable('versioncheck_force', false);
|
if (isset($meta['extra']['version-check']))
|
||||||
$updates = $this->version_check($md_manager, $force_update, !$force_update);
|
{
|
||||||
|
$force_update = $this->request->variable('versioncheck_force', false);
|
||||||
|
$updates = $phpbb_extension_manager->version_check($md_manager, $force_update, !$force_update);
|
||||||
|
|
||||||
$disabled_extension_meta_data[$name]['S_UP_TO_DATE'] = empty($updates);
|
$disabled_extension_meta_data[$name]['S_UP_TO_DATE'] = empty($updates);
|
||||||
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
|
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
|
||||||
$disabled_extension_meta_data[$name]['U_VERSIONCHECK_FORCE'] = $this->u_action . '&action=details&versioncheck_force=1&ext_name=' . urlencode($md_manager->get_metadata('name'));
|
$disabled_extension_meta_data[$name]['U_VERSIONCHECK_FORCE'] = $this->u_action . '&action=details&versioncheck_force=1&ext_name=' . urlencode($md_manager->get_metadata('name'));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (\phpbb\extension\exception $e)
|
catch (version_check_exception $e)
|
||||||
|
{
|
||||||
|
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||||
|
}
|
||||||
|
catch (exception_interface $e)
|
||||||
{
|
{
|
||||||
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
||||||
$this->template->assign_block_vars('disabled', array(
|
$this->template->assign_block_vars('disabled', array(
|
||||||
@@ -419,7 +473,7 @@ class acp_extensions
|
|||||||
}
|
}
|
||||||
catch (\RuntimeException $e)
|
catch (\RuntimeException $e)
|
||||||
{
|
{
|
||||||
$disabeld_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
$disabled_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -453,7 +507,7 @@ class acp_extensions
|
|||||||
|
|
||||||
foreach ($uninstalled as $name => $location)
|
foreach ($uninstalled as $name => $location)
|
||||||
{
|
{
|
||||||
$md_manager = $phpbb_extension_manager->create_extension_metadata_manager($name, $this->template);
|
$md_manager = $phpbb_extension_manager->create_extension_metadata_manager($name);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -463,14 +517,25 @@ class acp_extensions
|
|||||||
'META_VERSION' => $meta['version'],
|
'META_VERSION' => $meta['version'],
|
||||||
);
|
);
|
||||||
|
|
||||||
$force_update = $this->request->variable('versioncheck_force', false);
|
if (isset($meta['extra']['version-check']))
|
||||||
$updates = $this->version_check($md_manager, $force_update, !$force_update);
|
{
|
||||||
|
$force_update = $this->request->variable('versioncheck_force', false);
|
||||||
|
$updates = $phpbb_extension_manager->version_check($md_manager, $force_update, !$force_update);
|
||||||
|
|
||||||
$available_extension_meta_data[$name]['S_UP_TO_DATE'] = empty($updates);
|
$available_extension_meta_data[$name]['S_UP_TO_DATE'] = empty($updates);
|
||||||
$available_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
|
$available_extension_meta_data[$name]['S_VERSIONCHECK'] = true;
|
||||||
$available_extension_meta_data[$name]['U_VERSIONCHECK_FORCE'] = $this->u_action . '&action=details&versioncheck_force=1&ext_name=' . urlencode($md_manager->get_metadata('name'));
|
$available_extension_meta_data[$name]['U_VERSIONCHECK_FORCE'] = $this->u_action . '&action=details&versioncheck_force=1&ext_name=' . urlencode($md_manager->get_metadata('name'));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$available_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (\phpbb\extension\exception $e)
|
catch (version_check_exception $e)
|
||||||
|
{
|
||||||
|
$available_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
||||||
|
}
|
||||||
|
catch (exception_interface $e)
|
||||||
{
|
{
|
||||||
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
$message = call_user_func_array(array($this->user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
||||||
$this->template->assign_block_vars('disabled', array(
|
$this->template->assign_block_vars('disabled', array(
|
||||||
@@ -478,10 +543,6 @@ class acp_extensions
|
|||||||
'S_VERSIONCHECK' => false,
|
'S_VERSIONCHECK' => false,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
catch (\RuntimeException $e)
|
|
||||||
{
|
|
||||||
$available_extension_meta_data[$name]['S_VERSIONCHECK'] = false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uasort($available_extension_meta_data, array($this, 'sort_extension_meta_data_table'));
|
uasort($available_extension_meta_data, array($this, 'sort_extension_meta_data_table'));
|
||||||
@@ -517,34 +578,6 @@ class acp_extensions
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Check the version and return the available updates.
|
|
||||||
*
|
|
||||||
* @param \phpbb\extension\metadata_manager $md_manager The metadata manager for the version to check.
|
|
||||||
* @param bool $force_update Ignores cached data. Defaults to false.
|
|
||||||
* @param bool $force_cache Force the use of the cache. Override $force_update.
|
|
||||||
* @return string
|
|
||||||
* @throws RuntimeException
|
|
||||||
*/
|
|
||||||
protected function version_check(\phpbb\extension\metadata_manager $md_manager, $force_update = false, $force_cache = false)
|
|
||||||
{
|
|
||||||
$meta = $md_manager->get_metadata('all');
|
|
||||||
|
|
||||||
if (!isset($meta['extra']['version-check']))
|
|
||||||
{
|
|
||||||
throw new \RuntimeException($this->user->lang('NO_VERSIONCHECK'), 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
$version_check = $meta['extra']['version-check'];
|
|
||||||
|
|
||||||
$version_helper = new \phpbb\version_helper($this->cache, $this->config, new \phpbb\file_downloader(), $this->user);
|
|
||||||
$version_helper->set_current_version($meta['version']);
|
|
||||||
$version_helper->set_file_location($version_check['host'], $version_check['directory'], $version_check['filename'], isset($version_check['ssl']) ? $version_check['ssl'] : false);
|
|
||||||
$version_helper->force_stability($this->config['extension_force_unstable'] ? 'unstable' : null);
|
|
||||||
|
|
||||||
return $updates = $version_helper->get_suggested_updates($force_update, $force_cache);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sort helper for the table containing the metadata about the extensions.
|
* Sort helper for the table containing the metadata about the extensions.
|
||||||
*/
|
*/
|
||||||
|
@@ -843,9 +843,26 @@ class acp_forums
|
|||||||
ORDER BY left_id";
|
ORDER BY left_id";
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
if ($row = $db->sql_fetchrow($result))
|
$rowset = array();
|
||||||
|
while ($row = $db->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
do
|
$rowset[(int) $row['forum_id']] = $row;
|
||||||
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Modify the forum list data
|
||||||
|
*
|
||||||
|
* @event core.acp_manage_forums_modify_forum_list
|
||||||
|
* @var array rowset Array with the forums list data
|
||||||
|
* @since 3.1.10-RC1
|
||||||
|
*/
|
||||||
|
$vars = array('rowset');
|
||||||
|
extract($phpbb_dispatcher->trigger_event('core.acp_manage_forums_modify_forum_list', compact($vars)));
|
||||||
|
|
||||||
|
if (!empty($rowset))
|
||||||
|
{
|
||||||
|
foreach ($rowset as $row)
|
||||||
{
|
{
|
||||||
$forum_type = $row['forum_type'];
|
$forum_type = $row['forum_type'];
|
||||||
|
|
||||||
@@ -889,7 +906,6 @@ class acp_forums
|
|||||||
'U_SYNC' => $url . '&action=sync')
|
'U_SYNC' => $url . '&action=sync')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
while ($row = $db->sql_fetchrow($result));
|
|
||||||
}
|
}
|
||||||
else if ($this->parent_id)
|
else if ($this->parent_id)
|
||||||
{
|
{
|
||||||
@@ -905,7 +921,7 @@ class acp_forums
|
|||||||
'U_SYNC' => $url . '&action=sync')
|
'U_SYNC' => $url . '&action=sync')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
unset($rowset);
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'ERROR_MSG' => (sizeof($errors)) ? implode('<br />', $errors) : '',
|
'ERROR_MSG' => (sizeof($errors)) ? implode('<br />', $errors) : '',
|
||||||
@@ -1420,7 +1436,7 @@ class acp_forums
|
|||||||
$diff = sizeof($moved_forums) * 2;
|
$diff = sizeof($moved_forums) * 2;
|
||||||
|
|
||||||
$moved_ids = array();
|
$moved_ids = array();
|
||||||
for ($i = 0; $i < sizeof($moved_forums); ++$i)
|
for ($i = 0, $size = sizeof($moved_forums); $i < $size; ++$i)
|
||||||
{
|
{
|
||||||
$moved_ids[] = $moved_forums[$i]['forum_id'];
|
$moved_ids[] = $moved_forums[$i]['forum_id'];
|
||||||
}
|
}
|
||||||
|
@@ -223,6 +223,7 @@ class acp_groups
|
|||||||
}
|
}
|
||||||
else if ($action === 'delete' && $group_row['group_type'] == GROUP_SPECIAL)
|
else if ($action === 'delete' && $group_row['group_type'] == GROUP_SPECIAL)
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -235,6 +236,7 @@ class acp_groups
|
|||||||
case 'delete':
|
case 'delete':
|
||||||
if (!$auth->acl_get('a_groupdel'))
|
if (!$auth->acl_get('a_groupdel'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -313,6 +315,7 @@ class acp_groups
|
|||||||
|
|
||||||
if ($action == 'add' && !$auth->acl_get('a_groupadd'))
|
if ($action == 'add' && !$auth->acl_get('a_groupadd'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -325,10 +328,11 @@ class acp_groups
|
|||||||
$avatar_data = null;
|
$avatar_data = null;
|
||||||
$avatar_error = array();
|
$avatar_error = array();
|
||||||
|
|
||||||
|
/** @var \phpbb\avatar\manager $phpbb_avatar_manager */
|
||||||
|
$phpbb_avatar_manager = $phpbb_container->get('avatar.manager');
|
||||||
|
|
||||||
if ($config['allow_avatar'])
|
if ($config['allow_avatar'])
|
||||||
{
|
{
|
||||||
/* @var $phpbb_avatar_manager \phpbb\avatar\manager */
|
|
||||||
$phpbb_avatar_manager = $phpbb_container->get('avatar.manager');
|
|
||||||
$avatar_drivers = $phpbb_avatar_manager->get_enabled_drivers();
|
$avatar_drivers = $phpbb_avatar_manager->get_enabled_drivers();
|
||||||
|
|
||||||
// This is normalised data, without the group_ prefix
|
// This is normalised data, without the group_ prefix
|
||||||
@@ -669,6 +673,14 @@ class acp_groups
|
|||||||
$avatars_enabled = false;
|
$avatars_enabled = false;
|
||||||
$selected_driver = $phpbb_avatar_manager->clean_driver_name($request->variable('avatar_driver', $avatar_data['avatar_type']));
|
$selected_driver = $phpbb_avatar_manager->clean_driver_name($request->variable('avatar_driver', $avatar_data['avatar_type']));
|
||||||
|
|
||||||
|
// Assign min and max values before generating avatar driver html
|
||||||
|
$template->assign_vars(array(
|
||||||
|
'AVATAR_MIN_WIDTH' => $config['avatar_min_width'],
|
||||||
|
'AVATAR_MAX_WIDTH' => $config['avatar_max_width'],
|
||||||
|
'AVATAR_MIN_HEIGHT' => $config['avatar_min_height'],
|
||||||
|
'AVATAR_MAX_HEIGHT' => $config['avatar_max_height'],
|
||||||
|
));
|
||||||
|
|
||||||
foreach ($avatar_drivers as $current_driver)
|
foreach ($avatar_drivers as $current_driver)
|
||||||
{
|
{
|
||||||
$driver = $phpbb_avatar_manager->get_driver($current_driver);
|
$driver = $phpbb_avatar_manager->get_driver($current_driver);
|
||||||
|
143
phpBB/includes/acp/acp_help_phpbb.php
Normal file
143
phpBB/includes/acp/acp_help_phpbb.php
Normal file
@@ -0,0 +1,143 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This file is part of the phpBB Forum Software package.
|
||||||
|
*
|
||||||
|
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||||||
|
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see
|
||||||
|
* the docs/CREDITS.txt file.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ignore
|
||||||
|
*/
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
class acp_help_phpbb
|
||||||
|
{
|
||||||
|
var $u_action;
|
||||||
|
|
||||||
|
function main($id, $mode)
|
||||||
|
{
|
||||||
|
global $config, $request, $template, $user, $phpbb_dispatcher, $phpbb_admin_path, $phpbb_root_path, $phpEx;
|
||||||
|
|
||||||
|
if (!class_exists('phpbb_questionnaire_data_collector'))
|
||||||
|
{
|
||||||
|
include($phpbb_root_path . 'includes/questionnaire/questionnaire.' . $phpEx);
|
||||||
|
}
|
||||||
|
|
||||||
|
$collect_url = "https://www.phpbb.com/stats/receive_stats.php";
|
||||||
|
|
||||||
|
$this->tpl_name = 'acp_help_phpbb';
|
||||||
|
$this->page_title = 'ACP_HELP_PHPBB';
|
||||||
|
|
||||||
|
$submit = ($request->is_set_post('submit')) ? true : false;
|
||||||
|
|
||||||
|
$form_key = 'acp_help_phpbb';
|
||||||
|
add_form_key($form_key);
|
||||||
|
$error = array();
|
||||||
|
|
||||||
|
if ($submit && !check_form_key($form_key))
|
||||||
|
{
|
||||||
|
$error[] = $user->lang['FORM_INVALID'];
|
||||||
|
}
|
||||||
|
// Do not write values if there is an error
|
||||||
|
if (sizeof($error))
|
||||||
|
{
|
||||||
|
$submit = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// generate a unique id if necessary
|
||||||
|
if (!isset($config['questionnaire_unique_id']))
|
||||||
|
{
|
||||||
|
$install_id = unique_id();
|
||||||
|
$config->set('questionnaire_unique_id', $install_id);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$install_id = $config['questionnaire_unique_id'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$collector = new phpbb_questionnaire_data_collector($install_id);
|
||||||
|
|
||||||
|
// Add data provider
|
||||||
|
$collector->add_data_provider(new phpbb_questionnaire_php_data_provider());
|
||||||
|
$collector->add_data_provider(new phpbb_questionnaire_system_data_provider());
|
||||||
|
$collector->add_data_provider(new phpbb_questionnaire_phpbb_data_provider($config));
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Event to modify ACP help phpBB page and/or listen to submit
|
||||||
|
*
|
||||||
|
* @event core.acp_help_phpbb_submit_before
|
||||||
|
* @var boolean submit Do we display the form or process the submission
|
||||||
|
* @since 3.2.0-RC2
|
||||||
|
*/
|
||||||
|
$vars = array('submit');
|
||||||
|
extract($phpbb_dispatcher->trigger_event('core.acp_help_phpbb_submit_before', compact($vars)));
|
||||||
|
|
||||||
|
if ($submit)
|
||||||
|
{
|
||||||
|
$config->set('help_send_statistics', $request->variable('help_send_statistics', false));
|
||||||
|
$response = $request->variable('send_statistics_response', '');
|
||||||
|
|
||||||
|
$config->set('help_send_statistics_time', time());
|
||||||
|
|
||||||
|
if (!empty($response))
|
||||||
|
{
|
||||||
|
if ((strpos($response, 'Thank you') !== false || strpos($response, 'Flood protection') !== false))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang('THANKS_SEND_STATISTICS') . adm_back_link($this->u_action));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
trigger_error($user->lang('FAIL_SEND_STATISTICS') . adm_back_link($this->u_action));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
trigger_error($user->lang('CONFIG_UPDATED') . adm_back_link($this->u_action));
|
||||||
|
}
|
||||||
|
|
||||||
|
$template->assign_vars(array(
|
||||||
|
'U_COLLECT_STATS' => $collect_url,
|
||||||
|
'S_COLLECT_STATS' => (!empty($config['help_send_statistics'])) ? true : false,
|
||||||
|
'RAW_DATA' => $collector->get_data_for_form(),
|
||||||
|
'U_ACP_MAIN' => append_sid("{$phpbb_admin_path}index.$phpEx"),
|
||||||
|
'U_ACTION' => $this->u_action,
|
||||||
|
// Pass earliest time we should try to send stats again
|
||||||
|
'COLLECT_STATS_TIME' => intval($config['help_send_statistics_time']) + 86400,
|
||||||
|
));
|
||||||
|
|
||||||
|
$raw = $collector->get_data_raw();
|
||||||
|
|
||||||
|
foreach ($raw as $provider => $data)
|
||||||
|
{
|
||||||
|
if ($provider == 'install_id')
|
||||||
|
{
|
||||||
|
$data = array($provider => $data);
|
||||||
|
}
|
||||||
|
|
||||||
|
$template->assign_block_vars('providers', array(
|
||||||
|
'NAME' => htmlspecialchars($provider),
|
||||||
|
));
|
||||||
|
|
||||||
|
foreach ($data as $key => $value)
|
||||||
|
{
|
||||||
|
if (is_array($value))
|
||||||
|
{
|
||||||
|
$value = utf8_wordwrap(serialize($value), 75, "\n", true);
|
||||||
|
}
|
||||||
|
|
||||||
|
$template->assign_block_vars('providers.values', array(
|
||||||
|
'KEY' => utf8_htmlspecialchars($key),
|
||||||
|
'VALUE' => utf8_htmlspecialchars($value),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -40,6 +40,10 @@ class acp_icons
|
|||||||
$action = (isset($_POST['edit'])) ? 'edit' : $action;
|
$action = (isset($_POST['edit'])) ? 'edit' : $action;
|
||||||
$action = (isset($_POST['import'])) ? 'import' : $action;
|
$action = (isset($_POST['import'])) ? 'import' : $action;
|
||||||
$icon_id = $request->variable('id', 0);
|
$icon_id = $request->variable('id', 0);
|
||||||
|
$submit = $request->is_set_post('submit', false);
|
||||||
|
|
||||||
|
$form_key = 'acp_icons';
|
||||||
|
add_form_key($form_key);
|
||||||
|
|
||||||
$mode = ($mode == 'smilies') ? 'smilies' : 'icons';
|
$mode = ($mode == 'smilies') ? 'smilies' : 'icons';
|
||||||
|
|
||||||
@@ -325,6 +329,11 @@ class acp_icons
|
|||||||
case 'create':
|
case 'create':
|
||||||
case 'modify':
|
case 'modify':
|
||||||
|
|
||||||
|
if (!check_form_key($form_key))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
// Get items to create/modify
|
// Get items to create/modify
|
||||||
$images = (isset($_POST['image'])) ? array_keys($request->variable('image', array('' => 0))) : array();
|
$images = (isset($_POST['image'])) ? array_keys($request->variable('image', array('' => 0))) : array();
|
||||||
|
|
||||||
@@ -522,6 +531,11 @@ class acp_icons
|
|||||||
{
|
{
|
||||||
$order = 0;
|
$order = 0;
|
||||||
|
|
||||||
|
if (!check_form_key($form_key))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
if (!($pak_ary = @file($phpbb_root_path . $img_path . '/' . $pak)))
|
if (!($pak_ary = @file($phpbb_root_path . $img_path . '/' . $pak)))
|
||||||
{
|
{
|
||||||
trigger_error($user->lang['PAK_FILE_NOT_READABLE'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['PAK_FILE_NOT_READABLE'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
@@ -549,7 +563,6 @@ class acp_icons
|
|||||||
{
|
{
|
||||||
switch ($db->get_sql_layer())
|
switch ($db->get_sql_layer())
|
||||||
{
|
{
|
||||||
case 'sqlite':
|
|
||||||
case 'sqlite3':
|
case 'sqlite3':
|
||||||
$db->sql_query('DELETE FROM ' . $table);
|
$db->sql_query('DELETE FROM ' . $table);
|
||||||
break;
|
break;
|
||||||
@@ -708,7 +721,7 @@ class acp_icons
|
|||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'MESSAGE_TITLE' => $user->lang['EXPORT_' . $lang],
|
'MESSAGE_TITLE' => $user->lang['EXPORT_' . $lang],
|
||||||
'MESSAGE_TEXT' => sprintf($user->lang['EXPORT_' . $lang . '_EXPLAIN'], '<a href="' . $this->u_action . '&action=send">', '</a>'),
|
'MESSAGE_TEXT' => sprintf($user->lang['EXPORT_' . $lang . '_EXPLAIN'], '<a href="' . $this->u_action . '&action=send&hash=' . generate_link_hash('acp_icons') . '">', '</a>'),
|
||||||
|
|
||||||
'S_USER_NOTICE' => true,
|
'S_USER_NOTICE' => true,
|
||||||
)
|
)
|
||||||
@@ -720,6 +733,11 @@ class acp_icons
|
|||||||
|
|
||||||
case 'send':
|
case 'send':
|
||||||
|
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_icons'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = "SELECT *
|
$sql = "SELECT *
|
||||||
FROM $table
|
FROM $table
|
||||||
ORDER BY {$fields}_order";
|
ORDER BY {$fields}_order";
|
||||||
@@ -822,6 +840,11 @@ class acp_icons
|
|||||||
case 'move_up':
|
case 'move_up':
|
||||||
case 'move_down':
|
case 'move_down':
|
||||||
|
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_icons'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
// Get current order id...
|
// Get current order id...
|
||||||
$sql = "SELECT {$fields}_order as current_order
|
$sql = "SELECT {$fields}_order as current_order
|
||||||
FROM $table
|
FROM $table
|
||||||
@@ -941,8 +964,8 @@ class acp_icons
|
|||||||
'EMOTION' => (isset($row['emotion'])) ? $row['emotion'] : '',
|
'EMOTION' => (isset($row['emotion'])) ? $row['emotion'] : '',
|
||||||
'U_EDIT' => $this->u_action . '&action=edit&id=' . $row[$fields . '_id'],
|
'U_EDIT' => $this->u_action . '&action=edit&id=' . $row[$fields . '_id'],
|
||||||
'U_DELETE' => $this->u_action . '&action=delete&id=' . $row[$fields . '_id'],
|
'U_DELETE' => $this->u_action . '&action=delete&id=' . $row[$fields . '_id'],
|
||||||
'U_MOVE_UP' => $this->u_action . '&action=move_up&id=' . $row[$fields . '_id'] . '&start=' . $pagination_start,
|
'U_MOVE_UP' => $this->u_action . '&action=move_up&id=' . $row[$fields . '_id'] . '&start=' . $pagination_start . '&hash=' . generate_link_hash('acp_icons'),
|
||||||
'U_MOVE_DOWN' => $this->u_action . '&action=move_down&id=' . $row[$fields . '_id'] . '&start=' . $pagination_start,
|
'U_MOVE_DOWN' => $this->u_action . '&action=move_down&id=' . $row[$fields . '_id'] . '&start=' . $pagination_start . '&hash=' . generate_link_hash('acp_icons'),
|
||||||
));
|
));
|
||||||
|
|
||||||
if (!$spacer && !$row['display_on_posting'])
|
if (!$spacer && !$row['display_on_posting'])
|
||||||
|
@@ -164,6 +164,7 @@ class acp_inactive
|
|||||||
{
|
{
|
||||||
if (!$auth->acl_get('a_userdel'))
|
if (!$auth->acl_get('a_userdel'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -244,6 +244,11 @@ class acp_language
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'install':
|
case 'install':
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_language'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$lang_iso = $request->variable('iso', '');
|
$lang_iso = $request->variable('iso', '');
|
||||||
$lang_iso = basename($lang_iso);
|
$lang_iso = basename($lang_iso);
|
||||||
|
|
||||||
@@ -405,7 +410,7 @@ class acp_language
|
|||||||
'ISO' => htmlspecialchars($lang_ary['iso']),
|
'ISO' => htmlspecialchars($lang_ary['iso']),
|
||||||
'LOCAL_NAME' => htmlspecialchars($lang_ary['local_name'], ENT_COMPAT, 'UTF-8'),
|
'LOCAL_NAME' => htmlspecialchars($lang_ary['local_name'], ENT_COMPAT, 'UTF-8'),
|
||||||
'NAME' => htmlspecialchars($lang_ary['name'], ENT_COMPAT, 'UTF-8'),
|
'NAME' => htmlspecialchars($lang_ary['name'], ENT_COMPAT, 'UTF-8'),
|
||||||
'U_INSTALL' => $this->u_action . '&action=install&iso=' . urlencode($lang_ary['iso']))
|
'U_INSTALL' => $this->u_action . '&action=install&iso=' . urlencode($lang_ary['iso']) . '&hash=' . generate_link_hash('acp_language'))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -118,6 +118,7 @@ class acp_main
|
|||||||
case 'online':
|
case 'online':
|
||||||
if (!$auth->acl_get('a_board'))
|
if (!$auth->acl_get('a_board'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -134,6 +135,7 @@ class acp_main
|
|||||||
case 'stats':
|
case 'stats':
|
||||||
if (!$auth->acl_get('a_board'))
|
if (!$auth->acl_get('a_board'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -189,6 +191,7 @@ class acp_main
|
|||||||
case 'user':
|
case 'user':
|
||||||
if (!$auth->acl_get('a_board'))
|
if (!$auth->acl_get('a_board'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -256,6 +259,7 @@ class acp_main
|
|||||||
case 'date':
|
case 'date':
|
||||||
if (!$auth->acl_get('a_board'))
|
if (!$auth->acl_get('a_board'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -271,7 +275,6 @@ class acp_main
|
|||||||
case 'db_track':
|
case 'db_track':
|
||||||
switch ($db->get_sql_layer())
|
switch ($db->get_sql_layer())
|
||||||
{
|
{
|
||||||
case 'sqlite':
|
|
||||||
case 'sqlite3':
|
case 'sqlite3':
|
||||||
$db->sql_query('DELETE FROM ' . TOPICS_POSTED_TABLE);
|
$db->sql_query('DELETE FROM ' . TOPICS_POSTED_TABLE);
|
||||||
break;
|
break;
|
||||||
@@ -372,6 +375,7 @@ class acp_main
|
|||||||
case 'purge_sessions':
|
case 'purge_sessions':
|
||||||
if ((int) $user->data['user_type'] !== USER_FOUNDER)
|
if ((int) $user->data['user_type'] !== USER_FOUNDER)
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -381,7 +385,6 @@ class acp_main
|
|||||||
{
|
{
|
||||||
switch ($db->get_sql_layer())
|
switch ($db->get_sql_layer())
|
||||||
{
|
{
|
||||||
case 'sqlite':
|
|
||||||
case 'sqlite3':
|
case 'sqlite3':
|
||||||
$db->sql_query("DELETE FROM $table");
|
$db->sql_query("DELETE FROM $table");
|
||||||
break;
|
break;
|
||||||
@@ -447,9 +450,10 @@ class acp_main
|
|||||||
}
|
}
|
||||||
catch (\RuntimeException $e)
|
catch (\RuntimeException $e)
|
||||||
{
|
{
|
||||||
|
$message = call_user_func_array(array($user, 'lang'), array_merge(array($e->getMessage()), $e->get_parameters()));
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'S_VERSIONCHECK_FAIL' => true,
|
'S_VERSIONCHECK_FAIL' => true,
|
||||||
'VERSIONCHECK_FAIL_REASON' => ($e->getMessage() !== $user->lang('VERSIONCHECK_FAIL')) ? $e->getMessage() : '',
|
'VERSIONCHECK_FAIL_REASON' => ($e->getMessage() !== 'VERSIONCHECK_FAIL') ? $message : '',
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -459,6 +463,12 @@ class acp_main
|
|||||||
$template->assign_var('S_VERSION_UP_TO_DATE', true);
|
$template->assign_var('S_VERSION_UP_TO_DATE', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Incomplete update?
|
||||||
|
if (phpbb_version_compare($config['version'], PHPBB_VERSION, '<'))
|
||||||
|
{
|
||||||
|
$template->assign_var('S_UPDATE_INCOMPLETE', true);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notice admin
|
* Notice admin
|
||||||
*
|
*
|
||||||
|
@@ -50,6 +50,9 @@ class acp_modules
|
|||||||
$user->add_lang('acp/modules');
|
$user->add_lang('acp/modules');
|
||||||
$this->tpl_name = 'acp_modules';
|
$this->tpl_name = 'acp_modules';
|
||||||
|
|
||||||
|
$form_key = 'acp_modules';
|
||||||
|
add_form_key($form_key);
|
||||||
|
|
||||||
// module class
|
// module class
|
||||||
$this->module_class = $mode;
|
$this->module_class = $mode;
|
||||||
|
|
||||||
@@ -130,6 +133,11 @@ class acp_modules
|
|||||||
trigger_error($user->lang['NO_MODULE_ID'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
|
trigger_error($user->lang['NO_MODULE_ID'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_modules'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = 'SELECT *
|
$sql = 'SELECT *
|
||||||
FROM ' . MODULES_TABLE . "
|
FROM ' . MODULES_TABLE . "
|
||||||
WHERE module_class = '" . $db->sql_escape($this->module_class) . "'
|
WHERE module_class = '" . $db->sql_escape($this->module_class) . "'
|
||||||
@@ -161,6 +169,11 @@ class acp_modules
|
|||||||
trigger_error($user->lang['NO_MODULE_ID'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
|
trigger_error($user->lang['NO_MODULE_ID'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_modules'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = 'SELECT *
|
$sql = 'SELECT *
|
||||||
FROM ' . MODULES_TABLE . "
|
FROM ' . MODULES_TABLE . "
|
||||||
WHERE module_class = '" . $db->sql_escape($this->module_class) . "'
|
WHERE module_class = '" . $db->sql_escape($this->module_class) . "'
|
||||||
@@ -305,6 +318,11 @@ class acp_modules
|
|||||||
|
|
||||||
if ($submit)
|
if ($submit)
|
||||||
{
|
{
|
||||||
|
if (!check_form_key($form_key))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
if (!$module_data['module_langname'])
|
if (!$module_data['module_langname'])
|
||||||
{
|
{
|
||||||
trigger_error($user->lang['NO_MODULE_LANGNAME'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
|
trigger_error($user->lang['NO_MODULE_LANGNAME'] . adm_back_link($this->u_action . '&parent_id=' . $this->parent_id), E_USER_WARNING);
|
||||||
@@ -506,12 +524,12 @@ class acp_modules
|
|||||||
'S_ACP_MODULE_MANAGEMENT' => ($this->module_class == 'acp' && ($row['module_basename'] == 'modules' || $row['module_langname'] == 'ACP_MODULE_MANAGEMENT')) ? true : false,
|
'S_ACP_MODULE_MANAGEMENT' => ($this->module_class == 'acp' && ($row['module_basename'] == 'modules' || $row['module_langname'] == 'ACP_MODULE_MANAGEMENT')) ? true : false,
|
||||||
|
|
||||||
'U_MODULE' => $this->u_action . '&parent_id=' . $row['module_id'],
|
'U_MODULE' => $this->u_action . '&parent_id=' . $row['module_id'],
|
||||||
'U_MOVE_UP' => $url . '&action=move_up',
|
'U_MOVE_UP' => $url . '&action=move_up&hash=' . generate_link_hash('acp_modules'),
|
||||||
'U_MOVE_DOWN' => $url . '&action=move_down',
|
'U_MOVE_DOWN' => $url . '&action=move_down&hash=' . generate_link_hash('acp_modules'),
|
||||||
'U_EDIT' => $url . '&action=edit',
|
'U_EDIT' => $url . '&action=edit',
|
||||||
'U_DELETE' => $url . '&action=delete',
|
'U_DELETE' => $url . '&action=delete',
|
||||||
'U_ENABLE' => $url . '&action=enable',
|
'U_ENABLE' => $url . '&action=enable&hash=' . generate_link_hash('acp_modules'),
|
||||||
'U_DISABLE' => $url . '&action=disable')
|
'U_DISABLE' => $url . '&action=disable&hash=' . generate_link_hash('acp_modules'))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
while ($row = $db->sql_fetchrow($result));
|
while ($row = $db->sql_fetchrow($result));
|
||||||
@@ -538,8 +556,8 @@ class acp_modules
|
|||||||
|
|
||||||
'U_EDIT' => $url . '&action=edit',
|
'U_EDIT' => $url . '&action=edit',
|
||||||
'U_DELETE' => $url . '&action=delete',
|
'U_DELETE' => $url . '&action=delete',
|
||||||
'U_ENABLE' => $url . '&action=enable',
|
'U_ENABLE' => $url . '&action=enable&hash=' . generate_link_hash('acp_modules'),
|
||||||
'U_DISABLE' => $url . '&action=disable')
|
'U_DISABLE' => $url . '&action=disable&hash=' . generate_link_hash('acp_modules'))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
@@ -367,6 +367,11 @@ class acp_permission_roles
|
|||||||
case 'move_up':
|
case 'move_up':
|
||||||
case 'move_down':
|
case 'move_down':
|
||||||
|
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_permission_roles'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = 'SELECT role_order
|
$sql = 'SELECT role_order
|
||||||
FROM ' . ACL_ROLES_TABLE . "
|
FROM ' . ACL_ROLES_TABLE . "
|
||||||
WHERE role_id = $role_id";
|
WHERE role_id = $role_id";
|
||||||
@@ -441,8 +446,8 @@ class acp_permission_roles
|
|||||||
|
|
||||||
'U_EDIT' => $this->u_action . '&action=edit&role_id=' . $row['role_id'],
|
'U_EDIT' => $this->u_action . '&action=edit&role_id=' . $row['role_id'],
|
||||||
'U_REMOVE' => $this->u_action . '&action=remove&role_id=' . $row['role_id'],
|
'U_REMOVE' => $this->u_action . '&action=remove&role_id=' . $row['role_id'],
|
||||||
'U_MOVE_UP' => $this->u_action . '&action=move_up&role_id=' . $row['role_id'],
|
'U_MOVE_UP' => $this->u_action . '&action=move_up&role_id=' . $row['role_id'] . '&hash=' . generate_link_hash('acp_permission_roles'),
|
||||||
'U_MOVE_DOWN' => $this->u_action . '&action=move_down&role_id=' . $row['role_id'],
|
'U_MOVE_DOWN' => $this->u_action . '&action=move_down&role_id=' . $row['role_id'] . '&hash=' . generate_link_hash('acp_permission_roles'),
|
||||||
'U_DISPLAY_ITEMS' => ($row['role_id'] == $display_item) ? '' : $this->u_action . '&display_item=' . $row['role_id'] . '#assigned_to')
|
'U_DISPLAY_ITEMS' => ($row['role_id'] == $display_item) ? '' : $this->u_action . '&display_item=' . $row['role_id'] . '#assigned_to')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@@ -315,6 +315,7 @@ class acp_permissions
|
|||||||
case 'apply_permissions':
|
case 'apply_permissions':
|
||||||
if (!isset($_POST['setting']))
|
if (!isset($_POST['setting']))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_SETTING_FOUND'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_SETTING_FOUND'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
if (!check_form_key($form_name))
|
if (!check_form_key($form_name))
|
||||||
@@ -328,6 +329,7 @@ class acp_permissions
|
|||||||
case 'apply_all_permissions':
|
case 'apply_all_permissions':
|
||||||
if (!isset($_POST['setting']))
|
if (!isset($_POST['setting']))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_SETTING_FOUND'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_SETTING_FOUND'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
if (!check_form_key($form_name))
|
if (!check_form_key($form_name))
|
||||||
@@ -687,6 +689,7 @@ class acp_permissions
|
|||||||
// Check the permission setting again
|
// Check the permission setting again
|
||||||
if (!$auth->acl_get('a_' . str_replace('_', '', $permission_type) . 'auth') || !$auth->acl_get('a_auth' . $ug_type . 's'))
|
if (!$auth->acl_get('a_' . str_replace('_', '', $permission_type) . 'auth') || !$auth->acl_get('a_auth' . $ug_type . 's'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -755,6 +758,7 @@ class acp_permissions
|
|||||||
|
|
||||||
$this->log_action($mode, 'add', $permission_type, $ug_type, $ug_id, $forum_id);
|
$this->log_action($mode, 'add', $permission_type, $ug_type, $ug_id, $forum_id);
|
||||||
|
|
||||||
|
meta_refresh(5, $this->u_action);
|
||||||
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -772,6 +776,7 @@ class acp_permissions
|
|||||||
// Check the permission setting again
|
// Check the permission setting again
|
||||||
if (!$auth->acl_get('a_' . str_replace('_', '', $permission_type) . 'auth') || !$auth->acl_get('a_auth' . $ug_type . 's'))
|
if (!$auth->acl_get('a_' . str_replace('_', '', $permission_type) . 'auth') || !$auth->acl_get('a_auth' . $ug_type . 's'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -825,10 +830,12 @@ class acp_permissions
|
|||||||
|
|
||||||
if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local')
|
if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local')
|
||||||
{
|
{
|
||||||
|
meta_refresh(5, $this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_ids));
|
||||||
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_ids)));
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_ids)));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
meta_refresh(5, $this->u_action);
|
||||||
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -884,6 +891,7 @@ class acp_permissions
|
|||||||
// Check the permission setting again
|
// Check the permission setting again
|
||||||
if (!$auth->acl_get('a_' . str_replace('_', '', $permission_type) . 'auth') || !$auth->acl_get('a_auth' . $ug_type . 's'))
|
if (!$auth->acl_get('a_' . str_replace('_', '', $permission_type) . 'auth') || !$auth->acl_get('a_auth' . $ug_type . 's'))
|
||||||
{
|
{
|
||||||
|
send_status_line(403, 'Forbidden');
|
||||||
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -899,10 +907,12 @@ class acp_permissions
|
|||||||
|
|
||||||
if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local')
|
if ($mode == 'setting_forum_local' || $mode == 'setting_mod_local')
|
||||||
{
|
{
|
||||||
|
meta_refresh(5, $this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_id));
|
||||||
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_id)));
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action . '&forum_id[]=' . implode('&forum_id[]=', $forum_id)));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
meta_refresh(5, $this->u_action);
|
||||||
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
|
trigger_error($user->lang['AUTH_UPDATED'] . adm_back_link($this->u_action));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -56,6 +56,9 @@ class acp_profile
|
|||||||
|
|
||||||
$error = array();
|
$error = array();
|
||||||
|
|
||||||
|
$form_key = 'acp_profile';
|
||||||
|
add_form_key($form_key);
|
||||||
|
|
||||||
if (!$field_id && in_array($action, array('delete','activate', 'deactivate', 'move_up', 'move_down', 'edit')))
|
if (!$field_id && in_array($action, array('delete','activate', 'deactivate', 'move_up', 'move_down', 'edit')))
|
||||||
{
|
{
|
||||||
trigger_error($user->lang['NO_FIELD_ID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_FIELD_ID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
@@ -166,6 +169,11 @@ class acp_profile
|
|||||||
|
|
||||||
case 'activate':
|
case 'activate':
|
||||||
|
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_profile'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = 'SELECT lang_id
|
$sql = 'SELECT lang_id
|
||||||
FROM ' . LANG_TABLE . "
|
FROM ' . LANG_TABLE . "
|
||||||
WHERE lang_iso = '" . $db->sql_escape($config['default_lang']) . "'";
|
WHERE lang_iso = '" . $db->sql_escape($config['default_lang']) . "'";
|
||||||
@@ -206,6 +214,11 @@ class acp_profile
|
|||||||
|
|
||||||
case 'deactivate':
|
case 'deactivate':
|
||||||
|
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_profile'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = 'UPDATE ' . PROFILE_FIELDS_TABLE . "
|
$sql = 'UPDATE ' . PROFILE_FIELDS_TABLE . "
|
||||||
SET field_active = 0
|
SET field_active = 0
|
||||||
WHERE field_id = $field_id";
|
WHERE field_id = $field_id";
|
||||||
@@ -235,6 +248,11 @@ class acp_profile
|
|||||||
case 'move_up':
|
case 'move_up':
|
||||||
case 'move_down':
|
case 'move_down':
|
||||||
|
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_profile'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = 'SELECT field_order
|
$sql = 'SELECT field_order
|
||||||
FROM ' . PROFILE_FIELDS_TABLE . "
|
FROM ' . PROFILE_FIELDS_TABLE . "
|
||||||
WHERE field_id = $field_id";
|
WHERE field_id = $field_id";
|
||||||
@@ -586,6 +604,11 @@ class acp_profile
|
|||||||
{
|
{
|
||||||
if (($step == 3 && (sizeof($this->lang_defs['iso']) == 1 || $save)) || ($action == 'edit' && $save))
|
if (($step == 3 && (sizeof($this->lang_defs['iso']) == 1 || $save)) || ($action == 'edit' && $save))
|
||||||
{
|
{
|
||||||
|
if (!check_form_key($form_key))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$this->save_profile_field($cp, $field_type, $action);
|
$this->save_profile_field($cp, $field_type, $action);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -734,18 +757,22 @@ class acp_profile
|
|||||||
$s_one_need_edit = true;
|
$s_one_need_edit = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!isset($this->type_collection[$row['field_type']]))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$profile_field = $this->type_collection[$row['field_type']];
|
$profile_field = $this->type_collection[$row['field_type']];
|
||||||
$template->assign_block_vars('fields', array(
|
$template->assign_block_vars('fields', array(
|
||||||
'FIELD_IDENT' => $row['field_ident'],
|
'FIELD_IDENT' => $row['field_ident'],
|
||||||
'FIELD_TYPE' => $profile_field->get_name(),
|
'FIELD_TYPE' => $profile_field->get_name(),
|
||||||
|
|
||||||
'L_ACTIVATE_DEACTIVATE' => $user->lang[$active_lang],
|
'L_ACTIVATE_DEACTIVATE' => $user->lang[$active_lang],
|
||||||
'U_ACTIVATE_DEACTIVATE' => $this->u_action . "&action=$active_value&field_id=$id",
|
'U_ACTIVATE_DEACTIVATE' => $this->u_action . "&action=$active_value&field_id=$id" . '&hash=' . generate_link_hash('acp_profile'),
|
||||||
'U_EDIT' => $this->u_action . "&action=edit&field_id=$id",
|
'U_EDIT' => $this->u_action . "&action=edit&field_id=$id",
|
||||||
'U_TRANSLATE' => $this->u_action . "&action=edit&field_id=$id&step=3",
|
'U_TRANSLATE' => $this->u_action . "&action=edit&field_id=$id&step=3",
|
||||||
'U_DELETE' => $this->u_action . "&action=delete&field_id=$id",
|
'U_DELETE' => $this->u_action . "&action=delete&field_id=$id",
|
||||||
'U_MOVE_UP' => $this->u_action . "&action=move_up&field_id=$id",
|
'U_MOVE_UP' => $this->u_action . "&action=move_up&field_id=$id" . '&hash=' . generate_link_hash('acp_profile'),
|
||||||
'U_MOVE_DOWN' => $this->u_action . "&action=move_down&field_id=$id",
|
'U_MOVE_DOWN' => $this->u_action . "&action=move_down&field_id=$id" . '&hash=' . generate_link_hash('acp_profile'),
|
||||||
|
|
||||||
'S_NEED_EDIT' => $s_need_edit)
|
'S_NEED_EDIT' => $s_need_edit)
|
||||||
);
|
);
|
||||||
|
@@ -231,7 +231,6 @@ class acp_reasons
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
// Standard? What's that?
|
// Standard? What's that?
|
||||||
case 'mssql':
|
|
||||||
case 'mssql_odbc':
|
case 'mssql_odbc':
|
||||||
case 'mssqlnative':
|
case 'mssqlnative':
|
||||||
// Change the reports using this reason to 'other'
|
// Change the reports using this reason to 'other'
|
||||||
@@ -251,7 +250,6 @@ class acp_reasons
|
|||||||
// Teh standard
|
// Teh standard
|
||||||
case 'postgres':
|
case 'postgres':
|
||||||
case 'oracle':
|
case 'oracle':
|
||||||
case 'sqlite':
|
|
||||||
case 'sqlite3':
|
case 'sqlite3':
|
||||||
// Change the reports using this reason to 'other'
|
// Change the reports using this reason to 'other'
|
||||||
$sql = 'UPDATE ' . REPORTS_TABLE . '
|
$sql = 'UPDATE ' . REPORTS_TABLE . '
|
||||||
@@ -281,6 +279,11 @@ class acp_reasons
|
|||||||
case 'move_up':
|
case 'move_up':
|
||||||
case 'move_down':
|
case 'move_down':
|
||||||
|
|
||||||
|
if (!check_link_hash($request->variable('hash', ''), 'acp_reasons'))
|
||||||
|
{
|
||||||
|
trigger_error($user->lang['FORM_INVALID'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
|
||||||
$sql = 'SELECT reason_order
|
$sql = 'SELECT reason_order
|
||||||
FROM ' . REPORTS_REASONS_TABLE . "
|
FROM ' . REPORTS_REASONS_TABLE . "
|
||||||
WHERE reason_id = $reason_id";
|
WHERE reason_id = $reason_id";
|
||||||
@@ -382,8 +385,8 @@ class acp_reasons
|
|||||||
|
|
||||||
'U_EDIT' => $this->u_action . '&action=edit&id=' . $row['reason_id'],
|
'U_EDIT' => $this->u_action . '&action=edit&id=' . $row['reason_id'],
|
||||||
'U_DELETE' => (!$other_reason) ? $this->u_action . '&action=delete&id=' . $row['reason_id'] : '',
|
'U_DELETE' => (!$other_reason) ? $this->u_action . '&action=delete&id=' . $row['reason_id'] : '',
|
||||||
'U_MOVE_UP' => $this->u_action . '&action=move_up&id=' . $row['reason_id'],
|
'U_MOVE_UP' => $this->u_action . '&action=move_up&id=' . $row['reason_id'] . '&hash=' . generate_link_hash('acp_reasons'),
|
||||||
'U_MOVE_DOWN' => $this->u_action . '&action=move_down&id=' . $row['reason_id'])
|
'U_MOVE_DOWN' => $this->u_action . '&action=move_down&id=' . $row['reason_id'] . '&hash=' . generate_link_hash('acp_reasons'))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user