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

Compare commits

...

2956 Commits

Author SHA1 Message Date
Marc Alexander
07767ab3e6 [prep-release-3.2.7] Add 3.2.7 migration 2019-05-04 15:34:18 +02:00
Marc Alexander
9434e4fa88 [prep-release-3.2.7] Update version numbers to 3.2.7 2019-05-04 15:26:45 +02:00
Marc Alexander
0d3b393ca6 [prep-release-3.2.7] Add changelog for 3.2.7-RC1 2019-05-02 22:57:33 +02:00
Marc Alexander
af7412f3cb [prep-release-3.2.7] Add migration for 3.2.7-RC1 2019-05-02 22:55:55 +02:00
Marc Alexander
417e18b39d Merge pull request #5581 from marc1706/ticket/16042
[ticket/16042] Use S_LOGIN_REDIRECT to output login form token
2019-05-02 22:54:47 +02:00
Marc Alexander
4b6bdbe558 [ticket/16042] Adjust positioning and add comment to overwrite
PHPBB3-16042
2019-05-02 21:29:11 +02:00
Marc Alexander
3c822556c1 [ticket/16042] Use S_LOGIN_REDIRECT to output login form token
PHPBB3-16042
2019-05-02 21:21:07 +02:00
Marc Alexander
dc10853356 [prep-release-3.2.7] Update version numbers to 3.2.7 2019-05-02 20:53:02 +02:00
Marc Alexander
0bf0f4d32b [prep-release-3.2.7] Update version numbers for 3.2.7-RC1 2019-05-02 20:52:13 +02:00
Marc Alexander
ccf5575dd8 Merge pull request #5577 from JoshyPHP/ticket/16034
[ticket/16034] Fix [url=] links being incorrectly shortened
2019-05-02 19:41:32 +02:00
Marc Alexander
21b5256740 Merge pull request #5578 from rubencm/ticket/16036
[ticket/16036] Add S_FORM_TOKEN_LOGIN to all login forms
2019-05-02 19:39:11 +02:00
Marc Alexander
b2f3f72eca Merge pull request #5579 from VSEphpbb/ticket/16037
[ticket/16037] Fix UCP PM ViewFolder PHP Notice error
2019-05-01 22:20:04 +02:00
Marc Alexander
eb1896e6f7 Merge pull request #5580 from mrgoldy/ticket/16039
[ticket/16039] Global dispatcher
2019-05-01 20:33:12 +02:00
mrgoldy
af6dcdd6e6 [ticket/16039] Global dispatcher
PHPBB3-16039
2019-05-01 15:54:48 +02:00
Matt Friedman
70b7777743 [ticket/16037] Fix UCP PM ViewFolder PHP Notice error
PHPBB3-16037
2019-04-30 15:18:07 -07:00
rubencm
540a6b7d2e [ticket/16036] Add S_FORM_TOKEN_LOGIN to all login forms
PHPBB3-16036
2019-04-29 16:13:26 +00:00
Marc Alexander
055d7658db Merge branch 'prep-release-3.2.6' into 3.2.x 2019-04-29 08:35:30 +02:00
Marc Alexander
2575b499a3 [prep-release-3.2.6] Update Changelog and add missing preg_match 2019-04-28 18:15:44 +02:00
Marc Alexander
d54c43ae8f [prep-release-3.2.6] Update changelog for 3.2.6 2019-04-28 09:27:54 +02:00
JoshyPHP
06a95487fe [ticket/16034] Fix [url=] links being incorrectly shortened
PHPBB3-16034
2019-04-28 02:43:05 +02:00
Marc Alexander
bec047586a [prep-release-3.2.6] Add migration to 3.2.6 2019-04-27 14:41:50 +02:00
Marc Alexander
37e5457dcf [prep-release-3.2.6] Update to 3.2.6 version 2019-04-27 14:34:33 +02:00
Marc Alexander
1843e4f6b4 [prep-release-3.2.6] Fix expected data in avatar manager test 2019-04-27 13:52:37 +02:00
Marc Alexander
f75dd1628c Merge pull request #48 from phpbb/ticket/security/228
[ticket/security/228] Add form token to login box
2019-04-27 13:26:36 +02:00
Marc Alexander
f3c4587d47 Merge pull request #47 from phpbb/ticket/security/233
[ticket/security/233] Make smtp_password and smtp_username dynamic
2019-04-27 13:24:16 +02:00
Marc Alexander
db43961de6 Merge pull request #46 from phpbb/ticket/security/231
[ticket/security/231] Disable remote avatar functionality & add warning
2019-04-27 13:23:07 +02:00
Marc Alexander
308dd49bb9 Merge pull request #45 from phpbb/ticket/security/234
[ticket/security/234] Add URL validation for input fields & main site URL
2019-04-27 13:21:55 +02:00
Marc Alexander
3075d2fecc Merge pull request #44 from phpbb/ticket/security/235
Ticket/security/235 Wildcard char count in search
2019-04-27 13:19:35 +02:00
Marc Alexander
36840fb2e4 Merge pull request #5576 from marc1706/ticket/16027
[ticket/16027] Force clearing of cache folder on install for functional
2019-04-27 13:14:38 +02:00
Marc Alexander
2353ad11f2 [ticket/security/235] Update search native tests
SECURITY-235
2019-04-26 23:39:51 +02:00
Derky
b836898016 [ticket/security/228] Add form token to login box
SECURITY-228
2019-04-26 12:11:52 +02:00
Derky
da9910850a [ticket/security/235] Only allow one wildcard in the search query to limit the database load
SECURITY-235
2019-04-26 00:56:48 +02:00
Derky
8a73eb5f0f [ticket/security/235] Use whitespace instead of word boundary regex to remove wildcards
This fixes removing the wildcard in the following search query: *.test
SECURITY-235
2019-04-26 00:54:14 +02:00
Derky
fd195fba21 [ticket/security/235] Remove non trailing wildcards from search keywords
Database indexes are only used if wildcards are used at the end.
SECURITY-235
2019-04-25 21:51:04 +02:00
Marc Alexander
58f33921b5 [ticket/16027] Force clearing of cache folder on install for functional
PHPBB3-16027
2019-04-24 21:05:55 +02:00
Marc Alexander
71d66832c0 [ticket/security/233] Fix invalid INSERT INTO
SECURITY-233
2019-04-21 23:17:39 +02:00
Marc Alexander
8e5a0c81ef [ticket/security/233] Make smtp_password and smtp_username dynamic
SECURITY-233
2019-04-21 22:22:35 +02:00
Marc Alexander
bd2ddc1d2e [3.2.x] Update versions to 3.2.7-dev 2019-04-21 00:17:25 +02:00
Marc Alexander
446c0459c9 Merge branch 'prep-release-3.2.6' into 3.2.x 2019-04-21 00:16:06 +02:00
Marc Alexander
2b0645b7b9 [prep-release-3.2.6] Update changelog for 3.2.6-RC1 2019-04-20 23:07:54 +02:00
Marc Alexander
3b2119e535 [prep-release-3.2.6] Add migration for 3.2.6-RC1 2019-04-20 23:06:07 +02:00
Marc Alexander
c3f7d1bd19 [prep-release-3.2.6] Update version numbers for 3.2.6 release process 2019-04-20 22:59:46 +02:00
Marc Alexander
f9c165d2c1 [prep-release-3.2.6] Update version numbers for 3.2.6-RC1 2019-04-20 22:58:53 +02:00
Marc Alexander
ff72df5218 Merge pull request #5570 from dark-1/ticket/16020
[ticket/16020] Fix some mistake from PHPBB3-15827
2019-04-20 22:54:48 +02:00
Marc Alexander
4b382e93f0 Merge pull request #5567 from marc1706/ticket/16018
[ticket/16018] Update composer to 1.8.5, symfony & dependencies to latest
2019-04-20 22:43:45 +02:00
Dark❶
034f1c2355 [ticket/16020] Fix some mistake from PHPBB3-15827
PHPBB3-16020
2019-04-19 12:23:32 +05:30
Marc Alexander
f905b40ce8 Merge pull request #5559 from mrgoldy/ticket/16007
[ticket/16007] Show ban message for OAuth login
2019-04-17 20:45:19 +02:00
Marc Alexander
10ed7c569e [ticket/16018] Update composer to 1.8.5, symfony & dependencies to latest
PHPBB3-16018
2019-04-17 09:31:39 +02:00
Marc Alexander
c8ff4b4109 Merge pull request #5513 from mrgoldy/ticket/15942
[ticket/15942] Allow array in confirm_box title
2019-04-17 09:26:11 +02:00
Marc Alexander
dc5a167c42 [ticket/security/231] Disable remote avatar functionality & add warning
SECURITY-231
2019-04-17 08:54:51 +02:00
Marc Alexander
0e38bebaa5 [ticket/15942] Add language to compatibility globals & use in confirm_box
PHPBB3-15942
2019-04-17 08:22:44 +02:00
mrgoldy
a16ebf04d3 [ticket/15942] Past tense
PHPBB3-15942
2019-04-16 10:38:26 +02:00
mrgoldy
2131adac5c [ticket/15942] Update DocBlock
PHPBB3-15942
2019-04-16 10:15:01 +02:00
Marc Alexander
f1c2e26f0a [ticket/security/234] Add test for URL validation
SECURITY-234
2019-04-14 14:11:36 +02:00
Marc Alexander
84ea5d7148 [ticket/security/234] Add URL validation for input fields
SECURITY-234
2019-04-14 14:07:22 +02:00
Marc Alexander
507efee633 Merge pull request #5534 from battye/ticket/15917
[ticket/15917] Unapproved topics message for forums with no other posts
2019-04-13 12:38:44 +02:00
Marc Alexander
f0ffb25a24 Merge pull request #5484 from rxu/ticket/15915
[ticket/15915] Add template events to posting_attach_body.html
2019-04-12 22:04:40 +02:00
Marc Alexander
7a93730aab Merge pull request #5561 from marc1706/ticket/16010
[ticket/16010] Enforce alphabetical order for events in events.md
2019-04-12 20:46:41 +02:00
Marc Alexander
728b5d2b44 [ticket/16010] Fix typo in event descriptions
PHPBB3-16010
2019-04-11 22:04:15 +02:00
Marc Alexander
832c19314a [ticket/16010] Fix typos in event descriptions
PHPBB3-16010
2019-04-11 22:01:37 +02:00
Marc Alexander
c3ecaa35cd [ticket/16010] Enforce alphabetical order for events in events.md
PHPBB3-16010
2019-04-11 22:01:36 +02:00
battye
d3564a4a07 [ticket/15917] Remove br tags
PHPBB3-15917
2019-04-07 14:30:26 +00:00
Marc Alexander
cc7c1c8447 Merge pull request #5516 from toxyy/ticket/15944
[ticket/15944] Add core.posting_modify_quote_attributes
2019-04-07 11:45:55 +02:00
Marc Alexander
f51ef14e44 Merge pull request #5518 from 3D-I/ticket/15948
[ticket/15948] Add core.mcp_change_topic_type_after/before
2019-04-07 11:41:48 +02:00
Marc Alexander
29abad3dd4 Merge pull request #5519 from AlfredoRamos/ticket/15949
[ticket/15949] Add ucp_profile_signature_posting_editor_options_prepend
2019-04-07 11:13:44 +02:00
Marc Alexander
1bae0513a8 Merge pull request #5538 from 3D-I/ticket/15972
[ticket/15972] Add core.markread_after
2019-04-07 11:05:42 +02:00
Marc Alexander
2728921d6c Merge pull request #5552 from kasimi/ticket/15995
[ticket/15995] Add core.memberlist_modify_sort_pagination_params
2019-04-07 11:01:33 +02:00
Marc Alexander
3f60759a49 Merge pull request #5554 from 3D-I/ticket/16001
[ticket/16001] Append data to the OAuth's redirect URL
2019-04-07 10:58:33 +02:00
Marc Alexander
21791971aa Merge pull request #5501 from marc1706/ticket/15928
[ticket/15928] Remove support for downloading backups
2019-04-07 10:45:08 +02:00
Marc Alexander
6f573f710d Merge pull request #5556 from 3D-I/ticket/16004
[ticket/16004] Add check-in for Emojis in Username
2019-04-07 10:35:33 +02:00
Marc Alexander
be86694305 Merge pull request #5558 from mrgoldy/ticket/16006
[ticket/16006] Create unique ID's for OAuth (un)linking
2019-04-07 10:28:52 +02:00
Marc Alexander
b693798a96 Merge pull request #5560 from 3D-I/ticket/16009
[ticket/16009] Display OAuth login's buttons in a row
2019-04-07 10:23:43 +02:00
Marc Alexander
72f748f11f Merge pull request #5537 from senky/ticket/15970
[ticket/15970] Add core.message_admin_form_submit_before
2019-04-07 10:11:35 +02:00
3D-I
202fa648eb [ticket/16009] Display OAuth login's buttons in a row
PHPBB3-16009
2019-04-03 00:39:50 +02:00
mrgoldy
562601fd9b [ticket/16007] Correct check_ban_test to boolean
PHPBB3-16007
2019-04-02 18:01:59 +02:00
mrgoldy
fc62538733 [ticket/16007] No strict comparison against "false"
PHPBB3-16007
2019-04-02 17:25:00 +02:00
mrgoldy
68434e6dbc [ticket/16007] Show ban message for OAuth login
PHPBB3-16007
2019-04-02 15:12:52 +02:00
mrgoldy
af994e7a39 [ticket/16006] Create unique ID's for OAuth (un)linking
PHPBB3-16006
2019-04-02 10:59:36 +02:00
3D-I
7160c67b2c [ticket/16004] Add tests/functions/validate_username_test.php
PHPBB3-16004
2019-04-01 23:14:09 +02:00
Marc Alexander
83774be7a7 [ticket/15970] Add empty line before event docblock
PHPBB3-15970
2019-04-01 20:28:53 +02:00
Marc Alexander
433803287a Merge pull request #5541 from senky/ticket/15978
[ticket/15978] Add core.index_mark_notification_after
2019-03-31 11:45:18 +02:00
Marc Alexander
b798ab6f42 Merge pull request #5524 from hanakin/ticket/15953
[ticket/15953] add reported pm message borders
2019-03-31 11:09:07 +02:00
Marc Alexander
d40caeebca Merge pull request #5460 from 3D-I/ticket/15889
[ticket/15889] Add core.memberlist_modify_memberrow_sql
2019-03-31 11:05:26 +02:00
Marc Alexander
b707bdc4f1 [ticket/15928] Adjust ACP backup explanation
PHPBB3-15928
2019-03-31 11:02:37 +02:00
rxu
13ddfa5e52 [ticket/15915] Fix events order in events.md. Use Twig syntax for all events.
PHPBB3-15915
2019-03-31 12:46:46 +07:00
rxu
f07ce4f7b5 [ticket/15915] Add template events to posting_attach_body.html
PHPBB3-15915
2019-03-31 12:46:45 +07:00
3D-I
b890448882 [ticket/16004] Amend the whole docblock
PHPBB3-16004
2019-03-31 07:35:19 +02:00
3D-I
dc610b5508 [ticket/16004] Add a line of comment in the docblock
PHPBB3-16004
2019-03-31 07:26:14 +02:00
3D-I
5bd2c067c5 [ticket/16004] Move the check-in to a more appropriated place
PHPBB3-16004
2019-03-31 07:21:44 +02:00
3D-I
dc80ffdb40 [ticket/16004] Add check-in for Emojis in Username
PHPBB3-16004
2019-03-31 07:08:26 +02:00
Marc Alexander
f9c251c7af Merge pull request #5553 from marc1706/ticket/15997
[ticket/15997] Use higher than default timeout for webdriver connections
2019-03-30 17:59:12 +01:00
Marc Alexander
765739c2a9 Merge pull request #5551 from marc1706/ticket/15996
[ticket/15996] Rename dataProvider to not start with test_
2019-03-30 17:58:11 +01:00
Marc Alexander
3f498c9e69 Merge pull request #5464 from 3D-I/ticket/15891
[ticket/15891] Add core.memberlist_modify_view_profile_template_vars
2019-03-30 16:54:44 +01:00
Marc Alexander
0a3698d08d Merge pull request #5536 from dhruveshk/ticket/15957
[ticket/15957] Disabling both choice
2019-03-30 16:47:05 +01:00
Marc Alexander
f0ccf7d93e [ticket/15957] Remove extra whitespace character
PHPBB3-15957
2019-03-30 16:43:51 +01:00
dhruveshk
e2356f86e8 [ticket/15957] Disable both choice
Disable both choice when jabber is disabled in general settings

PHPBB3-15957
2019-03-30 16:43:48 +01:00
dhruveshk
d431e1306c [ticket/15957] Disabling both choice
Disable both choice input when jabber is disabled in general settings

PHPBB3-15957
2019-03-30 16:43:38 +01:00
3D-I
a14a666e86 [ticket/15889] Change mode description in doc-block
PHPBB3-15889

[ticket/15889] Change mode description in doc-block

PHPBB3-15889

[ticket/15889] Amend doc-block

PHPBB3-15889

[ticket/15889] Amend doc-block

PHPBB3-15889

[ticket/15889] Change mode description in doc-block

PHPBB3-15889
2019-03-30 05:03:18 +01:00
3D-I
ca7d63d4d7 [ticket/16001] Append data to the OAuth's redirect URL
PHPBB3-16001
2019-03-25 15:39:35 +01:00
3Di
6921565efe Merge branch '3.2.x' into ticket/15948 2019-03-23 05:09:17 +01:00
Marc Alexander
220d388cac [ticket/15997] Use higher than default timeout for webdriver connections
PHPBB3-15997
2019-03-19 21:20:38 +01:00
Marc Alexander
0d166e87b8 [ticket/15996] Rename dataProvider to not start with test_
PHPBB3-15996
2019-03-19 21:13:27 +01:00
kasimi
469bf9227e [ticket/15995] Add core.memberlist_modify_sort_pagination_params
PHPBB3-15995
2019-03-18 16:47:24 +01:00
Marc Alexander
0d04f53f37 Merge pull request #5549 from senky/ticket/15992
[ticket/15992] Fix breadcrumb structured data
2019-03-16 13:56:51 +01:00
Marc Alexander
761b87659d Merge pull request #5520 from 3D-I/ticket/15950
[ticket/15950] Add SQL transactions to mcp_main.php
2019-03-16 13:24:00 +01:00
Jakub Senko
1849ce233b [ticket/15992] Fix breadcrumb structured data
Based on: https://developers.google.com/search/docs/data-types/breadcrumb

PHPBB3-15992
2019-03-15 10:43:59 +01:00
Derky
56060caa4c [ticket/security/235] Apply wildcard char count patch
SECURITY-235
2019-03-14 21:46:02 +01:00
Marc Alexander
2bbf72e158 Merge pull request #5463 from rubencm/ticket/15869
[ticket/15869] Allow multibyte characters in hostname during installation
2019-03-14 21:37:49 +01:00
Marc Alexander
df93420bcd Merge pull request #5544 from 3D-I/ticket/15986
[ticket/15986] Add missing language key for posting.php
2019-03-14 21:32:27 +01:00
Marc Alexander
9e7ad86398 Merge pull request #5509 from mrgoldy/ticket/15939
[ticket/15939] Fix Pagination docblocks
2019-03-13 21:21:39 +01:00
Marc Alexander
66f9c09ba5 Merge pull request #5512 from jasonmarlin/ticket/15941
[ticket/15941] Replace MAX to speed up query in update_post_information
2019-03-13 21:10:06 +01:00
Marc Alexander
1c5a4c1213 Merge pull request #5533 from rubencm/ticket/15965
[ticket/15965] Fix hardcoded directory [3.2.x only]
2019-03-13 20:49:39 +01:00
Marc Alexander
2975566650 Merge pull request #5539 from 3D-I/ticket/15975
[ticket/15975] Remove user notification data upon user deletion
2019-03-10 16:47:15 +01:00
3D-I
43b597e88a [ticket/15986] Add missing language key for posting.php
PHPBB3-15986
2019-03-07 21:05:08 +01:00
hanakin
90b4ebab90 [ticket/15953] add reported pm borders
PHPBB3-15953
2019-03-04 20:56:35 -10:00
Jakub Senko
8c29ef3188 [ticket/15970] Add core.message_admin_form_submit_before
PHPBB3-15970
2019-02-27 10:32:11 +01:00
3D-I
8e8fa203b9 [ticket/15972] Let the event be triggered
Removes old coding which is there just to save a few iterations.

PHPBB3-15972
2019-02-26 23:56:28 +01:00
Jakub Senko
44fb54b9b7 [ticket/15978] Add core.index_mark_notification_after
PHPBB3-15978
2019-02-25 14:19:08 +01:00
Marc Alexander
f2e39f7edd Merge pull request #5458 from 3D-I/ticket/15884
[ticket/15884] Add memberlist_body_* events
2019-02-23 16:27:02 +01:00
3D-I
e315ea90b8 [ticket/15975] Remove user notification data upon user deletion
PHPBB3-15975
2019-02-23 02:02:51 +01:00
3D-I
2cd574321f [ticket/15972] Add core.markread_after
PHPBB3-15972
2019-02-20 19:57:56 +01:00
battye
59a84a71be [ticket/15917] Special unapproved topics message
For forums that have no approved posts but also have
topics awaiting approval, to avoid the inconsistency
of saying 'no posts' alongside a positive post count.

PHPBB3-15917
2019-02-13 06:57:29 +00:00
rubencm
96491a70e8 [ticket/15965] Fix hardcoded directory
PHPBB3-15965
2019-02-12 21:19:47 +00:00
Marc Alexander
33afd3f350 Merge pull request #5487 from 3D-I/ticket/15918
[ticket/15918] Fix addslashes in mcp_ban.html
2019-02-11 08:03:14 +01:00
Marc Alexander
deebd282a7 Merge pull request #5525 from kasimi/ticket/15954
[ticket/15954] Add safeguards to include() calls
2019-02-11 08:01:17 +01:00
Marc Alexander
27b0719174 Merge pull request #5529 from 3D-I/ticket/15960
[ticket/15960] Add SQL transactions to functions_admin.php
2019-02-11 07:58:46 +01:00
Marc Alexander
ab16595323 Merge pull request #5530 from marc1706/ticket/15959
[ticket/15959] Fix invalid CNAME record
2019-02-11 07:51:14 +01:00
AJ Quick
43d8432809 [ticket/15959] Fix invalid CNAME record
PHPBB3-15959
2019-02-03 21:23:14 +01:00
AJ Quick
1fba679c68 [ticket/15959] Fix invalid CNAME record
PHPBB3-15959
2019-02-03 21:22:55 +01:00
3D-I
271db031ad [ticket/15960] Add SQL transactions to functions_admin.php
PHPBB3-15960
2019-02-01 23:24:41 +01:00
kasimi
b4672f2665 [ticket/15954] Fixed including mcp_front.php
PHPBB3-15954
2019-01-30 09:48:54 +01:00
kasimi
75007697ae [ticket/15954] Add safeguards to include() calls
PHPBB3-15954
2019-01-26 22:29:54 +01:00
3D-I
ca4a98a2de [ticket/15950] Add SQL transactions to mcp_main.php
PHPBB3-15950

And simultaneously remove a duplicated UPDATE query.
2019-01-22 16:12:22 +01:00
Alfredo Ramos
7fc8b55f8c [ticket/15949] Add ucp_profile_signature_posting_editor_options_prepend
It adds a template event in the signature posting editor to add custom
options to be consistent with the default posting editor.

PHPBB3-15949
2019-01-21 12:25:41 -06:00
3D-I
6c1664f6d3 [ticket/15948] Add core.mcp_change_topic_type_after/before
PHPBB3-15948
2019-01-21 18:18:52 +01:00
3D-I
357e5a567d [ticket/15948] Add core.mcp_change_topic_type_after/before
PHPBB3-15948
2019-01-21 17:39:44 +01:00
Marc Alexander
713c996a08 Merge pull request #5510 from mrgoldy/ticket/15931
[ticket/15931] Fix PM report emails
2019-01-20 15:43:21 +01:00
Marc Alexander
2af8713a48 Merge pull request #5469 from senky/ticket/15899
[ticket/15899] Add core.modify_attachment_sql_ary_on_* events
2019-01-20 15:38:13 +01:00
Alec
36083872e0 [ticket/15944] Add core.posting_modify_quote_attributes
Allow modification of the quote attributes of the current post being quoted
Any information in there can be changed without affecting the rest of the page
New attributes can also be added if an extension needed to as well

PHPBB3-15944
2019-01-18 22:14:51 -05:00
jasonmarlin
c43ad073e4 [ticket/15941] Small change to induce rebuild
PHPBB3-15941
2019-01-18 08:38:59 -05:00
jasonmarlin
a0f1ec852a [ticket/15941] Replace MAX SQL in functions_posting.php
Replace MAX SQL function with faster query using order by and limit.
The ajacent query could also be optimized to eliminate the usage of MAX.
Note that adding a compound key as suggested by EXPLAIN SQL yields an
improvement, but not nearly as fast as ORDER + LIMIT.

PHPBB3-15941
2019-01-17 20:27:10 -05:00
mrgoldy
a925605b88 [ticket/15942] Optimize count
PHPBB3-15942
2019-01-15 20:58:54 +01:00
mrgoldy
3f4b7059cb [ticket/15942] Allow array in confirm_box title
PHPBB3-15942
2019-01-15 20:50:37 +01:00
jasonmarlin
cffdc8efff [ticket/15941] Replace MAX to speed up query in update_post_information
Replace MAX SQL function with faster query using order by and limit.
The ajacent query could also be optimized to eliminate the usage of MAX.
Note that adding a compound key as suggested by EXPLAIN SQL yields an
improvement, but not nearly as fast as ORDER + LIMIT.

PHPBB3-15941
2019-01-15 11:31:38 -05:00
mrgoldy
e8bbbbd6fa [ticket/15931] Fix PM report emails
PHPBB3-15931
2019-01-14 14:52:06 +01:00
mrgoldy
8d8dbb2129 [ticket/15939] Pagination docblocks
PHPBB3-15939
2019-01-14 12:50:07 +01:00
Marc Alexander
5e302c7e15 Merge pull request #5508 from marc1706/ticket/15935
[ticket/15935] Don't install APCu if it's already installed
2019-01-13 14:31:17 +01:00
Alec
ec3bab231d [ticket/15935] Don't install APCu if it's already installed
Travis fails when the APCu install fails due to it already being installed
A check is added here to make sure that it does nothing in that case

PHPBB3-15935
2019-01-13 12:06:59 +01:00
Marc Alexander
673433dadb Merge pull request #5498 from 3D-I/ticket/15926
[ticket/15926] Deny 3.2.x installation if PHP >= 7.3-dev
2019-01-06 20:58:52 +01:00
Marc Alexander
0af07d1425 [ticket/15928] Remove support for downloading backups
PHPBB3-15928
2019-01-06 16:52:47 +01:00
3D-I
89f586e99e [ticket/15889] Use array version of sql_from tables in sql array
PHPBB3-15889
2019-01-06 04:25:53 +01:00
Marc Alexander
eead94c8a6 [ticket/15889] Use array version of sql_from tables in sql array
PHPBB3-15889
2019-01-06 04:06:16 +01:00
3D-I
a0efae7734 [ticket/15926] Deny 3.2.x installation if PHP >= 7.3-dev
PHPBB3-15926
2019-01-06 00:10:13 +01:00
3D-I
be0696a954 [ticket/15926] Update docs/INSTALL.html
PHPBB3-15926
2019-01-05 18:57:23 +01:00
3D-I
8fa7e18e2b [ticket/15926] Deny 3.2.x installation if PHP >= 7.3-dev
PHPBB3-15926
2019-01-05 18:36:54 +01:00
Marc Alexander
537ff0c567 Merge pull request #5457 from battye/ticket/15883
[ticket/15883] New error message for when users try adding invalid usernames to a group
2019-01-05 16:12:29 +01:00
battye
08968bdb60 [ticket/15883] Doc block change
PHPBB3-15883
2019-01-05 08:19:21 +00:00
3D-I
5949f912ba [ticket/15926] Deny 3.2.x installation if PHP >= 7.3-dev
PHPBB3-15926
2019-01-05 01:32:43 +01:00
battye
3f19d32f76 [ticket/15883] Review changes
PHPBB3-15883
2019-01-04 15:49:15 +00:00
Derky
409bfafbf0 Merge pull request #5485 from marc1706/ticket/15919
[ticket/15919] Don't run lint test against node_modules
2019-01-02 21:07:41 +01:00
Derky
186259cbbc Merge pull request #5493 from marc1706/ticket/15924
[ticket/15924] Switch to trusty build environment
2019-01-01 23:10:20 +01:00
Marc Alexander
186115c65f [ticket/15924] Switch back to installing mariadb from 3rd party repo
PHPBB3-15924
2019-01-01 22:23:16 +01:00
Marc Alexander
a23a7602b7 [ticket/15924] Enable APCu extension
PHPBB3-15924
2019-01-01 10:56:26 +01:00
Marc Alexander
bdf9af0abb [ticket/15924] Install apc via pecl and remove nginx config check
PHPBB3-15924
2018-12-31 23:26:53 +01:00
Marc Alexander
444e5e6498 [ticket/15924] Switch to trusty build environment
PHPBB3-15924
2018-12-31 22:46:59 +01:00
chita
a578ce0119 Merge pull request #5488 from marc1706/ticket/15921
[ticket/15921] Update textformattter to 1.3.2
2018-12-29 15:56:44 +01:00
Marc Alexander
86c773fbf9 Merge pull request #5462 from 3D-I/ticket/15890
[ticket/15890] Add core.memberlist_modify_viewprofile_sql
2018-12-29 12:25:52 +01:00
JoshyPHP
e9310c928e [ticket/15921] Use backward compatible template for emojis
PHPBB3-15921
2018-12-29 11:23:47 +01:00
Marc Alexander
3a7d17414d Merge pull request #5468 from senky/ticket/15898
[ticket/15898] Add core.ucp_pm_compose_template
2018-12-27 21:31:51 +01:00
Marc Alexander
a4e37a8482 Merge pull request #5482 from GanstaZ/ticket/15914
[ticket/15914] Add core.modify_memberlist_viewprofile_group* events
2018-12-27 10:47:52 +01:00
Marc Alexander
c51859c0bd [ticket/15921] Update tests for twemoji
PHPBB3-15921
2018-12-27 10:36:41 +01:00
Jakub Senko
572545a430 [ticket/15899] Add core.modify_attachment_sql_ary_on_* events
PHPBB3-15899
2018-12-27 10:27:10 +01:00
Marc Alexander
220490e4db Merge pull request #5359 from Elsensee/ticket/15509
[ticket/15509] Don't show disabled board when in install
2018-12-27 09:59:42 +01:00
Marc Alexander
4bf485395e [ticket/15921] Use twemoji
PHPBB3-15921
2018-12-26 23:51:15 +01:00
Marc Alexander
ce90a215ba [ticket/15921] Update inconsistencies in composer.lock
PHPBB3-15921
2018-12-26 23:09:05 +01:00
JoshyPHP
31c0466815 [ticket/15921] Updated dependencies to latest textformatter
PHPBB3-15921
2018-12-26 23:06:18 +01:00
3D-I
4fe2ec156c [ticket/15884] Alphabetical order - last bit
PHPBB3-15884
2018-12-26 22:25:12 +01:00
3D-I
d0541a6440 [ticket/15884] Alphabetical order
PHPBB3-15884
2018-12-26 22:20:19 +01:00
Marc Alexander
95424f1b98 Merge pull request #5474 from mrgoldy/ticket/15901
[ticket/15901] Add mcp_post_ template events
2018-12-26 21:51:29 +01:00
Marc Alexander
64b66a51b6 Merge pull request #5456 from nunoplopes/ticket/15876
[ticket/15876] MySQL 5.7+ support for Q&A captcha plugin
2018-12-24 15:49:13 +01:00
Marc Alexander
58856c06b0 Merge pull request #5481 from kasimi/ticket/15910-3.2.x
[ticket/15910] Pass object arguments by reference implicitly
2018-12-24 15:32:50 +01:00
3D-I
440fdfdffc [ticket/15918] Apply the Twig escape filter to not add-slashed contents
PHPBB3-15918
2018-12-24 12:00:36 +01:00
3D-I
8f90b79457 [ticket/15918] Remove redundant escape JS
In mcp_ban.html and coherently use twig syntax

PHPBB3-15918
2018-12-24 09:46:41 +01:00
3Di
871875d9aa Merge pull request #1 from phpbb/3.2.x
3.2.x
2018-12-24 09:42:16 +01:00
Marc Alexander
ca98cd413a Merge pull request #5479 from kasimi/ticket/15904
[ticket/15904] Fix counting empty template blocks
2018-12-23 17:14:14 +01:00
Marc Alexander
14f9917db6 [ticket/15919] Don't run lint test against node_modules
Also, make sure to correctly handle opendir returning false instead of
the stream handle.

PHPBB3-15919
2018-12-23 14:35:58 +01:00
GanstaZ
552bda6266 [ticket/15914] Change since
PHPBB3-15914
2018-12-22 22:33:35 +02:00
GanstaZ
c6f613bae5 Merge branch '3.2.x' into ticket/15914 2018-12-22 22:26:54 +02:00
Marc Alexander
70a56c208f Merge branch 'prep-release-3.2.5' into 3.2.x 2018-12-22 17:31:30 +01:00
Marc Alexander
b089116965 [prep-release-3.2.5] Add 3.2.5 migration 2018-12-19 20:16:31 +01:00
Marc Alexander
0cb00c9f99 [prep-release-3.2.5] Update changelog for 3.2.5 2018-12-19 20:16:07 +01:00
Marc Alexander
52f559cd4b [prep-release-3.2.5] Update version numbers to 3.2.5 2018-12-19 20:16:01 +01:00
Marc Alexander
85ecd2c7be Merge pull request #43 from phpbb/security/229
[security/229] Update jQuery to 1.12.4
2018-12-19 19:59:19 +01:00
Marc Alexander
2a72b9b3ec Merge pull request #5483 from marc1706/ticket/15911
[ticket/15911] Prevent errors when trying to delete from non-existent tables
2018-12-19 19:57:57 +01:00
Marc Alexander
68489b2c13 [ticket/15911] Add missing braces
PHPBB3-15911
2018-12-18 21:28:15 +01:00
Marc Alexander
304750a88b [ticket/15911] Resolve warnings when updating from 3.0.0 to latest
PHPBB3-15911
2018-12-18 21:07:41 +01:00
Marc Alexander
a2407ce978 [ticket/15911] Prevent errors when trying to delete from non-existent tables
This can happen when migrating to the latest version from versions before
3.0.14.

PHPBB3-15911
2018-12-18 21:06:51 +01:00
Marc Alexander
5a21f7eb97 Merge pull request #5470 from marc1706/ticket/15888
[ticket/15888] Changing ACP link from 3.1 to 3.2 docs
2018-12-16 15:46:32 +01:00
Marc Alexander
358ddc95e8 Merge pull request #5466 from marc1706/ticket/15893
[ticket/15893] Pass needed language class directly to format quote
2018-12-16 15:46:08 +01:00
GanstaZ
349ab42fdc [ticket/15914] fix sql line
PHPBB3-15914
2018-12-15 19:22:38 +02:00
GanstaZ
cc49d8f325 [ticket/15914] Add core.modify_memberlist_viewprofile_group* events
PHPBB3-15914
2018-12-15 18:37:31 +02:00
Marc Alexander
37b33e6b67 [security/229] Adjust effectively_installed on jquery update migration
SECURITY-229
2018-12-13 21:22:58 +01:00
kasimi
83f4074116 [ticket/15910] Pass object arguments by reference implicitly
PHPBB3-15910
2018-12-12 12:41:56 +01:00
Marc Alexander
179c6067be [security/229] Add ajax prefilter for crossdomain requests
SECURITY-229
2018-12-11 21:28:29 +01:00
Marc Alexander
97c5861d59 [security/229] Update jQuery CDN link
SECURITY-229
2018-12-09 15:43:01 +01:00
Marc Alexander
aebeb11d53 [SECURITY/229] Update jQuery to 1.12.4
SECURITY-229
2018-12-09 15:30:17 +01:00
kasimi
3bce8bce10 [ticket/15904] Fix counting empty template blocks
PHPBB3-15904
2018-12-08 22:06:19 +01:00
mrgoldy
fe382708f5 [ticket/15901] Alphabetical order
PHPBB3-15901
2018-12-04 03:22:20 +01:00
mrgoldy
4554376ac8 [ticket/15901] Add missing semi-colon
PHPBB3-15901
2018-12-04 02:31:14 +01:00
mrgoldy
337d5db292 [ticket/15901] Alphabetical order
After has to be before before. Mind twist.

PHPBB3-15901
2018-12-04 01:56:34 +01:00
mrgoldy
fe72d87460 [ticket/15901] Add mcp_post_ template events
PHPBB3-15901
2018-12-04 01:48:09 +01:00
Jim Mossing Holsteyn
4fd824953d [ticket/15888] Changing ACP link from 3.1 to 3.2 docs
PHPBB3-15888
2018-12-03 20:52:08 +01:00
Jakub Senko
75b993c6a3 [ticket/15898] Add core.ucp_pm_compose_template
PHPBB3-15898
2018-12-03 14:02:38 +01:00
Marc Alexander
087bf6fd35 [ticket/15893] Pass needed language class directly to format quote
PHPBB3-15893
2018-12-02 19:50:09 +01:00
Marc Alexander
fc27dc02b4 [ticket/15893] Add test for covering phpbb_format_quote
PHPBB3-15893
2018-12-02 19:50:02 +01:00
rubencm
91847ed1fd [ticket/15869] Allow multibyte characters in more variables
PHPBB3-15869
2018-12-02 10:26:19 +00:00
3D-I
e6ac4daf64 [ticket/15891] Add core.memberlist_modify_view_profile_template_vars
PHPBB3-15891
2018-12-02 03:54:24 +01:00
rubencm
47acbdd138 [ticket/15869] Allow multibyte characters in hostname during installation
PHPBB3-15869
2018-12-01 20:51:59 +00:00
Marc Alexander
73fd2f3573 [3.2.x] Update versions to 3.2.6-dev 2018-12-01 19:20:55 +01:00
Marc Alexander
0a14d7aff3 Merge branch 'prep-release-3.2.5' into 3.2.x 2018-12-01 19:15:31 +01:00
3D-I
8b4c77784e [ticket/15890] Add core.memberlist_modify_viewprofile_sql
PHPBB3-15890
2018-12-01 04:36:16 +01:00
3D-I
e7a16f1eda [ticket/15884] Add more events
update events.md (version)
update events.md (new events)

PHPBB3-15884
2018-12-01 01:52:34 +01:00
3D-I
31b8fdf964 [ticket/15889] Restore comment line
PHPBB3-15889
2018-12-01 00:07:23 +01:00
3D-I
afcc713d39 [ticket/15889] Add core.memberlist_modify_memberrow_sql
fix select all on users table

PHPBB3-15889
2018-11-30 09:12:10 +01:00
3D-I
73b709d0ca [ticket/15889] Add core.memberlist_modify_memberrow_sql
That's it.

PHPBB3-15889
2018-11-30 08:41:49 +01:00
3D-I
ec140a558b [ticket/15889] Add core.memberlist_modify_memberrow_sql
PHPBB3-15889
2018-11-30 06:42:34 +01:00
3D-I
c5082250ea [ticket/15889] Add core.memberlist_modify_memberrow_sql
PHPBB3-15889
2018-11-30 04:45:15 +01:00
3D-I
89b6fb1168 [ticket/15889] Add core.memberlist_modify_memberrow_sql
PHPBB3-15889
2018-11-30 04:25:14 +01:00
3D-I
3ed8cffad2 [ticket/15889] Add core.memberlist_modify_memberrow_sql
PHPBB3-15889
2018-11-30 04:03:22 +01:00
Marc Alexander
b7243fad62 [prep-release-3.2.5] Update changelog for 3.2.5-RC1 2018-11-29 21:53:09 +01:00
Marc Alexander
8a1d148fa8 [prep-release-3.2.5] Add 3.2.5-RC1 migration 2018-11-29 21:47:47 +01:00
Marc Alexander
fab57f0d16 [prep-release-3.2.5] Update version numbers for 3.2.5 2018-11-29 21:46:26 +01:00
Marc Alexander
27abc18662 [prep-release-3.2.5] Update version numbers for 3.2.5-RC1 2018-11-29 21:45:51 +01:00
Marc Alexander
9e6c2251df Merge pull request #5455 from toxyy/ticket-15879
[ticket/15879] Add core.posting_modify_default_variables
2018-11-29 21:12:27 +01:00
Marc Alexander
15ba5f700d Merge pull request #5451 from vinny/ticket/15867
[ticket/15867] Add class for message field in the contact form
2018-11-29 18:59:17 +01:00
battye
565f692541 [ticket/15883] Use the new language object
Using the new ->lang() format. Made the username
comparison case insensitive. Also fixed a bug where the return to
previous page link in the UCP was going back to the list of
groups rather than the specific manage group page when an error
occurred.

PHPBB3-15883
2018-11-29 14:37:14 +00:00
3D-I
bf07331a0e [ticket/15884] Add memberlist_body_* events
update description (typo)

PHPBB3-15884
2018-11-29 02:41:45 +01:00
3D-I
12073855dd [ticket/15884] Add memberlist_body_* events
update events.md

PHPBB3-15884
2018-11-29 01:57:00 +01:00
3D-I
8ed7ddfbb2 [ticket/15884] Add memberlist_body_* events
update events name
update events.md

PHPBB3-15884
2018-11-29 01:47:02 +01:00
3D-I
1345642c49 [ticket/15884] Add memberlist_body_* events
update events name
update events.md

PHPBB3-15884
2018-11-29 01:45:36 +01:00
3D-I
ad0c85293b [ticket/15884] Add memberlist_body_* events
add new events for group
update events name
update events.md

PHPBB3-15884
2018-11-29 01:20:13 +01:00
Marc Alexander
f8e1c66e81 Merge pull request #5449 from senky/ticket/15878
[ticket/15878] Add attachments to ucp_pm_view_message
2018-11-28 23:25:56 +01:00
Marc Alexander
c89f4500f0 Merge pull request #5443 from toxyy/ticket/15872
[ticket/15872] Add show_user_activity to display_user_activity_modify_actives
2018-11-28 23:21:46 +01:00
Marc Alexander
7182f5d88f Merge pull request #5427 from dark-1/ticket/15858
[ticket/15858] Unapproved User(s) appearing as Guest in Team Page
2018-11-27 22:03:36 +01:00
3D-I
7a92f6a3b6 [ticket/15884] Add memberlist_body_* events
update events.md

PHPBB3-15884
2018-11-27 06:52:59 +01:00
3D-I
c594f2ecbf [ticket/15884] Add memberlist_body_* events
PHPBB3-15884
2018-11-27 02:26:37 +01:00
Marc Alexander
db7f4d4c95 Merge pull request #5450 from hubaishan/ticket/15665
[ticket/15665] Fix MSSQL crashes if upload dir>2GB
2018-11-26 21:19:42 +01:00
battye
101829b4dc [ticket/15883] Add error for invalid usernames being added to a group
Update the ACP and the UCP so that when bulk adding users to a group,
if invalid usernames are submitted alongside valid usernames then a
message will be displayed to inform the user what the invalid usernames
are.

PHPBB3-15883
2018-11-26 13:08:57 +00:00
Marc Alexander
b8bdccbc44 Merge pull request #5432 from 3D-I/ticket/15859
[ticket/15859] Add core.viewforum_modify_topic_ordering
2018-11-25 21:17:41 +01:00
Marc Alexander
2eb2c69db9 Merge pull request #5454 from rxu/ticket/15881
[ticket/15881] Reset login keys for new password activation
2018-11-25 11:10:22 +01:00
Nuno Lopes
eb1cb07341 [ticket/15876] MySQL 5.7+ support for Q&A captch plugin
PHPBB3-15876
2018-11-24 23:43:41 +00:00
Alec
d5147c2271 [ticket/15879] Add core.posting_modify_default_variables
Allows the modification of default variables put into post_data.
Also allows you to unset variables in post_data to inherit the default ones.

PHPBB3-15879
2018-11-24 12:56:33 -05:00
rxu
79e6636092 [ticket/15881] Reset login keys for account reactivation after password update
PHPBB3-15881
2018-11-24 11:31:32 +07:00
Marc Alexander
5179e4f93f Merge pull request #5433 from marc1706/ticket/15542
[ticket/15542] Always append assets versions to assets
2018-11-20 20:54:50 +01:00
hubaishan
dc96e70d1b [ticket/15665] fix double semicolon
PHPBB3-15665
2018-11-20 15:56:02 +03:00
hubaishan
717d4840e2 [ticket/15665] Fix MSSQL crashes if upload dir>2GB
Add cast_expr_to_bigint() to mssql_base

PHPBB3-15665
2018-11-20 13:38:15 +03:00
Jakub Senko
22b8b45f28 [ticket/15878] Add attachments to ucp_pm_view_message
PHPBB3-15878
2018-11-19 15:35:26 +01:00
Marc Alexander
6c5578a65b Merge pull request #5445 from 3D-I/ticket/15873
[ticket/15873] Add core.mcp_report_template_data
2018-11-18 20:00:07 +01:00
3D-I
bf42eae114 [ticket/15859] Add core.viewforum_modify_topic_ordering
PHPBB3-15859
2018-11-18 19:52:02 +01:00
Marc Alexander
f21a43be2f Merge pull request #5441 from 3D-I/ticket/15870
[ticket/15870] Add core.viewtopic_modify_forum_id
2018-11-18 19:50:19 +01:00
Marc Alexander
3606cce27f Merge pull request #5436 from 3D-I/ticket/15863
[ticket/15863] Add core.viewforum_modify_sort_direction
2018-11-18 19:36:14 +01:00
Marc Alexander
5b3eb2d61c Merge pull request #5442 from rxu/ticket/15871
[ticket/15871] Fix PHP 7.1+ warning in ACP extensions module
2018-11-18 12:24:16 +01:00
3D-I
fcd916cc4f [ticket/15873] Add core.mcp_report_template_data
PHPBB3-15873
2018-11-18 12:22:06 +01:00
3D-I
f3b94b118a [ticket/15870] Add core.viewtopic_modify_forum_id
PHPBB3-15870
2018-11-18 12:19:04 +01:00
3D-I
2e8315353e [ticket/15863] Add core.viewforum_modify_sort_direction
PHPBB3-15863
2018-11-18 12:14:30 +01:00
Marc Alexander
97912d74e2 Merge pull request #5448 from rxu/ticket/15875
[ticket/15875] Fix PHP fatal error on BBCode parsing
2018-11-17 22:18:08 +01:00
rxu
da9da88d11 [ticket/15875] Fix PHP fatal error on BBCode parsing
PHPBB3-15875
2018-11-18 01:33:56 +07:00
rxu
af1e8901e5 [ticket/15871] Add $php_ini to the class properties list
PHPBB3-15871
2018-11-15 21:01:17 +07:00
Alec
a2480f992d [ticket/15872] Add show_user_activity to display_user_activity_modify_actives
Add config option for toggling most active forum & topic in the user profile.

A bool was added to display_user_activity_modify_actives to achieve this.

PHPBB3-15872
2018-11-12 01:54:11 -05:00
3D-I
b8f85325d8 [ticket/15859] Add core.viewforum_modify_topic_ordering
PHPBB3-15859
2018-11-11 21:49:51 +01:00
Vinny
c4741399dd [ticket/15867] Add class for message field in the contact form
PHPBB3-15867
2018-11-11 17:08:20 -03:00
rxu
b03da3a9b2 [ticket/15871] Use php_ini service
PHPBB3-15871
2018-11-11 20:36:49 +07:00
Marc Alexander
7801bac09a Merge branch 'prep-release-3.2.4' into 3.2.x 2018-11-11 12:22:20 +01:00
Marc Alexander
023ec01611 [prep-release-3.2.4] Correctly specify dependencies 2018-11-11 10:14:16 +01:00
Marc Alexander
335b23c679 [prep-release-3.2.4] Remove phpBB 3.0.14 builds 2018-11-11 09:59:25 +01:00
rxu
720477a9da [ticket/15871] Fix PHP 7.1+ warning in ACR extensions module
PHPBB3-15871
2018-11-11 15:24:08 +07:00
Marc Alexander
1581ee9d05 [prep-release-3.2.4] Update changelog for 3.2.4 release 2018-11-10 21:35:29 +01:00
Marc Alexander
f631d6b84d [prep-release-3.2.4] Add migration for 3.2.4 2018-11-10 21:24:14 +01:00
Marc Alexander
36a8e48083 [prep-release-3.2.4] Update version numbers for 3.2.4 release 2018-11-10 21:19:49 +01:00
Marc Alexander
0dfbb60bc3 Merge pull request #42 from phpbb/ticket/security/227
[ticket/security/227] Replace ImageMagick support with thumbnail event
2018-11-10 17:04:00 +01:00
Marc Alexander
65226168ee Merge pull request #5434 from rubencm/ticket/15860
[ticket/15860] Fix format of backup files
2018-11-10 17:01:34 +01:00
Marc Alexander
c0a26e3d57 [ticket/security/227] Remove no longer needed validation tests
SECURITY-227
2018-11-07 22:04:30 +01:00
Derky
3d534a5eb6 [ticket/security/227] Change migration depends_on to 3.2.4-RC1
SECURITY-227
2018-11-04 23:18:38 +01:00
Derky
5c695d709e [ticket/security/227] Change thumbnail_created event version to 3.2.4
SECURITY-227
2018-11-04 23:17:49 +01:00
Derky
e2d26e102d [ticket/security/227] Remove "no thumbnail support" message
SECURITY-227
2018-11-04 23:10:44 +01:00
Ruben Calvo
31703585cb [ticket/15860] Unique_id() return 16 characters again
PHPBB3-15860
2018-10-31 10:41:57 +00:00
Ruben Calvo
fa1fd316fe [ticket/15860] Fix regexp
PHPBB3-15860
2018-10-30 22:56:20 +00:00
Marc Alexander
bab86aac7f [ticket/15860] Limit regexp to expected formats
PHPBB3-15860
2018-10-30 20:49:14 +00:00
Ruben Calvo
1f14f7c327 [ticket/15860] Fix format of backup files
PHPBB3-15860
2018-10-30 11:18:34 +00:00
Marc Alexander
11ae11a156 [ticket/15542] Only add assets version for relative paths
PHPBB3-15542
2018-10-29 22:57:53 +01:00
Marc Alexander
5d4fccd235 [ticket/15542] Always append assets versions to assets
PHPBB3-15542
2018-10-29 16:07:48 +01:00
3D-I
dbb476d813 [ticket/15859] Add core.viewforum_modify_topic_ordering
PHPBB3-15859
2018-10-29 01:02:16 +01:00
Marc Alexander
f4063e475d [3.2.x] Update versions to 3.2.5-dev 2018-10-28 21:55:08 +01:00
Marc Alexander
e64f96bf27 Merge branch 'prep-release-3.2.4' into 3.2.x 2018-10-28 21:52:51 +01:00
Marc Alexander
02fd679b26 [prep-release-3.2.4] Update changelog for 3.2.4-RC1 2018-10-28 20:27:10 +01:00
Marc Alexander
46bc335524 [prep-release-3.2.4] Add migration for 3.2.4-RC1 2018-10-28 20:19:07 +01:00
Marc Alexander
448d67cc30 [prep-release-3.2.4] Update versions for 3.2.4 2018-10-28 20:13:54 +01:00
Marc Alexander
d55cdc3546 [prep-release-3.2.4] Update versions for 3.2.4-RC1 2018-10-28 20:13:01 +01:00
Dark❶
9e375f32eb [ticket/15858] Unapproved User(s) appearing as Guest in Team Page
PHPBB3-15858
2018-10-29 00:28:43 +05:30
Marc Alexander
ed64a69760 Merge pull request #4223 from senky/ticket/10432
[ticket/10432] Don't require username when user forgets password
2018-10-28 19:49:38 +01:00
Ruben Calvo
dc109b1952 Merge remote-tracking branch 'marc/ticket/15857' into 3.2.x 2018-10-28 17:00:58 +00:00
Marc Alexander
09f17a438e [ticket/15857] Add rubencm to CREDITS.txt
[ci skip]

PHPBB3-15857
2018-10-28 17:50:29 +01:00
Marc Alexander
68b3c5d1f0 Merge pull request #5408 from senky/ticket/15833
[ticket/15833] Add core.avatar_manager_avatar_delete_after event
2018-10-28 16:32:46 +01:00
Marc Alexander
60414dec86 Merge pull request #5415 from senky/ticket/15838
[ticket/15838] Add core.ucp_register_register_after
2018-10-28 16:28:28 +01:00
Marc Alexander
2121b1274a Merge pull request #5416 from senky/ticket/15839
[ticket/15839] Add core.ucp_login_link_template_after
2018-10-28 16:21:24 +01:00
Jakub Senko
ddc9e318d0 [ticket/10432] Improve PASSWORD_UPDATED_IF_EXISTED lang
PHPBB3-10432
2018-10-28 16:14:26 +01:00
Jakub Senko
6a35385308 [ticket/15833] Add core.avatar_manager_avatar_delete_after event
PHPBB3-15833
2018-10-28 14:19:33 +01:00
Marc Alexander
96a68bcccb Merge pull request #5414 from senky/ticket/15837
[ticket/15837] Add core.ucp_register_welcome_email_before
2018-10-28 13:40:30 +01:00
Marc Alexander
25d42b0f10 Merge pull request #5407 from senky/ticket/15832
[ticket/15832] Add core.acp_users_avatar_sql event
2018-10-28 13:30:33 +01:00
Marc Alexander
99abb311c7 Merge pull request #5406 from senky/ticket/15831
[ticket/15831] Add core.acp_users_modify_signature_sql_ary event
2018-10-28 13:19:44 +01:00
Marc Alexander
77b7d9ba69 Merge pull request #5404 from Elsensee/ticket/15830
[ticket/15830] Move event to a more useful place
2018-10-28 12:08:45 +01:00
Jakub Senko
1d2a654ad7 [ticket/10432] Fix errors and address privacy concern
PHPBB3-10432
2018-10-28 10:12:13 +01:00
Marc Alexander
b5d36645f2 Merge pull request #5402 from 3D-I/ticket/15825
[ticket/15825] Add core.acp_manage_forums_move_content_sql_before
2018-10-28 00:16:18 +02:00
Marc Alexander
41bafd4d7d Merge pull request #5401 from dark-1/ticket/15827
[ticket/15827] Add *_username_{prepend/append} template events
2018-10-28 00:08:15 +02:00
Marc Alexander
d29d42d7b9 Merge pull request #5395 from hubaishan/ticket/15817
[ticket/15817] Fix installtion failed with Oracle
2018-10-28 00:02:38 +02:00
Marc Alexander
20393592d7 Merge pull request #5387 from senky/ticket/15593
[ticket/15593] Do not allow print view with direct URL
2018-10-27 23:48:53 +02:00
Marc Alexander
0cded66ff2 Merge pull request #5380 from senky/ticket/15619
[ticket/15619] Always display CPF legend
2018-10-27 23:43:55 +02:00
Marc Alexander
a772949162 Merge pull request #5363 from Elsensee/ticket/14656
[ticket/14656] Add List-Unsubscribe header to emails
2018-10-27 23:36:45 +02:00
Marc Alexander
628e5fbae6 Merge pull request #5399 from 3D-I/ticket/15826
[ticket/15826] Add core.mcp_main_fork_sql_after
2018-10-27 22:35:42 +02:00
Marc Alexander
7dbfc1e59c Merge pull request #5424 from rubencm/ticket/15849
[ticket/15849] Stop using php4 constructors
2018-10-27 22:33:44 +02:00
Marc Alexander
042f47fc3f Merge pull request #5420 from senky/ticket/15850
[ticket/15850] Fix "Duplicate entry" for notification types
2018-10-27 22:26:29 +02:00
3Di
379900b4ed Merge pull request #2 from phpbb/3.2.x
3.2.x
2018-10-26 18:33:30 +02:00
Marc Alexander
fd95355c61 Merge pull request #5417 from toxyy/ticket/15841
[ticket/15841] Allow postrow pm link to be modified by event
2018-10-25 08:21:38 +02:00
Oliver Schramm
2d736479d8 [ticket/15830] Add event to modify template
PHPBB3-15830
2018-10-24 00:45:26 +02:00
Oliver Schramm
5b25b3e2d5 [ticket/15830] Move event to a more useful place
PHPBB3-15830
2018-10-24 00:42:10 +02:00
Derky
d753351edc [ticket/security/227] Replace ImageMagick support with thumbnail event
SECURITY-227
2018-10-23 23:57:24 +02:00
Jakub Senko
30d1048c8e [ticket/10432] Fix for SQLite
PHPBB3-10432
2018-10-23 15:18:57 +02:00
Jakub Senko
18d8f94317 [ticket/15839] Add core.ucp_login_link_template_after
PHPBB3-15839
2018-10-22 11:13:36 +02:00
Ruben Calvo
b148bb5d70 [ticket/15849] Stop using php4 constructors
PHPBB3-15849
2018-10-21 07:02:26 +00:00
Marc Alexander
ae6c3b0d34 Merge pull request #5423 from kasimi/ticket/15852
[ticket/15852] Fix whois for IPv6 addresses
2018-10-20 20:19:10 -04:00
Marc Alexander
d017b9aa3b Merge pull request #5151 from xchwarze/mailhook
[ticket/15836] Event to send message via external transport
2018-10-20 19:56:30 -04:00
Marc Alexander
537c415009 Merge pull request #5388 from toxyy/ticket/15819
[ticket/15819] Add core event to functions_posting to modify notifications
2018-10-20 12:46:52 -04:00
Marc Alexander
fba55791c1 Merge pull request #5403 from Elsensee/ticket/14812
[ticket/14812] Prune shadow topics during system cron too
2018-10-20 12:27:13 -04:00
Marc Alexander
dbd0304c1d [ticket/15836] Rename event to have unique name
PHPBB3-15836
2018-10-20 12:23:19 -04:00
Marc Alexander
e2a6a7e83a Merge pull request #5320 from rxu/ticket/15755
[ticket/15755] Fix event vars in /phpbb/attachment/delete.php
2018-10-20 12:14:48 -04:00
Marc Alexander
7aa639f050 Merge pull request #5379 from senky/ticket/15621
[ticket/15621] Remove graphical inconsistencies
2018-10-20 11:34:57 -04:00
kasimi
7263f9bebd [ticket/15852] Fix whois for IPv6 addresses
PHPBB3-15852
2018-10-20 11:05:04 +02:00
Marc Alexander
c4ff772c91 Merge pull request #5376 from senky/ticket/15701
[ticket/15701] Display signature in MCP
2018-10-19 12:35:54 -04:00
Marc Alexander
4c2a81724a Merge pull request #5421 from senky/ticket/15848
[ticket/15848] Update plupload to 2.3.6
2018-10-19 10:36:59 -04:00
Jakub Senko
101d3b7633 [ticket/10432] Don't require username when user forgets password
PHPBB3-10432
2018-10-18 18:51:16 +02:00
Jakub Senko
e046bd7498 [ticket/15848] Update plupload to 2.3.6
PHPBB3-15848
2018-10-18 18:50:32 +02:00
Jakub Senko
175ffa869b [ticket/15850] Fix "Duplicate entry" for notification types
PHPBB3-15850
2018-10-18 18:50:17 +02:00
3D-I
b5ba220584 [ticket/15826] Add core.mcp_main_fork_sql_after
Add row array

PHPBB3-15826
2018-10-17 03:52:28 +02:00
Alec
a62141ea68 [ticket/15841] Allow postrow pm link to be modified by event
Allow postrow.contact pm link to be modified by event above
All other variables in postrow.contact can be modified by the event already
This lets you hide all contact info on a per user basis

PHPBB3-15841
2018-10-15 21:57:23 -04:00
Jakub Senko
9c636cfdbe [ticket/15837] Add core.ucp_register_welcome_email_before
PHPBB3-15837
2018-10-15 13:57:00 +02:00
Jakub Senko
f430a77731 [ticket/15838] Add core.ucp_register_register_after
PHPBB3-15838
2018-10-15 13:56:38 +02:00
Marc Alexander
7e003bf687 Merge pull request #5397 from VSEphpbb/ticket/15824
[ticket/15824] Fix and update UI framework
2018-10-13 17:06:10 -07:00
Marc Alexander
2862de45bd Merge pull request #5409 from senky/ticket/15494
[ticket/15494] Allow user to be removed from NEWLY_REGISTERED multiple times
2018-10-13 16:59:44 -07:00
Marc Alexander
dfa533af4a Merge pull request #5384 from DavidIQ/ticket/15552
[ticket/15552] Call insert_single_user when appropriate
2018-10-13 16:41:27 -07:00
Marc Alexander
4180950db7 Merge pull request #5383 from senky/ticket/15554
[ticket/15554] Add simple_footer_body_after
2018-10-13 16:37:27 -07:00
Marc Alexander
2fcf49c839 Merge pull request #5381 from senky/ticket/15616
[ticket/15616] Remove jumpbox from login_forum.html
2018-10-13 16:31:02 -07:00
Marc Alexander
5d98b66e95 Merge pull request #5375 from senky/ticket/15706
[ticket/15706] Add mcp_post_report_buttons_top_* events
2018-10-13 15:59:13 -07:00
Marc Alexander
aa7b4bdfce Merge pull request #5373 from senky/ticket/15771
[ticket/15771] Improve Q&A instructions
2018-10-13 15:56:05 -07:00
Marc Alexander
5c3dd124c4 Merge pull request #5371 from senky/ticket/15792
[ticket/15792] Add confirm_delete_body_delete_reason_before
2018-10-13 15:52:36 -07:00
Marc Alexander
e27da4a025 Merge pull request #5368 from kinerity/ticket/15803
[ticket/15803] Add events on ucp_pm_compose for additional message list actions
2018-10-13 15:49:35 -07:00
Marc Alexander
4cef4634fc Merge pull request #5367 from JimMH/3.2.x
[ticket/15788] Fix return button for Privacy Policy
2018-10-13 15:44:24 -07:00
DSR!
c67dd0c591 [ticket/15836] Event to send message via external transport
PHPBB3-15836
2018-10-13 15:14:44 -07:00
Jakub Senko
d48ffde25d [ticket/15792] Add confirm_delete_body_delete_reason_before
PHPBB3-15792
2018-10-12 10:05:41 +02:00
Jakub Senko
f9b1f9ced5 [ticket/15706] Add mcp_post_report_buttons_top_* events
PHPBB3-15706
2018-10-12 10:05:03 +02:00
Marc Alexander
ca23d199c1 Merge pull request #5412 from marc1706/ticket/15557
[ticket/15557] Update composer to latest stable & symfony to 2.8.46
2018-10-12 07:31:32 +02:00
Jakub Senko
52ffe75888 [ticket/15554] Add simple_footer_body_after
PHPBB3-15554
2018-10-11 09:30:03 +02:00
Marc Alexander
40332ecfcc Merge pull request #5374 from senky/ticket/15758
[ticket/15758] Show translated msg for INSECURE_REDIRECT
2018-10-10 22:49:08 +02:00
Jim Mossing Holsteyn
35d49f5150 [ticket/15788] Fix return button for Privacy Policy
Change the text from "Return to Login Page" to "Return to Previous page" as
the privacy policy can now be accessed through the footer so we could return
to any random previous page instead of just the login page.

PHPBB3-15788
2018-10-10 22:42:41 +02:00
Marc Alexander
97a24948e0 [ticket/15557] Update symfony to 2.8.46
PHPBB3-15557
2018-10-10 21:42:15 +02:00
Marc Alexander
f4b2849aa2 [ticket/15557] Update composer.phar to 1.7.2
PHPBB3-15557
2018-10-10 21:34:18 +02:00
Marc Alexander
937c029665 Merge pull request #5386 from senky/ticket/15809
[ticket/15809] Allow twig syntax for template events
2018-10-10 13:55:56 +02:00
Marc Alexander
2225110c0d Merge pull request #5382 from senky/ticket/15596
[ticket/15596] Migrate from data-vocabulary.org to schema.org
2018-10-09 23:04:26 +02:00
Marc Alexander
63fd22b227 Merge pull request #5378 from senky/ticket/15642
[ticket/15642] Replace > with >
2018-10-09 23:01:02 +02:00
Marc Alexander
6087f0347c Merge pull request #5377 from senky/ticket/15700
[ticket/15700] Use correct T_THEME_LANG_NAME
2018-10-09 22:58:32 +02:00
Marc Alexander
407d179702 Merge pull request #5170 from id-tarzanych/ticket/15600
[ticket/15600] Escaped ban reasons in JavaScript code of mcp_warn.html
2018-10-09 22:20:57 +02:00
Marc Alexander
6a6c1b0463 Merge pull request #5366 from kasimi/ticket/15799
[ticket/15799] Find correct poll for voting animation
2018-10-09 14:25:12 +02:00
Marc Alexander
65699d501d Merge pull request #5287 from toxyy/ticket/15719
[ticket/15719] Add core events to viewtopic to edit the post_list sql query
2018-10-09 12:09:26 +02:00
Serge Skripchuk
4a3c00d1c8 [ticket/15600] Escaped ban reasons in JavaScript code of mcp_warn.html
PHPBB3-15600
2018-10-09 11:08:30 +02:00
Marc Alexander
a9eacf43e8 Merge pull request #5394 from Elsensee/ticket/12430
[ticket/12430] Remove hilit param from topic title link
2018-10-09 08:28:50 +02:00
Marc Alexander
ae672b0c7f Merge pull request #5326 from rubencm/ticket/15762
[ticket/15762] Update type for forum_topics_per_page
2018-10-09 08:07:49 +02:00
rubencm
582c1f3562 [ticket/15762] Update migration dependency
PHPBB3-15762
2018-10-08 21:44:27 +00:00
Marc Alexander
6e61804e45 Merge pull request #5370 from senky/ticket/15805
[ticket/15805] Add result to core.login_box_redirect
2018-10-08 22:27:55 +02:00
Marc Alexander
6478e98308 Merge pull request #5355 from marc1706/ticket/15770
[ticket/15770] Make sure sphinx limits are cast to int
2018-10-08 22:24:18 +02:00
Marc Alexander
2de198e30d Merge pull request #5354 from Elsensee/ticket/15329
[ticket/15329] Parse drafts before saving them (and decode)
2018-10-08 22:21:55 +02:00
Marc Alexander
a0d2f4cab1 Merge pull request #5353 from Elsensee/ticket/15607
[ticket/15607] Skip ban and disabled checks when deleting cookies
2018-10-08 22:14:38 +02:00
Marc Alexander
8ff2a74fd9 Merge pull request #5346 from senky/ticket/15768
[ticket/15768] Add a license to a repository
2018-10-08 22:10:39 +02:00
Marc Alexander
b8c5537948 Merge pull request #5343 from senky/ticket/15716
[ticket/15716] Remove OAuth data upon user deletion
2018-10-08 22:07:35 +02:00
Marc Alexander
13fe7b3ed2 Merge pull request #5341 from senky/ticket/15742
[ticket/15742] Remove get_magic_quotes_gpc() call
2018-10-08 21:55:25 +02:00
Marc Alexander
bcd4b01071 Merge pull request #5338 from senky/ticket/15420
[ticket/15420] Only update quote notification with original author
2018-10-08 21:48:56 +02:00
Marc Alexander
2c74cb71b5 Merge pull request #5301 from senky/ticket/11500
[ticket/11500] Remove unnamed input
2018-10-08 21:42:46 +02:00
Marc Alexander
dd43c6a61e Merge pull request #5296 from MikelAlejoBR/ticket/15622
[ticket/15622] Fix quoting in PMs when BBCodes are disabled
2018-10-08 21:35:38 +02:00
Marc Alexander
e1abc3105b Merge pull request #5251 from senky/ticket/15668
[ticket/15668] Replace .load() with .on('load')
2018-10-08 21:27:07 +02:00
Marc Alexander
8bdb2ce6ba Merge pull request #5220 from senky/ticket/15662
[ticket/15662] Add $this->template to core.modify_notification_message
2018-10-08 21:23:54 +02:00
Marc Alexander
cd17633235 Merge pull request #5219 from senky/ticket/15661
[ticket/15661] Add core.viewtopic_modify_poll_ajax_data
2018-10-08 21:16:58 +02:00
Marc Alexander
3c7e8325a0 Merge pull request #5215 from Zoddo/ticket/13128
[ticket/13128] Remove deprecated Sphinx options
2018-10-08 21:12:40 +02:00
Marc Alexander
426d8ce79f Merge pull request #5152 from senky/ticket/15579
[ticket/15579] Add ucp_front events
2018-10-08 21:04:56 +02:00
Jakub Senko
c9df803d3c [ticket/15494] Allow user to be removed from NEWLY_REGISTERED multiple times
PHPBB3-15494
2018-10-08 16:00:06 +02:00
Jakub Senko
38d7ad40a3 [ticket/15832] Add core.acp_users_avatar_sql event
PHPBB3-15832
2018-10-08 15:38:14 +02:00
Jakub Senko
9d85422edb [ticket/15831] Add core.acp_users_modify_signature_sql_ary event
PHPBB3-15831
2018-10-08 15:33:42 +02:00
Matt Friedman
253b42372f [ticket/15824] Add UI test method to wait for AJAX requests
PHPBB3-15824
2018-10-03 18:50:30 -07:00
Oliver Schramm
842e40dab9 [ticket/14812] Prune shadow topics during system cron too
PHPBB3-14812
2018-10-04 01:56:52 +02:00
3D-I
35c9357d2f [ticket/15825] Add core.acp_manage_forums_move_content_sql_before
PHPBB3-15825
2018-10-02 18:19:11 +02:00
Dark❶
4fb89504a9 [ticket/15827] Add *_username_{prepend/append} template events
PHPBB3-15827
2018-10-02 14:06:35 +05:30
3D-I
710760b9e4 [ticket/15826] Add core.mcp_main_fork_sql_after
PHPBB3-15826
2018-10-02 05:59:25 +02:00
Matt Friedman
b487a3d9ef [ticket/15824] Make UI test framework correctly install exts
PHPBB3-15824
2018-10-01 17:29:13 -07:00
Matt Friedman
4a2b12a0c8 [ticket/15824] Fix cache initialization in UI framework
PHPBB3-15824
2018-10-01 13:56:37 -07:00
hubaishan
3a2374e37c [ticket/15817] Fix installtion failed with Oracle
Fix installtion failed with Oracle

PHPBB3-15817
2018-10-01 20:25:55 +03:00
Oliver Schramm
0bb87b2de1 [ticket/12430] Remove hilit param from topic title link
PHPBB3-12430
2018-10-01 17:07:28 +02:00
Alec
eb4a95f659 [ticket/15819] Add core event to functions_posting to modify notifications
Events added to allow modifying notification data before in the database.
Useful to change variables in the notification message, such as usernames.
Includes some other residual data to allow this event to be versatile.

PHPBB3-15819
2018-10-01 00:42:55 -04:00
Jakub Senko
f3f1bfcbe8 [ticket/15809] Allow twig syntax for template events
PHPBB3-15809
2018-09-30 20:54:44 +02:00
Jakub Senko
f657ee51f8 [ticket/15593] Do not allow print view with direct URL
PHPBB3-15593
2018-09-28 12:55:45 +02:00
Jakub Senko
d29d4389f9 [ticket/15758] Show translated msg for INSECURE_REDIRECT
PHPBB3-15758
2018-09-28 12:27:55 +02:00
Jakub Senko
f82e0a83d1 [ticket/15616] Add jumpbox to login_forum.html
PHPBB3-15616
2018-09-26 16:29:43 +02:00
Jakub Senko
a478063d2b [ticket/15621] Remove graphical inconsistencies
PHPBB3-15621
2018-09-26 09:17:29 +02:00
David Colón
600588d623 [ticket/15552] Call insert_single_user when appropriate
PHPBB3-15552
2018-09-25 19:20:12 -04:00
Jakub Senko
31d101e68c [ticket/15596] Migrate from data-vocabulary.org to schema.org
PHPBB3-15596
2018-09-25 16:34:17 +02:00
Jakub Senko
1081aaee3e [ticket/15619] Always display CPF legend
PHPBB3-15619
2018-09-25 16:14:46 +02:00
Jakub Senko
b9a5810716 [ticket/15642] Replace > with >
PHPBB3-15642
2018-09-25 15:39:50 +02:00
Jakub Senko
dab4c10c2f [ticket/15700] Use correct T_THEME_LANG_NAME
PHPBB3-15700
2018-09-25 15:24:34 +02:00
Jakub Senko
f251c26fe6 [ticket/15701] Display signature in MCP
PHPBB3-15701
2018-09-25 15:22:14 +02:00
Jakub Senko
d8ecb00f3d [ticket/15771] Improve Q&A instructions
PHPBB3-15771
2018-09-25 14:25:51 +02:00
Kailey Truscott
62c9996b2f [ticket/15803] Change 'object' to 'bool'
PHPBB3-15803
2018-09-25 07:42:55 -04:00
Marc Alexander
001f32da95 Merge pull request #5369 from Elsensee/ticket/15544
[ticket/15544] Delete cache through module manager
2018-09-25 13:24:36 +02:00
Jakub Senko
1d0fdc446f [ticket/15805] Add result to core.login_box_redirect
PHPBB3-15805
2018-09-24 16:09:51 +02:00
Oliver Schramm
3d2c1b8f97 [ticket/15544] Delete cache through module manager
This might fix issues with migrations since the
sql cache will be purged as well. In general, this
puts all the logic in one place, so that's good.

PHPBB3-15544
2018-09-24 02:56:07 +02:00
kinerity
eb867fc623 [ticket/15803] Global $phpbb_dispatcher
PHPBB3-15803
2018-09-23 00:33:58 -04:00
kinerity
8ed759545e [ticket/15803] Fix since version
PHPBB3-15803
2018-09-23 00:33:58 -04:00
kinerity
78732fd7c2 [ticket/15803] Add events on ucp_pm_compose for additional message list actions
Event added for the handle_message_list_actions() function in ucp_pm_compose
so that extensions can perform additional actions.

PHPBB3-15803
2018-09-22 21:28:02 -04:00
kasimi
71ae82fbef [ticket/15799] Find correct poll for voting animation
PHPBB3-15799
2018-09-21 17:50:55 +02:00
Marc Alexander
2769ab701a Merge pull request #5319 from rubencm/ticket/15751
[ticket/15751] Fix warning when update with CLI
2018-09-17 21:10:41 +02:00
Marc Alexander
9000936926 Merge pull request #5292 from rubencm/ticket/15723
[ticket/15723] Rewrite gen_rand_string() and gen_rand_string_friendly()
2018-09-17 21:01:45 +02:00
MikelAlejoBR
4396bfba65 [ticket/15622] Rename function to avoid potential future conflicts
PHPBB3-15622
2018-09-16 19:23:30 +02:00
MikelAlejoBR
e17f00fb6b [ticket/15622] Remove "since" tag as it belongs to events
PHPBB3-15622
2018-09-16 19:23:16 +02:00
Marc Alexander
9503996441 Merge pull request #5312 from senky/ticket/15541
[ticket/15541] Explicitly explain how to add lang files in core.user_…
2018-09-16 17:29:47 +02:00
Marc Alexander
a505a3adf9 Merge pull request #5309 from Zoddo/ticket/15737
[ticket/15737] Add $user_rows to core.delete_user_before
2018-09-16 17:15:24 +02:00
Marc Alexander
3bcc779e81 Merge pull request #5307 from Zoddo/ticket/15735
[ticket/15735] Add *_content_after template event
2018-09-16 17:07:56 +02:00
Marc Alexander
d3633c7f30 Merge pull request #5300 from senky/ticket/11453
[ticket/11453] Improve performance of notification.method.messenger_base
2018-09-16 16:55:49 +02:00
Marc Alexander
f08d18c99c Merge pull request #5295 from v12mike/ticket/15726
Ticket/15726 Implement selective purge in APCu cache driver
2018-09-16 16:10:25 +02:00
v12mike
5edb330366 [ticket/15726] Implement selective purge in APCu
fix indentation of comment

PHPBB3-15726
2018-09-16 16:06:00 +02:00
v12mike
33268e5a72 [ticket/15726] Implement selective purge in APCu cache driver
Edit comment

PHPBB3-15726
2018-09-16 16:05:55 +02:00
v12mike
7f1f64b1dc [ticket/15726] Implement selective purge in APCu cache driver
Fix whitespace

PHPBB3-15726
2018-09-16 16:05:51 +02:00
v12mike
bf9af92220 [ticket/15726] Implement selective purge in APCu cache driver
Correcting code formatting and whitespace

PHPBB3-15726
2018-09-16 16:05:46 +02:00
v12mike
7d4d9770cf [ticket/15726] Implement selective purge in APCu cache driver
fix file permissions

PHPBB3-15726
2018-09-16 16:05:40 +02:00
v12mike
63a3033f15 [ticket/15726] Implement selective purge in APCu cache driver
Fix whitespace

PHPBB3-15726
2018-09-16 16:05:33 +02:00
v12mike
02234783c6 [ticket/15726] Implement selective purge in APCu cache driver
The current APCu cache driver implements a global clearing of the APCu
when the phpBB cache is purged. This is inappropriate if there are other
phpBB boards, or other php applications sharing the APCu cache.

This patch changes the behviour so that only cache entries matching
the key_prefix of this board are cleared by a phpBB cache purge.

The APCu unit test script has been updated to test this behaviour.
It has also been updated so that the test case can be run individually
previously it relied on initialisations made in other test scripts.

PHPBB3-15726
2018-09-16 16:05:22 +02:00
Jakub Senko
1a284ebe8d [ticket/15579] Add ucp_front events
PHPBB3-15579
2018-09-16 14:20:49 +02:00
Jakub Senko
fbd1741107 [ticket/15661] Add core.viewtopic_modify_poll_ajax_data
PHPBB3-15661
2018-09-16 14:20:02 +02:00
Jakub Senko
0725723813 [ticket/15662] Add template
PHPBB3-15662
2018-09-16 14:19:13 +02:00
Marc Alexander
3e85190798 Merge pull request #5305 from MikelAlejoBR/ticket/15733
[ticket/15733] Remove unused code related to deprecated flood control
2018-09-16 13:14:59 +02:00
Derky
18dd250f52 Merge pull request #5362 from hubaishan/ticket/15791
[ticket/15791] fix php 7.2 count() bug in memory cache driver
2018-09-16 13:08:12 +02:00
Oliver Schramm
101681070b [ticket/14656] Add List-Unsubscribe header to emails
PHPBB3-14656
2018-09-16 12:28:34 +02:00
Marc Alexander
eb5d61044c Merge pull request #5160 from kasimi/ticket/15590
[ticket/15590] Add events core.acp_bbcodes_(modify_create|delete)_after
2018-09-16 11:27:03 +02:00
hubaishan
c7631635fa [ticket/15791] php 7.2 count() bug in memory cache driver
function `_read` in classes inherted from `memory`
may returns `false` but `$vars` must be an array

PHPBB3-15791
2018-09-16 06:38:58 +03:00
Marc Alexander
b0d55a69c7 Merge pull request #5325 from hubaishan/ticket/15612
[ticket/15612] Fix PHP7.2 count() bug in MSSQL driver
2018-09-15 17:22:37 +02:00
Tristan Darricau
404f3269dc Merge pull request #5342 from senky/ticket/15721
[ticket/15721] Make plupload more versatile
2018-09-15 17:11:39 +02:00
Tristan Darricau
88f897bc86 Merge pull request #5350 from Elsensee/ticket/15767
[ticket/15767] Fix effictively_installed condition for oauth_tokens
2018-09-15 17:05:09 +02:00
Oliver Schramm
bc5808ad87 [ticket/15509] Don't show disabled board when in install
PHPBB3-15509
2018-09-15 15:44:56 +02:00
Derky
bb20a88748 Merge pull request #5352 from senky/ticket/15744-2
[ticket/15744] Remove useless sql_freeresults
2018-09-15 12:59:57 +02:00
Derky
9ea60e3478 Merge pull request #5339 from senky/ticket/15748
[ticket/15748] Fix toggle alt text
2018-09-15 12:53:11 +02:00
Jakub Senko
c38075d2c2 [ticket/15768] Add a license to a repository
PHPBB3-15768
2018-09-15 12:51:32 +02:00
Marc Alexander
4ac3c545e1 [ticket/15770] Make sure sphinx limits are cast to int
PHPBB3-15770
2018-09-14 15:02:07 +02:00
Oliver Schramm
0d7c33c1af [ticket/15329] Parse drafts before saving them (and decode)
PHPBB3-15329
2018-09-14 14:54:51 +02:00
Derky
1991df9519 Merge pull request #5349 from rubencm/ticket/15566
[ticket/15566] Set category to none if extension don't exist
2018-09-14 14:40:46 +02:00
Derky
4d5258b5a3 [ticket/15748] Trim whitespace before storing in data attribute
PHPBB3-15748
2018-09-14 11:34:14 +02:00
Oliver Schramm
204b18dd59 [ticket/15607] Skip ban and disabled checks when deleting cookies
PHPBB3-15607
2018-09-14 11:21:55 +02:00
Jakub Senko
89d1401a77 [ticket/15742] Remove addslashes_recursively()
PHPBB3-15742
2018-09-13 18:47:14 +02:00
Jakub Senko
271c9d34dc [ticket/15744] Remove useless sql_freeresults
PHPBB3-15744
2018-09-13 17:49:24 +02:00
rubencm
af5a2c4a20 [ticket/15566] Add missing variable sign
PHPBB3-15566
2018-09-13 15:26:17 +00:00
Oliver Schramm
9090ddcfb6 [ticket/15767] Fix effictively_installed condition for oauth_tokens
PHPBB3-15767
2018-09-13 15:19:11 +02:00
rubencm
0898c4c1cc [ticket/15566] Set category to none if extension don't exist
PHPBB3-15566
2018-09-13 11:55:05 +00:00
Marc Alexander
db71ca7db1 Merge branch 'prep-release-3.2.3' into 3.2.x 2018-09-10 16:11:32 +01:00
Marc Alexander
db67dc5f70 Merge branch 'ticket/15746' into prep-release-3.2.3 2018-09-10 09:35:42 +01:00
Marc Alexander
d64b9e7038 [ticket/15746] Update to Symfony 2.8.45
PHPBB3-15746
2018-09-09 23:16:43 +01:00
Marc Alexander
2c9d49bf09 Merge branch 'prep-release-3.2.3' into 3.2.x 2018-09-09 12:00:28 +01:00
Marc Alexander
ab17c854cd [prep-release-3.2.3] Update changelog with changes after 3.2.3-RC2 2018-09-09 11:03:58 +01:00
Jakub Senko
0f10c6ff6f [ticket/15716] Remove OAuth data upon user deletion
PHPBB3-15716
2018-09-06 21:34:19 +02:00
Jakub Senko
8eb48e2812 [ticket/15742] Remove get_magic_quotes_gpc() call
PHPBB3-15742
2018-09-06 14:52:35 +02:00
Jakub Senko
f2c53bfffd [ticket/15721] Make plupload more versatile
PHPBB3-15721
2018-09-06 14:26:06 +02:00
Jakub Senko
367f884d01 [ticket/15748] Fix toggle alt text
PHPBB3-15748
2018-09-04 14:41:00 +02:00
Jakub Senko
4a30818e12 [ticket/15420] Only update quote notification with original author
PHPBB3-15420
2018-09-04 14:30:19 +02:00
Marc Alexander
a72a6514e7 [prep-release-3.2.3] Fix improper version number 2018-09-01 09:22:36 +01:00
Rubén Calvo
9719d5a3d5 [ticket/15762] Update type for forum_topics_per_page in acp_forums
PHPBB3-15762
2018-08-30 19:05:12 +02:00
Rubén Calvo
b79aa3e147 [ticket/15762] Update type for forum_topics_per_page
PHPBB3-15762
2018-08-30 07:06:18 +02:00
Marc Alexander
ecfd067f37 [prep-release-3.2.3] Add 3.2.3 migration 2018-08-26 14:47:24 +02:00
Marc Alexander
4d7b16f439 [prep-release-3.2.3] Update version numbers for 3.2.3 release 2018-08-26 14:45:59 +02:00
hubaishan
b0b70589a2 [ticket/15612] Fix PHP7.2 count() bug in MSSQL driver
sqlsrv_fetch_array() function returns an array when data found,
null when no data or false on error. So we need to change null to false only.

PHPBB3-15612
2018-08-25 16:17:55 +03:00
Marc Alexander
b1d8abf3da Merge branch 'ticket/15746' into prep-release-3.2.3 2018-08-21 21:28:29 +02:00
Marc Alexander
c20d84ce17 [ticket/15746] Adjust tests after twig update
PHPBB3-15746
2018-08-21 21:25:33 +02:00
rxu
fc674873c7 [ticket/15755] Fix event vars in /phpbb/attachment/delete.php
PHPBB3-15755
2018-08-12 21:54:13 +07:00
Rubén Calvo
c912e6feaa [ticket/15751] Fix warning when update with CLI
PHPBB3-15751
2018-08-09 23:45:41 +02:00
Rubén Calvo
ced8599e30 [ticket/15723] Rewrite unique_id too
PHPBB3-15723
2018-08-08 20:36:16 +02:00
Marc Alexander
8858c86c97 [ticket/15746] Update symfony to 2.8.44 & others to latest
PHPBB3-15746
2018-08-07 11:49:00 +02:00
Marc Alexander
888683bda0 Merge pull request #5314 from Zoddo/ticket/15740
[ticket/15740] Fix hardcoded Terms/Privacy
2018-08-05 21:46:34 +02:00
Zoddo
c3d664bbfe [ticket/15740] Fix hardcoded Terms/Privacy
PHPBB3-15740
2018-08-03 18:25:27 +02:00
Marc Alexander
bd90a53589 [3.2.x] Update verions for 3.2.4-dev 2018-08-02 21:42:05 +02:00
Marc Alexander
1810688d0c Merge branch 'prep-release-3.2.3' into 3.2.x 2018-08-02 21:40:42 +02:00
MikelAlejoBR
ada8bc9da2 [ticket/15622] Refactor message link concatenation
PHPBB3-15622
2018-08-01 18:01:37 +02:00
MikelAlejoBR
521aec5923 [ticket/15622] Correct code style
PHPBB3-15622
2018-08-01 17:37:21 +02:00
MikelAlejoBR
ce2196517b [ticket/15622] Fix message link generation
Now the message link is generated in different formats depending on whether
BBCodes are allowed or not in the site.

PHPBB3-15622
2018-08-01 16:19:30 +02:00
Jakub Senko
800fbdfed2 [ticket/15541] Explicitly explain how to add lang files in core.user_setup
PHPBB3-15541
2018-08-01 14:31:19 +02:00
MikelAlejoBR
184d24bb16 [ticket/15622] Extract duplicated code
PHPBB3-15622
2018-07-31 16:06:49 +02:00
Marc Alexander
a85536d9aa [prep-release-3.2.3] Update changelog for 3.2.3-RC2 2018-07-30 21:32:27 +02:00
Marc Alexander
75c082e605 [prep-release-3.2.3] Add migration for 3.2.3-RC2 2018-07-30 21:29:19 +02:00
Marc Alexander
7fbfd7300e [prep-release-3.2.3] Update version numbers for 3.2.3-RC2 2018-07-30 21:27:09 +02:00
Marc Alexander
1e6a37431b Merge branch 'prep-release-3.2.3' into 3.2.x 2018-07-30 13:57:02 +02:00
Marc Alexander
81b02587cd Merge remote-tracking branch 'senky/ticket/11847' into prep-release-3.2.3 2018-07-30 13:56:33 +02:00
Marc Alexander
2bac84c51f Merge branch 'prep-release-3.2.3' into 3.2.x 2018-07-30 13:45:50 +02:00
Marc Alexander
0e4a38956a Merge remote-tracking branch 'rubencm/ticket/15731' into prep-release-3.2.3 2018-07-30 13:44:48 +02:00
Zoddo
70c28aace5 [ticket/15737] Add $user_rows to core.delete_user_before
It was added to core.delete_user_after in GH-4905

PHPBB3-15737
2018-07-30 13:02:06 +02:00
Jakub Senko
8276b3d337 [ticket/11847] Add depends_on() to auth_provider_oauth
PHPBB3-11847
2018-07-30 11:37:37 +02:00
Rubén Calvo
a6a3899aea [ticket/15731] Fix language string parameters
PHPBB3-15731
2018-07-30 11:20:42 +02:00
Zoddo
6cce62c0ca [ticket/15735] Add viewtopic_body_postrow_content_after template event
Needed for extensions who adds information at the end of the message
(such as moderator messages).

PHPBB3-15735
2018-07-30 00:24:56 +02:00
Zoddo
5304b7d0b3 [ticket/15735] Add search_results_content_after template event
Needed for extensions who adds information at the end of the message
(such as moderator messages).

PHPBB3-15735
2018-07-30 00:18:57 +02:00
Zoddo
614e10888c [ticket/15735] Add posting_topic_review_row_content_after template event
Needed for extensions who adds information at the end of the message
(such as moderator messages).

PHPBB3-15735
2018-07-30 00:17:52 +02:00
Zoddo
a4e2d89e03 [ticket/15735] Add posting_preview_content_after template event
Needed for extensions who adds information at the end of the message
(such as moderator messages).

PHPBB3-15735
2018-07-29 22:41:06 +02:00
MikelAlejoBR
5be990e959 [ticket/15733] Fix undeclared variable concatenation
PHPBB3-15733
2018-07-29 13:34:59 +02:00
MikelAlejoBR
e710304ef5 [ticket/15733] Correct "changed" tag version to 3.2.4-RC1
PHPBB3-15733
2018-07-29 11:59:46 +02:00
Mikel Alejo
43be40c1ae [ticket/15733] Merge related ticket PHPBB3-15697
PHPBB3-15733
2018-07-29 11:57:34 +02:00
MikelAlejoBR
a7d7dfee9c [ticket/15733] Add "changed" tag to the corresponding comment blocks
PHPBB3-15733
2018-07-28 22:22:38 +02:00
MikelAlejoBR
b2277e7bf6 [ticket/15733] Remove unused code related to deprecated flood control
PHPBB3-15733
2018-07-28 14:29:37 +02:00
MikelAlejoBR
740006ba60 [ticket/15697] Remove unused variable and corresponding input field
PHPBB3-15697
2018-07-28 13:15:31 +02:00
Jakub Senko
76982b430f [ticket/11453] Improve performance of notification.method.messenger_base
PHPBB3-11453
2018-07-27 14:29:35 +02:00
Jakub Senko
4ebd582947 [ticket/11500] Remove unnamed input
PHPBB3-11500
2018-07-26 17:17:27 +02:00
MikelAlejoBR
210c5f5a59 [ticket/15697] Remove hard coded time check when sending PMs
PHPBB3-15697
2018-07-23 17:45:48 +02:00
MikelAlejoBR
12fdfe145a [ticket/15622] Fix quoting in PMs when BBCodes are disabled
Before parsing the private message to be loaded a simple BBCode status
check is done to verify that BBCodes are enabled. Depending on that
option the quote will be formated as BBCode or as plain text, similarly
to what is done in posting.php.

PHPBB3-15622
2018-07-22 17:09:09 +02:00
Marc Alexander
04899d1efd Merge branch 'prep-release-3.2.3' into 3.2.x 2018-07-18 21:54:51 +02:00
Marc Alexander
c72d443738 Merge pull request #5232 from marc1706/ticket/15677
[ticket/15677] Update symfony  to 2.8.42, others to latest
2018-07-18 21:54:12 +02:00
Rubén Calvo
ffcfec044b [ticket/15723] Rewrite gen_rand_string() and gen_rand_string_friendly()
PHPBB3-15723
2018-07-14 11:42:32 +02:00
Toxyy
5fbd4584be [ticket/15719] Add core events to viewtopic to edit the post_list sql query
Event added in viewtopic.php so you can modify post_list sql

The query, sql limit, sql start, sort keys and days are editable

PHPBB3-15719
2018-07-09 16:54:11 -04:00
kasimi
1785b9eb47 [ticket/15590] Add events core.acp_bbcodes_(modify_create|delete)_after
PHPBB3-15590
2018-07-08 20:04:26 +02:00
Tristan Darricau
911c46cc61 Merge branch 'prep-release-3.2.3' into 3.2.x
* prep-release-3.2.3:
2018-07-08 18:50:28 +02:00
Tristan Darricau
c4cef8c427 Merge pull request #5238 from avijc/ticket/15680
[ticket/15680] Point to 3.2 documentation

* github.com:/phpbb/phpbb:
  [ticket/15680] Point to 3.2 documentation
2018-07-08 18:50:28 +02:00
Tristan Darricau
32deb50f5c Merge pull request #5238 from avijc/ticket/15680
[ticket/15680] Point to 3.2 documentation

* github.com:/phpbb/phpbb:
  [ticket/15680] Point to 3.2 documentation
2018-07-08 18:48:18 +02:00
Tristan Darricau
18f142e87d Merge pull request #5239 from avijc/ticket/15683
[ticket/15683] Better error message when commit message has CRLF

* github.com:/phpbb/phpbb:
  [ticket/15683] Better error message when commit message has CRLF
2018-07-08 18:47:37 +02:00
Tristan Darricau
3d9ae6186f Merge pull request #5244 from OxCom/ticket/15678
[ticket/15678] Fix build and cache flow for container

* github.com:/phpbb/phpbb:
  [ticket/15678] Fix build and cache flow for container
2018-07-08 18:46:33 +02:00
Tristan Darricau
7f76d91128 Merge pull request #5249 from senky/ticket/15659
[ticket/15659] Fix retrieve_block_vars()

* github.com:/phpbb/phpbb:
  [ticket/15659] Fix retrieve_block_vars()
2018-07-08 18:43:16 +02:00
Tristan Darricau
71905e50e8 Merge pull request #5250 from senky/ticket/15666
[ticket/15666] Language system is not fully supported in Twig

* github.com:/phpbb/phpbb:
  [ticket/15666] Fix array key in twig lang() call
2018-07-08 18:42:26 +02:00
Tristan Darricau
0e580d2ab0 Merge pull request #5252 from senky/ticket/15674
[ticket/15674] Edit language lines in file en\acp\profile.php

* github.com:/phpbb/phpbb:
  [ticket/15674] Improve CPF lang descriptions
2018-07-08 18:41:42 +02:00
Tristan Darricau
078d076526 Merge pull request #5253 from senky/ticket/15618
[ticket/15618] Display The team link only to users with permission

* github.com:/phpbb/phpbb:
  [ticket/15618] Display The team link only to users with permission
2018-07-08 18:41:04 +02:00
Tristan Darricau
bdd384aa37 Merge pull request #5254 from senky/ticket/15620
[ticket/15620] Use separate local avatar cache file for every lang

* github.com:/phpbb/phpbb:
  [ticket/15620] Use separate local avatar cache file for every lang
2018-07-08 18:40:22 +02:00
Tristan Darricau
e7a1e16bc5 Merge pull request #5256 from senky/ticket/13043
[ticket/13043] Improve HTML5

* github.com:/phpbb/phpbb:
  [ticket/13043] Improve HTML5
2018-07-08 18:38:53 +02:00
Tristan Darricau
e7ad97de3a Merge pull request #5257 from senky/ticket/15651
[ticket/15651] Remove unnecessary condition

* github.com:/phpbb/phpbb:
  [ticket/15651] Remove unnecessary condition
2018-07-08 18:38:13 +02:00
Tristan Darricau
90dc5519c0 Merge pull request #5258 from senky/ticket/15628
[ticket/15628] Add topic link to newtopic_notify.txt

* github.com:/phpbb/phpbb:
  [ticket/15628] Add topic link to newtopic_notify.txt
2018-07-08 18:36:58 +02:00
Tristan Darricau
e680d46865 Merge pull request #5260 from senky/ticket/15696
[ticket/15696] 'if' module tool should support calling other tools

* github.com:/phpbb/phpbb:
  [ticket/15696] Add tests
  [ticket/15696] Add support of other tools to 'if'
2018-07-08 18:36:10 +02:00
Tristan Darricau
f5e3394550 Merge pull request #5261 from senky/ticket/15670
[ticket/15670] Group forum permission: Can see forum gives NO SQL ERROR

* github.com:/phpbb/phpbb:
  [ticket/15670] Fix SQL error when !f_list_topics and f_read
2018-07-08 18:35:29 +02:00
Tristan Darricau
fca72a0f6a Merge pull request #5262 from senky/ticket/15606
[ticket/15606] Hide viewprofile link when unavailable

* github.com:/phpbb/phpbb:
  [ticket/15606] Hide viewprofile link when unavailable
2018-07-08 18:34:12 +02:00
Tristan Darricau
be15d8718d Merge pull request #5269 from 3D-I/ticket/15705
[ticket/15705] fix phpbbcli language vs PHP

* github.com:/phpbb/phpbb:
  [ticket/15705] fix phpbbcli language vs PHP
2018-07-08 18:24:55 +02:00
Tristan Darricau
b0df5e31cf Merge pull request #5277 from ghostal/ticket/15717
[ticket/15717] Using correct variable for log entry

* github.com:/phpbb/phpbb:
  [ticket/15717] Using correct variable for log entry
2018-07-08 18:21:45 +02:00
Tristan Darricau
3d4cc025e0 Merge pull request #5278 from hubaishan/ticket/15673
[ticket/15673] Fix Duplicated links in QuickLinks and main nav bar

* github.com:/phpbb/phpbb:
  [ticket/15673] Fix Duplicated links in QuickLinks and main nav bar
2018-07-08 18:19:39 +02:00
Tristan Darricau
5542070169 Merge pull request #5198 from kasimi/ticket/15637
[ticket/15637] Extract multi-line PHP event descriptions

* github.com:/phpbb/phpbb:
  [ticket/15637] Remove trailing space from description
  [ticket/15637] Preserve line breaks in event descriptions
  [ticket/15637] Updated test fixture to include complete event description
  [ticket/15637] Remove trailing space from description
  [ticket/15637] Fixed removing white-spaces from description line
  [ticket/15637] Extract all lines before the first @tag
  [ticket/15637] Extract multi-line PHP event descriptions
2018-07-08 18:14:20 +02:00
Tristan Darricau
777443d95c Merge pull request #5157 from kasimi/ticket/15583
[ticket/15583] Update session time in AJAX request only once a minute

* github.com:/phpbb/phpbb:
  [ticket/15583] Update session time in AJAX request only once a minute
  [ticket/15583] Update session time in AJAX request only once a minute
2018-07-08 18:06:16 +02:00
Tristan Darricau
9db4983f03 Merge pull request #5185 from SupSuper/ticket/15611
[ticket/15611] Fix misaligned text in responsive user profile

* github.com:/phpbb/phpbb:
  [ticket/15611] Fix misaligned text in responsive user profile
2018-07-08 18:03:59 +02:00
Marc Alexander
a3f7bc2e51 [ticket/15677] Updates for Symfony 2.8.42
PHPBB3-15677
2018-07-08 17:53:05 +02:00
Tristan Darricau
ed48b5f226 Merge pull request #5214 from ioannisbat/patch-1
[ticket/15638] Add word-break for overflowing.

* github.com:/phpbb/phpbb:
  [ticket/15638] Add word-break for overflowing.
2018-07-08 17:52:32 +02:00
Marc Alexander
bf81228d37 [ticket/15677] Update symfony to 2.8.41, others to latest
PHPBB3-15677
2018-07-08 17:49:19 +02:00
Tristan Darricau
219e85c4e0 Merge pull request #5217 from Zoddo/ticket/15656
[ticket/15656] Add "View post" link in the mod logs on the ACP

* github.com:/phpbb/phpbb:
  [ticket/15656] Add "View post" link in the mod logs on the ACP
2018-07-08 17:48:10 +02:00
Tristan Darricau
7f266a3664 Merge pull request #5229 from hubaishan/ticket/15613
[ticket/15613] Fix Notification dropdown said to be not RTL compliant

* github.com:/phpbb/phpbb:
  [ticket/15613] Fix Notification dropdown said to be not RTL compliant
2018-07-08 17:42:14 +02:00
Tristan Darricau
43d7f15a25 Merge pull request #5231 from marc1706/ticket/15676
[ticket/15676] Display privacy notice in footer & allow overriding U_PRIVACY

* github.com:/phpbb/phpbb:
  [ticket/15676] Use paragraphs and classes as suggested by hanakin
  [ticket/15676] Use twig syntax
  [ticket/15676] Simplify link text and use privacy link in cookie notice
  [ticket/15676] Display privacy notice in footer & allow overriding U_PRIVACY
2018-07-08 17:38:27 +02:00
Tristan Darricau
bc7b998632 Merge branch 'prep-release-3.2.3' into 3.2.x
* prep-release-3.2.3:
  [ticket/15676] Use paragraphs and classes as suggested by hanakin
  [ticket/15676] Use twig syntax
  [ticket/15676] Simplify link text and use privacy link in cookie notice
  [ticket/15676] Display privacy notice in footer & allow overriding U_PRIVACY
2018-07-08 17:38:27 +02:00
kasimi
eedcb3bbe1 [ticket/15637] Remove trailing space from description
PHPBB3-15637
2018-07-07 22:41:40 +02:00
kasimi
245f4df47c [ticket/15637] Preserve line breaks in event descriptions
PHPBB3-15637
2018-07-07 21:25:43 +02:00
kasimi
517c601482 [ticket/15637] Updated test fixture to include complete event description
PHPBB3-15637
2018-07-07 20:13:49 +02:00
kasimi
83a8280554 [ticket/15637] Remove trailing space from description
PHPBB3-15637
2018-07-07 20:12:35 +02:00
kasimi
1c8570d0f5 [ticket/15637] Fixed removing white-spaces from description line
PHPBB3-15637
2018-07-07 16:10:23 +02:00
kasimi
21faf69d31 [ticket/15637] Extract all lines before the first @tag
PHPBB3-15637
2018-07-07 16:09:29 +02:00
Jakub Senko
b5daa91650 [ticket/15659] Fix retrieve_block_vars()
PHPBB3-15659
2018-07-07 15:46:24 +02:00
Jakub Senko
9ee7b9b81f [ticket/15696] Add tests
PHPBB3-15696
2018-07-05 09:57:23 +02:00
hubaishan
27aba29d74 [ticket/15673] Fix Duplicated links in QuickLinks and main nav bar
Add required class to common.css

PHPBB3-15673
2018-07-04 16:40:53 +03:00
Alex Miles
a6fb2a6b8e [ticket/15717] Using correct variable for log entry
PHPBB3-15717
2018-07-04 01:23:30 +01:00
3D-I
49c1904823 [ticket/15705] fix phpbbcli language vs PHP
PHPBB3-15705
2018-06-23 20:10:33 +02:00
Marc Alexander
9b56a28be0 Merge branch 'prep-release-3.2.3' into 3.2.x 2018-06-20 22:11:15 +02:00
Marc Alexander
0925a22062 Merge pull request #5233 from rxu/ticket/15678
[ticket/15678] Fix PHP warning in filesystem.php
2018-06-20 22:08:37 +02:00
Marc Alexander
2f3bd918ac [ticket/15676] Use paragraphs and classes as suggested by hanakin
PHPBB3-15676
2018-06-20 21:50:49 +02:00
Jakub Senko
69a75da670 [ticket/15628] Add topic link to newtopic_notify.txt
PHPBB3-15628
2018-06-19 14:41:13 +02:00
Jakub Senko
f671022a6d [ticket/15674] Improve CPF lang descriptions
PHPBB3-15674
2018-06-19 14:40:21 +02:00
Marc Alexander
754945e6ff Merge pull request #5259 from rubencm/ticket/15695
[ticket/15695] Fix gen_rand_string returning less characters than expected
2018-06-19 13:32:10 +02:00
Jakub Senko
1afc0673dd [ticket/15696] Add support of other tools to 'if'
PHPBB3-15696
2018-06-19 07:49:21 +02:00
Rubén Calvo
d4d8aec02a [ticket/15695] Fix gen_rand_string returning less characters than expected
PHPBB3-15695
2018-06-18 22:38:14 +02:00
Jakub Senko
f4a6a2c2d7 [ticket/15606] Hide viewprofile link when unavailable
PHPBB3-15606
2018-06-18 18:53:41 +02:00
Jakub Senko
6deae170bd [ticket/15670] Fix SQL error when !f_list_topics and f_read
PHPBB3-15670
2018-06-18 18:38:53 +02:00
Jakub Senko
6fdb7486ad [ticket/15651] Remove unnecessary condition
module.remove internally check if the module exists

PHPBB3-15651
2018-06-18 17:31:10 +02:00
Jakub Senko
4c3cb4bc5c [ticket/13043] Improve HTML5
PHPBB3-13043
2018-06-18 13:34:02 +02:00
Jakub Senko
4544f5212c [ticket/15620] Use separate local avatar cache file for every lang
PHPBB3-15620
2018-06-18 13:10:19 +02:00
Jakub Senko
c61b9358ff [ticket/15618] Display The team link only to users with permission
PHPBB3-15618
2018-06-18 12:55:24 +02:00
Jakub Senko
5e70c9b831 [ticket/15668] Replace .load() with .on('load')
PHPBB3-15668
2018-06-18 11:58:20 +02:00
Jakub Senko
52f5e54d8a [ticket/15666] Fix array key in twig lang() call
PHPBB3-15666
2018-06-18 11:56:05 +02:00
Marc Alexander
02cbb864a5 Merge pull request #5245 from rubencm/ticket/15693
[ticket/15693] Fix get_rand_string()
2018-06-17 15:44:28 +02:00
Marc Alexander
7245bc9977 Merge branch 'prep-release-3.2.3' into 3.2.x 2018-06-17 15:40:00 +02:00
Marc Alexander
ecf19b13c8 Merge pull request #5218 from senky/ticket/15657
[ticket/15657] Add MCP queue events
2018-06-17 15:38:08 +02:00
Marc Alexander
aea56fcf57 Merge pull request #5246 from marc1706/ticket/15633
[ticket/15633] Double space to single space
2018-06-17 15:35:17 +02:00
scootergrisen
90e4eb2451 [ticket/15633] Double space to single space
Value of GROUP_MAX_RECIPIENTS_EXPLAIN key contains
double space. This removes one of the spaces.

PHPBB3-15633
2018-06-17 14:10:22 +02:00
Marc Alexander
ec87cc1f3e Merge pull request #5190 from Crizz0/ticket/15627
[ticket/15627] Reword the YES_ACCURATE_PM_BUTTON incl explaination
2018-06-17 13:27:06 +02:00
Marc Alexander
ff171f3a3b Merge pull request #5158 from kasimi/ticket/15586
[ticket/15586] Fixed adding module the automatic way without specifying modes
2018-06-17 11:35:08 +02:00
Marc Alexander
9e50e52fa5 [ticket/15693] Update tests to reflect changes to gen_rand_string()
PHPBB3-15693
2018-06-17 11:01:11 +02:00
Rubén Calvo
f75c400db4 [ticket/15693] Fix get_rand_string()
PHPBB3-15693
2018-06-15 19:22:35 +02:00
Andrii Afanasiev
7b44e2c791 [ticket/15678] Fix build and cache flow for container
1. During procedure of building container we have to check both required files
in cache: container_* and autoload_*. This files should be "fresh" and if one
of the does not exist then we have to build it and put into a cache one more
time.

2. Fix typo 'posic_getuid' does not exist, so $php_uid is alwasy was false.

PHPBB3-15678
2018-06-15 09:09:07 +02:00
Marc Alexander
8b7ae7c796 Merge branch 'prep-release-3.2.3' into 3.2.x 2018-06-12 22:35:06 +02:00
Marc Alexander
57cb513b8b Merge pull request #5191 from Crizz0/ticket/15630
[ticket/15630] ACP_COOKIE_SETTINGS_EXPLAIN change <b> to <strong>
2018-06-12 22:34:25 +02:00
Marc Alexander
2aa9fc07d3 Merge branch 'prep-release-3.2.3' into 3.2.x 2018-06-12 22:24:16 +02:00
Marc Alexander
6369637fbf Merge pull request #5192 from Crizz0/ticket/15629
[ticket/15629] Add info to RECAPTCHA_LANG and change to en-GB
2018-06-12 22:22:47 +02:00
Marc Alexander
94d64c672e Merge branch 'prep-release-3.2.3' into 3.2.x 2018-06-12 22:10:05 +02:00
Marc Alexander
32eb2f427c Merge pull request #5226 from rubencm/ticket/15504
[ticket/15504] Fix warning message
2018-06-12 22:06:55 +02:00
kasimi
8283f2393a [ticket/15583] Update session time in AJAX request only once a minute
PHPBB3-15583
2018-06-06 10:40:29 +02:00
Anssi Johansson
9068909051 [ticket/15683] Better error message when commit message has CRLF
When someone tries to do a pull request with incorrect line breaks in the
commit message, the error message as given by Travis is "Unexpected EOF
encountered". The error message should be clearer that CR/LF was the
problem. This change adds a separate check for CRLF line endings.

PHPBB3-15683
2018-06-05 22:20:19 +03:00
Anssi Johansson
5f243ad665 [ticket/15680] Point to 3.2 documentation
The old link pointed to 3.1 documentation

PHPBB3-15680
2018-06-05 21:29:47 +03:00
rxu
bd91b6be87 [ticket/15678] Fix PHP warning in filesystem.php
PHPBB3-15678
2018-06-01 22:51:53 +07:00
rxu
645ceb1bfe [ticket/15548] Fix dead link in ACP_COOKIE_SETTINGS_EXPLAIN language entry
PHPBB3-15548
2018-06-01 14:50:07 +02:00
Marc Alexander
7284bf5883 [ticket/15676] Use twig syntax
PHPBB3-15676
2018-05-31 22:26:17 +02:00
Marc Alexander
25a46ef4b3 [ticket/15676] Simplify link text and use privacy link in cookie notice
PHPBB3-15676
2018-05-31 22:15:36 +02:00
Marc Alexander
b5a79d9a9d Merge branch 'prep-release-3.2.3' into 3.2.x 2018-05-31 19:51:55 +02:00
Marc Alexander
680361e865 Merge pull request #5182 from marc1706/ticket/15604
[ticket/15604] Use HTTPS links for download SQL server drivers
2018-05-31 19:51:16 +02:00
Marc Alexander
c6a35237a2 [ticket/15676] Display privacy notice in footer & allow overriding U_PRIVACY
PHPBB3-15676
2018-05-31 09:31:33 +02:00
hubaishan
ba417ad915 [ticket/15613] Fix Notification dropdown said to be not RTL compliant
Fix Notification dropdown said to be not RTL compliant

PHPBB3-15613
2018-05-27 16:14:05 +03:00
Rubén Calvo
cc4a68f32a [ticket/15504] Fix warning message
PHPBB3-15504
2018-05-25 00:34:31 +02:00
Jakub Senko
04574c75a3 [ticket/15657] Add MCP queue events
PHPBB3-15657
2018-05-03 09:23:57 +02:00
Zoddo
f800bc09f9 [ticket/15656] Add "View post" link in the mod logs on the ACP
This link was added to the MCP view in GH-3870 (PHPBB3-9485) but I
completely forgot the ACP…

Consistency is back!

PHPBB3-15656
2018-05-01 16:32:45 +02:00
Zoddo
1f00f48e71 [ticket/13128] Remove deprecated Sphinx options
These configuration options are deprecated:
 * sql_query_info (since sphinx 2.2.2; used only by the "search" command
    which was removed; wiki need to be updated accordingly)
 * max_matches (since sphinx 2.2.3; should be set in the sphinx query)
 * charset_type (since sphinx 2.2.2; sphinx now supports only utf-8)
 * compat_sphinxql_magics (since sphinx 2.2.1)

PHPBB3-13128
2018-04-23 10:49:53 +02:00
Ioannis Batas
88a23ec40d [ticket/15638] Add word-break for overflowing.
PHPBB3-15638
2018-04-23 10:57:57 +03:00
kasimi
0aea8ecd83 [ticket/15637] Extract multi-line PHP event descriptions
PHPBB3-15637
2018-04-15 18:46:44 +02:00
Christian Schnegelberger
4bb57f9814 [ticket/15629] Add info to RECAPTCHA_LANG and change to en-GB
PHPBB3-15629
2018-04-14 11:44:12 +02:00
Christian Schnegelberger
ab8d328702 [ticket/15630] ACP_COOKIE_SETTINGS_EXPLAIN change <b> to <strong>
PHPBB3-15630
2018-04-14 11:41:02 +02:00
Christian Schnegelberger
71f2801d78 [ticket/15627] Reword the YES_ACCURATE_PM_BUTTON incl explaination
PHPBB3-15627
2018-04-11 19:24:46 +02:00
Daniel
c486634be8 [ticket/15611] Fix misaligned text in responsive user profile
Corrects misaligned header text when viewing a user profile in prosilver
mobile layout by force clearing the columns.

PHPBB3-15611
2018-04-03 13:56:50 +01:00
Derky
7c839470b7 Merge pull request #5182 from marc1706/ticket/15604
[ticket/15604] Use HTTPS links for download SQL server drivers
2018-03-30 21:03:27 +02:00
Marc Alexander
d8c9dd8802 [ticket/15604] Use HTTPS links & curl for SQL server driver download
PHPBB3-15604
2018-03-29 20:38:00 +02:00
Marc Alexander
22a251916c [3.2.x] Update version numbers to 3.2.4-dev 2018-03-26 21:18:16 +02:00
Marc Alexander
b98a81364f Merge branch 'prep-release-3.2.3' into 3.2.x 2018-03-26 21:17:02 +02:00
Marc Alexander
929bd2ac3c [prep-release-3.2.3] Update changelog after merging PR 2018-03-26 20:29:17 +02:00
Marc Alexander
364407ab59 Merge pull request #5163 from VSEphpbb/ticket/15595
[ticket/15595] Fix module exists tool when ignoring parent check
2018-03-26 20:22:16 +02:00
Matt Friedman
d7db5d366b [ticket/15595] Fix module exists tool when parent is false
PHPBB3-15595
2018-03-19 16:45:44 -07:00
kasimi
02600626cc [ticket/15590] Add events core.acp_bbcodes_(modify_create|delete)_after
PHPBB3-15590
2018-03-16 12:47:19 +01:00
kasimi
aa9d24ad31 [ticket/15586] Added tests for adding modules the automatic way
PHPBB3-15586
2018-03-11 22:17:26 +01:00
kasimi
2d5fe90ed5 [ticket/15586] Fixed adding module the automatic way without specifying modes
PHPBB3-15586
2018-03-11 15:28:49 +01:00
kasimi
85eceeccbe [ticket/15583] Update session time in AJAX request only once a minute
PHPBB3-15583
2018-03-09 23:51:06 +01:00
Marc Alexander
1c30a9778d [prep-release-3.2.3] Update changelog for 3.2.3-RC1 2018-02-28 21:35:00 +01:00
Marc Alexander
747ed95678 [prep-release-3.2.3] Add migration for 3.2.3-RC1 2018-02-28 21:32:52 +01:00
Marc Alexander
4bde2511b8 [prep-release-3.2.3] Update versions for 3.2.3 2018-02-28 21:31:05 +01:00
Marc Alexander
25c57cc457 [prep-release-3.2.3] Update version numbers for 3.2.3-RC1 2018-02-28 21:30:24 +01:00
Marc Alexander
17c3bf0b39 Merge pull request #5147 from marc1706/ticket/15569
[ticket/15569] Suggest using file replacing instead of automatic updater
2018-02-28 21:21:24 +01:00
Marc Alexander
5cdefdde2e Merge pull request #5146 from kasimi/ticket/15570
[ticket/15570] Allow file downloader to use TLS greater than 1.0
2018-02-28 21:02:58 +01:00
Marc Alexander
9474d6d50e [ticket/15569] Suggest using file replacing instead of automatic updater
PHPBB3-15569
2018-02-25 17:26:38 +01:00
kasimi
488de11493 [ticket/15570] Allow file downloader to use TLS greater than 1.0
PHPBB3-15570
2018-02-25 10:25:33 +01:00
Marc Alexander
98232a06ac Merge pull request #5145 from marc1706/ticket/15568
[ticket/15568] Update dependencies to latest versions
2018-02-24 18:58:17 +01:00
Marc Alexander
aff9414f68 Merge pull request #5144 from marc1706/ticket/15466
[ticket/15466] Update CREDITS.txt to reflect Nils leaving [ci skip]
2018-02-24 18:55:04 +01:00
Marc Alexander
1de6434a48 [ticket/15568] Update dependencies to latest versions
PHPBB3-15568
2018-02-24 17:44:28 +01:00
Marc Alexander
a9ef821253 [ticket/15466] Update CREDITS.txt to reflect Nils leaving [ci skip]
PHPBB3-15466
2018-02-22 21:41:20 +01:00
Marc Alexander
50cf6443b9 Merge pull request #5131 from kasimi/ticket/15561
[ticket/15561] Add events for adding columns to search index
2018-02-22 20:34:24 +01:00
Marc Alexander
cf517509c8 Merge pull request #5133 from rubencm/ticket/15563
[ticket/15563] Check if database file is writable only if exists
2018-02-22 20:06:49 +01:00
Marc Alexander
4b0a04b109 Merge pull request #5138 from senky/ticket/15559
[ticket/15559] Fix wrongly assigned uid and bitfield
2018-02-22 19:49:00 +01:00
Marc Alexander
f17bd9e1e0 Merge pull request #5094 from JoshyPHP/ticket/15518
[ticket/15518] Add a setting to toggle permission checks for pms in viewtopic
2018-02-21 21:14:00 +01:00
Marc Alexander
1c920859db Merge pull request #5089 from marc1706/ticket/15516
[ticket/15516] Add instructions for running UI tests
2018-02-21 20:55:20 +01:00
Marc Alexander
94c168291c [ticket/15516] Fix typo in UI test instructions
[ci skip]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[ticket/14992] Remove duplicates from user_notifications table

[ticket/14992] Add unique index to user_notifications table

[ticket/14992] Shorten unique index name

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

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

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

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

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

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

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

Removed those items from Board statistics section.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  - Installing doctrine/instantiator (1.0.5)
    Loading from cache

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

PHPBB3-14855
2016-12-10 00:51:41 +01:00
Marc Alexander
cff3dbf00e [3.2.x] Update version numbers to 3.2.0-RC3-dev 2016-12-10 00:32:41 +01:00
Marc Alexander
886ec98dc7 Merge branch 'prep-release-3.2.0-RC2' into 3.2.x 2016-12-10 00:25:58 +01:00
Marc Alexander
af7dca6acd [prep-release-3.2.0-RC2] Update changelog 2016-12-09 20:52:35 +01:00
Marc Alexander
c494d8f53e [prep-release-3.2.0-RC2] Update changelog 2016-12-09 20:50:48 +01:00
Marc Alexander
a35c8a924e [prep-release-3.2.0-RC2] Add migration file for 3.2.0-RC2 2016-12-09 20:50:48 +01:00
Marc Alexander
9d72c4a66a [prep-release-3.2.0-RC2] Update version numbers to 3.2.0-RC2 2016-12-09 20:50:48 +01:00
Marc Alexander
185bda094b [prep-release-3.2.0-RC2] Update version numbers to 3.2.0-RC2 2016-12-09 20:50:48 +01:00
Marc Alexander
ddfc52a5f6 Merge pull request #4571 from marc1706/ticket/14894
[ticket/14894] Use correct config name for conflicts archive extension
2016-12-09 20:48:14 +01:00
Derky
a2793f24b1 [ticket/14901] Remove notice for extension without version check
Extensions without version check should not display a notice on the
details page in the ACP.

PHPBB3-14901
2016-12-09 20:03:00 +01:00
Marc Alexander
37a3bd131b [ticket/14894] Use correct config name for conflicts archive extension
PHPBB3-14894
2016-12-09 19:54:58 +01:00
Máté Bartus
54751991ad Merge pull request #4569 from marc1706/ticket/14891
[ticket/14891] Use own proxy instantiator for open_basedir compatibility
2016-12-09 12:40:57 +01:00
Marc Alexander
90b59bb547 [ticket/14891] Don't rely on sys_get_temp_dir() being available
Or actually returning a path. It might also return an empty string
or null.

PHPBB3-14891
2016-12-09 11:32:13 +01:00
Marc Alexander
6a568719d0 [ticket/14891] Use filesystem classes for checking on tmp dir
The cache dir will now also only be used if tmp dir does not exist
or if it's not writable.

PHPBB3-14891
2016-12-09 11:10:28 +01:00
Marc Alexander
5f56e9025b [ticket/14891] Remove unused use statements
PHPBB3-14891
2016-12-09 09:33:21 +01:00
Marc Alexander
7fedc19cc4 [ticket/14891] Use own proxy instantiator for open_basedir compatibility
Also reverted random_compat lib to 1.4.x.

PHPBB3-14891
2016-12-09 08:17:51 +01:00
Matt Friedman
6a5b99b12b [ticket/14895] Fix broken tests
PHPBB3-14895
2016-12-08 16:49:50 -08:00
Matt Friedman
cbf6d71f68 [ticket/14895] Fix issues in CLI classes
PHPBB3-14895
2016-12-08 14:25:09 -08:00
Matt Friedman
b17fa7dfa5 [ticket/14895] Use SymfonyStyle in all CLI
PHPBB3-14895
2016-12-08 14:24:02 -08:00
Marc Alexander
467e603570 Merge pull request #4568 from marc1706/ticket/14900
[ticket/14900] Do not state missing cached version check means ext is invalid
2016-12-08 22:00:40 +01:00
Marc Alexander
4c36ca4b85 [ticket/14900] Do not state missing cached version check means ext is invalid
Also fixed typo in code that was looming there for a while.

PHPBB3-14900
2016-12-08 21:17:50 +01:00
Máté Bartus
1be233a801 Merge pull request #4565 from marc1706/ticket/14896
[ticket/14896] Do not overwrite login when finishing install
2016-12-08 20:55:14 +01:00
Marc Alexander
69a5ed78cf Merge pull request #4566 from CHItA/ticket/14897
[ticket/14897] Add $restart_progress_bar to iohandler base
2016-12-08 20:32:15 +01:00
javiexin
76ffd288fe [ticket/14887] ACP profile step one lang specific event
PHPBB3-14887
2016-12-08 12:16:07 +01:00
Matt Friedman
d275fefc69 [ticket/14895] Use SymfonyIO styling
PHPBB3-14895
2016-12-07 23:49:54 -08:00
Máté Bartus
f2fde5e7a3 [ticket/14897] Add $restart_progress_bar to iohandler base
PHPBB3-14897
2016-12-07 21:01:47 +01:00
Marc Alexander
829e147504 [ticket/14896] Do not overwrite login when finishing install
Otherwise the user will be "logged in" again as guest user which will
prevent any redirectiong to the ACP after the installation.

PHPBB3-14896
2016-12-07 20:56:27 +01:00
Matt Friedman
74cd513a88 [ticket/14895] CLI reparser:list should display proper list
PHPBB3-14895
2016-12-07 10:13:09 -08:00
rxu
800411e514 [ticket/14893] Fix undefined variable on reporting PM notification
PHPBB3-14893
2016-12-07 00:40:21 +07:00
rxu
fd95da909a [ticket/14893] Fix undefined variable on reporting PM notification
PHPBB3-14893
2016-12-07 00:38:45 +07:00
Marc Alexander
129bfd5e62 Merge branch 'ticket/14892' into 3.2.x 2016-12-06 15:03:24 +01:00
Marc Alexander
e5504b74f0 [ticket/14892] Revert to twig 1.24 to have working assets again
Twig 1.25 and after introduced a way of handling both relative and
absolute paths. However, it seems to handle absolute windows paths as
relative paths. This breaks any assets or similar ways of including files
into the main template files.

PHPBB3-14892
2016-12-06 14:42:14 +01:00
Marc Alexander
72529cd179 Merge branch '3.1.x' into 3.2.x 2016-12-05 19:15:37 +01:00
Marc Alexander
3322117c38 Merge pull request #4559 from javiexin/ticket/14890
[ticket/14890] Typo in input validation of profile fields of type string
2016-12-05 19:15:34 +01:00
javiexin
591eff9e78 [ticket/14890] Typo in input validation of profile fields of type string
This bug was introduced by PHPBB3-14272

PHPBB3-14890
2016-12-05 18:35:16 +01:00
Marc Alexander
375e264a47 Merge pull request #3856 from Nicofuma/ticket/12610
[ticket/12610] Add command to check if the board is up to date.
2016-12-05 18:13:33 +01:00
Marc Alexander
103d344cd4 [ticket/12610] Fix tests and use getOption() for console
PHPBB3-12610
2016-12-05 15:46:05 +01:00
javiexin
47e418e50e [ticket/14889] Missing method in profile fields type interface
Completes the profile fields type interface by defining a missing
required method for all implementations of a type.

PHPBB3-14889
2016-12-05 01:07:43 +01:00
Tristan Darricau
32aa0596f3 [ticket/12610] Use Symfony style guide
PHPBB3-12610
2016-12-04 17:43:51 +01:00
Jakub Senko
839987fa19 [ticket/14868] Add mcp_forum_actions_options template event
PHPBB3-14868
2016-12-04 17:24:19 +01:00
Tristan Darricau
6c35ca80ed [ticket/12610] Add a better error message when an extension is missing
PHPBB3-12610
2016-12-04 17:06:35 +01:00
Tristan Darricau
164a4190d5 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14888] Missing check for disabled profile field types
2016-12-04 10:31:32 +01:00
Tristan Darricau
533d2b90b8 Merge pull request #4555 from javiexin/ticket/14888
[ticket/14888] Missing check for disabled profile field types

* javiexin/ticket/14888:
  [ticket/14888] Missing check for disabled profile field types
2016-12-04 10:31:29 +01:00
javiexin
99a99c5412 [ticket/14888] Missing check for disabled profile field types
Checks if a profile field type is enabled before using it.

PHPBB3-14888
2016-12-04 04:28:27 +01:00
Tristan Darricau
57915a8aaa [ticket/12610] Correctly handle empty cache
PHPBB3-12610
2016-12-03 16:37:36 +01:00
Tristan Darricau
ab58bb8744 [ticket/12610] Ignor exception due to the version check in extensions list
PHPBB3-12610
2016-12-03 16:37:36 +01:00
Tristan Darricau
c9e493a911 [ticket/12610] Display the latest version and not the branch name in CLI
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Tristan Darricau
0256c69191 [ticket/12610] CS
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Tristan Darricau
45dda53310 [ticket/12610] Improve output
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Tristan Darricau
1f305e4025 [ticket/12610] Skip extensions with no update info
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Tristan Darricau
8481bd4e18 [ticket/12610] Use exception_interface
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Tristan Darricau
376042d845 [ticket/12610] Fix tests
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Etienne Baroux
346f31a031 [ticket/12610] Add command to check if the board is up to date.
PHPBB3-12610
2016-12-03 16:37:35 +01:00
Marc Alexander
17e8726582 Merge branch '3.1.x' into 3.2.x 2016-12-03 16:01:57 +01:00
Marc Alexander
5505f98aad Merge pull request #4524 from senky/ticket/13479
[ticket/13479] Add core.viewtopic_highlight_modify
2016-12-03 16:01:54 +01:00
Marc Alexander
dfc5a2b7cd Merge branch '3.1.x' into 3.2.x 2016-12-03 15:54:13 +01:00
Marc Alexander
fbe5193359 Merge pull request #4522 from senky/ticket/13149
[ticket/13149] Add core.phpbb_log_get_topic_auth_sql_before
2016-12-03 15:54:09 +01:00
Tristan Darricau
3acee9a3ee Merge pull request #4189 from marc1706/ticket/14492
[ticket/14492] Improve send stats page and include VigLink

* marc1706/ticket/14492: (47 commits)
  [ticket/14492] Add user service to installer & only instantiate if needed
  [ticket/14492] Fix redirection to help phpBB page
  [ticket/14492] Encode URI components in systemdata for stats
  [ticket/14492] Always update the time the stats were sent
  [ticket/14492] Update versions in files
  [ticket/14492] Add missing event variable
  [ticket/14492] Don't explicitly pass data providers by refs
  [ticket/14492] Update phpBB version and fix miscellaneous code issues
  [ticket/14492] Install all extensions if 'all' is specified for extensions
  [ticket/14492] Checkout master if viglink tag does not exist for latest version
  [ticket/14492] Add language variables for updating extensions
  [ticket/14492] Prevent timeouts in install & update extensions tasks
  [ticket/14492] Use same list for checking if extension should be updated
  [ticket/14492] Add missing config to schema_data.sql
  [ticket/14492] Unify version check for installing default extensions
  [ticket/14492] Use extension manager instead of finder and add try/catch
  [ticket/14492] Checkout viglink for each version depending on tags
  [ticket/14492] Remove unused use statement
  [ticket/14492] Redirect to help phpBB page after installation
  [ticket/14492] Properly retrieve version updating from
  ...
2016-12-03 14:42:27 +01:00
Marc Alexander
5895f56de0 [ticket/14492] Add user service to installer & only instantiate if needed
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
8ded30bbbe [ticket/14492] Fix redirection to help phpBB page
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
9b4190e136 [ticket/14492] Encode URI components in systemdata for stats
The stats data needs to be URI encoded to prevent issues when
submitting the data to the receive_stats script on www.phpbb.com.

PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
15f433f00f [ticket/14492] Always update the time the stats were sent
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
c54838b25f [ticket/14492] Update versions in files
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
afe16a6272 [ticket/14492] Add missing event variable
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
e02aca8399 [ticket/14492] Don't explicitly pass data providers by refs
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
b9c284d85b [ticket/14492] Update phpBB version and fix miscellaneous code issues
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
1f27097208 [ticket/14492] Install all extensions if 'all' is specified for extensions
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
9f3b151dab [ticket/14492] Checkout master if viglink tag does not exist for latest version
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
dee5e6e076 [ticket/14492] Add language variables for updating extensions
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
b1596fda7f [ticket/14492] Prevent timeouts in install & update extensions tasks
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
edfc4f3efc [ticket/14492] Use same list for checking if extension should be updated
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
4f0627de03 [ticket/14492] Add missing config to schema_data.sql
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
2fa23c9b3f [ticket/14492] Unify version check for installing default extensions
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
e308093d75 [ticket/14492] Use extension manager instead of finder and add try/catch
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
88f197e67a [ticket/14492] Checkout viglink for each version depending on tags
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
fd37919ecb [ticket/14492] Remove unused use statement
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
d62d35ad46 [ticket/14492] Redirect to help phpBB page after installation
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
64f0d74489 [ticket/14492] Properly retrieve version updating from
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
f604e1ab5d [ticket/14492] Rework logic for selecting which extensions to update
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
930b02342e [ticket/14492] Check if composer.json exists in viglink folder on file_check
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
ffe900c72d [ticket/14492] Define extensions to install in config not via cli argument
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
69dece6197 [ticket/14492] Removed unused use statement
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
e519b21b2e [ticket/14492] Only show fail of extension install if it's available
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
67c3bd4a90 [ticket/14492] Remove incorrect changes to module order
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
65d6e338a9 [ticket/14492] Allow specifying extensions to update & install
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
eb1ade6768 [ticket/14492] Set install extensions to synthetic and fix step count
PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
89fef2ce13 [ticket/14492] Send statistics via ajax request
Flooding ajax requests will try to be prevented and sending
stats without JS will also properly work.

PHPBB3-14492
2016-12-03 14:23:34 +01:00
Marc Alexander
80a63a9a94 [ticket/14492] Add missing input name
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
f9b46a4ae7 [ticket/14492] Remove not needed language entry
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
cba4f4f568 [ticket/14492] Use new guzzlehttp client
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
4451db9f22 [ticket/14492] Apply fixes to update extensions task
The regex was also simplified.

PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
ade5183ba1 [ticket/14492] Pass u_action to acp form and add stats config
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
90a5e22eb5 [ticket/14492] Correctly check if extension was enabled during install
Also fixed some incorrectly generated log messages and improved the
regex.

PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
c07ecb060d [ticket/14492] Add events for modifying help phpBB page
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
cc7a0aa4fb [ticket/14492] Use guzzle for submitting data to stats service
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
9fb2a5d5f8 [ticket/14492] Update language variables and trigger details text
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
c1035c98e4 [ticket/14492] Rename files to help_phpbb and fix css tabbing
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
6f315da9ab [ticket/14492] Improve look and display data again
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
430ec6f61d [ticket/14492] Do not install extensions in installer if in test env
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
c5e0635bc7 [ticket/14492] Add basic layout for enabling viglink
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
267d1b15c4 [ticket/14492] Re-enable extensions if updated during update
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
8fb2347cfa [ticket/14492] Install all packaged extensions by default
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
36460ebdf6 [ticket/14492] Do not copy viglink on update if it was deleted
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
9525a64d64 [ticket/14492] Start working on the build script
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Marc Alexander
c30394ff4a [ticket/14492] Add basic task for installing viglink extension
PHPBB3-14492
2016-12-03 14:20:28 +01:00
Tristan Darricau
487df8befc Merge pull request #4405 from marc1706/ticket/14733
[ticket/14733] Support increasing hashing cost factor

* marc1706/ticket/14733:
  [ticket/14733] Make sure detect_algorithm() works correctly and add tests
  [ticket/14733] Extend passwords driver_interface in rehashable_driver_interface
  [ticket/14733] Use new interface to preserve backwards compatibility
  [ticket/14733] Use default cost factor in bcrypt constructor
  [ticket/14733] Support increasing hashing cost factor
2016-12-03 14:07:56 +01:00
Tristan Darricau
48db9cbcf0 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2016-12-03 13:32:16 +01:00
Tristan Darricau
b51247e1da Merge pull request #4541 from marc1706/ticket/9590
[ticket/9590] Submit permissions form in chunks

* marc1706/ticket/9590:
  [ticket/9590] Correctly update submit size and replace all forum_id[]
  [ticket/9590] Further deduplicate code for form data
  [ticket/9590] Preserve selected forums after previous page redirect
  [ticket/9590] Support ajax submit of permissions for specific forums
  [ticket/9590] Correctly set roles and refresh page using POST
  [ticket/9590] Submit permissions form in chunks when using "Apply all"
2016-12-03 13:31:42 +01:00
Tristan Darricau
1e667ce8cc Merge pull request #4543 from marc1706/ticket/9590-rhea
[ticket/9590] Submit permissions form in chunks -- Rhea version

* marc1706/ticket/9590-rhea:
  [ticket/9590] Update permissions with correct permission role
  [ticket/9590] Correctly update submit size and replace all forum_id[]
  [ticket/9590] Further deduplicate code for form data
  [ticket/9590] Preserve selected forums after previous page redirect
  [ticket/9590] Support ajax submit of permissions for specific forums
  [ticket/9590] Correctly set roles and refresh page using POST
  [ticket/9590] Submit permissions form in chunks when using "Apply all"
2016-12-03 13:16:59 +01:00
Tristan Darricau
3e8071478b Merge pull request #4549 from marc1706/ticket/14736
[ticket/14736] Reset role dropdown when modifying permissions

* marc1706/ticket/14736:
  [ticket/14736] Reset role dropdown when modifying permissions
2016-12-03 13:03:13 +01:00
Tristan Darricau
098764a0aa Merge pull request #4551 from marc1706/ticket/14884
[ticket/14884] Remove duplicate span from navbar_header

* marc1706/ticket/14884:
  [ticket/14884] Remove duplicate span from navbar_header
2016-12-03 12:42:31 +01:00
Tristan Darricau
9d4c51f8ba Merge pull request #4553 from DavidIQ/ticket/14885
[ticket/14885] Add a line break when writing to the migrator output file

* DavidIQ/ticket/14885:
  [ticket/14885] Use \n instead of \r for output_handler messages
  [ticket/14885] Add a line break when writing to the migrator output file
2016-12-03 12:36:20 +01:00
Tristan Darricau
74f49387e1 Merge pull request #4539 from marc1706/ticket/14875
[ticket/14875] Add method for untrimmed input to ajax iohandler

* marc1706/ticket/14875:
  [ticket/14875] Add raw_variable() to request mock
  [ticket/14875] Move raw_variable() method to request_interface
  [ticket/14875] Use raw_variable() method in _variable() to get raw data
  [ticket/14875] Add method for raw input to request and add to installer
  [ticket/14875] Add method for untrimmed input to ajax iohandler
2016-12-03 12:32:57 +01:00
David Colón
c3caa3d9dc [ticket/14885] Use \n instead of \r for output_handler messages 2016-12-02 16:50:55 +01:00
Marc Alexander
0c96873e73 Merge branch '3.1.x' into 3.2.x 2016-12-02 16:39:53 +01:00
Marc Alexander
c60caace5d Merge pull request #4552 from nicebb/ticket/13757
[ticket/13757] Properly fix bug with negative PM count
2016-12-02 16:39:50 +01:00
David Colón
a99cb31a52 [ticket/14885] Add a line break when writing to the migrator output file 2016-12-02 14:23:44 +01:00
Victor A. Safronov
8f84119743 [ticket/13757] Properly fix bug with negative PM count
The fix from PR #4548 doesn't work as expected because
in phpBB the sql_affectedrows() method always returns
a count of matched rows instead of affected rows.
This commit fixes bug properly.

PHPBB3-13757
2016-12-02 16:54:49 +04:00
Marc Alexander
d817f3cc67 [ticket/14875] Add raw_variable() to request mock
PHPBB3-14875
2016-12-02 12:53:17 +01:00
Marc Alexander
207b52c77f [ticket/14884] Remove duplicate span from navbar_header
PHPBB3-14884
2016-12-02 12:44:51 +01:00
Marc Alexander
1639cb93a8 Merge branch '3.1.x' into 3.2.x 2016-12-02 11:46:34 +01:00
Marc Alexander
1ee9cc91d4 Merge pull request #4550 from hanakin/ticket/14881
[Ticket/14881] Add wrapper to jump actions to clear floats
2016-12-02 11:38:50 +01:00
Marc Alexander
9bdd002f58 [ticket/14875] Move raw_variable() method to request_interface
PHPBB3-14875
2016-12-02 11:36:07 +01:00
Marc Alexander
3ad13ebd88 Merge pull request #4547 from VSEphpbb/ticket/14883
[ticket/14883] Do not display empty forum rules (after they've been re-parsed)
2016-12-02 11:26:57 +01:00
hanakin
e1d2c4c900 [ticket/14881] Fix jumpbox-return link layout
PHPBB3-14881
2016-12-01 17:49:26 +01:00
hanakin
0e53442fd4 [ticket/14881] Add action-bar wrap to jump actions
PHPBB3-14881
2016-12-01 17:45:24 +01:00
Matt Friedman
bad9943208 [ticket/14883] Remove extra tabbage
PHPBB3-14883
2016-12-01 08:10:08 -08:00
Matt Friedman
2fcc1b4d18 [ticket/14883] Refactor forum rules logic
PHPBB3-14883
2016-12-01 08:09:21 -08:00
Marc Alexander
7671c971e4 Merge pull request #4542 from JoshyPHP/ticket/14873
[ticket/14873] Added width/height attributes to smilies
2016-12-01 13:23:07 +01:00
Marc Alexander
1c567daf39 Merge branch '3.1.x' into 3.2.x 2016-12-01 11:41:21 +01:00
Marc Alexander
365489a317 Merge pull request #4548 from nicebb/ticket/13757
[ticket/13757] Prevents the count of unread PMs from being negative
2016-12-01 11:41:17 +01:00
Marc Alexander
b24c2ea5be [ticket/14736] Reset role dropdown when modifying permissions
PHPBB3-14736
2016-12-01 11:34:00 +01:00
Victor A. Safronov
10753454bf [ticket/13757] Prevents the count of unread PMs from being negative
Sometimes the user_unread_privmsg flag in users table can become negative.
It happens when the unread message is requested by simultaneous concurrent
requests. Both requests will decrement the value of the flag.
This commit prevents updating the flag if the message already marked as read.

PHPBB3-13757
2016-11-30 23:59:36 +04:00
Matt Friedman
0881bbbb64 [ticket/14883] Do not display empty forum rules (after reparsing)
PHPBB3-14883
2016-11-30 11:26:15 -08:00
Daniel Sinn
78ff392b64 [ticket/14882] Add core event to MCP after move post sync
PHPBB3-14882
2016-11-29 13:34:28 -05:00
Marc Alexander
d894472866 Merge branch '3.1.x' into 3.2.x 2016-11-27 20:49:22 +01:00
Marc Alexander
a3faf1fefc Merge pull request #4503 from rxu/ticket/14853
[ticket/14853] Add core event to allow modifying PM attachments download auth
2016-11-27 20:49:19 +01:00
Marc Alexander
0e8a573a71 Merge branch '3.1.x' into 3.2.x 2016-11-27 20:45:12 +01:00
Marc Alexander
642bfe9a39 Merge pull request #4512 from senky/ticket/14863
[ticket/14863] Properly treat plural rules in confirmation box title
2016-11-27 20:45:08 +01:00
JoshyPHP
88c921be23 [ticket/14873] Added width/height attributes to smilies
PHPBB3-14873
2016-11-27 13:30:15 +01:00
Marc Alexander
48d6abcf0a [ticket/9590] Update permissions with correct permission role
PHPBB3-9590
2016-11-27 00:14:22 +01:00
Marc Alexander
4fce18609f Merge branch 'ticket/9590' into ticket/9590-rhea 2016-11-27 00:14:14 +01:00
Marc Alexander
5e36dd3d0b [ticket/9590] Correctly update submit size and replace all forum_id[]
PHPBB3-9590
2016-11-27 00:12:59 +01:00
Marc Alexander
0f46d35f75 [ticket/9590] Further deduplicate code for form data
PHPBB3-9590
2016-11-26 23:56:11 +01:00
Marc Alexander
b01b3b8b94 [ticket/9590] Preserve selected forums after previous page redirect
Also improved the way the forum ID list is generated when clicking
on "Apply all permissions".

PHPBB3-9590
2016-11-26 23:34:54 +01:00
Marc Alexander
9432662c37 Merge branch '3.1.x' into 3.2.x 2016-11-26 16:41:31 +01:00
Marc Alexander
997bdc7778 Merge pull request #4540 from nicebb/ticket/14876
[ticket/14876] Allows multibyte strings for exception messages
2016-11-26 16:41:27 +01:00
Marc Alexander
30b3fbb2cf [ticket/9590] Support ajax submit of permissions for specific forums
PHPBB3-9590
2016-11-26 13:28:15 +01:00
Marc Alexander
ff76a3e433 [ticket/9590] Correctly set roles and refresh page using POST
PHPBB3-9590
2016-11-26 12:31:22 +01:00
Marc Alexander
6c98e3b12f [ticket/9590] Submit permissions form in chunks when using "Apply all"
This will add an AJAX call that will submit the permissions form in chunks
of 5 fieldsets when clicking on "Apply all permissions".

PHPBB3-9590
2016-11-26 09:58:47 +01:00
Marc Alexander
08bf8812d3 [ticket/14875] Use raw_variable() method in _variable() to get raw data
The raw_variable() method uses the same exact code the _variable method
has been using until now.

PHPBB3-14875
2016-11-25 22:58:18 +01:00
Marc Alexander
9aa017d0f7 [ticket/14875] Add method for raw input to request and add to installer
A method for retrieving raw input has been added to the request class.
This will be used in the installer to retrieve the datatabase password
while also allowing utf8 characters. Not escaping the input is ok in
this case as it won't be put anywhere in this raw form and only be
used to populate the entry for the password field in config.php.

PHPBB3-14875
2016-11-25 22:15:13 +01:00
Victor A. Safronov
390a37492d [ticket/14876] Allows multibyte strings for exception messages
All exception messages are sanitized via type_caster::set_var()
which is called with $multibyte = false.
This commit allows to pass multibyte messages as well.

PHPBB3-14876
2016-11-25 19:56:41 +04:00
Marc Alexander
23f5b6debd [ticket/14875] Add method for untrimmed input to ajax iohandler
Due to the pre-encoded input and the escaping of the input, the
string has to be decoded twice for the password.

PHPBB3-14875
2016-11-24 22:22:38 +01:00
Tristan Darricau
145ba85d98 Merge pull request #4516 from marc1706/ticket/14867
[ticket/14867] Revert back to twig 1.26.* and update dependencies

* marc1706/ticket/14867:
  [ticket/14867] Revert back to twig 1.26.* and update dependencies
2016-11-24 14:18:41 +01:00
Tristan Darricau
3e1f9c4201 Merge pull request #4508 from marc1706/ticket/9211
[ticket/9211] Use different icon for link subforum in forum legend

* marc1706/ticket/9211:
  [ticket/9211] Use different icon for link subforum in forum legend
2016-11-24 14:16:37 +01:00
Tristan Darricau
592ef2eff4 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14750] Remove html5 invalid attributes from attachment file input
2016-11-24 14:15:12 +01:00
Tristan Darricau
16620ea3d2 Merge pull request #4483 from marc1706/ticket/14750
[ticket/14750] Remove html5 invalid attributes from attachment file input

* marc1706/ticket/14750:
  [ticket/14750] Remove html5 invalid attributes from attachment file input
2016-11-24 14:12:13 +01:00
Jakub Senko
e9d8425f15 [ticket/13845] Add core.ucp_profile_avatar_sql
PHPBB3-13845
2016-11-21 23:03:21 +01:00
Jakub Senko
4dcd2351ea [ticket/14331] Add core.get_user_rank_after
PHPBB3-14331
2016-11-21 16:51:42 +01:00
Jakub Senko
255368843c [ticket/14522] Add ucp_register_buttons_before
PHPBB3-14522
2016-11-21 16:45:56 +01:00
Jakub Senko
619d323dd1 [ticket/14524] Add core.ucp_register_requests_after
PHPBB3-14524
2016-11-21 16:41:20 +01:00
Jakub Senko
8e3a38e80d [ticket/14520] Add ucp_pm_viewmessage_options_before
PHPBB3-14520
2016-11-20 19:02:06 +01:00
Jakub Senko
34cfa5f885 [ticket/14390] Add ucp_main_front_user_activity_append/prepend
PHPBB3-14390
2016-11-20 18:53:59 +01:00
Jakub Senko
2f1d2e847e [ticket/13429] Fix @change tags without description
PHPBB3-13429
2016-11-20 18:47:19 +01:00
Jakub Senko
2df3703b2a [ticket/13149] Add core.phpbb_log_get_topic_auth_sql_before
PHPBB3-13149
2016-11-20 18:42:36 +01:00
Jakub Senko
a1a3daaca8 [ticket/13479] Add core.viewtopic_highlight_modify
PHPBB3-13479
2016-11-20 18:16:49 +01:00
Jakub Senko
c2836725f9 [ticket/13429] Replace @changed with @change in event docblocks
PHPBB3-13429
2016-11-20 17:58:59 +01:00
Marc Alexander
453d9113f1 Merge branch '3.1.x' into 3.2.x 2016-11-20 15:23:20 +01:00
Marc Alexander
dbd9c1f242 Merge pull request #4502 from rxu/ticket/14852
[ticket/14852] Add core event to modify email headers
2016-11-20 15:23:16 +01:00
Marc Alexander
c3108d44ce Merge branch '3.1.x' into 3.2.x 2016-11-20 13:18:31 +01:00
Marc Alexander
d98fd7868b Merge pull request #4511 from senky/ticket/14842
[ticket/14842] Don't display filesize limit if there is none
2016-11-20 13:18:27 +01:00
Marc Alexander
20771271ca Merge branch '3.1.x' into 3.2.x 2016-11-20 12:57:31 +01:00
Marc Alexander
6d58c4a4b5 Merge branch 'ticket/14850' into 3.1.x 2016-11-20 12:57:17 +01:00
Jmz
0d15a95f97 [ticket/14850] Add core.generate_smilies_before
Allows changing root_path of smilies to use CDN for example

PHPBB3-14850
2016-11-20 12:56:12 +01:00
Jmz
6bbc18fa40 [ticket/14850] Add core.smiley_text_root_path
Allows changing root_path of smilies to use CDN for example

PHPBB3-14850
2016-11-20 12:56:11 +01:00
Marc Alexander
8f19d16b2a Merge branch '3.1.x' into 3.2.x 2016-11-20 09:46:32 +01:00
Marc Alexander
16c3b40b4e Merge pull request #4519 from michaelcullum/ticket/14872
[ticket/14872] Remove sizeof/count restriction
2016-11-20 09:46:27 +01:00
Michael Cullum
ad4889be4b [ticket/14872] Remove sizeof/count restriction
PHPBB3-14872
2016-11-19 22:11:09 -05:00
Marc Alexander
9343317121 Merge remote-tracking branch 'senky/ticket/14739' into 3.2.x 2016-11-17 09:56:51 +01:00
Marc Alexander
c6bed98cf5 Merge branch '3.1.x' into 3.2.x 2016-11-16 21:57:10 +01:00
Marc Alexander
34ebbbc7c3 Merge pull request #4497 from senky/ticket/14849
[ticket/14849] Add core.acp_extensions_run_action
2016-11-16 21:56:15 +01:00
Marc Alexander
4844370c26 Merge branch '3.1.x' into 3.2.x 2016-11-16 21:53:30 +01:00
Marc Alexander
1ff01d722a Merge pull request #4510 from senky/ticket/14864
[ticket/14864] Set maxlength=64 to dateformat in ACP
2016-11-16 21:53:27 +01:00
Marc Alexander
5a82061c3a [ticket/9211] Use different icon for link subforum in forum legend
PHPBB3-9211
2016-11-16 21:51:58 +01:00
Marc Alexander
a96fc3d87f [ticket/14867] Revert back to twig 1.26.* and update dependencies
The revert of twig back to 1.26.* is necessary due to a breaking
change in the way the Filesystem loader returns the paths to
template files.

PHPBB3-14867
2016-11-16 21:39:29 +01:00
Jakub Senko
e974f338af [ticket/14739] Remove SQLite 2.8.x database driver
PHPBB3-14739
2016-11-16 17:59:28 +01:00
Jakub Senko
ba5243ba76 [ticket/14842] Don't display filesize limit if there is none
PHPBB3-14842
2016-11-15 14:22:42 +01:00
Tristan Darricau
da428b1fd3 Merge pull request #4501 from marc1706/ticket/14716
[ticket/14716] Update dependencies to latest versions

* marc1706/ticket/14716:
  [ticket/14716] Update dependencies to latest versions
2016-11-14 21:23:58 +01:00
Tristan Darricau
edaa36205f Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14831] Rename migration and replace preg_replace() with simpler methods
  [ticket/14831] Compare depends_on for migrations and remove prefixless names
  [ticket/14831] Add migration for deduplicating entries and fix typo
  [ticket/14831] Add method for getting valid migration name
  [ticket/14831] Fall back to possible migration names instead of adding prefix
  [ticket/14831] Make sure migrations always start with backslash
2016-11-14 21:22:14 +01:00
Tristan Darricau
8323de331e Merge pull request #4492 from marc1706/ticket/14831
[ticket/14831] Make sure migrations always start with backslash

* marc1706/ticket/14831:
  [ticket/14831] Rename migration and replace preg_replace() with simpler methods
  [ticket/14831] Compare depends_on for migrations and remove prefixless names
  [ticket/14831] Add migration for deduplicating entries and fix typo
  [ticket/14831] Add method for getting valid migration name
  [ticket/14831] Fall back to possible migration names instead of adding prefix
  [ticket/14831] Make sure migrations always start with backslash
2016-11-14 21:22:11 +01:00
Jakub Senko
b80b624551 [ticket/14849] Add core.acp_extensions_run_action
PHPBB3-14849
2016-11-13 22:34:28 +01:00
Marc Alexander
8a3147faf8 Merge branch '3.1.x' into 3.2.x 2016-11-13 21:29:14 +01:00
Marc Alexander
6e6a2c5df8 Merge pull request #4488 from senky/ticket/14825
Add core.auth_oauth_login_after and core.auth_oauth_link_after
2016-11-13 21:27:51 +01:00
Jakub Senko
df0388ccc5 [ticket/14825] Add core.auth_oauth_(login/link)_after
PHPBB3-14825
2016-11-13 18:19:21 +01:00
Jakub Senko
114cfe2c27 [ticket/14760] Add core.mcp_main_modify_fork_sql event
PHPBB3-14760
2016-11-13 18:15:07 +01:00
Jakub Senko
36d4169768 [ticket/14759] Add core.mcp_main_modify_shadow_sql event
PHPBB3-14759
2016-11-13 17:48:53 +01:00
Jakub Senko
260dc5ed7c [ticket/14863] Properly treat plural rules in confirmation box title
PHPBB3-14863
2016-11-13 17:21:41 +01:00
Jakub Senko
f8fb3e0f9f [ticket/14864] Set maxlength=64 to dateformat in ACP
PHPBB3-14864
2016-11-13 15:12:23 +01:00
Marc Alexander
78c2e31ec2 [ticket/security-181] Add .htaccess to 3.2.x migrations
SECURITY-181
2016-11-13 12:29:31 +01:00
Marc Alexander
a2953cb10c Merge branch 'ticket/security-181' into ticket/security-181-rhea 2016-11-13 12:29:28 +01:00
Marc Alexander
44dd1ef984 [ticket/security-181] Update INSTALL.html to ask for more secure apache config
SECURITY-181
2016-11-13 12:26:35 +01:00
Marc Alexander
7ba9b06881 [ticket/security-181] Port .htaccess changes to other webserver types
SECURITY-181
2016-11-13 11:50:23 +01:00
Marc Alexander
61683f895c [ticket/security-181] Deny access to migrations folders
SECURITY-181
2016-11-13 11:43:17 +01:00
Marc Alexander
9c7e8c2dc5 Merge branch '3.1.x' into 3.2.x 2016-11-12 19:41:10 +01:00
Marc Alexander
372324cead Merge pull request #4504 from VSEphpbb/ticket/14855
[ticket/14855] Update notification and PM alert bubbles
2016-11-12 19:30:34 +01:00
Marc Alexander
2319748c08 Merge branch '3.1.x' into 3.2.x 2016-11-12 19:27:09 +01:00
Marc Alexander
39f5b82bc3 Merge pull request #4505 from JimMH/patch-1
[ticket/14859] Send notifications for PM reports to all users with correct permissions
2016-11-12 19:27:06 +01:00
Matt Friedman
55f7438187 [ticket/14855] Bump font size to 10px
PHPBB3-14855
2016-11-12 09:32:57 -08:00
Marc Alexander
4a1e5df654 Merge branch '3.1.x' into 3.2.x 2016-11-12 17:14:39 +01:00
Marc Alexander
c77798b1a3 Merge pull request #4496 from senky/ticket/14848
[ticket/14848] Add acp_ext_list_disabled/enabled_title_after
2016-11-12 17:14:35 +01:00
Marc Alexander
ef77852aff Merge branch '3.1.x' into 3.2.x 2016-11-12 17:10:14 +01:00
Marc Alexander
221cd3eb68 Merge pull request #4495 from senky/ticket/14847
[ticket/14847] Add core.acp_attachments_config_edit_add
2016-11-12 17:08:28 +01:00
Marc Alexander
728335820c Merge branch '3.1.x' into 3.2.x 2016-11-12 16:17:31 +01:00
Marc Alexander
bc4c82bae5 Merge pull request #4481 from senky/ticket/14819
[ticket/14819] Hide soft-deleted posts in topic review
2016-11-12 16:17:27 +01:00
Marc Alexander
78db28286e Merge branch '3.1.x' into 3.2.x 2016-11-12 13:54:59 +01:00
Marc Alexander
577d669ba7 Merge pull request #4472 from dsinn/ticket/14804
[ticket/14804] Add core event to MCP after merging topics
2016-11-12 13:53:24 +01:00
Marc Alexander
dd561ec275 Merge branch '3.1.x' into 3.2.x 2016-11-12 13:47:42 +01:00
Marc Alexander
a298ed1a66 Merge pull request #4507 from nickvergessen/ticket-14788
[ticket/14788] Farewell my friendz
2016-11-12 13:47:39 +01:00
Marc Alexander
8d3d396f1b Merge branch '3.1.x' into 3.2.x 2016-11-12 13:44:32 +01:00
Marc Alexander
43ea7168d1 Merge pull request #4506 from lavigor/ticket/14860
[ticket/14860] Broken link on subscriptions page on mobile devices
2016-11-12 13:44:29 +01:00
Joas Schilling
c9ea560c63 [ticket/14788] Farewell
PHPBB3-14788
2016-11-12 12:12:01 +01:00
Matt Friedman
0fd04f2e6f [ticket/14855] CSS updates
PHPBB3-14855
2016-11-11 16:38:46 -08:00
Matt Friedman
74285b4308 [ticket/14855] Update CSS
PHPBB3-14855
2016-11-11 09:32:25 -08:00
lavigor
cdf6464382 [ticket/14860] Broken link on subscriptions page on mobile devices
PHPBB3-14860
2016-11-08 16:50:53 +03:00
Jim Mossing Holsteyn
4533dd9fa0 [ticket/14859] Notifications for PM reports send to users with correct permissions
Tracker ticket (set the ticket ID to your ticket ID):

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

This addresses the problem that notifications of new PM reports were not sent out to moderators that weren't global moderators but did have the permission "Can close/delete PM reports". 

PHPBB3-14859
2016-11-07 16:06:50 +01:00
Matt Friedman
9b1e2e523c [ticket/14855] Update the comments
PHPBB3-14855
2016-11-06 16:12:39 -08:00
Matt Friedman
0e114f91f4 [ticket/14855] Remove notification bubble on mark all read
PHPBB3-14855
2016-11-06 10:00:50 -08:00
Tristan Darricau
50f5efba9c Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14795] Use maximum topic views instead of adding up views in merge
2016-11-06 15:47:49 +01:00
Tristan Darricau
9be9062df3 Merge pull request #4485 from marc1706/ticket/14795
[ticket/14795] Use maximum topic views instead of adding up views in merge

* github.com:phpbb/phpbb:
  [ticket/14795] Use maximum topic views instead of adding up views in merge
2016-11-06 15:47:20 +01:00
Tristan Darricau
cd348b200a Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/11483] Add tests for generating user act key on force reactivate
  [ticket/11483] Generate user act key if database entry is empty
2016-11-06 15:41:59 +01:00
Tristan Darricau
dc32b900c5 Merge pull request #4486 from marc1706/ticket/11483
[ticket/11483] Generate user act key if database entry is empty

* github.com:phpbb/phpbb:
  [ticket/11483] Add tests for generating user act key on force reactivate
  [ticket/11483] Generate user act key if database entry is empty
2016-11-06 15:41:46 +01:00
Marc Alexander
ac36cc25eb [ticket/11483] Add tests for generating user act key on force reactivate
PHPBB3-11483
2016-11-06 11:58:31 +01:00
Matt Friedman
af2bf4ef36 [ticket/14855] Update notification functional test
PHPBB3-14855
2016-11-05 19:41:08 -07:00
Matt Friedman
87209fdd06 [ticket/14855] Fix responsive alert bubble CSS
PHPBB3-14855
2016-11-05 16:29:13 -07:00
Matt Friedman
c259a9b387 [ticket/14855] Update notification and PM alert bubbles
PHPBB3-14855
2016-11-05 16:15:50 -07:00
Marc Alexander
ecb81894cc Merge remote-tracking branch 'nicofuma/ticket/14814' into 3.2.x 2016-11-05 21:35:06 +01:00
rxu
ad4fe1799f [ticket/14853] Add core event to allow modifying PM attachments download auth
PHPBB3-14853
2016-11-04 18:42:49 +07:00
rxu
6984f17f62 [ticket/14852] Add core event to modify email headers
PHPBB3-14852
2016-11-04 18:23:09 +07:00
Marc Alexander
4d07f8a134 [ticket/14716] Update dependencies to latest versions
This addresses some issues with symfony that resulted in
issues when open_basedir restrictions were enabled, as well
as issues with JPEG images in fast-image-size.
The phpBB class extending the twig lexer also had to be
modified to ensure compatibility after BC was broken by
the PR https://github.com/twigphp/Twig/pull/2182 for twig
1.27.

PHPBB3-14716
2016-11-03 21:36:12 +01:00
Tristan Darricau
d90afa67d8 [ticket/14814] Fix reparser cron
PHPBB3-14814
2016-11-02 19:38:33 +01:00
Jakub Senko
2f6a258175 [ticket/14848] Add acp_ext_list_disabled/enabled_title_after
PHPBB3-14848
2016-11-02 10:03:11 +01:00
Máté Bartus
094ac6b60f Merge pull request #4494 from JoshyPHP/ticket/14846
[ticket/14846] Updated s9e\TextFormatter
2016-11-02 10:01:20 +01:00
Jakub Senko
552691efbf [ticket/14847] Add core.acp_attachments_config_edit_add
PHPBB3-14847
2016-11-02 09:46:36 +01:00
JoshyPHP
33f1934b72 [ticket/14846] Updated s9e\TextFormatter
PHPBB3-14846
2016-11-02 09:19:35 +01:00
Marc Alexander
f658e062b2 Merge branch '3.1.x' into 3.2.x 2016-10-28 21:06:21 +02:00
Marc Alexander
85898d3d2c Merge pull request #4489 from rxu/ticket/14830
[ticket/14830] Fix FORM_INVALID error during some ACP setting operations
2016-10-28 19:36:49 +02:00
Marc Alexander
466bdee8e6 [ticket/14823] Move check_form_key() inside actual save data step
PHPBB3-14823
2016-10-28 21:37:00 +07:00
javiexin
10f430f393 Merge branch '3.1.x' of https://github.com/javiexin/phpbb into 3.1.x 2016-10-26 04:28:55 +02:00
Marc Alexander
ffc6623dd4 [ticket/14831] Rename migration and replace preg_replace() with simpler methods
PHPBB3-14831
2016-10-25 20:25:57 +02:00
Tristan Darricau
b8ef36ddb1 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14818] Optimize generate_board_url function
2016-10-24 23:08:09 +02:00
Tristan Darricau
e3a85ff0a7 Merge pull request #4487 from gmixo/patch-2
[ticket/14818] Optimize generate_board_url function

* gmixo/patch-2:
  [ticket/14818] Optimize generate_board_url function
2016-10-24 23:08:06 +02:00
Tristan Darricau
b13910ee45 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14831] Optimize code construction
  [ticket/14831] Add more tests against UCP modules
  [ticket/14831] Add more tests, better name for $e placeholder
  [ticket/14831] Do not throw exception on the module existence checking
  [ticket/14831] Fix module migrator tool
2016-10-24 22:24:26 +02:00
Tristan Darricau
163292bc11 Merge pull request #4491 from rxu/ticket/14831
[ticket/14831] Fix extension modules installation issues

* rxu/ticket/14831:
  [ticket/14831] Optimize code construction
  [ticket/14831] Add more tests against UCP modules
  [ticket/14831] Add more tests, better name for $e placeholder
  [ticket/14831] Do not throw exception on the module existence checking
  [ticket/14831] Fix module migrator tool
2016-10-24 22:24:23 +02:00
rxu
a41b16d06a [ticket/14830] Fix FORM_INVALID error on cpf settings changing
PHPBB3-14830
2016-10-24 23:22:00 +07:00
Marc Alexander
52b1a9d4fa Merge branch '3.1.x' into 3.2.x 2016-10-24 18:21:17 +02:00
Marc Alexander
cac8ac8242 Merge pull request #4477 from rxu/ticket/14808
[ticket/14808] Add template event overall_header_searchbox_after
2016-10-24 18:21:14 +02:00
Marc Alexander
6f8c0df1c6 [ticket/14831] Compare depends_on for migrations and remove prefixless names
PHPBB3-14831
2016-10-23 22:17:19 +02:00
Marc Alexander
c891277996 [ticket/14831] Add migration for deduplicating entries and fix typo
PHPBB3-14831
2016-10-23 22:00:02 +02:00
rxu
cefbd39b82 [ticket/14830] Fix tests
PHPBB3-14830
2016-10-24 01:54:40 +07:00
rxu
77f1bac64b [ticket/14831] Optimize code construction
PHPBB3-14831
2016-10-24 01:41:24 +07:00
rxu
849cd74700 [ticket/14831] Add more tests against UCP modules
PHPBB3-14831
2016-10-23 23:33:03 +07:00
rxu
51ef1ae346 [ticket/14831] Add more tests, better name for $e placeholder
PHPBB3-14831
2016-10-23 22:44:47 +07:00
rxu
a02b124dd0 [ticket/14831] Do not throw exception on the module existence checking
PHPBB3-14831
2016-10-23 21:58:29 +07:00
Marc Alexander
2a038d45df Merge branch '3.1.x' into 3.2.x 2016-10-23 11:48:56 +02:00
Marc Alexander
3cb09358fe Merge pull request #4490 from kasimi/ticket/14827
[ticket/14827] Fix adding multiple form keys
2016-10-23 11:48:53 +02:00
Marc Alexander
9f2867b115 [ticket/14831] Add method for getting valid migration name
PHPBB3-14831
2016-10-23 11:37:10 +02:00
Marc Alexander
2059d57c04 [ticket/14831] Fall back to possible migration names instead of adding prefix
Instead of just adding the backslash as prefix if needed, this will take care
of falling back to any possible migration with or without backslash no matter
how the mgiration was saved in the database or called in the migrations file.
This will result in a more robust migrator in regards to naming the migrations
and previously run migrations.

PHPBB3-14831
2016-10-23 10:28:22 +02:00
rxu
0cc0920734 [ticket/14831] Fix module migrator tool
PHPBB3-14831
2016-10-23 00:57:37 +07:00
Marc Alexander
8b8f693d00 [ticket/14831] Make sure migrations always start with backslash
The migration system expects every migration to start with a backslash.
If depends on definitions do not supply that leading backslash, we should
make sure it's added manually before calling the depends on migration.

PHPBB3-14831
2016-10-22 19:19:36 +02:00
rxu
8afa9fdf28 [ticket/14830] Fix FORM_INVALID error during AСP search index deletion
PHPBB3-14830
2016-10-21 01:23:45 +07:00
rxu
244ff0f969 [ticket/14830] Fix ACP search control functional tests
PHPBB3-14830
2016-10-21 01:23:45 +07:00
rxu
eca10dc08f [ticket/14830] Fix FORM_INVALID error on search backend changing
PHPBB3-14830
2016-10-21 01:23:44 +07:00
rxu
8e54c9ef8b [ticket/14830] Fix link hash checking case
PHPBB3-14830
2016-10-21 01:23:43 +07:00
rxu
832a87b924 [ticket/14830] Fix FORM_INVALID error during AXP search index creation/deletion
PHPBB3-14830
2016-10-21 01:23:43 +07:00
Máté Bartus
fd7244c892 Merge branch '3.1.x' into 3.2.x 2016-10-20 18:34:59 +02:00
Máté Bartus
05d0879795 Merge pull request #4482 from marc1706/ticket/14821
[ticket/14821] Replace escaped strong tags with actual tags
2016-10-20 18:33:48 +02:00
kasimi
f02afe58bc [ticket/14827] Possibility to add multiple form keys
PHPBB3-14827
2016-10-19 22:42:52 +02:00
Marc Alexander
d98a1c4bc4 [ticket/14821] Simplify regex for converting <strong> tags back to HTML
PHPBB3-14821
2016-10-18 22:07:54 +02:00
MIkhail Gulyaev
868d55913d [ticket/14818] Optimize generate_board_url function
if $config['force_server_vars'] no need to calculate $request
2016-10-17 12:54:08 +07:00
Marc Alexander
20148e4d06 [ticket/11483] Generate user act key if database entry is empty
The force reactivation action in the ACP will no longer overwrite the
generated activation key in case the key stored in the database is empty.
It will also save the generated key back to the database to actually allow
the activation by the user.

PHPBB3-11483
2016-10-16 11:16:06 +02:00
Marc Alexander
fce30d1d91 [ticket/14795] Use maximum topic views instead of adding up views in merge
Merging topics should not result in topic views being added up but rather in
the highest topic view showing up for the merged topic.

PHPBB3-14795
2016-10-16 10:55:00 +02:00
Marc Alexander
2406fe2e5e [ticket/14750] Remove html5 invalid attributes from attachment file input
PHPBB3-14750
2016-10-15 09:00:36 +02:00
Marc Alexander
1f0c616974 [ticket/14821] Replace escaped strong tags with actual tags
Everything else will still be escaped. This will however add back support for
bold text in exception messages.

PHPBB3-14821
2016-10-14 22:47:43 +02:00
Jakub Senko
4dfadfc97f [ticket/14819] Hide soft-deleted posts in topic review
PHPBB3-14819
2016-10-13 14:28:29 +02:00
Marc Alexander
84a8cf00ad Merge branch '3.1.x' into 3.2.x 2016-10-12 21:43:35 +02:00
Marc Alexander
1dd0ceabf6 Merge branch 'prep-release-3.1.10' into 3.1.x 2016-10-12 21:40:59 +02:00
Marc Alexander
322b86da1f Merge pull request #4476 from Nicofuma/ticket/14807
[ticket/14807] Updates dependencies
2016-10-10 21:30:13 +02:00
Tristan Darricau
b2711371f1 [ticket/14807] s9e/textformatter 0.8.1
PHPBB3-14807
2016-10-10 20:07:33 +02:00
Tristan Darricau
35ad0f1249 [ticket/14807] Fix tests after symfony upgrade
PHPBB3-14807
2016-10-09 22:13:58 +02:00
Tristan Darricau
82105070ad [ticket/14807] Updates s9e textformatter again
PHPBB3-14807
2016-10-09 22:10:16 +02:00
Tristan Darricau
1100db7e86 [ticket/14807] Updates paragonie/random_compat
PHPBB3-14807
2016-10-09 22:03:50 +02:00
Marc Alexander
8ce95413aa Merge pull request #4478 from Nicofuma/ticket/14813
[ticket/14813] Add missing functions_compatibiity in phpbbcli
2016-10-09 15:58:31 +02:00
Tristan Darricau
4d4d3824f3 [ticket/14813] Add missing functions_compatibiity in phpbbcli
PHPBB3-14813
2016-10-09 10:47:56 +02:00
rxu
98a6133c1e [ticket/14808] Add template event overall_header_searchbox_after
PHPBB3-14808
2016-10-04 16:58:51 +07:00
Marc Alexander
380be9f1fd [ticket/14733] Make sure detect_algorithm() works correctly and add tests
detect_algorithm() returned array() if an algorithm prefix was more than 2
characters long. This might have been invalid for other prefixes. In order
to correctly cope with other prefixes, another check for a backslash in the
prefix definitino has been added.
This was discovered while writing the tests for the newly added interface.

PHPBB3-14733
2016-10-03 22:09:28 +02:00
Marc Alexander
722639a0e2 [ticket/14733] Extend passwords driver_interface in rehashable_driver_interface
PHPBB3-14733
2016-10-03 22:09:22 +02:00
Marc Alexander
d15269950d [ticket/14733] Use new interface to preserve backwards compatibility
PHPBB3-14733
2016-10-03 22:09:16 +02:00
Marc Alexander
297376ee94 [ticket/14733] Use default cost factor in bcrypt constructor
PHPBB3-14733
2016-10-03 22:09:12 +02:00
Marc Alexander
1d40c0f43b [ticket/14733] Support increasing hashing cost factor
PHPBB3-14733
2016-10-03 22:09:07 +02:00
Tristan Darricau
7bb4e88acd Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14802] Add test for empty/blank lines in poll options
  [ticket/14802] Empty/blank lines should not be additional poll options
2016-10-03 20:20:54 +02:00
Tristan Darricau
1ad64f89b8 Merge pull request #4471 from dsinn/ticket/14802
[ticket/14802] Empty/blank lines should not be additional poll options

* dsinn/ticket/14802:
  [ticket/14802] Add test for empty/blank lines in poll options
  [ticket/14802] Empty/blank lines should not be additional poll options
2016-10-03 20:05:49 +02:00
Daniel Sinn
bf8ee698f9 [ticket/14802] Add test for empty/blank lines in poll options
PHPBB3-14802
2016-10-03 12:24:02 -04:00
Daniel Sinn
59b52d6312 [ticket/14804] Merge remote-tracking branch 'upstream/3.1.x' into ticket/14804
PHPBB3-14804
2016-10-03 10:24:30 -04:00
Marc Alexander
40354f1f90 Merge pull request #27 from phpbb/ticket/security-196
[ticket/security-196] Escapes the exception messages before displaying them
2016-10-02 22:25:30 +01:00
Marc Alexander
71e632b9f0 [prep-release-3.1.10] Add 3.1.10 migration 2016-10-02 21:07:18 +01:00
Marc Alexander
cb226f83be [prep-release-3.1.10] Update version numbers for 3.1.10 2016-10-02 21:06:56 +01:00
Tristan Darricau
4c60995d7a [ticket/14807] Updates everything else
PHPBB3-14807
2016-10-02 19:40:49 +02:00
Tristan Darricau
7a5fbd0257 [ticket/14807] Updates Twig
PHPBB3-14807
2016-10-02 19:24:45 +02:00
Tristan Darricau
b28fe0a7fa Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14786] Add mcp_forum_actions_before/after events
2016-10-02 18:12:53 +02:00
Tristan Darricau
85e4566223 Merge pull request #4467 from Senky/ticket/14786
[ticket/14786] Add mcp_forum_actions_before/after events

* Senky/ticket/14786:
  [ticket/14786] Add mcp_forum_actions_before/after events
2016-10-02 18:11:48 +02:00
Tristan Darricau
722fe0ca48 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14787] Add 1 more parameter to the core.search_modify_url_parameters
2016-10-02 18:08:10 +02:00
Tristan Darricau
55a0570567 Merge pull request #4469 from rxu/ticket/14787-2
[ticket/14787] Add 1 more parameter to the core.search_modify_url_parameters

* rxu/ticket/14787-2:
  [ticket/14787] Add 1 more parameter to the core.search_modify_url_parameters
2016-10-02 18:08:09 +02:00
Tristan Darricau
89a564adb2 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14801] Highlighting utf8 strings in search results
2016-10-02 17:43:55 +02:00
Tristan Darricau
b4e673acc1 Merge pull request #4470 from rxu/ticket/14801
[ticket/14801] Highlighting utf8 strings in search results

* rxu/ticket/14801:
  [ticket/14801] Highlighting utf8 strings in search results
2016-10-02 17:43:55 +02:00
Tristan Darricau
5075090d4f Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14789] Remove obsolete check_form_key() and add missing hashes
  [ticket/14789] Move form key checks to where they actually do something
2016-10-02 17:18:32 +02:00
Tristan Darricau
cd4190a72d Merge pull request #4474 from marc1706/ticket/14789
[ticket/14789] Move form key checks to where they actually do something

* marc1706/ticket/14789:
  [ticket/14789] Remove obsolete check_form_key() and add missing hashes
  [ticket/14789] Move form key checks to where they actually do something
2016-10-02 17:18:22 +02:00
Tristan Darricau
6b798d02fb Merge branch 'prep-release-3.1.10' into 3.1.x
* prep-release-3.1.10:
  [ticket/14789] Remove obsolete check_form_key() and add missing hashes
  [ticket/14789] Move form key checks to where they actually do something
2016-10-02 17:18:22 +02:00
Tristan Darricau
78333e300c Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14805] Ignore platform requirements while building packages
2016-10-02 17:14:52 +02:00
Tristan Darricau
cdaed8dabf Merge pull request #4475 from marc1706/ticket/14805
[ticket/14805] Ignore platform requirements while building packages

* marc1706/ticket/14805:
  [ticket/14805] Ignore platform requirements while building packages
  [ticket/8301] Add log_time index
2016-10-02 17:14:49 +02:00
Tristan Darricau
165e0edb2a Merge branch 'prep-release-3.1.10' into 3.1.x
* prep-release-3.1.10:
  [ticket/14805] Ignore platform requirements while building packages
2016-10-02 17:14:49 +02:00
Marc Alexander
328a7afcc3 Merge branch '3.1.x' into 3.2.x 2016-10-01 16:58:07 +01:00
Marc Alexander
5a6933fee7 Merge pull request #4466 from Senky/ticket/14795
[ticket/14795] Merge topic views when merging topics
2016-10-01 16:58:02 +01:00
Marc Alexander
047c7375a5 [ticket/14805] Ignore platform requirements while building packages
PHPBB3-14805
2016-10-01 16:46:48 +01:00
Marc Alexander
57fc321c4d Merge branch '3.1.x' into 3.2.x 2016-10-01 11:07:43 +01:00
Marc Alexander
f1eda6868f Merge pull request #4465 from Senky/ticket/8301
[ticket/8301] Add log_time index
2016-10-01 11:07:40 +01:00
Marc Alexander
4e5f29a21b [ticket/14789] Remove obsolete check_form_key() and add missing hashes
PHPBB3-14789
2016-09-30 23:26:04 +01:00
Marc Alexander
88d7c4fe57 [ticket/14789] Move form key checks to where they actually do something
PHPBB3-14789
2016-09-30 22:32:54 +01:00
Marc Alexander
e362ff1f3c Merge pull request #4473 from rxu/ticket/14799-1
[ticket/14799] Remove accidentally added whitespaces into 3.2.x and master
2016-09-30 21:49:22 +01:00
Daniel Sinn
32d569c594 [ticket/14804] Fix undefined $topic_data after trying to port 3.2 changes to 3.1
PHPBB3-14804
2016-09-30 16:34:11 -04:00
rxu
5b32019ad6 [ticket/14799] Remove accidentally added whitespaces into 3.2.x and master
PHPBB3-14799
2016-10-01 02:59:17 +07:00
Daniel Sinn
c6383d3f89 [ticket/14804] Rename event to mcp_forum_merge_topics_after; update @since
PHPBB3-14804
2016-09-30 15:58:10 -04:00
Daniel Sinn
1d25c80a9c [ticket/14804] Add core event to MCP after merging topics
Renamed $topic_data and defined $to_topic_data in order to avoid ambiguity
and to stop overwriting a variable.

PHPBB3-14804
2016-09-30 15:23:17 -04:00
Daniel Sinn
0b3951cb81 [ticket/14802] Empty/blank lines should not be additional poll options
PHPBB3-14802
2016-09-29 14:43:36 -04:00
rxu
ae76bfc99e [ticket/14801] Highlighting utf8 strings in search results
PHPBB3-14801
2016-09-29 17:18:58 +07:00
rxu
cc62b68243 [ticket/14787] Add 1 more parameter to the core.search_modify_url_parameters
PHPBB3-14787
2016-09-29 01:59:16 +07:00
Tristan Darricau
737ef92a1e Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14799] purge_notifications() should not leave open transactions.
2016-09-28 20:56:51 +02:00
Tristan Darricau
6972d06f59 Merge branch 'prep-release-3.1.10' into 3.1.x
* prep-release-3.1.10:
  [ticket/14799] purge_notifications() should not leave open transactions.
2016-09-28 20:53:10 +02:00
Tristan Darricau
2fd2fb94cf Merge pull request #4468 from markshawtoronto/ticket/14799
[ticket/14799] purge_notifications() should not leave open transactions.

* markshawtoronto/ticket/14799:
  [ticket/14799] purge_notifications() should not leave open transactions.
  [3.1.x] Increase version for 3.1.11 development
2016-09-28 20:50:06 +02:00
markshawtoronto
06c980f1ec [ticket/14799] purge_notifications() should not leave open transactions.
When running purge_notifications(), if a notification type does not exist
then a db transaction is started but never completed.

On an error in get_notification_type_id(), end the transaction.

PHPBB3-14799
2016-09-27 11:45:23 -04:00
Jakub Senko
f66ca6a9cc [ticket/14786] Add mcp_forum_actions_before/after events
PHPBB3-14786
2016-09-26 11:13:11 +02:00
Jakub Senko
ec24f739e8 [ticket/8301] Add log_time index
PHPBB3-8301
2016-09-25 19:51:37 +02:00
Jakub Senko
c588332aa5 [ticket/14795] Merge topic views when merging topics
PHPBB3-14795
2016-09-25 19:49:01 +02:00
Tristan Darricau
ef755ffd38 Merge pull request #4463 from marc1706/ticket/14797
[ticket/14797] Support PHP 7.1 and clearly state support for latest versions

* marc1706/ticket/14797:
  [ticket/14797] Support PHP 7.1 and clearly state support for latest versions
2016-09-25 17:22:26 +02:00
Tristan Darricau
de2c70127f Merge pull request #4265 from Senky/ticket/10809
[ticket/10809] Remove MSSQL support

* Senky/ticket/10809:
  [ticket/10809] Reflect MSSQL removal in docs files
  [ticket/10809] Remove MSSQL support
2016-09-25 17:19:13 +02:00
Marc Alexander
9e52ed9af1 [ticket/14797] Support PHP 7.1 and clearly state support for latest versions
PHPBB3-14797
2016-09-25 12:54:01 +02:00
Marc Alexander
164f0e031d Merge branch '3.1.x' into 3.2.x 2016-09-24 21:45:17 +02:00
Marc Alexander
51d830a6d3 [3.1.x] Increase version for 3.1.11 development 2016-09-24 21:39:47 +02:00
Marc Alexander
32d9efff47 Merge branch 'prep-release-3.1.10' into 3.1.x 2016-09-24 21:35:42 +02:00
Marc Alexander
7d73d1ff83 [prep-release-3.1.10] Add changelog for 3.1.10-RC1 2016-09-24 14:57:23 +02:00
Marc Alexander
c958ba13e8 [prep-release-3.1.10] Add migration for 3.1.10-RC1 2016-09-24 14:50:46 +02:00
Marc Alexander
2f17757f4e [prep-release-3.1.10] Update version to 3.1.10-RC1 2016-09-24 14:50:46 +02:00
Marc Alexander
187c6df18a Merge branch '3.1.x' into 3.2.x 2016-09-24 13:04:24 +02:00
Marc Alexander
b8bbf9db03 Merge pull request #4461 from marc1706/ticket/14785
[ticket/14785] Add template event overall_header_headerbar_after/before
2016-09-24 13:04:21 +02:00
Marc Alexander
713f25e552 Merge branch '3.1.x' into 3.2.x 2016-09-24 11:50:17 +02:00
Marc Alexander
4267cc3a43 Merge pull request #4462 from marc1706/ticket/14796
[ticket/14796] Use log_table class member instead of table constant
2016-09-24 11:50:15 +02:00
GerB
90e9d5c462 [ticket/14785] Add template event overall_header_headerbar_after/before
PHPBB3-14785
2016-09-24 11:04:23 +02:00
Tristan Darricau
b59e41d289 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2016-09-24 10:31:30 +02:00
Tristan Darricau
fdd4f68aea Merge pull request #4455 from marc1706/ticket/14484-rhea
[ticket/14484] Add possibility to use extensions in UI tests

* marc1706/ticket/14484-rhea:
  [ticket/14484] Remove duplicate methods and no longer needed calls
  [ticket/14484] Remove invalid code caused by merge conflict
  [ticket/14484] Properly enable extensions in UI tests
  [ticket/14484] Move facebook/webdriver back to tests dir composer.json
  [ticket/14484] Move facebook webdriver to main composer.json
2016-09-24 10:31:27 +02:00
Tristan Darricau
cdd56c0505 Merge pull request #4394 from marc1706/ticket/14484
[ticket/14484] Add possibility to use extensions in UI tests

* marc1706/ticket/14484:
  [ticket/14484] Properly enable extensions in UI tests
  [ticket/14484] Move facebook/webdriver back to tests dir composer.json
  [ticket/14484] Move facebook webdriver to main composer.json
2016-09-24 10:31:06 +02:00
Marc Alexander
1fff455862 Merge branch '3.1.x' into 3.2.x 2016-09-24 10:28:39 +02:00
Marc Alexander
18f9c9f6e2 Merge pull request #3527 from Elsensee/ticket/13709
[ticket/13709] Add fallback for email templates used by extensions
2016-09-24 10:28:37 +02:00
Forumhulp.com
97040dc6ff [ticket/14796] Use log_table class member instead of table constant
Was still using the old LOG_TABLE constant in the delete method.

PHPBB3-14796
2016-09-24 10:19:12 +02:00
Marc Alexander
e02dc7a9c1 Merge branch '3.1.x' into 3.2.x 2016-09-24 10:03:58 +02:00
Marc Alexander
931582aad9 Merge pull request #4432 from Senky/ticket/14762
[ticket/14762] Add core event to session.php
2016-09-24 10:02:41 +02:00
Marc Alexander
4db52518a9 Merge branch '3.1.x' into 3.2.x 2016-09-24 09:56:30 +02:00
Marc Alexander
3910387ee5 Merge pull request #4433 from Senky/ticket/14747
[ticket/14747] Add post_data to core.modify_posting_auth
2016-09-24 09:56:25 +02:00
Marc Alexander
73d150db80 Merge branch '3.1.x' into 3.2.x 2016-09-24 09:41:54 +02:00
Marc Alexander
d2f95ef875 Merge pull request #4460 from marc1706/ticket/14784
[ticket/14784] missing rewrite for lighttpd
2016-09-24 09:39:01 +02:00
Marc Alexander
dcc7118c0d Merge pull request #4460 from marc1706/ticket/14784
[ticket/14784] missing rewrite for lighttpd
2016-09-24 09:36:04 +02:00
Tobi Schäfer
537dca0892 [ticket/14784] missing rewrite for lighttpd
PHPBB3-14784
2016-09-24 08:21:27 +02:00
Marc Alexander
9a64bffd68 Merge pull request #4459 from rxu/ticket/14794
[ticket/14794] Adjust redirect() behavior for PHP 7.1+ compatibility
2016-09-23 21:10:26 +02:00
Marc Alexander
77e14c3030 Merge pull request #4457 from rxu/ticket/14793
[ticket/14793] Fix "A non-numeric value encountered" PHP warning on PHP 7.1+
2016-09-23 20:55:21 +02:00
rxu
a5ccdc7997 [ticket/14794] Adjust redirect() behavior for PHP 7.1+ compatibility
PHPBB3-14794
2016-09-23 19:47:05 +07:00
rxu
becb1e1fff [ticket/14793] Merge branch 'ticket/14748' of https://github.com/marc1706/phpbb
PHPBB3-14793
2016-09-23 05:52:47 +07:00
Marc Alexander
bc6dc9f173 Merge branch '3.1.x' into 3.2.x 2016-09-22 21:26:35 +02:00
Marc Alexander
2436af94e3 Merge pull request #4392 from ErnadoO/PHPBB3-14592
[ticket/14592] [PHP] core.search_backend_search_after
2016-09-22 21:26:31 +02:00
Marc Alexander
430c266eb2 Merge branch '3.1.x' into 3.2.x 2016-09-22 21:23:58 +02:00
Marc Alexander
75f57fa407 Merge pull request #4454 from rxu/tcket/14787-1
[ticket/14787] Add more parameters to the core.search_modify_url_parameters
2016-09-22 21:23:55 +02:00
rxu
35c62d1e74 [ticket/14793] Fix "A non-numeric value encountered" PHP warning on PHP 7.1+
PHPBB3-14793
2016-09-22 22:29:18 +07:00
Máté Bartus
6ae405f743 Merge pull request #4456 from marc1706/ticket/14791
[ticket/14791] Get form tokens from correct button in search test base
2016-09-22 10:15:28 +02:00
Marc Alexander
65ef56ed71 [ticket/14791] Get form tokens from correct button in search test base
PHPBB3-14791
2016-09-21 21:36:03 +02:00
Marc Alexander
2b22adbcac [ticket/14484] Remove duplicate methods and no longer needed calls
PHPBB3-14484
2016-09-21 21:09:55 +02:00
Marc Alexander
6242698a84 [ticket/14484] Remove invalid code caused by merge conflict
PHPBB3-14484
2016-09-18 21:52:11 +02:00
rxu
a078336cb1 [ticket/14787] Add more parameters to the core.search_modify_url_parameters
PHPBB3-14787
2016-09-19 02:48:23 +07:00
Marc Alexander
229472cb07 Merge branch 'ticket/14484' into ticket/14484-rhea 2016-09-18 21:46:32 +02:00
Tristan Darricau
e0d9f2aad6 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14787] Add more parameters to the core.search_modify_url_parameters
2016-09-18 21:25:17 +02:00
Tristan Darricau
4da479d47f Merge pull request #4450 from rxu/ticket/14787
[ticket/14787] Add more parameters to the core.search_modify_url_pameters

* rxu/ticket/14787:
  [ticket/14787] Add more parameters to the core.search_modify_url_parameters
2016-09-18 21:25:14 +02:00
Tristan Darricau
19bbbfe0f3 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14789] Add form tokens to tests and uncomment add_form_key
  [ticket/14789] Add link hashes and form tokens to all acp links/buttons
2016-09-18 21:14:47 +02:00
Tristan Darricau
bc08813866 Merge pull request #4452 from marc1706/ticket/14789
[ticket/14789] Further harden ACP link and form checks

* marc1706/ticket/14789:
  [ticket/14789] Add form tokens to tests and uncomment add_form_key
  [ticket/14789] Add link hashes and form tokens to all acp links/buttons
2016-09-18 21:12:19 +02:00
Erwan Nader
6b435cbf13 [ticket/14592] Fix variable type
PHPBB3-14592
2016-09-18 19:55:00 +02:00
Marc Alexander
72f6241aa2 [ticket/14789] Add form tokens to tests and uncomment add_form_key
PHPBB3-14789
2016-09-18 15:30:25 +02:00
Marc Alexander
585a3ed863 [ticket/14789] Add link hashes and form tokens to all acp links/buttons
This will further harden the ACP security by adding link hashes to links and
form tokens to forms that did not have these yet and result in modified
settings or write action on the filesystem or database. These few links and
forms were still relying on the global ACP protection, mainly due to them
not posing further risks of compromising data. After this change these will
now also be properly protected against tampering.

PHPBB3-14789
2016-09-18 15:29:50 +02:00
Jakub Senko
abb01946bd [ticket/14762] Add core event to session.php
PHPBB3-14762
2016-09-18 13:32:10 +02:00
Tristan Darricau
47d2f34a1b Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14788] Update CREDITS.txt
2016-09-18 13:28:39 +02:00
Tristan Darricau
27e33f39f7 Merge pull request #4451 from marc1706/ticket/14788
[ticket/14788] Update CREDITS.txt

* marc1706/ticket/14788:
  [ticket/14788] Update CREDITS.txt
2016-09-18 13:28:36 +02:00
Marc Alexander
631b0f2dba Merge branch '3.1.x' into 3.2.x 2016-09-18 13:08:35 +02:00
Marc Alexander
c3578bc3e3 Merge pull request #4442 from rxu/ticket/14781
[ticket/14781] Add core event to the function group_user_attributes()
2016-09-18 13:07:47 +02:00
Marc Alexander
0d3ca3883e [ticket/14788] Update CREDITS.txt
PHPBB3-14788
2016-09-18 12:16:44 +02:00
rxu
a084b07495 [ticket/14787] Add more parameters to the core.search_modify_url_parameters
PHPBB3-14787
2016-09-18 14:02:49 +07:00
Marc Alexander
e76ea47fb8 Merge branch '3.1.x' into 3.2.x 2016-09-17 16:27:25 +02:00
Marc Alexander
bf397cb985 Merge pull request #4398 from wesleyfok/ticket/14638-3.1.x
Ticket/14638 3.1.x New UCP hooks for subscriptions
2016-09-17 13:04:32 +02:00
Marc Alexander
b0ff957684 Merge branch '3.1.x' into 3.2.x 2016-09-17 12:59:56 +02:00
Marc Alexander
73b9327631 Merge pull request #4403 from rxu/ticket/14738
[ticket/14738] Add core events to improve modifying forum lists
2016-09-17 12:58:18 +02:00
Marc Alexander
aa95636a4d Merge branch '3.1.x' into 3.2.x 2016-09-17 08:54:04 +02:00
Marc Alexander
bd59241110 Merge pull request #4406 from rmcgirr83/ticket/14581
[ticket/14581] Add core events to content_visibility
2016-09-17 08:54:00 +02:00
Marc Alexander
2dbc9e1016 Merge branch '3.1.x' into 3.2.x 2016-09-17 00:05:09 +02:00
Marc Alexander
33584f12f0 Merge pull request #4449 from DavidIQ/ticket/14782
[ticket/14782] Don't use 'DISTINCT' when using 'SQL_CALC_FOUND_ROWS'
2016-09-17 00:04:59 +02:00
DavidIQ
2ae08dc3ba [ticket/14782] Don't use 'DISTINCT' when using 'SQL_CALC_FOUND_ROWS' 2016-09-16 17:05:20 -04:00
Crizzo
29b1b95226 [ticket/14780] Only use $max_setting in this function
PHPBB3-14780
2016-09-15 22:44:34 +02:00
Crizzo
53ead1e926 [ticket/14780] Fixes array with exspected results in test-function
PHPBB3-14780
2016-09-15 21:58:21 +02:00
Andreas Fischer
271e8b43f9 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14782] Use the $select variable in "Your Posts" search
2016-09-15 19:30:44 +02:00
Andreas Fischer
32ba128ea5 Merge pull request #4444 from DavidIQ/ticket/14782
[ticket/14782] Use the $select variable in "Your Posts" search

* DavidIQ/ticket/14782:
  [ticket/14782] Use the $select variable in "Your Posts" search
2016-09-15 19:30:29 +02:00
Marc Alexander
142f937354 Merge branch '3.1.x' into 3.2.x 2016-09-14 20:51:13 +02:00
Marc Alexander
70aa4407d3 Merge remote-tracking branch 'VSEphpbb/ticket/14783' into 3.1.x 2016-09-14 20:49:13 +02:00
Matt Friedman
5503c09cd5 [ticket/14783] Add template event before custom BBCodes in ACP
PHPBB3-14783
2016-09-14 10:37:27 -07:00
DavidIQ
6d589a8bb9 [ticket/14782] Use the $select variable in "Your Posts" search 2016-09-13 14:10:50 -04:00
Crizzo
b9761f116d [ticket/14780] Correct if sentence to let group setting overwrite global
PHPBB3-14780
2016-09-12 21:17:58 +02:00
rxu
43c52b073b [ticket/14781] Add core event to the function group_user_attributes()
PHPBB3-14781
2016-09-12 13:44:33 +07:00
Tristan Darricau
1a187e0607 Merge pull request #4440 from danchr/ticket/14774
[ticket/14774] Support partial downloads of attachments

* danchr/ticket/14774:
  [ticket/14774] Support partial downloads of attachments
2016-09-11 13:59:06 +02:00
Marc Alexander
316b69805b Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/styles/subsilver2/template/posting_body.html
2016-09-11 11:08:24 +02:00
Marc Alexander
4b8e8df55c Merge pull request #4371 from imkingdavid/ticket/14695
[ticket/14695] Add posting_editor_subject_prepend/append template events
2016-09-11 11:07:48 +02:00
Marc Alexander
14cc4f3ae2 Merge branch '3.1.x' into 3.2.x 2016-09-09 23:39:23 +02:00
Marc Alexander
dccb5564d2 Merge pull request #4438 from danchr/ticket/12133
[ticket/12133] fix download file names for WebKit-derived browsers
2016-09-09 23:39:20 +02:00
Marc Alexander
0aa289e4d9 Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/styles/subsilver2/template/mcp_topic.html
2016-09-07 21:25:17 +02:00
Marc Alexander
857a085496 Merge pull request #4428 from rmcgirr83/ticket/14755
[ticket/14755] Fix max length in mcp topic html file
2016-09-07 21:24:29 +02:00
Dan Villiom Podlaski Christiansen
d2750b650f [ticket/14774] Support partial downloads of attachments
phpBB already had limited support for partial downloads, but only for
resuming downloads, disregarding any range ending before EOF.

WebKit on iOS and OS X uses partial downloads when fetching media
files. Previously, only MP3 attachments could play directly in the
browser, reported as a live stream, but with this change, all
supported media formats should render as expected.

Tested using cURL by verifying that partial downloads give exactly the
same results compared to Apache.

PHPBB3-14774
2016-09-07 03:58:33 +02:00
Dan Villiom Podlaski Christiansen
ce48b4de57 [ticket/12133] fix download file names for WebKit-derived browsers
All browser engines that descend from WebKit declare themselves as
Safari in the user agent, including Chrome. Currently, the code
assumes that any Safari-like browser cannot handle the RFC-compliant
filename syntax. At least for recent versions of Safari, this is no
longer the case, and the legacy syntax results in URI-quoted
filenames. Using the standard syntax works as expected in both Safari
9 and Chrome 45.

The ticket reporting this issue is from January 2014, so we can safely
ignore compatibility: any browser still relying on the previous
behaviour is unlikely to receive security updates.

PHPBB3-12133
2016-09-07 03:17:44 +02:00
Marc Alexander
051323dbc6 Merge branch '3.1.x' into 3.2.x 2016-09-06 21:50:25 +02:00
Marc Alexander
2efdaaa0e2 Merge pull request #4426 from bantu/ticket/14109
[ticket/14109] Increase MySQL Version for InnoDB FULLTEXT Index to 5.…
2016-09-06 21:50:22 +02:00
Marc Alexander
801519ca4d Merge pull request #4435 from Crizz0/ticket/14764
[ticket/14764] Wrong link to database update script has been fixed
2016-09-06 21:45:49 +02:00
Crizzo
f6b376def8 [ticket/14764] Implements feedback to wording in install db updater
PHPBB3-14764
2016-09-05 20:57:28 +02:00
Marc Alexander
a4f42ced3d Merge pull request #4436 from rxu/ticket/14765
[ticket/14765] Fix the typo in the installer routing config
2016-09-04 17:47:51 +02:00
rxu
a01c773fa2 [ticket/14765] Fix the typo in the installer routing config
PHPBB3-14765
2016-09-03 22:13:34 +07:00
Tristan Darricau
312ca75be5 Merge pull request #4434 from marc1706/ticket/14763
[ticket/14763] Specify correct class for local files class type

* marc1706/ticket/14763:
  [ticket/14763] Specify correct class for local files class type
2016-09-03 14:53:57 +02:00
Jakub Senko
64178b40b8 [ticket/14747] Add post_data to core.modify_posting_auth
PHPBB3-14747
2016-09-03 11:11:55 +02:00
Crizzo
86752fc6df [ticket/14764] Wrong link to database update script has been fixed
PHPBB3-14764
2016-09-02 22:05:37 +02:00
Marc Alexander
62e8ba3d49 [ticket/14763] Specify correct class for local files class type
PHPBB3-14763
2016-09-02 21:08:06 +02:00
Tristan Darricau
08f558d8f7 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14727] Event core.search_modify_submit_parameters
2016-09-01 16:24:07 +02:00
Tristan Darricau
65921a7891 Merge pull request #4396 from ErnadoO/ticket/14727
[ticket/14727] Event core.search_modify_submit_parameters

* ErnadoO/ticket/14727:
  [ticket/14727] Event core.search_modify_submit_parameters
2016-09-01 16:23:50 +02:00
Tristan Darricau
a3dc829dab Merge pull request #4340 from Senky/ticket/10961
[ticket/10961] Send HTTP 403 when applicable

* Senky/ticket/10961:
  [ticket/10961] Send HTTP 403 when applicable
2016-09-01 14:53:54 +02:00
Jakub Senko
4b6c2c8cde [ticket/10961] Send HTTP 403 when applicable
PHPBB3-10961
2016-09-01 08:48:37 +02:00
Marc Alexander
dff950162c Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/phpbb/db/migration/tool/module.php
2016-08-31 21:41:17 +02:00
Marc Alexander
f008708d5c Merge pull request #4377 from rxu/ticket/14703
[ticket/14703] Fix parent module selection for custom extension modules
2016-08-31 21:39:09 +02:00
Tristan Darricau
05e6ed04ed Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14673] Changes wrong language variable in mcp_forum
2016-08-31 19:08:11 +02:00
Tristan Darricau
d737430a03 Merge pull request #4422 from Crizz0/ticket/14673
[ticket/14673] Changes wrong language variable in mcp_forum

* Crizz0/ticket/14673:
  [ticket/14673] Changes wrong language variable in mcp_forum
2016-08-31 19:08:05 +02:00
Tristan Darricau
2c6543cb6e Merge pull request #4427 from hanakin/patch-2
[ticket/14588] fix header search rtl

* hanakin/patch-2:
  [ticket/14588] fix header search rtl
2016-08-31 19:04:13 +02:00
Richard McGirr
b3e8eb9feb [ticket/14755] Fix subsilver2
PHPBB3-14755
2016-08-31 05:37:06 -04:00
RMcGirr83
bd0244180b [ticket/14755] Fix max length in mcp topic html file
Move posts does not accept a topic number greater than 999999
topic_id set in both posts table and topics table accepts 10 digits

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

PHPBB3-14755
2016-08-30 12:56:10 -04:00
Michael Miday
7b880af02e [ticket/14588] fix header search rtl
https://tracker.phpbb.com/browse/PHPBB3-14588#add-comment

PHPBB3-14588
2016-08-29 15:02:26 +02:00
Andreas Fischer
3ee5472a8c [ticket/14109] Increase MySQL Version for InnoDB FULLTEXT Index to 5.6.8.
This is required for proper overall database operation. In previous versions,
InnoDB might error on ALTER statements when multiple FULLTEXT Indexes are
 defined.

PHPBB3-14109
2016-08-28 20:40:10 +01:00
rxu
557f85e7fc [ticket/14703] Improve exception testing
PHPBB3-14703
2016-08-28 21:51:52 +07:00
Marc Alexander
a2838ad0b1 Merge branch '3.1.x' into 3.2.x 2016-08-28 15:54:11 +02:00
Marc Alexander
a019a86bfc Merge pull request #4338 from Senky/ticket/14469
Add viewforum_body_topicrow_before template event
2016-08-28 15:53:30 +02:00
Marc Alexander
7c79e7844c Merge branch '3.1.x' into 3.2.x 2016-08-28 15:44:49 +02:00
Marc Alexander
71a70500ea Merge pull request #4389 from kasimi/ticket/14715-3.1.x
[ticket/14715] Add template events in posting_topic_review & mcp_topic
2016-08-28 15:41:59 +02:00
Marc Alexander
08c6f56f4b Merge branch '3.1.x' into 3.2.x 2016-08-28 00:12:53 +02:00
Marc Alexander
863d65112b Merge pull request #3659 from Elsensee/ticket/12230
[ticket/12230] Disable newly registered group when post limit is set to 0
2016-08-28 00:12:43 +02:00
Crizzo
17421195df Merge branch 'rmcgirr83-ticket/14753' into 3.2.x 2016-08-27 16:18:37 +02:00
Richard McGirr
3b395aa7a4 [ticket/14753] Fix mcp_post
PHPBB3-14753
2016-08-27 06:12:50 -04:00
Richard McGirr
5c8fd9760b [ticket/14753] Fix language suffix
Missing L parameter in language strings

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

PHPBB3-14753
2016-08-27 05:48:15 -04:00
Marc Alexander
4f8fcaa95b [ticket/14748] Add PHP 7.1 to test matrix and keep nightly
PHP nightlies already target PHP 7.2.

PHPBB3-14748
2016-08-24 21:03:55 +02:00
Marc Alexander
0048c2b613 [ticket/14748] Make sure config values are casted to int
PHPBB3-14748
2016-08-23 21:30:10 +02:00
Andreas Fischer
8e787cba7a Merge pull request #4423 from Crizz0/ticket/14749
[ticket/14749] Adds missing } in mcp_forum.html to {TOPIC_DELETED

* Crizz0/ticket/14749:
  [ticket/14749] Adds missing } in mcp_forum.html to TOPIC_DELETED
2016-08-22 22:05:52 +02:00
Crizzo
0d39e659fe [ticket/14749] Adds missing } in mcp_forum.html to TOPIC_DELETED
PHPBB3-14749
2016-08-22 21:30:59 +02:00
Crizzo
429ecb938c [ticket/14673] Changes wrong language variable in mcp_forum
PHPBB3-14673
2016-08-22 21:23:01 +02:00
Marc Alexander
f814840568 Merge pull request #4416 from Elsensee/ticket/14746
[ticket/14746] Make msg_handler in installer independent from container
2016-08-21 19:04:17 +02:00
Marc Alexander
43762950bc Merge pull request #4418 from Elsensee/ticket/14636
[ticket/14636] Restore BC with compatibility functions
2016-08-21 18:57:33 +02:00
Oliver Schramm
cd2649273b [ticket/14636] Inject into set_config methods
PHPBB3-13573
PHPBB3-14636
2016-08-21 13:14:54 +02:00
Marc Alexander
cd0ffc5de6 Merge branch '3.1.x' into 3.2.x
Conflicts:
	.travis.yml
2016-08-21 10:07:19 +02:00
Marc Alexander
a36f96aefa Merge pull request #4415 from Elsensee/ticket/14743
[ticket/14743] Remove PHP7 from travis tests in 3.1.x
2016-08-21 10:06:41 +02:00
Marc Alexander
06bfae8edb Merge branch '3.1.x' into 3.2.x 2016-08-21 09:51:26 +02:00
Marc Alexander
b14043b276 Merge pull request #4411 from Senky/ticket/12925
[ticket/12925] Pluralize permanent delete checkbox label
2016-08-21 09:51:23 +02:00
Marc Alexander
f054ab972d Merge branch '3.1.x' into 3.2.x 2016-08-21 09:44:37 +02:00
Marc Alexander
76748183bb Merge pull request #4420 from Elsensee/ticket/14742-32x
[ticket/14742-32x] Further improvements to migrator
2016-08-21 09:44:37 +02:00
Marc Alexander
6bcc372af5 Merge pull request #4419 from Elsensee/ticket/14742
[ticket/14742] Further improvements to migrator
2016-08-21 09:24:19 +02:00
Oliver Schramm
eccb3d6602 [ticket/13709] Add fallback for email templates used by extensions
Also add a fallback to english for the core
like we do it in $user->add_lang()

PHPBB3-13709
2016-08-21 05:21:25 +02:00
Oliver Schramm
a37f10ae09 [ticket/14742] Increase user feedback by improving progress bar
We now count and display each step that was done
by increasing the task count.

PHPBB3-14742
2016-08-20 22:40:37 +02:00
Oliver Schramm
88384a1e63 Merge branch 'ticket/14742' into ticket/14742-32x
Conflicts:
	phpBB/phpbb/db/migrator.php
2016-08-20 22:38:45 +02:00
Oliver Schramm
773f6d08a5 [ticket/14742] Reset migration_data_state before reverting
PHPBB3-14742
2016-08-20 22:31:08 +02:00
Oliver Schramm
463e8e4b13 [ticket/14742] Change constants to use Symfony values
This is to avoid errors when comparing verbosity levels
in a CLI output handler that is using Symfony's OutputInterface
for example.

PHPBB3-14742
2016-08-20 22:28:29 +02:00
Oliver Schramm
7c99fcf782 [ticket/14742] Pause after each update_data step too
Rewriting process_data_step() to remove the now
useless foreach() loop.

PHPBB3-14742
2016-08-20 22:20:21 +02:00
Oliver Schramm
775d1c855a [ticket/14742] Improve readability of the code
PHPBB3-14742
2016-08-20 22:20:20 +02:00
Oliver Schramm
e050cf5c11 [ticket/14742] Fix comments in migrator
PHPBB3-14742
2016-08-20 03:35:38 +02:00
Oliver Schramm
e4671c1521 [ticket/14636] Restore BC with request_var
PHPBB3-14636
2016-08-20 03:30:17 +02:00
Oliver Schramm
0eb44fc934 [ticket/14746] Make msg_handler in installer independent from container
PHPBB3-14746
2016-08-19 19:23:52 +02:00
Oliver Schramm
bb11294b96 [ticket/14743] Remove PHP7 from travis tests
PHPBB3-14743
2016-08-17 17:57:48 +02:00
Marc Alexander
723d9d8e4c Merge branch '3.1.x' into 3.2.x 2016-08-16 21:02:52 +02:00
Marc Alexander
488fd8f54c Merge pull request #4413 from wesleyfok/ticket/14745
[ticket/14745] Removed unneeded HTML ampersand
2016-08-16 21:02:06 +02:00
Marc Alexander
c044a41d07 Merge pull request #4404 from JoshyPHP/ticket/14740
[ticket/14740] Added support for quoted attributes in BBCode definitions
2016-08-16 20:49:31 +02:00
Wesley Fok
f68e98c064 [ticket/14745] Removed unneeded HTML ampersand
Changed the HTML ampersand entity in U_NOTIFICATION_SETTINGS into a bare
ampersand character.

PHPBB3-14745
2016-08-15 15:20:23 -04:00
Jakub Senko
c016e09ca4 [ticket/12925] Pluralize permanent delete checkbox label
PHPBB3-12925
2016-08-15 18:27:33 +02:00
Marc Alexander
bc823a18be Merge branch '3.1.x' into 3.2.x 2016-08-13 23:13:41 +02:00
Marc Alexander
4466ef1bc4 Merge pull request #4410 from Elsensee/ticket/14742-32x
[ticket/14742-32x] Improvements to migrator
2016-08-13 23:13:07 +02:00
Marc Alexander
48696b5148 Merge pull request #4409 from Elsensee/ticket/14742
[ticket/14742] Improvements to migrator
2016-08-13 22:57:40 +02:00
Oliver Schramm
758fe20f4b [ticket/14742] Further improve progress bar in db updater
PHPBB3-14742
2016-08-12 15:23:27 +02:00
Oliver Schramm
0d1b7b3935 Merge branch 'ticket/14742' into ticket/14742-32x 2016-08-12 02:38:55 +02:00
Oliver Schramm
263fbe54fc [ticket/14742] Enhance measured time for migrations
PHPBB3-14742
2016-08-12 02:03:52 +02:00
Oliver Schramm
4a92a8efb5 [ticket/14742] Improve verbosity of migrator output
PHPBB3-14742
2016-08-12 02:01:01 +02:00
Oliver Schramm
03be89ebd7 [ticket/14742] Fix progress bar in database updater
Because of the new way, schema update steps are handled, the already
misleading progress bar was even more misleading. This should fix it.

PHPBB3-14742
2016-08-11 23:28:54 +02:00
Oliver Schramm
210310b584 Merge branch 'ticket/14742' into ticket/14742-32x 2016-08-11 18:30:35 +02:00
Oliver Schramm
c12d67cd90 [ticket/14742] Add test for (not) reverting if
PHPBB3-14742
2016-08-11 18:11:39 +02:00
Oliver Schramm
52afa74f4e [ticket/14742] Avoid loop while reverting schema
PHPBB3-14742
2016-08-11 18:00:10 +02:00
Oliver Schramm
b00a39b9ad [ticket/14742] Make $last_run_migration protected
PHPBB3-14742
2016-08-11 17:59:51 +02:00
Oliver Schramm
6078bae7f8 [ticket/14742] Fix schema update
First make it work, then avoid a loop

PHPBB3-14742
2016-08-11 13:31:23 +02:00
Jakub Senko
317f3e848f [ticket/14469] Add viewforum_body_topicrow_before template event
PHPBB3-14469
2016-08-11 10:25:51 +02:00
Oliver Schramm
3346609126 [ticket/14742] Display message if reverting schema is in progress
PHPBB3-14742
2016-08-11 01:25:45 +02:00
Oliver Schramm
4938887e5d Merge branch 'ticket/14742' into ticket/14742-32x 2016-08-11 01:20:59 +02:00
Oliver Schramm
2ee8bd0c4a [ticket/14742] Add test for reverse_update_data()
PHPBB3-14742
2016-08-11 01:12:43 +02:00
Oliver Schramm
a277f9cf07 [ticket/14742] Small fixes to migrator
PHPBB3-14742
2016-08-11 01:09:11 +02:00
Oliver Schramm
8e1461ca61 [ticket/14742] Avoid loop while reverting data
This combines reverted updata_data and revert_data into a single array.

PHPBB3-14742
2016-08-11 01:09:11 +02:00
Oliver Schramm
9fb649793d [ticket/14742] Pause after each schema change
It is certainly better than running them all at once

PHPBB3-14742
2016-08-11 01:03:23 +02:00
Richard McGirr
b74e811496 [ticket/14581] Add core events to content_visibility
Events added for both changing the content visibility for both posts and topics,
executing right before and after the SQL UPDATE query for setting the
visibillity.

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

PHPBB3-14581
2016-08-10 06:49:49 -04:00
JoshyPHP
260a0a29ad [ticket/14740] Added support for quoted attributes in BBCode definitions
PHPBB3-14740
2016-08-10 03:19:38 +02:00
David King
7e1e3e1a5e [ticket/14695] Add posting_editor_subject_append/prepend subsilver2 to events.md
As per request in PR.

PHPBB3-14695
2016-08-09 21:18:59 -04:00
David King
0771eaa732 [ticket/14695] Added posting_editor_subject_append/prepend events to subsilver
As per request in PR.

PHPBB3-14695
2016-08-09 21:16:33 -04:00
David King
1455be2260 [ticket/14695] Put posting_editor_subject_append/prepend events on newlines
As per request in the PR.

PHPBB3-14695
2016-08-09 21:14:03 -04:00
rxu
3bf64de247 [ticket/14738] Add core events to improve modifying forum lists
PHPBB3-14738
2016-08-07 16:10:49 +07:00
Máté Bartus
55f98d0941 Merge pull request #4402 from marc1706/ticket/14735
[ticket/14735] Update composer dependencies to latest versions
2016-08-05 21:20:17 +02:00
Marc Alexander
f04685200b [ticket/14735] Add php nightly to travis build config
PHPBB3-14735
2016-08-05 20:35:15 +02:00
Marc Alexander
dd01de03bf [ticket/14735] Update composer dependencies to latest versions
This will update Symfony to 2.8.9, fast-image-size to 1.1.1, and
text-formatter to 0.6.1.

PHPBB3-14735
2016-08-05 20:26:58 +02:00
Marc Alexander
801183a99b Merge pull request #4401 from JoshyPHP/ticket/14734
[ticket/14734] Use SVG emoji
2016-08-05 20:18:50 +02:00
JoshyPHP
9225a0fdff [ticket/14734] Use SVG emoji
PHPBB3-14734
2016-08-05 16:27:13 +02:00
Marc Alexander
c9ada4d201 Merge branch '3.1.x' into 3.2.x
Conflicts:
	build/build.xml
2016-08-04 20:45:42 +02:00
Marc Alexander
2dae36e3fb Merge pull request #4400 from Elsensee/ticket/14731
[ticket/14731] Skip composer when exporting old versions
2016-08-04 20:44:33 +02:00
Oliver Schramm
6fd507f60d [ticket/14731] Skip composer when exporting old versions
PHPBB3-14731
2016-08-04 04:29:01 +02:00
Marc Alexander
6cc4d78ebf Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/styles/subsilver2/template/memberlist_email.html
2016-08-03 22:21:25 +02:00
Marc Alexander
5330ea0f09 Merge pull request #4324 from Senky/ticket/14516
[ticket/14516] Add memberlist_email_before event
2016-08-03 22:20:48 +02:00
Marc Alexander
55123bc94c Merge pull request #4399 from wesleyfok/ticket/14729
[ticket/14729] Make reports take config base class
2016-08-03 21:53:35 +02:00
Wesley Fok
8a9cf32b1d [ticket/14729] Make reports take config base class
Make the report controller and helper classes accept the more generic
phpbb/config/config base class in their constructors, instead of the
specific database implementation phpbb/config/db.

PHPBB3-14729
2016-08-03 13:42:36 -04:00
Wesley Fok
3038bf5eaf [ticket/14638] Rollback changes from 3.2.x version
Mistakenly brought in the modified 3.2.x version verbatim instead of diffing
against the 3.1.x version of ucp_main.php. Removed any changes I didn't
explicitly make.

PHPBB3-14638
2016-08-03 13:27:06 -04:00
Wesley Fok
ba13832085 Merge remote-tracking branch 'upstream/3.1.x' into ticket/14638-3.1.x 2016-08-03 13:20:42 -04:00
Wesley Fok
2081a78095 [ticket/14638] New UCP hooks for subscriptions
Adds various event hooks to the Manage subscriptions page of the User
Control Panel. core.ucp_subscribed_post_data allows us to handle
additional post data from the form that unwatches subscriptions.
core.ucp_main_subscribed_forums_modify_query,
core.ucp_main_topiclist_count_modify_query and
core.ucp_main_topiclist_modify_query all modify the queries used to get
the list of subscribed forums and subscribed/bookmarked topics.
core.ucp_main_subscribed_forum_modify_template_vars and
core.ucp_main_topiclist_topic_modify_template_vars modify the template
variable array associated with each subscribed forum and topic row.

This is a backport to 3.1.x of the code in PR #4318.

PHPBB3-14638
2016-08-03 13:18:43 -04:00
Jakub Senko
37880af03c [ticket/10809] Reflect MSSQL removal in docs files
PHPBB3-10809
2016-08-02 12:07:10 +02:00
Jakub Senko
c64b8102b7 [ticket/10809] Remove MSSQL support
PHPBB3-10809
2016-08-02 12:06:06 +02:00
Marc Alexander
3d4660a703 Merge branch '3.1.x' into 3.2.x 2016-08-01 20:42:13 +02:00
Marc Alexander
f68820762b Merge pull request #4397 from Elsensee/ticket/14721
[ticket/14721] Avoid renaming deleted users
2016-08-01 20:42:09 +02:00
Oliver Schramm
f222f8a84a [ticket/14721] Avoid renaming deleted users
PHPBB3-14721
2016-08-01 00:26:47 +02:00
Marc Alexander
d51c67440e [ticket/14484] Properly enable extensions in UI tests
PHPBB3-14484
2016-07-31 20:08:58 +02:00
Erwan Nader
0cc41be3c0 [ticket/14727] Event core.search_modify_submit_parameters
PHPBB3-14727
2016-07-31 16:46:20 +02:00
Marc Alexander
bd1d734dcc Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/install/install_install.php
	phpBB/language/en/install.php
2016-07-31 15:38:50 +02:00
Marc Alexander
4ac2547d62 Merge pull request #4301 from 3D-I/PHPBB3-14596
[ticket/14596] Deny installation of Ascraeus under PHP 7
2016-07-31 15:18:35 +02:00
Marc Alexander
ef132e1531 [ticket/14484] Move facebook/webdriver back to tests dir composer.json
This will make sure we don't try to install it to incompatible PHP 5.3.3.

PHPBB3-14484
2016-07-31 11:23:59 +02:00
Oliver Schramm
69d2bad929 Merge pull request #4395 from CHItA/ticket/14633
[ticket/14633] Check for XML extension support on install
2016-07-30 23:04:44 +02:00
Máté Bartus
61a147546d [ticket/14633] Check for XML extension support on install
PHPBB3-14633
2016-07-30 13:04:39 +02:00
Andreas Fischer
ed2c8b5bf7 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14652] Fix typos in core.index_modify_birthdays_list vars descriptions
2016-07-29 09:41:51 +02:00
Andreas Fischer
55223e6840 Merge pull request #4336 from Senky/ticket/14652
Fix typos in core.index_modify_birthdays_list vars descriptions

* Senky/ticket/14652:
  [ticket/14652] Fix typos in core.index_modify_birthdays_list vars descriptions
2016-07-29 09:41:50 +02:00
Marc Alexander
29d2c66922 [ticket/14484] Move facebook webdriver to main composer.json
Also updated ui test case file to have same feature set as
the 3.2.x version.

PHPBB3-14484
2016-07-27 19:41:42 +02:00
Marc Alexander
88db46946e Merge branch '3.1.x' into 3.2.x 2016-07-24 19:15:50 +02:00
Marc Alexander
941be83395 Merge pull request #4391 from VSEphpbb/ticket/14720
[ticket/14720] Add "phpbb" as allowed global to jshintrc
2016-07-24 19:15:48 +02:00
rxu
8e8e25cc1f [ticket/14703] Fix the docblock
PHPBB3-14703
2016-07-24 23:35:20 +07:00
Erwan Nader
e7289fa019 [ticket/14592] Fixed docblock from unit tests
PHPBB3-14592
2016-07-24 18:25:20 +02:00
Erwan Nader
5b501e594c [ticket/14592] Fixed syntax errors from unit tests
PHPBB3-14592
2016-07-24 18:10:45 +02:00
Erwan Nader
4eecc95a42 [ticket/14592] [PHP] core.search_backend_search_after
PHPBB3-14592
2016-07-24 17:46:23 +02:00
rxu
5eb493fa86 [ticket/14703] Fix existance checking if multiple parent module_langname found
PHPBB3-14703
2016-07-24 21:22:37 +07:00
Matt Friedman
43e0283fb1 [ticket/14720] Add "phpbb" as allowed global to jshintrc
PHPBB3-14720
2016-07-23 19:14:30 -07:00
rxu
8cf2790d55 [ticket/14703] Add test for the case multiple parent module_langname found
PHPBB3-14703
2016-07-24 02:31:44 +07:00
Máté Bartus
4ad0c3e903 Merge pull request #4390 from marc1706/ticket/14717
[ticket/14717] Quote strings beginning with @ or % in yaml definitions
2016-07-23 16:56:45 +02:00
rxu
eaafb758ce [ticket/14703] Select the parent module id from the several found
PHPBB3-14703
2016-07-23 21:34:05 +07:00
Marc Alexander
89461d982c [ticket/14717] Quote strings beginning with @ or % in yaml definitions
This type of use was deprecated in symfony 2.8 and will be dropped in 3.x.
Also see: https://github.com/symfony/symfony/pull/16285

PHPBB3-14717
2016-07-23 16:23:42 +02:00
kasimi
33cd613406 [ticket/14715] Converted tabs to spaces
PHPBB3-14715
2016-07-22 12:17:15 +02:00
Marc Alexander
4554c030c0 Merge pull request #4388 from JoshyPHP/ticket/14700
[ticket/14700] Prevent an exception on duplicate smilies in text_formatter
2016-07-21 22:05:19 +02:00
kasimi
20e08aa2a0 [ticket/14715] Fixed typos in events.md
PHPBB3-14715
2016-07-21 17:49:35 +02:00
kasimi
da7c41f167 [ticket/14715] Add template events in posting_topic_review & mcp_topic
The events will allow adding content before and after the post details
in topic review and topic moderation.

PHPBB3-14715
2016-07-21 17:48:42 +02:00
JoshyPHP
13a756bfb7 [ticket/14700] Prevent an exception on duplicate smilies in text_formatter
PHPBB3-14700
2016-07-21 03:40:01 +02:00
Marc Alexander
486ffa85a2 Merge pull request #4344 from Senky/ticket2/14586
[ticket/14586] Add OAuth1 support
2016-07-20 20:25:01 +02:00
Máté Bartus
d2ff12256c Merge branch '3.1.x' into 3.2.x 2016-07-19 19:23:35 +02:00
Máté Bartus
ef91c6abed Merge pull request #4387 from marc1706/ticket/14538
[ticket/14538] Update symfony dependencies to latest versions
2016-07-19 19:00:47 +02:00
Marc Alexander
f3fe610a5e [ticket/14538] Update symfony dependencies to latest versions
PHPBB3-14538
2016-07-19 17:58:41 +02:00
Máté Bartus
5cba468c35 Merge pull request #4386 from marc1706/ticket/14714
[ticket/14714] Update dependencies to latest versions
2016-07-19 10:09:26 +02:00
3Di
0026ed02ae [ticket/14596] Deny installation of Ascraeus under PHP 7
PHPBB3-14596
2016-07-18 23:45:58 +02:00
Marc Alexander
7195f51806 [ticket/14714] Update dependencies to latest versions
This does include updating guzzle with the latest security update and also
updating symfony to 2.8.8.

PHPBB3-14714
2016-07-18 22:41:42 +02:00
Marc Alexander
11532bd8c1 Merge pull request #4385 from JoshyPHP/ticket/14663
[ticket/14663] Added regression test for Unicode in custom BBCodes
2016-07-18 20:40:38 +02:00
JoshyPHP
e9e6847803 [ticket/14663] Added regression test for Unicode in custom BBCodes
PHPBB3-14663
2016-07-18 19:06:29 +02:00
Marc Alexander
e7ce7ecbe7 Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/config/feed.yml
	phpBB/feed.php
	phpBB/phpbb/feed/base.php
2016-07-17 22:09:53 +02:00
Marc Alexander
befacabf7e Merge pull request #4365 from rxu/ticket/14688
[ticket/14688] Add core events to the feeds
2016-07-17 21:32:20 +02:00
Jakub Senko
775df0eb8a [ticket/14516] Add memberlist_email_before event
PHPBB3-14516
2016-07-17 20:43:40 +02:00
Marc Alexander
4e480d46f5 Merge pull request #4311 from Crizz0/ticket/14620
[ticket/14620] Change docs/ and files to 3.2.x
2016-07-17 17:52:05 +02:00
rxu
3df9b2c8f8 [ticket/14688] Add core events to the feeds
PHPBB3-14688
2016-07-17 21:14:13 +07:00
Marc Alexander
f2a1fbadbc Merge branch '3.1.x' into 3.2.x 2016-07-17 15:57:28 +02:00
Marc Alexander
e8454e018d Merge pull request #4378 from Crizz0/ticket/14704
[ticket/14704] Removes unused function and language files in base.php
2016-07-17 15:57:21 +02:00
Marc Alexander
d3f017c149 Merge branch '3.1.x' into 3.2.x 2016-07-17 15:54:15 +02:00
Marc Alexander
78a0d10a5a Merge pull request #4384 from rxu/ticket/14713
[ticket/14713] Add core event to the admin function get_forum_list()
2016-07-17 15:54:09 +02:00
Marc Alexander
e4aa8806b9 Merge branch '3.1.x' into 3.2.x 2016-07-17 15:52:41 +02:00
Marc Alexander
960dc08946 Merge pull request #4383 from rxu/ticket/14712
[ticket/14712] Add search core event to allow modifying the forum select list
2016-07-17 15:52:33 +02:00
Marc Alexander
be8bf42fe3 Merge branch '3.1.x' into 3.2.x 2016-07-17 11:06:50 +02:00
Marc Alexander
d0a5f87a44 Merge pull request #4364 from kinerity/ticket/14687
[ticket/14687] Modify viewforum_modify_topicrow event
2016-07-17 11:06:43 +02:00
Marc Alexander
4e7705fcaf Merge branch '3.1.x' into 3.2.x 2016-07-17 10:58:04 +02:00
Marc Alexander
a1ecb6db69 Merge pull request #4361 from kinerity/ticket/14685
[ticket/14685] Add viewforum_get_announcement_topic_ids_data event
2016-07-17 10:57:57 +02:00
Marc Alexander
44303aa425 Merge branch '3.1.x' into 3.2.x 2016-07-17 10:46:51 +02:00
Marc Alexander
63db42522b Merge pull request #4321 from Senky/ticket/14615
[ticket/14615] Fix HTML5 validation errors on avatar deletion
2016-07-17 10:46:44 +02:00
rxu
a840d70bbf [ticket/14713] Add core event to the admin function get_forum_list()
PHPBB3-14713
2016-07-17 12:40:21 +07:00
rxu
51952005eb [ticket/14712] Add search core event to allow modifying the forum select list
PHPBB3-14712
2016-07-17 12:09:15 +07:00
Crizzo
d6303ed592 Merge branch 'marc1706-ticket/14506' into 3.2.x 2016-07-16 23:43:43 +02:00
Marc Alexander
6f1b635992 [ticket/14506] Remove subsilver2 from docs/events.md
PHPBB3-14506
2016-07-16 22:50:37 +02:00
Marc Alexander
019e85d064 Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/styles/subsilver2/template/mcp_move.html
2016-07-16 21:25:17 +02:00
Marc Alexander
b54aa81cdd Merge pull request #4337 from Senky/ticket/14506
Add mcp_move_before template event
2016-07-16 21:24:33 +02:00
Marc Alexander
b14c088ce7 Merge branch '3.1.x' into 3.2.x 2016-07-16 19:49:28 +02:00
Marc Alexander
6f109dd1ef Merge pull request #4374 from TheKigen/ticket/14616
[ticket/14616] Fixed auto-prune failing on large forums
2016-07-16 19:49:25 +02:00
Crizzo
c9cfde7837 [ticket/14620] Adds link to Translations forum
PHPBB3-14620
2016-07-14 20:23:46 +02:00
Marc Alexander
ebdef04f5d Merge pull request #4380 from JoshyPHP/ticket/14706
[ticket/14706] Updated [list] BBCode to automatically create a list item
2016-07-14 20:18:24 +02:00
Marc Alexander
d47a22dda0 Merge pull request #4381 from wesleyfok/ticket/14709
[ticket/14709] add post_id to mod log
2016-07-14 20:14:28 +02:00
Marc Alexander
61bca182f6 Merge branch '3.1.x' into 3.2.x 2016-07-14 20:11:51 +02:00
Marc Alexander
38082c41e3 Merge pull request #4347 from Senky/ticket/14631
[ticket/14631] Load truncate_string() if needed
2016-07-14 20:11:48 +02:00
Wesley Fok
d53f75f668 [ticket/14709] add post_id to mod log
Add the missing post_id value to the moderator log entry created upon
deleting one or more posts in the MCP topic view.

PHPBB3-14709
2016-07-13 12:00:06 -04:00
Andreas Fischer
c1cb59c237 Merge pull request #4349 from marc1706/ticket/14665
[ticket/14665] Remove invalid syntax in report_id_auto_increment migration

* marc1706/ticket/14665:
  [ticket/14665] Remove invalid syntax in report_id_auto_increment migration
2016-07-10 20:06:43 +02:00
rxu
652e3da28d [ticket/14703] Refine the parent module selection for custom extension modules
PHPBB3-14703
2016-07-10 21:47:04 +07:00
Andreas Fischer
7f50c798e6 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14689] Build API docs for 3.2.x
2016-07-08 14:12:43 +02:00
Andreas Fischer
927cc2ebad Merge pull request #4379 from marc1706/ticket/14689
[ticket/14689] Build API docs for 3.2.x

* marc1706/ticket/14689:
  [ticket/14689] Build API docs for 3.2.x
2016-07-08 14:12:34 +02:00
JoshyPHP
24da2db987 [ticket/14706] Updated [list] BBCode to automatically create a list item
Fixes issues with missing list items. Produces valid HTML.

PHPBB3-14706
2016-07-08 07:49:10 +02:00
Marc Alexander
2ec4855cba [ticket/14689] Build API docs for 3.2.x
PHPBB3-14689
2016-07-07 19:25:26 +02:00
Marc Alexander
45ba2e9770 Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/install/install_install.php
	phpBB/language/en/install.php
2016-07-07 19:19:40 +02:00
Marc Alexander
55b854906d Merge pull request #4342 from Senky/ticket/14654
[ticket/14654] Change Imagemagick to ImageMagick
2016-07-07 19:15:33 +02:00
Max Krivanek
1c52968df6 [ticket/14616] Switch prune limit to sql_query_limit instead of sql_and
PHPBB3-14616
2016-07-06 23:00:35 -05:00
Marc Alexander
24b80d6bd7 Merge pull request #4375 from bantu/ticket/14692
[ticket/14692] Remove duplicate subexpression in questionnaire.php
2016-07-06 19:30:22 +02:00
Marc Alexander
bb83af0a0a Merge branch '3.1.x' into 3.2.x 2016-07-06 19:24:02 +02:00
Marc Alexander
cddb884be6 Merge pull request #4354 from Stanzilla/smtp_explain
[ticket/14184] Add a _EXPLAIN translation entry for the SMTP server option
2016-07-06 19:23:54 +02:00
Marc Alexander
51181c6ea1 Merge pull request #4376 from Sumanai/ticket/14671
[ticket/14671] Remove schema.json file
2016-07-06 19:19:17 +02:00
Crizzo
53b9216c78 [ticket/14704] Removes unused function and language files in base.php
PHPBB3-14704
2016-07-03 14:22:08 +02:00
rxu
a3c10f575b [ticket/14703] Fix parent module selection for custom modules removal
PHPBB3-14703
2016-07-03 02:23:34 +07:00
rxu
2f53761eaf [ticket/14703] Fix parent module selection for custom extension modules
PHPBB3-14703
2016-07-03 01:31:42 +07:00
Sumanai
95520d2ff2 [ticket/14671] Remove schema.json file
PHPBB3-14671
2016-07-02 20:15:01 +04:00
kilida
8829772631 [ticket/14692] Remove duplicate subexpression in questionnaire.php
Subexpression `($ip_address_ary[0] == '192' && $ip_address_ary[1] == '168')`
was repeated.

PHPBB3-14692
2016-07-02 10:35:27 +02:00
Max Krivanek
c4b93c9c1c [ticket/14616] Added comma expected by test scripts.
PHPBB3-14616
2016-07-01 04:09:42 -05:00
Max Krivanek
65a4f0d631 [ticket/14616] Added prune_limit to event core.prune_sql
PHPBB3-14616
2016-06-28 20:47:46 -05:00
Marc Alexander
1298591dff Merge pull request #4360 from VSEphpbb/ticket/14684
[ticket/14684] Add and use $NOTESTS for ext-sniff.sh
2016-06-28 21:09:30 +02:00
Marc Alexander
7404155a1e Merge pull request #4372 from lavigor/ticket/14696
[ticket/14696] Fix email template test for '0' username
2016-06-27 22:05:51 +02:00
Tristan Darricau
37cf178c0c [Release 3.2.0-RC1] Update version to 3.2.0-RC2-dev 2016-06-27 21:58:31 +02:00
Tristan Darricau
dbf02b4514 Merge remote-tracking branch 'upstream/prep-release-3.2.0-RC1' into 3.2.x
* upstream/prep-release-3.2.0-RC1:
  [prep-release-3.2.0-RC1] Update changelog
  [prep-release-3.2.0-RC1] Add migration
  [prep-release-3.2.0-RC1] Update schema.json
  [prep-release-3.2.0-RC1] Update version to 3.2.0-RC1
2016-06-27 21:54:41 +02:00
Max Krivanek
9170261885 [ticket/14616] Removed misplaced tab.
PHPBB3-14616
2016-06-27 04:42:01 -05:00
Max Krivanek
f75a01182f [ticket/14616] Fixed auto-prune failing on large forums
PHPBB3-14616
2016-06-27 04:20:12 -05:00
lavigor
27f16a195e [ticket/14696] Be perfect
PHPBB3-14696
2016-06-26 16:05:08 +03:00
lavigor
471a773bcf [ticket/14696] Fix email template test for '0' username
PHPBB3-14696
2016-06-26 14:29:45 +03:00
Marc Alexander
963a03b120 Merge pull request #4367 from rxu/ticket/14690
[ticket/14690] Create email queue cache file in the current env cache folder
2016-06-26 10:27:22 +02:00
David King
7f1c4cd205 [ticket/14695] Updated version number in events.md
PHPBB3-14695
2016-06-25 22:58:57 +01:00
David King
e4336de68d [ticket/14695] Add posting_editor_subject_prepend/append template events
PHPBB3-14695
2016-06-25 21:16:54 +01:00
rxu
1a0e40489f [ticket/14690] Create email queue cache file in the current env cache folder
PHPBB3-14690
2016-06-23 01:20:45 +07:00
Crizzo
63b902c2f9 [ticket/14620] Changes specific update-support to general: <=beta to >=RC1
PHPBB3-14620
2016-06-21 20:18:15 +02:00
Kailey Truscott
4653951673 [ticket/14687] Modify viewforum_modify_topicrow event
Add s_type_switch and s_type_switch_test to event vars.

PHPBB3-14687
2016-06-20 18:21:05 -04:00
Marc Alexander
597e7163c0 Merge pull request #4233 from VSEphpbb/ticket/14547
[ticket/14547] Add Vagrant support to phpBB
2016-06-20 21:22:34 +02:00
Máté Bartus
4efaeabc8c Merge pull request #4362 from rxu/ticket/14660-fix-empty-line
[ticket/14660] Remove redundant empty line in ucp_profile.php
2016-06-20 10:12:11 +02:00
rxu
fa878f2818 [ticket/14660] Remove redundant empty line in ucp_profile.php
PHPBB3-14660
2016-06-20 14:28:22 +07:00
Kailey Truscott
a19bf11f73 [ticket/14685] Add viewforum_get_announcement_topic_ids_data event
Create a new event to alter the SQL array of announcements.

PHPBB3-14685
2016-06-19 21:30:03 -04:00
Matt Friedman
19da62f873 [ticket/14684] Add and use $NOTESTS for ext-sniff.sh
PHPBB3-14684
2016-06-19 17:38:46 -07:00
Marc Alexander
09c602425c Merge pull request #4357 from rxu/ticket/14660
[ticket/14660] Fix parsing board email messages through template engine.
2016-06-19 22:33:29 +02:00
Marc Alexander
219977ccf3 Merge branch '3.1.x' into 3.2.x 2016-06-19 22:07:42 +02:00
Marc Alexander
9595946508 Merge pull request #4358 from rxu/ticket/14683
[ticket/14683] Fix typos in email templates.
2016-06-19 22:07:38 +02:00
rxu
773a701d62 [ticket/14683] Fix typos in email templates.
PHPBB3-14683
2016-06-20 00:15:37 +07:00
Marc Alexander
9639f6ad63 Merge pull request #4326 from Crizz0/ticket/14640
[ticket/14640] Changes docu-link in language/en/install.php from 3.3 to 3.2
2016-06-19 18:56:04 +02:00
Matt Friedman
d5e342db3a [ticket/14547] Fix Docs and increase PHP memory limit
PHPBB3-14547
2016-06-19 09:40:51 -07:00
Marc Alexander
cc628f06b2 Merge pull request #4356 from markshawtoronto/ticket/14680
[ticket/14680] Fix wrong function name being checked in mcp_queue.
2016-06-19 18:38:23 +02:00
Marc Alexander
a460aec68c Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/language/en/install.php
2016-06-19 18:25:16 +02:00
Marc Alexander
c60dbede3e Merge pull request #4281 from rmcgirr83/ticket_13716
[ticket/13716] Check phpBB version against config version
2016-06-19 18:17:33 +02:00
rxu
6a48cad4a2 [ticket/14660] Add test case.
PHPBB3-14660
2016-06-19 23:09:36 +07:00
rxu
abe93918b4 [ticket/14660] Fix typos in email templates.
PHPBB3-14660
2016-06-19 23:08:06 +07:00
Marc Alexander
450e5b36b8 Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/styles/prosilver/template/search_results.html
	phpBB/styles/prosilver/template/viewforum_body.html
	phpBB/styles/subsilver2/template/mcp_forum.html
	phpBB/styles/subsilver2/template/search_results.html
	phpBB/styles/subsilver2/template/viewforum_body.html
2016-06-19 18:07:29 +02:00
Marc Alexander
aaa99b4719 Merge pull request #4351 from rmcgirr83/ticket_14672
[ticket/14672] Add template event after topic title
2016-06-19 18:04:22 +02:00
Tristan Darricau
e8c6a3aa0a [prep-release-3.2.0-RC1] Update changelog 2016-06-19 18:01:48 +02:00
Marc Alexander
70b04016eb Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/includes/ucp/ucp_profile.php
2016-06-19 17:54:55 +02:00
Marc Alexander
804236bce4 Merge pull request #4331 from Senky/ticket/13978
[ticket/13978] Add core.ucp_profile_modify_signature_sql_ary
2016-06-19 17:53:23 +02:00
Tristan Darricau
7cbb049572 [prep-release-3.2.0-RC1] Add migration 2016-06-19 17:51:51 +02:00
Tristan Darricau
6145f46bd1 [prep-release-3.2.0-RC1] Update schema.json 2016-06-19 17:51:51 +02:00
Tristan Darricau
2eb8a97f47 [prep-release-3.2.0-RC1] Update version to 3.2.0-RC1 2016-06-19 17:51:51 +02:00
Marc Alexander
63d3b240a4 Merge branch '3.1.x' into 3.2.x 2016-06-19 17:49:07 +02:00
Marc Alexander
cf8c13b04c Merge pull request #4329 from Senky/ticket/14429
[ticket/14429] Add core.obtain_users_online_string_before_modify
2016-06-19 17:49:01 +02:00
Marc Alexander
1f42da7ba5 Merge branch '3.1.x' into 3.2.x 2016-06-19 17:46:12 +02:00
Marc Alexander
83f737a30a Merge pull request #4328 from Senky/ticket/13865
[ticket/13865] Add id_ary, show_results to core.search_modify_param_before
2016-06-19 17:46:09 +02:00
Marc Alexander
79d6d53296 Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/includes/ucp/ucp_pm_compose.php
2016-06-19 17:20:45 +02:00
Marc Alexander
6764bea40c Merge pull request #4316 from rmcgirr83/ticket_14630
[ticket/14630] Add event to modify pm message
2016-06-19 17:17:26 +02:00
rxu
9551475fce [ticket/14660] Fix parsing board email messages through template engine.
PHPBB3-14660
2016-06-18 00:39:33 +07:00
Mark Shaw
4d50a1daa5 [ticket/14680] Fix wrong function name being checked in mcp_queue.
PHPBB3-14680
2016-06-17 11:50:32 -04:00
Benjamin Staneck
3708770eb9 [ticket/14184] Add a _EXPLAIN translation entry for the SMTP server option
This should help users trying to figure out why their
mail config is not working when they forgot to use a protocol prefix.

PHPBB3-14184
2016-06-17 08:46:02 +02:00
Marc Alexander
6a73188e6a Merge branch '3.1.x' into 3.2.x 2016-06-13 22:08:17 +02:00
Marc Alexander
8d3716ab91 Merge pull request #4352 from marc1706/ticket/14626
[ticket/14626] Event core.make_jumpbox_modify_tpl_ary
2016-06-13 22:08:14 +02:00
Tobi Schäfer
cff2895599 [ticket/14626] Event core.make_jumpbox_modify_tpl_ary
PHPBB3-14626
2016-06-13 21:11:54 +02:00
Tobi Schäfer
516670225d [ticket/14626] Event core.make_jumpbox_modify_tpl_ary
https://tracker.phpbb.com/browse/PHPBB3-14626

PHPBB3-14626
2016-06-13 21:10:13 +02:00
Tobi Schäfer
256730c76a [ticket/14626] Event core.make_jumpbox_modify_tpl_ary
PHPBB3-14626
2016-06-13 21:10:13 +02:00
Richard McGirr
e9cbb45435 [ticket/14672] Change event name add to events.md
PHPBB3-14672
2016-06-13 06:26:55 -04:00
Richard McGirr
2a53831124 [ticket/14672] Add template event after topic title
PHPBB3-14672
2016-06-12 10:37:49 -04:00
Jakub Senko
7dc1af25bc [ticket/14654] Change Imagemagick to ImageMagick
PHPBB3-14654
2016-06-11 21:32:16 +02:00
Andreas Fischer
cddf80c2e6 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14291] Do not update filesize if displaying thumbnail
2016-06-11 13:45:48 +02:00
Andreas Fischer
d316927225 Merge pull request #4345 from marc1706/ticket/14291
[ticket/14291] Do not update filesize if displaying thumbnail

* marc1706/ticket/14291:
  [ticket/14291] Do not update filesize if displaying thumbnail
2016-06-11 13:45:27 +02:00
Crizzo
25ae8876b6 [ticket/14620] Adds section update from 3.0/3.1 to 3.2
PHPBB3-14620
2016-06-08 22:06:01 +02:00
Crizzo
797565dfa7 [ticket/14620] Adds2.0 to 3.2. convert; performend convert; still up2date
PHPBB3-14620
2016-06-08 21:45:52 +02:00
Marc Alexander
ef1e163180 Merge branch '3.1.x' into 3.2.x 2016-06-08 20:47:17 +02:00
Marc Alexander
cf2b96def7 Merge pull request #4346 from lavigor/ticket/14661
[ticket/14661] Fix a typo in twig.php
2016-06-08 20:47:14 +02:00
Marc Alexander
a9beed3ad0 Merge branch '3.1.x' into 3.2.x 2016-06-08 20:32:28 +02:00
Marc Alexander
9d88238f89 Merge pull request #4348 from lavigor/ticket/14664
[ticket/14664] Fix PHPDoc comment in cron manager
2016-06-08 20:32:25 +02:00
Crizzo
800b7be873 [ticket/14620] Updates section 4.i. Full package to 3.2.0
PHPBB3-14620
2016-06-08 20:29:17 +02:00
Marc Alexander
a90d8fa8d4 [ticket/14665] Remove invalid syntax in report_id_auto_increment migration
PHPBB3-14665
2016-06-08 08:38:55 +02:00
lavigor
b2141fd1a8 [ticket/14664] Fix PHPDoc comment in cron manager
PHPBB3-14664
2016-06-07 23:40:31 +03:00
Jakub Senko
4cf666f0bc [ticket/14631] Load truncate_string() if needed
PHPBB3-14631
2016-06-07 19:39:15 +02:00
lavigor
ff8b5058e0 [ticket/14661] Fix a typo in twig.php
PHPBB3-14661
2016-06-05 13:40:40 +03:00
Marc Alexander
82649b37e4 Merge pull request #4302 from cyberalien/ticket/14612
[ticket/14612] Fix incorrect class for fieldset in mcp_approve.html
2016-06-04 16:15:48 +02:00
Richard McGirr
08acf2acba [ticket/14630] Rename core event
PHPBB3-14630
2016-06-02 05:18:14 -04:00
Marc Alexander
4fdbd6217d Merge branch '3.1.x' into 3.2.x 2016-05-31 21:43:19 +02:00
Marc Alexander
b63c61d099 Merge pull request #4343 from Senky/ticket/14643
[ticket/14643] Offer latest backup to restore by default
2016-05-31 21:43:16 +02:00
Marc Alexander
72248cab45 [ticket/14291] Do not update filesize if displaying thumbnail
PHPBB3-14291
2016-05-30 20:05:45 +02:00
Jakub Senko
33d1d19f97 [ticket/14586] Add OAuth1 support
PHPBB3-14586
2016-05-30 13:02:49 +02:00
Jakub Senko
73073ac8c3 [ticket/14643] Offer latest backup to restore by default
PHPBB3-14643
2016-05-29 17:28:33 +02:00
Jakub Senko
9961aefa38 [ticket/14652] Fix typos in core.index_modify_birthdays_list vars descriptions
PHPBB3-14652
2016-05-29 11:42:32 +02:00
Jakub Senko
6350798e97 [ticket/14506] Add mcp_move_before template event
PHPBB3-14506
2016-05-29 11:41:54 +02:00
Marc Alexander
50227dbc75 Merge branch '3.1.x' into 3.2.x 2016-05-28 09:59:50 +02:00
Marc Alexander
0a512b2695 Merge pull request #4173 from lavigor/ticket/14466
[ticket/14466] Add an event to cron.php
2016-05-28 09:59:47 +02:00
Marc Alexander
80db259ab9 Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/phpbb/notification/manager.php
2016-05-27 22:13:35 +02:00
Marc Alexander
e30518461c Merge pull request #4332 from Senky/ticket/11446
[ticket/11446] Use sql_in_set properly in phpbb_notification_manager
2016-05-27 21:16:32 +02:00
Marc Alexander
9bea18b5db Merge pull request #4333 from markshawtoronto/ticket/14648
[ticket/14648] Fix bug where default notifications stop working if another setting is set.
2016-05-27 20:29:26 +02:00
Jakub Senko
10d96d4f33 [ticket/14429] Add core.modify_users_online_string_modify
PHPBB3-14429
2016-05-27 13:46:23 +02:00
Máté Bartus
be5ea21706 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14650] Semi-colon instead of slash to make Matt happy
  [ticket/14650] Move CONTRIBUTING.md and add pull request template
2016-05-27 13:28:47 +02:00
Máté Bartus
191b80a750 Merge pull request #4335 from marc1706/ticket/14650
[ticket/14650] Move CONTRIBUTING.md and add pull request template
2016-05-27 13:27:26 +02:00
Jakub Senko
c103c42857 [ticket/11446] Make get_notification_type_ids work with string too
PHPBB3-11446
2016-05-27 12:59:30 +02:00
Marc Alexander
dcf90a8d8b [ticket/14650] Semi-colon instead of slash to make Matt happy
PHPBB3-14650
2016-05-26 18:46:34 +02:00
Marc Alexander
a8fb33218c [ticket/14650] Move CONTRIBUTING.md and add pull request template
PHPBB3-14650
2016-05-26 18:34:55 +02:00
Marc Alexander
e578450077 Merge pull request #4334 from rmcgirr83/ticket_14649
[ticket/14649] Add preview variable back to ucp_profile for event
2016-05-26 15:47:20 +02:00
Richard McGirr
7a8455baa7 [ticket/14649] Add preview variable back to ucp_profile for event
PHPBB3-14649
2016-05-26 06:26:14 -04:00
Mark Shaw
548357e14c [ticket/14648] Remove whitespace at the end of a line
PHPBB3-14648
2016-05-25 18:28:07 -04:00
Mark Shaw
2576993564 [ticket/14648] Fix bug where default notifications stop working if another setting is set.
When a new user signs up, they have an email preference set but no board notification preference set. The default board preference should work. Also when a user checks the email box for any notification preference, the default board preference should still work.

PHPBB3-14648
2016-05-25 14:30:04 -04:00
Crizzo
85fdff8230 [ticket/14620] Section "Patch file"/"Auto update" was updated in INSTALL.html
PHPBB3-14620
2016-05-24 22:44:07 +02:00
Marc Alexander
3e88ea9c06 Merge pull request #4325 from DavidIQ/ticket/14591
[ticket/14591] Use the correct delimiter for MSSQL
2016-05-24 21:47:31 +02:00
Jakub Senko
e6e4c0e62d [ticket/13978] Add core.ucp_profile_modify_signature_sql_ary
PHPBB3-13978
2016-05-24 18:07:11 +02:00
Jakub Senko
7e6371ea8e [ticket/11446] Use sql_in_set properly in phpbb_notification_manager
PHPBB3-11446
2016-05-23 18:13:17 +02:00
Máté Bartus
283a039647 Merge pull request #4327 from paul999/ticket/14645
[ticket/14645] Language pack not reconised when using a symlink
2016-05-22 21:43:34 +02:00
Jakub Senko
c3fd07a5f0 [ticket/13865] Add id_ary, show_results to core.search_modify_param_before
PHPBB3-13865
2016-05-22 14:26:01 +02:00
Paul Sohier
1a68504174 [ticket/14645] Language pack not reconised when using a symlink
Symfony finder does not follow symlinks by default.
With this change it does, so a user is able to have the language pack outside
the phpBB directory, and linked with a symlink into phpBB/language/

PHPBB3-14645
2016-05-21 19:50:12 +02:00
Crizzo
3f1580263c [ticket/14640] Changes link from 3.3 to 3.2 to link to the correct docu
PHPBB3-14640
2016-05-18 22:18:15 +02:00
David Colón
3bafbc81ef [ticket/14591] Use the correct delimiter for MSSQL
PHPBB3-14591
2016-05-18 14:53:52 -04:00
Oliver Schramm
559325fbd6 [ticket/12230] Remove users from new users group when post limit is 0
PHPBB3-12230
2016-05-17 16:56:42 +02:00
Richard McGirr
0d7625c534 [ticket/13716] Remove extra br tag and correct missing closing a html tag
PHPBB3-13716
2016-05-16 18:01:55 -04:00
Richard McGirr
06507f9fa6 [ticket/14630] Change event name and fix capitalization
PHPBB3-14630
2016-05-16 17:57:26 -04:00
Jakub Senko
9ca3cd519a [ticket/14615] Fix HTML5 validation errors on avatar deletion
PHPBB3-14615
2016-05-16 22:21:31 +02:00
Marc Alexander
90cefcf0f4 Merge pull request #4315 from Nicofuma/ticket/14628
[ticket/14628] Supports translatable error messages in the CLI installer
2016-05-16 14:05:24 +02:00
Máté Bartus
7a28b7514a Merge pull request #4320 from marc1706/ticket/14624
[ticket/14624] Remove no longer existing event argumemt
2016-05-16 12:06:38 +02:00
Marc Alexander
2a95f545c3 [ticket/14624] Remove no longer existing event argumemt
PHPBB3-14624
2016-05-16 10:16:06 +02:00
Marc Alexander
94d2be725a Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/includes/ucp/ucp_profile.php
2016-05-15 23:57:16 +02:00
Marc Alexander
e7262e2d39 Merge pull request #4314 from rmcgirr83/ticket_14624
[ticket/14624] Add event to ucp_profile in signature section
2016-05-15 23:52:37 +02:00
Tristan Darricau
40a00bd4e5 Merge pull request #4319 from derekheld/ticket/14595
[ticket/14595] Installer will now ask for a SMTP port as part of email setup.

* derekheld/ticket/14595:
  [ticket/14595] Added smtp_port where places where smtp_host exists. PHPBB3-14595
  [ticket/14595] Added SMTP port to getConfigTreeBuilder PHPBB3-14595
2016-05-15 10:17:01 +02:00
Derek Held
9c34594bc3 [ticket/14595] Added smtp_port where places where smtp_host exists.
PHPBB3-14595
2016-05-14 09:19:26 -07:00
Derek Held
bf37cdf878 [ticket/14595] Added SMTP port to getConfigTreeBuilder
PHPBB3-14595
2016-05-14 07:57:55 -07:00
Crizzo
96973a7cec [ticket/14620] Changes 3.1 to 3.2 links in FAQ.html
PHPBB3-14620
2016-05-14 15:26:05 +02:00
Crizzo
42053efb51 [ticket/14620] Readme.html installing phpBB, 2.i, 3.i, 5. and issues
PHPBB3-14620
2016-05-14 15:13:14 +02:00
Marc Alexander
961ffee684 Merge branch '3.1.x' into 3.2.x 2016-05-12 19:16:03 +02:00
Marc Alexander
734972cc3d Merge pull request #4317 from rmcgirr83/ticket_14610
[ticket/14610] Don't log an error if the Q&A captcha has been solved
2016-05-12 19:15:58 +02:00
Richard McGirr
03348087d8 [ticket/14610] Implement lavigor method
PHPBB3-14610
2016-05-09 17:28:55 -04:00
Richard McGirr
f57f09f814 [ticket/14610] Remove whitespace
PHPBB3-14610
2016-05-08 09:24:11 -04:00
Richard McGirr
3572f4c92e [ticket/14610] Don't log an error if the Q&A captcha has been solved
https://tracker.phpbb.com/browse/PHPBB3-14610

PHPBB3-14610
2016-05-08 08:50:06 -04:00
Richard McGirr
c7bbcd7b84 [ticket/14630] Add event to modify pm message
https://tracker.phpbb.com/browse/PHPBB3-14630

PHPBB3-14630
2016-05-06 06:31:35 -04:00
Tristan Darricau
1629e6aaf3 [ticket/14628] Supports translatable error messages in the CLI installer
PHPBB3-14628
2016-05-05 17:05:17 +02:00
Richard McGirr
c0f3463819 [ticket/14624] Remove whitespace
PHPBB3-14624
2016-05-05 06:42:28 -04:00
Richard McGirr
c3b30144e3 [ticket/14624] Fix typo and phpBB version
PHPBB3-14624
2016-05-05 06:10:56 -04:00
Richard McGirr
aa3c5286cd [ticket/14624] Move event so it actually works
PHPBB3-14624
2016-05-05 06:09:11 -04:00
Richard McGirr
8e1102b1da [ticket/14624] Add event to ucp_profile in signature section
PHPBB3-14624
2016-05-05 05:26:19 -04:00
Crizzo
2ca49e02b4 [ticket/14620] Start to change install.html to 3.2.0 usage.
PHPBB3-14620
2016-05-02 22:41:44 +02:00
Tristan Darricau
ef226138c8 Merge pull request #4310 from Crizz0/ticket/14619
[ticket/14619] Updates "docs" from 3.1.x/ascraeus to 3.2.x/rhea

* Crizz0/ticket/14619:
  [ticket/14619] Updates 3.1.x/ascraeus to 3.2.x/rhea
2016-05-02 21:18:47 +02:00
Tristan Darricau
43c16ca4c3 Merge pull request #4308 from marc1706/ticket/14607
[ticket/14607] Add missing auto_increment to report_id

* marc1706/ticket/14607:
  [ticket/14607] Add missing auto_increment to report_id
2016-05-02 21:14:18 +02:00
Crizzo
e9b7cb1324 [ticket/14619] Updates 3.1.x/ascraeus to 3.2.x/rhea
PHPBB3-14619
2016-05-01 22:31:39 +02:00
Marc Alexander
6eda942a7f [ticket/14607] Add missing auto_increment to report_id
PHPBB3-14607
2016-05-01 17:29:10 +02:00
Tristan Darricau
c941041963 Merge pull request #4303 from paul999/ticket/13969
[ticket/13969] Remove obsolute language files

* paul999/ticket/13969:
  [ticket/13969] Remove obsolute language files
2016-04-29 20:15:40 +02:00
Tristan Darricau
829a8ac15a Merge branch 'prep-release-3.2.0-b2' into 3.2.x
* prep-release-3.2.0-b2:
  [prep-release-3.2.0-b2] Add schema.json
  [prep-release-3.2.0-b2] Add changelog for 3.2.0-b2
  [prep-release-3.2.0-b2] Add migration for 3.2.0-b2
  [prep-release-3.2.0-b2] Update version to 3.2.0-b2
2016-04-28 21:58:16 +02:00
Paul Sohier
39c4590f01 [ticket/13969] Remove obsolute language files
These help_*.php files have been moved to help/

PHPBB3-13969
2016-04-28 21:33:36 +02:00
Matt Friedman
40aac1cd57 [ticket/14547] Ignore backup config.php files
PHPBB3-14547
2016-04-28 08:36:49 -07:00
Matt Friedman
3cd0c53118 [ticket/14547] Use package compatible with phpBB requirements
PHPBB3-14547
2016-04-28 08:36:49 -07:00
Matt Friedman
6196e4ae4d [ticket/14547] Add Vagrant to phpBB
PHPBB3-14547
2016-04-28 08:36:49 -07:00
Marc Alexander
ead261e6db Merge pull request #4286 from VSEphpbb/ticket/14569
[ticket/14569] Extract CLI progress bar creation to a method
2016-04-23 23:04:05 +02:00
cyberalien
877188c114 [ticket/14612] Fix incorrect class for fieldset in mcp_approve.html
PHPBB3-14612
2016-04-23 22:46:52 +03:00
3Di
269e253524 [ticket/14596] Deny installation of Ascraeus under PHP 7
PHPBB3-14596
2016-04-23 07:11:34 +02:00
Tristan Darricau
23bdb2eede [ticket/security-196] Escapes the exception messages before displaying them
SECURITY-196
2016-04-19 12:03:32 +02:00
Joas Schilling
29bb1ab72d Merge branch '3.1.x' into 3.2.x 2016-04-16 12:50:31 +02:00
Joas Schilling
4cdec74e94 Merge branch 'prep-release-3.1.9' into 3.1.x 2016-04-16 12:48:56 +02:00
Joas Schilling
1b01667c7b [prep-release-3.1.9] Add migration for 3.1.9 2016-04-16 12:16:23 +02:00
Joas Schilling
fdcedb262f [prep-release-3.1.9] Update version for 3.1.9 final 2016-04-16 12:13:36 +02:00
Tristan Darricau
1b0b78dabc Merge pull request #4289 from CHItA/ticket/14589
[ticket/14589] Fix @var usage

* CHItA/ticket/14589:
  [ticket/14589] Fix @var usage
2016-04-13 19:13:25 +02:00
Máté Bartus
4614cc972f [ticket/14589] Fix @var usage
PHPBB3-14589
2016-04-13 19:02:43 +02:00
Máté Bartus
68645d38ef Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14598] Support vars docblock in sniffer
2016-04-13 10:20:07 +02:00
Máté Bartus
ed378a2ec3 Merge pull request #4287 from Nicofuma/ticket/14598
[ticket/14598] Support vars docblock in sniffer
2016-04-13 10:18:34 +02:00
Máté Bartus
4c257d47a6 Merge pull request #4236 from Nicofuma/ticket/13616
[ticket/13616] Uses symfony/proxy-manager-bridge to lazy load twig lexer
2016-04-13 10:11:24 +02:00
Tristan Darricau
96bdcedacd [ticket/14598] Support vars docblock in sniffer
PHPBB3-14598
2016-04-12 22:26:57 +02:00
Matt Friedman
d713ce94ff [ticket/14569] Extract CLI progress bar creation to a method
PHPBB3-14569
2016-04-12 10:56:23 -07:00
Tristan Darricau
560bee1be4 Merge pull request #4284 from CHItA/ticket/14589
[ticket/14589] Add error messages for failable installer requirements

* CHItA/ticket/14589:
  [ticket/14589] Fix grammatical errors in language strings
  [ticket/14589] Add error messages for failable installer requirements
2016-04-12 11:27:03 +02:00
Richard McGirr
c938077172 [ticket/13716] Fix verboseness
PHPBB3-13716
2016-04-12 05:17:02 -04:00
Marc Alexander
336f5b49a7 Merge pull request #4285 from CHItA/ticket/14590
[ticket/14590] Prevent refresh requests after the last tasks in modules
2016-04-11 21:27:12 +02:00
Máté Bartus
972255247b [ticket/14589] Fix grammatical errors in language strings
PHPBB3-14589
2016-04-11 19:42:40 +02:00
Máté Bartus
f41c7bd2b1 [ticket/14590] Prevent refresh requests after the last tasks in modules
PHPBB3-14590
2016-04-11 18:18:09 +02:00
Máté Bartus
9163cc2864 [ticket/14589] Add error messages for failable installer requirements
PHPBB3-14589
2016-04-10 10:30:15 +02:00
Joas Schilling
d89b75bd36 Merge branch '3.1.x' into 3.2.x 2016-04-09 19:53:39 +02:00
Joas Schilling
58dfff38fa [3.1.x] Increase version for 3.1.10 development 2016-04-09 19:50:00 +02:00
Joas Schilling
c4ef83e4d2 Merge branch 'prep-release-3.1.9' into 3.1.x 2016-04-09 19:48:35 +02:00
Joas Schilling
e7043dc044 [prep-release-3.1.9] Add changelog for 3.1.9-RC1 2016-04-09 08:19:34 +02:00
Joas Schilling
5ee6c216e5 [prep-release-3.1.9] Add migration for 3.1.9-RC1 2016-04-09 08:13:31 +02:00
Joas Schilling
15e22af266 [prep-release-3.1.9] Update version to 3.1.9-RC1 2016-04-09 08:09:08 +02:00
Joas Schilling
45a3e4d04f Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14587] Remove sectionGroup from web.config
2016-04-08 16:35:00 +02:00
Joas Schilling
2ae17d6caf Merge pull request #4283 from DavidIQ/ticket/14587
[ticket/14587] Remove sectionGroup from web.config

* DavidIQ/ticket/14587:
  [ticket/14587] Remove sectionGroup from web.config
2016-04-08 16:34:43 +02:00
David Colón
ebbedf29e0 [ticket/14587] Remove sectionGroup from web.config
Causes errors on some IIS installations.

PHPBB3-14587
2016-04-07 17:20:34 -04:00
Marc Alexander
4e8981ee37 Merge branch '3.1.x' into 3.2.x 2016-04-07 21:59:36 +02:00
Marc Alexander
901f36e982 Merge pull request #4258 from Nicofuma/ticket/13683-3.2.x
[ticket/13683] Respects force_server_vars settings when generating URLs
2016-04-07 21:59:36 +02:00
Marc Alexander
9ad5c577f5 Merge pull request #4256 from Nicofuma/ticket/13683
[ticket/13683] Respects force_server_vars settings when generating URLs
2016-04-07 21:59:26 +02:00
Marc Alexander
c53eae7abc Merge pull request #4280 from Nicofuma/ticket/14198
[ticket/14198] Use the build option to calculate the container cache filename
2016-04-06 21:00:36 +02:00
Marc Alexander
cdc7f1722d Merge branch '3.1.x' into 3.2.x
Conflicts:
	phpBB/install/database_update.php
2016-04-06 20:54:35 +02:00
Marc Alexander
12f5c0405e Merge pull request #4279 from RMcGirr83/ticket_14408
[ticket/14408] Remove span tags from file
2016-04-06 20:54:07 +02:00
Richard McGirr
e80f79fc9a [ticket/13716] Fix grammar and href title tags
PHPBB3-13716
2016-04-06 06:18:26 -04:00
RMcGirr83
920219dc56 [ticket/13716] Remove extraneous blank line
PHPBB3-13716
2016-04-05 14:55:42 -04:00
Richard McGirr
04f320cb01 [ticket/13716] Check phpBB version against config version
Display a warning in the ACP if the version constant (files)
does not match the phpbb_config version
(often indicating that the database updates hasn't been run)

PHPBB3-13716
2016-04-05 07:09:12 -04:00
Tristan Darricau
7bf8006b67 [ticket/14198] Use the build option to calculate the container cache filename
PHPBB3-14198
2016-04-04 21:32:46 +02:00
Richard McGirr
68eba86309 [ticket/14408] Remove span tags from file
PHPBB3-14408
2016-04-04 07:18:21 -04:00
Tristan Darricau
a319d58d03 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14559] Remove attachment BBCode tags from the quoted message
2016-04-03 16:34:43 +02:00
Tristan Darricau
d0f5b39f11 Merge pull request #4253 from rxu/ticket/14559
[ticket/14559] Remove attachment BBCode tags from the quoted message

* rxu/ticket/14559:
  [ticket/14559] Remove attachment BBCode tags from the quoted message
2016-04-03 16:34:43 +02:00
Tristan Darricau
f929db6190 Merge pull request #4248 from VSEphpbb/ticket/14561
[ticket/14561] Add more user commands

* VSEphpbb/ticket/14561:
  [ticket/14561] Remove requires for functions in tests
  [ticket/14561] Small change to progress bar output
  [ticket/14561] Fix function docblock in activate command
  [ticket/14561] Add a progress bar to reclean command
  [ticket/14561] Use the user loader where appropriate
  [ticket/14561] Add extra help explaining reclean command
  [ticket/14561] Import classes with use statements
  [ticket/14561] Remove unused use statements
  [ticket/14561] Refactor tests
  [ticket/14561] Reclean usernames command
  [ticket/14561] User activate command
  [ticket/14561] User delete command
2016-04-03 16:32:25 +02:00
Tristan Darricau
02469d4691 Merge branch 'ticket/13683' into ticket/13683-3.2.x
* ticket/13683:
  [ticket/13683] Fix CS
2016-04-03 16:27:08 +02:00
Tristan Darricau
d747ac146e [ticket/13683] Fix CS
PHPBB3-13683
2016-04-03 16:25:54 +02:00
Tristan Darricau
5754cbfec4 [ticket/13616] Fix CS + constant in the core extension
PHPBB3-13616
2016-04-03 16:23:16 +02:00
Tristan Darricau
6d2acb5ba3 [ticket/13616] Fix UI tests
PHPBB3-13616
2016-04-03 16:23:16 +02:00
Tristan Darricau
bffd963c50 [ticket/13616] Cleanup globals after installing the board in func tests
PHPBB3-13616
2016-04-03 16:23:16 +02:00
Tristan Darricau
663e3bc642 [ticket/13616] Updates direct call to twig environment constructor
PHPBB3-13616
2016-04-03 16:23:16 +02:00
Tristan Darricau
4070d1e06f [ticket/13616] Uses a php 5.4 compatible version
PHPBB3-13616
2016-04-03 16:23:16 +02:00
Tristan Darricau
5cdbef860d [ticket/13616] Uses symfony/proxy-manager-bridge to lazy load twig lexer
PHPBB3-13616
2016-04-03 16:22:07 +02:00
Tristan Darricau
e8762ce3cb Merge pull request #4266 from marc1706/ticket/13502
[ticket/13502] Handle callable functions/objects in controller resolver

* marc1706/ticket/13502:
  [ticket/13502] Also cover passing object to resolver in tests
  [ticket/13502] Test getArguments() method of controller resolver
  [ticket/13502] Fix coding style
  [ticket/13502] Controller resolver should handle callable functions and objects
2016-04-03 16:04:59 +02:00
Tristan Darricau
8769e765a2 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14532] Do not escape column default in mssql
2016-04-03 16:02:50 +02:00
Tristan Darricau
a2f517fb38 Merge pull request #4268 from marc1706/ticket/14532
[ticket/14532] Do not escape column default in mssql

* marc1706/ticket/14532:
  [ticket/14532] Do not escape column default in mssql
2016-04-03 16:00:01 +02:00
Tristan Darricau
5ba5128ae6 Merge pull request #4277 from JoshyPHP/ticket/14260
[ticket/14260] Added regression test

* JoshyPHP/ticket/14260:
  [ticket/14260] Added regression test
2016-04-03 15:49:18 +02:00
JoshyPHP
753d6dfcae [ticket/14260] Added regression test
PHPBB3-14260
2016-04-03 10:45:01 +02:00
Marc Alexander
3281826a51 Merge branch 'ticket/14426' into 3.2.x 2016-04-03 10:27:46 +02:00
JoshyPHP
2505aaa9d6 [ticket/14426] Fixed undefined offset error
PHPBB3-14426
2016-04-03 10:27:23 +02:00
Tristan Darricau
9dad16c5a6 Merge pull request #4271 from kasimi/ticket/14562-3.2.x
[ticket/14562] Language fallback for extension permissions (3.2.x)

* kasimi/ticket/14562-3.2.x:
  [ticket/14562] Language fallback for extension permissions (3.2.x)
2016-04-02 13:11:43 +02:00
Tristan Darricau
a895640245 Revert "[ticket/14562] Language fallback for extension permissions"
This reverts commit 621b958b1c.
2016-04-02 13:10:55 +02:00
Tristan Darricau
bd91925fe7 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14562] Language fallback for extension permissions
2016-04-02 13:10:34 +02:00
Tristan Darricau
ccdf8e7ee1 Merge pull request #4270 from kasimi/ticket/14562
[ticket/14562] Language fallback for extension permissions

* kasimi/ticket/14562:
  [ticket/14562] Language fallback for extension permissions
2016-04-02 13:02:14 +02:00
Tristan Darricau
28ba2d4494 Merge pull request #4274 from marc1706/ticket/14495
[ticket/14495] Specify correct version numbers in 3.2.x

* marc1706/ticket/14495:
  [ticket/14495] Specify correct version numbers in 3.2.x
2016-04-02 12:09:31 +02:00
Tristan Darricau
79a8d48c3c Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2016-04-02 12:07:04 +02:00
Tristan Darricau
d603d66eaa Merge pull request #4273 from marc1706/ticket/14577-3.2.x
[ticket/14577] Do not calculate size of array in for loop

* marc1706/ticket/14577-3.2.x:
  [ticket/14577] Do not calculate size of array in for loop
2016-04-02 12:07:03 +02:00
Tristan Darricau
0a9c049f76 Merge pull request #4272 from marc1706/ticket/14577
[ticket/14577] Do not calculate size of array in for loop

* marc1706/ticket/14577:
  [ticket/14577] Do not calculate size of array in for loop
2016-04-02 12:06:30 +02:00
Marc Alexander
83b56f7855 [ticket/14495] Specify correct version numbers in 3.2.x
DO NOT apply these changes into master when merging it. This means that
you'll have to checkout the latest files from upstream after merging this
into master (possibly while resolving likely merge conflicts).

PHPBB3-14495
2016-04-02 10:06:59 +02:00
Marc Alexander
2653b98e09 Merge branch 'ticket/14577' into ticket/14577-3.2.x
Conflicts:
	phpBB/includes/acp/acp_modules.php
2016-04-02 09:51:37 +02:00
Marc Alexander
5b61ac06cb [ticket/14577] Do not calculate size of array in for loop
For loops that modify the size of the looped arrays were obviously not
changed.

PHPBB3-14577
2016-04-02 09:46:54 +02:00
kasimi
1819b64046 [ticket/14562] Language fallback for extension permissions (3.2.x)
PHPBB3-14562
2016-04-01 21:58:05 +02:00
Marc Alexander
01d5667388 [ticket/13502] Also cover passing object to resolver in tests
PHPBB3-13502
2016-04-01 21:35:11 +02:00
Marc Alexander
91045879df [ticket/13502] Test getArguments() method of controller resolver
PHPBB3-13502
2016-04-01 21:35:11 +02:00
Marc Alexander
3f4cf72872 [ticket/13502] Fix coding style
PHPBB3-13502
2016-04-01 21:33:14 +02:00
RFD
ada90d3b0a [ticket/13502] Controller resolver should handle callable functions and objects
PHPBB3-13502
2016-04-01 21:33:14 +02:00
kasimi
621b958b1c [ticket/14562] Language fallback for extension permissions
PHPBB3-14562
2016-04-01 18:06:19 +02:00
Matt Friedman
1641fd18c1 [ticket/14561] Remove requires for functions in tests
PHPBB3-14561
2016-03-31 15:14:41 -07:00
Matt Friedman
2b90591a31 [ticket/14561] Small change to progress bar output
PHPBB3-14561
2016-03-31 15:07:59 -07:00
Matt Friedman
e81bf76dea [ticket/14561] Fix function docblock in activate command
PHPBB3-14561
2016-03-31 15:07:59 -07:00
Matt Friedman
afb69d7cd2 [ticket/14561] Add a progress bar to reclean command
PHPBB3-14561
2016-03-31 15:07:59 -07:00
Matt Friedman
4b789c0418 [ticket/14561] Use the user loader where appropriate
PHPBB3-14561
2016-03-31 15:07:59 -07:00
Matt Friedman
ed0f151d86 [ticket/14561] Add extra help explaining reclean command
PHPBB3-14561
2016-03-31 15:07:59 -07:00
Matt Friedman
aee3eec439 [ticket/14561] Import classes with use statements
PHPBB3-14561
2016-03-31 15:07:59 -07:00
Matt Friedman
13f365916c [ticket/14561] Remove unused use statements
PHPBB3-14561
2016-03-31 15:07:59 -07:00
Matt Friedman
6291bfaca9 [ticket/14561] Refactor tests
PHPBB3-14561
2016-03-31 15:07:59 -07:00
Matt Friedman
16f9b4630c [ticket/14561] Reclean usernames command
PHPBB3-14561
2016-03-31 15:07:43 -07:00
Matt Friedman
91f1116e04 [ticket/14561] User activate command
PHPBB3-14561
2016-03-31 15:07:43 -07:00
Matt Friedman
8a9429efa4 [ticket/14561] User delete command
PHPBB3-14561
2016-03-31 15:07:43 -07:00
Tristan Darricau
f9b6086302 Merge pull request #4255 from CHItA/ticket/14393
[ticket/14393] Fix updater behaviour

* CHItA/ticket/14393:
  [ticket/14393] Fix db update progress bar
  [ticket/14393] Fix init for conflict archive
  [ticket/14393] Fix updater behaviour
2016-03-31 22:49:54 +02:00
Tristan Darricau
65113f222e Merge pull request #4269 from VSEphpbb/ticket/14576
[ticket/14576] Move common required files to bootstrap in tests

* VSEphpbb/ticket/14576:
  [ticket/14576] Move common required files to bootstrap
2016-03-31 22:39:27 +02:00
Matt Friedman
14e8113fcf [ticket/14576] Move common required files to bootstrap
PHPBB3-14576
2016-03-31 11:06:47 -07:00
Marc Alexander
48283d7c62 [ticket/14532] Do not escape column default in mssql
The column default shouldn't be escaped for mssql. This is a regression
from 743d816631. Prior to that commit, the
default value for the column was not escaped. Escaping it will cause SQL
errors while altering columns.

PHPBB3-14532
2016-03-31 16:07:05 +02:00
Marc Alexander
c9ffef2c57 Merge branch '3.1.x' into 3.2.x 2016-03-31 12:30:14 +02:00
Marc Alexander
3f5a873e4c Merge pull request #4264 from VSEphpbb/ticket/14570
[ticket/14570] Add effectively installed to 3.1.x versions
2016-03-31 12:30:07 +02:00
Tristan Darricau
ff9632261e [ticket/13683] Removes extra / in script_path
PHPBB3-13683
2016-03-30 22:28:20 +02:00
Tristan Darricau
842d6f7815 Merge branch 'ticket/13683' into ticket/13683-3.2.x
* ticket/13683:
  [ticket/13683] Removes extra / in script_path
2016-03-30 22:25:48 +02:00
Tristan Darricau
bfc09e2b39 [ticket/13683] Removes extra / in script_path
PHPBB3-13683
2016-03-30 22:22:38 +02:00
Marc Alexander
dfc2168d31 Merge pull request #4267 from GregRyckman/ticket/14572
[ticket/14572] Fix quote notification deletion
2016-03-30 21:03:06 +02:00
Marc Alexander
2387fdd599 Merge branch '3.1.x' into 3.2.x
Conflicts:
	composer.phar
2016-03-30 19:00:35 +02:00
Marc Alexander
7a1cf2a280 Merge pull request #4259 from Nicofuma/ticket/14565
[ticket/14565] Updates composer.phar to 1.0.0-beta2
2016-03-30 18:54:07 +02:00
Greg Ryckman
a643d04b05 [ticket/14572] Fix quote notification deletion
Some array_key calls were incorrect in the
notification checks for quotes. Two calls were
being made in a row, resulting in incorrect arrays.

PHPBB3-14572
2016-03-30 12:53:44 -04:00
Máté Bartus
9fc01a42e6 [ticket/14393] Fix db update progress bar
PHPBB3-14393
2016-03-30 11:05:45 +02:00
Marc Alexander
27df46040f Merge branch '3.1.x' into 3.2.x 2016-03-30 10:04:33 +02:00
Marc Alexander
b22fbc91d1 Merge pull request #4262 from Senky/ticket/10356
[ticket/10356] Find inactive users in livesearch when having permissions
2016-03-30 09:29:59 +02:00
Tristan Darricau
a5f1ff8563 [ticket/13683] Fix merge into 3.2.x
PHPBB3-13683
2016-03-29 21:15:50 +02:00
Tristan Darricau
00dcbb3992 [ticket/14565] Workaround for php 5.3.3
PHPBB3-14565
2016-03-29 21:13:45 +02:00
Tristan Darricau
4205450c9d Merge branch 'ticket/13683' into ticket/13683-3.2.x
* ticket/13683:
  [ticket/13683] Updates tests
  [ticket/13683] Fix more cases
  [ticket/13683] Respects force_server_vars settings when generating URLs
2016-03-29 19:16:51 +02:00
Tristan Darricau
0647eea742 [ticket/13683] Updates tests
PHPBB3-13683
2016-03-29 19:13:09 +02:00
Tristan Darricau
0b1ed8dbbb [ticket/13683] Fix more cases
PHPBB3-13683
2016-03-29 19:06:37 +02:00
Tristan Darricau
1a5fbd4bd0 [ticket/13683] Respects force_server_vars settings when generating URLs
PHPBB3-13683
2016-03-29 19:06:30 +02:00
Matt Friedman
39de59e65f [ticket/14570] Use phpbb_version_compare
PHPBB3-14570
2016-03-29 10:01:03 -07:00
Matt Friedman
b8dd3ef43a [ticket/14570] Add effectively installed to 3.1.x versions
PHPBB3-14570
2016-03-29 09:54:22 -07:00
Jakub Senko
4fa47d301f [ticket/10356] Find inactive users in livesearch when having permissions
While original ticket request is already fixed, livesearch did not
reflect it.

PHPBB3-10356
2016-03-29 13:26:17 +02:00
Máté Bartus
a9242bbf7b Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14568] Update the repository readme
2016-03-28 19:26:47 +02:00
Máté Bartus
28705b54a5 Merge pull request #4260 from VSEphpbb/ticket/14568
[ticket/14568] Update the repository readme
2016-03-28 19:22:56 +02:00
Matt Friedman
478c90cb00 [ticket/14568] Update the repository readme
PHPBB3-14568
2016-03-28 09:49:42 -07:00
Marc Alexander
fae305073a Merge pull request #4257 from CHItA/ticket/14564
[ticket/14564] Fix cookie domain calculation
2016-03-28 00:28:34 +02:00
Tristan Darricau
9a5f420ce8 [ticket/14565] Updates composer.phar to 1.0.0-beta2
PHPBB3-14565
2016-03-27 20:27:17 +02:00
Máté Bartus
c44a01fd9d [ticket/14393] Fix init for conflict archive
PHPBB3-14393
2016-03-27 20:10:45 +02:00
Máté Bartus
99196a42f2 [ticket/14564] Fix cookie domain calculation
PHPBB3-14564
2016-03-27 19:25:00 +02:00
Máté Bartus
3278ff03e7 [ticket/14393] Fix updater behaviour
PHPBB3-14393
2016-03-27 18:25:06 +02:00
Tristan Darricau
7830ac2c9a Merge pull request #4252 from RMcGirr83/ticket_14329
[ticket/14329] Add missing ACP language vars

* RMcGirr83/ticket_14329:
  [ticket/14329] Add missing ACP language vars
2016-03-27 16:41:29 +02:00
rxu
0ca32c41b5 [ticket/14559] Remove attachment BBCode tags from the quoted message
PHPBB3-14559
2016-03-27 19:09:06 +07:00
Tristan Darricau
5a9e9029e8 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2016-03-27 13:34:54 +02:00
Tristan Darricau
a9090ecb0e Merge pull request #4251 from marc1706/ticket/14272-3.2.x
[ticket/14272] Use html5 valid input elements

* marc1706/ticket/14272-3.2.x:
  [ticket/14272] Allow input of floats for filesize
  [ticket/14272] Use input type number instead of text in avatars
  [ticket/14272] Assign min and max values for avatar driver settings
  [ticket/14272] Define min and max values for avatar width and height
  [ticket/14272] Disable not toggled form elements
  [ticket/14272] Make sure phpbb_avatar_manager was defined
  [ticket/14272] Remove useless check
  [ticket/14272] Fix invalid or missing min/max settings
  [ticket/14272] Assign min/max for all allowed types
  [ticket/14272] Only use maxlength and size for allowed input elements
2016-03-27 13:34:54 +02:00
Tristan Darricau
2bfbc07b7d Merge pull request #4021 from marc1706/ticket/14272
[ticket/14272] Use html5 valid input elements

* marc1706/ticket/14272:
  [ticket/14272] Allow input of floats for filesize
  [ticket/14272] Use input type number instead of text in avatars
  [ticket/14272] Assign min and max values for avatar driver settings
  [ticket/14272] Define min and max values for avatar width and height
  [ticket/14272] Disable not toggled form elements
  [ticket/14272] Make sure phpbb_avatar_manager was defined
  [ticket/14272] Remove useless check
  [ticket/14272] Fix invalid or missing min/max settings
  [ticket/14272] Assign min/max for all allowed types
  [ticket/14272] Only use maxlength and size for allowed input elements
2016-03-27 13:34:17 +02:00
Tristan Darricau
386d31ec63 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14481] Add tests for x_forwarded_proto header
  [ticket/14481] Use port 443 if https is specified in x-forwarded-proto
  [ticket/14481] Respect HTTP_X_FORWARDED headers for implying https
2016-03-27 12:56:03 +02:00
Tristan Darricau
5442a25967 Merge pull request #4182 from marc1706/ticket/14481
[ticket/14481] Respect HTTP_X_FORWARDED headers for implying https

* marc1706/ticket/14481:
  [ticket/14481] Add tests for x_forwarded_proto header
  [ticket/14481] Use port 443 if https is specified in x-forwarded-proto
  [ticket/14481] Respect HTTP_X_FORWARDED headers for implying https
2016-03-27 12:56:03 +02:00
Richard McGirr
4a14eb8488 [ticket/14329] Add missing ACP language vars
PHPBB3-14329
2016-03-27 06:54:50 -04:00
Marc Alexander
7d5a853b21 Merge pull request #4228 from Senky/ticket/9435
[ticket/9435] Replace BBcode magic numbers with constants
2016-03-27 12:40:38 +02:00
Marc Alexander
a7950bd8ce Merge branch '3.1.x' into 3.2.x 2016-03-27 12:37:27 +02:00
Marc Alexander
50737da051 Merge pull request #4246 from RMcGirr83/ticket_13625
[ticket/13625] Fix types of properties
2016-03-27 12:37:25 +02:00
Marc Alexander
465eabbc65 Merge branch '3.1.x' into 3.2.x 2016-03-27 12:34:49 +02:00
Marc Alexander
5e96738ca1 Merge pull request #4230 from Senky/ticket/13028
[ticket/13028] Rename unanswered search label
2016-03-27 12:33:48 +02:00
Marc Alexander
1600d82b77 Merge remote-tracking branch 'origin/ticket/14272' into ticket/14272-3.2.x
Conflicts:
	phpBB/adm/style/acp_icons.html
	phpBB/includes/acp/acp_groups.php
	phpBB/includes/acp/acp_users.php
	phpBB/includes/functions_acp.php
	phpBB/includes/ucp/ucp_groups.php
	phpBB/styles/prosilver/template/ucp_avatar_options_gravatar.html
	phpBB/styles/prosilver/template/ucp_avatar_options_remote.html
	phpBB/styles/subsilver2/template/mcp_topic.html
	phpBB/styles/subsilver2/template/posting_attach_body.html
	phpBB/styles/subsilver2/template/posting_body.html
	phpBB/styles/subsilver2/template/posting_poll_body.html
	phpBB/styles/subsilver2/template/ucp_avatar_options_gravatar.html
	phpBB/styles/subsilver2/template/ucp_avatar_options_remote.html
2016-03-27 09:59:25 +02:00
Tristan Darricau
4db229ff6c Merge pull request #4199 from VSEphpbb/ticket/12684
[ticket/12684] Add console command user:add

* VSEphpbb/ticket/12684: (26 commits)
  [ticket/12684] Use a switch statement for readability
  [ticket/12684] Refactor a test
  [ticket/12684] Use interactive method correctly
  [ticket/12684] Extract interactivity to a method
  [ticket/12684] Update option help
  [ticket/12684] Add extended help for the user:add command
  [ticket/12684] Add shorthand alternates to the options
  [ticket/12684] Remove whitespace
  [ticket/12684] Add an error on user creation failure
  [ticket/12684] Remove unnecessary null arguments
  [ticket/12684] Additional clean up
  [ticket/12684] Allowed to use $this in enclosure
  [ticket/12684] Move all lang keys to cli
  [ticket/12684] Fix a few mistakes and clean it up
  [ticket/12684] Some code clean up
  [ticket/12684] Another little fix
  [ticket/12684] Fix tests
  [ticket/12684] Update to use non-deprecated methods
  [ticket/12684] Add send email option
  [ticket/12684] Add input validation
  ...
2016-03-26 19:38:58 +01:00
Tristan Darricau
1f962dacaf Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13013] Explain to user explicitl what "participate more" means
2016-03-26 19:21:36 +01:00
Tristan Darricau
fac6e5206f Merge pull request #4229 from Senky/ticket/13013
closes #4229

* Senky-ticket/13013:
  [ticket/13013] Explain to user explicitl what "participate more" means
2016-03-26 19:17:57 +01:00
Jakub Senko
9ef5b126ec [ticket/13013] Explain to user explicitl what "participate more" means
PHPBB3-13013
2016-03-26 19:17:41 +01:00
Tristan Darricau
dedfb317f2 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14134] Fix Okay in a comment.
  [ticket/14134] Fix code comments.
  [ticket/14134] Send warning notification PM in user's language.
2016-03-26 18:59:31 +01:00
Tristan Darricau
640070e133 Merge pull request #3874 from lavigor/ticket/14134
[ticket/14134] Send warning notification PM in user's language.

* lavigor/ticket/14134:
  [ticket/14134] Fix Okay in a comment.
  [ticket/14134] Fix code comments.
  [ticket/14134] Send warning notification PM in user's language.
2016-03-26 18:59:31 +01:00
lavigor
ebe5eb8342 [ticket/14466] Fix class name in PHPDoc comment.
PHPBB3-14466
2016-03-25 23:16:49 +03:00
lavigor
18a4505b23 [ticket/14134] Fix Okay in a comment.
PHPBB3-14134
2016-03-25 23:11:43 +03:00
Tristan Darricau
c3bc504b70 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2016-03-25 11:56:02 +01:00
Tristan Darricau
9f3ee58595 Merge pull request #4188 from marc1706/ticket/13842
[ticket/13842] Prevent internal server errors without rewrite module on IIS

* marc1706/ticket/13842:
  [ticket/13842] Prevent internal server errors without rewrite module on IIS
2016-03-25 11:56:01 +01:00
Tristan Darricau
2a7c514cd0 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14437] Make sure attachments array is properly ordered before processing
  [ticket/14437] Preserve attachment ID order by ordering by attach_id
  [ticket/14437] Sort attachments after assigning inline attachments
  [ticket/14437] Correctly assume index from attachment display order
2016-03-25 11:48:29 +01:00
Tristan Darricau
7f9ba9849b Merge pull request #4190 from marc1706/ticket/14437
[ticket/14437] Correctly assume index from attachment display order

* marc1706/ticket/14437:
  [ticket/14437] Make sure attachments array is properly ordered before processing
  [ticket/14437] Preserve attachment ID order by ordering by attach_id
  [ticket/14437] Sort attachments after assigning inline attachments
  [ticket/14437] Correctly assume index from attachment display order
2016-03-25 11:48:29 +01:00
Tristan Darricau
3eb6f7176a Merge pull request #4193 from marc1706/ticket/14497
[ticket/14497] Support second app.php script in install folder

* marc1706/ticket/14497:
  [ticket/14497] Do not check for doctype on index and use correct return
  [ticket/14497] Add test for visiting installer
  [ticket/14497] Use nginx sample config in travis tests
  [ticket/14497] Support second app.php script in install folder
2016-03-25 11:46:15 +01:00
Tristan Darricau
6774c5077d Merge pull request #4214 from marc1706/ticket/14241
[ticket/14241] Prevent empty q&a as a result of improper settings

* marc1706/ticket/14241:
  [ticket/14241] Log fatal captcha error to error log
  [ticket/14241] Prevent empty q&a as a result of improper settings
2016-03-25 11:43:05 +01:00
Tristan Darricau
e873ed6944 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14241] Log fatal captcha error to error log
  [ticket/14241] Prevent empty q&a as a result of improper settings
2016-03-25 11:43:05 +01:00
Tristan Darricau
8d98981012 Merge pull request #4218 from marc1706/ticket/14527
[ticket/14527] Retrieve link URL from href and not link text

* marc1706/ticket/14527:
  [ticket/14527] Decode automatically generated postlink without prefix
  [ticket/14527] Add tests for reverted improper fix
  [ticket/14527] Retrieve link URL from href and not link text
2016-03-25 11:35:47 +01:00
Richard McGirr
9b94eaa0e4 [ticket/13625] Fix types of properties
PHPBB3-13625
2016-03-25 06:22:33 -04:00
Tristan Darricau
f29ebb1846 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13630] Prevent empty parameter select_single
2016-03-25 11:20:56 +01:00
Tristan Darricau
2168cb7f8e Merge pull request #4231 from Senky/ticket/13630
[ticket/13630] Prevent empty parameter select_single

* Senky/ticket/13630:
  [ticket/13630] Prevent empty parameter select_single
2016-03-25 11:20:06 +01:00
Tristan Darricau
28f0c3457c Merge pull request #4239 from marc1706/ticket/14530
[ticket/14530] Only generate text again if sig was parsed for storage

* marc1706/ticket/14530:
  [ticket/14530] Only generate text again if sig was parsed for storage
  [ticket/14530] Add accidentally removed sig_parsed flag
2016-03-25 11:14:33 +01:00
Tristan Darricau
53a9131db6 Merge pull request #4244 from marc1706/ticket/14290
[ticket/14290] Correctly use modified since header

* marc1706/ticket/14290:
  [ticket/14290] Correctly use modified since header
2016-03-25 11:10:06 +01:00
Tristan Darricau
4212c304ab Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14290] Correctly use modified since header
2016-03-25 11:10:06 +01:00
Tristan Darricau
f6cc30cbfe Merge pull request #4245 from JoshyPHP/ticket/14381
[ticket/14381] Set the mode in message parser to "reparse"

* JoshyPHP/ticket/14381:
  [ticket/14381] Set the mode in message parser to "reparse"
  [ticket/14495] Updates the version to 3.3.0-a1-dev
2016-03-25 11:03:27 +01:00
Marc Alexander
23be4d8af2 Merge pull request #4237 from Nicofuma/ticket/14555
[ticket/14555] Uniformize cache directory usages
2016-03-24 21:15:13 +01:00
JoshyPHP
0ff4a6b6a4 [ticket/14381] Set the mode in message parser to "reparse"
The default mode is "post". By setting it to something else,
all limits pertaining to posts (min/max length, etc...) should
be disabled.

PHPBB3-14381
2016-03-24 19:49:23 +01:00
Marc Alexander
826b338275 [ticket/14290] Correctly use modified since header
PHPBB3-14290
2016-03-24 18:09:51 +01:00
Tristan Darricau
d2ecbfcc1b Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2016-03-24 18:00:45 +01:00
Tristan Darricau
a9b6a537c5 Merge pull request #4243 from marc1706/ticket/14136-3.2.x
[ticket/14136] Add back X-UA-Compatible meta tag

* marc1706/ticket/14136-3.2.x:
  [ticket/14136] Add back X-UA-Compatible meta tag
2016-03-24 18:00:42 +01:00
Tristan Darricau
3a23068d89 Merge pull request #4242 from marc1706/ticket/14136
[ticket/14136] Add back X-UA-Compatible meta tag

* marc1706/ticket/14136:
  [ticket/14136] Add back X-UA-Compatible meta tag
2016-03-24 18:00:15 +01:00
Tristan Darricau
7e2c8f1885 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14536] Force unix time stamps to be integer
2016-03-24 17:53:57 +01:00
Tristan Darricau
dcb6154be7 Merge pull request #4222 from marc1706/ticket/14536
[ticket/14536] Force unix time stamps to be integer

* marc1706/ticket/14536:
  [ticket/14536] Force unix time stamps to be integer
2016-03-24 17:53:34 +01:00
Marc Alexander
51c243f76b Merge branch '3.1.x' into 3.2.x 2016-03-24 17:22:07 +01:00
Marc Alexander
1721965c38 Merge pull request #4241 from rxu/ticket/14051
[ticket/14051] Restore accidentally removed $topics_count value
2016-03-24 17:21:56 +01:00
Marc Alexander
d817da6049 Merge pull request #4227 from Senky/ticket/14318
[ticket/14318] Fix SQL error in Notifications Board migration
2016-03-24 16:33:15 +01:00
Marc Alexander
2e3f89444a Merge branch 'ticket/14136' into ticket/14136-3.2.x
Conflicts:
	phpBB/adm/style/install_update_diff.html
	phpBB/adm/style/installer_header.html
	phpBB/install/database_update.php
	phpBB/install/index.php
	phpBB/styles/subsilver2/template/overall_header.html
	phpBB/styles/subsilver2/template/simple_header.html
	phpBB/styles/subsilver2/template/ucp_pm_viewmessage_print.html
	phpBB/styles/subsilver2/template/viewtopic_print.html
2016-03-24 16:12:56 +01:00
Marc Alexander
244d171cb0 [ticket/14136] Add back X-UA-Compatible meta tag
This was previously removed without needing to. Adding it back to force
users to not emulate the page for previous versions of IE. The
imagetoolbar http-equiv tag was not restored as IE does not contain that
anymore since IE7. Also, the chome=1 has been removed from the
X-UA-Compatible content as ChromeFrame does not receive any further
updates since 2014 and is potentially broken.

PHPBB3-14136
2016-03-24 16:07:07 +01:00
rxu
a5790597ca [ticket/14051] Restore accidentally removed $topics_count value
PHPBB3-14051
2016-03-24 21:41:41 +07:00
Marc Alexander
ed21921c58 Merge branch '3.1.x' into 3.2.x 2016-03-24 15:22:38 +01:00
Marc Alexander
a4fac6da2a Merge pull request #4238 from RMcGirr83/ticket_14051
[ticket/14051] Replace sql array of viewforum sort topics function
2016-03-24 15:22:30 +01:00
Richard McGirr
78bf53587a [ticket/14051] Add table alias and fix types of property
PHPBB3-14051
2016-03-24 07:01:57 -04:00
Marc Alexander
2a6e8f3668 Merge branch '3.1.x' into 3.2.x 2016-03-24 11:49:31 +01:00
Marc Alexander
1bb4e3621e Merge pull request #4175 from Senky/ticket/14471
[ticket/14471] Add $filedata to core.avatar_driver_upload_move_file_before event
2016-03-24 11:49:24 +01:00
Marc Alexander
d8bcf479bf Merge branch '3.2.x' 2016-03-24 11:21:36 +01:00
Marc Alexander
200bcae2ae Merge branch '3.1.x' into 3.2.x 2016-03-24 11:21:31 +01:00
Marc Alexander
c36892f2fa Merge pull request #4113 from LaxSlash/ticket/14395
[ticket/14395] Add event core.viewtopic_add_quickmod_option_before
2016-03-24 11:21:24 +01:00
Marc Alexander
a66ec6eccf [ticket/14530] Only generate text again if sig was parsed for storage
PHPBB3-14530
2016-03-24 11:01:54 +01:00
Marc Alexander
c5ef29a6f1 [ticket/14530] Add accidentally removed sig_parsed flag
This was removed by accident previously while moving from the use of the
old bbcode class to the generate_test_for_display function.

PHPBB3-14530
2016-03-24 10:41:43 +01:00
Tristan Darricau
56c2caf6c0 [ticket/14555] Uniformize cache directory usages
PHPBB3-14555
2016-03-24 09:15:34 +01:00
Richard McGirr
d9ad14e4c5 [ticket/14051] Fix whitespace
PHPBB3-14051
2016-03-23 21:46:45 -04:00
Richard McGirr
c003611f05 [ticket/14051] Replace sql array of viewforum sort topics function
PHPBB3-14051
2016-03-23 21:30:30 -04:00
LaxSlash
8f396673fe [ticket/14395] core.viewtopic_add_quickmod_option_before
Added an event before the function phpbb_add_quickmod_option is called in
the viewtopic.php file. This event serves two purposes - one, it is easier to
add new quickmod options, and two, it allows an extenstion developer to check
additional permissions and apply further authentication for the display of the
quickmod options.

PHPBB3-14395
2016-03-23 20:11:20 -04:00
LaxSlash
a18c59317f [ticket/14395] core.viewtopic_add_quickmod_option_before
Added an event before the function phpbb_add_quickmod_option is called in
the viewtopic.php file. This event serves two purposes - one, it is easier to
add new quickmod options, and two, it allows an extenstion developer to check
additional permissions and apply further authentication for the display of the
quickmod options.

PHPBB3-14395
2016-03-23 14:57:18 -04:00
Marc Alexander
827f11cf83 Merge branch '3.2.x' 2016-03-23 14:47:07 +01:00
Marc Alexander
1e0cda3e8a Merge pull request #4235 from Nicofuma/ticket/14550
[ticket/14550] Fix the number of characters returned by unique_id()
2016-03-23 14:47:01 +01:00
Marc Alexander
10d4093561 [ticket/14536] Force unix time stamps to be integer
This will ensure to prevent PHP fatal errors in case the passed timestamp
is an empty string or does not evaluate to an integer (i.e. strings like
foobar).

PHPBB3-14536
2016-03-23 14:44:31 +01:00
Tristan Darricau
dc097221d8 [ticket/14550] Fix the number of characters returned by unique_id()
PHPBB3-14450
2016-03-23 10:18:22 +01:00
LaxSlash
8a8428d002 [ticket/14395] core.viewtopic_add_quickmod_option_before
Added an event before the function phpbb_add_quickmod_option is called in
the viewtopic.php file. This event serves two purposes - one, it is easier to
add new quickmod options, and two, it allows an extenstion developer to check
additional permissions and apply further authentication for the display of the
quickmod options.

PHPBB3-14395
2016-03-22 19:29:33 -04:00
Matt Friedman
5b3b0edd80 [ticket/12684] Use a switch statement for readability
PHPBB3-12684
2016-03-21 13:54:50 -07:00
Matt Friedman
00c2efca60 [ticket/12684] Refactor a test
PHPBB3-12684
2016-03-21 13:54:41 -07:00
Jakub Senko
f77142c0b6 [ticket/13630] Prevent empty parameter select_single
PHPBB3-13630
2016-03-20 16:58:35 +01:00
Jakub Senko
15a0013193 [ticket/9435] Switch "ID" and BBcode name in constants keys
PHPBB3-9435
2016-03-19 17:17:03 +01:00
Jakub Senko
4dc8841e33 [ticket/13028] Rename unanswered search label
PHPBB3-13028
2016-03-18 11:54:46 +01:00
Jakub Senko
933938a1d8 [ticket/14318] Fix SQL error in Notifications Board migration
PHPBB3-14318
2016-03-18 11:04:01 +01:00
Jakub Senko
0f7d08c121 [ticket/9435] Add NUM_PREDEFINED_BBCODES constant
PHPBB3-9435
2016-03-18 11:02:02 +01:00
Jakub Senko
46c79bbe90 [ticket/9435] Convert bbcode magic numbers to constants
PHPBB3-9435
2016-03-18 10:56:14 +01:00
Tristan Darricau
04450e1fae Merge branch '3.2.x'
* 3.2.x:
  [ticket/14540] Adjust recursive_dot_prefix_filter_iterator for performance
2016-03-16 19:10:45 +01:00
Tristan Darricau
eca4726f3c Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14540] Adjust recursive_dot_prefix_filter_iterator for performance
2016-03-16 19:10:34 +01:00
Tristan Darricau
0194c78d19 Merge pull request #4226 from rxu/ticket/14540
[ticket/14540] Adjust recursive_dot_prefix_filter_iterator for performance

* rxu/ticket/14540:
  [ticket/14540] Adjust recursive_dot_prefix_filter_iterator for performance
2016-03-16 19:10:06 +01:00
rxu
e610b23916 [ticket/14540] Adjust recursive_dot_prefix_filter_iterator for performance
Swapping conditions in the function accept() of the class
\phpbb\recursive_dot_prefix_filter_iterator saves a lot of isDir() calls which
is more expensive than $filename[0] checks.

PHPBB3-14540
2016-03-17 00:50:08 +07:00
Tristan Darricau
1c61fd54d4 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14538] Update dependencies for 3.2.x
  [ticket/14538] Update composer dependencies
2016-03-15 20:25:55 +01:00
Tristan Darricau
d8e7f865d8 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
2016-03-15 20:20:28 +01:00
Tristan Darricau
a03470ac75 Merge pull request #4225 from marc1706/ticket/14538-3.2.x
[ticket/14538] Update composer dependencies

* marc1706/ticket/14538-3.2.x:
  [ticket/14538] Update dependencies for 3.2.x
  [ticket/14538] Update composer dependencies
2016-03-15 19:55:44 +01:00
Tristan Darricau
f1874ec416 Merge pull request #4224 from marc1706/ticket/14538
[ticket/14538] Update composer dependencies

* marc1706/ticket/14538:
  [ticket/14538] Update composer dependencies
2016-03-15 19:53:15 +01:00
Marc Alexander
a92ce812e7 [ticket/14538] Update dependencies for 3.2.x
PHPBB3-14538
2016-03-15 13:37:26 +01:00
Marc Alexander
67d58aa7b8 Merge branch 'ticket/14538' into ticket/14538-3.2.x 2016-03-15 13:30:50 +01:00
Marc Alexander
681836a84d [ticket/14538] Update composer dependencies
PHPBB3-14538
2016-03-15 09:53:57 +01:00
Tristan Darricau
365c99a787 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14528] Add back itemprop definitions to breadcrumbs
  [ticket/14528] Update navbar_header.html for valid microdata
2016-03-14 06:54:25 +01:00
Tristan Darricau
5c2ef741a6 Merge pull request #4221 from marc1706/ticket/14528
[ticket/14528] Update navbar_header.html for valid microdata

* marc1706/ticket/14528:
  [ticket/14528] Add back itemprop definitions to breadcrumbs
  [ticket/14528] Update navbar_header.html for valid microdata
2016-03-14 06:53:40 +01:00
Marc Alexander
04fbbbe1ed [ticket/14528] Add back itemprop definitions to breadcrumbs
PHPBB3-14528
2016-03-13 22:50:15 +01:00
C1n
36d2ed3121 [ticket/14528] Update navbar_header.html for valid microdata
PHPBB3-14528
2016-03-13 22:50:01 +01:00
Marc Alexander
cc212f680d Merge branch '3.2.x' 2016-03-13 20:24:50 +01:00
Marc Alexander
186c5f4f83 Merge branch '3.1.x' into 3.2.x 2016-03-13 20:24:41 +01:00
Marc Alexander
48bdab88de Merge pull request #4217 from phpbb-fr-com/ticket/14533
[ticket/14533] U_NOTIFICATION_SETTINGS doesn't return the correct URL
2016-03-13 20:24:38 +01:00
Marc Alexander
17b8e93a53 [ticket/14527] Decode automatically generated postlink without prefix
The http prefix gets automatically added and should be removed prior
to outputting the post to the user.

PHPBB3-14527
2016-03-13 14:48:21 +01:00
Marc Alexander
dad531e4b2 [ticket/14527] Add tests for reverted improper fix
PHPBB3-14527
2016-03-13 12:29:55 +01:00
Marc Alexander
58678ff21c [ticket/14527] Retrieve link URL from href and not link text
PHPBB3-14527
2016-03-13 12:20:09 +01:00
Skouat
3e278bcf0a [ticket/14533] U_NOTIFICATION_SETTINGS doesn't return the correct URL
PHPBB3-14533
2016-03-12 20:53:42 +01:00
Marc Alexander
215fad420f [ticket/14241] Log fatal captcha error to error log
PHPBB3-14241
2016-03-12 10:24:07 +01:00
Máté Bartus
ebbc730c73 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14523] Replace prototype definition with shared services
2016-03-11 23:14:23 +01:00
Máté Bartus
b0fe454163 Merge pull request #4209 from marc1706/ticket/14523
[ticket/14523] Replace prototype definition with shared services
2016-03-11 23:12:25 +01:00
Tristan Darricau
5dd11735fb Merge branch '3.2.x'
* 3.2.x:
  [ticket/14529] Stop using --prefer-source for composer
2016-03-11 18:54:02 +01:00
Tristan Darricau
eef7a4dbf4 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14529] Stop using --prefer-source for composer
2016-03-11 18:53:36 +01:00
Tristan Darricau
d142bebdd6 Merge pull request #4216 from marc1706/ticket/14529
[ticket/14529] Stop using --prefer-source for composer

* marc1706/ticket/14529:
  [ticket/14529] Stop using --prefer-source for composer
2016-03-11 18:53:13 +01:00
Marc Alexander
2337d9dd27 [ticket/14529] Stop using --prefer-source for composer
The api rate limit has been removed by github. Therefore,
we no longer need --prefer-source

PHPBB3-14529
2016-03-11 17:51:02 +01:00
Marc Alexander
4c5c289f75 [ticket/14241] Prevent empty q&a as a result of improper settings
Improper setup of the q&a captcha in combination with the admin choosing a
default language that does not have any questions and answers set might
result in the user being presented empty questions and answers. This
change will try to fall back to any question in case the admin incorrectly
set the default language and has no questions & answers set. If that does
not work, the captcha will not allow passing it and suggest to contact the
board admin to resolve this issue.

PHPBB3-14241
2016-03-11 10:51:07 +01:00
Marc Alexander
2c28138329 Merge branch '3.2.x' 2016-03-10 22:11:14 +01:00
Marc Alexander
18fea1b286 Merge branch '3.1.x' into 3.2.x 2016-03-10 22:11:07 +01:00
Marc Alexander
9288a50bcf Merge pull request #4211 from marc1706/ticket/14422
[ticket/14422] Support cmd+enter & ctrl+enter for submitting message
2016-03-10 22:09:19 +01:00
Marc Alexander
6a90172e1a Merge branch '3.2.x' 2016-03-10 18:43:51 +01:00
Marc Alexander
ad8363ae57 Merge pull request #4213 from RMcGirr83/TICKET_13972
[ticket/13972] Remove hard coded flood check from posting
2016-03-10 18:43:47 +01:00
Marc Alexander
1f25f710ea [ticket/14422] Submit when pressing ctrl or cmd + enter
PHPBB3-14422
2016-03-10 15:08:12 +01:00
Marc Alexander
f22bd4e511 [ticket/14481] Add tests for x_forwarded_proto header
PHPBB3-14481
2016-03-10 14:49:23 +01:00
Jakub Senko
795ce6ccf1 [ticket/14471] Add $filedata to core.avatar_driver_upload_move_file_before event
PHPBB3-14471
2016-03-10 13:25:43 +01:00
Richard McGirr
b0bedce662 [ticket/13972] Remove hard coded flood check from posting
PHPBB3-13972
2016-03-10 06:48:36 -05:00
Callum Macrae
8058967e7f [ticket/14422] Support cmd+enter for submitting message
PHPBB3-14422
2016-03-10 12:31:04 +01:00
Marc Alexander
8a6c82a0ef Merge branch '3.2.x' 2016-03-10 12:19:34 +01:00
Marc Alexander
0e84856a45 Merge branch '3.1.x' into 3.2.x 2016-03-10 12:19:10 +01:00
Marc Alexander
9bcf8df5d0 Merge pull request #4184 from lavigor/ticket/14486
[ticket/14486] Add an event and fix an event in login_box()
2016-03-10 12:18:47 +01:00
Marc Alexander
b758c098d3 [ticket/14523] Replace prototype definition with shared services
PHPBB3-14523
2016-03-10 10:41:00 +01:00
Matt Friedman
5917a8e72e [ticket/12684] Use interactive method correctly
PHPBB3-12684
2016-03-09 17:40:58 -08:00
Matt Friedman
693664f278 [ticket/12684] Extract interactivity to a method
PHPBB3-12684
2016-03-09 15:16:23 -08:00
Tristan Darricau
a9df243772 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14496] Destroy update_list_time cache variable on intro
  [ticket/14496] Cache last update of update list instead of using filemtime
2016-03-09 21:54:25 +01:00
Tristan Darricau
2c813e6e5e Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14496] Destroy update_list_time cache variable on intro
  [ticket/14496] Cache last update of update list instead of using filemtime
2016-03-09 21:53:45 +01:00
Tristan Darricau
61e0247f22 Merge pull request #4192 from marc1706/ticket/14496
[ticket/14496] Cache last update of update list instead of using filemtime

* marc1706/ticket/14496:
  [ticket/14496] Destroy update_list_time cache variable on intro
  [ticket/14496] Cache last update of update list instead of using filemtime
2016-03-09 21:53:14 +01:00
Marc Alexander
0a983d219a Merge branch '3.2.x' 2016-03-09 21:00:18 +01:00
Marc Alexander
5d0f02ce7f Merge pull request #4208 from CHItA/ticket/13264
[ticket/13264]  Don't force approved state if post visibility is known (3.2)
2016-03-09 20:59:57 +01:00
Máté Bartus
0e49dc4409 [ticket/13264] Don't force approved state if post visibility is known (3.2)
The previous PR broke 3.2 because of different variable names

PHPBB3-13264
2016-03-09 20:25:27 +01:00
Máté Bartus
98ea7252d3 Merge branch '3.2.x'
* 3.2.x:
  [ticket/13264] Link to post if user can view it
  [ticket/13264] Do not force approved state if post visibility is known
2016-03-09 19:43:32 +01:00
Máté Bartus
0251a02896 Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13264] Link to post if user can view it
  [ticket/13264] Do not force approved state if post visibility is known
2016-03-09 19:42:57 +01:00
Máté Bartus
5e84d47a03 Merge pull request #4205 from marc1706/ticket/13264
[ticket/13264] Do not force approved state if post visibility is known
2016-03-09 19:39:29 +01:00
Máté Bartus
6c814ef641 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14132] Use transaction for adding notifications to type table
  [ticket/14519] Skip query if all unread notifications are retrieved
  [ticket/14483] Do not send headers by default on access via controller
2016-03-08 22:19:54 +01:00
Máté Bartus
a01e3a0ffa Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/14132] Use transaction for adding notifications to type table
  [ticket/14519] Skip query if all unread notifications are retrieved
  [ticket/14483] Do not send headers by default on access via controller

Conflicts:
	phpBB/phpbb/notification/manager.php
2016-03-08 22:18:42 +01:00
Máté Bartus
7c45ed0733 Merge pull request #4206 from marc1706/ticket/14519
[ticket/14519] Skip query if all unread notifications are retrieved
2016-03-08 22:09:02 +01:00
Máté Bartus
a0fa396901 Merge pull request #4207 from marc1706/ticket/14132
[ticket/14132] Use transaction for adding notifications to type table
2016-03-08 22:07:33 +01:00
Máté Bartus
05ccbc512d Merge pull request #4204 from marc1706/ticket/14483
[ticket/14483] Do not send headers by default on access via controller
2016-03-08 22:07:11 +01:00
Matt Friedman
00bf1ef8b8 [ticket/12684] Update option help
PHPBB3-12684
2016-03-08 10:46:34 -08:00
Marc Alexander
dd115d1896 [ticket/13264] Link to post if user can view it
PHPBB3-13264
2016-03-08 15:25:45 +01:00
Marc Alexander
10004c4032 [ticket/14132] Use transaction for adding notifications to type table
This will prevent a race condition that might occur by two posts being
submitted at the same time with the notification type IDs not being
cached.

PHPBB3-14132
2016-03-08 12:36:29 +01:00
Marc Alexander
9fcd0b116b [ticket/14519] Skip query if all unread notifications are retrieved
PHPBB3-14519
2016-03-08 12:15:21 +01:00
Matt Friedman
0f8790dd2e [ticket/12684] Add extended help for the user:add command
PHPBB3-12684
2016-03-08 00:34:27 -08:00
Matt Friedman
0c1e7c2f9c [ticket/12684] Add shorthand alternates to the options
PHPBB3-12684
2016-03-08 00:34:27 -08:00
Marc Alexander
d461ee4f5c [ticket/13264] Do not force approved state if post visibility is known
Post visibility is used if it is set to a valid value.

PHPBB3-13264
2016-03-07 22:18:26 +01:00
Tristan Darricau
e6e87ab214 Merge branch '3.2.x'
* 3.2.x:
  [release-3.2.0-b2] Update versions to 3.2.0-3-dev
2016-03-07 17:38:34 +01:00
Tristan Darricau
9d7b6260bd [release-3.2.0-b2] Update versions to 3.2.0-3-dev 2016-03-07 17:36:16 +01:00
Marc Alexander
a1b7a5aedc Merge branch '3.2.x' 2016-03-07 09:52:36 +01:00
Marc Alexander
c00e45d30e Merge branch '3.1.x' into 3.2.x 2016-03-07 09:52:30 +01:00
Marc Alexander
f55a61d067 Merge pull request #4203 from Elsensee/ticket/14514
[ticket/14514] Don't skip users when converting passwords
2016-03-07 09:51:31 +01:00
Marc Alexander
62a2619300 [ticket/14483] Do not send headers by default on access via controller
PHPBB3-14483
2016-03-06 21:10:42 +01:00
Oliver Schramm
b77856a903 [ticket/14514] Don't skip users when converting passwords
PHPBB3-14514
2016-03-06 16:11:29 +01:00
Marc Alexander
3d7d0c40b8 [ticket/14437] Make sure attachments array is properly ordered before processing
PHPBB3-14437
2016-03-06 11:22:53 +01:00
Marc Alexander
f1772ce7e5 [ticket/14437] Preserve attachment ID order by ordering by attach_id
PHPBB3-14437
2016-03-06 10:40:42 +01:00
Marc Alexander
1e10664739 [ticket/14437] Sort attachments after assigning inline attachments
This does not seem to cause any issues but prevents us from having to consider
the currenty display order.

PHPBB3-14437
2016-03-06 00:14:47 +01:00
Marc Alexander
4e717c1725 [ticket/14497] Do not check for doctype on index and use correct return
PHPBB3-14497
2016-03-05 22:19:03 +01:00
Marc Alexander
5fc3177395 [ticket/14497] Add test for visiting installer
PHPBB3-14497
2016-03-05 21:23:24 +01:00
Matt Friedman
cc941e6e05 [ticket/12684] Remove whitespace
PHPBB3-12684
2016-03-05 10:41:35 -08:00
Matt Friedman
8c5d6efad5 [ticket/12684] Add an error on user creation failure
PHPBB3-12684
2016-03-05 09:20:04 -08:00
Marc Alexander
293a42e7c5 [ticket/14497] Use nginx sample config in travis tests
PHPBB3-14497
2016-03-05 15:46:40 +01:00
Marc Alexander
e5344ae135 Merge branch '3.2.x' 2016-03-05 12:12:36 +01:00
Marc Alexander
f53a27e891 Merge branch '3.1.x' into 3.2.x 2016-03-05 12:12:27 +01:00
Marc Alexander
ad23b2330c Merge pull request #4200 from RMcGirr83/ticket_14508
[ticket/14508] Change language notice on account activation
2016-03-05 12:12:20 +01:00
Richard McGirr
83fd8e88d6 [ticket/14508] Adjust account inactive language
PHPBB3-14508
2016-03-03 06:55:36 -05:00
Tristan Darricau
0e6bcd166c Merge branch '3.2.x'
* 3.2.x:
  [ticket/14510] Prevent infinite loop in add_bots task
2016-03-02 21:51:37 +01:00
Richard McGirr
65ce507dda [ticket/14508] Change language notice on account activation
PHPBB3-14508
2016-03-02 07:05:37 -05:00
Marc Alexander
43ffffca5f Merge branch '3.2.x' 2016-03-01 21:52:29 +01:00
Matt Friedman
7b0452e53a [ticket/12684] Remove unnecessary null arguments
PHPBB3-12684
2016-02-29 23:24:01 -08:00
Matt Friedman
07b8c0663d [ticket/12684] Additional clean up
PHPBB3-12684
2016-02-29 21:04:41 -08:00
Matt Friedman
b17f9fc81c [ticket/12684] Allowed to use $this in enclosure
PHPBB3-12684
2016-02-29 21:04:16 -08:00
Matt Friedman
0ca4484525 [ticket/12684] Move all lang keys to cli
PHPBB3-12684
2016-02-29 21:03:32 -08:00
Matt Friedman
e905c6226d [ticket/12684] Fix a few mistakes and clean it up
PHPBB3-12684
2016-02-29 16:52:17 -08:00
Matt Friedman
97c6cce687 [ticket/12684] Some code clean up
PHPBB3-12684
2016-02-29 14:50:19 -08:00
Matt Friedman
a84f77bf25 [ticket/12684] Another little fix
PHPBB3-12684
2016-02-29 14:28:02 -08:00
Matt Friedman
fe31060fca [ticket/12684] Fix tests
PHPBB3-12684
2016-02-29 14:23:32 -08:00
Matt Friedman
637b02690d [ticket/12684] Update to use non-deprecated methods
PHPBB3-12684
2016-02-29 13:28:42 -08:00
Marc Alexander
b324cf1907 Merge branch '3.2.x' 2016-02-29 21:45:16 +01:00
Matt Friedman
f32b4c0547 [ticket/12684] Add send email option
PHPBB3-12684
2016-02-29 11:42:23 -08:00
Matt Friedman
d373428180 [ticket/12684] Add input validation
PHPBB3-12684
2016-02-29 11:41:47 -08:00
Matt Friedman
6fe084a2fd [ticket/12684] Updates for 3.2 API
PHPBB3-12684
2016-02-29 11:41:07 -08:00
Matt Friedman
d17a8ab523 [ticket/12684] Fix merge errors
PHPBB3-12684
2016-02-29 08:28:37 -08:00
Tristan Darricau
8f7aba6582 [ticket/12684] Fix header file
PHPBB3-12684
2016-02-29 08:14:29 -08:00
Tristan Darricau
df4a620ba1 [ticket/12684] Fix tests
PHPBB3-12684
2016-02-29 08:14:29 -08:00
LEZY Thomas
50761104ba [ticket/12684] Add doc blocks and test file for user:add
PHPBB3-12684
2016-02-29 08:13:42 -08:00
LEZY Thomas
0102fa3f2d [ticket/12684] Add command user:add
PHPBB3-12684
2016-02-29 08:13:42 -08:00
Máté Bartus
72bdbf52cc Merge branch '3.2.x'
* 3.2.x:
  [ticket/14503] Enable superglobals in cli
2016-02-28 14:50:32 +01:00
Marc Alexander
f259a451bb Merge branch '3.2.x' 2016-02-28 10:16:09 +01:00
lavigor
40bd4c8b72 [ticket/14486] Use empty() and move error check.
PHPBB3-14486
2016-02-27 20:05:59 +03:00
lavigor
276d48ed4f [ticket/14134] Fix code comments.
PHPBB3-14134
2016-02-27 16:55:05 +03:00
Marc Alexander
af99569432 Merge branch '3.2.x' 2016-02-27 12:44:54 +01:00
Marc Alexander
a21d1680d2 Merge branch '3.2.x' 2016-02-27 11:05:10 +01:00
Marc Alexander
47f70a4cfd Merge branch '3.2.x' 2016-02-27 10:55:17 +01:00
Marc Alexander
e8f29d9fb6 Merge branch '3.2.x' 2016-02-27 10:47:05 +01:00
Marc Alexander
119d0e60e8 Merge branch '3.2.x' 2016-02-26 23:11:22 +01:00
Marc Alexander
db1b73a3f4 [ticket/14496] Destroy update_list_time cache variable on intro
PHPBB3-14496
2016-02-26 16:58:04 +01:00
Marc Alexander
b6cf2d7284 [ticket/14496] Cache last update of update list instead of using filemtime
PHPBB3-14496
2016-02-26 12:07:35 +01:00
Marc Alexander
37b2791837 [ticket/14497] Support second app.php script in install folder
PHPBB3-14497
2016-02-25 15:34:32 +01:00
Máté Bartus
f249c52af6 Merge pull request #4191 from Nicofuma/ticket/14495
[ticket/14495] Updates the version to 3.3.0-a1-dev
2016-02-25 12:30:04 +01:00
Tristan Darricau
294f926bfc [ticket/14495] Updates the version to 3.3.0-a1-dev
PHPBB3-14495
2016-02-24 22:25:41 +01:00
Tristan Darricau
68996e527e Merge branch '3.2.x'
* 3.2.x:
  [ticket/13842] Prevent internal server errors without rewrite module on IIS
2016-02-22 21:37:21 +01:00
Tristan Darricau
d17257c346 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14488] Delete cookies to get correct session ID during login
2016-02-22 21:34:36 +01:00
Marc Alexander
c5c2f7f7d0 [ticket/14437] Correctly assume index from attachment display order
PHPBB3-14437
2016-02-21 14:10:45 +01:00
Marc Alexander
811f1573de Merge branch '3.2.x' 2016-02-19 10:10:55 +01:00
Tristan Darricau
ec00fc85e0 Merge branch '3.2.x'
* 3.2.x:
  [ticket/13681] Invalidate and reset opcache where necessary
2016-02-18 22:00:29 +01:00
Marc Alexander
c485312d38 Merge branch '3.2.x' 2016-02-18 21:52:51 +01:00
Tristan Darricau
269e958532 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14315] Properly get sid from cookies and simplify take_screenshot
  [ticket/14315] Use proper ID selectors in ui test
  [ticket/14315] Add logout to ui tests and use in permissions role test
  [ticket/14315] Add functional tests for permission roles and fix non-js
  [ticket/14315] Add tests for setting permission roles using javascript
  [ticket/14315] Add more functionality to ui test cases
  [ticket/14315] Add back roles select for disable javascript
  [ticket/14315] Tweak location of drop-down
  [ticket/14315] Apply roles options format for multiple forums too
  [ticket/14315] Build role options for each permission group
  [ticket/14315] Correctly set default values and reset values
  [ticket/14315] Only add role options specified for each group
2016-02-18 21:47:25 +01:00
Joas Schilling
9d1d8813fe Merge branch '3.2.x' 2016-02-18 18:43:03 +01:00
lavigor
4b4584bcd4 [ticket/14486] Add an event and fix an event in login_box()
PHPBB3-14486
2016-02-18 19:22:11 +03:00
Marc Alexander
dcc80f4709 Merge branch '3.2.x' 2016-02-18 16:18:33 +01:00
Marc Alexander
9eedf29021 [ticket/14481] Use port 443 if https is specified in x-forwarded-proto
PHPBB3-14481
2016-02-16 16:33:19 +01:00
Tristan Darricau
8d1eee0e01 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14462] Not show timeout messages in convertors
  [ticket/14462] Make timeout error translateable
  [ticket/14462] Update ordering in install db config
  [ticket/14462] Fix comments
  [ticket/14462] Fix tests
  [ticket/14462] Fix CS and typo
  [ticket/14462] Set instance of db driver for database access using global
  [ticket/14462] Fix installation in tests
  [ticket/14462] Refactor tasks to be more modular
  [ticket/14462] Further speed improvements
2016-02-16 00:11:27 +01:00
Tristan Darricau
1f0b6c8123 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14447] Remove trailing white spaces in Prosilver
2016-02-15 23:08:18 +01:00
Tristan Darricau
f872af464e Merge branch '3.2.x'
* 3.2.x:
  [ticket/14477] Update text-formatter dependency
2016-02-15 22:57:49 +01:00
Tristan Darricau
9a7f2c08f6 Merge branch '3.2.x'
* 3.2.x:
  [ticket/14478] Remove no longer required shell script
  [ticket/14478] Move facebook/webdriver dependency to main composer file
2016-02-15 22:56:27 +01:00
Marc Alexander
accf8f8625 [ticket/14481] Respect HTTP_X_FORWARDED headers for implying https
PHPBB3-14481
2016-02-15 22:06:25 +01:00
Joas Schilling
c3370201ba Merge branch '3.2.x' 2016-02-13 18:08:28 +01:00
Marc Alexander
05fec8c642 Merge branch '3.2.x' 2016-02-11 23:40:39 +01:00
lavigor
3479f95090 [ticket/14466] Add an event to cron.php
PHPBB3-14466
2016-02-07 16:50:17 +03:00
Marc Alexander
b39b3da5af [ticket/14272] Allow input of floats for filesize
This might be needed while switching the default input from KiB to MiB or
similar changes to settings.

PHPBB3-14272
2016-02-03 22:03:31 +01:00
LaxSlash
575468931f [ticket/14395] Add event core.viewtopic_add_quickmod_option_after
Added an event before the function phpbb_add_quickmod_option is called in
the viewtopic.php file. The function is run before any event can be called to
modify ... meaning that any modifications done to this array
will not affect the options displayed to the user on the viewtopic page itself.
This event serves two purposes - one, it is easier to add new quickmod options,
and two, it allows an extenstion developer to check additional permissions and
apply further authentication for the display of the quickmod options.

PHPBB3-14395
2016-01-08 02:44:58 -05:00
LaxSlash
5f052ec8dc [ticket/14395] Add event core.viewtopic_add_quickmod_option_after
Added an event before the function phpbb_add_quickmod_option is called in
the viewtopic.php file. The function is run before any event can be called to
modify ... meaning that any modifications done to this array
will not affect the options displayed to the user on the viewtopic page itself.
This event serves two purposes - one, it is easier to add new quickmod options,
and two, it allows an extenstion developer to check additional permissions and
apply further authentication for the display of the quickmod options.

PHPBB3-14395
2016-01-08 02:17:41 -05:00
LaxSlash
e030f0ca09 [ticket/14395] Add event core.viewtopic_add_quickmod_option_after
Added an event before the function phpbb_add_quickmod_option is called in
the viewtopic.php file. The function is run before any event can be called to
modify ... meaning that any modifications done to this array
will not affect the options displayed to the user on the viewtopic page itself.
This event serves two purposes - one, it is easier to add new quickmod options,
and two, it allows an extenstion developer to check additional permissions and
apply further authentication for the display of the quickmod options.

PHPBB3-14395
2016-01-08 01:30:36 -05:00
LaxSlash
8e8fac17ff [ticket/14395] Move call to phpbb_add_quickmod_option
Moved the call to function phpbb_add_quickmod_option to being under the core
event core.viewtopic_assign_template_vars_before so as to enable the
modification of elements in the  BEFORE they are assigned to the
template, so that removed elements don't show up in a non-functional state.
Allows the user to perform additional permissions checks on the items within the
array.

PHPBB3-14395
2016-01-07 15:36:10 -05:00
Marc Alexander
c9541e0795 [ticket/14272] Use input type number instead of text in avatars
PHPBB3-14272
2016-01-01 17:26:14 +01:00
Marc Alexander
f3c2c497d8 [ticket/14272] Assign min and max values for avatar driver settings
PHPBB3-14272
2016-01-01 17:26:14 +01:00
Marc Alexander
805b084607 [ticket/14272] Define min and max values for avatar width and height
PHPBB3-14272
2015-12-27 08:39:07 +01:00
Marc Alexander
74ec6f4e9a [ticket/14272] Disable not toggled form elements
PHPBB3-14272
2015-12-27 08:39:06 +01:00
Marc Alexander
7705017f63 [ticket/14272] Make sure phpbb_avatar_manager was defined
PHPBB3-14272
2015-12-03 11:58:53 +01:00
Marc Alexander
c99386e155 [ticket/14272] Remove useless check
PHPBB3-14272
2015-11-08 13:11:16 +01:00
Marc Alexander
685449bfe3 [ticket/14272] Fix invalid or missing min/max settings
PHPBB3-14272
2015-11-06 10:31:56 +01:00
Marc Alexander
be5a40f6a9 [ticket/14272] Assign min/max for all allowed types
PHPBB3-14272
2015-11-06 10:25:31 +01:00
Marc Alexander
aca6e64669 [ticket/14272] Only use maxlength and size for allowed input elements
PHPBB3-14272
2015-11-06 10:20:05 +01:00
lavigor
9a5de3fc1e [ticket/14134] Send warning notification PM in user's language.
PHPBB3-14134
2015-09-02 19:37:41 +03:00
javiexin
054da80114 Merge pull request #1 from phpbb/3.1.x
Bring version up to date 20150708
2015-07-09 20:02:39 +02:00
1042 changed files with 29873 additions and 10023 deletions

143
.appveyor.yml Normal file
View File

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

View File

@@ -2,5 +2,5 @@
1. [Create an account on phpBB.com](http://www.phpbb.com/community/ucp.php?mode=register)
2. [Create a ticket (unless there already is one)](http://tracker.phpbb.com/secure/CreateIssue!default.jspa)
3. Read our [Coding guidelines](https://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

10
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

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

4
.gitignore vendored
View File

@@ -4,7 +4,7 @@
!/phpBB/cache/.htaccess
!/phpBB/cache/index.html
/phpBB/composer.phar
/phpBB/config*.php
/phpBB/config*.php*
/phpBB/ext/*
/phpBB/files/*
/phpBB/images/avatars/gallery/*
@@ -22,3 +22,5 @@
/tests/test_config*.php
/tests/tmp/*
/tests/vendor
/vagrant/phpbb-install-config.yml
.vagrant

View File

@@ -19,6 +19,7 @@
"jquery": true,
"globals": {
"JSON": true
"JSON": true,
"phpbb": true
}
}

View File

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

281
LICENSE Normal file
View File

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

View File

@@ -2,34 +2,38 @@
## ABOUT
phpBB is a free bulletin board written in PHP.
phpBB is a free open-source bulletin board written in PHP.
## 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
To be able to run an installation from the repo (and not from a pre-built package) you need to run the following commands to install phpBB's dependencies.
cd phpBB
php ../composer.phar install --dev
php ../composer.phar install
## CONTRIBUTE
1. [Create an account on phpBB.com](http://www.phpbb.com/community/ucp.php?mode=register)
2. [Create a ticket (unless there already is one)](http://tracker.phpbb.com/secure/CreateIssue!default.jspa)
3. [Read our 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://area51.phpbb.com/docs/dev/development/coding_guidelines.html) and [Git Contribution Guidelines](https://area51.phpbb.com/docs/dev/development/git.html)
4. Send us a pull request
## VAGRANT
Read our [Vagrant documentation](phpBB/docs/vagrant.md) to find out how to use Vagrant to develop and contribute to phpBB.
## 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](https://bamboo.phpbb.com) or check our travis builds below:
* [![Build Status](https://secure.travis-ci.org/phpbb/phpbb.png?branch=master)](http://travis-ci.org/phpbb/phpbb) **master** - Latest development version
* [![Build Status](https://secure.travis-ci.org/phpbb/phpbb.png?branch=3.1.x)](http://travis-ci.org/phpbb/phpbb) **3.1.x** - Development of version 3.1.x
* [![Build Status](https://secure.travis-ci.org/phpbb/phpbb.png?branch=3.0.x)](http://travis-ci.org/phpbb/phpbb) **3.0.x** - Development of version 3.0.x
* [![Build Status](https://travis-ci.org/phpbb/phpbb.svg?branch=master)](http://travis-ci.org/phpbb/phpbb)[![Build status](https://ci.appveyor.com/api/projects/status/8g98ybngd2f3axy1/branch/master?svg=true)](https://ci.appveyor.com/project/phpBB/phpbb/branch/master) **master** - Latest development version
* [![Build Status](https://travis-ci.org/phpbb/phpbb.svg?branch=3.2.x)](http://travis-ci.org/phpbb/phpbb)[![Build status](https://ci.appveyor.com/api/projects/status/8g98ybngd2f3axy1/branch/3.2.x?svg=true)](https://ci.appveyor.com/project/phpBB/phpbb/branch/3.2.x) **3.2.x** - Development of version 3.2.x
* [![Build Status](https://travis-ci.org/phpbb/phpbb.svg?branch=3.1.x)](http://travis-ci.org/phpbb/phpbb) **3.1.x** - Development of version 3.1.x
## LICENSE

25
Vagrantfile vendored Normal file
View 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

View File

@@ -2,9 +2,9 @@
<project name="phpBB" description="The phpBB forum software" default="all" basedir="../">
<!-- a few settings for the build -->
<property name="newversion" value="3.2.0-b2" />
<property name="prevversion" value="3.2.0-b1" />
<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="newversion" value="3.2.7" />
<property name="prevversion" value="3.2.6" />
<property name="olderversions" value="3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.7-pl1, 3.1.8, 3.1.9, 3.1.10, 3.1.11, 3.1.12, 3.2.0-a1, 3.2.0-a2, 3.2.0-b1, 3.2.0-b2, 3.2.0-RC1, 3.2.0-RC2, 3.2.0, 3.2.1, 3.2.2, 3.2.3, 3.2.4, 3.2.5, 3.2.7-RC1" />
<!-- no configuration should be needed beyond this point -->
<property name="oldversions" value="${olderversions}, ${prevversion}" />
@@ -49,7 +49,7 @@
-->
<target name="composer">
<exec dir="phpBB"
command="php ../composer.phar install --dev"
command="php ../composer.phar install --ignore-platform-reqs"
checkreturn="true"
passthru="true" />
</target>
@@ -142,7 +142,9 @@
<phingcall target="export">
<property name="revision" value="release-${version}" />
<property name="version" value="${version}" />
<property name="dir" value="build/old_versions/release-${version}" />
<property name="skip-composer" value="true" />
</phingcall>
<phingcall target="clean-diff-dir">
@@ -248,26 +250,35 @@
<equals arg1="${composer-has-dependencies}" arg2="1" trim="true" />
<then>
<!-- We have non-dev composer dependencies -->
<exec dir="."
command="git ls-tree ${revision} composer.phar"
checkreturn="true"
outputProperty='composer-ls-tree-output' />
<if>
<equals arg1="${composer-ls-tree-output}" arg2="" trim="true" />
<not><isset property="skip-composer" /></not>
<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"
command="git ls-tree ${revision} composer.phar"
checkreturn="true"
passthru="true" />
<delete file="${dir}/composer.phar" />
</else>
outputProperty='composer-ls-tree-output' />
<if>
<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>
</then>
<else>
@@ -277,6 +288,54 @@
</else>
</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(&apos;${version}&apos;, &apos;3.2.0-RC2&apos;, &apos;>=&apos;) ? &apos;true&apos; : &apos;false&apos;;"'
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 -->
<exec dir="${dir}" command="php develop/create_schema_files.php" />
@@ -286,10 +345,6 @@
<delete dir="${dir}/config/development" />
<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}" />
<!-- set permissions of all files to 644, directories to 755 -->
<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/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/Tests" />
<delete file="${dir}/vendor/symfony/routing/.gitignore" />
@@ -473,6 +535,15 @@
<delete file="${dir}/vendor/twig/twig/CHANGELOG" />
<delete file="${dir}/vendor/twig/twig/phpunit.xml.dist" />
<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 name="clean-diff-dir">

View File

@@ -33,14 +33,14 @@ class build_package
var $status_begun = false;
var $num_dots = 0;
function build_package($versions, $verbose = false)
function __construct($versions, $verbose = false)
{
$this->versions = $versions;
$this->verbose = $verbose;
// Get last two entries
$_latest = $this->versions[sizeof($this->versions) - 1];
$_before = $this->versions[sizeof($this->versions) - 2];
$_latest = $this->versions[count($this->versions) - 1];
$_before = $this->versions[count($this->versions) - 2];
$this->locations = array(
'new_version' => dirname(dirname(__FILE__)) . '/phpBB/',

View File

@@ -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
$old_function_declaration = $stackPtr;
while (($function_declaration = $phpcsFile->findNext(T_FUNCTION, ($old_function_declaration + 1))) !== false)
{
$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
$params = $phpcsFile->getMethodParameters($function_declaration);
foreach ($params as $param)
@@ -239,4 +205,49 @@ class phpbb_Sniffs_Namespaces_UnusedUseSniff implements PHP_CodeSniffer_Sniff
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;
}
}

View File

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

View File

@@ -25,6 +25,7 @@ $config['versions'] = Sami\Version\GitVersionCollection::create(__DIR__ . '/../'
*/
->add('3.0.x')
->add('3.1.x')
->add('3.2.x')
->add('master')
;

Binary file not shown.

View File

@@ -147,6 +147,15 @@ then
quit $ERR_LENGTH;
fi
# Check for CR/LF line breaks
if grep -q $'\r$' "$1"
then
complain "The commit message uses CR/LF line breaks, which are not permitted." >&2
complain >&2
quit $ERR_EOF;
fi
lines=$(wc -l "$1" | awk '{ print $1; }');
expecting=header;
in_description=0;

View File

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

View File

@@ -41,6 +41,7 @@ if (!isset($user->data['session_admin']) || !$user->data['session_admin'])
// check specific permissions but this is a catchall
if (!$auth->acl_get('a_'))
{
send_status_line(403, 'Forbidden');
trigger_error('NO_ADMIN');
}

View File

@@ -37,12 +37,6 @@
<!-- IF S_ATTACHMENT_SETTINGS -->
<!-- IF not S_THUMBNAIL_SUPPORT -->
<div class="errorbox">
<p>{L_NO_THUMBNAIL_SUPPORT}</p>
</div>
<!-- ENDIF -->
<form id="attachsettings" method="post" action="{U_ACTION}">
<!-- BEGIN options -->
<!-- IF options.S_LEGEND -->
@@ -196,7 +190,7 @@
</dl>
<dl>
<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>
<dt><label for="assigned_extensions">{L_ASSIGNED_EXTENSIONS}{L_COLON}</label></dt>
@@ -329,42 +323,71 @@
<fieldset class="tabulated">
<legend>{L_TITLE}</legend>
<table class="table1 zebra-table fixed-width-table">
<thead>
<tr>
<th>{L_FILENAME}</th>
<th style="width: 15%;">{L_FILEDATE}</th>
<th style="width: 15%;">{L_FILESIZE}</th>
<th style="width: 15%;">{L_ATTACH_POST_ID}</th>
<th style="width: 15%;">{L_ATTACH_TO_POST}</th>
<th style="width: 15%;">{L_DELETE}</th>
</tr>
</thead>
<tbody>
<!-- BEGIN orphan -->
<div class="pagination top-pagination">
<!-- IF .pagination or TOTAL_FILES -->
{L_NUMBER_FILES}{L_COLON} {TOTAL_FILES} &bull; {L_TOTAL_SIZE}{L_COLON} {TOTAL_SIZE}
<!-- IF .pagination -->
&bull; <!-- INCLUDE pagination.html -->
<!-- ELSE -->
&bull; {PAGE_NUMBER}
<!-- ENDIF -->
<!-- ENDIF -->
</div>
<!-- IF .orphan -->
<table class="table1 zebra-table fixed-width-table">
<thead>
<tr>
<td><a href="{orphan.U_FILE}">{orphan.REAL_FILENAME}</a></td>
<td>{orphan.FILETIME}</td>
<td>{orphan.FILESIZE}</td>
<td><strong>{L_ATTACH_ID}{L_COLON} </strong><input type="number" name="post_id[{orphan.ATTACH_ID}]" maxlength="10" value="{orphan.POST_ID}" style="width: 75%;" /></td>
<td><input type="checkbox" class="radio" name="add[{orphan.ATTACH_ID}]" /></td>
<td><input type="checkbox" class="radio" name="delete[{orphan.ATTACH_ID}]" /></td>
<th>{L_FILENAME}</th>
<th style="width: 15%;">{L_FILEDATE}</th>
<th style="width: 15%;">{L_FILESIZE}</th>
<th style="width: 15%;">{L_ATTACH_POST_ID}</th>
<th style="width: 15%;">{L_ATTACH_TO_POST}</th>
<th style="width: 15%;">{L_DELETE}</th>
</tr>
<!-- END orphan -->
<tr class="row4">
<td colspan="4">&nbsp;</td>
<td class="small"><a href="#" onclick="marklist('orphan', 'add', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'add', false); return false;">{L_UNMARK_ALL}</a></td>
<td class="small"><a href="#" onclick="marklist('orphan', 'delete', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'delete', false); return false;">{L_UNMARK_ALL}</a></td>
</tr>
</tbody>
</table>
</thead>
<tbody>
<!-- BEGIN orphan -->
<tr>
<td><a href="{orphan.U_FILE}">{orphan.REAL_FILENAME}</a></td>
<td>{orphan.FILETIME}</td>
<td>{orphan.FILESIZE}</td>
<td><strong>{L_ATTACH_ID}{L_COLON} </strong><input type="number" min="0" max="9999999999" name="post_id[{orphan.ATTACH_ID}]" value="{orphan.POST_ID}" style="width: 75%;" /></td>
<td><input type="checkbox" class="radio" name="add[{orphan.ATTACH_ID}]" /></td>
<td><input type="checkbox" class="radio" name="delete[{orphan.ATTACH_ID}]" /></td>
</tr>
<!-- END orphan -->
<tr class="row4">
<td colspan="4">&nbsp;</td>
<td class="small"><a href="#" onclick="marklist('orphan', 'add', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'add', false); return false;">{L_UNMARK_ALL}</a></td>
<td class="small"><a href="#" onclick="marklist('orphan', 'delete', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('orphan', 'delete', false); return false;">{L_UNMARK_ALL}</a></td>
</tr>
</tbody>
</table>
<!-- ELSE -->
<div class="errorbox">
<p>{L_NO_ATTACHMENTS}</p>
</div>
<!-- ENDIF -->
<br />
<!-- IF TOTAL_FILES -->
<div class="pagination">
{L_NUMBER_FILES}{L_COLON} {TOTAL_FILES} &bull; {L_TOTAL_SIZE}{L_COLON} {TOTAL_SIZE}
<!-- IF .pagination -->
&bull; <!-- INCLUDE pagination.html -->
<!-- ELSE -->
&bull; {PAGE_NUMBER}
<!-- ENDIF -->
</div>
<!-- ENDIF -->
<!-- IF .orphan -->
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</p>
<!-- ENDIF -->
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
</p>
{S_FORM_TOKEN}
</fieldset>
</form>
@@ -440,7 +463,7 @@
<input class="button2" type="submit" name="submit" value="{L_DELETE_MARKED}" /><br />
<p class="small">
<a href="#" onclick="marklist('attachments', 'delete', true); return false;">{L_MARK_ALL}</a> &bull;
<a href="#" onclick="marklist('attachments', 'delete', false); return false;">{L_UNMARK_ALL}</a>
<a href="#" onclick="marklist('attachments', 'delete', false); return false;">{L_UNMARK_ALL}</a>
</p>
</fieldset>
<!-- ENDIF -->

View File

@@ -5,7 +5,7 @@
<dl>
<dt><label for="avatar_gravatar_width">{L_GRAVATAR_AVATAR_SIZE}{L_COLON}</label><br /><span>{L_GRAVATAR_AVATAR_SIZE_EXPLAIN}</span></dt>
<dd>
<input type="number" name="avatar_gravatar_width" id="avatar_gravatar_width" size="3" value="{AVATAR_GRAVATAR_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} &times;&nbsp;
<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_width" id="avatar_gravatar_width" min="{AVATAR_MIN_WIDTH}" max="{AVATAR_MAX_WIDTH}" value="{AVATAR_GRAVATAR_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} &times;&nbsp;
<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>
</dl>

View File

@@ -5,7 +5,7 @@
<dl>
<dt><label for="avatar_remote_width">{L_LINK_REMOTE_SIZE}{L_COLON}</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></dt>
<dd>
<input type="number" name="avatar_remote_width" id="avatar_remote_width" size="3" value="{AVATAR_REMOTE_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} &times;&nbsp;
<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_width" id="avatar_remote_width" min="{AVATAR_MIN_WIDTH}" max="{AVATAR_MAX_WIDTH}" value="{AVATAR_REMOTE_WIDTH}" class="inputbox autowidth" /> {L_PIXEL} &times;&nbsp;
<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>
</dl>

View File

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

View File

@@ -27,11 +27,11 @@
</dl>
<dl>
<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>
<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>
<dt><label for="enable_post_confirm">{L_VISUAL_CONFIRM_POST}{L_COLON}</label><br /><span>{L_VISUAL_CONFIRM_POST_EXPLAIN}</span></dt>

View File

@@ -14,13 +14,12 @@
<legend>{L_RESTORE_OPTIONS}</legend>
<dl>
<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>
<p class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{L_START_RESTORE}" />&nbsp;
<input class="button2" type="submit" id="delete" name="delete" value="{L_DELETE_BACKUP}" />&nbsp;
<input class="button2" type="submit" id="download" name="download" value="{L_DOWNLOAD_BACKUP}" />
</p>
{S_FORM_TOKEN}
</fieldset>
@@ -72,7 +71,6 @@
<dt><label for="where">{L_ACTION}{L_COLON}</label></dt>
<dd>
<label><input id="where" type="radio" class="radio" name="where" value="store" checked="checked" /> {L_STORE_LOCAL}</label>
<label><input type="radio" class="radio" name="where" value="download" /> {L_DOWNLOAD}</label>
</dd>
</dl>
<dl>

View File

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

View File

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

View File

@@ -242,7 +242,7 @@
</dl>
<dl>
<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>
<!-- EVENT acp_forums_normal_settings_append -->
</fieldset>
@@ -257,15 +257,15 @@
</dl>
<dl>
<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>
<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>
<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>
<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>
<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>
<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>
<!-- EVENT acp_forums_prune_settings_append -->
</fieldset>

View File

@@ -86,11 +86,11 @@
<legend>{L_GROUP_SETTINGS_SAVE}</legend>
<dl>
<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>
<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>
<dt><label for="group_colour">{L_GROUP_COLOR}{L_COLON}</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></dt>
@@ -316,7 +316,7 @@
<tbody>
<!-- ELSE -->
<tr>
<td><strong>{groups.GROUP_NAME}</strong></td>
<td><strong<!-- IF groups.GROUP_COLOR --> style="color: #{groups.GROUP_COLOR}"<!-- ENDIF -->>{groups.GROUP_NAME}</strong></td>
<td style="text-align: center;">{groups.TOTAL_MEMBERS}</td>
<td style="text-align: center;">{groups.PENDING_MEMBERS}</td>
<td style="text-align: center;"><a href="{groups.U_EDIT}">{L_SETTINGS}</a></td>

View File

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

View File

@@ -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="emotion[{items.IMG}]" value="{items.EMOTION}" size="10" maxlength="50" /></td>
<!-- 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" size="3" name="height[{items.IMG}]" value="{items.HEIGHT}" /></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" min="0" max="999" name="height[{items.IMG}]" value="{items.HEIGHT}" /></td>
<!-- IF not S_SMILIES -->
<td><input class="text post" type="text" name="alt[{items.IMG}]" value="{items.ALT}" size="10" maxlength="50" /></td>
<!-- ENDIF -->
@@ -142,8 +142,8 @@
<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_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" size="3" name="add_height" id="add_height" value="{HEIGHT}" /></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" 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><select id="order_add_order" name="add_order">
<optgroup id="order_disp_add_order" label="{L_DISPLAY_POSTING}">{S_ADD_ORDER_LIST_DISPLAY}</optgroup>

View File

@@ -52,7 +52,7 @@
</table>
<fieldset class="display-options">
{L_DISPLAY_LOG}{L_COLON} &nbsp;{S_LIMIT_DAYS}&nbsp;{L_SORT_BY}{L_COLON} {S_SORT_KEY} {S_SORT_DIR}<!-- IF .pagination -->&nbsp;{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} &nbsp;{S_LIMIT_DAYS}&nbsp;{L_SORT_BY}{L_COLON} {S_SORT_KEY} {S_SORT_DIR}<!-- IF .pagination -->&nbsp;{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" />
</fieldset>

View File

@@ -31,7 +31,7 @@
</dl>
<dl>
<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>
<dt><label for="jab_username">{L_JAB_USERNAME}{L_COLON}</label><br /><span>{L_JAB_USERNAME_EXPLAIN}</span></dt>
@@ -47,10 +47,25 @@
<dd><label><input type="radio" class="radio" id="jab_use_ssl" name="jab_use_ssl" value="1"<!-- IF JAB_USE_SSL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="jab_use_ssl" value="0"<!-- IF not JAB_USE_SSL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<dl>
<dt><label for="jab_verify_peer">{L_JAB_VERIFY_PEER}{L_COLON}</label><br /><span>{L_JAB_VERIFY_PEER_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" id="jab_verify_peer" name="jab_verify_peer" value="1"<!-- IF JAB_VERIFY_PEER --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="jab_verify_peer" value="0"<!-- IF not JAB_VERIFY_PEER --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<dl>
<dt><label for="jab_verify_peer_name">{L_JAB_VERIFY_PEER_NAME}{L_COLON}</label><br /><span>{L_JAB_VERIFY_PEER_NAME_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" id="jab_verify_peer_name" name="jab_verify_peer_name" value="1"<!-- IF JAB_VERIFY_PEER_NAME --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="jab_verify_peer_name" value="0"<!-- IF not JAB_VERIFY_PEER_NAME --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<dl>
<dt><label for="jab_allow_self_signed">{L_JAB_ALLOW_SELF_SIGNED}{L_COLON}</label><br /><span>{L_JAB_ALLOW_SELF_SIGNED_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" id="jab_allow_self_signed" name="jab_allow_self_signed" value="1"<!-- IF JAB_ALLOW_SELF_SIGNED --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="jab_allow_self_signed" value="0"<!-- IF not JAB_ALLOW_SELF_SIGNED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
<!-- ENDIF -->
<dl>
<dt><label for="jab_package_size">{L_JAB_PACKAGE_SIZE}{L_COLON}</label><br /><span>{L_JAB_PACKAGE_SIZE_EXPLAIN}</span></dt>
<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>
</fieldset>

View File

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

View File

@@ -14,7 +14,11 @@
<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">
<p>{L_VERSIONCHECK_FAIL}</p>
<p>{VERSIONCHECK_FAIL_REASON}</p>
@@ -26,6 +30,11 @@
<p><a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a> &middot; <a href="{U_VERSIONCHECK}">{L_MORE_INFORMATION}</a></p>
</div>
<!-- ENDIF -->
<!-- IF S_VERSION_UPGRADEABLE -->
<div class="errorbox notice">
<p>{UPGRADE_INSTRUCTIONS}</p>
</div>
<!-- ENDIF -->
<!-- IF S_SEARCH_INDEX_MISSING -->
<div class="errorbox">
@@ -121,8 +130,6 @@
<td>{L_FILES_PER_DAY}{L_COLON} </td>
<td><strong>{FILES_PER_DAY}</strong></td>
</tr>
<tr>
<td>{L_BOARD_STARTED}{L_COLON} </td>
<td><strong>{START_DATE}</strong></td>
@@ -141,22 +148,31 @@
<td>{L_GZIP_COMPRESSION}{L_COLON} </td>
<td><strong>{GZIP_COMPRESSION}</strong></td>
</tr>
<!-- IF S_TOTAL_ORPHAN or S_VERSIONCHECK -->
<tr>
<td>{L_PHP_VERSION}{L_COLON} </td>
<td><strong>{PHP_VERSION_INFO}</strong></td>
<!-- IF S_TOTAL_ORPHAN -->
<td>{L_NUMBER_ORPHAN}{L_COLON} </td>
<td>
<!-- IF TOTAL_ORPHAN > 0 -->
<a href="{U_ATTACH_ORPHAN}" title="{L_MORE_INFORMATION}"><strong>{TOTAL_ORPHAN}</strong></a>
<!-- ELSE -->
<strong>{TOTAL_ORPHAN}</strong>
<!-- ENDIF -->
</td>
<!-- ELSE -->
<td>&nbsp;</td>
<td>&nbsp;</td>
<!-- ENDIF -->
</tr>
<!-- IF S_VERSIONCHECK -->
<tr>
<td>{L_BOARD_VERSION}{L_COLON} </td>
<td>
<strong><a href="{U_VERSIONCHECK}" <!-- IF S_VERSION_UP_TO_DATE -->style="color: #228822;" <!-- ELSEIF not S_VERSIONCHECK_FAIL -->style="color: #BC2A4D;" <!-- ENDIF -->title="{L_MORE_INFORMATION}">{BOARD_VERSION}</a></strong> [&nbsp;<a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a>&nbsp;]
</td>
<!-- ENDIF -->
<!-- IF S_TOTAL_ORPHAN -->
<td>{L_NUMBER_ORPHAN}{L_COLON} </td>
<td><strong>{TOTAL_ORPHAN}</strong></td>
<!-- ENDIF -->
<!-- IF not S_TOTAL_ORPHAN or not S_VERSIONCHECK -->
<td>&nbsp;</td>
<td>&nbsp;</td>
<!-- ENDIF -->
</tr>
<!-- ENDIF -->
</tbody>

View File

@@ -63,6 +63,7 @@
<!-- ENDIF -->
<!-- ENDIF -->
</select>
<!-- EVENT acp_posting_buttons_custom_tags_before -->
<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->

View File

@@ -85,6 +85,7 @@
<dd><input type="checkbox" class="radio" id="field_is_contact" name="field_is_contact" value="1"<!-- IF S_FIELD_CONTACT --> checked="checked"<!-- ENDIF --> /></dd>
<dd><input class="text medium" type="text" name="field_contact_desc" id="field_contact_desc" value="{FIELD_CONTACT_DESC}" /> <label for="field_contact_desc">{L_FIELD_CONTACT_DESC}</label></dd>
<dd><input class="text medium" type="text" name="field_contact_url" id="field_contact_url" value="{FIELD_CONTACT_URL}" /> <label for="field_contact_url">{L_FIELD_CONTACT_URL}</label></dd>
<!-- EVENT acp_profile_contact_last -->
</dl>
</fieldset>
@@ -127,6 +128,7 @@
<!-- ENDIF -->
</dl>
<!-- ENDIF -->
<!-- EVENT acp_profile_step_one_lang_after -->
</fieldset>
<fieldset class="quick">
@@ -236,7 +238,7 @@
<form id="profile_fields" method="post" action="{U_ACTION}">
<fieldset class="quick">
<input class="text small" type="text" name="field_ident" /> <select name="field_type">{S_TYPE_OPTIONS}</select>
<select name="field_type">{S_TYPE_OPTIONS}</select>
<input class="button1" type="submit" name="submit" value="{L_CREATE_NEW_FIELD}" />
<input type="hidden" name="create" value="1" />
{S_FORM_TOKEN}

View File

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

View File

@@ -44,7 +44,7 @@
<div id="posts"<!-- IF S_SPECIAL_RANK --> style="display: none;"<!-- ENDIF -->>
<dl>
<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>
</div>

View File

@@ -18,11 +18,11 @@
</dl>
<dl>
<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>
<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>
<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>
<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>
<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>
<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>
</fieldset>

View File

@@ -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}">&laquo; {L_GO_ACP_MAIN}</a></p>
</div>
<!-- INCLUDE overall_footer.html -->

View File

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

View File

@@ -6,22 +6,43 @@
<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 -->
<div class="successbox">
<p>{L_VERSION_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
</div>
<!-- ELSE -->
<!-- ELSEIF not S_UPDATE_INCOMPLETE -->
<div class="errorbox">
<p>{L_VERSION_NOT_UP_TO_DATE_ACP} - <a href="{U_VERSIONCHECK_FORCE}">{L_VERSIONCHECK_FORCE_UPDATE}</a></p>
</div>
<!-- ENDIF -->
<!-- IF S_VERSION_UPGRADEABLE -->
<div class="errorbox notice">
<p>{UPGRADE_INSTRUCTIONS}</p>
</div>
<!-- ENDIF -->
<fieldset>
<legend></legend>
<!-- IF not S_UPDATE_INCOMPLETE -->
<dl>
<dt><label>{L_CURRENT_VERSION}</label></dt>
<dd><strong>{CURRENT_VERSION}</strong></dd>
</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>
<!-- BEGIN updates_available -->
@@ -38,6 +59,11 @@
</fieldset>
<!-- END updates_available -->
<!-- IF S_UPDATE_INCOMPLETE -->
{INCOMPLETE_INSTRUCTIONS}
<br>
<!-- ENDIF -->
<!-- IF not S_UP_TO_DATE -->
{UPDATE_INSTRUCTIONS}
<br /><br />

View File

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

View File

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

View File

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

View File

@@ -243,8 +243,16 @@ function parse_document(container)
parse_document($('body'));
// Hide configlist and success message in send statistics page
phpbb.toggleDisplay('configlist', -1);
phpbb.toggleDisplay('questionnaire-thanks', -1);
$('#questionnaire-form').css('display', 'none');
var $triggerConfiglist = $('#trigger-configlist');
$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);

View File

@@ -4,6 +4,101 @@
'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('&amp;', '&'),
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
* is triggered when an item is moved down, and row_up is triggered when
@@ -62,7 +157,139 @@ 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 + '&' + $submitButton.name + '=' + encodeURIComponent($submitButton.value) +
'&creation_time=' + $form.find('input[type=hidden][name=creation_time]')[0].value +
'&form_token=' + $form.find('input[type=hidden][name=form_token]')[0].value +
'&' + $form.children('input[type=hidden]').serialize() +
'&' + $form.find('input[type=checkbox][name^=inherit]').serialize(),
success: handlePermissionReturn,
error: handlePermissionReturn
});
});
}
$('[data-ajax]').each(function() {
var $this = $(this),
@@ -83,6 +310,22 @@ $('[data-ajax]').each(function() {
*/
$(function() {
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();
}
});

View File

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

View File

@@ -2,6 +2,7 @@
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title>

View File

@@ -2,10 +2,12 @@
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- IF META -->{META}<!-- ENDIF -->
<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" />
<script type="text/javascript">
@@ -52,7 +54,7 @@ function marklist(id, name, state)
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
if (rb[r].name.substr(0, name.length) == name && rb[r].disabled !== true)
{
rb[r].checked = state;
}

View File

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

View File

@@ -2,6 +2,7 @@
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- IF META -->{META}<!-- ENDIF -->
<title>{PAGE_TITLE}</title>
@@ -65,7 +66,7 @@ function marklist(id, name, state)
for (var r = 0; r < rb.length; r++)
{
if (rb[r].name.substr(0, name.length) == name)
if (rb[r].name.substr(0, name.length) == name && rb[r].disabled !== true)
{
rb[r].checked = state;
}

View File

@@ -130,10 +130,17 @@ phpbb.positionTooltip = function ($element) {
$element = $element.parent();
offset = $element.offset();
$('#_tooltip_container').css({
top: offset.top + 30,
left: offset.left - 205
});
if ($('body').hasClass('rtl')) {
$('#_tooltip_container').css({
top: offset.top + 30,
left: offset.left + 255
});
} else {
$('#_tooltip_container').css({
top: offset.top + 30,
left: offset.left - 205
});
}
};
/**
@@ -211,6 +218,23 @@ $(function() {
// Prepare dropdown
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

View File

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 348 KiB

After

Width:  |  Height:  |  Size: 434 KiB

View File

@@ -20,6 +20,13 @@ var phpbbAlertTimer = null;
phpbb.isTouch = (window && typeof window.ontouchstart !== 'undefined');
// Add ajax pre-filter to prevent cross-domain script execution
$.ajaxPrefilter(function(s) {
if (s.crossDomain) {
s.contents.script = false;
}
});
/**
* Display a loading screen
*
@@ -27,29 +34,36 @@ phpbb.isTouch = (window && typeof window.ontouchstart !== 'undefined');
*/
phpbb.loadingIndicator = function() {
if (!$loadingIndicator) {
$loadingIndicator = $('<div />', {
id: 'loading_indicator',
class: 'loading_indicator',
$loadingIndicator = $('<div />', {
'id': 'loading_indicator',
'class': 'loading_indicator'
});
$loadingIndicator.appendTo('#page-footer');
}
if (!$loadingIndicator.is(':visible')) {
$loadingIndicator.fadeIn(phpbb.alertTime);
// Wait fifteen seconds and display an error if nothing has been returned by then.
// Wait 60 seconds and display an error if nothing has been returned by then.
phpbb.clearLoadingTimeout();
phpbbAlertTimer = setTimeout(function() {
var $alert = $('#phpbb_alert');
if ($loadingIndicator.is(':visible')) {
phpbb.alert($alert.attr('data-l-err'), $alert.attr('data-l-timeout-processing-req'));
}
}, 15000);
phpbb.showTimeoutMessage();
}, 60000);
}
return $loadingIndicator;
};
/**
* Show timeout message
*/
phpbb.showTimeoutMessage = function () {
var $alert = $('#phpbb_alert');
if ($loadingIndicator.is(':visible')) {
phpbb.alert($alert.attr('data-l-err'), $alert.attr('data-l-timeout-processing-req'));
}
};
/**
* Clear loading alert timeout
*/
@@ -172,7 +186,7 @@ phpbb.alert.close = function($alert, fadedark) {
phpbb.confirm = function(msg, callback, fadedark) {
var $confirmDiv = $('#phpbb_confirm');
$confirmDiv.find('.alert_text').html(msg);
fadedark = fadedark || true;
fadedark = typeof fadedark !== 'undefined' ? fadedark : true;
$(document).on('keydown.phpbb.alert', function(e) {
if (e.keyCode === keymap.ENTER || e.keyCode === keymap.ESC) {
@@ -187,9 +201,7 @@ phpbb.confirm = function(msg, callback, fadedark) {
$confirmDiv.find('input[type="button"]').one('click.phpbb.confirmbox', function(e) {
var confirmed = this.name === 'confirm';
if (confirmed) {
callback(true);
}
callback(confirmed);
$confirmDiv.find('input[type="button"]').off('click.phpbb.confirmbox');
phpbb.alert.close($confirmDiv, fadedark || !confirmed);
@@ -930,9 +942,9 @@ phpbb.addAjaxCallback('alt_text', function() {
$anchor.each(function() {
var $this = $(this);
altText = $this.attr('data-alt-text');
$this.attr('data-alt-text', $this.text());
$this.attr('title', $.trim(altText));
$this.text(altText);
$this.attr('data-alt-text', $.trim($this.text()));
$this.attr('title', altText);
$this.children('span').text(altText);
});
});
@@ -1326,6 +1338,7 @@ phpbb.toggleDropdown = function() {
$this.css({
marginLeft: 0,
left: 0,
marginRight: 0,
maxWidth: (windowWidth - 4) + 'px'
});
@@ -1541,6 +1554,13 @@ phpbb.toggleSelectSettings = function(el) {
var $this = $(this),
$setting = $($this.data('toggle-setting'));
$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);
}
});
};
@@ -1630,7 +1650,7 @@ phpbb.lazyLoadAvatars = function loadAvatars() {
});
};
$(window).load(phpbb.lazyLoadAvatars);
$(window).on('load', phpbb.lazyLoadAvatars);
/**
* Apply code editor to all textarea elements with data-bbcode attribute
@@ -1642,7 +1662,7 @@ $(function() {
phpbb.registerPageDropdowns();
$('#color_palette_placeholder').each(function() {
$('[data-orientation]').each(function() {
phpbb.registerPalette($(this));
});

View File

@@ -414,6 +414,12 @@ function getCaretPosition(txtarea) {
if ($('#attach-panel').length) {
phpbb.showDragNDrop(textarea);
}
$('textarea').on('keydown', function (e) {
if (e.which === 13 && (e.metaKey || e.ctrlKey)) {
$(this).closest('form').find(':submit').click();
}
});
});
})(jQuery);

File diff suppressed because one or more lines are too long

View File

@@ -211,7 +211,7 @@ phpbb.plupload.updateHiddenData = function(row, attach, index) {
.attr('type', 'hidden')
.attr('name', 'attachment_data[' + index + '][' + key + ']')
.attr('value', attach[key]);
$('textarea', row).after(input);
$(row).append(input);
}
};

File diff suppressed because one or more lines are too long

View File

@@ -42,6 +42,7 @@ require($phpbb_root_path . 'includes/constants.' . $phpEx);
require($phpbb_root_path . 'includes/functions.' . $phpEx);
require($phpbb_root_path . 'includes/functions_admin.' . $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 = $phpbb_container_builder->with_config($phpbb_config_php_file);
@@ -68,17 +69,22 @@ $phpbb_container = $phpbb_container_builder->get_container();
$phpbb_container->get('request')->enable_super_globals();
require($phpbb_root_path . 'includes/compatibility_globals.' . $phpEx);
register_compatibility_globals();
/** @var \phpbb\config\config $config */
$config = $phpbb_container->get('config');
/** @var \phpbb\language\language $language */
$language = $phpbb_container->get('language');
$language->set_default_language($config['default_lang']);
$language->add_lang(array('common', 'acp/common', 'cli'));
/* @var $user \phpbb\user */
$user = $phpbb_container->get('user');
$user->data['user_id'] = ANONYMOUS;
$user->ip = '127.0.0.1';
$user->add_lang('acp/common');
$user->add_lang('cli');
/* @var $lang \phpbb\language\language */
$lang = $phpbb_container->get('language');
$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $lang);
$application = new \phpbb\console\application('phpBB Console', PHPBB_VERSION, $language);
$application->setDispatcher($phpbb_container->get('dispatcher'));
$application->register_container_commands($phpbb_container->get('console.command_collection'));
$application->run($input);

View File

@@ -12,7 +12,7 @@
*/
/**
* Minimum Requirement: PHP 5.3.9
* Minimum Requirement: PHP 5.4.0
*/
if (!defined('IN_PHPBB'))
@@ -43,7 +43,13 @@ if (!defined('PHPBB_INSTALLED'))
// 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_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');
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);
register_compatibility_globals();
// Add own hook handler
require($phpbb_root_path . 'includes/hooks/index.' . $phpEx);
$phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('template', 'display')));

View File

@@ -4,7 +4,7 @@
"type": "project",
"keywords": ["phpbb", "forum"],
"homepage": "https://www.phpbb.com",
"license": "GPL-2.0",
"license": "GPL-2.0-only",
"authors": [
{
"name": "phpBB Limited",
@@ -25,44 +25,51 @@
"phpbb/phpbb-core": "self.version"
},
"require": {
"php": ">=5.4,<7.1",
"php": ">=5.4",
"bantu/ini-get-wrapper": "1.0.*",
"google/recaptcha": "~1.1",
"guzzlehttp/guzzle": "~5.3",
"lusitanian/oauth": "^0.8.1",
"marc1706/fast-image-size": "1.1.*",
"paragonie/random_compat": "^1.2",
"patchwork/utf8": "1.1.*",
"s9e/text-formatter": "^0.4.2",
"symfony/config": "2.8.*",
"symfony/console": "2.8.*",
"symfony/debug": "2.8.*",
"symfony/dependency-injection": "2.8.*",
"symfony/event-dispatcher": "2.8.*",
"symfony/filesystem": "2.8.*",
"symfony/finder": "2.8.*",
"symfony/http-foundation": "2.8.*",
"symfony/http-kernel": "2.8.*",
"symfony/routing": "2.8.*",
"symfony/twig-bridge": "2.8.*",
"symfony/yaml": "2.8.*",
"twig/twig": "1.*"
"marc1706/fast-image-size": "^1.1",
"paragonie/random_compat": "^1.4",
"patchwork/utf8": "^1.1",
"s9e/text-formatter": "^1.3",
"symfony/config": "^2.8",
"symfony/console": "^2.8",
"symfony/debug": "^2.8",
"symfony/dependency-injection": "^2.8",
"symfony/event-dispatcher": "^2.8",
"symfony/filesystem": "^2.8",
"symfony/finder": "^2.8",
"symfony/http-foundation": "^2.8",
"symfony/http-kernel": "^2.8",
"symfony/proxy-manager-bridge": "^2.8",
"symfony/routing": "^2.8",
"symfony/twig-bridge": "^2.8",
"symfony/yaml": "^2.8",
"twig/twig": "^1.0"
},
"require-dev": {
"fabpot/goutte": "~2.0",
"facebook/webdriver": "~1.1",
"laravel/homestead": "~2.2",
"phing/phing": "2.4.*",
"phpunit/dbunit": "1.3.*",
"phpunit/phpunit": "4.1.*",
"phpunit/phpunit": "^4.1",
"sami/sami": "1.*",
"squizlabs/php_codesniffer": "2.*",
"symfony/browser-kit": "2.8.*",
"symfony/css-selector": "2.8.*",
"symfony/dom-crawler": "2.8.*"
"symfony/browser-kit": "^2.8",
"symfony/css-selector": "^2.8",
"symfony/dom-crawler": "^2.8"
},
"extra": {
"branch-alias": {
"dev-master": "3.2.x-dev"
}
},
"config": {
"platform": {
"php": "5.4.7"
}
}
}

1317
phpBB/composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -108,7 +108,7 @@ services:
- '%tables.ext%'
- '%core.root_path%'
- '%core.php_ext%'
- '@cache.driver'
- '@cache'
file_downloader:
class: phpbb\file_downloader
@@ -161,7 +161,7 @@ services:
version_helper:
class: phpbb\version_helper
scope: prototype
shared: false
arguments:
- '@cache'
- '@config'

View File

@@ -1,7 +1,7 @@
services:
attachment.delete:
class: phpbb\attachment\delete
scope: prototype
shared: false
arguments:
- '@config'
- '@dbal.conn'
@@ -12,7 +12,7 @@ services:
attachment.manager:
class: phpbb\attachment\manager
scope: prototype
shared: false
arguments:
- '@attachment.delete'
- '@attachment.resync'
@@ -20,13 +20,13 @@ services:
attachment.resync:
class: phpbb\attachment\resync
scope: prototype
shared: false
arguments:
- '@dbal.conn'
attachment.upload:
class: phpbb\attachment\upload
scope: prototype
shared: false
arguments:
- '@auth'
- '@cache'

View File

@@ -63,6 +63,7 @@ services:
- '@auth.provider.oauth.service_collection'
- '%tables.users%'
- '@service_container'
- '@dispatcher'
- '%core.root_path%'
- '%core.php_ext%'
tags:
@@ -99,3 +100,11 @@ services:
- '@request'
tags:
- { 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 }

View File

@@ -3,6 +3,7 @@ services:
class: phpbb\avatar\manager
arguments:
- '@config'
- '@dispatcher'
- '@avatar.driver_collection'
# ----- Avatar drivers -----

View File

@@ -6,7 +6,7 @@ services:
- '@captcha.plugins.service_collection'
# ----- 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:
class: phpbb\di\service_collection
arguments:
@@ -16,7 +16,7 @@ services:
core.captcha.plugins.gd:
class: phpbb\captcha\plugins\gd
scope: prototype
shared: false
calls:
- [set_name, [core.captcha.plugins.gd]]
tags:
@@ -24,7 +24,7 @@ services:
core.captcha.plugins.gd_wave:
class: phpbb\captcha\plugins\gd_wave
scope: prototype
shared: false
calls:
- [set_name, [core.captcha.plugins.gd_wave]]
tags:
@@ -32,7 +32,7 @@ services:
core.captcha.plugins.nogd:
class: phpbb\captcha\plugins\nogd
scope: prototype
shared: false
calls:
- [set_name, [core.captcha.plugins.nogd]]
tags:
@@ -40,7 +40,7 @@ services:
core.captcha.plugins.qa:
class: phpbb\captcha\plugins\qa
scope: prototype
shared: false
arguments:
- '%tables.captcha_qa_questions%'
- '%tables.captcha_qa_answers%'
@@ -52,7 +52,7 @@ services:
core.captcha.plugins.recaptcha:
class: phpbb\captcha\plugins\recaptcha
scope: prototype
shared: false
calls:
- [set_name, [core.captcha.plugins.recaptcha]]
tags:

View File

@@ -3,7 +3,6 @@ services:
class: phpbb\console\exception_subscriber
arguments:
- '@language'
- '%debug.exceptions%'
tags:
- { name: kernel.event_subscriber }
@@ -111,15 +110,7 @@ services:
console.command.db.revert:
class: phpbb\console\command\db\revert
arguments:
- '@user'
- '@language'
- '@migrator'
- '@ext.manager'
- '@config'
- '@cache'
- '@filesystem'
- '%core.root_path%'
parent: console.command.db.migrate
tags:
- { name: console.command }
@@ -175,6 +166,27 @@ services:
tags:
- { name: console.command }
console.command.fixup.update_hashes:
class: phpbb\console\command\fixup\update_hashes
arguments:
- '@config'
- '@user'
- '@dbal.conn'
- '@passwords.manager'
- '@passwords.driver_collection'
- '%passwords.algorithms%'
tags:
- { name: console.command }
console.command.fixup.fix_left_right_ids:
class: phpbb\console\command\fixup\fix_left_right_ids
arguments:
- '@user'
- '@dbal.conn'
- '@cache.driver'
tags:
- { name: console.command }
console.command.reparser.list:
class: phpbb\console\command\reparser\list_all
arguments:
@@ -196,6 +208,7 @@ services:
console.command.thumbnail.delete:
class: phpbb\console\command\thumbnail\delete
arguments:
- '@config'
- '@user'
- '@dbal.conn'
- '%core.root_path%'
@@ -205,6 +218,7 @@ services:
console.command.thumbnail.generate:
class: phpbb\console\command\thumbnail\generate
arguments:
- '@config'
- '@user'
- '@dbal.conn'
- '@cache'
@@ -219,3 +233,63 @@ services:
- '@user'
tags:
- { 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 }

View File

@@ -35,6 +35,7 @@ services:
- '@config_text'
- '@dbal.conn'
- '@user'
- '@dispatcher'
- '%core.root_path%'
- '%core.php_ext%'

View File

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

View File

@@ -5,9 +5,7 @@ services:
- '@service_container'
dbal.conn.driver:
class: '%dbal.driver.class%'
calls:
- [sql_connect, ['%dbal.dbhost%', '%dbal.dbuser%', '%dbal.dbpasswd%', '%dbal.dbname%', '%dbal.dbport%', false, '%dbal.new_link%']]
synthetic: true
# ----- DB Tools -----
dbal.tools.factory:
@@ -31,10 +29,10 @@ services:
factory: ['@dbal.extractor.factory', get]
# ----- 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:
class: phpbb\db\extractor\mssql_extractor
scope: prototype
shared: false
arguments:
- '%core.root_path%'
- '@request'
@@ -42,7 +40,7 @@ services:
dbal.extractor.extractors.mysql_extractor:
class: phpbb\db\extractor\mysql_extractor
scope: prototype
shared: false
arguments:
- '%core.root_path%'
- '@request'
@@ -50,7 +48,7 @@ services:
dbal.extractor.extractors.oracle_extractor:
class: phpbb\db\extractor\oracle_extractor
scope: prototype
shared: false
arguments:
- '%core.root_path%'
- '@request'
@@ -58,7 +56,7 @@ services:
dbal.extractor.extractors.postgres_extractor:
class: phpbb\db\extractor\postgres_extractor
scope: prototype
shared: false
arguments:
- '%core.root_path%'
- '@request'
@@ -66,15 +64,7 @@ services:
dbal.extractor.extractors.sqlite3_extractor:
class: phpbb\db\extractor\sqlite3_extractor
scope: prototype
arguments:
- '%core.root_path%'
- '@request'
- '@dbal.conn.driver'
dbal.extractor.extractors.sqlite_extractor:
class: phpbb\db\extractor\sqlite_extractor
scope: prototype
shared: false
arguments:
- '%core.root_path%'
- '@request'

View File

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

View File

@@ -11,19 +11,21 @@ services:
- '@feed.helper'
- '@user'
- '@auth'
- '@dispatcher'
- '%core.php_ext%'
feed.helper:
class: phpbb\feed\helper
arguments:
- '@config'
- '@service_container'
- '@path_helper'
- '@text_formatter.renderer'
- '@user'
- '%core.root_path%'
- '%core.php_ext%'
feed.forum:
class: phpbb\feed\forum
scope: prototype
shared: false
arguments:
- '@feed.helper'
- '@config'
@@ -32,11 +34,12 @@ services:
- '@user'
- '@auth'
- '@content.visibility'
- '@dispatcher'
- '%core.php_ext%'
feed.forums:
class: phpbb\feed\forums
scope: prototype
shared: false
arguments:
- '@feed.helper'
- '@config'
@@ -45,11 +48,12 @@ services:
- '@user'
- '@auth'
- '@content.visibility'
- '@dispatcher'
- '%core.php_ext%'
feed.news:
class: phpbb\feed\news
scope: prototype
shared: false
arguments:
- '@feed.helper'
- '@config'
@@ -58,11 +62,12 @@ services:
- '@user'
- '@auth'
- '@content.visibility'
- '@dispatcher'
- '%core.php_ext%'
feed.overall:
class: phpbb\feed\overall
scope: prototype
shared: false
arguments:
- '@feed.helper'
- '@config'
@@ -71,11 +76,16 @@ services:
- '@user'
- '@auth'
- '@content.visibility'
- '@dispatcher'
- '%core.php_ext%'
feed.quote_helper:
class: phpbb\feed\quote_helper
parent: text_formatter.s9e.quote_helper
feed.topic:
class: phpbb\feed\topic
scope: prototype
shared: false
arguments:
- '@feed.helper'
- '@config'
@@ -84,11 +94,12 @@ services:
- '@user'
- '@auth'
- '@content.visibility'
- '@dispatcher'
- '%core.php_ext%'
feed.topics:
class: phpbb\feed\topics
scope: prototype
shared: false
arguments:
- '@feed.helper'
- '@config'
@@ -97,11 +108,12 @@ services:
- '@user'
- '@auth'
- '@content.visibility'
- '@dispatcher'
- '%core.php_ext%'
feed.topics_active:
class: phpbb\feed\topics_active
scope: prototype
shared: false
arguments:
- '@feed.helper'
- '@config'
@@ -110,4 +122,5 @@ services:
- '@user'
- '@auth'
- '@content.visibility'
- '@dispatcher'
- '%core.php_ext%'

View File

@@ -6,7 +6,7 @@ services:
files.filespec:
class: phpbb\files\filespec
scope: prototype
shared: false
arguments:
- '@filesystem'
- '@language'
@@ -18,7 +18,7 @@ services:
files.upload:
class: phpbb\files\upload
scope: prototype
shared: false
arguments:
- '@filesystem'
- '@files.factory'
@@ -28,7 +28,7 @@ services:
files.types.form:
class: phpbb\files\types\form
scope: prototype
shared: false
arguments:
- '@files.factory'
- '@language'
@@ -37,8 +37,8 @@ services:
- '@request'
files.types.local:
class: phpbb\files\types\form
scope: prototype
class: phpbb\files\types\local
shared: false
arguments:
- '@files.factory'
- '@language'
@@ -47,7 +47,7 @@ services:
files.types.remote:
class: phpbb\files\types\remote
scope: prototype
shared: false
arguments:
- '@config'
- '@files.factory'

View File

@@ -15,7 +15,7 @@ services:
- '%tables.user_notifications%'
# ----- 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:
class: phpbb\di\service_collection
arguments:
@@ -36,7 +36,7 @@ services:
notification.type.admin_activate_user:
class: phpbb\notification\type\admin_activate_user
scope: prototype
shared: false
parent: notification.type.base
calls:
- [set_user_loader, ['@user_loader']]
@@ -46,42 +46,42 @@ services:
notification.type.approve_post:
class: phpbb\notification\type\approve_post
scope: prototype
shared: false
parent: notification.type.post
tags:
- { name: notification.type }
notification.type.approve_topic:
class: phpbb\notification\type\approve_topic
scope: prototype
shared: false
parent: notification.type.topic
tags:
- { name: notification.type }
notification.type.bookmark:
class: phpbb\notification\type\bookmark
scope: prototype
shared: false
parent: notification.type.post
tags:
- { name: notification.type }
notification.type.disapprove_post:
class: phpbb\notification\type\disapprove_post
scope: prototype
shared: false
parent: notification.type.post
tags:
- { name: notification.type }
notification.type.disapprove_topic:
class: phpbb\notification\type\disapprove_topic
scope: prototype
shared: false
parent: notification.type.topic
tags:
- { name: notification.type }
notification.type.group_request:
class: phpbb\notification\type\group_request
scope: prototype
shared: false
parent: notification.type.base
calls:
- [set_user_loader, ['@user_loader']]
@@ -90,14 +90,14 @@ services:
notification.type.group_request_approved:
class: phpbb\notification\type\group_request_approved
scope: prototype
shared: false
parent: notification.type.base
tags:
- { name: notification.type }
notification.type.pm:
class: phpbb\notification\type\pm
scope: prototype
shared: false
parent: notification.type.base
calls:
- [set_user_loader, ['@user_loader']]
@@ -107,7 +107,7 @@ services:
notification.type.post:
class: phpbb\notification\type\post
scope: prototype
shared: false
parent: notification.type.base
calls:
- [set_user_loader, ['@user_loader']]
@@ -117,14 +117,14 @@ services:
notification.type.post_in_queue:
class: phpbb\notification\type\post_in_queue
scope: prototype
shared: false
parent: notification.type.post
tags:
- { name: notification.type }
notification.type.quote:
class: phpbb\notification\type\quote
scope: prototype
shared: false
parent: notification.type.post
calls:
- [set_utils, ['@text_formatter.utils']]
@@ -133,35 +133,35 @@ services:
notification.type.report_pm:
class: phpbb\notification\type\report_pm
scope: prototype
shared: false
parent: notification.type.pm
tags:
- { name: notification.type }
notification.type.report_pm_closed:
class: phpbb\notification\type\report_pm_closed
scope: prototype
shared: false
parent: notification.type.pm
tags:
- { name: notification.type }
notification.type.report_post:
class: phpbb\notification\type\report_post
scope: prototype
shared: false
parent: notification.type.post
tags:
- { name: notification.type }
notification.type.report_post_closed:
class: phpbb\notification\type\report_post_closed
scope: prototype
shared: false
parent: notification.type.post
tags:
- { name: notification.type }
notification.type.topic:
class: phpbb\notification\type\topic
scope: prototype
shared: false
parent: notification.type.base
calls:
- [set_user_loader, ['@user_loader']]
@@ -171,13 +171,13 @@ services:
notification.type.topic_in_queue:
class: phpbb\notification\type\topic_in_queue
scope: prototype
shared: false
parent: notification.type.topic
tags:
- { name: notification.type }
# ----- 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:
class: phpbb\di\service_collection
arguments:
@@ -187,7 +187,7 @@ services:
notification.method.board:
class: phpbb\notification\method\board
scope: prototype # scope MUST be prototype for this to work!
shared: false
arguments:
- '@user_loader'
- '@dbal.conn'
@@ -201,7 +201,7 @@ services:
notification.method.email:
class: phpbb\notification\method\email
scope: prototype
shared: false
arguments:
- '@user_loader'
- '@user'
@@ -213,7 +213,7 @@ services:
notification.method.jabber:
class: phpbb\notification\method\jabber
scope: prototype
shared: false
arguments:
- '@user_loader'
- '@user'

View File

@@ -1,3 +1,6 @@
parameters:
passwords.driver.bcrypt_cost: 10
services:
# ----- Password management -----
passwords.manager:
@@ -29,6 +32,7 @@ services:
arguments:
- '@config'
- '@passwords.driver_helper'
- '%passwords.driver.bcrypt_cost%'
tags:
- { name: passwords.driver }
@@ -37,6 +41,7 @@ services:
arguments:
- '@config'
- '@passwords.driver_helper'
- '%passwords.driver.bcrypt_cost%'
tags:
- { name: passwords.driver }
@@ -122,3 +127,10 @@ services:
- '@passwords.driver_helper'
tags:
- { name: passwords.driver }
passwords.update.lock:
class: phpbb\lock\db
arguments:
- update_hashes_lock
- '@config'
- '@dbal.conn'

View File

@@ -29,10 +29,10 @@ services:
- '@user'
# ----- 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:
class: phpbb\report\report_handler_pm
scope: prototype
shared: false
arguments:
- '@dbal.conn.driver'
- '@dispatcher'
@@ -43,7 +43,7 @@ services:
phpbb.report.handlers.report_handler_post:
class: phpbb\report\report_handler_post
scope: prototype
shared: false
arguments:
- '@dbal.conn.driver'
- '@dispatcher'

View File

@@ -5,9 +5,8 @@ services:
- '@service_container'
- '@routing.chained_resources_locator'
- '@routing.delegated_loader'
- '%core.root_path%'
- '%core.php_ext%'
- '%core.environment%'
- '%core.cache_dir%'
router.listener:
class: Symfony\Component\HttpKernel\EventListener\RouterListener

View File

@@ -1,5 +1,5 @@
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.renderer.key: _text_formatter_renderer
@@ -26,6 +26,11 @@ services:
text_formatter.utils:
alias: text_formatter.s9e.utils
text_formatter.s9e.bbcode_merger:
class: phpbb\textformatter\s9e\bbcode_merger
arguments:
- '@text_formatter.s9e.factory'
text_formatter.s9e.factory:
class: phpbb\textformatter\s9e\factory
arguments:
@@ -34,6 +39,7 @@ services:
- '@dispatcher'
- '@config'
- '@text_formatter.s9e.link_helper'
- '@log'
- '%text_formatter.cache.dir%'
- '%text_formatter.cache.parser.key%'
- '%text_formatter.cache.renderer.key%'

View File

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

View File

@@ -1,5 +1,5 @@
parameters:
core.template.cache_path: '%core.root_path%cache/%core.environment%/twig/'
core.template.cache_path: '%core.cache_dir%twig/'
services:
template.twig.environment:
@@ -8,14 +8,17 @@ services:
- '@config'
- '@filesystem'
- '@path_helper'
- '@service_container'
- '%core.template.cache_path%'
- '@ext.manager'
- '@template.twig.loader'
- '@dispatcher'
- []
calls:
- [setLexer, ['@template.twig.lexer']]
template.twig.lexer:
class: phpbb\template\twig\lexer
lazy: true
arguments:
- '@template.twig.environment'

View File

@@ -12,7 +12,7 @@ services:
cache.driver:
class: '%cache.driver.class%'
arguments:
- '%core.root_path%/cache/installer/'
- '%core.cache_dir%'
config:
class: phpbb\config\config
@@ -81,11 +81,19 @@ services:
- '@config'
- '@filesystem'
- '@path_helper'
- '@service_container'
- '%core.template.cache_path%'
- null
- '@template.twig.loader'
- null
- []
calls:
- [setLexer, ['@template.twig.lexer']]
user:
class: phpbb\user
arguments:
- '@language'
- '%datetime.class%'
console.exception_subscriber:
class: phpbb\console\exception_subscriber

View File

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

View File

@@ -7,6 +7,16 @@ services:
tags:
- { 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:
class: phpbb\install\module\install_finish\task\notify_user
arguments:
@@ -16,7 +26,7 @@ services:
- '%core.root_path%'
- '%core.php_ext%'
tags:
- { name: install_finish, order: 20 }
- { name: install_finish, order: 30 }
installer.module.install_finish_collection:
class: phpbb\di\ordered_service_collection

View File

@@ -13,7 +13,7 @@ services:
installer.navigation.main_navigation:
class: phpbb\install\helper\navigation\main_navigation
scope: prototype
shared: false
tags:
- { name: installer.navigation }
@@ -21,7 +21,7 @@ services:
class: phpbb\install\helper\navigation\install_navigation
arguments:
- '@installer.helper.install_helper'
scope: prototype
shared: false
tags:
- { name: installer.navigation }
@@ -29,7 +29,7 @@ services:
class: phpbb\install\helper\navigation\update_navigation
arguments:
- '@installer.helper.install_helper'
scope: prototype
shared: false
tags:
- { name: installer.navigation }
@@ -37,6 +37,6 @@ services:
class: phpbb\install\helper\navigation\convertor_navigation
arguments:
- '@installer.helper.install_helper'
scope: prototype
shared: false
tags:
- { name: installer.navigation }

View File

@@ -33,13 +33,6 @@ services:
tags:
- { name: install_obtain_data, order: 40 }
installer.obtain_data.obtain_imagick_path:
class: phpbb\install\module\obtain_data\task\obtain_imagick_path
arguments:
- '@installer.helper.config'
tags:
- { name: install_obtain_data, order: 60 }
installer.obtain_data.obtain_server_data:
class: phpbb\install\module\obtain_data\task\obtain_server_data
arguments:

View File

@@ -11,6 +11,17 @@ services:
tags:
- { 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:
class: phpbb\di\ordered_service_collection
arguments:

View File

@@ -43,7 +43,7 @@ phpbb_convert_intro:
start_new: 0
phpbb_convert_settings:
path: /convert/settings/{convertor}
path: /convert/settings/{converter}
defaults:
_controller: phpbb.installer.controller.convert:settings
requirements:

View File

@@ -57,6 +57,18 @@ if ($cron_lock->acquire())
$task = $cron->find_task($cron_type);
if ($task)
{
/**
* This event enables you to catch the task before it runs
*
* @event core.cron_run_before
* @var \phpbb\cron\task\wrapper task Current Cron task
* @since 3.1.8-RC1
*/
$vars = array(
'task',
);
extract($phpbb_dispatcher->trigger_event('core.cron_run_before', compact($vars)));
if ($task->is_parametrized())
{
$task->parse_parameters($request);

View File

@@ -185,7 +185,7 @@ while ($row = $db->sql_fetchrow($result))
}
$db->sql_freeresult($result);
if (sizeof($remove_auth_options))
if (count($remove_auth_options))
{
$db->sql_query('DELETE FROM ' . ACL_USERS_TABLE . ' WHERE auth_option_id IN (' . implode(', ', $remove_auth_options) . ')');
$db->sql_query('DELETE FROM ' . ACL_GROUPS_TABLE . ' WHERE auth_option_id IN (' . implode(', ', $remove_auth_options) . ')');
@@ -199,7 +199,7 @@ $prefixes = array('f_', 'a_', 'm_', 'u_');
foreach ($prefixes as $prefix)
{
$var = $prefix . 'permissions';
if (sizeof(${$var}))
if (count(${$var}))
{
foreach (${$var} as $auth_option => $l_ary)
{
@@ -379,8 +379,6 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting)
$sql = 'VALUES ' . implode(', ', preg_replace('#^(.*?)$#', '(\1)', $sql_subary));
break;
case 'mssql':
case 'sqlite':
case 'sqlite3':
$sql = implode(' UNION ALL ', preg_replace('#^(.*?)$#', 'SELECT \1', $sql_subary));
break;

View File

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

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