? ? Pending

User tests: Successful: Unsuccessful:

avatar csthomas
csthomas
23 Oct 2017

Summary of Changes

Further development of #18266

Inspired by #15822, #17528 and my own #16904

  1. Allow to connect to Redis by socket (cache and session handler).

    • check first character of supplied server host to check if it is a socket path or not.
  2. Fix for "CLI scripts print 'Application Instantiation Error' when redis cache enabled" but without breaking B/C.

    • use \JFactory::getApplication() only if needed, this way redis can be use on CLI script, see #16904.
  3. Add support for Redis Authentication in Session handler, the same as in cache handler.

  4. Add option to set/unset persistent connection in Session Redis handler.

More info:

Before

obraz

After

obraz

Testing Instructions

Test cache and session handler using Redis by socket.

Expected result

All works as expected.

Actual result

Redis by socket is not available.

Documentation Changes Required

Maybe

avatar joomla-cms-bot joomla-cms-bot - change - 23 Oct 2017
Category Administration com_config Libraries
avatar csthomas csthomas - open - 23 Oct 2017
avatar csthomas csthomas - change - 23 Oct 2017
Status New Pending
avatar csthomas csthomas - change - 23 Oct 2017
Labels Added: ?
avatar csthomas csthomas - change - 23 Oct 2017
The description was changed
avatar csthomas csthomas - edited - 23 Oct 2017
avatar csthomas csthomas - change - 27 Oct 2017
The description was changed
avatar csthomas csthomas - edited - 27 Oct 2017
avatar csthomas csthomas - change - 27 Oct 2017
The description was changed
avatar csthomas csthomas - edited - 27 Oct 2017
avatar csthomas csthomas - change - 27 Oct 2017
The description was changed
avatar csthomas csthomas - edited - 27 Oct 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Oct 2017

@simbus82 can you please test this PR?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18395.

avatar alikon alikon - test_item - 29 Oct 2017 - Tested successfully
avatar alikon
alikon - comment - 29 Oct 2017

I have tested this item successfully on 39ae904


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18395.

avatar alikon
alikon - comment - 29 Oct 2017

#17528 can be closed in favour of this one

avatar csthomas
csthomas - comment - 30 Oct 2017

@simbus82 Would you be interested in testing this PR?

avatar simbus82 simbus82 - test_item - 30 Oct 2017 - Tested successfully
avatar simbus82
simbus82 - comment - 30 Oct 2017

I have tested this item successfully on 39ae904

For me is OK! I have tested the socket and auth both for cache and session.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18395.

avatar csthomas
csthomas - comment - 30 Oct 2017

Thank you all for testing

avatar dgt41 dgt41 - change - 30 Oct 2017
Status Pending Ready to Commit
avatar dgt41
dgt41 - comment - 30 Oct 2017

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18395.

avatar mbabker mbabker - change - 24 Nov 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-11-24 18:11:57
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 24 Nov 2017
avatar mbabker mbabker - merge - 24 Nov 2017

Add a Comment

Login with GitHub to post a comment