Skip to content

Commit

Permalink
Released version 3.4.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Jul 24, 2023
1 parent a58d17c commit 951a7b8
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ See commits for full list of contributors.
* Copyright Yu-Hsun Lin, 2009
* Copyright John Flatness, 2009-2016
* Copyright Julian Maurice for BibLibre, 2016-2017
* Copyright Daniel Berthereau, 2014-2022 (see [Daniel-KM])
* Copyright Daniel Berthereau, 2014-2023 (see [Daniel-KM])

This [Omeka S] module is based on the rewrite of the [OAI-PMH Repository plugin]
for [Omeka] by [BibLibre] and provide the same features as the original plugin
Expand Down
2 changes: 1 addition & 1 deletion config/module.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ author_link = "https://gitlab.com/Daniel-KM"
module_link = "https://gitlab.com/Daniel-KM/omeka-s-module-OaiPmhRepository"
support_link = "https://gitlab.com/Daniel-KM/omeka-s-module-OaiPmhRepository/-/issues"
configurable = true
version = "3.4.6"
version = "3.4.7"
omeka_version_constraint = "^3.0.0 || ^4.0.0"
16 changes: 16 additions & 0 deletions data/scripts/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,19 @@
$message->setEscapeHtml(false);
$messenger->addSuccess($message);
}

if (version_compare($oldVersion, '3.4.7', '<')) {
$sql = <<<'SQL'
ALTER TABLE `oai_pmh_repository_token`
DROP INDEX IDX_E9AC4F9524CD504D,
ADD INDEX IDX_F99CFEE424CD504D (`expiration`),
CHANGE `verb` `verb` varchar(15) NOT NULL AFTER `id`,
RENAME TO `oaipmhrepository_token`;
SQL;
$connection->executeStatement($sql);

$message = new Message(
'Some new options were added for compliance with non-standard requirements of BnF (Bibliothèque nationale de France): thumbnail, uri without attribute, class as main type.' // @translate
);
$messenger->addSuccess($message);
}
1 change: 0 additions & 1 deletion src/Api/Adapter/OaiPmhRepositoryTokenAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/**
* @author Julian Maurice <[email protected]>
* @copyright BibLibre, 2016
* @author Daniel Berthereau <[email protected]>
* @copyright Daniel Berthereau, 2014-2023
* @license http://www.gnu.org/licenses/gpl-3.0.txt
*/
Expand Down
1 change: 0 additions & 1 deletion src/Entity/OaiPmhRepositoryToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/**
* @author Julian Maurice <[email protected]>
* @copyright BibLibre, 2016
* @author Daniel Berthereau <[email protected]>
* @copyright Daniel Berthereau, 2017-2023
* @license http://www.gnu.org/licenses/gpl-3.0.txt
*/
Expand Down

0 comments on commit 951a7b8

Please sign in to comment.