Skip to content

Commit

Permalink
Released version 3.4.47.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Berthereau authored and Daniel Berthereau committed Jul 31, 2023
1 parent f547b46 commit 5ae265b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/module.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ author_link = "https://gitlab.com/Daniel-KM"
module_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-BulkImport"
support_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-BulkImport/-/issues"
configurable = true
version = "3.4.46"
version = "3.4.47"
omeka_version_constraint = "^3.1.0 || ^4.0.0"
dependencies = "Log"
22 changes: 21 additions & 1 deletion data/scripts/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@
$sql = <<<SQL
UPDATE `vocabulary`
SET
`comment` = 'Curation of resources for Omeka.'
`comment` = 'Generic and common properties that are useful in Omeka for the curation of resources. The use of more common or more precise ontologies is recommended when it is possible.'
WHERE `prefix` = 'curation'
;
UPDATE `property`
Expand All @@ -760,3 +760,23 @@
SQL;
$connection->executeStatement($sql);
}

if (version_compare($oldVersion, '3.4.47', '<')) {
// Update vocabulary via sql.
$sql = <<<SQL
UPDATE `vocabulary`
SET
`comment` = 'Generic and common properties that are useful in Omeka for the curation of resources. The use of more common or more precise ontologies is recommended when it is possible.'
WHERE `prefix` = 'curation'
;
SQL;
$connection->executeStatement($sql);

$basePath = $services->get('ViewHelperManager')->get('BasePath');
$message = new Message(
'It is now possible %1$sto bulk upload files%2$s in a directory of the server for future bulk uploads.', // @translate
'<a href="' . rtrim($basePath(), '/') . '/admin/bulk/upload/files">', '</a>'
);
$message->setEscapeHtml(false);
$messenger->addSuccess($message);
}
2 changes: 1 addition & 1 deletion data/vocabularies/curation.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"o:namespace_uri": "https://omeka.org/s/vocabs/curation/",
"o:prefix": "curation",
"o:label": "Curation",
"o:comment": "Curation of resources for Omeka."
"o:comment": "Generic and common properties that are useful in Omeka for the curation of resources. The use of more common or more precise ontologies is recommended when it is possible."
},
"strategy": "file",
"options": {
Expand Down

0 comments on commit 5ae265b

Please sign in to comment.