1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-22 23:40:12 +02:00

43 Commits

Author SHA1 Message Date
Marc Alexander
9dc25510a1
[ticket/16891] Add new method for deferring cache purge to end of request
PHPBB3-16891
2022-01-31 20:34:23 +01:00
Marc Alexander
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
Marc Alexander
d08843853e
[ticket/16956] Remove use of recently changed status for extensions
PHPBB3-16956
2022-01-23 20:51:50 +01:00
Tristan Darricau
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
Jakub Senko
b0334d6b4f
[ticket/15088] Avoid code repetitions in extension manager
PHPBB3-15088
2019-07-27 16:51:56 +02:00
javiexin
1e8f467964 [ticket/15202] To disable, an extension must be enabled
PHPBB3-15202
2017-04-28 23:47:51 +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
Matt Friedman
6ce5ef53cb [ticket/15142] Merge branch 'ticket/15142' into 32x
PHPBB3-15142
2017-04-10 15:51:22 -07: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
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
tas2580
9df6ef5735
Use SSL in version check for extension
PHPBB3-15025
2017-01-22 23:31:41 +01:00
Tristan Darricau
0256c69191
[ticket/12610] CS
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
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
MateBartus
57072a1e28 [ticket/13793] Remove translation on throwing exceptions
PHPBB3-13793
2015-05-01 12:40:53 +02:00
MateBartus
4bdef6fd21 [ticket/13697] Moving filesystem related functions to filesystem service
* Moving filesystem service to \phpbb\filesystem namespace
 * Wraping Symfony's Filesystem component
 * Moving filesystem related functions from includes/functions.php
   into \phpbb\filesystem\filesystem
   Functions moved (and deprecated):
     - phpbb_chmod
     - phpbb_is_writable
     - phpbb_is_absolute
     - phpbb_own_realpath
     - phpbb_realpath
 * Adding interface for filesystem service

PHPBB3-13697
2015-04-16 13:24:10 +02:00
Tristan Darricau
6842831d6b [ticket/13513] Use paths relative to the phpBB root in the router
PHPBB3-13513
2015-01-17 11:40:10 +01:00
Joas Schilling
f474e33a43 Merge pull request #2729 from Nicofuma/ticket/12847
[ticket/12847] Allow the extensions to say if they can be enabled

* Nicofuma/ticket/12847:
  [ticket/12847] Allow the extensions to say if they can be enabled
2014-08-07 13:00:08 +02:00
Tristan Darricau
a8e81b6e9f [ticket/12870] Create the migrations table with a method in the migrator
PHPBB3-12870
2014-07-27 11:08:13 +02:00
Tristan Darricau
8b8e09f4d5 [ticket/12870] Create the migrations table in db:migrate
PHPBB3-12870
2014-07-26 11:50:28 +02:00
Tristan Darricau
519e64205a [ticket/12847] Allow the extensions to say if they can be enabled
PHPBB3-12847
2014-07-13 18:09:34 +02:00
Tristan Darricau
8e8b493fae [ticket/12777] Add is_purged()
PHPBB3-12777
2014-06-27 11:28:13 +02:00
Tristan Darricau
4d9e451f60 [ticket/12777] Update doc block of is_configured()
PHPBB3-12777
2014-06-27 11:23:11 +02:00
Tristan Darricau
d13e02c7b1 [ticket/12777] Rename extension status functions and add is_configured()
PHPBB3-12777
2014-06-27 10:49:13 +02:00
Tristan Darricau
26eb15ffab [ticket/12762] Make ext.php optional for extensions
PHPBB3-12762
2014-06-23 19:39:19 +02:00
Tristan Darricau
047b709c47 [ticket/12715] Cleanup comments in \phpbb\extension\*
PHPBB3-12715
2014-06-15 19:14:40 +02:00
Joas Schilling
6980fbd27b [ticket/12508] Only take a list of names for set_extensions()
PHPBB3-12508
2014-06-10 11:47:41 +02:00
Joas Schilling
183492b019 [ticket/12508] Move \phpbb\extension\finder to \phpbb\finder
PHPBB3-12508
2014-06-10 11:47:40 +02:00
Joas Schilling
d45c681b40 [ticket/12508] Fix usages of the finder
PHPBB3-12508
2014-06-10 11:47:39 +02:00
n-aleha
7f00c38c50 [ticket/11467] Add user object to extension manager for tests
PHPBB3-11467
2014-05-29 01:07:44 +03:00
n-aleha
031273de72 [ticket/11467] Add language variables for extension exception messages
Remove hard-coded messages and add language variables for extension
exception messages.

PHPBB3-11467
2014-05-29 01:07:44 +03:00
Yuriy Rusko
a759704b39 [ticket/12594] Remove @package tags and update file headers
PHPBB3-12594
2014-05-27 20:51:13 +02:00
Joas Schilling
1572aca7b0 [ticket/12586] Limit depth to 2, we require vendor/extension/ext.php
PHPBB3-12586
2014-05-22 23:43:35 +02:00
Joas Schilling
488904d0bf [ticket/12586] Use dot filter when trying to find available extensions
PHPBB3-12586
2014-05-22 23:42:49 +02:00
Joas Schilling
11a9104b8a [ticket/12282] Use interface for type hinting
PHPBB3-12282
2014-04-01 19:17:41 +02:00
Matt Friedman
71246a5472 [ticket/11429] Increment asset version on Ext enable
PHPBB3-11429
2014-03-13 19:09:41 -07:00
Cesar G
4d65727acc [ticket/12009] Do not allow incorrectly structured extensions to be installed.
PHPBB3-12009
2013-12-11 23:11:52 -08:00
Andreas Fischer
7aa8f6461f [task/code-sniffer] Remove the IN_PHPBB check side-effect from class files.
PHPBB3-11980
2013-10-30 13:05:28 +01:00
Marc Alexander
7f58a4572e [ticket/11981] Fix code sniffer complaints
PHPBB3-11981
2013-10-28 23:05:46 +01:00
Nils Adermann
c4b53490ad [ticket/11700] Correctly load extensions with nonprefixed namespaces
PHPBB3-11700
2013-09-17 16:15:44 +02:00
Nils Adermann
b95fdacdd3 [ticket/11700] Move all recent code to namespaces
PHPBB3-11700
2013-09-16 00:25:27 +02:00
Nils Adermann
da2752e400 [ticket/11700] Modify all code to use the new interface names
PHPBB3-11700
2013-07-14 13:30:52 -04:00
Nils Adermann
7030578bbe [ticket/11698] Moving all autoloadable files to phpbb/
PHPBB3-11698
2013-07-14 01:32:34 -04:00