Changes between Version 5 and Version 6 of JoomlaIntegration


Ignore:
Timestamp:
Oct 3, 2012 6:01:55 PM (2 years ago)
Author:
benzea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JoomlaIntegration

    v5 v6  
    11= Joomla Integration Plugin = 
    22 
    3 This is a plugin that enables authentication against a Joomla! 1.0 host. It works by simply reading out the Session cookie, and using the session data from Joomla that is stored in MySQL. It also contains an authz_policy implementation that is able to authenticate against the Joomla group of the user. 
     3This is a plugin that enables authentication against a Joomla! 2.5 host. It works by simply reading out the Session cookie, and using the session data from Joomla! that is stored in MySQL. It also contains an authz_policy implementation that is able to authenticate against the Joomla groups of the user. This means you can create very flexible access rules based on the Joomla! user. 
     4 
     5The port to Joomla 2.5 should make this much more useful for other people out there. I have currently dropped the support for the "Keep me logged in" cookie; it would be nice to have that back for obvious reasons. 
     6 
     7== Features == 
     8 
     9 * Use the Session cookie from Joomla! to authenticate a user 
     10 * Copies important data (name, email address) into the Trac database 
     11 * authz style authentication configuration based on the groups from the Joomla! 
    412 
    513== Development == 
    614 
    7 I have started to port the code over for Joomla 2.5 Integration. This is not yet tested, but that should happen in the next months. If anyone is interested in testing this, it is available from the [http://git.sipsolutions.net/?p=joomlaplugin.git;a=shortlog;h=refs/heads/joomla25 "joomla25" branch] in the git repository. 
     15Things that should/could be improved: 
     16 * Support "Remember Me" cookie 
     17 * Better integration into Joomla! by embedding the page somehow 
     18 * Create a group provider instead of duplicating the authz code. This should simplify the code. 
    819 
    920== Getting the Code == 
     
    1223 
    1324{{{ 
    14 git-clone http://git.sipsolutions.net/joomlaplugin.git 
     25git clone http://git.sipsolutions.net/joomlaplugin.git 
    1526}}} 
    16  
    17 == Future == 
    18  
    19 There are a lot of ways to improve this plugin. One could implement embedding trac into a Joomla website. Another improvement could be to implement a login box inside Trac which returns to the original page after the login. Either by creating the session from trac, or getting Joomla to redirect the user back to the Trac website.