Commit graph

25837 commits

Author SHA1 Message Date
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