diff --git a/dspace/CHANGES b/dspace/CHANGES
index 74b6355a7b..7f7197b040 100644
--- a/dspace/CHANGES
+++ b/dspace/CHANGES
@@ -38,6 +38,7 @@
- SF patch #1561292 for SF bug #1554064
- SF patch #1563523 for SF bug #1548865 Browse errors on withdrawn item
- SF patch #1556207 for SF bug #1554056 Community/collection handle URL with / redirects to homepage
+- SF patch #1571494 for SF bug #1571490 - UTF-8 encoded characters in licence
(Mark Diggory)
- SF patch #1523824 robots.txt to limit bots navigating author and date pages
diff --git a/dspace/config/language-packs/Messages.properties b/dspace/config/language-packs/Messages.properties
index 3cd3d7d3be..155fd01115 100644
--- a/dspace/config/language-packs/Messages.properties
+++ b/dspace/config/language-packs/Messages.properties
@@ -302,6 +302,12 @@ jsp.dspace-admin.item-select.id = Internal ID:
jsp.dspace-admin.item-select.text = The ID you entered isn't a valid item ID. If you're trying to edit a community or collection, you need to use the communities/collections admin page.
jsp.dspace-admin.item-select.title = Select Item
+jsp.dspace-admin.license-edit.title = Edit Default License
+jsp.dspace-admin.license-edit.heading = Default License Editor
+jsp.dspace-admin.license-edit.description = Edit the default license by using the text box below. The license cannot be empty.
Please ensure the license meets the legal conditions of your country.
Changing this license will not affect those items already published and collections with their own licenses.
+jsp.dspace-admin.license-edit.edited = The Default License has been updated
+jsp.dspace-admin.license-edit.empty = You must enter a license!
+
jsp.dspace-admin.list-metadata-fields.schemas = Schemas
jsp.dspace-admin.list-metadata-fields.schema = Schema
jsp.dspace-admin.list-metadata-fields.element = Element
@@ -553,6 +559,7 @@ jsp.layout.navbar-admin.metadataregistry = Metadata
Registry
jsp.layout.navbar-admin.formatregistry = Bitstream Format
Registry
jsp.layout.navbar-admin.workflow = Workflow
jsp.layout.navbar-admin.authorization = Authorization
+jsp.layout.navbar-admin.editlicense = Edit Default
License
jsp.layout.navbar-admin.editnews = Edit News
jsp.layout.navbar-admin.supervisors = Supervisors
jsp.layout.navbar-admin.statistics = Statistics
diff --git a/dspace/docs/configure.html b/dspace/docs/configure.html
index 510f28f5b2..1f175a1bd9 100644
--- a/dspace/docs/configure.html
+++ b/dspace/docs/configure.html
@@ -209,7 +209,34 @@ property2.name = ${dspace.dir}/rest/of/path
License
-
+
+
+ For each submitted item, a license must be granted. The license will be stored along with the item in the bundle LICENSE in order to keep the information under which terms an items has been published.
+ You may define a license for each collection seperately, when creating/editing a collection. If no collection specific license is defined, the default license is used.
+ The default license can be found in [dspace]/config/default.license
and can be edited via the dspace-admin interface.
+ DSpace comes with a demo license, which you must adopt to your institutional needs and the legal regulations of your country.
+ If in doubt, contact the law department of your institution.
+ Possible Points in a License
+ Note, that this is no legal advice, just some starting thoughts for creating you own license.
+
+ - Non-exclusive or exclusive right to
+
+ - capture and store
+ - distribute
+
+ - worldwide
+ - restricted (e.g. institutional wide
+
+ - translate
+ - transform to other formats or mediums
+ without changing the content
+
+ - Make sure no rights (copyright or any other) are violated by this publication
+ - In case the type of submission (e.g. thesis) needs approval, make sure it is the final and approved version.
+ - Distinguish between the document itself and the metadata
+ - Point out that the license granted and the information who granted it will be stored.
+
+
DSpace comes with an unqualified DC Crosswalk used in the default OAI-PMH data provider. There are also other Crosswalks bundled with the DSpace distribution which can be activated by editing one or more configuration files. How to do this for each available Crosswalk is described below.
diff --git a/dspace/docs/index.html b/dspace/docs/index.html
index d0c4c12576..4f7b4b1e66 100644
--- a/dspace/docs/index.html
+++ b/dspace/docs/index.html
@@ -72,6 +72,7 @@
Wording of E-mail Messages
Local DSpace Administrator Contact Information
The Dublin Core and Bitstream Format Registries
+ The Default Submission License
Activating Additional OAI-PMH Crosswalks
Configuration Files for Other Applications
Customizing the Web User Interface
diff --git a/dspace/etc/dspace-web.xml b/dspace/etc/dspace-web.xml
index b4339bfc8c..4e13301bdd 100644
--- a/dspace/etc/dspace-web.xml
+++ b/dspace/etc/dspace-web.xml
@@ -225,6 +225,11 @@
org.dspace.app.webui.servlet.admin.NewsEditServlet
+
+ edit-license
+ org.dspace.app.webui.servlet.admin.LicenseEditServlet
+
+
eperson-list
org.dspace.app.webui.servlet.admin.EPersonListServlet
@@ -467,6 +472,11 @@
/dspace-admin/news-edit
+
+ edit-license
+ /dspace-admin/license-edit
+
+
eperson-list
/tools/eperson-list
diff --git a/dspace/jsp/dspace-admin/license-edit.jsp b/dspace/jsp/dspace-admin/license-edit.jsp
new file mode 100644
index 0000000000..ed89d484b4
--- /dev/null
+++ b/dspace/jsp/dspace-admin/license-edit.jsp
@@ -0,0 +1,110 @@
+<%-- license-edit.jsp
+ -
+ - Copyright (c) 2002, Hewlett-Packard Company and Massachusetts
+ - Institute of Technology. All rights reserved.
+ -
+ - Redistribution and use in source and binary forms, with or without
+ - modification, are permitted provided that the following conditions are
+ - met:
+ -
+ - - Redistributions of source code must retain the above copyright
+ - notice, this list of conditions and the following disclaimer.
+ -
+ - - Redistributions in binary form must reproduce the above copyright
+ - notice, this list of conditions and the following disclaimer in the
+ - documentation and/or other materials provided with the distribution.
+ -
+ - - Neither the name of the Hewlett-Packard Company nor the name of the
+ - Massachusetts Institute of Technology nor the names of their
+ - contributors may be used to endorse or promote products derived from
+ - this software without specific prior written permission.
+ -
+ - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ - ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ - HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ - INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ - BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+ - OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ - ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+ - TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+ - USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ - DAMAGE.
+ --%>
+
+<%--
+ - License Edit Form JSP
+ -
+ - Attributes:
+ - license - The license to edit
+ --%>
+
+<%@ page contentType="text/html;charset=UTF-8" %>
+
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
+
+<%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %>
+
+<%
+ // Get the existing license
+ String license = (String)request.getAttribute("license");
+ if (license == null)
+ {
+ license = "";
+ }
+
+ // Are there any messages to show?
+ String message = (String)request.getAttribute("edited");
+ boolean edited = false;
+ if ((message != null) && (message.equals("true")))
+ {
+ edited = true;
+ }
+ message = (String)request.getAttribute("empty");
+ boolean empty = false;
+ if ((message != null) && (message.equals("true")))
+ {
+ empty = true;
+ }
+
+%>
+
+
+
+
+
+
+
diff --git a/dspace/jsp/help/site-admin.html b/dspace/jsp/help/site-admin.html
index 9ef6a9e732..a8a79f7ffb 100644
--- a/dspace/jsp/help/site-admin.html
+++ b/dspace/jsp/help/site-admin.html
@@ -32,6 +32,7 @@
Workflow
Authorization
Edit News
+ Edit Default License
General Information
@@ -413,6 +414,11 @@
or modified by typing directly in the box. You can use HTML tags to format the text, but note that the html won't
be validated here.
+
+ Edit Default License
+ You can use this tool to edit the default license of DSpace
+ The default license is used when no collection specific license is defined.
+ Note that changing the default license has no effect on allready published items.