JFusion Blog

The Official Blog of the JFusion Team


Jul 06
2010

JFusion 1.5.0 Released!

Posted by Alan in Untagged 

Alan

The JFusion team has been busy! We are proud to announce the release of JFusion 1.5.0 that includes many bug fixes and new features. You can review a changelog below.

The next step will be to make JFusion compatible with Joomla 1.6. Once done, we'll be putting all our efforts into finishing the next generation of JFusion! I know we've been promising this for quite some time now but, basically life just kept getting in the way. As much as I wish we could devote more time to JFusion, the reality is that we all have full-time jobs and full-time family obligations. But don't worry! We'll get it done! :-) Of course we'll continue to release minor, bug fix only releases for the 1.5/1.6 releases while we do so.

Here's the changelog for 1.5.0:

  • JFusion Misc
    • Made avatar URLs absolute for JomSocial
    • Fixed SVN advanced upgrade options to install from appropriate branch rather than trunk.
    • Fixed issue with user plugin where Joomla backend logins failed if Joomla is not the master but the admin user does not exist in the master.
    • Added the option to make Joomla logins case insensitive to mimic other softwares such as vBulletin.  Moved filterUsernames to the "User Options" section as filterUsername is never used for logins but rather when a user is created.
    • Fixed issue where URLs for joomla_int were not sent through JRoute::_() in JfusionFunction::routeURL()
    • Fixed issue in user plugin where user occasionally got the illegal operand fatal error.  Made sure $SlaveUser['error'] and $SlaveUser['debug'] were arrays before attempting to combine them.
    • Removed use of getimagesize from as it is resource hungry and causes more issues than helps.  Changed to use CSS max-width and max-height instead.  Left as an option in development branch (2.x) but changed html height and width to CSS max-height and max-width.
    • Cache settings now need to be under the advanced group in order to be picked up by Joomla
    • New feature for all plugins. People can now prevent inactive or blocked accounts being created in slave softwares. This fixes a main issue with the gallery2 software that has not got inactivation or blocked user options. In addition it will allow other plugins to allow user creation for only approved users.
    • Extended JFusion's public api to include parseRoute and buildRoute which in turn are called from JFusion's router.php file when Joomla's SEF is enabled.  This gives opportunity to the plugin to manipulate specific vars before Joomla builds the URL.  For example, this should fix the issue where Joomla converts - to : which messes up phpBB which uses a dash in the f variable for PM folders.  Now JFusionPublic_phpbb3::parseRoute reparses a colon in the f variable back to a dash.
    • Fixed it so that the wizard did not overwrite existing parameters but rather merged params passed from setupFromPath() with existing params.
    • Prevented callback to active plugin when updating block or activation status.
    • Added a catch to prevent logins to other softwares if AEC rejected a login.
    • Changed the usersync ajax url location to use JURI instead of a function to get the url from joomla_int. This was preventing some people from sycning when their joomla_int url was www.domain.com and the sync was coming from domain.com/administrator
    • Backed up and restored session token so that "Invalid token" is prevented upon a login if the session is tampered with by a JFusion frameless plugin.
    • Improved DSSO support for various plugins
    • Added uninstall support for plugins and updated phpBB, vB, SMF, and Dokuwiki to support this (remove auth mods, redirect mods, etc upon uninstalling Jfusion)
    • Auth plugin - changed it to where we first try to authenticate via JFusion in the case that the user was created by JFusion and password hashes need to be interpreted by other algorithms.  Only if isAdmin() and the JFusion auth routines fail do we call up Joomla's auth plugin directly in case the master is something other than joomla_int.
    • User sync log is now handled by a database backend to support large syncs
    • Fixed an issue with usersync where the usersync could have two simultaneous syncs going on due to the fact that Joomla does not save session data until after the script completes exectution.  Fixed by adding an active column to the jfusion_sync table and making note of an active sync there rather than using the session.
    • Joomla does not clear out its activation column when a user is manually unblocked.  We account for this in joomla's getUser() but not when editing the user via the user manager.  Thus, added a fix to the user plugin to update clear the activation if Joomla's user is unblocked as Joomla considers a user activated if they are no longer blocked.
  • Who's Online Module
    • Fixed issue with who's online module where the display mode was not honored. (Bug #683)
  • Login Module
    • Fixed: error where creating message would be wrong if avatar was set to joomla_int (or not defined), when logged in
    • Added view mode for login module it can now be set to horizontal mode.
  • Discussion bot
    • Fixed issue for discussion bot where the thread's datetime was off if config set to use Joomla's article date as thread date and Joomla's global timezone was set to something other than UTC.
    • Fixed issue with discussion bot where it ignored the alternate profile url setting.
    • Fixed issue with character limits for discussion bot.
  • System Plugin
    • Fixed issue where slave's keepAlive was commented out
    • Renamed keepAlive to syncSessions that accepts a $keepalive boolean by the system plugin if configured by admin.  syncSessions will now keep sessions in sync based on remember me options if keep alive is disabled.  For example, if Joomla has a persistant cookie and phpBB is not logged in, phpBB's session is restored.  But, if Joomla is not logged in and no persistent cookie is present, phpBB's session will be destroyed as well. If keep alive is enabled, then as long as one software has an active session, the other will be restored as well.
  • joomla_int/joomla_ext Plugins
    • Fixed bad joomla register url in getRegistrationUrl()
    • Fixed params missing from query if using user identifier other than username in joomla_int
    • Added CB support for user activation/block status returned by Joomla.
    • Prevented php notice if Joomla user did not have a salt.
    • Added better handling of password salts with colons in them
  • phpBB Plugin
    • Added get/post var backup to the phpbb3 session synchronising code to ensure that posting data never gets lost, even if a user waits a day before submitting the post (after opening the reply window in his browser)
    • The whos online mod now excludes users that have hidden sessions
    • Prevented error message from reverse dual login of phpbb3, due to JRequest not being loaded
    • Fixed issue where a founder was not given access to all forums
    • Fixed issue where all the groups the user belonged to were not taken into consideration
    • Fixed issue where having two activity modules on the same page that pulled from different forums resulted in the second module not showing any posts.
    • Prevented error message if people run multiple phpbb3 jfusion plugin copies with multiple "direct login" selected
    • Fixed an issue with phpBB frameless where the rediretion code caused file.php to not function.  This requires the redirection mod to be reinstalled.
    • Added native tapatalk support for redirect mods for phpBB and vB.
    • Removed cookie expiry from phpBB options.  Reason is this.  phpBB itself sets the cookie expiration with one of two options. One, with the max number of days for autologin if allowed.  Or two, a year from time of login.  It handles expired sessions via the database not via cookies.  Most users set the cookie expiration in JFusion to be the same as the session lifetime in phpBB.  So what happened was that the cookies expired the same second that phpBB went looking for the persistant cookie to renew the session.  It found that all cookies were missing and thus created a guest session.  This commit should correct this issue so that phpBB honors the persistant cookies created by JFusion.  Of course this is only in the case that autologin is enabled in both JFusion's config for phpBB and phpBB itself.
    • Added searchuser to the phpbb3 frameless embed exception list to prevent joomla frame being shown on that page.
    • Fixed an issue with phpBB frameless in mcp.php where Lookup IP links and others did not work. Note that a bug in phpBB must also be fixed for this issue to be totally resolved.  See http://www.phpbb.com/bugs/phpbb3/59945.
    • Made phpBB's keepAlive function take into account phpBB's persistant cookie.
    • In recent versions, Joomla was losing its database connection if phpBB was frameless and initiating the login.  Fixed by making sure that Joomla's DB was connected if frameless and then restoring phpBB's database after logging in or out.
    • On some servers, logging in or logging out while frameless caused a blank page with nothing in the logs.  So gave option to force a redirect on login, logout, or both.  This can be set by changing the FORCE_REDIRECT_AFTER_LOGIN and/or FORCE_REDIRECT_AFTER_LOGOUT constants at the top of the file to 1.
    • Finally on some servers, if phpBB was standalone and initiated the login, PHP was serializing and/or encrypting the session data in Joomla's database in such a format that Joomla couldn't read later which resulted in a failed login to Joomla (couldn't figure out why).  Fixed this by assigning session_encode() to a variable then overwriting the session data in Joomla's session table with that if phpBB was standealone (not frameless).
    • Fixed issue with phpbb forum filtering based on user permissions for the search plugin if it was selected to use all forums.
    • Fixed issue where enabling/disabling the  auth method caused issues in phpBB when a) the database was updated but the file was not copied or b) phpbb's config cache was not deleted
    • Cleared out phpBB's cached user permissions after updating a user's group(s).
    • Gave phpBB option to force new link for its database connections to keep it separate from Joomla's.  This defaults to no but may need to be turned on to yes for some servers as the server gets connections, databases, etc confused and things just fail to work even with all our other "fixes" in place.
    • Fixed issue where if phpBB's default group was set to NEWLY_REGISTERED, the user became groupless after it reached its number of minimal posts.  Fixed by adding the user to the REGISTERED group in addition to NEWLY_REGISTERED.
    • Removed excessive debug messages for phpBB deleteUser()
    • Fixed an issue with phpBB quickmod action URLs when sefmode = 1 (/key,var/).  Closes bug 676.
    • Fixed issue with phpBB where the page the user was viewing was not correctly extracted if using frameless integration.
    • Fixed issue where phpBB's group attributes were not taken into consideration when creating a new user or updating the user group.
    • Extended phpBB custom urls to include URLs for edit profile, edit account, and edit avatars (in case phpBB hacked to display 3rd party avatars) for seamless integration.
  • vB Plugin
    • Fixed issue with not being able to configure a new vB plugin.
    • Fixed remember me option for vB.
    • Cleaned up destroySession() for vB.  Added a catch to check for curl and simply clear the cookies if it is not installed.
    • Added some useful debugging info to createSession() for vB rather than just displaying "Session is already active."
    • Fixed issue for vB discussion bot where the forum stats were not correctly updated if using the article's creation date.
    • Fixed an issue with vB curl logout where logouthash was incorrect due to a misnamed variable.
    • Made vBulletin username case insensitive to mimic vBulletin's standard login process.
    • Fixed issue in vB frameless where ajax created content was not parsed for frameless integration.
    • Fixed issue where the vB plugins defined JPATH_SITE with /administrator in the path.
    • Added option to vB to return users as banned if they are in the COPPA group.  This gives admin the option of preventing the user access to the other softwares if vB is master and they user is waiting to be moderated.
    • Added native tapatalk support for redirect mods for phpBB and vB.
    • Fixed an issue with vB activity results where it displayed each post twice if using LCP with a custom profile field selected as the name.
    • Fixed issue with vB hooks file where it would not allow user to login if old dual login plugin was installed.
    • Fixed a dual login issue where vB 4 automatically added an underscore to the cookie prefix.
    • Added basic SEF support for vB 4.0 URLs used in JFusion modules and plugins (search/discussion bot).
    • Fixed issue with vB's getAvatar() for certain configurations.
    • Fixed an issue with vB destroySession when curl is not installed but yet I still use curl functions to create cookies.
    • Fixed issue with vB getUser where a query with multiple table joins took multiple times longer to process for large databases than three single table queries.
    • Fixed issue with html entities getting double encoded in titles for vB threads (discussion bot)
  • SMF Plugin
    • Fixed issue with SMF getActivityQuery for LCP mode when the module is configured to display specific forums.
    • Fixed: redirect from bad url when logout
    • Disabled the smf keepalive code again. it cause problems with login
    • Improved SMF url parsing
    • SMF's prepareText should now convert all its native bbcode to html for activity module and discussion bot.
    • Fixed: issue with amp in smf url when in non sef mode.
  • Gallery 2 Plugin
    • Fixed: Gallery2 notification error.
    • Fixed: getusercount to return the same count as getuserlist.. it was causing the use sync to loop and loop and loop, and never finish
    • Fixed issue with gallery 2 search, error was that gallery 2 used a method get, that caused things not to be set.
    • Fixed issue with gallery 2 where "error" in file output of a blank line would cause it to look like it would output nothing (blank page) used trim to make sure this don't happen again
    • osCommerce Plugin:
    • Corrected a misplaced quote character in a switch statement
    • Prevented a PHP warning for osC 2.x
    • Speal treatment for osC 3 logout added
  • Dokuwiki Plugin
    • Updated Dokuwiki::getConf to recognize conf directories that have been moved outside of the wiki root
    • Changed createSession and destroySession to directly create cookies as IE was not recognizing logins generated via the cURL method (logins quicker as well)
    • Created a plugin for Dokuwiki that gives control over cookie domain and path so that dual login works correctly between Joomla and Dokuwiki.  jfusion folder must be moved into {wiki_root}/lib/plugins/.  See jfusion/conf/default.php for config options to put in config file.  If dual login enabled from standlone Dokuwiki to Joomla, Dokuwiki must be on same domain (eg. jfusion.org (Joomla) and wiki.jfusion.org (wiki) will not totally work as Joomla does not allow customization of cookie domains; unless Joomla is hacked of course). But, jfusion.org and jfusion.org/wiki will.
    • Fixed problem with direct links to: "lib/exe/mediamanager.php"
  • Magento Plugin
    • Added Magento modules
    • Added system magelib plugin for Joomla
    • Logout now defaults to an URL logout, so the user is realy logged out. Previous versions did a brute_force logout, eg started a new session without the user actually logging out.
    • Add support for caching system in Jfusion module for Magento
    • Improved DSSO support
  • eFront Plugin
    • New plugin added!
  • Moodle Plugin
    • Small bug repaired in Moodle admin
Comments (14)Add Comment
7957
...
written by chivitli, July 07, 2010
Congratulations!
9662
...
written by Peter Tailorman, July 07, 2010
Brilliant!
12078
Nice work....
written by Brandon Moreles, July 08, 2010
Nice work guys, as always. We thank you.....
13841
...
written by tom_il, July 08, 2010
nice work guys, thx
13841
...
written by tom_il, July 08, 2010
thx guys for the hard work
13174
...
written by Erik Berkun-Drevnig, July 08, 2010
That is a massive list of changes, good job
0
ipb?
written by Natsuki Tenshi, July 08, 2010
Where is the ipb? =(
0
Where is wordpress
written by Dwija, July 09, 2010
Guys,

I badly need wordpress smilies/cry.gif smilies/cry.gif smilies/cry.gif

the day wordpress is added I am going to chipin a treat ! smilies/wink.gif
13520
Olé!
written by Davide, July 10, 2010
Excellent news guys.
0
InvisionBoard
written by zappaduu, July 10, 2010
where is promised IPB plugin? IPB have been given even license to do this thing work...
7711
...
written by Alan, July 10, 2010
Wordpress will be part of our next generation JFusion (2.0) as part of our universal plugin.

The Invision IPB plugin has to be made from scratch so it will take some time to complete it. We'll announce when its ready.

Thanks,
Alan
0
Love you !! Alan
written by Dwija, July 11, 2010
Great to hear that Wordpress is included in the future plan.

Do we have any roadmap for Version 2.0 ? keep up the good work !
0
...
written by Josemi, July 14, 2010
For when can be expect jFusion 2.0? And support for MantisBT? Also a OpenCart plugin would be great.
0
...
written by yiwu, August 26, 2010
I like joomla, not wordpress.

Write comment

busy