mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 23:43:06 +00:00
(Robert Tansley)
- config: report.directory -> report.dir for consistency - cleaned up a few bits in dspace.cfg git-svn-id: http://scm.dspace.org/svn/repo/trunk@1272 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -92,6 +92,7 @@ assetstore.dir = /dspace/assetstore
|
|||||||
# The default is 0 (zero) which corresponds to the 'assetstore.dir' above
|
# The default is 0 (zero) which corresponds to the 'assetstore.dir' above
|
||||||
# assetstore.incoming = 1
|
# assetstore.incoming = 1
|
||||||
|
|
||||||
|
|
||||||
##### SRB File Storage #####
|
##### SRB File Storage #####
|
||||||
|
|
||||||
# The same 'assetstore.incoming' property is used to support the use of SRB
|
# The same 'assetstore.incoming' property is used to support the use of SRB
|
||||||
@@ -150,6 +151,7 @@ assetstore.dir = /dspace/assetstore
|
|||||||
# Assetstore n, n+1, ...
|
# Assetstore n, n+1, ...
|
||||||
# Follow same pattern as for assetstores above (local or SRB)
|
# Follow same pattern as for assetstores above (local or SRB)
|
||||||
|
|
||||||
|
|
||||||
# Directory for history serializations
|
# Directory for history serializations
|
||||||
history.dir = /dspace/history
|
history.dir = /dspace/history
|
||||||
|
|
||||||
@@ -178,7 +180,7 @@ upload.max = 536870912
|
|||||||
report.public = false
|
report.public = false
|
||||||
|
|
||||||
# directory where live reports are stored
|
# directory where live reports are stored
|
||||||
report.directory = /dspace/reports/
|
report.dir = /dspace/reports/
|
||||||
|
|
||||||
|
|
||||||
##### Handle settings ######
|
##### Handle settings ######
|
||||||
@@ -235,6 +237,7 @@ webui.item.thumbnail.show = true
|
|||||||
# whether to display collection and community strengths
|
# whether to display collection and community strengths
|
||||||
webui.strengths.show = false
|
webui.strengths.show = false
|
||||||
|
|
||||||
|
|
||||||
##### SFX Server #####
|
##### SFX Server #####
|
||||||
|
|
||||||
# SFX query is appended to this URL. If this property is commented out or
|
# SFX query is appended to this URL. If this property is commented out or
|
||||||
@@ -247,6 +250,7 @@ webui.strengths.show = false
|
|||||||
# Default language for content of submissions
|
# Default language for content of submissions
|
||||||
default.language = en_US
|
default.language = en_US
|
||||||
|
|
||||||
|
|
||||||
##### Media Filter settings #####
|
##### Media Filter settings #####
|
||||||
# maximum width and height of generated thumbnails
|
# maximum width and height of generated thumbnails
|
||||||
thumbnail.maxwidth 80
|
thumbnail.maxwidth 80
|
||||||
@@ -288,6 +292,7 @@ search.index.11 = id:identifier.*
|
|||||||
# are Creative Commons licenses used in submission?
|
# are Creative Commons licenses used in submission?
|
||||||
webui.submit.enable-cc = false
|
webui.submit.enable-cc = false
|
||||||
|
|
||||||
|
|
||||||
#### Proxy Settings ######
|
#### Proxy Settings ######
|
||||||
# uncomment and specify both properties if proxy server required
|
# uncomment and specify both properties if proxy server required
|
||||||
# proxy server for external http requests - use regular hostname without port number
|
# proxy server for external http requests - use regular hostname without port number
|
||||||
@@ -296,6 +301,7 @@ webui.submit.enable-cc = false
|
|||||||
# port number of proxy server
|
# port number of proxy server
|
||||||
#http.proxy.port =
|
#http.proxy.port =
|
||||||
|
|
||||||
|
|
||||||
#### LDAP Authentication Configuration Settings ####
|
#### LDAP Authentication Configuration Settings ####
|
||||||
#
|
#
|
||||||
# If LDAP is enabled, then new users will be able to register
|
# If LDAP is enabled, then new users will be able to register
|
||||||
@@ -314,29 +320,28 @@ webui.submit.enable-cc = false
|
|||||||
# It may be necessary to obtain the values of these settings from the
|
# It may be necessary to obtain the values of these settings from the
|
||||||
# LDAP server administrators as LDAP configuration will vary from server
|
# LDAP server administrators as LDAP configuration will vary from server
|
||||||
# to server.
|
# to server.
|
||||||
#
|
|
||||||
## ldap.enable ##
|
|
||||||
# This setting will enable or disable LDAP authentication in DSpace.
|
# This setting will enable or disable LDAP authentication in DSpace.
|
||||||
# With the setting off, users will be required to register and login with
|
# With the setting off, users will be required to register and login with
|
||||||
# their email address. With this setting on, users will be able to login
|
# their email address. With this setting on, users will be able to login
|
||||||
# and register with their LDAP user ids and passwords.
|
# and register with their LDAP user ids and passwords.
|
||||||
#
|
ldap.enable = false
|
||||||
## ldap.provider_url ##
|
|
||||||
# This is the url to the institution's ldap server. The /o=myu.edu
|
# This is the url to the institution's ldap server. The /o=myu.edu
|
||||||
# may or may not be required depending on the LDAP server setup.
|
# may or may not be required depending on the LDAP server setup.
|
||||||
# A server may also require the ldaps:// protocol.
|
# A server may also require the ldaps:// protocol.
|
||||||
#
|
#ldap.provider_url = ldap://ldap.myu.edu/o=myu.edu
|
||||||
## ldap.id_field ##
|
|
||||||
# This is the unique identifier field in the LDAP directory
|
# This is the unique identifier field in the LDAP directory
|
||||||
# where the username is stored.
|
# where the username is stored.
|
||||||
#
|
#ldap.id_field = uid
|
||||||
## ldap.object_context ##
|
|
||||||
# This is the object context used when authenticating the
|
# This is the object context used when authenticating the
|
||||||
# user. It is appended to the ldap.id_field and username.
|
# user. It is appended to the ldap.id_field and username.
|
||||||
# For example uid=username,ou=people,o=myu.edu. This must match
|
# For example uid=username,ou=people,o=myu.edu. This must match
|
||||||
# the LDAP server configuration.
|
# the LDAP server configuration.
|
||||||
#
|
#ldap.object_context = ou=people,o=myu.edu
|
||||||
## ldap.search_context ##
|
|
||||||
# This is the search context used when looking up a user's
|
# This is the search context used when looking up a user's
|
||||||
# LDAP object to retrieve their data for autoregistering.
|
# LDAP object to retrieve their data for autoregistering.
|
||||||
# With ldap.autoregister turned on, when a user authenticates
|
# With ldap.autoregister turned on, when a user authenticates
|
||||||
@@ -348,37 +353,28 @@ webui.submit.enable-cc = false
|
|||||||
# ldap.search_context is the same as the ldap.object_context
|
# ldap.search_context is the same as the ldap.object_context
|
||||||
# parameter. But again this depends on each individual LDAP server
|
# parameter. But again this depends on each individual LDAP server
|
||||||
# configuration.
|
# configuration.
|
||||||
#
|
#ldap.search_context = ou=people
|
||||||
## ldap.email_field ##
|
|
||||||
# This is the LDAP object field where the user's email address
|
# This is the LDAP object field where the user's email address
|
||||||
# is stored. "mail" is the default and the most common for
|
# is stored. "mail" is the default and the most common for
|
||||||
# LDAP servers. If the mail field is not found the username
|
# LDAP servers. If the mail field is not found the username
|
||||||
# will be used as the email address when creating the eperson
|
# will be used as the email address when creating the eperson
|
||||||
# object.
|
# object.
|
||||||
#
|
#ldap.email_field = mail
|
||||||
## ldap.surname_field ##
|
|
||||||
# This is the LDAP object field where the user's last name is
|
# This is the LDAP object field where the user's last name is
|
||||||
# stored. "sn" is the default and is the most common for LDAP
|
# stored. "sn" is the default and is the most common for LDAP
|
||||||
# servers. If the field is not found the field will be left
|
# servers. If the field is not found the field will be left
|
||||||
# blank in the new eperson object.
|
# blank in the new eperson object.
|
||||||
#
|
#ldap.surname_field = sn
|
||||||
## ldap.givenname_field ##
|
|
||||||
# This is the LDAP object field where the user's given names
|
# This is the LDAP object field where the user's given names
|
||||||
# are stored. This may not be used or set in all LDAP instances.
|
# are stored. This may not be used or set in all LDAP instances.
|
||||||
# If the field is not found the field will be left blank in the
|
# If the field is not found the field will be left blank in the
|
||||||
# new eperson object.
|
# new eperson object.
|
||||||
#
|
#ldap.givenname_field = givenName
|
||||||
## ldap.phone_field ##
|
|
||||||
# This is the field where the user's phone number is stored in
|
# This is the field where the user's phone number is stored in
|
||||||
# the LDAP directory. If the field is not found the field
|
# the LDAP directory. If the field is not found the field
|
||||||
# will be left blank in the new eperson object.
|
# will be left blank in the new eperson object.
|
||||||
|
#ldap.phone_field = telephoneNumber
|
||||||
ldap.enable = false
|
|
||||||
ldap.provider_url = ldap://ldap.myu.edu/o=myu.edu
|
|
||||||
ldap.id_field = uid
|
|
||||||
ldap.object_context = ou=people,o=myu.edu
|
|
||||||
ldap.search_context = ou=people
|
|
||||||
ldap.email_field = mail
|
|
||||||
ldap.surname_field = sn
|
|
||||||
ldap.givenname_field = givenName
|
|
||||||
ldap.phone_field = telephoneNumber
|
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
report.public = false
|
report.public = false
|
||||||
|
|
||||||
# directory where live reports are stored
|
# directory where live reports are stored
|
||||||
report.directory = /dspace/reports/
|
report.dir = /dspace/reports/
|
||||||
</pre>
|
</pre>
|
||||||
<LI><P>Build and install the updated DSpace 1.3 code. Go to the <code>[dspace-1.3-source]</code> directory, and run:</P>
|
<LI><P>Build and install the updated DSpace 1.3 code. Go to the <code>[dspace-1.3-source]</code> directory, and run:</P>
|
||||||
<p><code>ant -Dconfig=<i>[dspace]</i>/config/dspace.cfg update</code></p>
|
<p><code>ant -Dconfig=<i>[dspace]</i>/config/dspace.cfg update</code></p>
|
||||||
|
@@ -129,7 +129,7 @@ public class StatisticsServlet extends org.dspace.app.webui.servlet.DSpaceServle
|
|||||||
|
|
||||||
request.setAttribute("general", new Boolean(false));
|
request.setAttribute("general", new Boolean(false));
|
||||||
|
|
||||||
File reportDir = new File(ConfigurationManager.getProperty("report.directory"));
|
File reportDir = new File(ConfigurationManager.getProperty("report.dir"));
|
||||||
|
|
||||||
File[] reports = reportDir.listFiles();
|
File[] reports = reportDir.listFiles();
|
||||||
File reportFile = null;
|
File reportFile = null;
|
||||||
|
Reference in New Issue
Block a user