Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkp/pkp-lib#7885 Add missing lockss state #17

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PLNGatewayPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file PLNGatewayPlugin.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class PLNGatewayPlugin
Expand Down
4 changes: 2 additions & 2 deletions PLNPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file PLNPlugin.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class PLNPlugin
Expand Down
4 changes: 2 additions & 2 deletions PLNPluginSchemaMigration.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/migration/PLNPluginSchemaMigration.inc.php
*
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2000-2020 John Willinsky
* Copyright (c) 2014-2022 Simon Fraser University
* Copyright (c) 2000-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
*
* @class PLNPluginSchemaMigration
Expand Down
4 changes: 2 additions & 2 deletions classes/Deposit.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/Deposit.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class Deposit
Expand Down
4 changes: 2 additions & 2 deletions classes/DepositDAO.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/DepositDAO.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class DepositDAO
Expand Down
4 changes: 2 additions & 2 deletions classes/DepositObject.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/DepositObject.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class DepositObject
Expand Down
4 changes: 2 additions & 2 deletions classes/DepositObjectDAO.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/DepositObjectDAO.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class DepositObjectDAO
Expand Down
7 changes: 5 additions & 2 deletions classes/DepositPackage.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/DepositPackage.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class DepositPackage
Expand Down Expand Up @@ -640,10 +640,13 @@ public function updateDepositStatus() {
case '':
// do nothing.
break;
// WARNING: The usage of 'received' is unknown and it may be removed in the future
case 'received':
$this->_deposit->setLockssReceivedStatus();
break;
// WARNING: The usage of 'syncing' is unknown and it may be removed in the future
case 'syncing':
case 'inProgress':
$this->_deposit->setLockssSyncingStatus();
break;
case 'agreement':
Expand Down
4 changes: 2 additions & 2 deletions classes/form/PLNSettingsForm.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/form/PLNSettingsForm.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class PLNSettingsForm
Expand Down
4 changes: 2 additions & 2 deletions classes/form/PLNStatusForm.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/form/PLNStatusForm.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class PLNStatusForm
Expand Down
4 changes: 2 additions & 2 deletions classes/tasks/Depositor.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file classes/tasks/Depositor.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class PLNPluginDepositor
Expand Down
4 changes: 2 additions & 2 deletions controllers/grid/PLNStatusGridCellProvider.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file controllers/grid/PLNStatusGridCellProvider.inc.php
*
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2000-2020 John Willinsky
* Copyright (c) 2014-2022 Simon Fraser University
* Copyright (c) 2000-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class PLNStatusGridCellProvider
Expand Down
4 changes: 2 additions & 2 deletions controllers/grid/PLNStatusGridHandler.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file controllers/grid/PLNStatusGridHandler.inc.php
*
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2014-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class PLNStatusGridHandler
Expand Down
4 changes: 2 additions & 2 deletions controllers/grid/PLNStatusGridRow.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file controllers/grid/PLNStatusGridRow.inc.php
*
* Copyright (c) 2014-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2014-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class PLNStatusGridRow
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file index.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @brief Wrapper for PLN plugin.
Expand Down
4 changes: 2 additions & 2 deletions pages/PLNHandler.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
/**
* @file pages/PLNHandler.inc.php
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* @class PLNHandler
Expand Down
4 changes: 2 additions & 2 deletions ping.dtd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!--
* ping.dtd
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* DTD for plugin pings
Expand Down
4 changes: 2 additions & 2 deletions templates/ping.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{**
* templates/ping.tpl
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* PLN plugin settings
Expand Down
4 changes: 2 additions & 2 deletions templates/settings.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{**
* templates/settingsForm.tpl
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* PLN plugin settings
Expand Down
4 changes: 2 additions & 2 deletions templates/status.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{**
* templates/status.tpl
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* PLN plugin settings
Expand Down
8 changes: 4 additions & 4 deletions version.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
<!--
* version.xml
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* Plugin version information.
-->
<version>
<application>pln</application>
<type>plugins.generic</type>
<release>2.0.4.2</release><!-- 2.0.4.x is for ojs v.3.3 -->
<date>2020-07-21</date>
<release>2.0.4.3</release><!-- 2.0.4.x is for OJS v.3.3 -->
<date>2022-05-10</date>
<lazy-load>1</lazy-load>
<sitewide>0</sitewide>
<class>PLNPlugin</class>
Expand Down
4 changes: 2 additions & 2 deletions xml/scheduledTasks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<!--
* xml/scheduledTasks.xml
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* Usage statistics plugin scheduled tasks registry file.
Expand Down
4 changes: 2 additions & 2 deletions xml/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<!--
* xml/settings.xml
*
* Copyright (c) 2013-2020 Simon Fraser University
* Copyright (c) 2003-2020 John Willinsky
* Copyright (c) 2013-2022 Simon Fraser University
* Copyright (c) 2003-2022 John Willinsky
* Distributed under the GNU GPL v3. For full terms see the file LICENSE.
*
* Default plugin settings.
Expand Down