VIVO-541 First cut at the developer panel.

This commit is contained in:
j2blake 2013-11-17 11:50:26 -05:00
parent 417e449b87
commit 64685d84b6
5 changed files with 22 additions and 150 deletions

View file

@ -196,41 +196,10 @@ RDFService.languageFilter = true
# #
# http.createCacheHeaders = 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 <code>false</code>, 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
# <code>false</code>, 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
# <code>false</code>.
#
# developer.insertFreemarkerDelimiters = true
# #
# For OpenSocial integration # For OpenSocial integration
# The base URL of the ORNG Shindig server. Usually, this is the same host and port # 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 #OpenSocial.shindigURL = http://localhost:8080/shindigorng

View file

@ -863,65 +863,6 @@ issuing SPARQL queries that read data, and its URI for issuing SPARQL UPDATE com
</td> </td>
</tr> </tr>
<tr>
<td colspan="2">
<b>For developers only.</b>
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 <code>false</code>, which
means that a cached copy of each template will be used for 60 seconds
before the disk is checked for a new version.
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
</td>
</tr>
<tr class="odd_row">
<td>
developer.defeatFreemarkerCache
</td>
<td>
false
</td>
</tr>
<tr>
<td colspan="2">
<b>For developers only.</b>
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 <code>false</code>, which means that the language file is
read when VIVO starts up, or when a new theme is selected.
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
</td>
</tr>
<tr class="odd_row">
<td>
developer.defeatI18nCache = true
</td>
<td>
false
</td>
</tr>
<tr>
<td colspan="2">
<b>For developers only.</b>
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 <code>false</code>.
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
</td>
</tr>
<tr class="odd_row">
<td>
developer.insertFreemarkerDelimiters = true
</td>
<td>
false
</td>
</tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
On the VIVO home page, display a global map highlighting the geographical focus On the VIVO home page, display a global map highlighting the geographical focus

View file

@ -52,6 +52,7 @@
<li><a href="#language">Support for additional languages</a></li> <li><a href="#language">Support for additional languages</a></li>
<li><a href="#extended_lod">More compact responses to Linked data requests</a></li> <li><a href="#extended_lod">More compact responses to Linked data requests</a></li>
<li><a href="#google_refine">Changes to default types for Google Refine</a></li> <li><a href="#google_refine">Changes to default types for Google Refine</a></li>
<li><a href="#developers">Special runtime settings for developers</a></li>
</ol> </ol>
</li> </li>
<li><a href="#upgrade_process">Upgrade Instructions</a></li> <li><a href="#upgrade_process">Upgrade Instructions</a></li>
@ -423,6 +424,15 @@
</p> </p>
</li> </li>
<li>
<h4 id="developers">Special runtime settings for developers</h4>
<p>
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 <code>example.developer.properties</code>.
</p>
</li>
<li> <li>
<h4 id="browsers">Supported Browsers</h4> <h4 id="browsers">Supported Browsers</h4>
<p> <p>
@ -613,65 +623,6 @@
</td> </td>
</tr> </tr>
<tr>
<td colspan="2">
<b>For developers only.</b>
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 <code>false</code>, which
means that a cached copy of each template will be used for 60 seconds
before the disk is checked for a new version.
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
</td>
</tr>
<tr class="odd_row blue">
<td>
developer.defeatFreemarkerCache
</td>
<td>
false
</td>
</tr>
<tr>
<td colspan="2">
<b>For developers only.</b>
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 <code>false</code>, which means that the language file is
read when VIVO starts up, or when a new theme is selected.
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
</td>
</tr>
<tr class="odd_row blue">
<td>
developer.defeatI18nCache
</td>
<td>
false
</td>
</tr>
<tr>
<td colspan="2">
<b>For developers only.</b>
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 <code>false</code>.
<br/><b>Setting this option to "true" slows down VIVO performance.</b>
</td>
</tr>
<tr class="odd_row blue">
<td>
developer.insertFreemarkerDelimiters
</td>
<td>
false
</td>
</tr>
<tr> <tr>
<td colspan="2" id="optionalMap"> <td colspan="2" id="optionalMap">
On the VIVO home page, display a global map highlighting the geographical focus On the VIVO home page, display a global map highlighting the geographical focus

View file

@ -853,6 +853,15 @@
<url-pattern>/searchHelp</url-pattern> <url-pattern>/searchHelp</url-pattern>
</servlet-mapping> </servlet-mapping>
<servlet>
<servlet-name>DeveloperAjax</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.utils.developer.DeveloperSettingsServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DeveloperAjax</servlet-name>
<url-pattern>/admin/developerAjax</url-pattern>
</servlet-mapping>
<!-- for now, need to make sure the links on CALS' site doesn't break --> <!-- for now, need to make sure the links on CALS' site doesn't break -->
<servlet-mapping> <servlet-mapping>
<servlet-name>SearchController</servlet-name> <servlet-name>SearchController</servlet-name>

View file

@ -2,6 +2,8 @@
</header> </header>
<#include "developer.ftl">
<nav role="navigation"> <nav role="navigation">
<ul id="main-nav" role="list"> <ul id="main-nav" role="list">
<#list menu.items as item> <#list menu.items as item>