2018-04-23 10:02:51 +02:00
# -----------------------------------------------------------------------------
#
# Vitro runtime properties
#
# This file is provided as example.runtime.properties.
#
2019-04-25 14:51:38 -07:00
# Save a copy of this file as runtime.properties in your Vitro home directory,
2018-04-23 10:02:51 +02:00
# and edit the properties as needed for your installation.
#
# -----------------------------------------------------------------------------
2019-04-25 14:51:38 -07:00
#
2018-04-23 10:02:51 +02:00
# URL of Solr context used in local Vitro search. This will usually consist of:
# scheme + server_name + port + vitro_webapp_name + "solr"
# In the standard installation, the Solr context will be on the same server as Vitro,
# and in the same Tomcat instance. The path will be the Vitro webapp.name (specified
# above) + "solr"
# Example:
# vitro.local.solr.url = http://localhost:8080/vitrosolr
vitro.local.solr.url = http://localhost:8080/vitrosolr
#
2019-04-25 14:51:38 -07:00
# Email parameters which VIVO can use to send mail. If these are left empty,
2018-04-23 10:02:51 +02:00
# the "Contact Us" form will be disabled and users will not be notified of
# changes to their accounts.
#
email.smtpHost = smtp.my.domain.edu
email.replyTo = vivoAdmin@my.domain.edu
#
2019-04-25 14:51:38 -07:00
# The basic parameters for a MySQL database connection. Change the end of the
# URL to reflect your database name (if it is not "vitro"). Change the username
2018-04-23 10:02:51 +02:00
# and password to match the authorized user you created in MySQL.
#
VitroConnection.DataSource.url = jdbc:mysql://localhost/vitro
VitroConnection.DataSource.username = vitroweb
VitroConnection.DataSource.password = vitrovitro
#
# The maximum number of active connections in the database connection pool.
# Increase this value to support a greater number of concurrent page requests.
#
VitroConnection.DataSource.pool.maxActive = 40
#
# The maximum number of database connections that will be allowed
# to remain idle in the connection pool. Default is 25%
# of the maximum number of active connections.
#
VitroConnection.DataSource.pool.maxIdle = 10
#
2019-04-25 14:51:38 -07:00
# Parameters to change in order to use VIVO with a database other than
2018-04-23 10:02:51 +02:00
# MySQL.
#
VitroConnection.DataSource.dbtype = MySQL
VitroConnection.DataSource.driver = com.mysql.jdbc.Driver
VitroConnection.DataSource.validationQuery = SELECT 1
#
2018-05-18 16:40:08 +02:00
# Argon2 password hashing parameters for time, memory and parallelism required to
# compute a hash.
2018-04-23 10:02:51 +02:00
#
2018-05-18 16:40:08 +02:00
# A time cost defines the amount of computation realized and therefore the execution
# time, given in a number of iterations.
2018-04-23 10:02:51 +02:00
# A memory cost defines the memory usage, given in kibibytes
# A parallelism degree defines the number of parallel threads
2018-05-18 16:40:08 +02:00
# For determining the optimal values of the parameters for your setup please refer to
# the white paper section 9
# https://github.com/P-H-C/phc-winner-argon2/blob/master/argon2-specs.pdf
2018-04-23 10:02:51 +02:00
#
2018-05-09 13:51:11 +02:00
argon2.parallelism = 1
2018-04-23 10:02:51 +02:00
argon2.memory = 1024
argon2.time = 1000
#
2019-04-25 14:51:38 -07:00
# How is a logged-in user associated with a particular Individual? One way is
2018-04-23 10:02:51 +02:00
# for the Individual to have a property whose value is the username of the user.
# This is the name of that property.
#
selfEditing.idMatchingProperty = http://vitro.mydomain.edu/ns#networkId
#
# If an external authentication system like Shibboleth or CUWebAuth is to be
# used, these properties say how the login button should be labeled, and which
# HTTP header will contain the user ID from the authentication system. If such
2019-04-25 14:51:38 -07:00
# as system is not to be used, leave these commented out. Consult the
# installation instructions for more details.
2018-04-23 10:02:51 +02:00
#
#externalAuth.buttonText = Log in using BearCat Shibboleth
2019-04-25 14:51:38 -07:00
#externalAuth.netIdHeaderName = remote_userID
2018-04-23 10:02:51 +02:00
#
# Types of individual for which we can create proxy editors.
# If this is omitted, defaults to http://www.w3.org/2002/07/owl#Thing
proxy.eligibleTypeList = http://www.w3.org/2002/07/owl#Thing
#
2019-04-25 14:51:38 -07:00
# Show only the most appropriate data values based on the Accept-Language
2018-04-23 10:02:51 +02:00
# header supplied by the browser. Default is false if not set.
#
# RDFService.languageFilter = true
#
2019-04-25 14:51:38 -07:00
# Tell VIVO to generate HTTP headers on its responses to facilitate caching the
# profile pages that it creates.
2018-04-23 10:02:51 +02:00
#
2019-04-25 14:51:38 -07:00
# For more information, see
2018-04-23 10:02:51 +02:00
# https://wiki.duraspace.org/display/VIVO/Use+HTTP+caching+to+improve+performance
#
# Developers will likely want to leave caching disabled, since a change to a
2019-04-25 14:51:38 -07:00
# Freemarker template or to a Java class would not cause the page to be
2018-04-23 10:02:51 +02:00
# considered stale.
#
# http.createCacheHeaders = true
#
2019-04-25 14:51:38 -07:00
# Force VIVO to use a specific language or Locale instead of those
# specified by the browser. This affects RDF data retrieved from the model,
2018-04-23 10:02:51 +02:00
# if RDFService.languageFilter is true. This also affects the text of pages
2019-04-25 14:51:38 -07:00
# that have been modified to support multiple languages.
2018-04-23 10:02:51 +02:00
#
# languages.forceLocale = en_US
#
# A list of supported languages or Locales that the user may choose to
Sprint i18n with main (#209)
* Layer uqam updates onto master (minus trailing whitespace)
* Update RDFServiceFactorySingle.java
* Sprint i18n whitespace (#143)
* Removed extraneous whitespace
- modified: api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/VTwo/BaseEditElementVTwo.java
* move RootUserPolicy.java from VIVO to Vitro repo.
* Remove blank line
* Fixed indentations
* Update whitespace for: TemplateProcessingHelper.java
* Update whitespace for: RDFServiceModel.java
* Removed extraneous whitespaces.
* Tagging UQAM Comments with following tags
-Add-Feature
-Optimization
-Linguistic-Management
-Bug-Correction
* Resolve compilation failures in Vitro tests
* Remove whitespace changes from SelectListGeneratorVTwo.java
* Add null check on field values of RDF Form (#158)
Resolves: https://jira.lyrasis.org/browse/VIVO-1800
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Fix incorrect tool-tip in language selection dropdown (#156)
Resolves: https://jira.lyrasis.org/browse/VIVO-1783
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Sprint i18n/lang filtering model (#159)
* Add language-aware graph filtering instead of layering on additional RDFService
Resolves: https://jira.lyrasis.org/browse/VIVO-1771
* Remove hardcoded link label (#161)
Resolves: https://jira.lyrasis.org/browse/VIVO-1779
* Enable filtering of non-enabled i18n language files from being loaded into triple store (#160)
Define name of available language listing file (found in Vitro-languages)
Update RDFFilesLoader method interfaces to include ServletContext
Part of resolution to: https://jira.lyrasis.org/browse/VIVO-1836
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Add i18n version of Edit page title (#157)
Related to: https://jira.lyrasis.org/browse/VIVO-1779
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Changing ontology extensions for n3 & assigning a base IRI to each (#163)
ontology
Co-authored-by: michelheon <heon@videotorn.ca>
Co-authored-by: Andrew Woods <awoods@duraspace.org>
https://jira.lyrasis.org/browse/VIVO-1862
* Update sprint-i18n with master branch (#166)
* Make data property richtext editor option selectable from UI
* [VIVO-1755] - Better error handling when reasoner disabled (#137)
* Better error handling when reasoner disabled
* Change reasoner error log message to debug
* Extend reasoner status error handling
* Improve reasoner error log message and extend to JenaAdminActions
* Bump up log level for admin action to 'warn' and edit admin panel error message
* Change Model writer lang from "N3-PP" to "N3" (#149)
Resolves: https://jira.lyrasis.org/browse/VIVO-1761
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* [VIVO-1851] - Add 'remove' option to named graph management page (#162)
* Add 'remove' option to named graph management page
Resolves: https://jira.lyrasis.org/browse/VIVO-1851
* [VIVO-1872] - Add download option to SPARQL Query page (#164)
* Add download option to SPARQL Query page
* Set SPARQL query results content type even if downloading
* Address pull request comments
Co-authored-by: gneissone <mbgross@wustl.edu>
Co-authored-by: Ralph O'Flinn <roflinn@users.noreply.github.com>
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* [VIVO-1839] - Use language name for selector instead of flags (#165)
* Use language name for selector instead of flags
* Add country name to language selector
* Increase min-width of language dropdown
* Update data tree comment in languageSelector.ftl
* Min-width for language dropdown
* Language dropdown css adjustment
* Capitalize locale label
* Indent on languageSelector.ftl
Resolves: https://jira.lyrasis.org/browse/VIVO-1839
* Adds internationalization to the admin/sparql-query page (#167)
* Adds internationalization to the admin/sparql-query page
Partial resolution of: https://jira.lyrasis.org/browse/VIVO-1873
* Add i18n for 'save query result'
Related to: https://jira.lyrasis.org/browse/VIVO-1873
* code review
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* removed redundat files which are now available via Vitro- and VIVO-languages
* Making UQAM-optimization aware of https://
* Add parent reference to installer/pom.xml (#174)
Resolves: https://jira.lyrasis.org/browse/VIVO-1903
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Revert non-function RDF changes (#177)
Related to: https://jira.lyrasis.org/browse/VIVO-1905
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Ensure 'other' in Individual->Teaching->advisees->type is translated
Partial resolution to: https://jira.lyrasis.org/browse/VIVO-1881
* Re-add logic from commit 7420957
* [VIVO-1812] use i18n translation for validation messages (#179)
* replace constants with i18n text in BasicValidationVTwo
* use constants for i18n template key
Partial resolution of: https://jira.lyrasis.org/browse/VIVO-1812
* added js_string at i18n strings to handle quotes properly, ticket vivo-1842 (#180)
Partial resolution for: https://jira.lyrasis.org/browse/VIVO-1842
* [VIVO-1870] simplify and concat translation for browse by vclass (#182)
* simplify and concat translation for browse by vclass
Partial resolution of: https://jira.lyrasis.org/browse/VIVO-1870
* [VIVO-1900] i18n: added empty check for getCountry, fixing bug with spanish label (es) (#181)
* added empty check for getCountry, fixing bug with spanish label (es), ticket vivo-1900
Partial resolution to: https://jira.lyrasis.org/browse/VIVO-1900
* [VIVO 1870] update i18n key to JavaScript mapping (#183)
* update menupage-script i18n key to JavaScript mapping
Follow-on to resolution of: https://jira.lyrasis.org/browse/VIVO-1870
* [VIVO-1837] get i18n bundle from WebappDaoFactoryConfig preferred locales (#178)
* apply i18n text to VClassDaoJena.getLabelForClass
* expose i18n bundle through webapp dao factory interface
* use whole messages for i18n
* if request available use request bundle else use context bundle
* clear cache when context theme directory changes
* make getOverridingLocale from context private
* select locale based on preferred locale from webapp dao factory
* use first preferred local even when no selectable locales available on context
* build default preferred locales from default preferred languages
Resolves: https://jira.lyrasis.org/browse/VIVO-1837
* Ensure that "available langs" include base langs (#185)
Resolves: https://jira.lyrasis.org/browse/VIVO-1922
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Ensure I18nStub is initialized before pertinent tests (#186)
Resolves: https://jira.lyrasis.org/browse/VIVO-1923
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* add additional null checks to ensure context is ready for theme change (#187)
* [VIVO-1915] i18n - Adding a label with language tag through the "new" manageLabelsForindividualAddForm.ftl does not take the setting for language tag (#184)
* Fixed bug when addng a label with language tag through managLabelsForindividualAddForm, re ticket VIVO-1915
* removed the language select for managing multi language labels, ticket vivo-1915
* readded the fix for language selection because of the fr-CA version of the manageLabelsForIndividualftl, ticket vivo-1915
* removed earlier fix, removed comments, modified ManageLabelGenrator, ticket vivo-1915
Partial resolution to: https://jira.lyrasis.org/browse/VIVO-1915
* - replaced hard coded "or"s with i18n().or
* [VIVO-1925] i18n: Editing labels results in new label (#188)
* fixed bug: Editing language labels results in new label, ticket vivo-1925
Resolves: https://jira.lyrasis.org/browse/VIVO-1925
* Enable lang selection without need for 'available-langs.properties' (#169)
* Enable lang selection without need for 'available-langs.properties'
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Reduce number of times QuerySolutions are looped in LanguageFilteringRDFService (#194)
- No functional change in this update
Resolves: https://jira.lyrasis.org/browse/VIVO-1931
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Prevent 'ProcessRdfForm.parseN3ToRDF' from using null linguisticContext (#197)
Resolves: https://jira.lyrasis.org/browse/VIVO-1944
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* [Vivo 1918] i18n: Reload firsttime files on start-up if changed (#195)
Co-authored-by: Andrew Woods <awoods@lyrasis.org>
* [VIVO-1936] i18n: updated the language comment in runtime.properties
* ftl function to capitalize group name affording override
* Further i18n for BasicValidationVTwo.java
* Fixed DeletePropertyController.java - getting localname of property properly (#200)
* Fixed DeletePropertyController.java - getting localname of property properly
Resolves: https://jira.lyrasis.org/browse/VIVO-1816
* Removed hardcoded time units by properties calls in dateTimeWithPrecision.ftl
* Use i18n values for date time form (#204)
Resolves: https://jira.lyrasis.org/browse/VIVO-1953
* VIVO-1929: patch authorizing create individual form (#206)
* patch authorizing create individual form
Resolves: https://jira.lyrasis.org/browse/VIVO-1929
* Issue/vivo 1947 (#205)
* Make data property richtext editor option selectable from UI
* Better error handling when reasoner disabled
* Change reasoner error log message to debug
* Extend reasoner status error handling
* Improve reasoner error log message and extend to JenaAdminActions
* Bump up log level for admin action to 'warn' and edit admin panel error message
* Change Model writer lang from "N3-PP" to "N3" (#149)
* Prevent ontology editor and N3 editing from deleting property values in languages other than the one associated with the editing request. [https://jira.lyrasis.org/browse/VIVO-1947]
Resolves: https://jira.lyrasis.org/browse/VIVO-1947
Co-authored-by: gneissone <mbgross@wustl.edu>
Co-authored-by: Ralph O'Flinn <roflinn@users.noreply.github.com>
Co-authored-by: Andrew Woods <awoods@lyrasis.org>
Co-authored-by: Andrew Woods <awoods@duraspace.org>
* Remove comments
Co-authored-by: Andrew Woods <awoods@duraspace.org>
Co-authored-by: Nicolas D <46490666+nicalico@users.noreply.github.com>
Co-authored-by: VIVO UQAM <62542918+UQAM-VIVO@users.noreply.github.com>
Co-authored-by: Matthias Luehr <luehr@hs-mittweida.de>
Co-authored-by: michelheonuqam <heon.michel@uqam.ca>
Co-authored-by: Brian Lowe <brianjlowe@gmail.com>
Co-authored-by: j-dornbusch <joachim.dornbusch@ehess.fr>
Co-authored-by: Michel Heon <heon@videotron.ca>
Co-authored-by: gneissone <mbgross@wustl.edu>
Co-authored-by: Ralph O'Flinn <roflinn@users.noreply.github.com>
Co-authored-by: dofeldsc <dofeldsc@uos.de>
Co-authored-by: root <root@vivo-development.hs-mittweida.de>
Co-authored-by: gneissone <mbgross@unavco.org>
Co-authored-by: William Welling <wwelling@library.tamu.edu>
Co-authored-by: Kampe <Benjamin.Kampe@tib.eu>
Co-authored-by: Gross, Benjamin <benjamin.gross@clarivate.com>
Co-authored-by: matthiasluehr <60263380+matthiasluehr@users.noreply.github.com>
Co-authored-by: nicolasdickner <dickner.nicolas@uqam.ca>
2021-02-10 12:04:01 -05:00
# use instead of the one specified by the browser. The selected language(s)
# must exist in the Vitro-languages repository. This affects RDF data
# retrieved from the model, if RDFService.languageFilter is true.
2019-04-25 14:51:38 -07:00
# This also affects the text of pages that have been modified to support
# multiple languages.
2018-04-23 10:02:51 +02:00
#
# This should not be used with languages.forceLocale, which will override it.
#
# languages.selectableLocales = en, es, fr
2019-08-02 12:20:15 -05:00
# Triple pattern fragments is a very fast, very simple means for querying a triple store.
# The triple pattern fragments API in VIVO puts little load on the server, providing a simple means for getting data from the triple store. The API has a web interface for manual use, can be used from the command line via curl, and can be used by programs.
# tpf.activeFlag = true