1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-11 00:40:56 +02:00
Commit Graph

112 Commits

Author SHA1 Message Date
9dc25510a1 [ticket/16891] Add new method for deferring cache purge to end of request
PHPBB3-16891
2022-01-31 20:34:23 +01:00
0fe95a032b [ticket/16956] Remove router cache flag
The deferred purge will be used in the future instead. The cache flag in the
router only causes additional issues by trying to rebuild the routing
mid-request

PHPBB3-16956
2022-01-31 16:52:19 +01:00
d08843853e [ticket/16956] Remove use of recently changed status for extensions
PHPBB3-16956
2022-01-23 20:51:50 +01:00
b28b94b1f1 [ticket/16891] Do not change an extension status in the middle of a request
When enabling an extension, it should be considered as not being enabled for
the entire request as if the "enabled" flag is switch during the request, the
extension will stay not loaded (same when disabling an extension).

Example when it can be an issue today : if the router is called for the first
time after enabling the extension and if the extension uses a custom route
loader (like phpbb/pages) then the router will fail because the custom route
will be found but the custom loader will not be loaded and available.

PHPBB3-16891
2021-10-30 04:25:31 +02:00
rxu
2fd4dbb685 [ticket/16690] Fix htmlspecialchars and htmlspecialchars_decode default flag
PHPBB3-16690
2021-01-20 00:21:24 +07:00
975fe1e153 [ticket/15257] Provide extension not enableable messages
PHPBB3-15257
2019-09-30 20:25:44 +02:00
b0334d6b4f [ticket/15088] Avoid code repetitions in extension manager
PHPBB3-15088
2019-07-27 16:51:56 +02:00
1e8f467964 [ticket/15202] To disable, an extension must be enabled
PHPBB3-15202
2017-04-28 23:47:51 +02:00
4946c05937 Merge branch '3.1.x' into 3.2.x 2017-04-17 11:50:55 +02:00
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
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
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
6ce5ef53cb [ticket/15142] Merge branch 'ticket/15142' into 32x
PHPBB3-15142
2017-04-10 15:51:22 -07:00
a975a35734 [ticket/15135] Correctly pass exception arguments and add back link again
PHPBB3-15135
2017-03-23 21:52:35 +01:00
6f1de69bbe [ticket/15135] Parse language files in acp_extensions instead of md manager
PHPBB3-15135
2017-03-19 22:37:19 +01:00
9958a68c57 Merge branch '3.1.x' into 3.2.x 2017-03-19 15:53:08 +01:00
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
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
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
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
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
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
e0e59bc6c0 [ticket/15080] Save unneeded file loads for extension metadata
PHPBB3-15080
2017-02-09 22:03:53 +01:00
9df6ef5735 Use SSL in version check for extension
PHPBB3-15025
2017-01-22 23:31:41 +01:00
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
a0bd23b747 [ticket/15011] Output meaningful errors when validating all metadata
PHPBB3-15011
2017-01-15 17:56:12 +01:00
d6e42ec63b [ticket/15011] Fix 3.2.x merge
PHPBB3-15011
2017-01-15 12:00:36 +01:00
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
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
b9189ec325 [ticket/15011] Error not checked on metadata load failure
PHPBB3-15011
2017-01-14 18:08:23 +01:00
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
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
869e6a9a88 Merge branch '3.1.x' into 3.2.x 2016-12-20 20:27:38 +01:00
fe79705e99 [ticket/14918] Simplify access to extension version metadata information
PHPBB3-14918
2016-12-16 13:46:42 +01:00
0256c69191 [ticket/12610] CS
PHPBB3-12610
2016-12-03 16:37:35 +01:00
8481bd4e18 [ticket/12610] Use exception_interface
PHPBB3-12610
2016-12-03 16:37:35 +01:00
346f31a031 [ticket/12610] Add command to check if the board is up to date.
PHPBB3-12610
2016-12-03 16:37:35 +01:00
27027deb9c [ticket/14434] Refactored to check migrations when setting them
PHPBB3-14434
2016-01-28 12:17:35 -08:00
ae7aa5dc57 [ticket/14434] Fix whitespace mistakes
PHPBB3-14434
2016-01-27 11:48:24 -08:00
3bd8a2ba19 [ticket/14434] Remove recursion to simplify is_migration method
PHPBB3-14434
2016-01-27 11:46:04 -08:00
47d8aeebde [ticket/14434] Extract migration check to a reusable method
PHPBB3-14434
2016-01-27 10:50:22 -08:00
fac4672f3f [ticket/13733] Remove validate_classes method argument
PHPBB3-13733
2016-01-24 22:39:37 +01:00
e954b0b82b [ticket/13733] Use interface for migratinos
PHPBB3-13733
2016-01-18 14:54:54 +01:00
b908524853 [ticket/13733] Update comment explaining migration class validation
PHPBB3-13733
2016-01-15 18:34:12 +01:00
9dc1729e37 [ticket/13733] Add isInstantiable() check.
PHPBB3-13733
2015-05-24 01:32:01 -04:00
c485540f53 [ticket/13733] Braces on their own lines
PHPBB3-13733
2015-05-23 21:38:59 -04:00
65316cffaf [ticket/13733] Allow tests the skip class validation
PHPBB3-13733
2015-05-23 21:13:30 -04:00
4ecc13af83 [ticket/13733] Properly handle nonexistent classes as well
PHPBB3-13733
2015-05-23 20:13:23 -04:00
9e6f9c8a64 [ticket/13733] Handle nonexistent classes as well
PHPBB3-13733
2015-05-23 19:57:32 -04:00
715d365a5e [ticket/13733] Only use migration classes that extension the base migration class.
PHPBB3-13733
2015-05-23 17:06:25 -04:00