1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 15:16:16 +02:00

91 Commits

Author SHA1 Message Date
Marc Alexander
380b7d0a98
[ticket/16223] Use constructor arguments instead of func_get_args()
PHPBB3-16223
2019-11-25 22:16:41 +01:00
Marc Alexander
c7d47e34e8
[ticket/16223] Ensure memcached tests are only run when available
PHPBB3-16223
2019-11-25 21:27:43 +01:00
Marc Alexander
86085f96ab
[ticket/16223] Remove no longer supported memcache driver
PHPBB3-16223
2019-11-24 16:54:57 +01:00
Marc Alexander
25ae4fa355
[ticket/15922] Remove driver for discontinued APC cache
PHPBB3-15922
2019-10-03 22:42:34 +02:00
Marc Alexander
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
Marc Alexander
6422bdb5ec
[ticket/16082] Remove XCache as it does not support PHP 7
PHPBB3-16082
2019-06-06 22:21:40 +02:00
Marc Alexander
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
Marc Alexander
ebac54aa9e
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
2019-05-09 21:40:06 +02:00
Marc Alexander
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
v12mike
5edb330366
[ticket/15726] Implement selective purge in APCu
fix indentation of comment

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

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

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

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

PHPBB3-15726
2018-09-16 16:05:33 +02:00
v12mike
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
hubaishan
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
Julien Tant
5aceccf00b
[ticket/15401] Use separate constant for memcached driver config
PHPBB3-15401
2017-10-15 14:13:26 +02:00
kasimi
f1f35f7f3d
[ticket/15365] Fix invalidating OPcache
PHPBB3-15365
2017-09-16 11:10:04 +02:00
Jagoba Los Arcos
4e5fd9a6e9 [ticket/15320] Fix to accomplish coding guidelines 2017-08-14 13:00:54 +02:00
Jagoba Los Arcos
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
Tristan Darricau
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
abyssmedia
ef404d0f95
[ticket/15303] Correctly refer to $memcached and not $memcache
PHPBB3-15303
2017-08-05 12:19:47 +02:00
v12mike
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
Marc Alexander
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
Tristan Darricau
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
Marc Alexander
877e15a6e6
[ticket/15122] Add cache driver for memcached
PHPBB3-15122
2017-03-12 15:52:41 +01:00
Tristan Darricau
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
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
6c09910c10
[ticket/13250] Replace slashes in cache file names
PHPBB3-13250
2017-01-21 11:21:38 +01:00
Jakub Senko
c64b8102b7 [ticket/10809] Remove MSSQL support
PHPBB3-10809
2016-08-02 12:06:06 +02:00
Tristan Darricau
56c2caf6c0 [ticket/14555] Uniformize cache directory usages
PHPBB3-14555
2016-03-24 09:15:34 +01:00
Tristan Darricau
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
Marc Alexander
bd12427fd4 [ticket/13681] Invalidate and reset opcache where necessary
PHPBB3-13681
2016-02-18 19:03:56 +01:00
Tristan Darricau
cc38bf550b [ticket/14129] Caches extensions autoloaders
PHPBB3-14129
2016-01-26 22:13:26 +01:00
Zoddo
3937f1f4ae [ticket/14157] Allow to set the alt/title attribute on post icons
PHPBB3-14157
2015-10-10 15:29:31 +02:00
Marc Alexander
2e31cae7bf Merge branch 'ticket/13930' into ticket/13930-master
Conflicts:
	phpBB/includes/acp/acp_database.php
2015-06-08 15:39:47 +02:00
Marc Alexander
9203bf3141 [ticket/13930] Add missing spaces to code
PHPBB3-13930
2015-06-07 22:53:41 +02:00
Marc Alexander
b3cc20a575 [ticket/13782] Rename null driver to dummy for PHP7 compatibility
PHPBB3-13782
2015-05-04 10:10:12 +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
Marc Alexander
a33c99b3fd Merge branch '3.1.x' 2015-03-05 16:02:48 +01:00
RMcGirr83
4618a3e2f8 [ticket/13477] rename function and fix doc blocks
PHPBB3-13477
2015-03-04 14:20:27 -05:00
RMcGirr83
5cd4941c55 [ticket/13477] Update file cache driver for filenames
Replace slashes on file name

PHPBB3-13477
2015-03-03 09:31:30 -05:00
Gaëtan Muller
79d4ff5538 [ticket/13494] Update calls to set_config()
PHPBB3-13494
2015-02-02 19:28:23 +01:00
Tristan Darricau
acc91a2bbf [ticket/12620] Use the container to get the environment name
PHPBB3-12620
2014-11-20 21:01:01 +01:00
Tristan Darricau
aa061aa7c9 [ticket/12620] Uses a cache directory per environment
PHPBB3-12620
2014-11-20 20:59:34 +01:00
Tristan Darricau
a5bfc76a73 [ticket/13063] Introduces a new \phpbb\routing\router class
PHPBB3-13063
2014-11-20 16:03:48 +01:00
Joas Schilling
8d9e6653b4 Merge branch 'develop-ascraeus' into develop 2014-10-06 23:21:35 +02:00