-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ORCID plugin 2.4.8 #14
base: ojs-dev-2_4
Are you sure you want to change the base?
Changes from 9 commits
a1e4fe3
5ceaf05
9d6db49
8b85f16
061d8a8
0739157
821aa96
9822469
d97b6f4
90c1546
8828345
2eb0064
c41f1f0
b8c8637
cd5b26e
25ef5c3
8cd260e
5ae3084
393e2ce
d354b80
acce71d
84403c1
873e71a
e299474
68f40e5
b48814b
2c6bbb5
e88a6c3
14529bb
04b3173
0c3d312
547220f
b18c342
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,24 +7,27 @@ | |
Plugin for PKP user profiles (tested with OJS 2.x) | ||
|
||
Copyright © 2015-2016 University of Pittsburgh | ||
<br />Copyright © 2014-2016 Simon Fraser University Library | ||
<br />Copyright © 2003-2016 John Willinsky | ||
<br />Copyright © 2014-2017 Simon Fraser University Library | ||
<br />Copyright © 2003-2017 John Willinsky | ||
|
||
Licensed under GPL 2 or better. | ||
|
||
Contributed by 4Science (http://www.4science.it). | ||
|
||
## Features: | ||
|
||
* Hooks into the User Profile, Registration, and Submission (step 3) forms | ||
* Requests ORCIDs of authors via email | ||
* Searchs for co-authors ORCIDs | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Searchs -> Searches? |
||
* Requests ORCIDs of co-authors via email | ||
|
||
## Install: | ||
|
||
* Copy the source into the PKP product's plugins/generic folder. | ||
* Run `tools/upgrade.php upgrade` to allow the system to recognize the new plugin. | ||
* Enable this plugin within the administration interface. | ||
* Set up [an application with ORCID](https://orcid.org/developer-tools). | ||
* The URI and description are to reassure users. | ||
* The redirect URI can be anything within your OJS/OMP installation. | ||
* ORCID will give you a client ID and secret. | ||
* The URI and description are to reassure users. | ||
* The redirect URI can be anything within your OJS/OMP installation. | ||
* ORCID will give you a client ID and secret. | ||
* Consider the settings within the administation interface. | ||
* Enter the client and secret from the ORCID application setup. | ||
* Enter the client and secret from the ORCID application setup. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#connect-orcid-button{ | ||
#connect-orcid-button, #search-orcid-button, button[id^="search-orcid-button-"], button[id^="remove-orcid-button-"] { | ||
border: 1px solid #D3D3D3; | ||
padding: .3em; | ||
background-color: #fff; | ||
|
@@ -9,17 +9,22 @@ | |
font-weight: bold; | ||
font-size: .8em; | ||
line-height: 24px; | ||
margin: .3em; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, one more here :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. adjusted |
||
vertical-align: middle; | ||
} | ||
|
||
#connect-orcid-button:hover{ | ||
#connect-orcid-button:hover, button[id^="search-orcid-button-"]:hover{ | ||
border: 1px solid #338caf; | ||
color: #338caf; | ||
} | ||
|
||
#orcid-id-logo{ | ||
.orcid-id-logo{ | ||
display: block; | ||
margin: 0 .5em 0 0; | ||
padding: 0; | ||
float: left; | ||
} | ||
|
||
.search-content { | ||
padding: 10px !important; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. adjusted |
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE email_texts SYSTEM "../../../../../lib/pkp/dtd/emailTemplateData.dtd"> | ||
|
||
<!-- | ||
* @file plugins/generic/orcidProfile/locale/en_US/emailTemplates.xml | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. en_US -> it_IT |
||
* | ||
* Copyright (c) 2013-2017 Simon Fraser University Library | ||
* Copyright (c) 2003-2017 John Willinsky | ||
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. | ||
* | ||
* Contributed by 4Science (http://www.4science.it). | ||
* | ||
* Localized email templates XML file. | ||
--> | ||
|
||
<email_texts locale="en_US"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. change locale |
||
<email_text key="ORCID_COLLECT_AUTHOR_ID"> | ||
<subject>Submission ORCID</subject> | ||
<body>Caro {$authorName}, | ||
|
||
Sei stato elencato come co-autore nella submission della lavorazione "{$articleTitle}" a {$journalName}. | ||
|
||
Per confermare tale attribuzione per favore aggiungi il tuo ORCID id alla submission visitando il link seguente. | ||
|
||
{$authorOrcidUrl} | ||
|
||
Per qualsiasi domanda o dubbio, ti prego di contattarmi. | ||
|
||
{$editorialContactSignature} | ||
|
||
|
||
</body> | ||
<description>This email template is used to collect the ORCID id's from co-authors.</description> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this only for 'co-authors'? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes |
||
</email_text> | ||
</email_texts> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE locale SYSTEM "../../../../../lib/pkp/dtd/locale.dtd"> | ||
|
||
<!-- | ||
* plugins/generic/orcidPlugin/locale/en_US/locale.xml | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. en_US -> it_IT There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. orcidPlugin -> orcidProfile? |
||
* | ||
* Copyright (c) 2015-2017 University of Pittsburgh | ||
* Copyright (c) 2014-2017 Simon Fraser University Library | ||
* Copyright (c) 2003-2017 John Willinsky | ||
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. | ||
* | ||
* Contributed by 4Science (http://www.4science.it). | ||
* | ||
* ORCID Profile plugin localization strings for the it_IT locale | ||
--> | ||
|
||
<locale name="it_IT" full_name="Italiano"> | ||
|
||
<message key="plugins.generic.orcidProfile.displayName">ORCID Profile Plugin</message> | ||
<message key="plugins.generic.orcidProfile.description"><![CDATA[Permette l'importazione di informazioni del profilo utente dal registro di ORCID.]]></message> | ||
<message key="plugins.generic.orcidProfile.instructions"><![CDATA[È possibile precompilare il modulo con le informazioni da un profilo orcid. Inserire l'indirizzo email o ORCID iD associati al profilo ORCID, quindi fare clic su "Conferma".]]></message> | ||
<message key="plugins.generic.orcidProfile.noData">Nessuna informazione trovata dal registro di ORCID.</message> | ||
<message key="plugins.generic.orcidProfile.emailOrOrcid">Indirizzo Email o ORCID iD:</message> | ||
<message key="plugins.generic.orcidProfile.submitAction">Conferma</message> | ||
<message key="plugins.generic.orcidProfile.connect">Crea o collega il tuo ORCID iD</message> | ||
<message key="plugins.generic.orcidProfile.searchOrcidId">Cerca l'ORCID iD</message> | ||
<message key="plugins.generic.orcidProfile.removeOrcidId">Rimuovi l'ORCID iD</message> | ||
<message key="plugins.generic.orcidProfile.affiliations">aAffiliazioni</message> | ||
<message key="plugins.generic.orcidProfile.researcherUrl">Url del ricercatore</message> | ||
<message key="plugins.generic.orcidProfile.searchAndOr">e / o</message> | ||
<message key="plugins.generic.orcidProfile.searchPageTitle">Cerca le informazione nel registro pubblico di ORCID</message> | ||
<message key="plugins.generic.orcidProfile.searchResultsList">Scegli e seleziona il risultato appropriato dalla seguente lista:</message> | ||
<message key="plugins.generic.orcidProfile.searchResultsNotice">Se non sei sicuro di selezionare l'esatta corrispondenza è meglio saltare questo passaggio e lasciare il campo ORCID iD vuoto.</message> | ||
<message key="plugins.generic.orcidProfile.privateEmail">Non visualizzabile</message> | ||
<message key="plugins.generic.orcidProfile.noResults">Nessun risultato trovato</message> | ||
<message key="plugins.generic.orcidProfile.manager.orcidProfileSettings">Impostazioni ORCID Profile</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.description">Configura le API di ORCID per poter completare le informazioni del profilo dal registro di ORCID.</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.pagePerItemDescription">Il numero di elementi mostrati per pagina risultanti da una ricerca del profilo dal registro di ORCID.</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.pagePerItem">elementi per pagina</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.orcidProfileAPIPath">ORCID API</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.orcidProfileAPIPath.public">Public</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.orcidProfileAPIPath.publicSandbox">Public Sandbox</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.orcidProfileAPIPath.member">Member</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.orcidProfileAPIPath.memberSandbox">Member Sandbox</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.orcidClientId">Client ID</message> | ||
<message key="plugins.generic.orcidProfile.manager.settings.orcidClientSecret">Client Secret</message> | ||
<message key="plugins.generic.orcidProfile.author.submission">Collegamento ORCID</message> | ||
<message key="plugins.generic.orcidProfile.author.submission.success">La submission è stata aggiornata correttamente con il tuo ORCID.</message> | ||
<message key="plugins.generic.orcidProfile.author.submission.failure">Non è stato possibile aggiornare la submission con il tuo ORCID. Si prega di contattare il journal manager con il tuo nome, ORCID e i dettagli della submission.</message> | ||
<message key="plugins.generic.orcidProfile.authFailure">OJS non è stato in grado di comunicare con il servizi di ORCID. Si prega di contattare il journal manager con il tuo nome, ORCID e i dettagli della submission.</message> | ||
</locale> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a googleAnalytics there - should be orcidProfile