Release Notes v8.3 - tooltwist/documentation GitHub Wiki

Developing for ToolTwist in Eclipse
Upgrading to v8.3 from previous versions
Deploying with the v8.3 Controller
Understanding the 8.3 Controller
Using Artifactory

Release Notes

Simplified Designer

The Simplified ToolTwist Designer (STD) allows untrained people to modify text on specially prepared ToolTwist pages.

non-technical (non-programmers, non-web designers, non-faniliar with ToolTwist)

Config file locations

Configuration files are now placed in a directory named site-conf/conf, which should be located separate to the rest of the application so it won't be overwritten during installs. For example, on a deployed server the top level directory will typically look like this:

    $HOME
    |
    +-- server
    |    +-- tomcat
    |    +-- extension-projects
    |    +-- etc
    |
    +-- serverkit
    |
    +-- site-conf
    |    +-- bin
    |    +-- conf
    |         +-- filemap.xml
    |         +-- logback.xml
    |         +-- tooltwist.conf
    |         +-- wbd.conf
    |

Deployment occurs beneath the server directory. With these files moved a level above the server directory they will not be effected by deploys.

Note that wbd.conf has been moved into the new config directory as well.

Changed API

  • WbdCache.findNavPoint() is now WbdCache.findNavpointInAnyLoadedProject()

  • WbdCache.findRootNavpoints() is now WbdCache.rootNavPointsInAllLoadedProjects()

  • WbdCache.getWbdConfigFile(), which returns the full path to wbd.conf, has been replaced by getWbdConfigFilename() which only returns the filename.

  • Removed WidgetHelper.getNavPointOnUr(url) and WidgetHelper.isValidRedirectUrl(url). Let Phil know if you need them back.

  • In your renderForDesigner and renderForJSP functions, use generator.getProject().findNavpoint() rather than WbdCache.findNavpoint().

Mustache Widgets

Security Plugins

Build using Gradle

Controller

FIP has been updated so that rules to ignore files on the source machine are observed also on the destination machine. For example, the following lines in /ControllerV8/config-files/rules.launchpad.txt will prevent the non-application related files in the tomcat directory from being overwritten or deleted.

    ignore tomcat/bin/.*
    ignore tomcat/conf/.*
    ignore tomcat/work/.*
    ignore tomcat/logs/.*
    ignore tomcat/temp/.*

Commit log

55f963b Restrict navpoint operations in Designer to current webdesign project  
c57951c Add "temporary simple mode"  
6aa8d84 Add extra "from" parameter to some Ajax calls, to simplify debugging.  
abb1f4d Changes to "simple mode" display on Designer screen.  
3929e88 Correct bug preventing property dialogs being displayed  
5a76274 Limit the replacement only on the specified navpoints  
3b39376 Fix rounded borders/background images in Doctype 5.0 but preserved compatibility with existing code  
e94c562 Added validation for non link navpoints (Group/No Page) and removed the left padding for breadcrumbs  
7909c90 Various Fixes - Added switch button in Standard mode (Simple/Standard) - Added progress notification upon saving - Added userpreferences for default designer mode in standard mode - Other minor  
e29853c Ensure the tinymce toolbar remains above the marching ants that show editable areas.  
0cf1437 If switching from non-simple to simple mode, don't display grid lines  
6659bc7 Fix bug adding navpoint in simple mode, where navpoint fields are not initialized  
043bfa0 Adding a navpoint in simple mode - include non-toolbox templates ending in "page_template"  
e9da96a Add undo/redo buttons and change appearance of menu bar  
ef14ab9 Fix bug that causes stylesheets to be published as an empty file.  
5db87d4 Include zones in "List widgets by status" and "List widgets being edited"  
34d0581 Fix #250, moving widgets  
fd5ce20 Fix bug where navpoint referencing a widget is not shown in usage tab  
7e962e4 Better error message when a widget class references a class in a missing jar file  
8b73521 Fixes #247  
da3a181 Don't allow strings to be edited if the pag is not editable  
45390a8 Ignore case when sorting widgets (e.g. for the Designer's tree)  
ba92326 Send HTML in the titles for the tree  
e6efe61 Only allow editing Javascript and CSS tabs if the appropriate permission is available  
f07a088 Handling of edit snippet tabs in different modes - some situations didn't allow user to edit snippets.  
3fae78f Fixes for converting URLs  
9326ff6 RichTextWidget now converts %%URL(...)%%  
dc3f2ac Stack overflow dragging items onto basket.  
3024447 Changes to OptimizerPlugin_convertUrls.java  
ca335a8 Don't require comment for approval status change.  
f7278ef Added menu option to flush (and hence reload) cache in the Designer  
80c96c2 Added 'no-properties' constructor for ProductionHelperCodeInserter  
4d2906a Added new method WbdCache.contextPath(), to replace WbdCache.webappPrefix()  
0d2a9e6 Use default OSX Java  
233e06b Corrected problem where String properties could not contain '  
01fed4b Allow WbdStringProperties to be edited in the V8 property dialog  
e32d109 Added escape handling functions to WbdRenderHelper  
c6e3de4 Allow myrp Richtext areas to be edited, even though they respond to click events  
44fd7df Stopped TinyMCE from changing URLs  
dd2d838 Created ViewHelper class, that will eventually obsolete ProductionHelper.  
67028d1 Changed location of pagedata files  
6a5a21b Ability to pass properties to ProductionHelper (rather than SnippetParams)  
630f5d1 Removed unneeded 'skip' parameter for 'replaceVariablesInJSPs' optimizer plugin.  
f3e950a Only show canonical meta-tag if canonicalUrl has been defined.  
24e5362 Added optimization plugin to replace variables in navpoint files.  
5ed0b76 Re-added 'check page definition' menu item  
d739993 Prevent cloning onto another user's scratch widget  
e989e54 Added support for canonical URLs  
0666b38 Remove converting case of SEO Booster  
87726bd Shared zones  
32fdaf4 updates for asset widget - aws s3 implementation  
6eeab58 Designer tree was dying when navpoint label contained a quote  

--