diff --git a/config/example.runtime.properties b/config/example.runtime.properties index f6fce759..587ffb4c 100644 --- a/config/example.runtime.properties +++ b/config/example.runtime.properties @@ -196,41 +196,10 @@ RDFService.languageFilter = true # # http.createCacheHeaders = true -# -# For developers only: Setting this option to "true" slows down VIVO performance. -# -# Defeat the Freemarker template cache, so each template is read from disk -# on each request. This permits developers to immediately see the effect of -# changes to the template. The default is false, which means -# that a cached copy of each template will be used for 60 seconds before -# the disk is checked for a new version. -# -# developer.defeatFreemarkerCache = true - -# -# For developers only: Setting this option to "true" slows down VIVO performance. -# -# Defeat the cache of language-specific text strings, so the language file -# is read from disk on each request. This permits developers to immediately -# see the effect of changes to the text strings. The default is -# false, which means that the language file is read when -# VIVO starts up, or when a new theme is selected. -# -# developer.defeatI18nCache = true - -# -# For developers only: Setting this option to "true" slows down VIVO performance. -# -# Add starting and ending delimiters to each Freemarker template, so you can see -# which template were invoked by viewing the generated HTML. The default is -# false. -# -# developer.insertFreemarkerDelimiters = true - # # For OpenSocial integration # The base URL of the ORNG Shindig server. Usually, this is the same host and port -# number as VIVO iteself, with a context path of "shindigorng". +# number as VIVO itself, with a context path of "shindigorng". # #OpenSocial.shindigURL = http://localhost:8080/shindigorng diff --git a/doc/install.html b/doc/install.html index c30b768e..81f71145 100644 --- a/doc/install.html +++ b/doc/install.html @@ -863,65 +863,6 @@ issuing SPARQL queries that read data, and its URI for issuing SPARQL UPDATE com - - - For developers only. - Defeat the Freemarker template cache, so each template - is read from disk on each request. This permits developers to immediately - see the effect of changes to the template. The default is false, which - means that a cached copy of each template will be used for 60 seconds - before the disk is checked for a new version. -
Setting this option to "true" slows down VIVO performance. - - - - - developer.defeatFreemarkerCache - - - false - - - - - - For developers only. - Defeat the cache of language-specific text strings, - so the language file is read from disk on each request. - This permits developers to immediately - see the effect of changes to the text strings. - The default is false, which means that the language file is - read when VIVO starts up, or when a new theme is selected. -
Setting this option to "true" slows down VIVO performance. - - - - - developer.defeatI18nCache = true - - - false - - - - - - For developers only. - Add starting and ending delimiters to each Freemarker template, so you can see - which template were invoked by viewing the generated HTML. - The default is false. -
Setting this option to "true" slows down VIVO performance. - - - - - developer.insertFreemarkerDelimiters = true - - - false - - - On the VIVO home page, display a global map highlighting the geographical focus diff --git a/doc/upgrade-1.6.html b/doc/upgrade-1.6.html index 0cb35e51..349cb3a0 100644 --- a/doc/upgrade-1.6.html +++ b/doc/upgrade-1.6.html @@ -52,6 +52,7 @@
  • Support for additional languages
  • More compact responses to Linked data requests
  • Changes to default types for Google Refine
  • +
  • Special runtime settings for developers
  • Upgrade Instructions
  • @@ -423,6 +424,15 @@

    +
  • +

    Special runtime settings for developers

    +

    + This release includes several settings to help developers by instumenting the + freemarker templates and the SPARQL queries on the RDFService. Check the wiki for + details, or look in the home directory in example.developer.properties. +

    +
  • +
  • Supported Browsers

    @@ -613,65 +623,6 @@ - - - For developers only. - Defeat the Freemarker template cache, so each template - is read from disk on each request. This permits developers to immediately - see the effect of changes to the template. The default is false, which - means that a cached copy of each template will be used for 60 seconds - before the disk is checked for a new version. -
    Setting this option to "true" slows down VIVO performance. - - - - - developer.defeatFreemarkerCache - - - false - - - - - - For developers only. - Defeat the cache of language-specific text strings, - so the language file is read from disk on each request. - This permits developers to immediately - see the effect of changes to the text strings. - The default is false, which means that the language file is - read when VIVO starts up, or when a new theme is selected. -
    Setting this option to "true" slows down VIVO performance. - - - - - developer.defeatI18nCache - - - false - - - - - - For developers only. - Add starting and ending delimiters to each Freemarker template, so you can see - which template were invoked by viewing the generated HTML. - The default is false. -
    Setting this option to "true" slows down VIVO performance. - - - - - developer.insertFreemarkerDelimiters - - - false - - - On the VIVO home page, display a global map highlighting the geographical focus diff --git a/productMods/WEB-INF/web.xml b/productMods/WEB-INF/web.xml index 8fc98681..c4877446 100644 --- a/productMods/WEB-INF/web.xml +++ b/productMods/WEB-INF/web.xml @@ -853,6 +853,15 @@ /searchHelp + + DeveloperAjax + edu.cornell.mannlib.vitro.webapp.utils.developer.DeveloperSettingsServlet + + + DeveloperAjax + /admin/developerAjax + + SearchController diff --git a/themes/wilma/templates/menu.ftl b/themes/wilma/templates/menu.ftl index 71da4e1f..a3476b82 100644 --- a/themes/wilma/templates/menu.ftl +++ b/themes/wilma/templates/menu.ftl @@ -2,6 +2,8 @@ +<#include "developer.ftl"> +