diff --git a/dspace/CHANGES b/dspace/CHANGES index 9b0e53b870..81ca1ffdcd 100644 --- a/dspace/CHANGES +++ b/dspace/CHANGES @@ -1,3 +1,6 @@ +(Graham Triggs / Brad Teale / Ed Yu) +- S.F. Patch 1679972 OAIDCCrosswalk NPE and invalid character fix + (Graham Triggs) - S.F. Patch 1749196 Oracle SQL in Bitstream Checker diff --git a/dspace/config/dspace.cfg.initial b/dspace/config/dspace.cfg.initial new file mode 100644 index 0000000000..ca781be22b --- /dev/null +++ b/dspace/config/dspace.cfg.initial @@ -0,0 +1,774 @@ +# +# DSpace Configuration +# +# Revision: $Revision: 2075 $ +# +# Date: $Date: 2007-07-19 20:40:27 +0100 (Thu, 19 Jul 2007) $ +# + +##### Basic information ###### + +# DSpace installation directory +dspace.dir = /dspace/dspace1.5-oracle + +# DSpace base URL. Include port number etc., but NOT trailing slash +dspace.url = http://dspace.myu.edu:8080/dspace + +# DSpace host name - should match base URL. Do not include port number +dspace.hostname = dspace.myu.edu + +# Name of the site +dspace.name = DSpace at My University + +##### Database settings ##### + +# Database name ("oracle", or "postgres") +#db.name = postgres +db.name = oracle + +# URL for connecting to database +#db.url = jdbc:postgresql://localhost:5432/dspace +db.url = jdbc:oracle:thin:@//localhost:1521/xe + +# JDBC Driver +#db.driver = org.postgresql.Driver +db.driver = oracle.jdbc.OracleDriver + +# Database username and password +db.username = dspace15 +db.password = dspace + +# Connection pool parameters + +# Maximum number of DB connections in pool +db.maxconnections = 30 + +# Maximum time to wait before giving up if all connections in pool are busy (milliseconds) +db.maxwait = 5000 + +# Maximum number of idle connections in pool (-1 = unlimited) +db.maxidle = -1 + +# Determine if prepared statement should be cached. (default is true) +db.statementpool = false + +##### Email settings ###### + +# SMTP mail server +mail.server=smtp.myu.edu + +# SMTP mail server authentication username and password (if required) +# mail.server.username = myusername +# mail.server.password = mypassword + +# From address for mail +mail.from.address = dspace-noreply@myu.edu + +# Currently limited to one recipient! +feedback.recipient = dspace-help@myu.edu + +# General site administration (Webmaster) e-mail +mail.admin = dspace-help@myu.edu + +# Recipient for server errors and alerts +# alert.recipient = email-address-here + + +##### File Storage ###### + +# Asset (bitstream) store number 0 (zero) +assetstore.dir = ${dspace.dir}/assetstore + +# Specify extra asset stores like this, counting from 1 upwards: +# assetstore.dir.1 = /second/assetstore +# assetstore.dir.2 = /third/assetstore + +# Specify the number of the store to use for new bitstreams with this property +# The default is 0 (zero) which corresponds to the 'assetstore.dir' above +# assetstore.incoming = 1 + + +##### SRB File Storage ##### + +# The same 'assetstore.incoming' property is used to support the use of SRB +# (Storage Resource Broker - see http://www.sdsc.edu/srb/) as an _optional_ +# replacement of or supplement to conventional file storage. DSpace will work +# with or without SRB and full backward compatibility is maintained. +# +# The 'assetstore.incoming' property is an integer that references where _new_ +# bitstreams will be stored. The default (say the starting reference) is zero. +# The value will be used to identify the storage where all new bitstreams will +# be stored until this number is changed. This number is stored in the +# Bitstream table (store_number column) in the DSpace database, so older +# bitstreams that may have been stored when 'asset.incoming' had a different +# value can be found. +# +# In the simple case in which DSpace uses local (or mounted) storage the +# number can refer to different directories (or partitions). This gives DSpace +# some level of scalability. The number links to another set of properties +# 'assetstore.dir', 'assetstore.dir.1' (remember zero is default), +# 'assetstore.dir.2', etc., where the values are directories. +# +# To support the use of SRB DSpace uses this same scheme but broadened to +# support: +# - using SRB instead of the local filesystem +# - using the local filesystem (native DSpace) +# - using a mix of SRB and local filesystem +# +# In this broadened use the 'asset.incoming' integer will refer one of the +# following storage locations +# - a local filesystem directory (native DSpace) +# - a set of SRB account parameters (host, port, zone, domain, username, +# password, home directory, and resource) +# +# Should the be any conflict, like '2' refering to a local directory and +# to a set of SRB parameters, the program will select the local directory. +# +# If SRB is chosen from the first install of DSpace, it is suggested that +# 'assetstore.dir' (no integer appended) be retained to reference a local +# directory (as above under File Storage) because build.xml uses this value +# to do a mkdir. In this case, 'assetstore.incoming' can be set to 1 (i.e. +# uncomment the line in File Storage above) and the 'assetstore.dir' will not +# be used. +# +# Here is an example set of SRB parameters: +# Assetstore 1 - SRB +#srb.host.1 = mysrbmcathost.myu.edu +#srb.port.1 = 5544 +#srb.mcatzone.1 = mysrbzone +#srb.mdasdomainname.1 = mysrbdomain +#srb.defaultstorageresource.1 = mydefaultsrbresource +#srb.username.1 = mysrbuser +#srb.password.1 = mysrbpassword +#srb.homedirectory.1 = /mysrbzone/home/mysrbuser.mysrbdomain +#srb.parentdir.1 = mysrbdspaceassetstore +# +# Assetstore n, n+1, ... +# Follow same pattern as for assetstores above (local or SRB) + + +# Directory for history serializations +history.dir = ${dspace.dir}/history + +# Where to put the logs +log.dir = ${dspace.dir}/log + +# Where to temporarily store uploaded files +upload.temp.dir = ${dspace.dir}/upload + +# Maximum size of uploaded files in bytes, negative setting will result in no limit being set +# 512Mb +upload.max = 536870912 + + +##### Search settings ##### + +# Where to put search index files +search.dir = ${dspace.dir}/search + +# Higher values of search.max-clauses will enable prefix searches to work on +# large repositories +# search.max-clauses = 2048 + +# Which Lucene Analyzer implementation to use. If this is omitted or +# commented out, the standard DSpace analyzer (designed for English) +# is used by default. +# search.analyzer = org.dspace.search.DSAnalyzer + +# Chinese analyzer +# search.analyzer = org.apache.lucene.analysis.cn.ChineseAnalyzer + +# Boolean search operator to use, current supported values are OR and AND +# If this config item is missing or commented out, OR is used +# AND requires all search terms to be present +# OR requires one or more search terms to be present +search.operator = OR + + +###### Statistical Report Configuration Settings ###### + +# should the stats be publicly available? should be set to false if you only +# want administrators to access the stats, or you do not intend to generate +# any +report.public = false + +# directory where live reports are stored +report.dir = ${dspace.dir}/reports/ + + +##### Handle settings ###### + +# CNRI Handle prefix +handle.prefix = 123456789 + +# Directory for installing Handle server files +handle.dir = ${dspace.dir}/handle-server + + +#### Stackable Authentication Methods ##### +# Stack of authentication methods +# (See org.dspace.eperson.AuthenticationManager) +plugin.sequence.org.dspace.eperson.AuthenticationMethod = \ + org.dspace.eperson.PasswordAuthentication + +#### PasswordAuthentication options #### +# Only emails ending in the following domains are allowed to self-register +# Example - example.com domain : @example.com +# Example - MIT domain and all .ac.uk domains: @mit.edu, .ac.uk +# authentication.password.domain.valid = example.com + +#### Example of configuring X.509 authentication +#### (to use it, add org.dspace.eperson.X509Authentication to auth stack above) + +## method 1, using keystore +#authentication.x509.keystore.path = /tomcat/conf/keystore +#authentication.x509.keystore.password = changeit + +## method 2, using CA certificate +#authentication.x509.ca.cert = ${dspace.dir}/config/MyClientCA.pem + +## Create e-persons for unknown names in valid certificates? +#authentication.x509.autoregister = true + + +##### Web UI Settings ###### + +## webui.ldap.autoregister ## +# +# This will turn LDAP autoregistration on or off. With this +# on, a new EPerson object will be created for any user who +# successfully authenticates against the LDAP server when they +# first login. With this setting off, the user +# must first register to get an EPerson object by +# entering their ldap username and password and filling out +# the forms. +webui.ldap.autoregister = true + +# Should the submit UI block submissions marked as theses? +webui.submit.blocktheses = false + +# whether to display thumbnails on browse and search results pages (1.2+) +webui.browse.thumbnail.show = false + +# max dimensions of the browse/search thumbs. Must be <= thumbnail.maxwidth +# and thumbnail.maxheight. Only need to be set if required to be smaller than +# dimension of thumbnails generated by mediafilter (1.2+) +#webui.browse.thumbnail.maxheight = 80 +#webui.browse.thumbnail.maxwidth = 80 + +# whether to display the thumb against each bitstream (1.2+) +webui.item.thumbnail.show = true + +# where should clicking on a thumbnail from browse/search take the user +# Only values currently supported are "item" and "bitstream" +#webui.browse.thumbnail.linkbehaviour = item + +#### Settings for Item Preview #### +webui.preview.enabled = false +# max dimensions of the preview image +webui.preview.maxwidth = 600 +webui.preview.maxheight = 600 +# the brand text +webui.preview.brand = My Institution Name +# an abbreviated form of the above text, this will be used +# when the preview image cannot fit the normal text +webui.preview.brand.abbrev = MyOrg +# the height of the brand +webui.preview.brand.height = 20 +# font settings for the brand text +webui.preview.brand.font = SansSerif +webui.preview.brand.fontpoint = 12 +#webui.preview.dc = rights + +# whether to display collection and community strengths +webui.strengths.show = false + +# whether to display the contents of the licence bundle (often just the deposit +# licence in standard DSpace installation +webui.licence_bundle.show = false + +# Customise the DC metadata fields to show in the default simple item view. +# +# The form is .[.|.*][(date)|(link)], ... +# +# For example: +# dc.title = Dublin Core element 'title' (unqualified) +# dc.title.alternative = DC element 'title', qualifier 'alternative' +# dc.title.* = All fields with Dublin Core element 'title' +# (any or no qualifier) +# dc.identifier.uri(link) = DC identifier.uri, render as a link +# dc.date.issued(date) = DC date.issued, render as a date +# +# If an item has no value for a particular field, it won't be displayed. +# The name of the field for display will be drawn from the current UI +# dictionary, using the key: +# +# "metadata." +# +# e.g. "metadata.dc.title" +# "metadata.dc.contributor.*" +# "metadata.dc.date.issued" +# +#webui.itemdisplay.default = dc.title, dc.title.alternative, dc.contributor.*, \ +# dc.subject, dc.date.issued(date), dc.publisher, \ +# dc.identifier.citation, dc.relation.ispartofseries, \ +# dc.description.abstract, dc.description, \ +# dc.identifier.govdoc, dc.identifier.uri(link), \ +# dc.identifier.isbn, dc.identifier.issn, \ +# dc.identifier.ismn, dc.identifier + +# Specify which collections use which views by Handle. +# +# webui.itemdisplay.