-
-{/if}
diff --git a/plugins/blocks/relatedItems/icons/lookupTerms.png b/plugins/blocks/relatedItems/icons/lookupTerms.png
deleted file mode 100644
index 9ea42afed70b7bb2e7e85d471d0cef5acf7d8af5..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 1629
zcmd^=`#0MM0L9bCsQGeIp4ys~O*Th8M@JJu-ib)XGs@a-lz4>}
z@lC!2p+;2|Q7uymN%-cWB$Rk_LOm-ww-}kN@ZWdki^PE$=Y^&TtQ6_|b5TILvJ<3=u&K!&)J!7(CV&i-|~}%dl5rustwu
zPk;BwQe_Y)C+&?(xjK^CX;V4v_#2QHRjL%cEQ$m*XmSFPqxN*aCRz$7gYx{*bEINv
zYQH0yfRD_qBZG?YtVX?FA62G`h|jGUq!ZZ9w*{KiM(yzM@X$hUX2~-;D5dvVC(BOU
zk(|aAh&AuJ)eBt|Q2wA%ODgW}SV9H)dg3^}SuJBM;pqDMhm7xrw2W56%h8I>w}xr$zqI#x05A%D|@W@H8y
zKGbTp1ZG|=o!UNB71CrKCpup>b+KaVTX4emt`e5hI!*%EcxGOJ?~S1ap=73XaJ`nq
zQ*?JpgS?R}ehUtOu({1QW5Y=KEpc5o$yG&!LUDr3p1|pocB#;TzAU+81h*jzy51=g
z7l;wSDEzOnq=CUc_4~5u^6{ZH!LYvic1{hds1_qXp_qJfU*iBl^0a}A_XQ$+$Fbb1
z9*XQ_r7Fv(>2OSo51HHjR$otpY&fG<;jHK6j9N1HEu$NrD1irb8T-_mqT0u7Il+~#8Dk~6HAb0wVF|-ArwPQwH1jAG5WtIaplljlyo%`TBA`j
zpVC=ETK3ame=iDu;7_qHjX%IDZzFOc^^A;KsuF0JG``XgiMSPT0~_q`aqV(OM#j+4
z(9X^d1#jB{gYAMbe7*b(_5UoG--gjC!xlQE8^S++I81fvsBz>BlI^hX-u5{YPW0T2
zVIBBdHZ9ImcQf8oIQ1^zmg}uUoEk^CIl`+xrybB`TAs*xyRJ_
zIQsjP9islov&re_m?+F@_F**3rmw*|BG|QrIq|uvJ$o<4=D^v{Mn>AfBoyjOpIr|7
zl-to->h9(jd*@qHw~`an&hs}#`d;G7mN(j-7c9N9=uD+tb-y~QJ+6IK!H)4D4sWf#
zc=@s_v9(3}L+qo+8Guy&7&xdb1Lyt-w)#TQshD`zqmZ>d0+?GP`)tY;t*xW$E{phx
zi0}xO>!~X!8`phtdFSpAC4ITHp$@rblCN#GS=_XAcP}u)
z)Estz-T7My-~9<6cffJi>)nXgJU@h4l$FJ#K{}mo(v*M1BowxB)0ub7^kA~#FJMS_
LFSoiMLhtFJNMp+(Bt!=q9U!ZZOlw$c
zuAy5i+nTd|<_>NivLu&tYWf+obh7aHN%Hi45`pBR)x`tA#^U98gM4FFC6h~&)aWQw>e5Y84Gj%C?Fa5wL3#v12nvm3<6OafjJt}U((Qj
zn8!nMmXr-qoCO7XcZRS8(x9RlIA>F^1(GoPldw}sc)rpQ>IL9yYf!7MN);5mno3dL
zFr9-f3^@5I0h2d@QBNW#I`RB4IwvonO1T#W1?;?jrZNjp_!1ar;E|a)8g&BH^;Scq
zt%uAgf}pb+yKn5ouFDnCJb}hGpY=s(m>77B`PIn4hUqw48S;@<+#YViwZYT4_>vEC
z?=frJc<3Fn+HA3jXTwUklhgJ-dYkmNL^YBTW!uzZM
O00008VI0S0!CoiyA}k0DS`b78y(oGU6a>AkUK9~n*^7|=kr7cwRFWv6%Z}9bXJxHq
zv!bQ7t!|lawm;5>vpILy?iOC&HfG!Hc8BBJ-HKqfMb?WCJa0aq=l6SfssL2|4?ho1
zYF_hZS|)5^i5(2(3eSVtLjTwt+viCU4@P*+9|NQ!zmCYHkC8wnWH2cSOj5$smpmL3
zY1}4f$SympsTgoXWWvkj!KP${W<>az96Yfc0&EV^Sqav$1oSUxqGI6Xq{vddRFu7n
z`2LdsHzi;=Dtr$y0$QI$*opyl-1%;k%_tFkSWDaJm;MHp-}I<6Z;
z`=uSavTxAsh-+>P#z@O32VYD;@Uw_<1$Q)qo>w&5O)gAWuE2V33*Ucwqps{ny7nxp
zX|aTf%a1~AQ*W?v_D-PC*yD@0=#7-ucnX}S5B~d&FdbXR-#fBe_gkP615I1CPtR;N
z4-*FwcN*ZjSr5aZ75rZZR34vLukCGEW45>LLezQ{#QvpNP(bBYeXX{uZkgF|xEA`o
r)y)eIsC4dIvZ!Ov;+nFL_^*5eZM*&99
diff --git a/plugins/blocks/relatedItems/locale/ar_IQ/locale.xml b/plugins/blocks/relatedItems/locale/ar_IQ/locale.xml
deleted file mode 100644
index 690bf8037de..00000000000
--- a/plugins/blocks/relatedItems/locale/ar_IQ/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- كتلة الفقرات ذات الصلة
- هذه الإضافة تعرض كتلة تتضمن الفقرات ذات الصلة على الشريط الجانبي لأدوات القراءة.
- الفقرات ذات الصلة
- إخفاء
- إظهار الكل
-
diff --git a/plugins/blocks/relatedItems/locale/da_DK/locale.xml b/plugins/blocks/relatedItems/locale/da_DK/locale.xml
deleted file mode 100644
index 136bbd982f5..00000000000
--- a/plugins/blocks/relatedItems/locale/da_DK/locale.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
- Relaterede emner (blok)
- Dette plugin fremviser relaterede artikler i sidemenuen under læseværktøjer.
- Relaterede artikler
- Skjul
- Vis alle
-
diff --git a/plugins/blocks/relatedItems/locale/de_DE/locale.xml b/plugins/blocks/relatedItems/locale/de_DE/locale.xml
deleted file mode 100644
index af86f131739..00000000000
--- a/plugins/blocks/relatedItems/locale/de_DE/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Verwandte-Beiträge-Block
- Dieses Plugin erzeugt einen Block, der verwandte Beiträge enthält, in der Lesewerkzeuge-Sidebar.
- Verwandte Beiträge
- Verstecken
- Alle zeigen
-
diff --git a/plugins/blocks/relatedItems/locale/en_US/locale.xml b/plugins/blocks/relatedItems/locale/en_US/locale.xml
deleted file mode 100644
index 113be8a1b9a..00000000000
--- a/plugins/blocks/relatedItems/locale/en_US/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Related Items Block
- This plugin displays a block containing related items in the reading tools sidebar.
- Related Items
- Hide
- Show all
-
diff --git a/plugins/blocks/relatedItems/locale/es_ES/locale.xml b/plugins/blocks/relatedItems/locale/es_ES/locale.xml
deleted file mode 100644
index 466b1001090..00000000000
--- a/plugins/blocks/relatedItems/locale/es_ES/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Bloque de ítems relacionados
- Este módulo muestra un bloque de ítems relacionados con el artículo en la barra lateral de las herramientas de lectura.
- Ítems relacionados
- Ocultar
- Mostrar todos
-
diff --git a/plugins/blocks/relatedItems/locale/eu_ES/locale.xml b/plugins/blocks/relatedItems/locale/eu_ES/locale.xml
deleted file mode 100644
index b2adcb07c92..00000000000
--- a/plugins/blocks/relatedItems/locale/eu_ES/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Erlazionatutako itemen blokea
- Plugin honek erlazionatutako itemak dituen bloke bat bistaratzen du irakurketa tresnen alboko barran.
- Erlazionatutako itemak
- Ezkutatu
- Erakutsi guztia
-
diff --git a/plugins/blocks/relatedItems/locale/fi_FI/locale.xml b/plugins/blocks/relatedItems/locale/fi_FI/locale.xml
deleted file mode 100644
index ceb2d73b1e4..00000000000
--- a/plugins/blocks/relatedItems/locale/fi_FI/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Samankaltaiset sisällöt -lohko
- Tämä lisäosa näyttää lukutyökalu-sivupalkissa lohkon, joka sisältää samankaltaisia sisältöjä.
- Samankaltaiset sisällöt
- Piilota
- Näytä kaikki
-
diff --git a/plugins/blocks/relatedItems/locale/fr_CA/locale.xml b/plugins/blocks/relatedItems/locale/fr_CA/locale.xml
deleted file mode 100644
index b7ebb32e44b..00000000000
--- a/plugins/blocks/relatedItems/locale/fr_CA/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Bloc d'éléments connexes
- Ce plugiciel affiche un bloc contenant des éléments connexes dans le menu latéral des outils de lecture.
- Éléments connexes
- Masquer
- Afficher tout
-
diff --git a/plugins/blocks/relatedItems/locale/id_ID/locale.xml b/plugins/blocks/relatedItems/locale/id_ID/locale.xml
deleted file mode 100644
index 0ef48f7e908..00000000000
--- a/plugins/blocks/relatedItems/locale/id_ID/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Blok Item Terkait
- Plugin ini menampilkan blok yang berisi item terkait di bagian alat membaca.
- Item Terkait
- Sembunyikan
- Tampilkan Semua
-
diff --git a/plugins/blocks/relatedItems/locale/it_IT/locale.xml b/plugins/blocks/relatedItems/locale/it_IT/locale.xml
deleted file mode 100644
index 39fa2253547..00000000000
--- a/plugins/blocks/relatedItems/locale/it_IT/locale.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
- Blocco delle risorse correlate
- Questo plugin mostra nella barra laterale degli strumenti di lettura un blocco contenente risorse correlate.
- Risorse correlate
- Nascondi
- Mostra tutte
-
diff --git a/plugins/blocks/relatedItems/locale/nl_NL/locale.xml b/plugins/blocks/relatedItems/locale/nl_NL/locale.xml
deleted file mode 100644
index 75d488816b9..00000000000
--- a/plugins/blocks/relatedItems/locale/nl_NL/locale.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
- Gerelateerde onderdelen blok
- Deze plugin toont een blok met gerelateerde onderdelen in de leesgereedschappen sidebar.
- Gerelateerd
- Verberg
- Toon alle
-
diff --git a/plugins/blocks/relatedItems/locale/pl_PL/locale.xml b/plugins/blocks/relatedItems/locale/pl_PL/locale.xml
deleted file mode 100644
index 6c7762d573c..00000000000
--- a/plugins/blocks/relatedItems/locale/pl_PL/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Powiązane elementy
- Wtyczka wyświetla elementy powiązane w kontekście treści wyświetlanej w oknie głównym.
- Powiązane elementy
- Ukryj
- Pokaż wszystkie
-
diff --git a/plugins/blocks/relatedItems/locale/pt_BR/locale.xml b/plugins/blocks/relatedItems/locale/pt_BR/locale.xml
deleted file mode 100644
index a852a4a0f7f..00000000000
--- a/plugins/blocks/relatedItems/locale/pt_BR/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Itens relacionados
- Este plugin exibe um bloco de itens relacionados ao documento na barra de ferramentas de leitura.
- Itens relacionados
- Ocultar
- Exibir todos
-
diff --git a/plugins/blocks/relatedItems/locale/pt_PT/locale.xml b/plugins/blocks/relatedItems/locale/pt_PT/locale.xml
deleted file mode 100644
index 95edf25a7fb..00000000000
--- a/plugins/blocks/relatedItems/locale/pt_PT/locale.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
- Bloco Itens Relacionados
- Este plugin mostra um bloco contendo itens relacionados nas ferramentas de leitura disponível da barra lateral
- Itens Relacionados
- Ocultar
- Mostrar Todos
-
diff --git a/plugins/blocks/relatedItems/locale/ru_RU/locale.xml b/plugins/blocks/relatedItems/locale/ru_RU/locale.xml
deleted file mode 100644
index 93b5e567d62..00000000000
--- a/plugins/blocks/relatedItems/locale/ru_RU/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Блок «Связанные элементы»
- Отображает блок, содержащий связанные элементы в «Инструменты читателя» на боковую панель.
- Связанные элементы
- Скрыть
- Показать все
-
diff --git a/plugins/blocks/relatedItems/locale/sr_RS@latin/locale.xml b/plugins/blocks/relatedItems/locale/sr_RS@latin/locale.xml
deleted file mode 100644
index 06dc4912d3e..00000000000
--- a/plugins/blocks/relatedItems/locale/sr_RS@latin/locale.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
- Blok povezanih stavki
- Ovaj blok prikazuje povezane stavke u alatkama za čitanje.
- Povezane stavke
- Sakrij
- Prikaži sve
-
diff --git a/plugins/blocks/relatedItems/locale/sv_SE/locale.xml b/plugins/blocks/relatedItems/locale/sv_SE/locale.xml
deleted file mode 100644
index 85026a395b9..00000000000
--- a/plugins/blocks/relatedItems/locale/sv_SE/locale.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
- Relaterade objekt-block
- Detta plugin lägger till ett block innehållandes relaterade objekt i sidofältet för läsverktyg.
- Relaterat
- Göm
- Visa alla
-
diff --git a/plugins/blocks/relatedItems/locale/tr_TR/locale.xml b/plugins/blocks/relatedItems/locale/tr_TR/locale.xml
deleted file mode 100644
index 4d4e0451011..00000000000
--- a/plugins/blocks/relatedItems/locale/tr_TR/locale.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
- İlgili Başlıklar Bloğu
- Bu eklenti ilgili başlıklar taşıyıcı bloğunun yan tarafta görüntülenmesini sağlar.
- İlgili Başlıklar
- Sakla
- Tümünü göster
-
diff --git a/plugins/blocks/relatedItems/locale/uk_UA/locale.xml b/plugins/blocks/relatedItems/locale/uk_UA/locale.xml
deleted file mode 100644
index 894b40745c7..00000000000
--- a/plugins/blocks/relatedItems/locale/uk_UA/locale.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
- Блок споріднених об'єктів
- Цей модуль відображає на панелі інструментів для читання блок, що містить інструменти для пошуку споріднених об'єктів.
- Споріднені об'єкти
- Приховати
- Показати все
-
diff --git a/plugins/blocks/relatedItems/locale/zh_CN/locale.xml b/plugins/blocks/relatedItems/locale/zh_CN/locale.xml
deleted file mode 100644
index 4cea1b869be..00000000000
--- a/plugins/blocks/relatedItems/locale/zh_CN/locale.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
- Related Items Block
- This plugin displays a block containing related items in the reading tools sidebar.
- Related Items
- Hide
- Show all
-
diff --git a/plugins/blocks/relatedItems/settings.xml b/plugins/blocks/relatedItems/settings.xml
deleted file mode 100644
index 6f42f99eab5..00000000000
--- a/plugins/blocks/relatedItems/settings.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
-
-
-
- enabled
- true
-
-
- seq
- 2
-
-
- context
- 1
-
-
-
diff --git a/plugins/blocks/relatedItems/version.xml b/plugins/blocks/relatedItems/version.xml
deleted file mode 100644
index 4c10f66b303..00000000000
--- a/plugins/blocks/relatedItems/version.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
- relatedItems
- plugins.blocks
- 1.0.0.0
- 2010-04-05
- 1
- RelatedItemsBlockPlugin
-
From 8ff86e6b9d8e7464bbe875da5401eb4bc11b12f8 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Wed, 7 Mar 2018 15:35:33 +0100
Subject: [PATCH 014/100] pkp/pkp-lib#3459 sitemap fix
---
pages/sitemap/SitemapHandler.inc.php | 90 +++++++++++++++++-----------
1 file changed, 56 insertions(+), 34 deletions(-)
diff --git a/pages/sitemap/SitemapHandler.inc.php b/pages/sitemap/SitemapHandler.inc.php
index 70ccadcaa67..dfb8a0ea177 100644
--- a/pages/sitemap/SitemapHandler.inc.php
+++ b/pages/sitemap/SitemapHandler.inc.php
@@ -10,7 +10,7 @@
* @class SitemapHandler
* @ingroup pages_sitemap
*
- * @brief Produce a sitemap in XML format for submitting to search engines.
+ * @brief Produce a sitemap in XML format for submitting to search engines.
*/
import('lib.pkp.classes.xml.XMLCustomWriter');
@@ -38,14 +38,14 @@ function index() {
XMLCustomWriter::printXML($doc);
}
}
-
+
/**
* Construct a sitemap index listing each journal's individual sitemap
* @return XMLNode
*/
function _createSitemapIndex() {
$journalDao = DAORegistry::getDAO('JournalDAO');
-
+
$doc = XMLCustomWriter::createDocument();
$root = XMLCustomWriter::createElement($doc, 'sitemapindex');
XMLCustomWriter::setAttribute($root, 'xmlns', SITEMAP_XSD_URL);
@@ -57,7 +57,7 @@ function _createSitemapIndex() {
XMLCustomWriter::createChildWithText($doc, $sitemap, 'loc', $sitemapUrl, false);
XMLCustomWriter::appendChild($root, $sitemap);
}
-
+
XMLCustomWriter::appendChild($doc, $root);
return $doc;
}
@@ -70,50 +70,72 @@ function _createJournalSitemap() {
$issueDao = DAORegistry::getDAO('IssueDAO');
$publishedArticleDao = DAORegistry::getDAO('PublishedArticleDAO');
$galleyDao = DAORegistry::getDAO('ArticleGalleyDAO');
-
+
$journal = Request::getJournal();
$journalId = $journal->getId();
-
+
$doc = XMLCustomWriter::createDocument();
$root = XMLCustomWriter::createElement($doc, 'urlset');
XMLCustomWriter::setAttribute($root, 'xmlns', SITEMAP_XSD_URL);
-
+
// Journal home
XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(),'index','index')));
- // About page
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about')));
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'editorialTeam')));
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'editorialPolicies')));
+ // User register
+ if ($journal->getSetting('disableUserReg') != 1) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'user', 'register')));
+ }
+ // User login
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'login')));
+ // Announcements (the URL for each announcement is not considered)
+ if ($journal->getSetting('enableAnnouncements') == 1) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'announcement')));
+ }
+ // About: journal
+ if (!empty($journal->getSetting('about'))) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about')));
+ }
+ // About: submissions
XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'submissions')));
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'siteMap')));
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'aboutThisPublishingSystem')));
+ // About: editorial team
+ if (!empty($journal->getSetting('editorialTeam'))) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'editorialTeam')));
+ }
+ // About: contact
+ if (!empty($journal->getSetting('mailingAddress')) || !empty($journal->getSetting('contactName'))) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'contact')));
+ }
// Search
XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'search')));
XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'search', 'authors')));
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'search', 'titles')));
// Issues
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'issue', 'current')));
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'issue', 'archive')));
- $publishedIssues = $issueDao->getPublishedIssues($journalId);
- while ($issue = $publishedIssues->next()) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'issue', 'view', $issue->getId())));
- // Articles for issue
- $articles = $publishedArticleDao->getPublishedArticles($issue->getId());
- foreach($articles as $article) {
- // Abstract
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'article', 'view', array($article->getBestArticleId()))));
- // Galley files
- $galleys = $galleyDao->getBySubmissionId($article->getId());
- while ($galley = $galleys->next()) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'article', 'view', array($article->getBestArticleId(), $galley->getId()))));
+ if ($journal->getSetting('publishingMode') != PUBLISHING_MODE_NONE) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'issue', 'current')));
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'issue', 'archive')));
+ $publishedIssues = $issueDao->getPublishedIssues($journalId);
+ while ($issue = $publishedIssues->next()) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'issue', 'view', $issue->getId())));
+ // Articles for issue
+ $articles = $publishedArticleDao->getPublishedArticles($issue->getId());
+ foreach($articles as $article) {
+ // Abstract
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'article', 'view', array($article->getBestArticleId()))));
+ // Galley files
+ $galleys = $galleyDao->getBySubmissionId($article->getId());
+ while ($galley = $galleys->next()) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'article', 'view', array($article->getBestArticleId(), $galley->getBestGalleyId()))));
+ }
}
}
}
-
+
XMLCustomWriter::appendChild($doc, $root);
+
+ // Enable plugins to change the sitemap
+ HookRegistry::call('SitemapHandler::createJournalSitemap', array(&$doc));
+
return $doc;
}
-
+
/**
* Create a url entry with children
* @param $doc XMLNode Reference to the XML document object
@@ -123,17 +145,17 @@ function _createJournalSitemap() {
* @param $priority string Subjective priority assessment of page (optional)
* @return XMLNode
*/
- function _createUrlTree(&$doc, $loc, $lastmod = null, $changefreq = null, $priority = null) {
+ function _createUrlTree(&$doc, $loc, $lastmod = null, $changefreq = null, $priority = null) {
$url =& XMLCustomWriter::createElement($doc, 'url');
-
+
XMLCustomWriter::createChildWithText($doc, $url, htmlentities('loc'), $loc, false);
XMLCustomWriter::createChildWithText($doc, $url, 'lastmod', $lastmod, false);
XMLCustomWriter::createChildWithText($doc, $url, 'changefreq', $changefreq, false);
XMLCustomWriter::createChildWithText($doc, $url, 'priority', $priority, false);
-
+
return $url;
}
-
+
}
?>
From 00be20808c34c5c60c50e7488a38e6e8bb599d04 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Thu, 8 Mar 2018 17:19:31 +0100
Subject: [PATCH 015/100] pkp/pkp-lib#3459 consider announcements and custom
pages urls
---
pages/sitemap/SitemapHandler.inc.php | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/pages/sitemap/SitemapHandler.inc.php b/pages/sitemap/SitemapHandler.inc.php
index dfb8a0ea177..0ad00bed047 100644
--- a/pages/sitemap/SitemapHandler.inc.php
+++ b/pages/sitemap/SitemapHandler.inc.php
@@ -86,9 +86,14 @@ function _createJournalSitemap() {
}
// User login
XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'login')));
- // Announcements (the URL for each announcement is not considered)
+ // Announcements
if ($journal->getSetting('enableAnnouncements') == 1) {
XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'announcement')));
+ $announcementDao = DAORegistry::getDAO('AnnouncementDAO');
+ $announcementsResult = $announcementDao->getByAssocId(ASSOC_TYPE_JOURNAL, $journalId);
+ while ($announcement = $announcementsResult->next()) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'announcement', 'view', $announcement->getId())));
+ }
}
// About: journal
if (!empty($journal->getSetting('about'))) {
@@ -127,6 +132,12 @@ function _createJournalSitemap() {
}
}
}
+ // Custom pages (navigation menu items)
+ $navigationMenuItemDao = DAORegistry::getDAO('NavigationMenuItemDAO');
+ $menuItemsResult = $navigationMenuItemDao->getByType(NMI_TYPE_CUSTOM, $journalId);
+ while ($menuItem = $menuItemsResult->next()) {
+ XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), $menuItem->getPath())));
+ }
XMLCustomWriter::appendChild($doc, $root);
@@ -148,7 +159,7 @@ function _createJournalSitemap() {
function _createUrlTree(&$doc, $loc, $lastmod = null, $changefreq = null, $priority = null) {
$url =& XMLCustomWriter::createElement($doc, 'url');
- XMLCustomWriter::createChildWithText($doc, $url, htmlentities('loc'), $loc, false);
+ XMLCustomWriter::createChildWithText($doc, $url, 'loc', $loc, false);
XMLCustomWriter::createChildWithText($doc, $url, 'lastmod', $lastmod, false);
XMLCustomWriter::createChildWithText($doc, $url, 'changefreq', $changefreq, false);
XMLCustomWriter::createChildWithText($doc, $url, 'priority', $priority, false);
From 6ed9b96f19f2e70f5b6c071c87d6b7c54b8ce015 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Thu, 8 Mar 2018 18:23:29 +0100
Subject: [PATCH 016/100] pkp/pkp-lib#3459 replace custom XML with standard
DOM, introduce request variable
---
pages/sitemap/SitemapHandler.inc.php | 97 +++++++++++++++-------------
1 file changed, 51 insertions(+), 46 deletions(-)
diff --git a/pages/sitemap/SitemapHandler.inc.php b/pages/sitemap/SitemapHandler.inc.php
index 0ad00bed047..ee81f800bbb 100644
--- a/pages/sitemap/SitemapHandler.inc.php
+++ b/pages/sitemap/SitemapHandler.inc.php
@@ -23,19 +23,19 @@ class SitemapHandler extends Handler {
* Generate an XML sitemap for webcrawlers
* Creates a sitemap index if in site context, else creates a sitemap
*/
- function index() {
- if (Request::getRequestedJournalPath() == 'index') {
+ function index($args, $request) {
+ if ($request->getRequestedJournalPath() == 'index') {
$doc = $this->_createSitemapIndex();
header("Content-Type: application/xml");
header("Cache-Control: private");
header("Content-Disposition: inline; filename=\"sitemap_index.xml\"");
- XMLCustomWriter::printXML($doc);
+ echo $doc->saveXml();
} else {
- $doc = $this->_createJournalSitemap();
+ $doc = $this->_createJournalSitemap($request);
header("Content-Type: application/xml");
header("Cache-Control: private");
header("Content-Disposition: inline; filename=\"sitemap.xml\"");
- XMLCustomWriter::printXML($doc);
+ echo $doc->saveXml();
}
}
@@ -46,19 +46,19 @@ function index() {
function _createSitemapIndex() {
$journalDao = DAORegistry::getDAO('JournalDAO');
- $doc = XMLCustomWriter::createDocument();
- $root = XMLCustomWriter::createElement($doc, 'sitemapindex');
- XMLCustomWriter::setAttribute($root, 'xmlns', SITEMAP_XSD_URL);
+ $doc = new DOMDocument('1.0', 'utf-8');
+ $root = $doc->createElement('sitemapindex');
+ $root->setAttribute('xmlns', SITEMAP_XSD_URL);
$journals = $journalDao->getAll(true);
while ($journal = $journals->next()) {
- $sitemapUrl = Request::url($journal->getPath(), 'sitemap');
- $sitemap = XMLCustomWriter::createElement($doc, 'sitemap');
- XMLCustomWriter::createChildWithText($doc, $sitemap, 'loc', $sitemapUrl, false);
- XMLCustomWriter::appendChild($root, $sitemap);
+ $sitemapUrl = $request->url($journal->getPath(), 'sitemap');
+ $sitemap = $doc->createElement('sitemap');
+ $sitemap->appendChild($doc->createElement('loc', $sitemapUrl));
+ $root->appendChild($sitemap);
}
- XMLCustomWriter::appendChild($doc, $root);
+ $doc->appendChild($root);
return $doc;
}
@@ -66,68 +66,69 @@ function _createSitemapIndex() {
* Construct the sitemap
* @return XMLNode
*/
- function _createJournalSitemap() {
+ function _createJournalSitemap($request) {
$issueDao = DAORegistry::getDAO('IssueDAO');
$publishedArticleDao = DAORegistry::getDAO('PublishedArticleDAO');
$galleyDao = DAORegistry::getDAO('ArticleGalleyDAO');
- $journal = Request::getJournal();
+ $journal = $request->getJournal();
$journalId = $journal->getId();
- $doc = XMLCustomWriter::createDocument();
- $root = XMLCustomWriter::createElement($doc, 'urlset');
- XMLCustomWriter::setAttribute($root, 'xmlns', SITEMAP_XSD_URL);
+ $doc = new DOMDocument('1.0', 'utf-8');
+
+ $root = $doc->createElement('urlset');
+ $root->setAttribute('xmlns', SITEMAP_XSD_URL);
// Journal home
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(),'index','index')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(),'index','index')));
// User register
if ($journal->getSetting('disableUserReg') != 1) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'user', 'register')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'user', 'register')));
}
// User login
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'login')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'login')));
// Announcements
if ($journal->getSetting('enableAnnouncements') == 1) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'announcement')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'announcement')));
$announcementDao = DAORegistry::getDAO('AnnouncementDAO');
$announcementsResult = $announcementDao->getByAssocId(ASSOC_TYPE_JOURNAL, $journalId);
while ($announcement = $announcementsResult->next()) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'announcement', 'view', $announcement->getId())));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'announcement', 'view', $announcement->getId())));
}
}
// About: journal
if (!empty($journal->getSetting('about'))) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'about')));
}
// About: submissions
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'submissions')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'about', 'submissions')));
// About: editorial team
if (!empty($journal->getSetting('editorialTeam'))) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'editorialTeam')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'about', 'editorialTeam')));
}
// About: contact
if (!empty($journal->getSetting('mailingAddress')) || !empty($journal->getSetting('contactName'))) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'about', 'contact')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'about', 'contact')));
}
// Search
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'search')));
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'search', 'authors')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'search')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'search', 'authors')));
// Issues
if ($journal->getSetting('publishingMode') != PUBLISHING_MODE_NONE) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'issue', 'current')));
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'issue', 'archive')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'issue', 'current')));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'issue', 'archive')));
$publishedIssues = $issueDao->getPublishedIssues($journalId);
while ($issue = $publishedIssues->next()) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'issue', 'view', $issue->getId())));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'issue', 'view', $issue->getId())));
// Articles for issue
$articles = $publishedArticleDao->getPublishedArticles($issue->getId());
foreach($articles as $article) {
// Abstract
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'article', 'view', array($article->getBestArticleId()))));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'article', 'view', array($article->getBestArticleId()))));
// Galley files
$galleys = $galleyDao->getBySubmissionId($article->getId());
while ($galley = $galleys->next()) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), 'article', 'view', array($article->getBestArticleId(), $galley->getBestGalleyId()))));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'article', 'view', array($article->getBestArticleId(), $galley->getBestGalleyId()))));
}
}
}
@@ -136,10 +137,10 @@ function _createJournalSitemap() {
$navigationMenuItemDao = DAORegistry::getDAO('NavigationMenuItemDAO');
$menuItemsResult = $navigationMenuItemDao->getByType(NMI_TYPE_CUSTOM, $journalId);
while ($menuItem = $menuItemsResult->next()) {
- XMLCustomWriter::appendChild($root, $this->_createUrlTree($doc, Request::url($journal->getPath(), $menuItem->getPath())));
+ $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), $menuItem->getPath())));
}
- XMLCustomWriter::appendChild($doc, $root);
+ $doc->appendChild($root);
// Enable plugins to change the sitemap
HookRegistry::call('SitemapHandler::createJournalSitemap', array(&$doc));
@@ -149,21 +150,25 @@ function _createJournalSitemap() {
/**
* Create a url entry with children
- * @param $doc XMLNode Reference to the XML document object
+ * @param $doc DOMDocument Reference to the XML document object
* @param $loc string URL of page (required)
* @param $lastmod string Last modification date of page (optional)
* @param $changefreq Frequency of page modifications (optional)
* @param $priority string Subjective priority assessment of page (optional)
- * @return XMLNode
+ * @return DOMNode
*/
- function _createUrlTree(&$doc, $loc, $lastmod = null, $changefreq = null, $priority = null) {
- $url =& XMLCustomWriter::createElement($doc, 'url');
-
- XMLCustomWriter::createChildWithText($doc, $url, 'loc', $loc, false);
- XMLCustomWriter::createChildWithText($doc, $url, 'lastmod', $lastmod, false);
- XMLCustomWriter::createChildWithText($doc, $url, 'changefreq', $changefreq, false);
- XMLCustomWriter::createChildWithText($doc, $url, 'priority', $priority, false);
-
+ function _createUrlTree($doc, $loc, $lastmod = null, $changefreq = null, $priority = null) {
+ $url = $doc->createElement('url');
+ $url->appendChild($doc->createElement('loc', $loc));
+ if ($lastmod) {
+ $url->appendChild($doc->createElement('lastmod', $lastmod));
+ }
+ if ($changefreq) {
+ $url->appendChild($doc->createElement('changefreq', $changefreq));
+ }
+ if ($priority) {
+ $url->appendChild($doc->createElement('priority', $priority));
+ }
return $url;
}
From 97b5fb814cbf22348414c674c01617707599bf0c Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Fri, 9 Mar 2018 14:52:30 +0100
Subject: [PATCH 017/100] pkp/pkp-lib#3459 fix function parameters descriptions
---
pages/sitemap/SitemapHandler.inc.php | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/pages/sitemap/SitemapHandler.inc.php b/pages/sitemap/SitemapHandler.inc.php
index ee81f800bbb..fb8ca85faa6 100644
--- a/pages/sitemap/SitemapHandler.inc.php
+++ b/pages/sitemap/SitemapHandler.inc.php
@@ -22,6 +22,8 @@ class SitemapHandler extends Handler {
/**
* Generate an XML sitemap for webcrawlers
* Creates a sitemap index if in site context, else creates a sitemap
+ * @param $args array
+ * @param $request Request
*/
function index($args, $request) {
if ($request->getRequestedJournalPath() == 'index') {
@@ -41,7 +43,7 @@ function index($args, $request) {
/**
* Construct a sitemap index listing each journal's individual sitemap
- * @return XMLNode
+ * @return DOMDocument
*/
function _createSitemapIndex() {
$journalDao = DAORegistry::getDAO('JournalDAO');
@@ -64,7 +66,8 @@ function _createSitemapIndex() {
/**
* Construct the sitemap
- * @return XMLNode
+ * @param $request Request
+ * @return DOMDocument
*/
function _createJournalSitemap($request) {
$issueDao = DAORegistry::getDAO('IssueDAO');
From ed8234ff6a24ae8e30fdbaba4b75bea4bd2f9388 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Fri, 9 Mar 2018 18:21:55 +0100
Subject: [PATCH 018/100] pkp/pkp-lib#3459 move shared code to pkp-lib
---
pages/sitemap/SitemapHandler.inc.php | 132 ++-------------------------
1 file changed, 9 insertions(+), 123 deletions(-)
diff --git a/pages/sitemap/SitemapHandler.inc.php b/pages/sitemap/SitemapHandler.inc.php
index fb8ca85faa6..736b6aca2df 100644
--- a/pages/sitemap/SitemapHandler.inc.php
+++ b/pages/sitemap/SitemapHandler.inc.php
@@ -13,110 +13,26 @@
* @brief Produce a sitemap in XML format for submitting to search engines.
*/
-import('lib.pkp.classes.xml.XMLCustomWriter');
-import('classes.handler.Handler');
+import('lib.pkp.pages.sitemap.PKPSitemapHandler');
-define('SITEMAP_XSD_URL', 'http://www.sitemaps.org/schemas/sitemap/0.9');
+class SitemapHandler extends PKPSitemapHandler {
-class SitemapHandler extends Handler {
/**
- * Generate an XML sitemap for webcrawlers
- * Creates a sitemap index if in site context, else creates a sitemap
- * @param $args array
- * @param $request Request
+ * @copydoc PKPSitemapHandler_createContextSitemap()
*/
- function index($args, $request) {
- if ($request->getRequestedJournalPath() == 'index') {
- $doc = $this->_createSitemapIndex();
- header("Content-Type: application/xml");
- header("Cache-Control: private");
- header("Content-Disposition: inline; filename=\"sitemap_index.xml\"");
- echo $doc->saveXml();
- } else {
- $doc = $this->_createJournalSitemap($request);
- header("Content-Type: application/xml");
- header("Cache-Control: private");
- header("Content-Disposition: inline; filename=\"sitemap.xml\"");
- echo $doc->saveXml();
- }
- }
-
- /**
- * Construct a sitemap index listing each journal's individual sitemap
- * @return DOMDocument
- */
- function _createSitemapIndex() {
- $journalDao = DAORegistry::getDAO('JournalDAO');
-
- $doc = new DOMDocument('1.0', 'utf-8');
- $root = $doc->createElement('sitemapindex');
- $root->setAttribute('xmlns', SITEMAP_XSD_URL);
-
- $journals = $journalDao->getAll(true);
- while ($journal = $journals->next()) {
- $sitemapUrl = $request->url($journal->getPath(), 'sitemap');
- $sitemap = $doc->createElement('sitemap');
- $sitemap->appendChild($doc->createElement('loc', $sitemapUrl));
- $root->appendChild($sitemap);
- }
-
- $doc->appendChild($root);
- return $doc;
- }
-
- /**
- * Construct the sitemap
- * @param $request Request
- * @return DOMDocument
- */
- function _createJournalSitemap($request) {
- $issueDao = DAORegistry::getDAO('IssueDAO');
- $publishedArticleDao = DAORegistry::getDAO('PublishedArticleDAO');
- $galleyDao = DAORegistry::getDAO('ArticleGalleyDAO');
+ function _createContextSitemap($request) {
+ $doc = parent::_createContextSitemap($request);
+ $root = $doc->documentElement;
$journal = $request->getJournal();
$journalId = $journal->getId();
- $doc = new DOMDocument('1.0', 'utf-8');
-
- $root = $doc->createElement('urlset');
- $root->setAttribute('xmlns', SITEMAP_XSD_URL);
-
- // Journal home
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(),'index','index')));
- // User register
- if ($journal->getSetting('disableUserReg') != 1) {
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'user', 'register')));
- }
- // User login
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'login')));
- // Announcements
- if ($journal->getSetting('enableAnnouncements') == 1) {
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'announcement')));
- $announcementDao = DAORegistry::getDAO('AnnouncementDAO');
- $announcementsResult = $announcementDao->getByAssocId(ASSOC_TYPE_JOURNAL, $journalId);
- while ($announcement = $announcementsResult->next()) {
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'announcement', 'view', $announcement->getId())));
- }
- }
- // About: journal
- if (!empty($journal->getSetting('about'))) {
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'about')));
- }
- // About: submissions
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'about', 'submissions')));
- // About: editorial team
- if (!empty($journal->getSetting('editorialTeam'))) {
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'about', 'editorialTeam')));
- }
- // About: contact
- if (!empty($journal->getSetting('mailingAddress')) || !empty($journal->getSetting('contactName'))) {
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'about', 'contact')));
- }
// Search
$root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'search')));
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'search', 'authors')));
// Issues
+ $issueDao = DAORegistry::getDAO('IssueDAO');
+ $publishedArticleDao = DAORegistry::getDAO('PublishedArticleDAO');
+ $galleyDao = DAORegistry::getDAO('ArticleGalleyDAO');
if ($journal->getSetting('publishingMode') != PUBLISHING_MODE_NONE) {
$root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'issue', 'current')));
$root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), 'issue', 'archive')));
@@ -136,12 +52,6 @@ function _createJournalSitemap($request) {
}
}
}
- // Custom pages (navigation menu items)
- $navigationMenuItemDao = DAORegistry::getDAO('NavigationMenuItemDAO');
- $menuItemsResult = $navigationMenuItemDao->getByType(NMI_TYPE_CUSTOM, $journalId);
- while ($menuItem = $menuItemsResult->next()) {
- $root->appendChild($this->_createUrlTree($doc, $request->url($journal->getPath(), $menuItem->getPath())));
- }
$doc->appendChild($root);
@@ -151,30 +61,6 @@ function _createJournalSitemap($request) {
return $doc;
}
- /**
- * Create a url entry with children
- * @param $doc DOMDocument Reference to the XML document object
- * @param $loc string URL of page (required)
- * @param $lastmod string Last modification date of page (optional)
- * @param $changefreq Frequency of page modifications (optional)
- * @param $priority string Subjective priority assessment of page (optional)
- * @return DOMNode
- */
- function _createUrlTree($doc, $loc, $lastmod = null, $changefreq = null, $priority = null) {
- $url = $doc->createElement('url');
- $url->appendChild($doc->createElement('loc', $loc));
- if ($lastmod) {
- $url->appendChild($doc->createElement('lastmod', $lastmod));
- }
- if ($changefreq) {
- $url->appendChild($doc->createElement('changefreq', $changefreq));
- }
- if ($priority) {
- $url->appendChild($doc->createElement('priority', $priority));
- }
- return $url;
- }
-
}
?>
From 2a5acc07504fd14d1cb91ffbb0209aa61e156bbb Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Mon, 12 Mar 2018 21:13:54 +0100
Subject: [PATCH 019/100] pkp/pkp-lib#3459 submodule update ##bozana/3459##
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index 7fdd84d3fac..c9e952804a9 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit 7fdd84d3fac369f41876ad83a4faad9ace0a4e79
+Subproject commit c9e952804a910d3a221b870b8d8812c5b79b5185
From 0252e4715274d968df61dbf11971d330cf031460 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Mon, 12 Mar 2018 22:10:44 +0100
Subject: [PATCH 020/100] pkp/pkp-lib#3444 submodule update ##bozana/3444##
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index c9e952804a9..c684829a6ce 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit c9e952804a910d3a221b870b8d8812c5b79b5185
+Subproject commit c684829a6ceab9191d1f22c623dd8c05fccb655c
From fdc287c094591101539760e7e5aca7b5ec3979d1 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Mon, 12 Mar 2018 14:46:47 -0700
Subject: [PATCH 021/100] Update minified JS
---
js/pkp.min.js | 80 ++++++++++++++++++++++++---------------------------
1 file changed, 38 insertions(+), 42 deletions(-)
diff --git a/js/pkp.min.js b/js/pkp.min.js
index 487337d7bbd..f01563297ec 100644
--- a/js/pkp.min.js
+++ b/js/pkp.min.js
@@ -108,10 +108,9 @@ f+=h;t=[];if("[object Array]"===Object.prototype.toString.apply(g)){m=g.length;f
e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f,h,j={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},i;"function"!==typeof JSON.stringify&&(JSON.stringify=function(a,b,d){var e;h=f="";if("number"===typeof d)for(e=0;e").text(a).html()}function unescapeHTML(a){return $("").html(a).text()};(function(a){a.pkp=a.pkp||{};a.pkp.classes=a.pkp.classes||{};a.pkp.controllers=a.pkp.controllers||{};a.pkp.plugins=a.pkp.plugins||{};a.pkp.plugins.blocks=a.pkp.plugins.blocks||{};a.pkp.plugins.generic=a.pkp.plugins.generic||{};a.pkp.plugins.pubIds=a.pkp.plugins.pubIds||{};a.pkp.plugins.importexport=a.pkp.plugins.importexport||{};a.pkp.classes.Helper=function(){throw Error("Trying to instantiate the Helper singleton!");};a.pkp.classes.Helper.CHARS_="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
+function getBrowserObject(a,b){var c=0,d;document.getElementById?d=document.getElementById(a):document.all?d=document.all[a]:document.layers&&(d=document.layers[a],c=1);b&&!c&&(d=d.style);return d}function loadUrl(a){document.location.href=a}function createCookie(a,b,c){if(c){var d=new Date;d.setTime(d.getTime()+864E5*c);c="; expires="+d.toGMTString()}else c="";document.cookie=a+"="+b+c+"; path=/"}
+function readCookie(a){for(var a=a+"=",b=document.cookie.split(";"),c=0;c").text(a).html()}function unescapeHTML(a){return $("").html(a).text()};(function(a){a.pkp=a.pkp||{};a.pkp.classes=a.pkp.classes||{};a.pkp.controllers=a.pkp.controllers||{};a.pkp.plugins=a.pkp.plugins||{};a.pkp.plugins.blocks=a.pkp.plugins.blocks||{};a.pkp.plugins.generic=a.pkp.plugins.generic||{};a.pkp.plugins.pubIds=a.pkp.plugins.pubIds||{};a.pkp.plugins.importexport=a.pkp.plugins.importexport||{};a.pkp.classes.Helper=function(){throw Error("Trying to instantiate the Helper singleton!");};a.pkp.classes.Helper.CHARS_="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");
a.pkp.classes.Helper.uuid=function(){var b=a.pkp.classes.Helper.CHARS_,c=Array(36),d=0,e,f;for(f=0;36>f;f++)8==f||13==f||18==f||23==f?c[f]="-":14==f?c[f]="4":(2>=d&&(d=33554432+16777216*Math.random()|0),e=d&15,d>>=4,c[f]=b[19==f?e&3|8:e]);return c.join("")};a.pkp.classes.Helper.inherits=function(a,c){var d=function(){};d.prototype=c.prototype;a.parent_=c.prototype;a.prototype=new d;a.prototype.constructor=a;c.prototype.constructor==Object.prototype.constructor&&(c.prototype.constructor=c)};a.pkp.classes.Helper.objectFactory=
function(b,c){var d,e;d=a.pkp.classes.Helper.resolveObjectName(b);e=a.pkp.classes.Helper.getObjectProxyInstance();a.extend(!0,e,a.pkp.classes.ObjectProxy);a.pkp.classes.Helper.inherits(e,d);a.extend(!0,e.prototype,a.pkp.classes.ObjectProxy.prototype);return new e(b,c)};a.pkp.classes.Helper.resolveObjectName=function(b){var c,d,e;c=b.split(".");if("$"!=c.shift())throw Error(['Namespace "',c[0],'" for object "',b,'" is currently not supported!'].join(""));e=c[c.length-1];if(e.charAt(0).toUpperCase()!==
e.charAt(0))throw Error(['The name "',b,'" does not point to aconstructor which must always be upper case!'].join(""));e=a;for(d in c)if(e=e[c[d]],void 0===e)throw Error(['Constructor for object "',b,'" not found!'].join(""));if(!a.isFunction(e))throw Error(['The name "',b,'" does not point to a,constructor which must always be a function!'].join());return e};a.pkp.classes.Helper.getObjectProxyInstance=function(){var a=function(a,b){this.objectName_=a;this.parent.apply(this,b)};a.objectName_="";a.prototype.parent=
@@ -188,18 +187,19 @@ this))};a.pkp.classes.features.CollapsibleGridFeature.prototype.addFeatureHtml=f
this.getGridHtmlElement().find("div.grid_header span.options").toggle();return!1}})(jQuery);(function(a){a.pkp.controllers.SiteHandler=function(b,c){this.parent(b,c);this.options_=c;this.unsavedFormElements_=[];a(".go").button();this.bind("redirectRequested",this.redirectToUrl);this.bind("notifyUser",this.fetchNotificationHandler_);this.bind("updateHeader",this.updateHeaderHandler_);this.bind("callWhenClickOutside",this.callWhenClickOutsideHandler_);this.bind("mousedown",this.mouseDownHandler_);a(window).bind("beforeunload",this.pageUnloadHandler_);a.ajaxSetup({cache:!1});c.hasSystemNotifications&&
this.trigger("notifyUser");this.bind("formChanged",this.callbackWrapper(this.registerUnsavedFormElement_));this.bind("unregisterChangedForm",this.callbackWrapper(this.unregisterUnsavedFormElement_));this.bind("unregisterAllForms",this.callbackWrapper(this.unregisterAllFormElements_));this.bind("pkpModalOpen",this.callbackWrapper(this.openModal_));this.bind("pkpModalClose",this.callbackWrapper(this.closeModal_));this.bind("pkpObserveScrolling",this.callbackWrapper(this.registerScrollingObserver_));
this.bind("pkpRemoveScrollingObserver",this.callbackWrapper(this.unregisterScrollingObserver_));this.outsideClickChecks_={};this.initializeTinyMCE()};a.pkp.classes.Helper.inherits(a.pkp.controllers.SiteHandler,a.pkp.classes.Handler);a.pkp.controllers.SiteHandler.prototype.helpContext_=null;a.pkp.controllers.SiteHandler.prototype.options_=null;a.pkp.controllers.SiteHandler.prototype.outsideClickChecks_=null;a.pkp.controllers.SiteHandler.prototype.unsavedFormElements_=null;a.pkp.controllers.SiteHandler.prototype.initializeTinyMCE=
-function(){if("undefined"!==typeof tinyMCE){tinyMCE.PluginManager.load("jbimages",a.pkp.app.baseUrl+"/plugins/generic/tinymce/plugins/justboil.me/plugin.js");tinyMCE.PluginManager.load("pkpTags",a.pkp.app.baseUrl+"/plugins/generic/tinymce/plugins/pkpTags/plugin.js");var b;b={width:"100%",resize:"both",entity_encoding:"raw",plugins:"paste,fullscreen,link,code,-jbimages,-pkpTags,noneditable",convert_urls:!1,forced_root_block:"p",paste_auto_cleanup_on_paste:!0,apply_source_formatting:!1,theme:"modern",
-toolbar:"copy paste | bold italic underline | link unlink code fullscreen | jbimages | pkpTags",richToolbar:"copy paste | bold italic underline | bullist numlist | superscript subscript | link unlink code fullscreen | jbimages | pkpTags",statusbar:!1,content_css:a.pkp.app.baseUrl+"/plugins/generic/tinymce/styles/content.css"};b="undefined"!==typeof a.pkp.plugins.tinymceplugin&&typeof a.pkp.plugins.tinymceplugin.tinymceParams?a.extend({},b,a.pkp.plugins.tinymceplugin.tinymceParams):a.extend({},b);
-b.init_instance_callback=a.pkp.controllers.SiteHandler.prototype.triggerTinyMCEInitialized;b.setup=a.pkp.controllers.SiteHandler.prototype.triggerTinyMCESetup;tinyMCE.init(b)}};a.pkp.controllers.SiteHandler.prototype.triggerTinyMCEInitialized=function(b){a("#"+a.pkp.classes.Helper.escapeJQuerySelector(b.id)).trigger("tinyMCEInitialized",[b])};a.pkp.controllers.SiteHandler.prototype.triggerTinyMCESetup=function(b){var c=a("#"+a.pkp.classes.Helper.escapeJQuerySelector(b.id));c.attr("readonly")&&(b.settings.readonly=
-!0);c=c.attr("rows")||10;b.settings.height=(20*c).toString()+"px";b.on("init",function(b){var c=a("#"+b.id),f,h;f=a("#"+b.id).attr("placeholder");""!==f&&(h=a(""),h.html(f),h.addClass("mcePlaceholder"),h.attr("id","mcePlaceholder-"+b.id),b.target.getContent().length&&h.hide(),b=a(""),b.addClass("mcePlaceholderParent"),c.wrap(b),c.parent().append(h))});b.on("activate",function(b){a("#mcePlaceholder-"+b.id).hide()});b.on("deactivate",function(b){b.target.getContent().length||
-a("#mcePlaceholder-"+b.id).show();b.target.dom.addClass(b.target.dom.select("li"),"show")});b.on("BeforeSetContent",function(c){var e=a.pkp.classes.TinyMCEHelper.prototype.getVariableMap("#"+a.pkp.classes.Helper.escapeJQuerySelector(b.id));c.content=c.content.replace(/\{\$([a-zA-Z]+)\}(?![^<]*>)/g,function(c,d){return void 0!==e[d]?a.pkp.classes.TinyMCEHelper.prototype.getVariableElement(d,e[d],"#"+b.id).html():c})});b.on("SaveContent",function(b){var c=a("
"+b.content+"
");c.find(".pkpTag").replaceWith(function(){return"{$"+
-a(this).attr("data-symbolic")+"}"});b.content=c.html()});b.on("FullscreenStateChanged init",function(b){var b=b.target,c=a(b.editorContainer);b.plugins.fullscreen&&(b.plugins.fullscreen.isFullscreen()?c.find(".mce-toolbar[role='menubar']").show():c.find(".mce-toolbar[role='menubar']").hide())})};a.pkp.controllers.SiteHandler.prototype.getWindowDimensions=function(){return{height:a(window).height(),width:a(window).width()}};a.pkp.controllers.SiteHandler.prototype.redirectToUrl=function(a,c,d){window.location=
-d};a.pkp.controllers.SiteHandler.prototype.registerUnsavedFormElement_=function(b,c,d){b=a(d.target.lastElementChild).attr("id");-1==a.inArray(b,this.unsavedFormElements_)&&this.unsavedFormElements_.push(b)};a.pkp.controllers.SiteHandler.prototype.unregisterUnsavedFormElement_=function(b,c,d){b=a(d.target.lastElementChild).attr("id");b=a.inArray(b,this.unsavedFormElements_);-1!==b&&delete this.unsavedFormElements_[b]};a.pkp.controllers.SiteHandler.prototype.unregisterAllFormElements_=function(){this.unsavedFormElements_=
-[]};a.pkp.controllers.SiteHandler.prototype.fetchNotificationHandler_=function(b,c,d){void 0!==d?this.showNotification_(d):a.ajax({url:this.options_.fetchNotificationUrl,data:this.options_.requestOptions,success:this.callbackWrapper(this.showNotificationResponseHandler_),dataType:"json",async:!1})};a.pkp.controllers.SiteHandler.prototype.updateHeaderHandler_=function(){a.pkp.classes.Handler.getHandler(a("#navigationUserWrapper")).reload()};a.pkp.controllers.SiteHandler.prototype.callWhenClickOutsideHandler_=
-function(a,c,d){void 0!==d.container&&void 0!==d.callback&&(a=d.container.attr("id"),this.outsideClickChecks_[a]=d)};a.pkp.controllers.SiteHandler.prototype.mouseDownHandler_=function(b,c){var d;if(!a.isEmptyObject(this.outsideClickChecks_))for(d in this.outsideClickChecks_)this.processOutsideClickCheck_(this.outsideClickChecks_[d],c);return!0};a.pkp.controllers.SiteHandler.prototype.processOutsideClickCheck_=function(a,c){if("click"!==c.type&&"mousedown"!==c.type&&"mouseup"!==c.type)throw Error("Can not check outside click with the passed event: "+
-c.type+".");var d=a.container;return d.is(":hidden")?!1:0===d.has(c.target).length?(delete this.outsideClickChecks_[d.attr("id")],a.callback(),!0):!1};a.pkp.controllers.SiteHandler.prototype.pageUnloadHandler_=function(){var b,c,d;b=a.pkp.classes.Handler.getHandler(a("body"));c=0;for(d in b.unsavedFormElements_)d&&c++;if(0"),h.html(f),h.addClass("mcePlaceholder"),h.attr("id","mcePlaceholder-"+b.id),b.target.getContent().length&&h.hide(),b=a(""),
+b.addClass("mcePlaceholderParent"),c.wrap(b),c.parent().append(h))});b.on("activate",function(b){a("#mcePlaceholder-"+b.id).hide()});b.on("deactivate",function(b){b.target.getContent().length||a("#mcePlaceholder-"+b.id).show();b.target.dom.addClass(b.target.dom.select("li"),"show")});b.on("BeforeSetContent",function(c){var e=a.pkp.classes.TinyMCEHelper.prototype.getVariableMap("#"+a.pkp.classes.Helper.escapeJQuerySelector(b.id));c.content=c.content.replace(/\{\$([a-zA-Z]+)\}(?![^<]*>)/g,function(c,
+d){return void 0!==e[d]?a.pkp.classes.TinyMCEHelper.prototype.getVariableElement(d,e[d],"#"+b.id).html():c})});b.on("SaveContent",function(b){var c=a("
"+b.content+"
");c.find(".pkpTag").replaceWith(function(){return"{$"+a(this).attr("data-symbolic")+"}"});b.content=c.html()});b.on("FullscreenStateChanged init",function(b){var b=b.target,c=a(b.editorContainer);b.plugins.fullscreen&&(b.plugins.fullscreen.isFullscreen()?c.find(".mce-toolbar[role='menubar']").show():c.find(".mce-toolbar[role='menubar']").hide())})};
+a.pkp.controllers.SiteHandler.prototype.getWindowDimensions=function(){return{height:a(window).height(),width:a(window).width()}};a.pkp.controllers.SiteHandler.prototype.redirectToUrl=function(a,c,d){window.location=d};a.pkp.controllers.SiteHandler.prototype.registerUnsavedFormElement_=function(b,c,d){b=a(d.target.lastElementChild).attr("id");-1==a.inArray(b,this.unsavedFormElements_)&&this.unsavedFormElements_.push(b)};a.pkp.controllers.SiteHandler.prototype.unregisterUnsavedFormElement_=function(b,
+c,d){b=a(d.target.lastElementChild).attr("id");b=a.inArray(b,this.unsavedFormElements_);-1!==b&&delete this.unsavedFormElements_[b]};a.pkp.controllers.SiteHandler.prototype.unregisterAllFormElements_=function(){this.unsavedFormElements_=[]};a.pkp.controllers.SiteHandler.prototype.fetchNotificationHandler_=function(b,c,d){void 0!==d?this.showNotification_(d):a.ajax({url:this.options_.fetchNotificationUrl,data:this.options_.requestOptions,success:this.callbackWrapper(this.showNotificationResponseHandler_),
+dataType:"json",async:!1})};a.pkp.controllers.SiteHandler.prototype.updateHeaderHandler_=function(){a.pkp.classes.Handler.getHandler(a("#navigationUserWrapper")).reload()};a.pkp.controllers.SiteHandler.prototype.callWhenClickOutsideHandler_=function(a,c,d){void 0!==d.container&&void 0!==d.callback&&(a=d.container.attr("id"),this.outsideClickChecks_[a]=d)};a.pkp.controllers.SiteHandler.prototype.mouseDownHandler_=function(b,c){var d;if(!a.isEmptyObject(this.outsideClickChecks_))for(d in this.outsideClickChecks_)this.processOutsideClickCheck_(this.outsideClickChecks_[d],
+c);return!0};a.pkp.controllers.SiteHandler.prototype.processOutsideClickCheck_=function(a,c){if("click"!==c.type&&"mousedown"!==c.type&&"mouseup"!==c.type)throw Error("Can not check outside click with the passed event: "+c.type+".");var d=a.container;return d.is(":hidden")?!1:0===d.has(c.target).length?(delete this.outsideClickChecks_[d.attr("id")],a.callback(),!0):!1};a.pkp.controllers.SiteHandler.prototype.pageUnloadHandler_=function(){var b,c,d;b=a.pkp.classes.Handler.getHandler(a("body"));c=0;
+for(d in b.unsavedFormElements_)d&&c++;if(0e?(d=Math.ceil(d+a.height()-c.height()),0c.height&&(b.addClass("isHidden").css("max-height",c.height+"px"),a(".revealMoreButton",b).click(this.callbackWrapper(this.revealMore)))};a.pkp.classes.Helper.inherits(a.pkp.controllers.RevealMoreHandler,a.pkp.classes.Handler);a.pkp.controllers.RevealMoreHandler.prototype.revealMore=function(a,c){this.getHtmlElement().removeClass("isHidden").css("max-height","auto");c.preventDefault();c.stopPropagation()}})(jQuery);(function(a){a.pkp.controllers.NotificationHandler=function(a,c){this.parent(a,c);this.options_=c;this.bind("notifyUser",this.fetchNotificationHandler_);this.getHtmlElement().hide();this.getHtmlElement().triggerHandler("notifyUser");this.options_.refreshOn&&this.bindGlobal(this.options_.refreshOn,this.fetchNotificationHandler_)};a.pkp.classes.Helper.inherits(a.pkp.controllers.NotificationHandler,a.pkp.classes.Handler);a.pkp.controllers.NotificationHandler.prototype.options_=null;a.pkp.controllers.NotificationHandler.prototype.trivialTimer_=
+function(a){this.sourceUrl_=a};a.pkp.controllers.AutocompleteHandler.prototype.textInputBlurHandler_=function(){""===this.hiddenInput_.val()&&this.textInput.val("")};a.pkp.controllers.AutocompleteHandler.prototype.synchronizeFields_=function(){this.hiddenInput_.val(String(this.textInput.val()))}})(jQuery);(function(a){a.pkp.controllers.RevealMoreHandler=function(b,c){this.parent(b,c);b.outerHeight()>c.height&&(b.addClass("isHidden").css("max-height",c.height+"px"),a(".revealMoreButton",b).click(this.callbackWrapper(this.revealMore)))};a.pkp.classes.Helper.inherits(a.pkp.controllers.RevealMoreHandler,a.pkp.classes.Handler);a.pkp.controllers.RevealMoreHandler.prototype.revealMore=function(a,c){this.getHtmlElement().removeClass("isHidden").removeAttr("style");c.preventDefault();c.stopPropagation()}})(jQuery);(function(a){a.pkp.controllers.NotificationHandler=function(a,c){this.parent(a,c);this.options_=c;this.bind("notifyUser",this.fetchNotificationHandler_);this.getHtmlElement().hide();this.getHtmlElement().triggerHandler("notifyUser");this.options_.refreshOn&&this.bindGlobal(this.options_.refreshOn,this.fetchNotificationHandler_)};a.pkp.classes.Helper.inherits(a.pkp.controllers.NotificationHandler,a.pkp.classes.Handler);a.pkp.controllers.NotificationHandler.prototype.options_=null;a.pkp.controllers.NotificationHandler.prototype.trivialTimer_=
null;a.pkp.controllers.NotificationHandler.prototype.fetchNotificationHandler_=function(){var b={};b.requestOptions=this.options_.requestOptions;a.ajax({type:"POST",url:this.options_.fetchNotificationUrl,data:b,success:this.callbackWrapper(this.showNotificationResponseHandler_),dataType:"json",async:!1})};a.pkp.controllers.NotificationHandler.prototype.showNotificationResponseHandler_=function(b,c){clearTimeout(this.trivialTimer_);var d=this.getHtmlElement(),e=this.handleJson(c),f,h,j;if(!1!==e)if(e.content.inPlace){f=
this.concatenateNotifications_(e.content.inPlace);h=this.removeAlreadyShownNotifications_(e);this.unbindPartial(d);d.html(f);d.show();e=this.getTrivialNotifications_(e.content.inPlace);if(!this.visibleWithoutScrolling_()&&h)for(j in d.parent().trigger("notifyUser",[h]),e)d=e[j],d=a("#pkp_notification_"+d,this.getHtmlElement()),this.unbindPartial(d),d.remove();0===d.children().length?d.hide():this.addTimerToNotifications(e)}else this.unbindPartial(this.getHtmlElement()),this.getHtmlElement().empty(),
this.getHtmlElement().hide()};a.pkp.controllers.NotificationHandler.prototype.visibleWithoutScrolling_=function(){var b=this.getHtmlElement(),c=b.offset().top+this.getHtmlElement().height()/2,d=a(window).scrollTop(),e=d+a(window).height(),f=b.parents(".ui-dialog-content");return 0f)?!1:ce?!1:!0};a.pkp.controllers.NotificationHandler.prototype.removeAlreadyShownNotifications_=function(b){var c=!0,d,e,f;for(d in b.content.inPlace)for(e in b.content.inPlace[d])f=
@@ -348,24 +346,21 @@ function(b,c){var d=a(''),e,
(e=a('').text(c.cancelButtonText),d.append(e),e.bind("click",this.callbackWrapper(this.cancelRequest)));b.after(d)};a.pkp.controllers.wizard.WizardHandler.prototype.disableContinueButton=function(){this.getContinueButton().attr("disabled","disabled")};a.pkp.controllers.wizard.WizardHandler.prototype.enableContinueButton=function(){this.getContinueButton().removeAttr("disabled")}})(jQuery);(function(a){a.pkp.controllers.grid.queries=a.pkp.controllers.grid.queries||{};a.pkp.controllers.grid.queries.ReadQueryHandler=function(a,c){this.fetchNoteFormUrl_=c.fetchNoteFormUrl;this.fetchParticipantsListUrl_=c.fetchParticipantsListUrl;a.find(".openNoteForm a").click(this.callbackWrapper(this.showNoteFormHandler_));a.bind("dataChanged",this.callbackWrapper(this.reloadParticipantsList_));this.loadParticipantsList()};a.pkp.classes.Helper.inherits(a.pkp.controllers.grid.queries.ReadQueryHandler,
a.pkp.classes.Handler);a.pkp.controllers.grid.queries.ReadQueryHandler.prototype.fetchNoteFormUrl_=null;a.pkp.controllers.grid.queries.ReadQueryHandler.prototype.fetchParticipantsListUrl_=null;a.pkp.controllers.grid.queries.ReadQueryHandler.prototype.loadParticipantsList=function(){a.get(this.fetchParticipantsListUrl_,this.callbackWrapper(this.showFetchedParticipantsList_),"json")};a.pkp.controllers.grid.queries.ReadQueryHandler.prototype.showNoteFormHandler_=function(b){a(b).parents(".openNoteForm").addClass("is_loading");
a.get(this.fetchNoteFormUrl_,this.callbackWrapper(this.showFetchedNoteForm_),"json")};a.pkp.controllers.grid.queries.ReadQueryHandler.prototype.showFetchedNoteForm_=function(b,c){var d=this.handleJson(c),e=a("#newNotePlaceholder",this.getHtmlElement()),f=a(".openNoteForm.is_loading",this.getHtmlElement());this.unbindPartial(f);f.remove();this.unbindPartial(e);e.html(d.content)};a.pkp.controllers.grid.queries.ReadQueryHandler.prototype.showFetchedParticipantsList_=function(b,c){var d=this.handleJson(c),
-e=a("#participantsListPlaceholder",this.getHtmlElement());this.unbindPartial(e);e.children().remove();e.append(d.content)};a.pkp.controllers.grid.queries.ReadQueryHandler.prototype.reloadParticipantsList_=function(){this.loadParticipantsList()}})(jQuery);(function(a){a.pkp.controllers.wizard.fileUpload=a.pkp.controllers.wizard.fileUpload||{};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler=function(a,c){this.parent(a,c);this.deleteUrl_=c.deleteUrl;this.metadataUrl_=c.metadataUrl;this.finishUrl_=c.finishUrl;this.bind("fileUploaded",this.handleFileUploaded);this.bind("filesRemoved",this.handleRemovedFiles);this.disableContinueButton()};a.pkp.classes.Helper.inherits(a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler,a.pkp.controllers.wizard.WizardHandler);
-a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.deleteUrl_="";a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.metadataUrl_="";a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.finishUrl_="";a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.uploadedFile_=null;a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.tabsBeforeActivate=function(a,c,d){if(0c)throw Error("Trying to set an invalid wizard step!");
-e.tabs("enable",d);e.tabs("option","active",d);0===a&&e.tabs("disable",a);d===c&&(a=this.getContinueButton(),a.text(this.getFinishButtonText()),this.enableContinueButton())};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.tabsLoad=function(b,c,d){var e=this.getHtmlElement(),f=this.getProgressIndicator();2===d.tab.index()&&(e=a("#newFile",e),e.length&&e.bind("click",this.callbackWrapper(this.startWizard)));f.hide();return this.parent("tabsLoad",b,c,d)};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.formValid=
-function(a,c){0===this.getCurrentStep()&&0===this.getHtmlElement().find("#uploadConfirmationForm").length&&!this.uploadedFile_||this.parent("formValid",a,c)};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.wizardCancelRequested=function(b,c){if(this.parent("wizardCancelRequested",b,c))if(this.uploadedFile_)a.post(this.deleteUrl_,this.uploadedFile_,a.pkp.classes.Helper.curry(this.wizardCancelSuccess,this,b,c),"json"),this.uploadedFile_=null,c.preventDefault();else return!0;return!1};
-a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.wizardCancelSuccess=function(a,c,d){!1!==this.handleJson(d)&&this.trigger("wizardCancel")};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.handleFileUploaded=function(a,c,d){this.uploadedFile_=d};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.handleRemovedFiles=function(b,c,d,e){var f;if("undefined"!==typeof e&&e.length)for(f in e){if("undefined"===typeof e[f].storedData)break;a.post(this.deleteUrl_,
-e[f].storedData)}};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.startWizard=function(){this.uploadedFile_=null;this.parent("startWizard")}})(jQuery);(function(a){a.pkp.controllers.wizard.fileUpload.form=a.pkp.controllers.wizard.fileUpload.form||{};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler=function(a,c){this.parent(a,c);this.hasFileSelector_=c.hasFileSelector;this.hasGenreSelector_=c.hasGenreSelector;c.presetRevisedFileId&&(this.presetRevisedFileId_=c.presetRevisedFileId);this.fileGenres_=c.fileGenres;this.$uploader_=c.$uploader;this.attachUploader_(this.$uploader_,c.uploaderOptions);this.uploaderSetup(c.$uploader);this.$revisedFileSelector_=
+e=a("#participantsListPlaceholder",this.getHtmlElement());this.unbindPartial(e);e.children().remove();e.append(d.content)};a.pkp.controllers.grid.queries.ReadQueryHandler.prototype.reloadParticipantsList_=function(){this.loadParticipantsList()}})(jQuery);(function(a){a.pkp.controllers.wizard.fileUpload=a.pkp.controllers.wizard.fileUpload||{};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler=function(a,c){this.parent(a,c);this.csrfToken_=c.csrfToken;this.deleteUrl_=c.deleteUrl;this.metadataUrl_=c.metadataUrl;this.finishUrl_=c.finishUrl;this.bind("fileUploaded",this.handleFileUploaded);this.bind("filesRemoved",this.handleRemovedFiles);this.disableContinueButton()};a.pkp.classes.Helper.inherits(a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler,
+a.pkp.controllers.wizard.WizardHandler);a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.csrfToken_="";a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.deleteUrl_="";a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.metadataUrl_="";a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.finishUrl_="";a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.uploadedFile_=null;a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.tabsBeforeActivate=
+function(a,c,d){if(0c)throw Error("Trying to set an invalid wizard step!");e.tabs("enable",d);e.tabs("option","active",d);0===a&&e.tabs("disable",a);d===c&&(a=this.getContinueButton(),a.text(this.getFinishButtonText()),this.enableContinueButton())};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.tabsLoad=function(b,c,d){var e=this.getHtmlElement(),f=this.getProgressIndicator();2===d.tab.index()&&(e=a("#newFile",
+e),e.length&&e.bind("click",this.callbackWrapper(this.startWizard)));f.hide();return this.parent("tabsLoad",b,c,d)};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.formValid=function(a,c){0===this.getCurrentStep()&&0===this.getHtmlElement().find("#uploadConfirmationForm").length&&!this.uploadedFile_||this.parent("formValid",a,c)};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.wizardCancelRequested=function(b,c){if(this.parent("wizardCancelRequested",b,
+c))if(this.uploadedFile_)this.uploadedFile_.csrfToken=this.csrfToken_,a.post(this.deleteUrl_,this.uploadedFile_,a.pkp.classes.Helper.curry(this.wizardCancelSuccess,this,b,c),"json"),this.uploadedFile_=null,c.preventDefault();else return!0;return!1};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.wizardCancelSuccess=function(a,c,d){!1!==this.handleJson(d)&&this.trigger("wizardCancel")};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.handleFileUploaded=function(a,
+c,d){this.uploadedFile_=d};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.handleRemovedFiles=function(b,c,d,e){var f;if("undefined"!==typeof e&&e.length)for(f in e){if("undefined"===typeof e[f].storedData)break;e[f].storedData.csrfToken=this.csrfToken_;a.post(this.deleteUrl_,e[f].storedData)}};a.pkp.controllers.wizard.fileUpload.FileUploadWizardHandler.prototype.startWizard=function(){this.uploadedFile_=null;this.parent("startWizard")}})(jQuery);(function(a){a.pkp.controllers.wizard.fileUpload.form=a.pkp.controllers.wizard.fileUpload.form||{};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler=function(a,c){this.parent(a,c);this.hasFileSelector_=c.hasFileSelector;this.hasGenreSelector_=c.hasGenreSelector;c.presetRevisedFileId&&(this.presetRevisedFileId_=c.presetRevisedFileId);this.fileGenres_=c.fileGenres;this.$uploader_=c.$uploader;this.attachUploader_(this.$uploader_,c.uploaderOptions);this.uploaderSetup(c.$uploader);this.$revisedFileSelector_=
a.find("#revisedFileId").change(this.callbackWrapper(this.revisedFileChange));this.hasGenreSelector_&&(this.$genreSelector=a.find("#genreId").change(this.callbackWrapper(this.genreChange)));this.setUploaderVisibility_()};a.pkp.classes.Helper.inherits(a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler,a.pkp.controllers.form.AjaxFormHandler);a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.hasFileSelector_=!1;a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.$revisedFileSelector_=
null;a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.hasGenreSelector_=!1;a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.$genreSelector_=null;a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.presetRevisedFileId_=null;a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.fileGenres_=null;a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.$uploader_=null;a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.uploaderSetup=
-function(b){b=a.pkp.classes.Handler.getHandler(b);b.pluploader.bind("BeforeUpload",this.callbackWrapper(this.prepareFileUploadRequest));b.pluploader.bind("FileUploaded",this.callbackWrapper(this.handleUploadResponse));b.pluploader.bind("FilesRemoved",this.callbackWrapper(this.handleRemovedFiles))};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.prepareFileUploadRequest=function(a,c){var d={},e=this.getHtmlElement().find("#uploaderUserGroupId");e.attr("disabled","disabled");
-d.uploaderUserGroupId=e.val();this.hasFileSelector_?(this.$revisedFileSelector_.attr("disabled","disabled"),d.revisedFileId=this.$revisedFileSelector_.val()):d.revisedFileId=null!==this.presetRevisedFileId_?this.presetRevisedFileId_:0;this.hasGenreSelector_?(this.$genreSelector.attr("disabled","disabled"),d.genreId=this.$genreSelector.val()):d.genreId="";c.settings.multipart_params=d};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.handleUploadResponse=function(b,c,d,e){b=
-this.handleJson(a.parseJSON(e.response));this.getHtmlElement();!1!==b&&(this.trigger("fileUploaded",b.uploadedFile),""!==b.content&&this.replaceWith(b.content));this.getHtmlElement().valid()};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.handleRemovedFiles=function(a,c,d){this.trigger("filesRemoved",[c,d])};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.submitForm=function(){this.trigger("formSubmitted")};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.revisedFileChange=
-function(){this.$revisedFileSelector_.val()?(this.$genreSelector.val(this.fileGenres_[this.$revisedFileSelector_.val()]),this.$genreSelector.attr("disabled","disabled")):this.$genreSelector.removeAttr("disabled");this.setUploaderVisibility_();return!1};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.genreChange=function(){this.setUploaderVisibility_()};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.attachUploader_=function(a,c){a.pkpHandler("$.pkp.controllers.UploaderHandler",
-c)};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.setUploaderVisibility_=function(){this.hasGenreSelector_&&this.$genreSelector.val()||this.$revisedFileSelector_.val()?this.showUploader_():!this.hasGenreSelector_&&!this.hasFileSelector_?this.showUploader_():this.hideUploader_()};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.hideUploader_=function(){this.$uploader_.addClass("pkp_screen_reader")};a.pkp.controllers.wizard.fileUpload.form.FileUploadFormHandler.prototype.showUploader_=
-function(){this.$uploader_.removeClass("pkp_screen_reader");a.pkp.classes.Handler.getHandler(this.$uploader_).pluploader.refresh()}})(jQuery);(function(a){a.pkp.controllers.wizard.fileUpload.form.RevisionConfirmationHandler=function(a,c){this.parent(a,c);a.find("#possibleRevision").show("slide");this.trigger("unregisterChangedForm");this.bind("wizardAdvanceRequested",this.wizardAdvanceRequested);this.trackFormChanges=!1};a.pkp.classes.Helper.inherits(a.pkp.controllers.wizard.fileUpload.form.RevisionConfirmationHandler,a.pkp.controllers.form.AjaxFormHandler);a.pkp.controllers.wizard.fileUpload.form.RevisionConfirmationHandler.prototype.wizardAdvanceRequested=
-function(a,c){var d=this.getHtmlElement();0 li").each(function(){var c=a(this).children("ul"),d=c.children(),e=d.find("li");c.length?d.length?(e.length&&e.each(function(){a(this).appendTo(c)}),a(this).find("> .item > .item_buttons .btnSubmenuWarning").length||a(this).find("> .item > .item_buttons").prepend(a("").addClass("btnSubmenuWarning").append(a("").addClass("fa fa-exclamation-triangle")).append(a("").addClass("-screenReader").text(b.submenuWarning_)))):
c.replaceWith("
"):a(this).append("
")});a("#pkpNavUnassigned > li").each(function(){var b=a(this).children("ul");b.length&&b.find("li").each(function(){a(this).appendTo(a("#pkpNavUnassigned"))});b.remove()});a("#pkpNavManagement ul").sortable({placeholder:"pkp_nav_item_placeholder",delay:250,connectWith:"#pkpNavManagement ul",update:this.callbackWrapper(this.updateSorting),start:function(){a("#pkpNavAssigned").addClass("pkp_is_sorting")},stop:function(){a("#pkpNavAssigned").removeClass("pkp_is_sorting")}})};
@@ -386,7 +381,7 @@ b);a(this.getHtmlElement()).find(":checkbox").change()};a.pkp.controllers.grid.s
e.prop("readonly",f.prop("checked")||b.prop("checked"));b.prop("checked")&&f.prop("checked",!0);f.prop("readonly",b.prop("checked"))});return!1}})(jQuery);(function(a){a.pkp.controllers.tab=a.pkp.controllers.tab||{settings:{form:{}}};a.pkp.controllers.tab.settings.form.FileViewFormHandler=function(a,c){this.parent(a,c);this.fetchFileUrl_=c.fetchFileUrl;this.bind("dataChanged",this.refreshForm_)};a.pkp.classes.Helper.inherits(a.pkp.controllers.tab.settings.form.FileViewFormHandler,a.pkp.controllers.form.AjaxFormHandler);a.pkp.controllers.tab.settings.form.FileViewFormHandler.prototype.fetchFileUrl_=null;a.pkp.controllers.tab.settings.form.FileViewFormHandler.prototype.refreshForm_=
function(b,c,d){a.get(this.fetchFileUrl_,{settingName:d},this.callbackWrapper(this.refreshResponseHandler_),"json")};a.pkp.controllers.tab.settings.form.FileViewFormHandler.prototype.refreshResponseHandler_=function(a,c){var d,e=this.handleJson(c);e.noData?(d=this.getFileHtmlElement_(e.noData),this.unbindPartial(d),d.empty()):(d=this.getFileHtmlElement_(e.elementId),this.unbindPartial(d),d.html(e.content))};a.pkp.controllers.tab.settings.form.FileViewFormHandler.prototype.getFileHtmlElement_=function(b){var c=
this.getHtmlElement();return a("#"+b,c)}})(jQuery);(function(a){a.pkp.controllers.tab.settings.announcements=a.pkp.controllers.tab.settings.announcements||{form:{}};a.pkp.controllers.tab.settings.announcements.form.AnnouncementSettingsFormHandler=function(b,c){this.parent(b,c);a("#enableAnnouncementsHomepage",b).click(this.callbackWrapper(this.toggleEnableAnnouncementsHomepage))};a.pkp.classes.Helper.inherits(a.pkp.controllers.tab.settings.announcements.form.AnnouncementSettingsFormHandler,a.pkp.controllers.form.AjaxFormHandler);a.pkp.controllers.tab.settings.announcements.form.AnnouncementSettingsFormHandler.prototype.toggleEnableAnnouncementsHomepage=
-function(){var b=a("#numAnnouncementsHomepage",this.getHtmlElement());b.attr("disabled")?b.removeAttr("disabled"):b.attr("disabled","disabled")}})(jQuery);(function(a){a.pkp.controllers.tab.settings.permissions=a.pkp.controllers.tab.settings.permissions||{form:{}};a.pkp.controllers.tab.settings.permissions.form.PermissionSettingsFormHandler=function(b,c){this.parent(b,c);a("#licenseURLSelect",b).change(this.callbackWrapper(this.licenseURLSelectChange));a('input[id^="licenseURL-"]',b).keyup(this.callbackWrapper(this.licenseURLOtherChange));a('input[id^="copyrightHolderType-"]',b).change(this.callbackWrapper(this.copyrightHolderRadioSelect));a("#resetPermissionsButton",
+function(){var b=a("#numAnnouncementsHomepage",this.getHtmlElement());b.attr("disabled")?b.removeAttr("disabled"):b.attr("disabled","disabled")}})(jQuery);(function(a){a.pkp.controllers.tab.settings.archiving=a.pkp.controllers.tab.settings.archiving||{form:{}};a.pkp.controllers.tab.settings.archiving.form.ArchivingSettingsFormHandler=function(b,c){this.parent(b,c);a(".expand-others").click(function(){a("#otherLockss").slideToggle("fast")});"1"==a("#isPLNPluginInstalled").val()&&a("#otherLockss").hide()};a.pkp.classes.Helper.inherits(a.pkp.controllers.tab.settings.archiving.form.ArchivingSettingsFormHandler,a.pkp.controllers.form.AjaxFormHandler)})(jQuery);(function(a){a.pkp.controllers.tab.settings.permissions=a.pkp.controllers.tab.settings.permissions||{form:{}};a.pkp.controllers.tab.settings.permissions.form.PermissionSettingsFormHandler=function(b,c){this.parent(b,c);a("#licenseURLSelect",b).change(this.callbackWrapper(this.licenseURLSelectChange));a('input[id^="licenseURL-"]',b).keyup(this.callbackWrapper(this.licenseURLOtherChange));a('input[id^="copyrightHolderType-"]',b).change(this.callbackWrapper(this.copyrightHolderRadioSelect));a("#resetPermissionsButton",
b).button().click(this.callbackWrapper(this.resetPermissionsHandler));this.resetPermissionsUrl=c.resetPermissionsUrl;this.resetPermissionsConfirmText=c.resetPermissionsConfirmText};a.pkp.classes.Helper.inherits(a.pkp.controllers.tab.settings.permissions.form.PermissionSettingsFormHandler,a.pkp.controllers.form.AjaxFormHandler);a.pkp.controllers.tab.settings.permissions.form.PermissionSettingsFormHandler.prototype.resetPermissionsUrl=null;a.pkp.controllers.tab.settings.permissions.form.PermissionSettingsFormHandler.prototype.resetPermissionsConfirmText=
null;a.pkp.controllers.tab.settings.permissions.form.PermissionSettingsFormHandler.prototype.licenseURLSelectChange=function(){var a=this.getHtmlElement(),c=a.find("#licenseURLSelect");a.find('input[id^="licenseURL-"]').val(c.val())};a.pkp.controllers.tab.settings.permissions.form.PermissionSettingsFormHandler.prototype.licenseURLOtherChange=function(){this.getHtmlElement().find("#licenseURLSelect").val("")};a.pkp.controllers.tab.settings.permissions.form.PermissionSettingsFormHandler.prototype.copyrightHolderRadioSelect=
function(b){var c=this.getHtmlElement(),b=a(b),c=c.find('input[id^="copyrightHolderOther-"]');"other"===b.val()?c.removeAttr("disabled"):c.attr("disabled","disabled")};a.pkp.controllers.tab.settings.permissions.form.PermissionSettingsFormHandler.prototype.resetPermissionsHandler=function(){confirm(this.resetPermissionsConfirmText)&&a.post(this.resetPermissionsUrl,{},function(){a("body").trigger("notifyUser")})}})(jQuery);(function(a){a.pkp.controllers.tab.settings.paymentMethod=a.pkp.controllers.tab.settings.paymentMethod||{};a.pkp.controllers.tab.settings.paymentMethod.PaymentMethodHandler=function(a,c){this.parent(a,c);this.paymentMethodFormUrlTemplate_=c.paymentMethodFormUrlTemplate;this.bind("selectPaymentMethod",this.selectPaymentMethodHandler)};a.pkp.classes.Helper.inherits(a.pkp.controllers.tab.settings.paymentMethod.PaymentMethodHandler,a.pkp.classes.Handler);a.pkp.controllers.tab.settings.paymentMethod.PaymentMethodHandler.prototype.paymentMethodFormUrlTemplate_=
@@ -413,19 +408,20 @@ function(){this.dateRangeElementsWrapper_.hide();return!0};a.pkp.controllers.sta
function(b){var c;c=a(this.columnsSelector_);b=a(b);c=c.find('option[value="'+b.attr("value")+'"]');b.is(":checked")?c.attr("selected","selected"):c.removeAttr("selected");return!1};a.pkp.controllers.statistics.ReportGeneratorFormHandler.prototype.addOptionalColumnsClass_=function(){var b,c,d,e;d=a(this.columnsSelector_);e=a(this.aggregationOptionsSelector_);c=a("#orderByFormArea select",this.getHtmlElement());d=d.add(c);c=this.optionalColumns_;for(b in c)d.find('option[value="'+b+'"]').addClass("optionalColumn"),
e.filter('input[value="'+b+'"]').parent().addClass("optionalColumn")}})(jQuery);(function(a){a.pkp.controllers.dashboard=a.pkp.controllers.dashboard||{form:{}};a.pkp.controllers.dashboard.form.DashboardTaskFormHandler=function(b,c){this.parent(b,c);this.singleContextSubmissionUrl_=c.singleContextSubmissionUrl;a("#singleContext",b).click(this.callbackWrapper(this.startSingleContextSubmission_));a("#multipleContext",b).change(this.callbackWrapper(this.startMultipleContextSubmission_))};a.pkp.classes.Helper.inherits(a.pkp.controllers.dashboard.form.DashboardTaskFormHandler,a.pkp.controllers.form.FormHandler);
a.pkp.controllers.dashboard.form.DashboardTaskFormHandler.prototype.singleContextSubmissionUrl_=null;a.pkp.controllers.dashboard.form.DashboardTaskFormHandler.prototype.startSingleContextSubmission_=function(){window.location.href=this.singleContextSubmissionUrl_};a.pkp.controllers.dashboard.form.DashboardTaskFormHandler.prototype.startMultipleContextSubmission_=function(){var a=this.getHtmlElement().find("#multipleContext").val();0!=a&&(window.location.href=a)}})(jQuery);(function(a){a.pkp.pages=a.pkp.pages||{header:{}};a.pkp.pages.header.HeaderHandler=function(a,c){this.options_=c;this.parent(a,c)};a.pkp.classes.Helper.inherits(a.pkp.pages.header.HeaderHandler,a.pkp.classes.Handler);a.pkp.pages.header.HeaderHandler.prototype.options_=null})(jQuery);(function(a){a.pkp.pages.header.TasksHandler=function(b,c){this.options_=c;this.parent(b,c);a("#notificationsToggle").click(this.callbackWrapper(this.appendToggleIndicator_));this.bind("updateUnreadNotificationsCount",this.fetchUnreadNotificationsCountHandler_)};a.pkp.classes.Helper.inherits(a.pkp.pages.header.TasksHandler,a.pkp.classes.Handler);a.pkp.pages.header.TasksHandler.prototype.options_=null;a.pkp.pages.header.TasksHandler.prototype.appendToggleIndicator_=function(){var a=this.getHtmlElement(),
-c=a.find("#notificationsPopover"),d=a.find("li.notificationsLinkContainer"),a=a.find("#notificationsToggle");c.toggle();d.toggleClass("expandedIndicator");a.toggleClass("expandedIndicator");d.hasClass("expandedIndicator")&&this.trigger("callWhenClickOutside",[{container:c.add(d),callback:this.callbackWrapper(this.appendToggleIndicator_)}])};a.pkp.pages.header.TasksHandler.prototype.fetchUnreadNotificationsCountHandler_=function(){a.get(this.options_.fetchUnreadNotificationsCountUrl,this.callbackWrapper(this.updateUnreadNotificationsCountHandler_),
-"json")};a.pkp.pages.header.TasksHandler.prototype.updateUnreadNotificationsCountHandler_=function(a,c){var d=this.getHtmlElement().find("#unreadNotificationCount");d.html(c.content);"0"==c.content?d.removeClass("hasTasks"):d.addClass("hasTasks")}})(jQuery);(function(a){a.pkp.pages.admin=a.pkp.pages.admin||{};a.pkp.pages.admin.ContextsHandler=function(b,c){var d=a("#openWizard a");d&&d.attr("style","display:none");this.parent(b,c)};a.pkp.classes.Helper.inherits(a.pkp.pages.admin.ContextsHandler,a.pkp.classes.Handler)})(jQuery);(function(a){a.pkp.pages.submission=a.pkp.pages.submission||{};a.pkp.pages.submission.SubmissionTabHandler=function(a,c){this.parent(a,c);this.submissionProgress_=c.submissionProgress;this.cancelUrl_=c.cancelUrl;this.cancelConfirmText_=c.cancelConfirmText;this.bind("setStep",this.setStepHandler);this.bind("formCanceled",this.formCanceledHandler);this.getHtmlElement().tabs("option","disabled",this.getDisabledSteps(this.submissionProgress_))};a.pkp.classes.Helper.inherits(a.pkp.pages.submission.SubmissionTabHandler,
+c=a.find("#notificationsPopover"),d=a.find("#notificationsToggle");c.toggle();d.toggleClass("expandedIndicator");d.hasClass("expandedIndicator")?(this.trigger("callWhenClickOutside",[{container:a,callback:this.callbackWrapper(this.appendToggleIndicator_)}]),setTimeout(this.callbackWrapper(this.setPopoverSize_),500)):c.css("height","").css("overflow-y","")};a.pkp.pages.header.TasksHandler.prototype.setPopoverSize_=function(){var b=this.getHtmlElement().find("#notificationsPopover"),c=a(window).height()-
+60;c
Date: Tue, 13 Mar 2018 11:56:11 -0700
Subject: [PATCH 022/100] Increment version number in descriptors for 3.1.1
---
dbscripts/xml/install.xml | 2 +-
dbscripts/xml/upgrade.xml | 2 +-
dbscripts/xml/version.xml | 6 +++---
docs/README | 4 ++--
docs/dev/ojs2.doxygen | 2 +-
package.json | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/dbscripts/xml/install.xml b/dbscripts/xml/install.xml
index e4820e3d196..e5c6f4a3e1e 100644
--- a/dbscripts/xml/install.xml
+++ b/dbscripts/xml/install.xml
@@ -10,7 +10,7 @@
* Installation descriptor file.
-->
-
+
diff --git a/dbscripts/xml/upgrade.xml b/dbscripts/xml/upgrade.xml
index a0f7e48319d..ae76c17da10 100644
--- a/dbscripts/xml/upgrade.xml
+++ b/dbscripts/xml/upgrade.xml
@@ -11,7 +11,7 @@
*
-->
-
+
diff --git a/dbscripts/xml/version.xml b/dbscripts/xml/version.xml
index 07c587278fc..b4ab0296ba0 100644
--- a/dbscripts/xml/version.xml
+++ b/dbscripts/xml/version.xml
@@ -13,9 +13,9 @@
ojs2core
- 3.1.0.0
- ojs-3_1_0-0
+ 3.1.1.0
+ ojs-3_1_1-02017-10-23http://pkp.sfu.ca/ojs/
- http://pkp.sfu.ca/ojs/download/ojs-3.1.0.tar.gz
+ http://pkp.sfu.ca/ojs/download/ojs-3.1.1.tar.gz
diff --git a/docs/README b/docs/README
index 347a5fbd8aa..6e41eb81a5f 100644
--- a/docs/README
+++ b/docs/README
@@ -1,8 +1,8 @@
===================================
=== Open Journal Systems
=== The Public Knowledge Project
- === Version: 3.1.0
- === GIT tag: ojs-3_1_0-0
+ === Version: 3.1.1
+ === GIT tag: ojs-3_1_1-0
=== Release date: October 23, 2017
===================================
diff --git a/docs/dev/ojs2.doxygen b/docs/dev/ojs2.doxygen
index 79b92bc106f..1ceaf4b8405 100644
--- a/docs/dev/ojs2.doxygen
+++ b/docs/dev/ojs2.doxygen
@@ -38,7 +38,7 @@ PROJECT_NAME = "Open Journal Systems"
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 3.1.0
+PROJECT_NUMBER = 3.1.1
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
diff --git a/package.json b/package.json
index 96c82fb2d57..8d222828966 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "OJS3",
"description": "Open Journal Systems (OJS) is a journal management and publishing system that has been developed by the Public Knowledge Project through its federally funded efforts to expand and improve access to research.",
- "version": "3.1.0",
+ "version": "3.1.1",
"author": "Public Knowledge Project",
"private": true,
"scripts": {
From 9157f80757f422573f55c0bfd552f367b4e37e52 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Thu, 15 Mar 2018 12:59:52 +0100
Subject: [PATCH 023/100] pkp/pkp-lib#3481 submodule update ##bozana/3481##
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index c684829a6ce..9599d21f40c 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit c684829a6ceab9191d1f22c623dd8c05fccb655c
+Subproject commit 9599d21f40c5079218646a82b5a3d833818c49cb
From 380c89ded71512d024cbdabd5b56ad8d499d7c21 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Fri, 16 Mar 2018 09:36:40 -0700
Subject: [PATCH 024/100] pkp/pkp-lib#3485 Make block plugin move case
insensitive
---
dbscripts/xml/upgrade/3.1.0_update.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dbscripts/xml/upgrade/3.1.0_update.xml b/dbscripts/xml/upgrade/3.1.0_update.xml
index 51c203c56b5..dde39f98a90 100644
--- a/dbscripts/xml/upgrade/3.1.0_update.xml
+++ b/dbscripts/xml/upgrade/3.1.0_update.xml
@@ -18,7 +18,7 @@
UPDATE review_assignments SET date_response_due = date_due WHERE date_response_due IS NULL
- UPDATE plugin_settings SET setting_value=1 WHERE setting_name='context' AND plugin_name LIKE '%BlockPlugin'
+ UPDATE plugin_settings SET setting_value=1 WHERE setting_name='context' AND LOWER(plugin_name) LIKE '%blockplugin'UPDATE submission_files SET viewable = 1 WHERE file_stage = 2 AND viewable = 0
@@ -101,4 +101,4 @@
UPDATE filter_groups SET output_type = 'xml::schema(http://schema.datacite.org/meta/kernel-4/metadata.xsd)' WHERE output_type = 'xml::schema(http://schema.datacite.org/meta/kernel-3/metadata.xsd)'
-
\ No newline at end of file
+
From dcd14a9f4383f27d0bec18d6f823551d8259cf76 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Fri, 16 Mar 2018 15:42:20 +0100
Subject: [PATCH 025/100] pkp/pkp-lib#3302 clearCache needed after these
changes
---
dbscripts/xml/upgrade.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/dbscripts/xml/upgrade.xml b/dbscripts/xml/upgrade.xml
index ae76c17da10..48a0ac106eb 100644
--- a/dbscripts/xml/upgrade.xml
+++ b/dbscripts/xml/upgrade.xml
@@ -191,6 +191,7 @@
+
From d797219c6e09f83f00dcf2ffef661478f3f23368 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Sat, 17 Mar 2018 15:02:09 +0100
Subject: [PATCH 026/100] remove crearDataCache from Upgrade because it is in
Installer
---
classes/install/Upgrade.inc.php | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/classes/install/Upgrade.inc.php b/classes/install/Upgrade.inc.php
index dde7d2a49cd..fbf94a5fe7f 100644
--- a/classes/install/Upgrade.inc.php
+++ b/classes/install/Upgrade.inc.php
@@ -55,18 +55,6 @@ function rebuildSearchIndex() {
return true;
}
- /**
- * Clear the data cache files (needed because of direct tinkering
- * with settings tables)
- * @return boolean
- */
- function clearDataCache() {
- $cacheManager = CacheManager::getManager();
- $cacheManager->flush(null, CACHE_TYPE_FILE);
- $cacheManager->flush(null, CACHE_TYPE_OBJECT);
- return true;
- }
-
/**
* Clear the CSS cache files (needed when changing LESS files)
* @return boolean
From 261dadecdb9cbfa7e5b71b7f7c6b6278d047aaa7 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Sat, 17 Mar 2018 15:02:58 +0100
Subject: [PATCH 027/100] pkp/pkp-lib#3302 submodule update ##bozana/3302##
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index 9599d21f40c..8d28ce821ca 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit 9599d21f40c5079218646a82b5a3d833818c49cb
+Subproject commit 8d28ce821ca42aeae0c60b986782f145fdee8baa
From 59384ec6480981d33510188ae6cf1d48c7ef1b75 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Sat, 17 Mar 2018 16:52:36 +0100
Subject: [PATCH 028/100] pkp/pkp-lib#3237 only one PDF galley or all for
as-crawled URLs, plus its metadata update/removal
---
.../filter/ArticleCrossrefXmlFilter.inc.php | 65 +++++++++++++++----
1 file changed, 51 insertions(+), 14 deletions(-)
diff --git a/plugins/importexport/crossref/filter/ArticleCrossrefXmlFilter.inc.php b/plugins/importexport/crossref/filter/ArticleCrossrefXmlFilter.inc.php
index 3bbb9d10b81..541b890ced4 100644
--- a/plugins/importexport/crossref/filter/ArticleCrossrefXmlFilter.inc.php
+++ b/plugins/importexport/crossref/filter/ArticleCrossrefXmlFilter.inc.php
@@ -171,12 +171,12 @@ function createJournalArticleNode($doc, $submission) {
// DOI data
$doiDataNode = $this->createDOIDataNode($doc, $submission->getStoredPubId('doi'), $request->url($context->getPath(), 'article', 'view', $submission->getBestArticleId(), null, null, true));
// append galleys files and collection nodes to the DOI data node
- // galley can contain several files
$articleGalleyDao = DAORegistry::getDAO('ArticleGalleyDAO');
$galleys = $articleGalleyDao->getBySubmissionId($submission->getId());
- import('lib.pkp.classes.submission.SubmissionFile'); // SUBMISSION_FILE_... constants
- $submissionFileDao = DAORegistry::getDAO('SubmissionFileDAO'); /* @var $submissionFileDao SubmissionFileDAO */
- $submissionGalleys = array();
+ // All full-texts, PDF full-texts and remote galleys for text-mining and as-crawled URL
+ $submissionGalleys = $pdfGalleys = $remoteGalleys = array();
+ // prefered PDF full-text for the as-crawled URL
+ $pdfGalleyInArticleLocale = null;
// get immediatelly also supplementary files for component list
$componentGalleys = array();
$genreDao = DAORegistry::getDAO('GenreDAO');
@@ -192,15 +192,31 @@ function createJournalArticleNode($doc, $submission) {
}
} else {
$submissionGalleys[] = $galley;
+ if ($galley->isPdfGalley()) {
+ $pdfGalleys[] = $galley;
+ if (!$pdfGalleyInArticleLocale && $galley->getLocale() == $submission->getLocale()) {
+ $pdfGalleyInArticleLocale = $galley;
+ }
+ }
}
} else {
- $submissionGalleys[] = $galley;
+ $remoteGalleys[] = $galley;
}
}
- // submission galley files - collection nodes
- if (!empty($submissionGalleys)) {
- $this->appendCollectionNodes($doc, $doiDataNode, $submission, $submissionGalleys);
+ // as-crawled URLs
+ $asCrawledGalleys = array();
+ if ($pdfGalleyInArticleLocale) {
+ $asCrawledGalleys = array($pdfGalleyInArticleLocale);
+ } elseif (!empty($pdfGalleys)) {
+ $asCrawledGalleys = array($pdfGalleys[0]);
+ } else {
+ $asCrawledGalleys = $submissionGalleys;
}
+ // as-crawled URL - collection nodes
+ $this->appendAsCrawledCollectionNodes($doc, $doiDataNode, $submission, $asCrawledGalleys);
+ // text-mining - collection nodes
+ $submissionGalleys = array_merge($submissionGalleys, $remoteGalleys);
+ $this->appendTextMiningCollectionNodes($doc, $doiDataNode, $submission, $submissionGalleys);
$journalArticleNode->appendChild($doiDataNode);
// component list (supplementary files)
@@ -212,20 +228,22 @@ function createJournalArticleNode($doc, $submission) {
}
/**
- * Append all collection nodes 'collection' to the doi data node.
+ * Append the collection node 'collection property="crawler-based"' to the doi data node.
* @param $doc DOMDocument
* @param $doiDataNode DOMElement
* @param $submission PublishedArticle
* @param $galleys array of galleys
*/
- function appendCollectionNodes($doc, $doiDataNode, $submission, $galleys) {
+ function appendAsCrawledCollectionNodes($doc, $doiDataNode, $submission, $galleys) {
$deployment = $this->getDeployment();
$context = $deployment->getContext();
$request = Application::getRequest();
- // start of the text-mining collection element
- $textMiningCollectionNode = $doc->createElementNS($deployment->getNamespace(), 'collection');
- $textMiningCollectionNode->setAttribute('property', 'text-mining');
+ if (empty($galleys)) {
+ $crawlerBasedCollectionNode = $doc->createElementNS($deployment->getNamespace(), 'collection');
+ $crawlerBasedCollectionNode->setAttribute('property', 'crawler-based');
+ $doiDataNode->appendChild($crawlerBasedCollectionNode);
+ }
foreach ($galleys as $galley) {
$resourceURL = $request->url($context->getPath(), 'article', 'download', array($submission->getBestArticleId(), $galley->getBestGalleyId()), null, null, true);
// iParadigms crawler based collection element
@@ -236,7 +254,26 @@ function appendCollectionNodes($doc, $doiDataNode, $submission, $galleys) {
$iParadigmsItemNode->appendChild($node = $doc->createElementNS($deployment->getNamespace(), 'resource', $resourceURL));
$crawlerBasedCollectionNode->appendChild($iParadigmsItemNode);
$doiDataNode->appendChild($crawlerBasedCollectionNode);
- // end iParadigms
+ }
+ }
+
+ /**
+ * Append the collection node 'collection property="text-mining"' to the doi data node.
+ * @param $doc DOMDocument
+ * @param $doiDataNode DOMElement
+ * @param $submission PublishedArticle
+ * @param $galleys array of galleys
+ */
+ function appendTextMiningCollectionNodes($doc, $doiDataNode, $submission, $galleys) {
+ $deployment = $this->getDeployment();
+ $context = $deployment->getContext();
+ $request = Application::getRequest();
+
+ // start of the text-mining collection element
+ $textMiningCollectionNode = $doc->createElementNS($deployment->getNamespace(), 'collection');
+ $textMiningCollectionNode->setAttribute('property', 'text-mining');
+ foreach ($galleys as $galley) {
+ $resourceURL = $request->url($context->getPath(), 'article', 'download', array($submission->getBestArticleId(), $galley->getBestGalleyId()), null, null, true);
// text-mining collection item
$textMiningItemNode = $doc->createElementNS($deployment->getNamespace(), 'item');
$resourceNode = $doc->createElementNS($deployment->getNamespace(), 'resource', $resourceURL);
From b52176fe1cb19877488d1cd11e931123c7c579f6 Mon Sep 17 00:00:00 2001
From: ajnyga
Date: Mon, 19 Mar 2018 17:07:14 +0200
Subject: [PATCH 029/100] Move self archiving settings under
distribution->permissions
---
.../form/OJSPermissionSettingsForm.inc.php | 22 +++++++++++++++++++
.../form/permissionSettingsForm.tpl | 8 ++++++-
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/controllers/tab/settings/permissions/form/OJSPermissionSettingsForm.inc.php b/controllers/tab/settings/permissions/form/OJSPermissionSettingsForm.inc.php
index 28a9a8cfdf4..c8f077d6637 100644
--- a/controllers/tab/settings/permissions/form/OJSPermissionSettingsForm.inc.php
+++ b/controllers/tab/settings/permissions/form/OJSPermissionSettingsForm.inc.php
@@ -23,11 +23,33 @@ class OJSPermissionSettingsForm extends PermissionSettingsForm {
function __construct($wizardMode = false) {
parent::__construct(
array(
+ 'enableAuthorSelfArchive' => 'bool',
+ 'authorSelfArchivePolicy' => 'string',
'copyrightYearBasis' => 'string',
),
$wizardMode
);
}
+
+ //
+ // Implement template methods from Form.
+ //
+ /**
+ * @copydoc Form::getLocaleFieldNames
+ */
+ function getLocaleFieldNames() {
+ return array_merge(parent::getLocaleFieldNames(), array('authorSelfArchivePolicy'));
+ }
+
+ /**
+ * @copydoc ContextSettingsForm::fetch
+ */
+ function fetch($request, $params = null) {
+ $templateMgr = TemplateManager::getManager($request);
+ $templateMgr->assign('scheduledTasksEnabled', (boolean) Config::getVar('general', 'scheduled_tasks'));
+ return parent::fetch($request, $params);
+ }
+
}
?>
diff --git a/templates/controllers/tab/settings/permissions/form/permissionSettingsForm.tpl b/templates/controllers/tab/settings/permissions/form/permissionSettingsForm.tpl
index d02c97e3d14..c4724c717c8 100644
--- a/templates/controllers/tab/settings/permissions/form/permissionSettingsForm.tpl
+++ b/templates/controllers/tab/settings/permissions/form/permissionSettingsForm.tpl
@@ -9,9 +9,15 @@
*
*}
{capture assign="additionalFormContent"}
+
+ {fbvFormSection label="manager.subscriptionPolicies.authorSelfArchiveDescription" list=true}
+ {fbvElement type="checkbox" id="enableAuthorSelfArchive" name="enableAuthorSelfArchive" value=1 checked=$enableAuthorSelfArchive label="manager.subscriptionPolicies.authorSelfArchive" disabled=$scheduledTasksEnabled|compare:0}
+ {fbvElement type="textarea" id="authorSelfArchivePolicy" value=$authorSelfArchivePolicy rich=true multilingual=true}
+ {/fbvFormSection}
+
{fbvFormSection list=true title="manager.setup.copyrightYearBasis"}
{fbvElement type="radio" id="copyrightYearBasis-issue" name="copyrightYearBasis" value="issue" checked=$copyrightYearBasis|compare:"issue" label="manager.setup.copyrightYearBasis.issue"}
{fbvElement type="radio" id="copyrightYearBasis-submission" name="copyrightYearBasis" value="submission" checked=$copyrightYearBasis|compare:"submission" label="manager.setup.copyrightYearBasis.article"}
- {/fbvFormSection}
+ {/fbvFormSection}
{/capture}
{include file="core:controllers/tab/settings/permissions/form/permissionSettingsForm.tpl additionalFormContent=$additionalFormContent}
From 29daaa2eb553060d65f08dc3cfdf40d51ed04bc9 Mon Sep 17 00:00:00 2001
From: ajnyga
Date: Mon, 19 Mar 2018 17:10:32 +0200
Subject: [PATCH 030/100] move the damn tab
---
.../tab/settings/permissions/form/permissionSettingsForm.tpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/controllers/tab/settings/permissions/form/permissionSettingsForm.tpl b/templates/controllers/tab/settings/permissions/form/permissionSettingsForm.tpl
index c4724c717c8..65e6c872c36 100644
--- a/templates/controllers/tab/settings/permissions/form/permissionSettingsForm.tpl
+++ b/templates/controllers/tab/settings/permissions/form/permissionSettingsForm.tpl
@@ -18,6 +18,6 @@
{fbvFormSection list=true title="manager.setup.copyrightYearBasis"}
{fbvElement type="radio" id="copyrightYearBasis-issue" name="copyrightYearBasis" value="issue" checked=$copyrightYearBasis|compare:"issue" label="manager.setup.copyrightYearBasis.issue"}
{fbvElement type="radio" id="copyrightYearBasis-submission" name="copyrightYearBasis" value="submission" checked=$copyrightYearBasis|compare:"submission" label="manager.setup.copyrightYearBasis.article"}
- {/fbvFormSection}
+ {/fbvFormSection}
{/capture}
{include file="core:controllers/tab/settings/permissions/form/permissionSettingsForm.tpl additionalFormContent=$additionalFormContent}
From b457bc9a1243dc875baeef558f6203e3f06f4161 Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Tue, 20 Mar 2018 18:54:45 +0100
Subject: [PATCH 031/100] Adding sv_SE translation of API.
---
locale/sv_SE/api.xml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 locale/sv_SE/api.xml
diff --git a/locale/sv_SE/api.xml b/locale/sv_SE/api.xml
new file mode 100644
index 00000000000..6b9c16f2f14
--- /dev/null
+++ b/locale/sv_SE/api.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+ Du har inte behörighet att se opublicerade nummer.
+
From 985f49446cac3b31ba905eb5d412c11518a923b4 Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Tue, 20 Mar 2018 19:30:19 +0100
Subject: [PATCH 032/100] Minor corrections in sv_SE locale.xml.
---
locale/sv_SE/locale.xml | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/locale/sv_SE/locale.xml b/locale/sv_SE/locale.xml
index fddfb2fa854..2d6e87ce3a0 100644
--- a/locale/sv_SE/locale.xml
+++ b/locale/sv_SE/locale.xml
@@ -257,6 +257,7 @@
Behöver godkännasVäntar på manuell betalningVäntar på online-betalning
+ Du har inte någon aktiv prenumeration.Annat, se anteckningarEnskilda prenumerationer kräver inloggning för att få tillgång till prenumerationsmaterial.Institutionsprenumerationer kräver inte inloggning. Användarens domän och/eller IP-adress används för att ge tillgång till prenumerationsmaterial.
@@ -317,6 +318,7 @@
Open accessKräver prenumerationKräver prenumeration eller betalning
+ ({$currency} {$price})Kommentarer till artikeln
@@ -477,8 +479,7 @@ Du kan välja att ge användaren en förklaring till varför kontot har spärrat
-
-
+
@@ -833,14 +834,17 @@ Du kan välja att ge användaren en förklaring till varför kontot har spärrat
Betalning mottagenBetalning har redan skickatsFörfattaravgifter
- Prenumerationsavgift
+ ManusavgiftPubliceringsavgift
+ Publiceringsavgiften ska betalas.Avgift för snabbspår till granskningAvgift för individuellt medlemskapAvgift för köp av enstaka artikelAvgift för köp av enstaka nummerPrenumerationsavgiftDonationer
+ Begär publiceringsavgift ({$feeAmount})
+ Betalning har begärts men begäran har förfallit. Kontakta tidskriftsansvarig för mer information.Donera
@@ -1076,7 +1080,7 @@ Sök-URL:er som kräver inskickade formulärdata kan komma att visas som ogiltig
Nummer
- Det här bidraget väntar för närvarande på godkännande innan det blir synligt i numret.
+ Det här bidraget väntar för närvarande på godkännande innan det kommer att synas i numret.Väntar på godkännande.Registrera dig hos andra tidskrifter
@@ -1088,11 +1092,14 @@ Sök-URL:er som kräver inskickade formulärdata kan komma att visas som ogiltig
Godkännande av publiceringsversionGodkänn den här publiceringsversionen för publicering.
]]>
Ta tillbaka godkännande för den här publiceringsversionen.]]>
- Indexering "{$journalName}"
+ Indexerar "{$journalName}"Den här sökfunktionaliteten tillåter inte omindexering per tidskrift.Angiven sökväg för tidskrift, "{$journalPath}", kunde inte knytas till någon tidskrift.Publicerade nummerKommande nummerPrenumerationer
+
+
+ {$editorName} har tagit hand om redigeringsprocessen för artikeln {$submissionId}.
From a4b73e33fbf64f385982f44b3bdc09b6f690c22a Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Tue, 20 Mar 2018 21:24:01 +0100
Subject: [PATCH 033/100] Updating sv_SE translation of manager.xml.
---
locale/sv_SE/manager.xml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/locale/sv_SE/manager.xml b/locale/sv_SE/manager.xml
index 7bd2701c319..591be66a6c8 100644
--- a/locale/sv_SE/manager.xml
+++ b/locale/sv_SE/manager.xml
@@ -232,8 +232,14 @@
ListorAnge antal träffar som visas på på varje sida (t.ex. bidrag, användare eller redaktörsuppdrag). Ange också hur många länkar som ska visas på varje sida.Aktivera arkiv
+ PKP PN-pluginet aktiverat
+ PKP Preservation Network (PN) tillhandahåller kostnadsfria tjänster för arkivering och bevarande för alla OJS-tidskrifter som uppfyller några grundläggande krav.
+ Klicka på Settings-länken för att acceptera villkoren för att ansluta sig till PKP PN.
+ PKP Preservation Network (PN)
+ PKP Preservation Network (PN) tillhandahåller kostnadsfria tjänster för arkivering och bevarande för alla OJS-tidskrifter som uppfyller några grundläggande krav. PKP PN-pluginet i OJS 3 är för närvarande under utveckling och kommer vara tillgängligt i plugin-galleriet inom kort.
+ Andra alternativ för arkiveringUtgivarmanifest sida.]]>
- LOCKSS Licens]]>
+ LOCKSS License]]>Beskrivning av LOCKSS-licensenLOCKSS community.]]>LOCKSS
@@ -242,6 +248,8 @@
Beskrivning av CLOCKSS-licensenCLOCKSS webbplats.]]>CLOCKSS
+
+ PorticoISSNUtseendeWebbplatsens sidhuvud, innehåll, tidskriftens sidhuvud, sidfot, navigeringsfält, style sheet.
@@ -534,6 +542,12 @@
En prenumerationsform har skapats.Tillgång
+
+ Länka till en sida som beskriver era prenumerationsalternativ.
+ Länka till en sida som beskriver besökarens aktuella och tidigare prenumerationer.
+ Den här länken kommer bara att visas om besökaren är inloggad.
+
+
KategorierVälj en lämplig kategori från listan nedan. Läsare kommer att kunna bläddra i tidskriftslistan via kategori.
From c26cc524239619343d84b0fabfa345ddf3f06a83 Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Tue, 20 Mar 2018 21:29:37 +0100
Subject: [PATCH 034/100] Updating submission.xml for the sv_SE locale.
---
locale/sv_SE/submission.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/locale/sv_SE/submission.xml b/locale/sv_SE/submission.xml
index 04385b1a3fb..0bab57f4457 100644
--- a/locale/sv_SE/submission.xml
+++ b/locale/sv_SE/submission.xml
@@ -22,6 +22,7 @@
Skicka in ett nytt bidrag iNytt bidragArbetsflöde för bidrag
+ Abstractet får inte vara längre än {$wordCount} ord.MetadataTidskriften har blivit meddelad om ditt insända bidrag, och du har fått en bekräftelse skickad till dig per e-post. När redaktören har läst ditt bidrag kommer hen att kontakta dig.
@@ -70,6 +71,7 @@
Förnamn, efternamn och e-postadress för varje författare krävs.Vänligen mata in titeln på din artikel.Vänligen mata in abstract för din artikel.
+ Ditt abstract är för långt. Korta det så att det ryms inom begränsningen i antal ord som gäller för den här sektionen.Vänligen välj medarbetarens roll.Referensformatet som efterfrågades kunde inte hämtas.
From 635f56563b690ccef256cbd85f3e6824e12bc7ef Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Wed, 21 Mar 2018 08:40:40 -0700
Subject: [PATCH 035/100] Make SQL more generic
---
dbscripts/xml/upgrade/3.1.1_update.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dbscripts/xml/upgrade/3.1.1_update.xml b/dbscripts/xml/upgrade/3.1.1_update.xml
index 18e1604ddeb..208978dfc23 100644
--- a/dbscripts/xml/upgrade/3.1.1_update.xml
+++ b/dbscripts/xml/upgrade/3.1.1_update.xml
@@ -40,7 +40,7 @@
- UPDATE review_assignments ra SET ra.quality = NULL WHERE ra.quality = 0
+ UPDATE review_assignments SET quality = NULL WHERE quality = 0
From ef9bd5b886e9fa6280153fe48bbf50b8a94b4ed0 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Wed, 21 Mar 2018 19:14:52 +0100
Subject: [PATCH 036/100] pkp/pkp-lib#3510 submodule update ##bozana/3510##
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index 8d28ce821ca..dedb24e8587 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit 8d28ce821ca42aeae0c60b986782f145fdee8baa
+Subproject commit dedb24e8587198374bdc82d8c98b77b90caa5a71
From 7fc1029416a079fce4bf6cc82261386156cec364 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Wed, 21 Mar 2018 21:02:21 +0100
Subject: [PATCH 037/100] pkp/pkp-lib#3509 fix article accepted date in
DataCite export
---
.../datacite/filter/DataciteXmlFilter.inc.php | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/plugins/importexport/datacite/filter/DataciteXmlFilter.inc.php b/plugins/importexport/datacite/filter/DataciteXmlFilter.inc.php
index ccbd0372342..85ffe6cb4ae 100644
--- a/plugins/importexport/datacite/filter/DataciteXmlFilter.inc.php
+++ b/plugins/importexport/datacite/filter/DataciteXmlFilter.inc.php
@@ -349,8 +349,14 @@ function createDatesNode($doc, $issue, $article, $galley, $galleyFile, $publicat
$submittedDate = $article->getDateSubmitted();
if (!empty($submittedDate)) {
$dates[DATACITE_DATE_SUBMITTED] = $submittedDate;
- // Default accepted date: submitted date.
- $dates[DATACITE_DATE_ACCEPTED] = $submittedDate;
+ }
+ // Accepted date: the last editor accept decision date
+ $editDecisionDao = DAORegistry::getDAO('EditDecisionDAO');
+ $editDecisions = $editDecisionDao->getEditorDecisions($article->getId());
+ foreach (array_reverse($editDecisions) as $editDecision) {
+ if ($editDecision['decision'] == SUBMISSION_EDITOR_DECISION_ACCEPT) {
+ $dates[DATACITE_DATE_ACCEPTED] = $editDecision['dateDecided'];
+ }
}
// Last modified date (for articles): last$lastModifiede.
$lastModified = $article->getLastModified();
From 3571cce7e5249e5f1be4349906eab06de2799c64 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Thu, 22 Mar 2018 09:56:43 +0100
Subject: [PATCH 038/100] pkp/pkp-lib#3228 submodule update ##bozana/3228##
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index dedb24e8587..5288d423790 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit dedb24e8587198374bdc82d8c98b77b90caa5a71
+Subproject commit 5288d4237901f144396210709c4b6c87dbc74a91
From 88ca9f44b081774e28af5f5cc86ca3f690fb7906 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Thu, 22 Mar 2018 13:06:16 +0100
Subject: [PATCH 039/100] pkp/pkp-lib#3436 change array_merge into + to keep
the keys
---
classes/workflow/EditorDecisionActionsManager.inc.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/workflow/EditorDecisionActionsManager.inc.php b/classes/workflow/EditorDecisionActionsManager.inc.php
index 72803428074..e8be3b0f3d6 100644
--- a/classes/workflow/EditorDecisionActionsManager.inc.php
+++ b/classes/workflow/EditorDecisionActionsManager.inc.php
@@ -141,7 +141,7 @@ static function _submissionStageDecisions($makeDecision = true) {
)
);
if ($makeDecision) {
- $decisions = array_merge($decisions, array(
+ $decisions = $decisions + array(
SUBMISSION_EDITOR_DECISION_ACCEPT => array(
'name' => 'accept',
'operation' => 'promote',
@@ -153,7 +153,7 @@ static function _submissionStageDecisions($makeDecision = true) {
'operation' => 'sendReviews',
'title' => 'editor.submission.decision.decline',
),
- ));
+ );
}
return $decisions;
}
From e16137d91ae8dd4c7237da248938d80cd38b4f41 Mon Sep 17 00:00:00 2001
From: ajnyga
Date: Fri, 23 Mar 2018 20:56:11 +0200
Subject: [PATCH 040/100] Fi locale for 3.1.1
---
locale/fi_FI/api.xml | 16 +++++++++++
locale/fi_FI/locale.xml | 6 +++++
locale/fi_FI/manager.xml | 8 ++++++
locale/fi_FI/submission.xml | 2 ++
.../announcementFeed/locale/fi_FI/locale.xml | 27 +++++++++++++++++++
.../generic/driver/locale/fi_FI/locale.xml | 17 ++++++++++++
.../usageStats/locale/fi_FI/locale.xml | 14 ++++++++++
7 files changed, 90 insertions(+)
create mode 100644 locale/fi_FI/api.xml
create mode 100644 plugins/generic/announcementFeed/locale/fi_FI/locale.xml
create mode 100644 plugins/generic/driver/locale/fi_FI/locale.xml
diff --git a/locale/fi_FI/api.xml b/locale/fi_FI/api.xml
new file mode 100644
index 00000000000..4a56331f13d
--- /dev/null
+++ b/locale/fi_FI/api.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+ Sinulla ei ole lupaa katsoa julkaisemattomia numeroita.
+
diff --git a/locale/fi_FI/locale.xml b/locale/fi_FI/locale.xml
index 99af1d4f4a5..173863f6334 100644
--- a/locale/fi_FI/locale.xml
+++ b/locale/fi_FI/locale.xml
@@ -1092,4 +1092,10 @@ Vahvistaminen saattaa epäonnistua sellaisten haun URL-osoitteiden kohdalla, jot
Tämä käsikirjoitus on ajoitettu julkaistavaksi.{$editorName} tallensi päätöksen ({$decision}) käsikirjoitukselle {$submissionId}.Sinulla ei ole aktiivista tilausta.
+ ({$currency} {$price})
+ Portico on voittoa tavoittelematon palvelu, joka tarjoaa digitaalisten julkaisujen pitkäaikaissäilytystä. Jos julkaisusi on solminut sopimuksen Porticon kanssa, ota se käyttöön täältä:
+ Julkaisumaksu tulee maksettavaksi.
+ Pyydä julkaisumaksua ({$feeAmount})
+ Maksua on pyydetty, mutta pyyntö on vanhentunut. Ota yhteyttä julkaisuun.
+ {$editorName} on nopeuttanut käsikirjoituksen {$submissionId} käsittelyä.
diff --git a/locale/fi_FI/manager.xml b/locale/fi_FI/manager.xml
index 129b53f1c15..281759cbff5 100644
--- a/locale/fi_FI/manager.xml
+++ b/locale/fi_FI/manager.xml
@@ -596,4 +596,12 @@ Julkaisusi on määritetty tallentamaan useita käytön mittareita. Käyttötila
Linkki lehden tilausvaihtoehtoja koskevalle sivulle.Linkki käyttäjän tilaushistoriaa koskevalle sivulle.Tämä linkki näytetään vain käyttäjän ollessa kirjautuneena sisään.
+ PKP PN -lisäosa otettu käyttöön
+ PKP Preservation Network (PN) tarjoaa ilmaisen pitkäaikaissäilytyspalvelun mille tahansa kriteerit täyttävälle OJS-lehdelle.
+ Hyväksy PKP PN -palvelun ehdot painamalla asetukset-linkkiä.
+ PKP Preservation Network (PN)
+ PKP Preservation Network (PN) tarjoaa ilmaisen pitkäaikaissäilytyspalvelun mille tahansa kriteerit täyttävälle OJS-lehdelle. OJS3-yhteensopiva lisäosa on parhaillaan kehitettävä ja se on pian saatavissa lisäosagallerian kautta.
+ Muut arkistointivalinnat
+ Ota Portico käyttöön ja jaa lehden sisällöt Porticon verkostoon osallistuville kirjastoille.
+ Portico
diff --git a/locale/fi_FI/submission.xml b/locale/fi_FI/submission.xml
index d4d3962e0b8..c7488857db4 100644
--- a/locale/fi_FI/submission.xml
+++ b/locale/fi_FI/submission.xml
@@ -76,4 +76,6 @@
Nämä määritykset perustuvat Dublin Core -metatietosanastostandardiin. Se on kansainvälinen standardi, jolla kuvataan julkaisun sisältöä.Kaikki osastot
+ Abstraktin tulee olla korkeintaan {$wordCount} sanaa.
+ Abstrakti on liian pitkä. Tarkista pituus ja yritä uudelleen.
diff --git a/plugins/generic/announcementFeed/locale/fi_FI/locale.xml b/plugins/generic/announcementFeed/locale/fi_FI/locale.xml
new file mode 100644
index 00000000000..2ebfce7378e
--- /dev/null
+++ b/plugins/generic/announcementFeed/locale/fi_FI/locale.xml
@@ -0,0 +1,27 @@
+
+
+
+
+
+
+ Ilmoitusten syöte -lisäosa
+ Tämä lisäosa tuottaa RSS/ATOM syötteen julkaisun ilmoituksista.
+ Asetukset
+ Näytä syötteen linkki kaikilla lehden sivuilla.
+ Näytä syötteen linkki vain kotisivulla ja ilmoitusten sivuilla.
+ Näytä syötteen linkki vain ilmoitusten sivuilla.
+ Rajoita syötteen kokoa
+ uusimpaan ilmoitukseen.
+ Anna positiivinen luku.
+ Atom logo
+ RSS1 logo
+ RSS2 logo
+
diff --git a/plugins/generic/driver/locale/fi_FI/locale.xml b/plugins/generic/driver/locale/fi_FI/locale.xml
new file mode 100644
index 00000000000..1f585e7f542
--- /dev/null
+++ b/plugins/generic/driver/locale/fi_FI/locale.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+ DRIVER
+ DRIVER-lisäosa laajentaa OAI-PMH-rajapintaa DRIVER Guidelines 2.0 mukaisesti.
+
diff --git a/plugins/generic/usageStats/locale/fi_FI/locale.xml b/plugins/generic/usageStats/locale/fi_FI/locale.xml
index 4d03de75ad4..83642e39701 100644
--- a/plugins/generic/usageStats/locale/fi_FI/locale.xml
+++ b/plugins/generic/usageStats/locale/fi_FI/locale.xml
@@ -29,4 +29,18 @@
OJS/COUNTEROpen Journal Systems -tilastot (COUNTER yhteensopiva)
+ Julkaisut voivat ohittaa nämä asetukset muokkaamalla julkaisukohtaisia asetuksia.
+ Yksityisyyden suoja
+
Jotta voimme analysoida julkaisun käyttöä ja vaikutusta, keräämme kävijätilastoja julkaisun etusivuun, numeroihin, artikkeleihin sekä julkaistuihin tiedostoihin liittyen. Kaikki data anonymisoidaan. Henkilötietoja ei tallenneta. IP-osoitteet anonymisoidaan ja salataan (SHA 256) yhdessä 64 merkkisen suolan kanssa, joka luodaan automaattisesti uudelleen päivittäin. IP-osoitteita ei voi siis jälkikäteen selvittää.
+
Seuraavat tiedot kerätään yhdessä anonymisoidun IP-osoitteen kanssa:
+
+
Käynnin tyyppi
+
Aika
+
Pyydetty URL
+
HTTP-statuskoodi
+
Selain
+
+
Kerättyjä tietoja käytetään ainoastaan arviointitarkoituksiin. IP-osoitteita ei liitetä käyttäjätileihin.
]]>
From ace6686e1f2a3d63fb0cc69367d3d3aa098e904d Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Fri, 23 Mar 2018 12:19:53 -0700
Subject: [PATCH 041/100] Copyright date updates
---
locale/fi_FI/api.xml | 4 ++--
plugins/generic/announcementFeed/locale/fi_FI/locale.xml | 4 ++--
plugins/generic/driver/locale/fi_FI/locale.xml | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/locale/fi_FI/api.xml b/locale/fi_FI/api.xml
index 4a56331f13d..41f95800dab 100644
--- a/locale/fi_FI/api.xml
+++ b/locale/fi_FI/api.xml
@@ -4,8 +4,8 @@
+
+
+ Artikelrapport 1
+
diff --git a/plugins/reports/counter/locale/sv_SE/jr1.xml b/plugins/reports/counter/locale/sv_SE/jr1.xml
new file mode 100644
index 00000000000..316b83f7779
--- /dev/null
+++ b/plugins/reports/counter/locale/sv_SE/jr1.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+ Tidskriftsrapport 1
+
From 8a57605ae179b87104df9798583c99a72230c6bb Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Tue, 27 Mar 2018 15:43:28 +0200
Subject: [PATCH 052/100] Fixing erratic plural in sv_SE locale.
---
locale/sv_SE/manager.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/sv_SE/manager.xml b/locale/sv_SE/manager.xml
index 591be66a6c8..9284e17ca79 100644
--- a/locale/sv_SE/manager.xml
+++ b/locale/sv_SE/manager.xml
@@ -99,7 +99,7 @@
IndexeradInga sektioner har skapats.Bidrag mottas
- Sektionspolicyer
+ SektionspolicyLäsverktygSakkunniggranskadKommer inte omfattas av tidskriftens indexering
From b98ddf52d5a3348fa784d8cb3130133aa79348f4 Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Tue, 27 Mar 2018 15:55:47 +0200
Subject: [PATCH 053/100] Fixing sv_SE locale formulation about disabling user
registration.
---
locale/sv_SE/manager.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/sv_SE/manager.xml b/locale/sv_SE/manager.xml
index 9284e17ca79..ade8537fc58 100644
--- a/locale/sv_SE/manager.xml
+++ b/locale/sv_SE/manager.xml
@@ -148,7 +148,7 @@
Anpassade HTML-taggar som kan läggas in på varje sidas huvud (t.ex META-taggar).DetaljerNamn på tidskriften, ISSN, kontaktuppgifter, sponsorer, sökmotorer.
- Tidskriftsansvariga kan registrera alla användarkonton. Redaktörer och sektionsredaktörer kan endast registrera konton för granskare.
+ Tidskriftsanvsarig registrerar alla användarkonton. Redaktörer och sektionsredaktörer kan endast registrera konton för granskare.Akademisk disciplin och underdiscipliner.Användbar för att bekriva en tvärvetenskaplig tidskrift och/eller om författare kan skicka in artiklar inom tvärvetenskapliga ämnen.(t.ex., Historia; Pedagogik; Sociologi; Psykologi; Kulturstudier; Juridik)
From b4544ba2da3c8fc7704deb3bd63a9dc00eba6f97 Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Tue, 27 Mar 2018 15:58:14 +0200
Subject: [PATCH 054/100] Fixing typo in sv_SE locale
---
locale/sv_SE/manager.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/sv_SE/manager.xml b/locale/sv_SE/manager.xml
index ade8537fc58..331b5c3d320 100644
--- a/locale/sv_SE/manager.xml
+++ b/locale/sv_SE/manager.xml
@@ -148,7 +148,7 @@
Anpassade HTML-taggar som kan läggas in på varje sidas huvud (t.ex META-taggar).DetaljerNamn på tidskriften, ISSN, kontaktuppgifter, sponsorer, sökmotorer.
- Tidskriftsanvsarig registrerar alla användarkonton. Redaktörer och sektionsredaktörer kan endast registrera konton för granskare.
+ Tidskriftsansvarig registrerar alla användarkonton. Redaktörer och sektionsredaktörer kan endast registrera konton för granskare.Akademisk disciplin och underdiscipliner.Användbar för att bekriva en tvärvetenskaplig tidskrift och/eller om författare kan skicka in artiklar inom tvärvetenskapliga ämnen.(t.ex., Historia; Pedagogik; Sociologi; Psykologi; Kulturstudier; Juridik)
From 9d84fb6e2ef96b54a5efa4c00c9cb9f62991a067 Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Tue, 27 Mar 2018 15:59:20 +0200
Subject: [PATCH 055/100] Typo in sv_SE locale.
---
locale/sv_SE/manager.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/sv_SE/manager.xml b/locale/sv_SE/manager.xml
index 331b5c3d320..34f3559ec25 100644
--- a/locale/sv_SE/manager.xml
+++ b/locale/sv_SE/manager.xml
@@ -164,7 +164,7 @@
Möjliggör för tidskriftsansvariga att lägga till meddelanden.Visningav tidskriftens senaste meddelanden.
- Besökare kan skapa ett användarkonto för tidskriften
+ Besökare kan skapa ett användarkonto för tidskriften.Ämne och fokusBeskriv för författare, läsare och bibliotekarier vilken typ av artiklar som tidskriften publicerar.Författarens indexering av det egna arbetet
From b088ccfd7b795fb90cdd99725708ae4a8dc6c11f Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Tue, 27 Mar 2018 09:49:00 -0700
Subject: [PATCH 056/100] Compiled Javascript
---
js/pkp.min.js | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/js/pkp.min.js b/js/pkp.min.js
index f01563297ec..5e98ecee497 100644
--- a/js/pkp.min.js
+++ b/js/pkp.min.js
@@ -326,10 +326,10 @@ a.pkp.controllers.modal.AjaxModalHandler.prototype.mergeOptions=function(a){retu
d.isDefaultPrevented()||this.parent("modalClose",b,c));return!1};a.pkp.controllers.modal.WizardModalHandler.prototype.wizardClose=function(a,c){this.modalClose(a,c,!0)}})(jQuery);(function(a){a.pkp.controllers.modals=a.pkp.controllers.modals||{editorDecision:{form:{}}};a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler=function(b,c){this.parent(b,c);null!==c.peerReviewUrl&&(this.peerReviewUrl_=c.peerReviewUrl,a("#importPeerReviews",b).click(this.callbackWrapper(this.importPeerReviews)));null!==c.revisionsEmail&&(this.revisionsEmail_=c.revisionsEmail);null!==c.resubmitEmail&&(this.resubmitEmail_=c.resubmitEmail);a("#skipEmail-send, #skipEmail-skip, #skipDiscussion-send, #skipDiscussion-skip",
b).change(this.callbackWrapper(this.toggleEmailDisplay));a('input[name="decision"]',b).change(this.callbackWrapper(this.toggleDecisionEmail));this.setStep("email");var d=this;a(".promoteForm-step-btn",b).click(function(b){b.preventDefault();b.stopPropagation();b=a(b.target).data("step");d.setStep(b)})};a.pkp.classes.Helper.inherits(a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler,a.pkp.controllers.form.AjaxFormHandler);a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.peerReviewUrl_=
null;a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.revisionsEmail_=null;a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.resubmitEmail_=null;a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.prototype.importPeerReviews=function(){a.getJSON(this.peerReviewUrl_,this.callbackWrapper(this.insertPeerReviews));return!1};a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.prototype.insertPeerReviews=function(b,c){var d=
-this.handleJson(c),e=this.getHtmlElement(),e=a('textarea[id^="personalMessage"]',e),f=tinyMCE.get(e.attr("id")),h=f.getContent();!1!==d&&(h=e.val(),f.setContent(h+d.content+" "));this.trigger("notifyUser",[this.getHtmlElement()])};a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.prototype.toggleEmailDisplay=function(){var b=a("#sendReviews-emailContent"),c=this.getHtmlElement(),d=!1,e=!1;a("#skipEmail-send, #skipEmail-skip",c).each(function(){"skipEmail-send"===a(this).attr("id")&&
-a(this).prop("checked")?d=!0:"skipEmail-skip"===a(this).attr("id")&&a(this).prop("checked")&&(d=!1)});c=a("#skipDiscussion-send, #skipDiscussion-skip",c);c.length&&c.each(function(){"skipDiscussion-send"===a(this).attr("id")&&a(this).prop("checked")?e=!0:"skipDiscussion-skip"===a(this).attr("id")&&a(this).prop("checked")&&(e=!1)});!d&&!e?b.fadeOut():b.fadeIn()};a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.prototype.toggleDecisionEmail=function(){var b="",c=a("#skipEmail-send").prop("checked"),
-d=a("#sendReviews-emailContent"),e=a('textarea[id^="personalMessage"]').attr("id"),f=this;a('input[name="decision"]').each(function(){"decisionRevisions"===a(this).attr("id")&&a(this).prop("checked")?b=f.revisionsEmail_:"decisionResubmit"===a(this).attr("id")&&a(this).prop("checked")&&(b=f.resubmitEmail_)});tinyMCE.get(e).setContent(b);c&&d.hide().fadeIn()};a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.prototype.setStep=function(b){var c=a('#promoteForm-step1, .promoteForm-step-btn[data-step="files"]'),
-d=a('#promoteForm-step2, #promoteForm-complete-btn, .promoteForm-step-btn[data-step="email"]');"files"===b?(d.show(),c.hide()):(c.show(),d.hide())}})(jQuery);(function(a){jQuery.pkp.controllers.linkAction=jQuery.pkp.controllers.linkAction||{};a.pkp.controllers.linkAction.LinkActionHandler=function(b,c){this.parent(b,c);this.staticId_=c.staticId?c.staticId:b.attr("id");if(!c.actionRequest||!c.actionRequestOptions)throw Error('The "actionRequest" and "actionRequestOptions"settings are required in a LinkActionHandler');c.actionRequestOptions.finishCallback=this.callbackWrapper(this.enableLink);this.linkActionRequest_=a.pkp.classes.Helper.objectFactory(c.actionRequest,
+this.handleJson(c),e=this.getHtmlElement(),e=a('textarea[id^="personalMessage"]',e),e=tinyMCE.get(e.attr("id")),f=e.getContent();!1!==d&&e.setContent(f+d.content+" ");this.trigger("notifyUser",[this.getHtmlElement()])};a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.prototype.toggleEmailDisplay=function(){var b=a("#sendReviews-emailContent"),c=this.getHtmlElement(),d=!1,e=!1,f=a("#libraryFileAttachments");a("#skipEmail-send, #skipEmail-skip",c).each(function(){"skipEmail-send"===
+a(this).attr("id")&&a(this).prop("checked")?d=!0:"skipEmail-skip"===a(this).attr("id")&&a(this).prop("checked")&&(d=!1)});c=a("#skipDiscussion-send, #skipDiscussion-skip",c);c.length&&c.each(function(){"skipDiscussion-send"===a(this).attr("id")&&a(this).prop("checked")?e=!0:"skipDiscussion-skip"===a(this).attr("id")&&a(this).prop("checked")&&(e=!1)});!d&&!e?(b.fadeOut(),f.fadeOut()):(b.fadeIn(),f.fadeIn())};a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.prototype.toggleDecisionEmail=
+function(){var b="",c=a("#skipEmail-send").prop("checked"),d=a("#sendReviews-emailContent"),e=a('textarea[id^="personalMessage"]').attr("id"),f=this;a('input[name="decision"]').each(function(){"decisionRevisions"===a(this).attr("id")&&a(this).prop("checked")?b=f.revisionsEmail_:"decisionResubmit"===a(this).attr("id")&&a(this).prop("checked")&&(b=f.resubmitEmail_)});tinyMCE.get(e).setContent(b);c&&d.hide().fadeIn()};a.pkp.controllers.modals.editorDecision.form.EditorDecisionFormHandler.prototype.setStep=
+function(b){var c=a('#promoteForm-step1, .promoteForm-step-btn[data-step="files"]'),d=a('#promoteForm-step2, #promoteForm-complete-btn, .promoteForm-step-btn[data-step="email"]');"files"===b?(d.show(),c.hide()):(c.show(),d.hide())}})(jQuery);(function(a){jQuery.pkp.controllers.linkAction=jQuery.pkp.controllers.linkAction||{};a.pkp.controllers.linkAction.LinkActionHandler=function(b,c){this.parent(b,c);this.staticId_=c.staticId?c.staticId:b.attr("id");if(!c.actionRequest||!c.actionRequestOptions)throw Error('The "actionRequest" and "actionRequestOptions"settings are required in a LinkActionHandler');c.actionRequestOptions.finishCallback=this.callbackWrapper(this.enableLink);this.linkActionRequest_=a.pkp.classes.Helper.objectFactory(c.actionRequest,
[b,c.actionRequestOptions]);this.bindActionRequest();this.publishEvent("dataChanged");this.bind("dataChanged",this.dataChangedHandler_);this.bind("pkpModalClose",this.removeDisabledAttribute_);c.selfActivate&&this.trigger("click")};a.pkp.classes.Helper.inherits(a.pkp.controllers.linkAction.LinkActionHandler,a.pkp.classes.Handler);a.pkp.controllers.linkAction.LinkActionHandler.prototype.linkActionRequest_=null;a.pkp.controllers.linkAction.LinkActionHandler.prototype.staticId_=null;a.pkp.controllers.linkAction.LinkActionHandler.prototype.getStaticId=
function(){return this.staticId_};a.pkp.controllers.linkAction.LinkActionHandler.prototype.getUrl=function(){return this.linkActionRequest_.getUrl()};a.pkp.controllers.linkAction.LinkActionHandler.prototype.activateAction=function(a,c){this.linkActionRequest_.shouldDebounce()&&this.disableLink();return this.linkActionRequest_.activate.call(this.linkActionRequest_,a,c)};a.pkp.controllers.linkAction.LinkActionHandler.prototype.bindActionRequest=function(){this.bind("click",this.activateAction)};a.pkp.controllers.linkAction.LinkActionHandler.prototype.enableLink=
function(){var b,c;b=a(this.getHtmlElement());this.getHtmlElement().is(":submit")||this.removeDisabledAttribute_();c=this.getUrl();this.getHtmlElement().is("a")&&c&&b.attr("href",c);this.unbind("click",this.noAction_);this.bindActionRequest()};a.pkp.controllers.linkAction.LinkActionHandler.prototype.disableLink=function(){var b=a(this.getHtmlElement());b.attr("disabled","disabled");this.getHtmlElement().is("a")&&b.attr("href","#");this.unbind("click",this.activateAction);this.bind("click",this.noAction_)};
@@ -421,12 +421,15 @@ function(){this.selectedReviewer&&(a("#searchGridAndButton").hide(),a("#regularR
function(){this.getHtmlElement().find('input[name="selectedFiles[]"]:checked').length?this.hideWarning():this.showWarning()};a.pkp.controllers.grid.users.reviewer.form.EditReviewFormHandler.prototype.hideWarning=function(){this.getHtmlElement().find("#noFilesWarning").hide(250)};a.pkp.controllers.grid.users.reviewer.form.EditReviewFormHandler.prototype.showWarning=function(){this.getHtmlElement().find("#noFilesWarning").show(250)};a.pkp.controllers.grid.users.reviewer.form.EditReviewFormHandler.prototype.handleFileListLoad_=
function(){this.getHtmlElement().change()}})(jQuery);(function(a){a.pkp.controllers.grid.users.reviewer.form.AddReviewerFormHandler=function(a,c){this.parent(a,c);c.templateUrl&&(this.templateUrl_=c.templateUrl);a.find("#template").change(this.callbackWrapper(this.selectTemplateHandler_))};a.pkp.classes.Helper.inherits(a.pkp.controllers.grid.users.reviewer.form.AddReviewerFormHandler,a.pkp.controllers.grid.users.reviewer.form.EditReviewFormHandler);a.pkp.controllers.grid.users.reviewer.form.AddReviewerFormHandler.prototype.templateUrl_=null;a.pkp.controllers.grid.users.reviewer.form.AddReviewerFormHandler.prototype.showWarning=
function(){this.parent("showWarning");this.getHtmlElement().find("#reviewerFormFooter").trigger("expandFileList")};a.pkp.controllers.grid.users.reviewer.form.AddReviewerFormHandler.prototype.selectTemplateHandler_=function(){var b=this.getHtmlElement();a.post(this.templateUrl_,b.find("#template").serialize(),this.callbackWrapper(this.updateTemplate),"json")};a.pkp.controllers.grid.users.reviewer.form.AddReviewerFormHandler.prototype.updateTemplate=function(a,c){var d=this.getHtmlElement(),e=this.handleJson(c),
-d=d.find('textarea[name="personalMessage"]'),d=tinyMCE.EditorManager.get(d.attr("id"));!1!==e&&""!==e.content&&d.setContent(e.content);return e.status}})(jQuery);(function(a){a.pkp.controllers.grid.users.stageParticipant=a.pkp.controllers.grid.users.stageParticipant||{};a.pkp.controllers.grid.users.stageParticipant.StageParticipantGridHandler=function(b,c){this.parent(b,c);this.bind("dataChanged",function(){this.refreshGridHandler();a("#submissionEditorDecisionsDiv,#copyeditingEditorDecisionsDiv,[id^=reviewDecisionsDiv").each(function(){a.pkp.classes.Handler.getHandler(a(this)).reload()})})};a.pkp.classes.Helper.inherits(a.pkp.controllers.grid.users.stageParticipant.StageParticipantGridHandler,
-a.pkp.controllers.grid.CategoryGridHandler)})(jQuery);(function(a){a.pkp.controllers.grid.users.stageParticipant.form=a.pkp.controllers.grid.users.stageParticipant.form||{};a.pkp.controllers.grid.users.stageParticipant.form.StageParticipantNotifyHandler=function(b,c){this.parent(b,c);c.templateUrl&&(this.templateUrl_=c.templateUrl);c.possibleRecommendOnlyUserGroupIds&&(this.possibleRecommendOnlyUserGroupIds_=c.possibleRecommendOnlyUserGroupIds);c.recommendOnlyUserGroupIds&&(this.recommendOnlyUserGroupIds_=c.recommendOnlyUserGroupIds);a("input[name='userGroupId'], input[name='userIdSelected']",
-b).change(this.callbackWrapper(this.updateRecommendOnly));b.find("#template").change(this.callbackWrapper(this.selectTemplateHandler_))};a.pkp.classes.Helper.inherits(a.pkp.controllers.grid.users.stageParticipant.form.StageParticipantNotifyHandler,a.pkp.controllers.form.AjaxFormHandler);a.pkp.controllers.grid.users.stageParticipant.form.StageParticipantNotifyHandler.prototype.templateUrl_=null;a.pkp.controllers.grid.users.stageParticipant.form.StageParticipantNotifyHandler.prototype.selectTemplateHandler_=
-function(){var b=this.getHtmlElement();a.post(this.templateUrl_,b.find("#template").serialize(),this.callbackWrapper(this.updateTemplate),"json")};a.pkp.controllers.grid.users.stageParticipant.form.StageParticipantNotifyHandler.prototype.updateTemplate=function(a,c){var d=this.getHtmlElement(),e=this.handleJson(c),f=c.content,d=d.find('textarea[name="message"]'),h=tinyMCE.EditorManager.get(d.attr("id"));d.attr("data-variables",JSON.stringify(f.variables));h.setContent(f.body);return e.status};a.pkp.controllers.grid.users.stageParticipant.form.StageParticipantNotifyHandler.prototype.updateRecommendOnly=
-function(b){var c=this.getHtmlElement(),d=c.find("input[name='userGroupId']"),e=c.find("input[id^='recommendOnly']"),c=c.find(".recommendOnlyWrapper"),d=d.val();if("userGroupId"==a(b).prop("name"))e.attr("disabled","disabled"),e.removeAttr("checked"),c.hide();else if("userIdSelected"==a(b).prop("name")&&!c.is(":visible"))for(b=0;bthis.blindReviewerIds_.indexOf(b)))b=
+{title:"",okButton:this.blindReviewerWarningOk_,cancelButton:!1,dialogText:this.blindReviewerWarning_},a('').pkpHandler("$.pkp.controllers.modal.ConfirmationModalHandler",b)};a.pkp.controllers.grid.users.stageParticipant.form.StageParticipantNotifyHandler.prototype.handleResponse=function(b,c){a.pkp.classes.Handler.getHandler(a("#queriesGrid .pkp_controllers_grid")).trigger("dataChanged");return this.parent("handleResponse",
+b,c)}})(jQuery);(function(a){a.pkp.controllers.grid.users.stageParticipant.form.AddParticipantFormHandler=function(b,c){this.parent(b,c);a("select[name^='filterUserGroupId']",b).change(this.callbackWrapper(this.addUserGroupId));a("input[name='userId']").click(function(){var b=a("input[name='userId']:checked").val();a("input[name='userIdSelected']").val(b).trigger("change")});this.addUserGroupId()};a.pkp.classes.Helper.inherits(a.pkp.controllers.grid.users.stageParticipant.form.AddParticipantFormHandler,a.pkp.controllers.form.ClientFormHandler);
a.pkp.controllers.grid.users.stageParticipant.form.AddParticipantFormHandler.prototype.addUserGroupId=function(){var b=this.getHtmlElement().find("select[name^='filterUserGroupId']").val();a("input[name='userGroupId']").val(b).trigger("change")}})(jQuery);(function(a){a.pkp.pages.reviewer=a.pkp.pages.reviewer||{};a.pkp.pages.reviewer.ReviewerTabHandler=function(a,c){this.parent(a,c);this.reviewStep_=c.reviewStep;this.bind("setStep",this.setStepHandler);this.getHtmlElement().tabs("option","disabled",this.getDisabledSteps(this.reviewStep_))};a.pkp.classes.Helper.inherits(a.pkp.pages.reviewer.ReviewerTabHandler,a.pkp.controllers.TabHandler);a.pkp.pages.reviewer.ReviewerTabHandler.prototype.reviewStep_=null;a.pkp.pages.reviewer.ReviewerTabHandler.prototype.setStepHandler=
function(a,c,d){this.getHtmlElement().tabs("option","disabled",this.getDisabledSteps(d));this.getHtmlElement().tabs("option","active",d-1)};a.pkp.pages.reviewer.ReviewerTabHandler.prototype.getDisabledSteps=function(a){switch(a){case 1:return[1,2,3];case 2:return[2,3];case 3:return[3];case 4:return[]}throw Error("Illegal review step number.");}})(jQuery);(function(a){a.pkp.pages.authorDashboard=a.pkp.pages.authorDashboard||{};a.pkp.pages.authorDashboard.SubmissionEmailHandler=function(a,c){this.parent(a,c);a.find('a[id^="submissionEmail"]').click(this.callbackWrapper(this.activateAction))};a.pkp.classes.Helper.inherits(a.pkp.pages.authorDashboard.SubmissionEmailHandler,a.pkp.controllers.linkAction.LinkActionHandler)})(jQuery);(function(a){a.pkp.controllers.grid.articleGalleys=a.pkp.controllers.grid.articleGalleys||{};a.pkp.controllers.grid.articleGalleys.ArticleGalleyGridHandler=function(a,c){this.parent(a,c);a.bind("uploadFile",this.callbackWrapper(this.uploadFileHandler_))};a.pkp.classes.Helper.inherits(a.pkp.controllers.grid.articleGalleys.ArticleGalleyGridHandler,a.pkp.controllers.grid.GridHandler);a.pkp.controllers.grid.articleGalleys.ArticleGalleyGridHandler.prototype.uploadFileHandler_=function(b,c,d){setTimeout(function(){a('a[id^="component-grid-articlegalleys-articlegalleygrid-row-'+
d+'-addFile-button-"]').click()},0)}})(jQuery);(function(a){a.pkp.controllers.grid.issues=a.pkp.controllers.grid.issues||{};a.pkp.controllers.grid.issues.BackIssueGridHandler=function(a,c){this.parent(a,c);this.bindGlobal("issuePublished",this.refreshGridHandler)};a.pkp.classes.Helper.inherits(a.pkp.controllers.grid.issues.BackIssueGridHandler,a.pkp.controllers.grid.GridHandler)})(jQuery);(function(a){a.pkp.controllers.grid.issues.FutureIssueGridHandler=function(a,c){this.parent(a,c);this.bindGlobal("issueUnpublished",this.refreshGridHandler)};a.pkp.classes.Helper.inherits(a.pkp.controllers.grid.issues.FutureIssueGridHandler,a.pkp.controllers.grid.GridHandler)})(jQuery);(function(a){a.pkp.controllers.tab.issueEntry=a.pkp.controllers.tab.issueEntry||{};a.pkp.controllers.tab.issueEntry.IssueEntryTabHandler=function(a,c){c.selectedGalleyId&&(c.selected=this.getTabPositionByGalleyId_(c.selectedGalleyId,a));this.parent(a,c);this.bind("gridRefreshRequested",this.gridRefreshRequested);c.tabsUrl&&(this.tabsUrl_=c.tabsUrl);c.tabContentUrl&&(this.tabContentUrl_=c.tabContentUrl);this.bind("gridInitialized",this.addGalleysGridRowActionHandlers_);this.publishEvent("gridInitialized")};
From bbf25cfa349ad8dec16bfd0da504bb2fb67e10da Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Tue, 27 Mar 2018 11:06:52 -0700
Subject: [PATCH 057/100] Submodule updates
---
lib/pkp | 2 +-
lib/ui-library | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/pkp b/lib/pkp
index d57203f9218..c3f24e502fb 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit d57203f9218d117b138e3481c4904388fe04b990
+Subproject commit c3f24e502fbe3e33028dd61350726b64e096d6a2
diff --git a/lib/ui-library b/lib/ui-library
index c0aed504472..67c5742b618 160000
--- a/lib/ui-library
+++ b/lib/ui-library
@@ -1 +1 @@
-Subproject commit c0aed50447201bcde61dbb91dd7f39d4e206ce17
+Subproject commit 67c5742b6188fb99a228b5e165f53cf3bf2c6753
From 948219159336fecff718e259587a2622a3a1c377 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Tue, 27 Mar 2018 11:08:01 -0700
Subject: [PATCH 058/100] Submodule update
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index c3f24e502fb..40c32d63feb 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit c3f24e502fbe3e33028dd61350726b64e096d6a2
+Subproject commit 40c32d63febc05d9bf9441ad957d3e6787ae9959
From 30d7410ee5f7c371cd9dc74a3cd1b7f0aa354802 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Wed, 28 Mar 2018 08:59:01 -0700
Subject: [PATCH 059/100] Submodule updates
---
lib/pkp | 2 +-
plugins/generic/citationStyleLanguage | 2 +-
plugins/generic/tinymce | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/pkp b/lib/pkp
index 40c32d63feb..727f4b09062 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit 40c32d63febc05d9bf9441ad957d3e6787ae9959
+Subproject commit 727f4b090628e7c94b1b087845a54fa6816fa293
diff --git a/plugins/generic/citationStyleLanguage b/plugins/generic/citationStyleLanguage
index 836fac8d768..42f64d28428 160000
--- a/plugins/generic/citationStyleLanguage
+++ b/plugins/generic/citationStyleLanguage
@@ -1 +1 @@
-Subproject commit 836fac8d7687b4a87a4c05c0d383d16379b743b4
+Subproject commit 42f64d284280941e8c50283aa6094e8fd0bb9f58
diff --git a/plugins/generic/tinymce b/plugins/generic/tinymce
index 12cf970aeda..b82cb733b5d 160000
--- a/plugins/generic/tinymce
+++ b/plugins/generic/tinymce
@@ -1 +1 @@
-Subproject commit 12cf970aeda8272cc0830cc5a737ed267f41b4db
+Subproject commit b82cb733b5da414158601720281450ef6a5e6309
From 0d71f00ab0d7da93758069bd1b157d69d6536fc4 Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Thu, 29 Mar 2018 09:14:51 +0200
Subject: [PATCH 060/100] Fixing locale string in sv_SE locale
---
locale/sv_SE/manager.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/sv_SE/manager.xml b/locale/sv_SE/manager.xml
index 34f3559ec25..2115a693cc5 100644
--- a/locale/sv_SE/manager.xml
+++ b/locale/sv_SE/manager.xml
@@ -19,7 +19,7 @@
AnvändargränssnittBidragFormulär
- Byter ut alla språk/region-inställningar som finns för den tidskriften
+ Det här kommer att ersätta alla inställningar som finns för det här språket/regionen. Om ett språk som stöds av OJS inte finns listad nedan, be huvudadministratören att installera språket. För instruktioner om hur ytterligare språk läggs till, se OJS-dokumentationen.]]>Tyvärr, det finns inga ytterligare språk tillgängliga. Kontakta huvudadministratören om du vill lägga till språk i den här tidskriften.Detta blir defaultspråk för tidskriftens webbplats.
From e0b099f76d070d8abb6dad7df6bdfc48f3e2c9d1 Mon Sep 17 00:00:00 2001
From: Martin Persson
Date: Thu, 29 Mar 2018 09:18:03 +0200
Subject: [PATCH 061/100] Correcting fix in sv_SE locale
---
locale/sv_SE/manager.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/sv_SE/manager.xml b/locale/sv_SE/manager.xml
index 2115a693cc5..d73b6f28174 100644
--- a/locale/sv_SE/manager.xml
+++ b/locale/sv_SE/manager.xml
@@ -19,7 +19,7 @@
AnvändargränssnittBidragFormulär
- Det här kommer att ersätta alla inställningar som finns för det här språket/regionen.
+ Det här kommer att ersätta alla språkspecifika tidskriftsinställningar som finns för det här språket/regionen. Om ett språk som stöds av OJS inte finns listad nedan, be huvudadministratören att installera språket. För instruktioner om hur ytterligare språk läggs till, se OJS-dokumentationen.]]>Tyvärr, det finns inga ytterligare språk tillgängliga. Kontakta huvudadministratören om du vill lägga till språk i den här tidskriften.Detta blir defaultspråk för tidskriftens webbplats.
From 9bdc7f6751c1362150d415708fd02bdc676dd7b4 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Thu, 29 Mar 2018 13:02:44 +0200
Subject: [PATCH 062/100] use constant instead of number
---
plugins/generic/usageStats/UsageStatsLoader.inc.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/generic/usageStats/UsageStatsLoader.inc.php b/plugins/generic/usageStats/UsageStatsLoader.inc.php
index 777a9a3e6cf..be273e91d15 100644
--- a/plugins/generic/usageStats/UsageStatsLoader.inc.php
+++ b/plugins/generic/usageStats/UsageStatsLoader.inc.php
@@ -76,7 +76,7 @@ protected function getAssoc($assocType, $contextPaths, $page, $op, $args) {
// is the file article full text
$genreDao = DAORegistry::getDAO('GenreDAO');
$genre = $genreDao->getById($articleFile->getGenreId());
- if ($genre->getCategory() != 1 || $genre->getSupplementary() || $genre->getDependent()) {
+ if ($genre->getCategory() != GENRE_CATEGORY_DOCUMENT || $genre->getSupplementary() || $genre->getDependent()) {
$assocTypeToReturn = ASSOC_TYPE_SUBMISSION_FILE_COUNTER_OTHER;
} else {
$assocTypeToReturn = $assocType;
From 7d6d5ec9fc50f191e450655bb8db5ca9b7255001 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Wed, 4 Apr 2018 11:53:50 -0700
Subject: [PATCH 063/100] Submodule updates
---
lib/pkp | 2 +-
lib/ui-library | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/pkp b/lib/pkp
index 727f4b09062..5db2a679a9b 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit 727f4b090628e7c94b1b087845a54fa6816fa293
+Subproject commit 5db2a679a9b159c24eb7901645f2fdc527aff2e9
diff --git a/lib/ui-library b/lib/ui-library
index 67c5742b618..fbf01046682 160000
--- a/lib/ui-library
+++ b/lib/ui-library
@@ -1 +1 @@
-Subproject commit 67c5742b6188fb99a228b5e165f53cf3bf2c6753
+Subproject commit fbf0104668200b0e7047170987a8bf480214a9e3
From 38d53dbe037c168648b89442e778515b2f89a874 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Wed, 4 Apr 2018 11:58:50 -0700
Subject: [PATCH 064/100] OJS 3.1.1 release details
---
dbscripts/xml/install.xml | 2 +-
dbscripts/xml/upgrade.xml | 3 ++-
dbscripts/xml/version.xml | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/dbscripts/xml/install.xml b/dbscripts/xml/install.xml
index e5c6f4a3e1e..e6b98b27151 100644
--- a/dbscripts/xml/install.xml
+++ b/dbscripts/xml/install.xml
@@ -1,7 +1,7 @@
+
diff --git a/dbscripts/xml/version.xml b/dbscripts/xml/version.xml
index b4ab0296ba0..9d0b07d8512 100644
--- a/dbscripts/xml/version.xml
+++ b/dbscripts/xml/version.xml
@@ -15,7 +15,7 @@
core3.1.1.0ojs-3_1_1-0
- 2017-10-23
+ 2018-04-04http://pkp.sfu.ca/ojs/http://pkp.sfu.ca/ojs/download/ojs-3.1.1.tar.gz
From b2bce88f82696b821d924b7d0028b4db87ad90f2 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Wed, 4 Apr 2018 12:24:45 -0700
Subject: [PATCH 065/100] Add release notes for 3.1.1
---
docs/RELEASE | 378 ++++++++++++++------------------
docs/release-notes/README-3.1.1 | 169 ++++++++++++++
2 files changed, 328 insertions(+), 219 deletions(-)
create mode 100644 docs/release-notes/README-3.1.1
diff --git a/docs/RELEASE b/docs/RELEASE
index 594a46d540a..a1117efdf13 100644
--- a/docs/RELEASE
+++ b/docs/RELEASE
@@ -1,229 +1,169 @@
-OJS 3.1.0 Release Notes
-CVS tag: ojs-3_1_0-0
+OJS 3.1.1 Release Notes
+CVS tag: ojs-3_1_1-0
-Release date: October 23, 2017
+Release date: April 4, 2018
==============================
-OJS 3.1 contains new translations into Finnish and Swedish. It also sees the
-re-introduction of a fr_FR translation for France, based on the French
-Canadian translation.
-
New Features
------------
- #390: Remove artbitrary UI field length limitations
- #440: Grant implicit Manager access to Adminstrators
- #469: Move pnotify to composer dependency
- #723: Strip out citation plugins and replace with CSL
- #1503: Introduce REST API
+ #520: Improve Submission Library utility
+ #1692: Public identifiers for chapters
#1816: Implement subscription support
- #1911: Enable longer locale names
- #1963: Port implicit authentication to master
- #2101: Update PubMed plugin for OJS 3.x
- #2163: Routing events between handlers in the JS framework
- #2178: Add nav menu management and static pages features
- #2306: Permit searching by submission ID
- #2337 #2435 #2585 #2602 #2603 #2604 #2605 #2606 #2670 #2715 #2725 #2861 #2864: Locale updates
- #2342: Add "Assign DOIs to all journal articles" button in the DOI plugin settings
- #2358: Rewrite OAI NLM plugin for OJS 3.x
- #2433: Provide option to restrict low-level editors to "recommend" only, not make decisions
- #2465: Give the author access to the copyedited and galley files grids
- #2503: Add plugin version installation tool
- #2577: Display supplementary files in block, rather with galley files
- #2587: Tell admin which journal they are about to remove
- #2599: Data privacy option in usage stats plugin
- #2686: add initial JWT support to API
- #2705: New default footer images
+ #1922: Add support for catalog paging
+ #2714: Support browsing by section, subject and keyword
+ #2872: Allow themes to override templates in plugins
+ #3130: Improve blinding for role sharing between editor/author/reviewer
Bug Fixes
---------
- #772: Respond to nonexistent monographs with a 404
- #1070: Improve confirmation notices when skipping the email is an option
- #1144: Review file selection is unclear
- #1258: "Resubmit for Review" button is unclear
- #1265: Broken reports pages
- #1270: Empty editor decisions list for copywriter
- #1329: Prevent stub queries from being seen by others before completion
- #1389: Smarty variable not rendered in registration form template
- #1447: Improve recipient selection process for new discussions
- #1502: article report considers only UI and primary locale
- #1528: Improve submission process
- #1595: Remove app/journal-specific language in pkp-lib
- #1640: Can't add discussion with no stage participants
- #1709: Native Import Issues for OJS and OMP
- #1757: [OJS] duplicate keys in usageStats plugin (also: duplicate plugin)
- #1784: Unify near-duplicate template templates/management/settings/access.tpl
- #1786: Ensure ReCaptcha language is correct
- #1791: Fix COUNTER plugin template references (and test plugin)
- #1807: Multilingualism
- #1815: Move metadata (DC/GS) meta tags into HTML head
- #1828: Issues with input and display of keywords
- #1853: Reload issues
- #1859: Add Sidebar Management to site settings for multi-journal installs
- #1866: Banner notification after scheduling
- #1896: ORCID support in native XML import/export format for issues
- #1907: Show volume info only when checkbox selected
- #1930: Include article prefix on article details page
- #1932: Investigate upgrade of submission note files
- #1955: schemaValidate, proxy settings and allow_url_fopen
- #2003: Filename problems
- #2023: Remove "designation" from components
- #2064: Standardize emailed URL handling
- #2078: Fix scroll-jumping in HTML article galley views
- #2082: Task notification for section editor after being assigned to a submission
- #2085: Improve touch controls of frontend about nav dropdown
- #2108: Tinymce error (downloadable font: OS/2: bad linegap: -32 ) with Firefox
- #2114: Localised filenames complicate uploading submission files in multilingual journals
- #2136: Empty sidebar breaks javascript in front end
- #2142: Suggestions for Native XML Import
- #2151: Viewable migration
- #2159: Upgrading to OJS3: Revisions and Reviewer's Attachments panels not visible in Review tab for authors
- #2160: Variable names visible in Editorial history
- #2173: Upgrading to OJS3: multiple issues with ongoing reviews
- #2189: Tinymce in full screen mode problematic in multilingual journals
- #2192: Consider and migrate remote supp files as remote galley files
- #2203: Notifications list in front end layout requires back-end JS tools
- #2235: File revision names
- #2247: Migrated submissions have a review round even when the submission is in stage 1
- #2257: Correct UTF=8 typo in CrossRef issue export
- #2258: Crossref 4.3.6 schema URL changed
- #2260: DOAJ XML export: position multilingual elements with article locale on the first place
- #2261: Style the new plugin gallery
- #2265: Review master branch for dead/crufty code
- #2266: Custom uploaded CSS files get loaded too early
- #2267: No current issue when current issue is unpublished
- #2269: Can't search all categories in plugin gallery
- #2270: Sort submission lists by ID
- #2287: Change Password page missing visual padding
- #2295: Statistics upgrade from 2.4.0, 2.4.1 and 2.4.2 to 3.x
- #2296: DevelopedByBlockPlugin error in a clean OJS 3.0.2 installation.
- #2305: Fix required attribute in login form
- #2309: Autocomplete for reviewer interests is case sensitive
- #2310: Move block plugins to unified sidebar upon upgrade
- #2312: Review/fix edit links
- #2313: Prevent section editor auto-assignments outside section assignments
- #2315: Current issue redirect should use best ID
- #2319: PHP catchable error on issue import (OJS 3)
- #2320: Remove or restore ROLE_ID_SUBSCRIPTION_MANAGER
- #2321: Fix submission language export
- #2328: Missing review round ID during file revision
- #2331: OJS3.0.2. empty submission checklist results to PHP warnings
- #2336: Clean up TemplateManager::display / TemplateManager::fetch
- #2338: OJS3 Usage Statistics plugin displayStatistics setting not context specific
- #2340: Fix readonly flag of alt tag in article cover upload
- #2343: issue ordering
- #2364: Drop file check on minification use
- #2365: Native XML Plugin lacks paging in Export issues listing
- #2367: Recaptcha verification does not honor proxy settings
- #2371: Parse errors on grids for systeminfo
- #2372: Incorrect return link in HTML Galley view
- #2375: Respect context disableUserReg setting
- #2389: add announcements introduction
- #2391: File detection in temporary files does not adjust for common problems
- #2392: Concatenate "about" content during OJS2 to OJS3 migration
- #2393: [OJS] Editorial decisions buttons should be disabled on stages that are already finished
- #2401: Correct outdated translations using `{$submissionEditingUrl}` in email templates
- #2407: Remove mutex use
- #2413: Add reviewId to oneclick link in automatic review reminders
- #2417: Review form breaks for users that are visiting OJS for the first time
- #2420: No check on PHPMailer::send() status
- #2423: Add notification upon "Add Reviews to Email" click
- #2428: CSRF token validity time (one hour) breaks the review form
- #2434: Add preliminary/summary "Decline" email template
- #2437: Add reviews to email button selects the wrong option for radio buttons in some cases
- #2440: consider views column for old default usage statistics migration
- #2443: Refactor AuthPlugin
- #2446: Reviewer affiliation info is not recorded when creating reviewers
- #2449: PHP code documentation cleanup
- #2453: Adjust wording of Send to Copyediting button on review stage
- #2460: Discussion item will be created even if canceled
- #2461: Native Import can't clean up after failure for article section
- #2462: Native import export creates duplicate issues
- #2467: Some upgrade queries are improperly scoped
- #2470: Migrate all section editors in OJS 2.x to 3.x upgrade
- #2473: Tap controls don't work for dropdown menus in the backend
- #2476: Author guidelines anchor missing
- #2481: Reviewer has access to manuscript after declining review request
- #2483: Default email signature is wrapped in nested anchor tags
- #2492: registrationComplete page allows for UX issues
- #2495: Speed up test suite
- #2497: OJS 3.x TinyMCE not activated show error
- #2500: Native import mismanages file operations
- #2501: subject and subjectClass migration
+ #1793: Test/fix PostgreSQL upgrades
+ #1865: Adding review comments wipes out email changes
+ #2102: Consider "Select All" feature for export tools
+ #2195: Reviewers can sometimes see the names of the authors
+ #2291: Missing site title
+ #2441: Make wording of editorial team consistent in backend and frontend
#2506: Fix genre assignment for upgrades
- #2509: Use supported submission locales for galley language
- #2513: Allow SVG in image uploads
- #2515: When section titles are long they cover article titles in issue table of contents
- #2516: Native Import: optional submission dates per schema, but functionally required
- #2518: SUBMISSION_ACK email includes author signature
- #2519: do not update copyedit and production notifications in a pre-review discussion
- #2525: Bug in issueArchive.tpl
- #2526: Native Import should discriminate between errors and warnings
- #2534: Use SVG format of ORCID icon
- #2537: OJS3 upgrade article_galley_settings not migrated to submission_galley_settings
- #2542: update Password Reset default e-mail template
- #2543: reload scheduled tasks function for the acron plugin
- #2552: fix warning in RecommendByAuthorPlugin
- #2559: Consider introducing autoload behavior
- #2562: [OJS] Settings wizard refers to Plugins tab that's unavailable
- #2569: Deleted OAI records not displayed
- #2572: Additional hooks
- #2576: Color of tasks panel is confusing
- #2580: Correct outdated reference to geo IP tool path
- #2582: Fix HTML galley image migration in OJS2 to OJS3
- #2592: Clearing template cache should clear .css files too
- #2611: Prevent COinS plugin from confusing search results
- #2612: Add filtering options to new submissions list
- #2613: Add contextual information to icons in new submission list
- #2616: Change "Add" to "Assign" in participants grid
- #2621: Editor cannot rename files in review files grid
- #2631: "Download all files" checks for tar availability, but uses zip compression
- #2637: Replace low res icon in webfeed for high res screens
- #2640: Update copyright holder and year
- #2641: Remove the automatically added line breaks in article abstracts
- #2642: Placeholder discussions not removed when new discussion creation is cancelled
- #2646: Journals without available sections for submission should present "not accepting" message
- #2648: the revision node grouping for supplementary files in native export
- #2650: Native import dies if presented with a duplicate submission file revision
- #2655: Alternate mail template for subsequent review request not selected
- #2658: Filter hook
- #2660: Permit HTTPS support in ORCIDs
- #2663: Deleting an issue where no custom issue ordering exists creates a random custom issue ordering
- #2671: Migrate crossref deposit status setting name
- #2673: {$reviewerName} variable not replaced
- #2675: Several minor adjustments to submission lists
- #2678: Fix (probably) wrong wording in new API locale keys
- #2682: User registration at the site level when email validation is enabled fails.
- #2684: Add support for declaring metadata fields required
- #2691: Report Generator links on the plugins listing page do not work
- #2699: LazyLoadPlugin get/setEnabled do not consider site plugins
- #2703: New review round modal re-opens automatically when closed in IE11
- #2708: Implement approach for delivering constants to the new frontend components
- #2729: Test environment set up won't work as stated in README
- #2739: Change precedence of Google Scholar date options
- #2744: Search bar in ListPanel has wrong styling in iOS
- #2746: Submission list filtering doesn't work in iOS
- #2751: Fix grid refreshing
- #2753: DOAJ export is exporting declined articles
- #2758: HTML galley CSS file migration
- #2760: Add new template hooks for plugin settings pages
- #2761: Generator meta tag untranslated
- #2770: Preview shows DOIs even when they are not assigned
- #2771: Integrate UI component library into OJS/OMP
- #2778: Changing journal visibility setting will restore the default language settings
- #2782: Fix OAI: kludgey use of `$this`; broken OAI format plugins
- #2783: Add JATS content to OAI interface (when available)
- #2789: Possible unnecessary variable read in the first submission form
- #2790: Articles remain in published state after issue is unpublished
- #2791: Fix formatting of reviewer comments when imported from review form textbox into author email
- #2792: Review reminders need From address set
- #2799: [OJS] Possible unnecessary template
- #2814: Correct review form error handling bounce issues
- #2821: Copyeditors do not have access to editorial history
- #2830: Fix CSRF hard expiry
- #2838: Can't add note on submission
- #2849: Current Roles listing and user rights are not transparent
- #2859: Remove citationOutput plugins
- #2896: references from the submission settings should be called citations
- #2907: Check/correct date formatting for Latest column in reviewer assignment
- #2924: Updates to installation screen
- #2930: access denied on the announcements setting page
+ #2564: Inconsistent HTML display in article titles
+ #2571: Section word count field is inoperative
+ #2759: Galleys displayed as Array
+ #2794: Upload Revision canceled but still in revision list
+ #2874: Remove citationLookup, citationParser and nlm30 metadata plugin
+ #2894: Improve the reviewer selection list
+ #2899: Error generating the path of Custom Page in Navigation Menu
+ #2910: Non-administrators can see the Administration link on the front-end toolbar
+ #2922: Uploading a new Galley file and selecting "Change file" corrupts the uploaded file
+ #2933: Introduce menu caching
+ #2942: Infinite loop in upgrade from 2.4.8.2 to 3.1, failing to skip missing files
+ #2944: NavigationMenus - NMI_TYPE_CONTACT not returned by getMenuItemTypes
+ #2945: restore defaults genres/components
+ #2947: NavigationMenus - Issue with NMI with no displayable children
+ #2952: NavigationMenus - NavigationMenu edit - unbind NavigationMenu from area
+ #2955: Reference to chapters when editing component in OJS 3.1
+ #2956: Plugins already installed in database but not filesystem cannot be re-installed
+ #2960: Problems with Add Item action in Sidebar control
+ #2962: Fix membership options
+ #2964: APC usability issues
+ #2965: Adding section editors to a section and returning to add more editors later breaks the section form
+ #2967: Missing link from Site Administration to Journal Administration
+ #2972: Untranslated locale keys in Roles select menu
+ #2980: order by user_group_id in UserGroupDAO::getByRoleId
+ #2987: Navigation Menus - not all default NMIs get translated upon install/upgrade
+ #2988: Installation page depends on navigation menu tables, which may not exist
+ #2989: Correct missing table alias for PostgreSQL upgrade
+ #2994: Reveal more handler can fail to reveal more
+ #2996: Paypal plugin has undeclared dependency
+ #2998: Archiving page changes
+ #3002: Enabled plugins disabled after upgrade
+ #3003: Not possible delete Keywords in second language with X
+ #3004: force_login_ssl should force register too
+ #3007: remote galley and supp files are not displayed on the article page
+ #3009: always provide multipleContexts variable
+ #3011: Pass FormValidatorURL error message to js url validation
+ #3015: New article components have NULL entry_key
+ #3016: supplementary files migration
+ #3028: citations parsing by line
+ #3039: editor actions for all managers and sub-editors
+ #3046: getCustomTemplateKeys parameters
+ #3051: OAI record datestamp
+ #3052: consider URL encoding for oai identifiers
+ #3056: Navigation Config vs Static Pages
+ #3062: wrong element attributes in oai_marc
+ #3066: viewPlugin in the plugin gallery for journal managers
+ #3070: Author names can be exposed to some reviewers
+ #3071: Forms counter doesn't change
+ #3072: Prevent range requests
+ #3080: NavigationMenus - Custom Page Error on Site level
+ #3084: Verify incomplete submissions behavior
+ #3087: fix metrics assoc_type for supp files
+ #3097: Sidebar blocks missing from search results
+ #3101: Clean up locale settings upon language deletion
+ #3106: choose e-mail template when selecting a reviewer
+ #3108: Duplicated literal
+ #3114: Select precedent reviewer for a new round failed
+ #3122: Add copyFile method to SubmissionFileManager
+ #3124: Enable OpenAIRE field for QuickSubmitForm
+ #3125: Author name in export plugins
+ #3127: Assistants not allowed to download galley files
+ #3141: a string was missed in locale.xml
+ #3144: NavigationMenus - Warnings removed for custom menuItems
+ #3154: Error checking email format in profile page
+ #3156: Submission Requirements translation are not available
+ #3157: required tagit metadata fields not validated
+ #3161: nl2br causes extra line breaks in copyright notice
+ #3167: New discussion canceled but still in discussion list
+ #3172: enable_beacon and other little things
+ #3177: Replace calls to deprecated "create_function"
+ #3178: Link on context logo/title in frontend incorrect
+ #3184: Subscription type currency resets upon editing
+ #3185: Correct PHP7.2 incompatibilities
+ #3188: DECLINE decision sends unexpected "Unsuitable" in subject
+ #3195: Fire form execute hooks in reviewer steps
+ #3200: PostgreSQL type error in OAI interface
+ #3204: COUNTER bot list is outdated
+ #3206: Subscriptions page should not be accessible if payments are not enabled
+ #3212: CSL styles should receive DOI without URL
+ #3218: Upgrade failed: DB: Can't DROP 'user_group_id'; check that column/key exists
+ #3219: Upgrade gets stuck due to lack of MoveNext() in repairSuppFilesFilestage
+ #3220: fix migrateTimedViewsUsageStatistics
+ #3228: Non-anonymized reviewer files not able to be deleted
+ #3232: Manual payment plugin throws PHP Warning: Missing argument 2 for Form::setData()
+ #3237: Crossref as-crawled URLs should only include PDF galley URLs (if multiple formats are published)
+ #3246: Update copyrights for 2018
+ #3247: UI: reviewer page submission details - unnecessary information
+ #3252: Getting section editors results in db error
+ #3255: Ensure that upgraded reviews from OJS2 are double-blind
+ #3267: NavigationMenus Site-wide unable to drop NMIs into empty NM edit areas.
+ #3269: CSL Plugin doesn't display abbreviated journal title for AMA style
+ #3273: When logged in, edit link on the announcement page is not working properly
+ #3274: Redirect URI from Login as
+ #3276: Native XML import fails on batch insert
+ #3282: Missing navigation menu item for the search page
+ #3283: Display usage statistics for last 12 months instead of for current year
+ #3287: "User" and "Primary" (navigation menus management tools) are confusing
+ #3288: "Custom Page" should not be default when adding a new navigation menu item
+ #3289: Author `user_group_id` upgrade `UPDATE` is broken
+ #3302: File upload gets stuck with certain language selections in multilingual journals
+ #3311: "Subject" / "subjects" field "required" flag not behaving as expected
+ #3318: Check minimum requirements before allowing to upgrade
+ #3323: fix detachment of dependent entities at file revision upload confirmation
+ #3329: Copyright Info with CC License Badge
+ #3332: consider missing submission file in usage stats loader
+ #3334: fix listing of successfully imported submissions
+ #3336: External feed plugin obliterates custom blocks when enabled
+ #3338: If html part of mail too long, new line with exclamation mark is inserted
+ #3348: article DOI in native import
+ #3357: Disciplin element should be discipline
+ #3359: recommendOnly editor and section editor
+ #3374: Dropdown nav menus in default theme don't work for rtl languages
+ #3379: Article subtitles should appear in the issue TOC
+ #3383: no context in LazyLoadPlugin get/setEnabled when using CLI
+ #3385: Desisting from adding a new discussion leaves behind an empty discussion
+ #3387: Remove gender fields
+ #3390: upgrade email templates
+ #3392: current release contains potentially dangerous old version of PHPMailer
+ #3398: Section Editor assignment creates duplicate Pre-Review Discussion entries
+ #3407: doubt about a translation
+ #3412: RSS buttons left-over from OJS 2.x
+ #3415: getTemplateResourceName for plugins in pkp-lib
+ #3416: sr_SR migration to either sr_RS@latin or sr_RS@cyrillic
+ #3420: Date issues for non-default date_format_short in reviewDueDate and responseDueDate
+ #3421: Editing roles for a user in one journal destroys roles in others
+ #3422: OJS 3.1.0.1 adding a participant with Safari does not close the modal window
+ #3436: "Send to Review" and "Send to Production" for reccomendOnly users
+ #3440: Even if you check "Do not send email" for notification, you receive email.
+ #3443: Duplicate translation keys in en_US
+ #3444: Multilingual custom email template does not apply to email body
+ #3447: Task list shows too long
+ #3448: Submission listings only show title for selected locale
+ #3459: sitemap fix
+ #3474: Restrict SubmissionFileRequestedRevisionRequiredPolicy to revision files only
+ #3481: submission URL in recommendation form emails
+ #3485: Missing sidebar items after upgrade from OJS 2.4.x with PostgreSQL
+ #3488: Improve error presentation in file upload wizard
+ #3491: Use mbstring-capable regexp functions in searching
+ #3495: Modify API URLs in ui-library when restful_urls enabled
+ #3506: Untranslated locale key for scheduledTaskLogs log file
+ #3509: DataCite export plugin sets accepted date = submitted date instead of actual accepted date
+ #3510: display last revisions of reviewer files
+ #3517: require locale component for identifier tab, add a hook
+
diff --git a/docs/release-notes/README-3.1.1 b/docs/release-notes/README-3.1.1
new file mode 100644
index 00000000000..a1117efdf13
--- /dev/null
+++ b/docs/release-notes/README-3.1.1
@@ -0,0 +1,169 @@
+OJS 3.1.1 Release Notes
+CVS tag: ojs-3_1_1-0
+
+Release date: April 4, 2018
+==============================
+
+New Features
+------------
+ #520: Improve Submission Library utility
+ #1692: Public identifiers for chapters
+ #1816: Implement subscription support
+ #1922: Add support for catalog paging
+ #2714: Support browsing by section, subject and keyword
+ #2872: Allow themes to override templates in plugins
+ #3130: Improve blinding for role sharing between editor/author/reviewer
+
+Bug Fixes
+---------
+ #1793: Test/fix PostgreSQL upgrades
+ #1865: Adding review comments wipes out email changes
+ #2102: Consider "Select All" feature for export tools
+ #2195: Reviewers can sometimes see the names of the authors
+ #2291: Missing site title
+ #2441: Make wording of editorial team consistent in backend and frontend
+ #2506: Fix genre assignment for upgrades
+ #2564: Inconsistent HTML display in article titles
+ #2571: Section word count field is inoperative
+ #2759: Galleys displayed as Array
+ #2794: Upload Revision canceled but still in revision list
+ #2874: Remove citationLookup, citationParser and nlm30 metadata plugin
+ #2894: Improve the reviewer selection list
+ #2899: Error generating the path of Custom Page in Navigation Menu
+ #2910: Non-administrators can see the Administration link on the front-end toolbar
+ #2922: Uploading a new Galley file and selecting "Change file" corrupts the uploaded file
+ #2933: Introduce menu caching
+ #2942: Infinite loop in upgrade from 2.4.8.2 to 3.1, failing to skip missing files
+ #2944: NavigationMenus - NMI_TYPE_CONTACT not returned by getMenuItemTypes
+ #2945: restore defaults genres/components
+ #2947: NavigationMenus - Issue with NMI with no displayable children
+ #2952: NavigationMenus - NavigationMenu edit - unbind NavigationMenu from area
+ #2955: Reference to chapters when editing component in OJS 3.1
+ #2956: Plugins already installed in database but not filesystem cannot be re-installed
+ #2960: Problems with Add Item action in Sidebar control
+ #2962: Fix membership options
+ #2964: APC usability issues
+ #2965: Adding section editors to a section and returning to add more editors later breaks the section form
+ #2967: Missing link from Site Administration to Journal Administration
+ #2972: Untranslated locale keys in Roles select menu
+ #2980: order by user_group_id in UserGroupDAO::getByRoleId
+ #2987: Navigation Menus - not all default NMIs get translated upon install/upgrade
+ #2988: Installation page depends on navigation menu tables, which may not exist
+ #2989: Correct missing table alias for PostgreSQL upgrade
+ #2994: Reveal more handler can fail to reveal more
+ #2996: Paypal plugin has undeclared dependency
+ #2998: Archiving page changes
+ #3002: Enabled plugins disabled after upgrade
+ #3003: Not possible delete Keywords in second language with X
+ #3004: force_login_ssl should force register too
+ #3007: remote galley and supp files are not displayed on the article page
+ #3009: always provide multipleContexts variable
+ #3011: Pass FormValidatorURL error message to js url validation
+ #3015: New article components have NULL entry_key
+ #3016: supplementary files migration
+ #3028: citations parsing by line
+ #3039: editor actions for all managers and sub-editors
+ #3046: getCustomTemplateKeys parameters
+ #3051: OAI record datestamp
+ #3052: consider URL encoding for oai identifiers
+ #3056: Navigation Config vs Static Pages
+ #3062: wrong element attributes in oai_marc
+ #3066: viewPlugin in the plugin gallery for journal managers
+ #3070: Author names can be exposed to some reviewers
+ #3071: Forms counter doesn't change
+ #3072: Prevent range requests
+ #3080: NavigationMenus - Custom Page Error on Site level
+ #3084: Verify incomplete submissions behavior
+ #3087: fix metrics assoc_type for supp files
+ #3097: Sidebar blocks missing from search results
+ #3101: Clean up locale settings upon language deletion
+ #3106: choose e-mail template when selecting a reviewer
+ #3108: Duplicated literal
+ #3114: Select precedent reviewer for a new round failed
+ #3122: Add copyFile method to SubmissionFileManager
+ #3124: Enable OpenAIRE field for QuickSubmitForm
+ #3125: Author name in export plugins
+ #3127: Assistants not allowed to download galley files
+ #3141: a string was missed in locale.xml
+ #3144: NavigationMenus - Warnings removed for custom menuItems
+ #3154: Error checking email format in profile page
+ #3156: Submission Requirements translation are not available
+ #3157: required tagit metadata fields not validated
+ #3161: nl2br causes extra line breaks in copyright notice
+ #3167: New discussion canceled but still in discussion list
+ #3172: enable_beacon and other little things
+ #3177: Replace calls to deprecated "create_function"
+ #3178: Link on context logo/title in frontend incorrect
+ #3184: Subscription type currency resets upon editing
+ #3185: Correct PHP7.2 incompatibilities
+ #3188: DECLINE decision sends unexpected "Unsuitable" in subject
+ #3195: Fire form execute hooks in reviewer steps
+ #3200: PostgreSQL type error in OAI interface
+ #3204: COUNTER bot list is outdated
+ #3206: Subscriptions page should not be accessible if payments are not enabled
+ #3212: CSL styles should receive DOI without URL
+ #3218: Upgrade failed: DB: Can't DROP 'user_group_id'; check that column/key exists
+ #3219: Upgrade gets stuck due to lack of MoveNext() in repairSuppFilesFilestage
+ #3220: fix migrateTimedViewsUsageStatistics
+ #3228: Non-anonymized reviewer files not able to be deleted
+ #3232: Manual payment plugin throws PHP Warning: Missing argument 2 for Form::setData()
+ #3237: Crossref as-crawled URLs should only include PDF galley URLs (if multiple formats are published)
+ #3246: Update copyrights for 2018
+ #3247: UI: reviewer page submission details - unnecessary information
+ #3252: Getting section editors results in db error
+ #3255: Ensure that upgraded reviews from OJS2 are double-blind
+ #3267: NavigationMenus Site-wide unable to drop NMIs into empty NM edit areas.
+ #3269: CSL Plugin doesn't display abbreviated journal title for AMA style
+ #3273: When logged in, edit link on the announcement page is not working properly
+ #3274: Redirect URI from Login as
+ #3276: Native XML import fails on batch insert
+ #3282: Missing navigation menu item for the search page
+ #3283: Display usage statistics for last 12 months instead of for current year
+ #3287: "User" and "Primary" (navigation menus management tools) are confusing
+ #3288: "Custom Page" should not be default when adding a new navigation menu item
+ #3289: Author `user_group_id` upgrade `UPDATE` is broken
+ #3302: File upload gets stuck with certain language selections in multilingual journals
+ #3311: "Subject" / "subjects" field "required" flag not behaving as expected
+ #3318: Check minimum requirements before allowing to upgrade
+ #3323: fix detachment of dependent entities at file revision upload confirmation
+ #3329: Copyright Info with CC License Badge
+ #3332: consider missing submission file in usage stats loader
+ #3334: fix listing of successfully imported submissions
+ #3336: External feed plugin obliterates custom blocks when enabled
+ #3338: If html part of mail too long, new line with exclamation mark is inserted
+ #3348: article DOI in native import
+ #3357: Disciplin element should be discipline
+ #3359: recommendOnly editor and section editor
+ #3374: Dropdown nav menus in default theme don't work for rtl languages
+ #3379: Article subtitles should appear in the issue TOC
+ #3383: no context in LazyLoadPlugin get/setEnabled when using CLI
+ #3385: Desisting from adding a new discussion leaves behind an empty discussion
+ #3387: Remove gender fields
+ #3390: upgrade email templates
+ #3392: current release contains potentially dangerous old version of PHPMailer
+ #3398: Section Editor assignment creates duplicate Pre-Review Discussion entries
+ #3407: doubt about a translation
+ #3412: RSS buttons left-over from OJS 2.x
+ #3415: getTemplateResourceName for plugins in pkp-lib
+ #3416: sr_SR migration to either sr_RS@latin or sr_RS@cyrillic
+ #3420: Date issues for non-default date_format_short in reviewDueDate and responseDueDate
+ #3421: Editing roles for a user in one journal destroys roles in others
+ #3422: OJS 3.1.0.1 adding a participant with Safari does not close the modal window
+ #3436: "Send to Review" and "Send to Production" for reccomendOnly users
+ #3440: Even if you check "Do not send email" for notification, you receive email.
+ #3443: Duplicate translation keys in en_US
+ #3444: Multilingual custom email template does not apply to email body
+ #3447: Task list shows too long
+ #3448: Submission listings only show title for selected locale
+ #3459: sitemap fix
+ #3474: Restrict SubmissionFileRequestedRevisionRequiredPolicy to revision files only
+ #3481: submission URL in recommendation form emails
+ #3485: Missing sidebar items after upgrade from OJS 2.4.x with PostgreSQL
+ #3488: Improve error presentation in file upload wizard
+ #3491: Use mbstring-capable regexp functions in searching
+ #3495: Modify API URLs in ui-library when restful_urls enabled
+ #3506: Untranslated locale key for scheduledTaskLogs log file
+ #3509: DataCite export plugin sets accepted date = submitted date instead of actual accepted date
+ #3510: display last revisions of reviewer files
+ #3517: require locale component for identifier tab, add a hook
+
From 912b8a493da82313734bfab622d9866711a5d9c3 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Wed, 4 Apr 2018 12:25:10 -0700
Subject: [PATCH 066/100] Update release date
---
docs/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/README b/docs/README
index 6e41eb81a5f..64349f84427 100644
--- a/docs/README
+++ b/docs/README
@@ -3,7 +3,7 @@
=== The Public Knowledge Project
=== Version: 3.1.1
=== GIT tag: ojs-3_1_1-0
- === Release date: October 23, 2017
+ === Release date: April 4, 2018
===================================
From 9f98995e3f617b3278cef243278643f06c0a99ec Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Wed, 4 Apr 2018 15:48:24 -0700
Subject: [PATCH 067/100] Fix query typos
---
dbscripts/xml/upgrade/3.1.1_update.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dbscripts/xml/upgrade/3.1.1_update.xml b/dbscripts/xml/upgrade/3.1.1_update.xml
index 208978dfc23..d41ac35635e 100644
--- a/dbscripts/xml/upgrade/3.1.1_update.xml
+++ b/dbscripts/xml/upgrade/3.1.1_update.xml
@@ -46,8 +46,8 @@
UPDATE users u, (SELECT user_id, GROUP_CONCAT(DISTINCT setting_value SEPARATOR ' ') AS groupedGossips FROM user_settings WHERE setting_name = 'gossip' AND setting_value <> '' GROUP BY user_id) us SET u.gossip = us.groupedGossips WHERE us.user_id = u.user_idUPDATE users u, (SELECT user_id, GROUP_CONCAT(DISTINCT setting_value SEPARATOR ' ') AS groupedGossips FROM user_settings WHERE setting_name = 'gossip' AND setting_value <> '' GROUP BY user_id) us SET u.gossip = us.groupedGossips WHERE us.user_id = u.user_id
- UPDATE users SET citations = us. groupedGossips FROM (SELECT user_id, string_agg(DISTINCT setting_value, ' ') AS groupedGossips FROM user_settings WHERE setting_name = 'gossip' AND setting_value <> '' GROUP BY user_id) AS us WHERE us.user_id = users.user_id
- DELETE FROM user_settings WHERE setting_name="gossip"
+ UPDATE users SET gossip = us.groupedGossips FROM (SELECT user_id, string_agg(DISTINCT setting_value, ' ') AS groupedGossips FROM user_settings WHERE setting_name = 'gossip' AND setting_value <> '' GROUP BY user_id) AS us WHERE us.user_id = users.user_id
+ DELETE FROM user_settings WHERE setting_name='gossip'DELETE n FROM notifications n LEFT JOIN announcements a ON (n.assoc_id = a.announcement_id) WHERE a.announcement_id IS NULL AND n.assoc_type = 522
From feb35aab8fba24d741f3a1ac5de69a2c498a0191 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Wed, 4 Apr 2018 17:41:44 -0700
Subject: [PATCH 068/100] Submodule update
---
plugins/generic/translator | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/generic/translator b/plugins/generic/translator
index 532128f7b2f..7d4a7055968 160000
--- a/plugins/generic/translator
+++ b/plugins/generic/translator
@@ -1 +1 @@
-Subproject commit 532128f7b2fdac20daa355b9eabf5ab287c1b7b4
+Subproject commit 7d4a7055968d61f1741f2f0ac5c80c23c2b2dccf
From 44f317e665c9fa618c99d3259e4f3a342759e754 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Thu, 5 Apr 2018 13:44:22 -0700
Subject: [PATCH 069/100] Remove dead code
---
templates/images/help.gif | Bin 632 -> 0 bytes
templates/images/icons/comment.gif | Bin 873 -> 0 bytes
templates/images/icons/comment_disabled.gif | Bin 89 -> 0 bytes
templates/images/icons/delete.gif | Bin 88 -> 0 bytes
templates/images/icons/delete_disabled.gif | Bin 117 -> 0 bytes
templates/images/icons/edit.gif | Bin 147 -> 0 bytes
templates/images/icons/edit_disabled.gif | Bin 203 -> 0 bytes
templates/images/icons/folder.gif | Bin 87 -> 0 bytes
templates/images/icons/letter.gif | Bin 873 -> 0 bytes
templates/images/icons/mail.gif | Bin 872 -> 0 bytes
templates/images/icons/mail_disabled.gif | Bin 88 -> 0 bytes
templates/images/icons/view.gif | Bin 109 -> 0 bytes
templates/images/info.gif | Bin 695 -> 0 bytes
templates/images/letter.gif | Bin 90 -> 0 bytes
templates/images/mail.gif | Bin 94 -> 0 bytes
templates/images/menulist.gif | Bin 50 -> 0 bytes
templates/images/progbar.gif | Bin 71 -> 0 bytes
templates/images/progbg.gif | Bin 292 -> 0 bytes
18 files changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 templates/images/help.gif
delete mode 100644 templates/images/icons/comment.gif
delete mode 100644 templates/images/icons/comment_disabled.gif
delete mode 100644 templates/images/icons/delete.gif
delete mode 100644 templates/images/icons/delete_disabled.gif
delete mode 100644 templates/images/icons/edit.gif
delete mode 100644 templates/images/icons/edit_disabled.gif
delete mode 100644 templates/images/icons/folder.gif
delete mode 100644 templates/images/icons/letter.gif
delete mode 100644 templates/images/icons/mail.gif
delete mode 100644 templates/images/icons/mail_disabled.gif
delete mode 100644 templates/images/icons/view.gif
delete mode 100644 templates/images/info.gif
delete mode 100644 templates/images/letter.gif
delete mode 100644 templates/images/mail.gif
delete mode 100644 templates/images/menulist.gif
delete mode 100644 templates/images/progbar.gif
delete mode 100644 templates/images/progbg.gif
diff --git a/templates/images/help.gif b/templates/images/help.gif
deleted file mode 100644
index 398cbecd204c81bb797dff5440a93fed6e524024..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 632
zcmZ?wbhEHbRANwKxT?i)=Ej+Qr}rH>eWYu4SNH7h-A8sGyL@c=vgt?999_F(?Sl0S
zwjJ4a;Ov3r+mWvscePbpFt)ovU^p+u1R*?pbRMfWMO1r&|=U583XbY1KWRxsRbS(wgO_Ftqv=x4H;c%N%(a|_fHA>@7_X5{PR$Ngt
zT4LB2s2umw2sAmkL$5)MpT%}j!KH$^##4p(wHH+=eTZui;ul@i;PgIKG2+p?pO=ML
z=UN4t-Cf(cC}qWmC
WxpV2<40`4~L(+aziiLp!gEau!J|lYo
diff --git a/templates/images/icons/comment_disabled.gif b/templates/images/icons/comment_disabled.gif
deleted file mode 100644
index b0e1af6c54bc661ada55a466091b06df6d8ca2bd..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 89
zcmZ?wbhEHb6kye7aulSRNk%57kL5BedK=KSsnsfSBo?ffu
q#AR@>BEwax+%i^vF{6M7lh&>&>Y81rER;4~jFi}Jxi6l9!5RRLksBKT
diff --git a/templates/images/icons/delete_disabled.gif b/templates/images/icons/delete_disabled.gif
deleted file mode 100644
index ce3fe5a6788b0c0c3262e697ca77e1e4fde1bf44..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 117
zcmZ?wbhEHb6krfwSj57xbLY-oyLJ^878Vs1y?_6n0R|L*vM@3*urTO=1VCyTn5{f^
z-T7x=rRcz%w8il-lXFFClXyXMX{)ot)Cs3cg(RvbdKa!LzPIMyqbY_H3%Y%>cVvr5
N+jo|Dc`z_o0{~pXCiwsW
diff --git a/templates/images/icons/edit.gif b/templates/images/icons/edit.gif
deleted file mode 100644
index c1d0ca62cc3bff83d483ff33a45324d266e87cc6..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 147
zcmV;E0Brw9Nk%w1VGsZi0J9GO??*=2F)_LzC%(3@^yjG9*x38_veC}ISXfxXfhz3Y
zlJB@Q`luQI(_8=m0PpYbA^8LW000jFEC2ui01yBW000C)@X1LfxHZ3WL(o)lcmgOj
z%`ph2i7vxnJ}<*0bF(aWuG=`*uIKs@LA4;rU?3=t8iiA#1UVGgnFMjwN*tyL06Tdh
BJz@X=
diff --git a/templates/images/icons/edit_disabled.gif b/templates/images/icons/edit_disabled.gif
deleted file mode 100644
index 29e3f5e63f529815b5491de48a5f87c6c3ceca21..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 203
zcmZ?wbhEHb6krfwI3mW-*Vk8CTDoo9w*LP9wzjs`*4CRhZ=OAS_Ta&T&z?O?N=mwZ
z{rcz6pA!=kBO@cPUAy+>%a;QO4&1$acjwNXH*VZuU|@Lv{ymVy1r&d>FfuTRG3bC4
zfb3*o^;n?VwTMQ)4?)&Re19by0g
diff --git a/templates/images/icons/letter.gif b/templates/images/icons/letter.gif
deleted file mode 100644
index 7952265333f075597cdf789b508ca0eab41f92c3..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 873
zcmZ?wbhEHb6kycC}qWmC
WxpV2<40`4~L(+aziiLp!gEau!J|lYo
diff --git a/templates/images/icons/mail.gif b/templates/images/icons/mail.gif
deleted file mode 100644
index af8c2f40c5239f48c5779b4c713023fa28b19aab..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 872
zcmZ?wbhEHb6ky>ZutQ;~P
z8x|aF<`Cv%Ij~{j;dUklmKh!!m0TGFb)!-w7#1JtB&&IXNwTYaGy~(|)wyB=6o{XG~&(_b!(#QDw_@=t1q`9P`wxXZ1o}96q
zm#LSOrJJ&kfV^f&$-0T#LCplpR=E;y{gjO($wG7+2PsS=G?o=yYKYx$ll1$
z*w2QShKieto2i__*uuZbz{lOko~xev`})Jo!??q^yT!Z2(ZjI6u=x4-!_36A%(S=8
zx16nam+0v%3#6hA=}QXC*ybqNV|8b%!=5Nil`
z0!Vc>0V^s(7*8MqOE&{^N*O*SFBX0)CN?oUd<_FT5)uG;QNVy71q%XTKtjdL00}Vw
zEWp#mo(efQY+&hN#f2LzCL9z1WAVcRA6Sx5h!AE&$O30do&*5_K_4gyF5swA#-M^Y
zKrToiKxP6OE*Jpd$YZce2>=qVoEQU&jg~A^aC}L#B}Iw~Olq)z#2`Y5HUMiqEQ|~cj0`#qKmd|qVB+lQXWPwnZW0eGgEas?
C#S5hX
diff --git a/templates/images/progbar.gif b/templates/images/progbar.gif
deleted file mode 100644
index 7db3237acf998a4811bb9e9d33cdb37e96d466c3..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 71
zcmZ?wbhEHbWM$xIXkcVmwR_e7|Nj;Li8>dhCYGe8D3oWGWGIAWq$;?3`UWuQFaQBa
XDFYKP4_{l=oF8H(B~hKyIt_CX>@2HRA^-&
zM@dak03rDV0SW*E04x9i008*`8vpDN?%k2-NoV41Dv);V>4~F7MGJ#R1>dLn6
z3&-+IH)oCK`p)(tOe#~irSl1mN~f?U^@`1Ew@@qh3l59NA}{%jPOHP_
zwfhZ^|Jw4p{f-CG^ZdU5FR%wVNLV-~Xqc$D=!D4l2pO5KE3Bg|^9;>=JY5qF
qbB$d+ll{`&^6eJBGETnDeI8S;vR=}D_C69XpRQi-J$w&S002AOPK=fS
From f33681cef76bfb0ba0045a9e4b67cbf33d36bc1b Mon Sep 17 00:00:00 2001
From: ajnyga
Date: Fri, 6 Apr 2018 11:10:04 +0300
Subject: [PATCH 070/100] Add fi locale template for initial decline
---
locale/fi_FI/emailTemplates.xml | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/locale/fi_FI/emailTemplates.xml b/locale/fi_FI/emailTemplates.xml
index 82dca027fec..f2189467209 100644
--- a/locale/fi_FI/emailTemplates.xml
+++ b/locale/fi_FI/emailTemplates.xml
@@ -825,4 +825,17 @@ Ystävällisin terveisin, The default (blank) message used in the Notification Center Message Listbuilder.
+
+ Toimittajan päätös
+
+
+
+Olemme tehneet päätöksen julkaisuun {$contextName} lähettämäänne käsikirjoitusta "{$submissionTitle}" koskien.
+
+Päätöksemme on: Käsikirjoitus on hylätty
+
+{$editorialContactSignature} ]]>
+ This email is send to the author if the editor declines his submission initially, before the review stage
+
+
From 6ae42e27d333c858a73ea3dd0d1a6a60602fdda1 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Fri, 6 Apr 2018 21:21:23 -0700
Subject: [PATCH 071/100] Custom block manager submodule update
---
plugins/generic/customBlockManager | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/generic/customBlockManager b/plugins/generic/customBlockManager
index ec5838a0c60..4a4e64af6de 160000
--- a/plugins/generic/customBlockManager
+++ b/plugins/generic/customBlockManager
@@ -1 +1 @@
-Subproject commit ec5838a0c601d75c86f6d72a0ed8ac9f0cd09bba
+Subproject commit 4a4e64af6dea14048d041e7a9d481be8bc85d111
From 586610e742bfe6f77cde288dc20ea1dbc574d57b Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Mon, 9 Apr 2018 15:44:02 +0200
Subject: [PATCH 072/100] pkp/pkp-lib#3556 submodule update ##bozana/3556##
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index 5db2a679a9b..76c3b5a7d38 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit 5db2a679a9b159c24eb7901645f2fdc527aff2e9
+Subproject commit 76c3b5a7d38ab71b15d1afac17df6350e094d7f1
From cdfbc41b9609105690413c317e8287eeb836a026 Mon Sep 17 00:00:00 2001
From: Bozana Bokan
Date: Mon, 9 Apr 2018 19:00:23 +0200
Subject: [PATCH 073/100] pkp/pkp-lib#3563 place sr_SR migration before files
migration
---
classes/install/Upgrade.inc.php | 8 ++++----
dbscripts/xml/upgrade.xml | 5 ++++-
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/classes/install/Upgrade.inc.php b/classes/install/Upgrade.inc.php
index fbf94a5fe7f..e6cf04c5aa8 100644
--- a/classes/install/Upgrade.inc.php
+++ b/classes/install/Upgrade.inc.php
@@ -2675,7 +2675,7 @@ function migrateSRLocale() {
// Consider issue cover images
// Note that the locale column values are already changed above
- $settingValueResult = $journalSettingsDao->retrieve('SELECT a.*, b.journal_id FROM issue_settings a, issues b WHERE a.setting_name = \'coverImage\' AND a.locale = ? AND a.setting_value LIKE ? AND a.setting_type = \'string\' AND b.issue_id = a.issue_id', array($newLocale, '%' .$oldLocale .'%'));
+ $settingValueResult = $journalSettingsDao->retrieve('SELECT a.*, b.journal_id FROM issue_settings a, issues b WHERE a.setting_name = \'fileName\' AND a.locale = ? AND a.setting_value LIKE ? AND a.setting_type = \'string\' AND b.issue_id = a.issue_id', array($newLocale, '%' .$oldLocale .'%'));
while (!$settingValueResult->EOF) {
$row = $settingValueResult->getRowAssoc(false);
$oldCoverImage = $row['setting_value'];
@@ -2684,14 +2684,14 @@ function migrateSRLocale() {
$publicFileManager->copyJournalFile($row['journal_id'], $publicFileManager->getContextFilesPath(ASSOC_TYPE_JOURNAL, $row['journal_id']) . '/' . $oldCoverImage, $newCoverImage);
$publicFileManager->removeJournalFile($row['journal_id'], $oldCoverImage);
}
- $journalSettingsDao->update('UPDATE issue_settings SET setting_value = ? WHERE issue_id = ? AND setting_name = \'coverImage\' AND locale = ?', array($newCoverImage, (int) $row['issue_id'], $newLocale));
+ $journalSettingsDao->update('UPDATE issue_settings SET setting_value = ? WHERE issue_id = ? AND setting_name = \'fileName\' AND locale = ?', array($newCoverImage, (int) $row['issue_id'], $newLocale));
$settingValueResult->MoveNext();
}
$settingValueResult->Close();
// Consider article cover images
// Note that the locale column values are already changed above
- $settingValueResult = $journalSettingsDao->retrieve('SELECT a.*, b.context_id FROM submission_settings a, submissions b WHERE a.setting_name = \'coverImage\' AND a.locale = ? AND a.setting_value LIKE ? AND a.setting_type = \'string\' AND b.submission_id = a.submission_id', array($newLocale, '%' .$oldLocale .'%'));
+ $settingValueResult = $journalSettingsDao->retrieve('SELECT a.*, b.context_id FROM submission_settings a, submissions b WHERE a.setting_name = \'fileName\' AND a.locale = ? AND a.setting_value LIKE ? AND a.setting_type = \'string\' AND b.submission_id = a.submission_id', array($newLocale, '%' .$oldLocale .'%'));
while (!$settingValueResult->EOF) {
$row = $settingValueResult->getRowAssoc(false);
$oldCoverImage = $row['setting_value'];
@@ -2700,7 +2700,7 @@ function migrateSRLocale() {
$publicFileManager->copyJournalFile($row['context_id'], $publicFileManager->getContextFilesPath(ASSOC_TYPE_JOURNAL, $row['context_id']) . '/' . $oldCoverImage, $newCoverImage);
$publicFileManager->removeJournalFile($row['context_id'], $oldCoverImage);
}
- $journalSettingsDao->update('UPDATE submission_settings SET setting_value = ? WHERE submission_id = ? AND setting_name = \'coverImage\' AND locale = ?', array($newCoverImage, (int) $row['submission_id'], $newLocale));
+ $journalSettingsDao->update('UPDATE submission_settings SET setting_value = ? WHERE submission_id = ? AND setting_name = \'fileName\' AND locale = ?', array($newCoverImage, (int) $row['submission_id'], $newLocale));
$settingValueResult->MoveNext();
}
$settingValueResult->Close();
diff --git a/dbscripts/xml/upgrade.xml b/dbscripts/xml/upgrade.xml
index f84125fd842..ed0c935d3c2 100644
--- a/dbscripts/xml/upgrade.xml
+++ b/dbscripts/xml/upgrade.xml
@@ -83,6 +83,10 @@
+
+
+
+
@@ -190,7 +194,6 @@
-
From 6e73a30be55eeca0ba971a8593d0d01bb6931004 Mon Sep 17 00:00:00 2001
From: Alberto Simoes
Date: Tue, 10 Apr 2018 14:39:49 +0100
Subject: [PATCH 074/100] Some pt localization
---
locale/pt_PT/api.xml | 16 ++++++++++++++++
plugins/generic/openAIRE/locale/pt_PT/locale.xml | 1 +
.../importexport/doaj/locale/pt_PT/locale.xml | 1 +
.../importexport/medra/locale/pt_PT/locale.xml | 1 +
4 files changed, 19 insertions(+)
create mode 100644 locale/pt_PT/api.xml
diff --git a/locale/pt_PT/api.xml b/locale/pt_PT/api.xml
new file mode 100644
index 00000000000..2e2cf37bb27
--- /dev/null
+++ b/locale/pt_PT/api.xml
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+ Não tem permissões para ver edições ainda não publicadas.
+
diff --git a/plugins/generic/openAIRE/locale/pt_PT/locale.xml b/plugins/generic/openAIRE/locale/pt_PT/locale.xml
index c6c9fb03820..b5a1e5fc694 100644
--- a/plugins/generic/openAIRE/locale/pt_PT/locale.xml
+++ b/plugins/generic/openAIRE/locale/pt_PT/locale.xml
@@ -16,4 +16,5 @@
O plugin OpenAIRE inclui o elemento projectID nos metadados do artigo e estende a interface OAI-PMH para se adequar às Orientações do OpenAIRE 1.1, auxiliando as revistas que usam o OJS a serem compatíveis com o OpenAIRE.OpenAIRE Número de Projeto (Project ID)Indique um número de projeto válido (6 números)
+ OpenAIRE, por favor inclua o identificador de projeto (ProjectID), um número de seis dígitos que corresponde ao identificador do Contrato de Financiamento.]]>
diff --git a/plugins/importexport/doaj/locale/pt_PT/locale.xml b/plugins/importexport/doaj/locale/pt_PT/locale.xml
index 95cc34cd826..5b81ceb6757 100644
--- a/plugins/importexport/doaj/locale/pt_PT/locale.xml
+++ b/plugins/importexport/doaj/locale/pt_PT/locale.xml
@@ -23,4 +23,5 @@
O OJS depositará artigos automaticamente junto do DOAJ. Por favor, note que esta acção pode demorar a ser processada. Pode verificar se há todos os artigos não registados.Use a API de teste DOAJ (ambiente de teste) para o registo. Não se esqueça de remover esta opção para a produção.O depósito não foi bem sucedido! A API DOAJ devolveu um erro: '{$param}'.
+ Tarefa de registo automático no DOAJ
diff --git a/plugins/importexport/medra/locale/pt_PT/locale.xml b/plugins/importexport/medra/locale/pt_PT/locale.xml
index 8828a541adb..7a3ba6c21de 100644
--- a/plugins/importexport/medra/locale/pt_PT/locale.xml
+++ b/plugins/importexport/medra/locale/pt_PT/locale.xml
@@ -38,4 +38,5 @@
Modo de Utilização:
{$scriptName} {$pluginName} export [xmlFileName] [journal_path] {issues|articles|galleys} objectId1 [objectId2] ...
{$scriptName} {$pluginName} register [journal_path] {issues|articles|galleys} objectId1 [objectId2] ...
+ Sítio do mEDRA (EN) para receber um utilizador e uma senha. Se não tiver o seu próprio utilizador e respetiva senha, poderá, ainda assim, exportar nos formados XML do mEDRA (Onix para DOI) mas não poderá registar os seus DOI no sistema mEDRA a partir do OJS. Note the a senha será armazenada em formato texto, ou seja, não encriptada, dados os requisitos do serviço de registo do mEDRA.]]>
From 79e5a27af48e21f6ce53c5ee73ef36cf90c565a4 Mon Sep 17 00:00:00 2001
From: Alberto Simoes
Date: Thu, 12 Apr 2018 15:18:06 +0100
Subject: [PATCH 075/100] Some more
---
locale/pt_PT/editor.xml | 12 ++----
locale/pt_PT/locale.xml | 90 ++++++----------------------------------
locale/pt_PT/manager.xml | 3 --
3 files changed, 15 insertions(+), 90 deletions(-)
diff --git a/locale/pt_PT/editor.xml b/locale/pt_PT/editor.xml
index 74621163fd3..c466033dfd5 100644
--- a/locale/pt_PT/editor.xml
+++ b/locale/pt_PT/editor.xml
@@ -34,8 +34,6 @@
Incluir sumário da edição:Administração do EditorCriar Edição
- Edições Anteriores
- Edições FuturasEdição ActualArtigosNenhum artigo agendado para esta edição.
@@ -59,15 +57,12 @@
RemoverCorrigidoRemover imagem da capa?
- Formato inválido. Formatos aceitáveis são .gif, .jpg ou .png. Verifique as configurações de MimeType do servidor e permissões de pastas.Folha de EstilosO formato de Folha de Estilos é inválido. Certifique-se que o documento enviado é um documento CSS válido! Documentos CSS com comentários no início poderão ser rejeitados. Verifique as configurações de MimeType do servidor e permissões de pastas.Eliminar Folha de Estilos?Legenda da capaCriar capa personalizada para esta edição.Exibir
- Não exibir miniatura da capa na lista de edições
- Não exibir imagem de capa antes do sumárioAcesso LivreSubscriçãoIdentificação
@@ -107,15 +102,11 @@
Agendar para publicar emA AgendarA Taxa para Publicação do artigo não foi paga. Uma vez realizado o pagamento, será permitido agendar o artigo para publicação.
- Criar capa para este artigo com os seguintes elementos.
- Não exibir miniatura da capa no sumário
- Não exibir imagem de capa na página de resumo de artigoEliminarActivar acesso livre adiadoDespublicar ediçãoDeseja realmente despublicar esta edição?Antes de enviar a submissão para Copyediting, use o link Notificar Autor para informá-lo sobre a decisão e seleccionar a versão que vai ser enviada.
- Enviar para CopyeditingTodos os leitores ({$count} utilizadores)Todos os autores publicados ({$count} utilizadores)Todos os assinantes individuais ({$count} utilizadores)
@@ -153,4 +144,7 @@
Seleccionar Ficheiros EdiçãoCopyediting .]]>Todos os ficheiros que já foram enviados para qualquer etapa de submissão podem ser adicionados à Listagem de Revisão, marcando a caixa de selecção Incluir abaixo e clicando em Pesquisar: todos os ficheiros disponíveis serão listados e podem ser escolhidos para inclusão.
+ Deseja realmente definir esta edição como a atual?
+ Definir como Edição Atual
+ O identificador público '{$publicIdentifier}' já existe para outro objeto do mesmo tipo. Por favor escolha identificadores únicos para os objetos do mesmo tipo da sua revista.
diff --git a/locale/pt_PT/locale.xml b/locale/pt_PT/locale.xml
index bb877f7af88..a7dce7c3e15 100644
--- a/locale/pt_PT/locale.xml
+++ b/locale/pt_PT/locale.xml
@@ -247,15 +247,6 @@
Configurar o suporte ao LOCKSS para o OJS é necessário somente após a publicação de uma edição estar quase completa, bastando seguir os passos a seguir:]]>
-
-Título do sistema de classificação:]]>
- registe o URL da revista no Colectador de Metadados do Public Knowledge Project. Esta ferramenta recolha os recolha de cada item indexado desta revista, possibilitando pesquisas colectivas e precisas entre os portais de pesquisa que utilizam o protocolo de recolha de metadados do Open Archives Initiative, OAI-PMH.
-
-Caso o administrador do portal já tenha registado a revista no portal do Colectador do PKP, a revista será automaticamente indexada, sem necessidade de registo individual.
-
-Clique aqui e insira {$siteUrl} no campo Site URL, e {$oaiUrl} no campo Base URL for OAI Archive.]]>
-
-
Revisão de Submissão > Edição de Submissão > Fila de Espera > Sumário.
Escolha um modelo para administrar os aspectos do processo editorial. (Para designar um Director e Editores de Secção, aceda a opção Editores em Administração da Revista.)]]>
@@ -425,7 +416,6 @@ Escolha um modelo para administrar os aspectos do processo editorial. (Para desi
Não há revistas para se registar neste portal.Política de Privacidade
- Insira o nome de utilizador e senha para registar-se na revista.Registo de utilizadores desactivado no momento.Senha inserida não contém o mínimo de caracteres.Notificado via e-mail da publicação de nova edição da revista.
@@ -486,7 +476,6 @@ Escolha um modelo para administrar os aspectos do processo editorial. (Para desi
ÂmbitoPolíticas de SecçãoSubmissões
- Submissões OnlineAcesso{$login} ou {$register} para submeter um artigo.Instruções para Autores
@@ -583,7 +572,6 @@ O servidor actualmente tem suporte a mbstring: {$supportsMBString}{$reviewerName} liberada(o) da ronda {$round} de revisão da submissão {$submissionId}.
A ronda {$round} de revisão da submissão {$submissionId}, designada a {$reviewerName}, foi iniciada.A ronda {$round} de revisão da submissão {$submissionId}, designada a {$reviewerName}, foi iniciada novamente.
- A ronda {$round} de revisão da submissão {$submissionId}, designada a {$reviewerName}, foi cancelada.{$reviewerName} foi liberada(o) da ronda {$round} de revisão da submissão {$submissionId}.{$reviewerName} recebeu classificação para a ronda {$round} de revisão da submissão {$submissionId}.Foi definido para {$dueDate} o prazo para conclusão da ronda {$round} de revisão da submissão {$submissionId}, designada a {$reviewerName}.
@@ -743,13 +731,6 @@ Autores que publicam nesta revista concordam com os seguintes termos:
Utilizadores devem estar registados e ligados para comentar, com permissão de anonimato.Não é necessário estar registado para comentar, com permissão de anonimato.Lista de moedas "{$filename}" do ficheiro XML
- Não é possível transferir idiomas do servidor do Public Knowledge Project. Os motivos possíveis são:
-
-
O servidor não possui ou não permite a execução da ferramenta "tar" GNU
-
O sistema não possui permissão para alterar o ficheiro de registo de idiomas, normalmente "registry/locales.xml".
-
O servidor não possui permissões para conexão remota ao servidor do PKP
-
-Idiomas estão disponíveis para download manual no portal do PKP.]]>Subscrição exigida para acesso ao item. Para verificar a sua subscrição, aceda à revista.Taxas para AutoresEste periódico cobra as seguintes taxas aos autores
@@ -831,8 +812,8 @@ Pode-se opcionalmente informar o motivo pelo qual está sendo desactivado o regi
Adquirir nova subscriçãoAdquirir Subscrição IndividualAdquirir Subscrição Institucional
- Vencimento
- Vencida
+ Expira em {$date}
+ Expirou em {$date}Ver tipos disponíveis de SubscriçõesTipo de SubscriçãoRegisto em Entidade de Classe
@@ -894,43 +875,8 @@ Pode-se opcionalmente informar o motivo pelo qual está sendo desactivado o regi
Download NúmeroVer NúmeroNão existem revistas.
- De
- Quem oferece o donativo?
- Para
- Para quem é o donativo?
- Obrigado
- A oferta do seu donativo foi concluída. Receberá uma cópia da prenda através de e-mail logo que o pagamento seja processado.
- Subscrição de Donativo
- Por favor, preencha o formulário abaixo. A informação sobre o contacto, assim como a nota sobre o donativo, será usada para enviar ao destinatário e informá-lo que sobre o novo donativo subscrito (receberá também uma cópia deste e-mail).
- Detalhes Donativo
- Por favor, escolha o donativo em baixo e inclua uma mensagem personalisada que será enviada ao destinatário (receberá também uma cópia deste e-mail).
- Donativo
- Título
- Nota Donativo
- Por favor, indique um título para a sua mensagem pernonalisada.
- Por favor, indique uma mensagem pernonalisada.
- Por favor, seleccione o idioma para a sua mensagem pernonalisada.
- Meus Donativos
- Gerir Meus Donativos
- Resgatar Donativo
- Disponível
- Resgatadas
- Resgatar Donativo
- Subscrições
- A subscrição de donativo resgatado substituirá a sua actual subscrição (se possuir alguma). As subscrições têm início na data de resgate e serão válidas durante o período do tipo de subscrição.
- Fazer a subscrição de donativo
- As subscrições de donativos também estão disponíveis. As subscrições de donativos podem ser feitas em qualquer altura pelo destinatário e são uma excelente forma de apoiar esta revista.
- Nenhuma subscrição donativos
- O donativo foi resgatado com sucesso.
- O donativo não está disponível para resgate.
- Este donativo já foi resgatado.
- O donativo não é válido e não pode ser resgatado.
- O tipo de subscrição para este donativo não é válida. Por favor contacte o gestor de assinaturas.
- O donativo não foi resgatado uma vez que possui uma assinatura vitalícia com esta revista.Subscrição ou compra de número necessários para acedero ao artigo. Para verificar a subscrição, aceda a compra anterior, ou compre número, faça login na revista.Taxa Compra Número
- Donativo
- Subscrição{$allowFileUploads}]]>
{$maxFileUploadSize}]]>this page para fazer download da versão mais recente e encontre as instruções para a actualização]]>
@@ -943,31 +889,9 @@ Pode-se opcionalmente informar o motivo pelo qual está sendo desactivado o regi
- Painel de ControloNúmerosPróximosAnteriores
- Definições
- Gestão de acessos
- Ferramentas
- Administrador
- Previsualizar
- Submissões
- Arquivo
- Total
- Importar / exportar
- Estatísticas
- Submeter
- As minhas submissões
- As minhas tarefas
- Título
- Estado
- Revisão externa
- Tarefas ativas
- Website
- Fluxo de trabalho
- Permissões
- Opções de acessoEsta edição estará disponível num site separado.URL do conteúdo hospedado remotamenteRevista Actual:
@@ -1059,4 +983,14 @@ Setting up CLOCKSS support for Open Journal Systems does not need to take place
Indexão "{$journalName}"A execução da pesquisa não permite a re-indexação por revista.O caminho fornecido "{$journalPath}" não pôde ser usado nesta revista.
+ Não tem uma subscrição ativa.
+ ({$currency} {$price})
+ O Portico é um serviço sem fins lucrativos com vista à preservação de publicações digitais, incluindo revistas eletrónicas, e-books, e outras coleções históricas digitalizadas. Se a sua revista tiver um contrato com o Portico, poderá ativá-lo aqui:
+ A taxa de publicação está em pagamento.
+ Solicitar taxa de publicação ({$feeAmount})
+ Foi solicitado um pagamento, mas o prazo expirou. Contacte o Gestor da Revista para mais informação.
+ Subscrições
+ {$editorName} tomou o processo de edição do artigo {$submissionId}.
+ Esta submissão foi agendada para publicação.
+ O editor {$editorName} registou uma recomendação ({$decision}) para o artigo {$submissionId}.
diff --git a/locale/pt_PT/manager.xml b/locale/pt_PT/manager.xml
index 53deb013d96..3801025e6b0 100644
--- a/locale/pt_PT/manager.xml
+++ b/locale/pt_PT/manager.xml
@@ -320,7 +320,6 @@
Notificar assinantes via e-mailsemana(s) depois da expiração da subscrição.Notificar assinantes via e-mail
- semana(s) antes da expiração da subscrição.Lembretes de Expiração de SubscriçãoLembretes automáticos via e-mail (editáveis nas configurações da revista por Editores-Gestores na área de E-mails Padrão) podem ser enviados aos subscritores tanto antes quanto após expiração da subscrição.Aviso: Para activar esta opção, o administrador do portal deverá activar a opção scheduled_tasks no ficheiro de configuração do sistema. Configurações adicionais no servidor podem ser necessárias para o funcionamento correcto da opção (que pode não ser possível em todos os servidores!), como indicado na documentação do sistema.]]>
@@ -543,9 +542,7 @@
Descrição Licença CLOCKSSVisualizações do sumário do númeroUse a caixa de selecção fornecida.
- Notificar os assinantes por e-mailmês(s)após caducidade da inscrição.
- Notificar os assinantes por e-mailmês(s) antes da caducidade da inscrição.CaminhoAdicionar Secção
From c307ae71c470fcc8c49124c21b54a836915310e4 Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Thu, 12 Apr 2018 11:20:19 -0700
Subject: [PATCH 076/100] Submodule update
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index 76c3b5a7d38..1a080afd89e 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit 76c3b5a7d38ab71b15d1afac17df6350e094d7f1
+Subproject commit 1a080afd89eb50871803972ec80b0ce0c961ba8b
From 74a528c24f43ef2de53c2a8d281752f01ab0781e Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Thu, 12 Apr 2018 11:20:51 -0700
Subject: [PATCH 077/100] Submodule updates
---
plugins/generic/lensGalley | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/generic/lensGalley b/plugins/generic/lensGalley
index 5a0465cfee3..90a78e8f3a6 160000
--- a/plugins/generic/lensGalley
+++ b/plugins/generic/lensGalley
@@ -1 +1 @@
-Subproject commit 5a0465cfee3193a4aae188ac89370b692952a82c
+Subproject commit 90a78e8f3a691d760b30d8fe0e44273c47e75875
From 1323ea5ab6c0757f06f3ab1e38a164ac315b8adf Mon Sep 17 00:00:00 2001
From: Alec Smecher
Date: Thu, 12 Apr 2018 13:12:55 -0700
Subject: [PATCH 078/100] Submodule update
---
lib/pkp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pkp b/lib/pkp
index 1a080afd89e..7a9d7eb70a9 160000
--- a/lib/pkp
+++ b/lib/pkp
@@ -1 +1 @@
-Subproject commit 1a080afd89eb50871803972ec80b0ce0c961ba8b
+Subproject commit 7a9d7eb70a97b5478b6f1a215b9bcad4f4224e7c
From 138fa42df43f8d1c77efcec3d037189df8e8400d Mon Sep 17 00:00:00 2001
From: Nate Wright
Date: Fri, 13 Apr 2018 15:08:02 +0100
Subject: [PATCH 079/100] pkp/pkp-lib#3589 Fix back-compat code for issue API
params
---
api/v1/issues/IssueHandler.inc.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/api/v1/issues/IssueHandler.inc.php b/api/v1/issues/IssueHandler.inc.php
index 61afa51d280..16b328529c6 100644
--- a/api/v1/issues/IssueHandler.inc.php
+++ b/api/v1/issues/IssueHandler.inc.php
@@ -134,8 +134,8 @@ public function getIssueList($slimRequest, $response, $args) {
case 'year':
// Support deprecated `year`, `number` and `volume` params
- if (substr($param, -1) === 's') {
- $param = substr($param, 0, -1);
+ if (substr($param, -1) !== 's') {
+ $param .= 's';
}
if (is_string($val) && strpos($val, ',') > -1) {
From 224c89de55667db93f4f927a056ddcc36ad6f863 Mon Sep 17 00:00:00 2001
From: Alberto Simoes
Date: Fri, 13 Apr 2018 16:52:42 +0100
Subject: [PATCH 080/100] Finished PT translations
---
locale/pt_PT/manager.xml | 35 +++--
locale/pt_PT/submission.xml | 2 +
plugins/auth/ldap/locale/pt_PT/locale.xml | 2 +
.../subscription/locale/pt_PT/locale.xml | 6 +-
.../generic/backup/locale/pt_PT/locale.xml | 38 ++++++
.../generic/browse/locale/pt_PT/locale.xml | 34 +++++
.../generic/lucene/locale/pt_PT/locale.xml | 124 ++++++++++++++++++
.../locale/pt_PT/locale.xml | 20 +++
.../usageStats/locale/pt_PT/locale.xml | 28 ++--
.../native/locale/pt_PT/locale.xml | 3 +
.../paymethod/paypal/locale/pt_PT/locale.xml | 6 +
plugins/pubIds/doi/locale/pt_PT/locale.xml | 13 +-
.../subscriptions/locale/pt_PT/locale.xml | 19 +++
13 files changed, 295 insertions(+), 35 deletions(-)
create mode 100644 plugins/generic/backup/locale/pt_PT/locale.xml
create mode 100644 plugins/generic/browse/locale/pt_PT/locale.xml
create mode 100644 plugins/generic/lucene/locale/pt_PT/locale.xml
create mode 100644 plugins/generic/recommendBySimilarity/locale/pt_PT/locale.xml
create mode 100644 plugins/reports/subscriptions/locale/pt_PT/locale.xml
diff --git a/locale/pt_PT/manager.xml b/locale/pt_PT/manager.xml
index 3801025e6b0..5d2e157fda7 100644
--- a/locale/pt_PT/manager.xml
+++ b/locale/pt_PT/manager.xml
@@ -57,7 +57,7 @@
Taxas para LeitoresAs opções definidas (bem como as descrições, que podem ser alteradas, e as taxas) serão exibidas na secção Políticas Sobre da revista, assim como nos locais onde pagamento é exigido.Registos
- Formas de Pagamento
+ PagamentosUtilizadorUtilizadores registados nesta revistaTodas as Revistas
@@ -141,7 +141,7 @@
Mostrardas notícias mais recentes na página inicial da revista.Utilizadores podem se registar numa revista, assumindo um ou mais papéis, listados a seguir:
- Enfoque
+ Foco e ÂmbitoIndexação da submissãoOpen Archives Initiative, que é um padrão emergente para proporcionar acesso com base na indexação a recursos electrónicos de pesquisa numa escala global. Os autores farão uso de um padrão similar para incluir os metadados da submissão. O Director da revista deverá escolher as categorias para indexação e apresentar aos autores exemplos relevantes para auxiliá-los na indexação, separando os termos com ponto-e-vírgula (Ex.: termo1; termo2). Os termos deverão ser fornecidos como exemplos, utilizando as expressões "Ex." ou "Por exemplo,".]]>É obrigatório e-mail do contacto principal!
@@ -317,9 +317,6 @@
Leitores perdem acesso a todo o conteúdo exclusivo a subscritores na data de expiração.Expiração parcialLeitores mantêm acesso apenas a conteúdo publicado anteriormente à expiração. Novas publicações não permitirão acesso a conteúdo exclusivo a subscritores.
- Notificar assinantes via e-mail
- semana(s) depois da expiração da subscrição.
- Notificar assinantes via e-mailLembretes de Expiração de SubscriçãoLembretes automáticos via e-mail (editáveis nas configurações da revista por Editores-Gestores na área de E-mails Padrão) podem ser enviados aos subscritores tanto antes quanto após expiração da subscrição.Aviso: Para activar esta opção, o administrador do portal deverá activar a opção scheduled_tasks no ficheiro de configuração do sistema. Configurações adicionais no servidor podem ser necessárias para o funcionamento correcto da opção (que pode não ser possível em todos os servidores!), como indicado na documentação do sistema.]]>
@@ -338,7 +335,6 @@
Gestor de SubscriçõesO contacto a seguir será exibido em Subscrições, em Sobre a Revista.Forneça um e-mail válido.
- As políticas de subscrição foram actualizadas.SubscriçõesDeseja realmente eliminar esta subscrição?Criar Novo Subscritor
@@ -475,7 +471,6 @@
Individual (utilizadores validados via autenticação)OpçõesSubmissões
- Esta acção activará os pagamentos para a assinatura de donativos, permitindo aos leitores oferecer assinaturas a outros leitores.Comprar NúmeroTem a certeza que pretende eliminar permanentemente esta secção?Antes de ser eliminada esta secção, tem de remover os artigos publicados noutras secções.
@@ -512,7 +507,7 @@
Registo com sucesso!ArquivamentoConfigurações> Utilizadores& amp; Papéis em primeiro lugar.]]>
- Masthead
+ TítuloEquipa EditorialLista de editores, diretores e outras pessoas associados à revista.Conteúdo da HomePage da Revista
@@ -542,8 +537,6 @@
Descrição Licença CLOCKSSVisualizações do sumário do númeroUse a caixa de selecção fornecida.
- mês(s)após caducidade da inscrição.
- mês(s) antes da caducidade da inscrição.CaminhoAdicionar SecçãoOs artigos que integram números publicados numa revista são organizados em Secções, tipicamente por tema ou tipo de conteúdo (por exemplo, artigos revistos, pesquisa, etc.).
@@ -581,4 +574,26 @@
o site CLOCKSS.]]>CLOCKSSISSN
+ Formas de Pagamento
+ Plugin PKP PN ativo
+ Deseja realmente apagar esta subscrição?
+ Validar o XML antes de exportar e registar.
+ Ficheiro de entrada {$param} não é legível.
+ Ligação para uma página a descrever as subscrições disponíveis.
+ Ligação para uma página a descrever as subscrições atuais e anteriores do visitante.
+ Esta ligação só será apresentada quando um visitante estiver autenticado.
+ {$x} Meses
+ {$x} Semanas
+ Confirma a renovação desta subscrição?
+ Notificar os subscritores por email após expiração da subscrição
+ Notificar os subscritores por email após expiração da subscrição
+ Notificar os subscritores por email antes da expiração da subscrição.
+ Notificar os subscritores por email antes da expiração da subscrição.
+ A Rede de Preservação do PKP (PKP PN) providencia serviços gratuitos de preservação para qualquer revista OJS que cumpra um conjunto básico de critérios.
+ Clique na ligação Configurações para aceitar os termos de uso para o PKP PN.
+ Opções Alternativas de Arquivo
+ Rede de Preservação PKP (PKP PN)
+ A Rede de Preservação do PKP (PKP PN) providencia serviços gratuitos de preservação para qualquer revista OJS que cumpra um conjunto básico de critérios O plugin PKP PN para OJS 3 está em desenvolvimento e ficará disponível na galeria de plugins em breve.
+ Ative o Portico para armazenar e distribuir os conteúdos da revista às bibliotecas participantes no Portico.
+ Portico
diff --git a/locale/pt_PT/submission.xml b/locale/pt_PT/submission.xml
index 42f4aef061b..d7d7bf5ed9a 100644
--- a/locale/pt_PT/submission.xml
+++ b/locale/pt_PT/submission.xml
@@ -72,4 +72,6 @@
O formato de citação solicitado não pôde ser recuperado.Estas especificações são baseadas no conjunto de metadados Dublin Core, um padrão internacional usado para descrever o conteúdo da revista.Qualquer Secção
+ O seu resumo é demasiado longo. Por favor encurte-o de modo a conter menos palavras do que as indicadas abaixo para esta secção.
+ O resumo deverá ter no máximo {$wordCount} palavras.
diff --git a/plugins/auth/ldap/locale/pt_PT/locale.xml b/plugins/auth/ldap/locale/pt_PT/locale.xml
index 57a6f35fbc5..a34699f10a9 100644
--- a/plugins/auth/ldap/locale/pt_PT/locale.xml
+++ b/plugins/auth/ldap/locale/pt_PT/locale.xml
@@ -36,4 +36,6 @@
Propriedades de Segurança SASLAtributo do nome da contaO atributo cujo valor identifica unicamente o objecto do utilizador, tais como uid ou vc ou sAMAccountName.
+ hash usado no servidor para armazenas as senhas. É recomendado o SSHA.]]>
+ Use SASL em vez da autenticação simples
diff --git a/plugins/blocks/subscription/locale/pt_PT/locale.xml b/plugins/blocks/subscription/locale/pt_PT/locale.xml
index 6bbe1e9d0f7..a6199c05d85 100644
--- a/plugins/blocks/subscription/locale/pt_PT/locale.xml
+++ b/plugins/blocks/subscription/locale/pt_PT/locale.xml
@@ -18,8 +18,10 @@
Este plugin oferece informações sobre a subscrição nas barras laterais.SubscriçãoExpiração
- Acesso fornecido por:
- IP de proveniência:
+ Acesso fornecido por: {$institutionName}
+ IP de proveniência: {$ip}SubscriçõesAceda ao sistema para verificar a sua subscrição
+ É necessária uma subscrição para aceder a alguns recursos.
+ Saber Mais
diff --git a/plugins/generic/backup/locale/pt_PT/locale.xml b/plugins/generic/backup/locale/pt_PT/locale.xml
new file mode 100644
index 00000000000..27736e6f174
--- /dev/null
+++ b/plugins/generic/backup/locale/pt_PT/locale.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+ Plugin de Cópias de Segurança
+ Este plugin cria uma cópia de segurança da instalação.
+ Download da Cópia de Segurança
+ As ligações seguintes permitem ao Administrador do Sítio descarregar uma cópia de segurança completa dos vários componentes de uma instalação. Uma cópia de segurança completa inclui todos os seguintes componentes. Consulte a documentação técnica para mais informação de como estes componentes se inter-relacionam.]]>
+ Base de Dados
+ Ficheiros
+ Código
+ AVISO: A ferramenta responsável por criar a cópia de segurança da base de dados não foi configurada no ficheiro config.inc.php. A configuração irá depender da configuração do seu servidor e do tipo de base de dados que usa. Deve ser especificado na secção denominada [cli], numa opção de configuração chamada "dump". Para uma base de dados MySQL, use a ferramenta mysqldump:
+
+
+Note que este processo necessita de indicar a senha na linha de comando, o que pode ser um problema de segurança.
]]>
+ AVISO: A ferramenta "tar" não foi configurada no ficheiro de configuração config.inc.php. A configuração irá depender da configuração do seu servidor, pelo que o deverá especificar numa secção denominada [cli], numa opção de configuração chamada "tar", especificando o caminho completo para esta ferramenta:
+
[cli]
+tar = "/bin/tar"
+
]]>
+ AVISO: Deverá ter ocorrido um erro durante o processo de criação da cópia de segurança. A causa mais provável será a inexistência de permissões para armazenar o ficheiro.]]>
+
diff --git a/plugins/generic/browse/locale/pt_PT/locale.xml b/plugins/generic/browse/locale/pt_PT/locale.xml
new file mode 100644
index 00000000000..6711dbb299a
--- /dev/null
+++ b/plugins/generic/browse/locale/pt_PT/locale.xml
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+ Navegar
+ Este plugin permite navegar por secções e/ou os seus tipos de identificação.
+ Secções Excluídas
+ Navegar o Índice de Secções
+ Detalhes do Tipo de Identificação
+ Configurações
+ Por favor configure as seguintes possibilidades de navegação:
+ Configurações de Navegação
+ Navegar
+ Escolha os objetos pelos quais deverá ser possível navegar.
+ Por Secção
+ Por Tipo de Identificação
+ Escolha as secções que não deverão ser consideradas.
+ Tipos de Identificação Excluídos
+ Escolha os tipos de identificação que não devem ser considerados.
+ Por Secções
+ Detalhes de Secção
+ Por Tipos de Identificação
+ Navegar Índice de Tipos de Identificação
+
diff --git a/plugins/generic/lucene/locale/pt_PT/locale.xml b/plugins/generic/lucene/locale/pt_PT/locale.xml
new file mode 100644
index 00000000000..3f63de4caef
--- /dev/null
+++ b/plugins/generic/lucene/locale/pt_PT/locale.xml
@@ -0,0 +1,124 @@
+
+
+
+
+
+
+ Plugin de Pesquisa Lucene
+ refine a sua pesquisa
+ Método/Abordagem
+ Cobertura
+ Revista
+ Autor
+ Data de Publicação
+ Reindexar
+ Iniciar Servidor
+ Parar Servidor
+ Estatísticas de Uso
+ Utilizador
+ Nunca Mostrar
+ Menos Prioridade
+ Prioridade Normal
+ Mais Prioridade
+ Configuração de Funcionalidades de Pesquisa
+ O plugin Lucene permite suporte multi-língua, resultados de pesquisa com maior relevância, indexação mais rápida, mais escalabilidade, entre outras vantagens.
+ Área do Conhecimento
+ Palavra-Chave
+ O núcleo solicitado '{$core}' não foi encontrado no servidor Solr. Está disponível?
+ Ocorreu um erro durante a indexação: processados {$numProcessed} de um conjunto de {$batchCount} ({$numDeleted} documentos apagados neste conjunto).
+ O servidor Solr usa autenticação HTTP BASIC. Introduza o nome do utilizador.
+ Introduza um nome de utilizador válido para autenticar no servidor Solr (o carácter ':' não é permitido).
+ Peso de Ordenação Personalizado
+ Quereria dizer
+ Configurações
+ Ordenação Personalizada (permite indicar pesos diferentes para cada secção da revista)
+ Facetas (apresenta uma caixa de navegação com filtros adicionais para refinar a pesquisa)
+ Reindexar a revista "{$journalName}"
+ Seleção inválida.
+ Senha
+ Introduza a senha do servidor Solr.
+ Configurações do servidor Solr
+ Sugestões Alternativas de Correção Ortográfica (mostra termos de pesquisa alternativos)
+ Índice com {$numDocs} documentos disponíveis.
+ pull indexing) não está ativo, pelo que o deverá ativar nas configurações do plugin.]]>
+ O serviço web do Lucene retornou um erro.
+ Auto-Sugerir (mostra uma caixa dinâmica com sugestões de termos de pesquisa, enquanto se introduz a expressão de pesquisa)
+ Realces (apresenta um pequeno excerto de cada artigo que contenha as palavras pesquisadas)
+ Reindexar todas as revistas
+ Pull indexing, é uma funcionalidade avançada. Leia o README para mais informação)]]>
+ Administração do Servidor Solr
+ Infelizmente o serviço de pesquisa OJS está atualmente incontactável.
+ O técnico desta revista foi informado sobre este problema.
+ Não foi possível apagar a cache. Por favor execute 'rm cache/fc-plugins-lucene-fieldCache.php' manualmente, com as permissões apropriadas.
+ A reindexar os dicionários
+ ID de Instalação Único
+ Plugin Lucene: Configurações
+ {$numMarked} artigos marcados para serem atualizados
+ A atualizar dados estatísticos de uso
+
+
Os termos de pesquisa tanto podem ser escritos em maiúsculas como em minúsculas
+
Palavras demasiado comuns são ignoradas
+
Por omissão, qualquer artigo que inclua qualquer termo da expressão de pesquisa é retornado (ou seja., é implícita o uso de OR (ou))
+
Garanta que a palavra existe no artigo colocando-lhe, como prefixo, o símbolo +; e.g., +revista +acesso escolar academico garantirá que pelo menos revista e acesso existem em todos os documentos retornados
+
Combine múltiplas palavras com AND (e) para encontrar artigos que inclua todos os termos; e.g., educação AND investigação
+
Exclua uma palavra colocando-lhe, como prefixo, o símbolo - ou NOT (não); e.g., online -política ou online NOT política
+
Procure uma expressão específica colocando-a entre aspas; e.g., "publicação de acesso aberto". Dica: colocar palavras Chinesas ou Japonesas entre aspas irá ajudá-lo a encontrar essas palavras exatas, e.g. "中国".
+
Use parêntesis para criar pesquisas mais complexas; e.g., arquivo ((revista AND conferência) NOT tese)
+ ]]>
+ Verificar termos para resultados: Sugerir termos que produzam, realmente, resultados. As sugestões serão validadas e cruzadas sobre a revista atual e os termos introduzidos noutros campos de pesquisa
+ Usar dicionário global: Esta abordagem é mais rápida e consome menos recursos no servidor de pesquisa, pelo que escala melhor, no caso de ter muitas revistas e edições. As sugestões poderão, no entanto, ter termos irrelevantes, e.g., obtidos de outras revistas, ou termos que não produzirão quaisquer resultados.]]>
+ Verificar termos para resultados
+ Usar dicionário global
+ Tenha em atenção o README do plugin (plugins/generic/lucene/README) antes de tentar mudar a configuração pré-definida. Se está a usar uma situação embebida, por trás de uma firewall, como explicado no README, então provavelmente poderá deixar os parâmetros de configuração pré-definidos.]]>
+ Recalcular dicionários
+ Pode escolher uma categoria específica de faceta (os metadados correspondentes devem ser selecionados para indexação, no passo 3.4 da configuração da revista).
+ O plugin Lucene permite várias funcionalidades opcionais de pesquisa. A maior parte destas funcionalidades vêm pré-ativadas, mas podem ser desativadas ou reconfiguradas.
+ Administração de Índices
+ Recalcular o índice e/ou os dicionários podem demorar bastante tempo. Deseja continuar o processo?
+ Se o índice do Lucene se tornar desatualizado ou corrompido, poderá reindexar os seus dados, por revista, ou para todas as revistas desta instalação. Os dicionários devem ser recalculados após grandes indexações quando usa as funcionalidades de auto-sugestões ou sugestões ortográficas. (Veja plugins/generic/lucene/README para detalhes e formas de automatizar estes processos.)
+ Resultado da última reindexação:
+ Pesquisa instantânea (retorna resultados de pesquisa instantâneos enquanto o utilizador digita a expressão de pesquisa - nota: usa recursos consideráveis do servidor)
+ Introduza um ID que identifique unicamente esta instalação OJS no servidor de pesquisa Solr.
+ Se usar um servidor de pesquisa central, então terá de providenciar um ID único de instalação para cada instalação de OJS que use o mesmo serviço de pesquisa. Este identificador pode ser texto arbitrário, mas deverá ser diferente para cada servidor OJS (e.g., o endereço IP estático, se tiver uma instalação OJS em cada servidor).
+ Introduza uma senha válida para autenticar no servidor de pesquisa Solr.
+ Ordenação por Estatística de Uso (Os seus dados estatísticos '{$metricName}' serão usados para influenciar a ordenação de resultados).
+ Ordenação por Estatísticas de Uso (ative pelo menos um plugin de estatística/relatórios e selecione uma "métrica principal" nas configurações do website, para tivar esta opção)
+ URL de Pesquisa (endpoint)
+ endpoint consiste no URL do servidor e de um manipulador de pesquisas. Veja o exemplo pré-definido. Só precisa de o alterar se estiver a usar um servidor centralizado de pesquisa.]]>
+ endpoint de pesquisa (servidor de pesquisa Solr e manipulador de pesquisa) ao qual se pretende ligar.]]>
+
+
+ Possíveis razões são:
+
+
Pode não ter um servidor embebido instalado nesta instância de OJS (veja 'plugins/generic/lucene/README' para detalhes).
+
A instalação do seu servidor embebido pode estar incompleta. Verifique que as pastas 'plugins/generic/lucene/lib/solr' e 'plugins/generic/lucene/lib/jetty' realmente contêm (ou apontam para) os ficheiros de instalação solr/jetty.
+
Os ficheiros de administração do servidor 'start.sh', 'stop.sh' e 'check.sh' na pasta 'plugins/generic/lucene/embedded/bin' podem não ser executáveis. Valide as permissões destes ficheiros.
+
Os ficheiros em 'files/lucene/' não têm permissões de escrita pelo utilizador do seu servidor web. Valide as permissões destes ficheiros.
+
Um processo embebido Solr pode já estar a ser executado com um utilizador diferente, o que quererá dizer que não poderá manipular o processo a partir do PHP.
+
A sua configuração de PHP pode não permitir a execução de programas. Verifique as opções 'safe_mode' e 'disabled_function' no seu php.ini. Se não tiver acesso ao seu php.ini, então terá de executar manualmente estes programas para iniciar ou parar o servidor.
+
]]>
+ Mais-Como-Este (apresenta uma ligação de "documentos similares" para cada resultado de pesquisa)
+ Ordenação por Estatística de Uso (Os seus dados estatísticos '{$metricName}' serão usados para ordenar por popularidade)
+ Ordenação por Estatística de Uso (ative pelo menos um plugin de estatística ou de relatório e selecione uma "métrica principal" nas configurações do website para ativar esta opção)
+ Atualizar Dados de Ordenação
+ As estatísticas de uso devem ser copiadas, regularmente, para o servidor Solr (diariamente ou mensalmente, de acordo com quão frequentemente atualiza as suas estatísticas). Para isso, use o botão em cima. Também poderá automatizar esta tarefa (veja 'plugins/generic/lucene/README' para mais informação);
+
+
+ Possíveis razões são:
+
+
Se estiver a usar pull indexing, o processo agendado via cron no servidor remoto ("pull.sh") irá atualizar automaticamente as estatísticas sempre que for executado (veja 'plugins/generic/lucene/README' para mais informação).
+
O seu servidor web pode não ter permissões de escrita na pasta 'files/lucene/data'. Garanta que ambos, o servidor web e o servidor solr, têm acesso a esta pasta, e recarregue esta página.
+
]]>
+ Configurações de proxy
+ Use configurações de proxy do ficheiro config.inc.php para os pedidos ao serviço web Solr.
+ O plugin Lucene/Solr permite-lhe ajustar o peso relativo dos artigos na lista de resultados para uma pesquisa específica. Aumentar ou diminuir o peso não coloca diretamente um artigo mais acima (ou abaixo) de todos os restantes artigos. No entanto, irá ordená-los melhor (ou pior) do que o que o faria sem estas configurações. Colocar esta opção em "nunca mostrar" irá completamente excluir os artigos desta secção nos resultados de pesquisa.
+ Selecione um peso personalizado válido.
+
diff --git a/plugins/generic/recommendBySimilarity/locale/pt_PT/locale.xml b/plugins/generic/recommendBySimilarity/locale/pt_PT/locale.xml
new file mode 100644
index 00000000000..eeec89f4f90
--- /dev/null
+++ b/plugins/generic/recommendBySimilarity/locale/pt_PT/locale.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+ Recomenda Artigos Similares
+ Este plugin adicionar uma lista de artigos similares à página de resumo de cada artigo.
+ Artigos Similares
+ Também poderá usar {$advancedSearchLink} para este artigo.
+ iniciar uma pesquisa avançada de similaridade
+
diff --git a/plugins/generic/usageStats/locale/pt_PT/locale.xml b/plugins/generic/usageStats/locale/pt_PT/locale.xml
index 639c8567ffd..d25d970e0c9 100644
--- a/plugins/generic/usageStats/locale/pt_PT/locale.xml
+++ b/plugins/generic/usageStats/locale/pt_PT/locale.xml
@@ -12,18 +12,18 @@
-->
- Opções de registos de acesso
- Gerar ficheiros de registos
- A activação desta opção fará com que o plugin crie ficheiros de registo de acesso dentro da pastas de ficheiros. Estes ficheiros devem ser usados para extrair os dados de estatísticas de uso. Se não quiser criar mais ficheiros de registo de acesso, pode deixar esta opção desactivada e usar os seus próprios ficheiros de registo do acesso do servidor.
- Parse log files regex
- O regex padrão usado pode analisar ficheiros de registo de acesso apache em formato combinado e também os ficheiros de registo do plugin. Se os seus ficheiros de registo de acesso estiverem num formato diferente, terá que inserir um regex capaz de analisá-los e devolver os valores esperados. Consulte UsageStatsLoader :: _ getDataFromLogEntry () para obter mais informações.
- Guardadas as configurações de plugins de estatísticas de uso.
- O ficheiro {$file} não pôde ser aberto e foi recusado.
- O número da linha {$lineNumber} do ficheiro {$file} não é uma entrada de registo válida e o ficheiro foi recusado.
- Estatísticas Uso
- Estatísticas de uso de publicações actuais. Pode usar ficheiros de registo de acesso ao servidor para extrair estatísticas.
- Relatório de estatísticas de uso OJS
- Relatório de estatísticas de uso padrão OJS (COUNTER ready)
- OJS/COUNTER
- Estatísticas Open Journal Systems (COUNTER ready)
+ Cada revista pode configurar este plugin a partir da página de plugins da revista.
+ Informação Geral de Privacidade
+
De modo a ser possível analisar o uso e o impacto da nossa revista e dos seus artigos publicados, colecionamos e registamos os acessos às páginas da revista, aos vários números, artigos e ficheiros suplementares. Neste processo os dados são anonimizados. Nenhuma informação pessoal é guardada. Os endereços IP são anonimizados usando um algoritmo de hash (SHA 256) em combinação com um valor de aleatoriedade (salt) de 64 carateres que é gerado automaticamente todos os dias. Assim, os IP não podes ser recalculados.
+
Juntamente com esse IP anonimizado, são colecionados:
+
+
Tipo de acesso (i.e. administrativo)
+
Data e hora do pedido
+
URL
+
Resultado HTTP
+
Navegador
+
+
Esta informação é usada apenas para fins de avaliação. Nenhum IP é mapeado ao utilizador. É tecnicamente impossível associar um conjunto de dados a um endereço IP específico.
]]>
diff --git a/plugins/importexport/native/locale/pt_PT/locale.xml b/plugins/importexport/native/locale/pt_PT/locale.xml
index 23d6eb495c0..98032e494c9 100644
--- a/plugins/importexport/native/locale/pt_PT/locale.xml
+++ b/plugins/importexport/native/locale/pt_PT/locale.xml
@@ -51,4 +51,7 @@ The following formats are accepted:
A abreviatura da secção "{$sectionAbbrev}" no número "{$issueTitle}" corresponde a uma secção existente da revista, mas uma outra abreviatura desta secção não corresponde a outra abreviatura da secção existente da revista.Nenhum ou mais do que um número corresponde à identificação do problema identificado"{$issueIdentification}".O elemento de identificação do número está em falta para o artigo "{$articleTitle}".
+ Selecione artigos a exportar
+ O número existem com id {$issueId} corresponde à identificação de revista indicada "{$issueIdentification}". Este número não será modificado, mas os artigos serão adicionados.
+ O artigo "{$articleTitle}" faz parte de um número, mas não tem data de publicação.
diff --git a/plugins/paymethod/paypal/locale/pt_PT/locale.xml b/plugins/paymethod/paypal/locale/pt_PT/locale.xml
index d535870afe9..1446456dcef 100644
--- a/plugins/paymethod/paypal/locale/pt_PT/locale.xml
+++ b/plugins/paymethod/paypal/locale/pt_PT/locale.xml
@@ -17,4 +17,10 @@
Configurações do PayPalPagamento via PayPal
+ Pagamentos processados através do serviço PayPal.
+ Modo de Teste
+ Nome da Conta
+ ID do Cliente
+ Senha
+ Ocorreu um erro de transação. Contacte o gestor da revista para detalhes.
diff --git a/plugins/pubIds/doi/locale/pt_PT/locale.xml b/plugins/pubIds/doi/locale/pt_PT/locale.xml
index dd42417491e..8bfa1052986 100644
--- a/plugins/pubIds/doi/locale/pt_PT/locale.xml
+++ b/plugins/pubIds/doi/locale/pt_PT/locale.xml
@@ -20,7 +20,6 @@
Conteúdo da RevistaEscolha a que publicações os DOI devem ser associados.Escolha as publicações que terão DOI's associados:
- NOTA: Se utilizar o DOI através da CrossRef, escolha artigos. O Artigo é visto como um trabalho (work), ou seja, uma entidade com conteúdo intelectual e/ou artístico. O artigo é o objeto usado no DOI da CrossRef para exportação e registo.]]>NúmerosArtigosComposições
@@ -48,22 +47,14 @@
DOI
- Objetos DOI da Ediçãoedição/númeroartigo
- número completoO sufixo DOI fornecido já está a ser utilizado por outra publicação. Insira um sufixo DOI único para cada publicação.
- Excluir este tipo {$pubObjectType} da atribuição do DOI.
- Reatribuir DOIs
- Selecione esta caixa para limpar os DOIs atribuídos a {$pubObjectType}.
- Excluir Objetos da Edição
- Use este botão para excluir objetos (artigos e números completos) atualmente agendados para que lhes seja atribuído um DOI. Os objetos que estão agendados posteriormetne não serão afetados. Poderá ainda usar a possibilidade de excluir individualmente os objectos da atribuição do DOI.Limpar DOI da EdiçãoUse este botão para remover todos os DOIs associados a todas as publicações (artigos, números completos, e ficheiros suplementares) actualmetne agendados para esta edição/número.Este plugin permite a atribuição do DOI a números, artigos e composições no OJS.DOIInsira um sufixo DOI individual para cada publicação. Encontrará um campo de entrada DOI adicional na página de metadados de cada publicação.
- Foi atribuído o DOI {$pubId}.Se alterar a configuração DOI, os DOIs atribuídos não serão afectados. Uma vez guardada a configuração do DOI, use este botão para limpar todos os DOI existentes para que as novas configurações tenham efeito com as publicações existentes.composiçãoO DOI não pode ser atribuído porque o sufixo personalizado está em falta.
@@ -76,4 +67,8 @@
Atribuir DOI {$pubId} a esta {$pubObjectType}O DOI não pode ser atribuído porque o sufixo personalizado está em falta.O DOI {$pubId} não pode ser atribuído porque contém um padrão em conflito.
+ Atribuir DOI
+ Atribuir DOI a todas as revistas publicadas aos quais ainda não tenham sido atribuídos DOI. Esta ação não pode ser usada com a configuração individual de sufixos. Se mudou a configuração de DOI acima, por favor guarde as suas alterações antes de iniciar esta ação. A atribuição de DOI pode demorar bastante tempo, dependendo do número de objetos publicados neste jornal.
+ Tem a certeza que quer atribuir DOI a todos os objetos publicados e aos quais não tenham sido atribuídos DOI?
+ O DOI {$pubId} foi atribuído.
diff --git a/plugins/reports/subscriptions/locale/pt_PT/locale.xml b/plugins/reports/subscriptions/locale/pt_PT/locale.xml
new file mode 100644
index 00000000000..b2e66198df5
--- /dev/null
+++ b/plugins/reports/subscriptions/locale/pt_PT/locale.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+ Relatório de Subscrições
+ Este plugin implementa a exportação de relatórios CSV com a lista de subscrições e a sua informação.
+ Endereço de Correio Institucional
+ Intervalo de IP
+
From be286faff5508ecc15a257ae168bf179ad11fc57 Mon Sep 17 00:00:00 2001
From: Alberto Simoes
Date: Fri, 13 Apr 2018 18:41:29 +0100
Subject: [PATCH 081/100] Fixed DTD paths
---
locale/pt_PT/api.xml | 2 +-
plugins/generic/browse/locale/pt_PT/locale.xml | 2 +-
plugins/generic/lucene/locale/pt_PT/locale.xml | 2 +-
plugins/generic/recommendBySimilarity/locale/pt_PT/locale.xml | 2 +-
plugins/reports/subscriptions/locale/pt_PT/locale.xml | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/locale/pt_PT/api.xml b/locale/pt_PT/api.xml
index 2e2cf37bb27..a1088a0fb78 100644
--- a/locale/pt_PT/api.xml
+++ b/locale/pt_PT/api.xml
@@ -1,5 +1,5 @@
-
+
+
+
+ Erro de Indexação de Artigo
+
+
+A mensagem de erro (se) gerada pelo serviço web: "{$error}"
+
+Este e-mail foi gerado automaticamente pelo plugin de pesquisa Lucene do Open Journal Systems.]]>
+ Este e-mail é usado para notificar o contacto técnico de uma revista de que ocorreu um erro ao indexar um artigo.
+
+
+ Erro de Indexação de Revista
+
+
+A mensagem de erro (se) gerada pelo serviço web: "{$error}"
+
+Este e-mail foi gerado automaticamente pelo plugin de pesquisa Lucene do Open Journal Systems.]]>
+ Este e-mail é enviado para notificar o contacto técnico de uma revista de que ocorreu um erro ao inedexar uma revista.
+
+
+ Erro no Serviço de Pesquisa de Revista
+
+
+A mensagem de erro (se) gerada pelo servidor web: "{$error}"
+
+Este e-mail foi gerado pelo plugin de pesquisa Lucene do Open Journal Systems.]]>
+ Este e-mail é usado para notificar o contacto técnico de uma revista de que ocorreu um erro ao tentar aceder ao serviço de pesquisa Solr.
+
+
From 85d935c9a2eedb5a64bf45bf074926dee32a43d4 Mon Sep 17 00:00:00 2001
From: Alberto Simoes
Date: Sun, 15 Apr 2018 14:22:36 +0100
Subject: [PATCH 086/100] Fix typo/translation
---
locale/pt_PT/emailTemplates.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale/pt_PT/emailTemplates.xml b/locale/pt_PT/emailTemplates.xml
index a6f6f6b1546..6adc6875e5c 100644
--- a/locale/pt_PT/emailTemplates.xml
+++ b/locale/pt_PT/emailTemplates.xml
@@ -1175,7 +1175,7 @@ Se tiver questões, por favor contacte-me. Obrigado por considerar esta revisão
Em relação à sua submissão à revista {$contextName}, "{$submissionTitle}" foi tomada uma decisão.
-A nossa decisão é:: Rejeitar a Submissão
+A decisão é: Rejeitar a Submissão