This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# An example hook script to verify what is about to be committed. | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
# To enable this hook, rename this file to "pre-commit". | |
if git rev-parse --verify HEAD >/dev/null 2>&1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xsl:stylesheet | |
xmlns:i18n="http://apache.org/cocoon/i18n/2.1" | |
xmlns:dri="http://di.tamu.edu/DRI/1.0/" | |
xmlns:mets="http://www.loc.gov/METS/" | |
xmlns:dim="http://www.dspace.org/xmlns/dspace/dim" | |
xmlns:xlink="http://www.w3.org/TR/xlink/" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" | |
xmlns:atom="http://www.w3.org/2005/Atom" | |
xmlns:ore="http://www.openarchives.org/ore/terms/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xsl xhtml"> | |
<!-- make sure double linefeeds are rendered as paragraph breaks --> | |
<xsl:template name="break"> | |
<xsl:param name="text" select="."/> | |
<xsl:choose> | |
<xsl:when test="contains($text, '

')"> | |
<p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.schweerelos.dspace.event; | |
import org.dspace.content.Item; | |
import org.dspace.core.Context; | |
import org.dspace.handle.service.HandleService; | |
import java.io.Serializable; | |
import java.sql.SQLException; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.write('<script type="text/javascript" src="http://api.elsevier.com/javascript/scopussearch.jsp"> </' + 'script>'); | |
callbackCitedbycount = function(){ | |
if (sciverse.areSearchResultsValid()) { | |
var resultObj = sciverse.getSearchResults(); | |
if (resultObj.returnedResults >0) { | |
citedbycount = resultObj.results[0].citedbycount; | |
eid = resultObj.results[0].eid; | |
if (citedbycount > 0) { | |
citeHtml = '<span class="bold">Scopus times cited</span>:</span> '; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nz.ac.waikato.its.irr.dspace.app.xmlui.aspect.xmlworkflow.actions.processingaction; | |
import com.google.common.collect.Collections2; | |
import nz.ac.waikato.its.irr.dspace.app.xmlui.aspect.xmlworkflow.actions.AgSciteWorkflowScreenUtils; | |
import nz.ac.waikato.its.irr.dspace.xmlworkflow.state.actions.processingaction.AgsciteReviewActionLogic; | |
import org.apache.cocoon.environment.ObjectModelHelper; | |
import org.apache.cocoon.environment.Request; | |
import org.apache.commons.lang.StringUtils; | |
import org.dspace.app.xmlui.aspect.administrative.CurateForm; | |
import org.dspace.app.xmlui.aspect.administrative.FlowCurationUtils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit fa122611f2551d418f6ed92aacdd5a30bedca88e | |
Author: Andrea Schweer <schweer@waikato.ac.nz> | |
Date: Tue May 5 17:13:10 2015 +1200 | |
|#6120 Send curation report when queue is worked off (configurable) | |
diff --git a/dspace-api/src/main/java/org/dspace/curate/CurationCli.java b/dspace-api/src/main/java/org/dspace/curate/CurationCli.java | |
index af9f8e0..8af7c89 100644 | |
--- a/dspace-api/src/main/java/org/dspace/curate/CurationCli.java | |
+++ b/dspace-api/src/main/java/org/dspace/curate/CurationCli.java |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Vagrantfile b/Vagrantfile | |
index 344d84d..5d696a7 100644 | |
--- a/Vagrantfile | |
+++ b/Vagrantfile | |
@@ -67,6 +67,14 @@ Vagrant.configure("2") do |config| | |
# configure a private network and set this guest's IP to 192.168.50.2 | |
config.vm.network "private_network", ip: CONF['ip_address'] | |
+ # Bugfix for "Cable connected: off" | |
+ config.vm.provider :virtualbox do |vm| |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nz.co.lernz.db.curation; | |
import org.apache.commons.lang.StringUtils; | |
import org.apache.log4j.Logger; | |
import org.dspace.authorize.AuthorizeException; | |
import org.dspace.content.DSpaceObject; | |
import org.dspace.content.Item; | |
import org.dspace.curate.AbstractCurationTask; | |
import org.dspace.curate.Curator; | |
import org.dspace.curate.Distributive; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nz.ac.lconz.irr.dspace.app.xmlui.aspect.irrstats; | |
import org.apache.log4j.Logger; | |
import org.apache.solr.client.solrj.SolrServerException; | |
import org.dspace.authorize.AuthorizeManager; | |
import org.dspace.content.*; | |
import org.dspace.core.Constants; | |
import org.dspace.core.Context; | |
import org.dspace.eperson.Group; | |
import org.dspace.statistics.ObjectCount; |
NewerOlder