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

98 Commits

Author SHA1 Message Date
5017dbd58d [ticket/16891] Rename constant for event name of deferred purge
PHPBB3-16891
2022-01-31 20:34:24 +01:00
3be1e3029e [ticket/16891] Remove unused use statements
PHPBB3-16891
2022-01-31 20:34:23 +01:00
9dc25510a1 [ticket/16891] Add new method for deferring cache purge to end of request
PHPBB3-16891
2022-01-31 20:34:23 +01:00
e979194a0e Merge branch '3.2.x' into 3.3.x 2020-04-21 17:20:08 +02:00
3e128d06f4 [ticket/16432] Display APCu Cache notice when handling extensions through CLI
PHPBB3-16432
2020-04-12 00:46:00 +02:00
b1f0276307 Merge branch '3.2.x' into 3.3.x 2020-02-15 16:46:02 +01:00
9749aa936c [ticket/16351] Use CHMOD constants from filesystem_interface
PHPBB3-16351
2020-02-02 22:00:38 +00:00
380b7d0a98 [ticket/16223] Use constructor arguments instead of func_get_args()
PHPBB3-16223
2019-11-25 22:16:41 +01:00
c7d47e34e8 [ticket/16223] Ensure memcached tests are only run when available
PHPBB3-16223
2019-11-25 21:27:43 +01:00
86085f96ab [ticket/16223] Remove no longer supported memcache driver
PHPBB3-16223
2019-11-24 16:54:57 +01:00
25ae4fa355 [ticket/15922] Remove driver for discontinued APC cache
PHPBB3-15922
2019-10-03 22:42:34 +02:00
01018630c9 Merge pull request #5619 from marc1706/ticket/16082
[ticket/16082] Remove XCache as it does not support PHP 7
2019-07-22 21:24:46 +02:00
6422bdb5ec [ticket/16082] Remove XCache as it does not support PHP 7
PHPBB3-16082
2019-06-06 22:21:40 +02:00
7572bc050b [ticket/16081] Remove eAccelerator cache driver
eAccelerator does not support any PHP version above 5.3.

PHPBB3-16081
2019-06-06 22:13:03 +02:00
ebac54aa9e [ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
2019-05-09 21:40:06 +02:00
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
5edb330366 [ticket/15726] Implement selective purge in APCu
fix indentation of comment

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

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

PHPBB3-15726
2018-09-16 16:05:51 +02:00
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
7d4d9770cf [ticket/15726] Implement selective purge in APCu cache driver
fix file permissions

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

PHPBB3-15726
2018-09-16 16:05:33 +02:00
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
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
rxu
f8fbe37936 [ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2018-01-01 13:56:04 +01:00
5aceccf00b [ticket/15401] Use separate constant for memcached driver config
PHPBB3-15401
2017-10-15 14:13:26 +02:00
f1f35f7f3d [ticket/15365] Fix invalidating OPcache
PHPBB3-15365
2017-09-16 11:10:04 +02:00
4e5fd9a6e9 [ticket/15320] Fix to accomplish coding guidelines 2017-08-14 13:00:54 +02:00
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
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
ef404d0f95 [ticket/15303] Correctly refer to $memcached and not $memcache
PHPBB3-15303
2017-08-05 12:19:47 +02:00
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
774c79c631 Merge branch '3.1.x' into 3.2.x 2017-06-25 10:32:39 +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
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
877e15a6e6 [ticket/15122] Add cache driver for memcached
PHPBB3-15122
2017-03-12 15:52:41 +01:00
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
fbff3b77bd [ticket/13250] Use faster str_replace() instead of preg_replace()
PHPBB3-13250
2017-01-22 17:22:28 +01:00
6c09910c10 [ticket/13250] Replace slashes in cache file names
PHPBB3-13250
2017-01-21 11:21:38 +01:00
c64b8102b7 [ticket/10809] Remove MSSQL support
PHPBB3-10809
2016-08-02 12:06:06 +02:00
56c2caf6c0 [ticket/14555] Uniformize cache directory usages
PHPBB3-14555
2016-03-24 09:15:34 +01:00
b7deef46ac Merge branch '3.1.x' into 3.2.x
* 3.1.x:
  [ticket/13681] Invalidate and reset opcache where necessary
2016-02-18 22:00:10 +01:00
bd12427fd4 [ticket/13681] Invalidate and reset opcache where necessary
PHPBB3-13681
2016-02-18 19:03:56 +01:00
cc38bf550b [ticket/14129] Caches extensions autoloaders
PHPBB3-14129
2016-01-26 22:13:26 +01:00
3937f1f4ae [ticket/14157] Allow to set the alt/title attribute on post icons
PHPBB3-14157
2015-10-10 15:29:31 +02:00
2e31cae7bf Merge branch 'ticket/13930' into ticket/13930-master
Conflicts:
	phpBB/includes/acp/acp_database.php
2015-06-08 15:39:47 +02:00
9203bf3141 [ticket/13930] Add missing spaces to code
PHPBB3-13930
2015-06-07 22:53:41 +02:00
b3cc20a575 [ticket/13782] Rename null driver to dummy for PHP7 compatibility
PHPBB3-13782
2015-05-04 10:10:12 +02:00
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
a33c99b3fd Merge branch '3.1.x' 2015-03-05 16:02:48 +01:00