Switch Sakai to Inlining Tools By Default
Description
Environment
Test Plan
depends on
is depended on by
is related to
relates to
Activity

Charles R Severance June 24, 2015 at 11:41 PM
This is quite done.

Hudson CI Server December 23, 2014 at 1:05 PM
SUCCESS: Integrated in sakai-trunk-java-1.7 #592 (See http://builds.sakaiproject.org:8080/job/sakai-trunk-java-1.7/592/)
Switch to inline by default
sakai.samigo
sakai.preferences
sakai.lessonbuildertool (csev@umich.edu: rev 316256)

Charles R Severance December 23, 2014 at 9:23 AM
Samigo, preference, and lesson builder seem to be working fin inlined - so they now inline by default.

Hudson CI Server December 1, 2014 at 1:36 PM
SUCCESS: Integrated in sakai-trunk-java-1.7 #541 (See http://builds.sakaiproject.org:8080/job/sakai-trunk-java-1.7/541/)
Remove unused constant. (csev@umich.edu: rev 315790)
Completely walk through the inlining process to look at how tools that
use the suppress-title function (a.k.a. Lessons). The portal code's
attempt to support these suppress-title tools was a mess to say the least.
The biggest issue is the "Reset/Home" button across various types of
tools (Velocity, JSF, RSF, Wicket etc). This cleans up
the flow through the Handlers and Skinnable Charon Portal.
Remove support for the never used SAKAI_PORTAL_BREADCRUMBS
Clean up the processing of tool-reset so we only do it once
Remove the neo strings from session when no longer needed
after inlining ()Clean up indentation on / r315621
Remove redundant, unused and now incorrect code that supported the
original portal.experimental.iframesuppress feature in Sakai 2.5 (r35170)
from ieb in IFrameToolRenderService.javaAdd extensive debugging to diagnose issues with inlining. Convert print
statements from into debug statements. These can be viewed with
sakai.properties statements like these:
log.config.5 = DEBUG.org.sakaiproject.portal.charon.SkinnableCharonPortal
log.config.6 = DEBUG.org.sakaiproject.portal.charon.handlers.PDAHandler
log.config.7 = DEBUG.org.sakaiproject.portal.charon.handlers.SiteHandler
log.config.8 = DEBUG.org.sakaiproject.portal.charon.handlers.ToolHandler
log.config.9 = DEBUG.org.sakaiproject.portal.charon.handlers.DirectToolHandler (csev@umich.edu: rev 315788)

Charles Hedrick November 20, 2014 at 9:42 AM
This SAK is being used as the master entry for changes to tools to work with inline and Morpheus. All tool changes should be linked to this Jira.
is being used as the master entry for core changes to implement inlining and Morpheus. I.e. changes in portal and library. Other jiras should be linked to it.
This SAK is being used as the master entry for changes to tools to work with inline and Morpheus. All tool changes should be linked to this Jira.
is being used as the master entry for core changes to implement inlining and Morpheus. I.e. changes in portal and library. Other jiras should be linked to it.
Currently the PDA portal eliminates iframes using an inlining / buffering technique. This technique has been improved over the past few releases to the point where all the tools work in an inlined fashion. This JIRA will track the work toward making tool inlining the sakai-wide default.
As of r311639, the default is to inline iframes for most tools. The following tools are still in iframes:
Lessons, Samigo, Preferences, Resources, and DropBox
If you want to go back to the old defaults set these properties in your sakai.properties:
portal.inline.experimental=false
portal.pda.iframesuppress=:all:
If these new defaults cause problems, we may back off. These defaults apply equally to both the old neo portel and the new morpheus portal.
Here are some sakai.properties settings for debugging the inlining process. It is a bit intricate but a little debug output can be helpful in diagnosing issues.:
log.config.count=6
log.config.1 = DEBUG.org.sakaiproject.basiclti.util.SakaiBLTIUtil
log.config.2 = DEBUG.org.sakaiproject.portal.charon.SkinnableCharonPortal
log.config.3 = DEBUG.org.sakaiproject.portal.charon.handlers.PDAHandler
log.config.4 = DEBUG.org.sakaiproject.portal.charon.handlers.SiteHandler
log.config.5 = DEBUG.org.sakaiproject.portal.charon.handlers.ToolHandler
log.config.6 = DEBUG.org.sakaiproject.portal.charon.handlers.DirectToolHandler