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

85 Commits

Author SHA1 Message Date
3e128d06f4 [ticket/16432] Display APCu Cache notice when handling extensions through CLI
PHPBB3-16432
2020-04-12 00:46:00 +02:00
9749aa936c [ticket/16351] Use CHMOD constants from filesystem_interface
PHPBB3-16351
2020-02-02 22:00:38 +00: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
4618a3e2f8 [ticket/13477] rename function and fix doc blocks
PHPBB3-13477
2015-03-04 14:20:27 -05:00
5cd4941c55 [ticket/13477] Update file cache driver for filenames
Replace slashes on file name

PHPBB3-13477
2015-03-03 09:31:30 -05:00
79d4ff5538 [ticket/13494] Update calls to set_config()
PHPBB3-13494
2015-02-02 19:28:23 +01:00
acc91a2bbf [ticket/12620] Use the container to get the environment name
PHPBB3-12620
2014-11-20 21:01:01 +01:00
aa061aa7c9 [ticket/12620] Uses a cache directory per environment
PHPBB3-12620
2014-11-20 20:59:34 +01:00
a5bfc76a73 [ticket/13063] Introduces a new \phpbb\routing\router class
PHPBB3-13063
2014-11-20 16:03:48 +01:00
8d9e6653b4 Merge branch 'develop-ascraeus' into develop 2014-10-06 23:21:35 +02:00
8e638dbf6d [ticket/11224] Revert Revert "Merge pull request #2460 from ticket/11224"
This reverts commit 40cd7570e6.
2014-10-03 23:50:24 +02:00
b9226c6877 Merge branch 'develop-ascraeus' into develop 2014-10-01 11:39:35 +02:00
40cd7570e6 [ticket/11224] Revert "Merge pull request #2460 from Nicofuma/ticket/11224"
This reverts commit d264369441, reversing
changes made to 75fcfb1c1d.

PHPBB3-11224
2014-10-01 11:38:45 +02:00
0a58cca031 Merge branch 'develop-ascraeus' into develop 2014-10-01 10:27:56 +02:00
d264369441 Merge pull request #2460 from Nicofuma/ticket/11224
[ticket/11224] SQL cache destroy does not destroy queries to tables joined
2014-10-01 10:27:47 +02:00
6bfadd86ed Merge branch 'develop-ascraeus' into develop
* develop-ascraeus:
  [ticket/12789] Move duplicated functions to the base class
  [ticket/12789] Remove the directories in \phpbb\cache\driver\memory::purge()

Conflicts:
	phpBB/phpbb/cache/driver/file.php
	phpBB/phpbb/cache/driver/memory.php
2014-08-08 15:06:46 +02:00