1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-31 05:53:14 +02:00

25949 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Matt Friedman
35b7e95098 [ticket/15059] Preserve code line breaks and scroll overflow
PHPBB3-15059
2017-01-30 08:48:42 -08: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
d81df55963
[ticket/14998] Point only to install dir from acp_update
PHPBB3-14998
2017-01-28 09:16:49 +01: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
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
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
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
Marc Alexander
59027c94f2
[ticket/15006] Pass inherit settings to form and use correct button
PHPBB3-15006
2017-01-22 19:20:18 +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
6c09910c10
[ticket/13250] Replace slashes in cache file names
PHPBB3-13250
2017-01-21 11:21:38 +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
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
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
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
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
javiexin
b9189ec325 [ticket/15011] Error not checked on metadata load failure
PHPBB3-15011
2017-01-14 18:08:23 +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
Matt Friedman
366e8583c8 [ticket/15003] Do not check disabled checkboxes with marklist function
PHPBB3-15003
2017-01-13 12:00:31 -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
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
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