Releases: Islandora-Devops/islandora-starter-site
1.9.0 Better admin toolbars, no matomo
What's Changed
- change so only admin can create accounts by @joshdentremont in #149
- To replicate, go to Configuration > People > Account Settings. On that page, scroll down to "Who can register accounts?". Select "Administrators only."
- Remove matomo by @joecorall in #153
- If you no longer want to use Matomo, uninstall the Matomo extension (and then you can remove it from Composer, and you can shut down your Matomo container/service.)
- Add Admin Toolbar Extras. by @rosiel in #154
- To replicate, go to Extend and enable the additional "Admin toolbar" modules. It's "Admin Toolbar Extra Tools" that provides the deeper drill-downs in the admin menus, and the other ones might be helpful to you too.
- Update composer.json to use drupal instead of islandora namespace by @joshdentremont in #156
New Contributors
- @joshdentremont made their first contribution in #149
Full Changelog: 1.8.0...1.8.1
1.8.0 Pathauto; and Mirador for single-paged items
Changes
- There's a bug in a flysystem dependency
twistor/flysystem-stream-wrapper
that results in the logs getting spammed with errors in PHP 8.2. You can add this patch to your own composer.json as done in pull/146. - Pathauto is included! Now your drupal nodes will get paths per the pattern
/islandora/[node:title]
. To set this up,composer require drupal/pathauto
anddrush en pathauto
, then configure the pathauto patterns to your liking at Configuration > Search & Metadata > URL aliases > Patterns. - Mirador is set up as a single-page viewer, the way OpenSeadragon is. To replicate:
- Ensure you have the Mirador taxonomy term in Islandora Display. If not, either create it manually (with external URI
https://projectmirador.org
) or by running the migration i.e.drush mim --user=1 islandora_mirador_tags
. - Ensure you have a IIIF VIew set up that does the manifest for a single node. In the starter site, it's path is
node/%node/manifest
. - Create a new Context at Structure > Contexts. Label it "Mirador - Single page" (or whatever you like) and for Group, select "Display". (this groups it with the other display contexts for convenience, it doesn't affect functionality). Under "Conditions", "Add Condition" and choose "Node has term with URI". Select the term "Mirador" from the autocomplete. Under Reactions, click "Add reaction" and select "Blocks". Ensure that "Include blocks from Block Layout" is selected. On the section where you want your Mirador image to appear (we have it at "Content Above"), click "Place block" and find the Mirador block. When configuring the block, under "IIIF Manifest URL" enter the path of the IIIF Manifest (above), replacing
%node
with[node:nid]
. For example,/node/[node:nid]/manifest
. - Edit the "Default Media Display" context so that it excludes nodes with term Mirador.
- Create content that has a file or image that can be displayed in Mirador, and select "Viewer Override": "Mirador". Then you should see your mirador viewer.
- Ensure you have the Mirador taxonomy term in Islandora Display. If not, either create it manually (with external URI
- Thumbnail overrides with Representative Image - provides for additional functionality with the DGI Discovered Image module. This field lets you upload/select a Media that will be used as the node's thumbnail, and will override the islandora thumbnail (or, if it doesn't exist, the first child's islandora thumbnail). To replicate, make a new field on your content type called "Representative Image" (its machine name must be exactly
field_representative_image
. It must be a Media field. In the field type chooser interface, you may see "cards" for other fields that all say "Media". Be sure to choose the right one - as of now, it's the only one that has an actual icon.
What's Changed
- flysytem patch added by @ajstanley in #146
- Enable Pathauto and configure a title-based alias. by @rosiel in #148
- Add "Single Page Mirador Viewer" functionality, on par with OpenSeadragon. by @rosiel in #147
- Add Representative Image field and Media library. by @rosiel in #145
Full Changelog: 1.7.1...1.7.2
1.7.1
1.7.0 Useful vocabularies populated
This edition of the starter site comes loaded with values in:
- Languages (from ISO 639-2)
- Countries (from MARC Country
- Frequencies (LC Frequencies)
- Issuance (LC Modes of Issuance)
- DCMI Types (DCMI Types) (bringing it back in a new taxonomy vocabulary that you can use in case of compliance needs).
To add these terms in the starter site, look at the values in assets/migrate/tags.csv
and either put them as values in your own Drupal Migration, or convert them to Workbench and load the terms that way.
It also fixes some bugs in the Data Exports of the Missing Media views. To replicate, unless you've changed the views, you can copy the view configuration. Otherwise compare against the sandbox (once this tag is being used) to set your views.
What's Changed
- Improve "Missing Media" views (Open Meeting Mar 2024) by @rosiel in #139
- Import some useful vocabularies in the starter site by @rosiel in #142
Full Changelog: 1.6.2...1.7.0
Update IIIF configs and added Solr caching
The mirador display will now pull service files instead of TIFFs, speeding up display significantly.
Solr now has meanngful caches.
1.6.1 Citation Select module no longer requires Bibcite.
Release Notes
📚📖 Citation Select no longer requires Bibcite.
If you are running an existing site, there are a number of things to mind when updating Citation Select to 2.x@beta.
- Export your CSL stylesheets especially if you've customized them! (note: you can download CSL Styles from Github).
- Edit
composer.json
to require citation select at^2.0@beta
, then runcomposer update
. - Run
drush pm-uninstall bibcite
- Run
composer remove drupal/bibcite
(and rejoice as the deprecation warnings go away) - Re-import your stylesheets from step 1.
i. if you exported Configuration in step 1, re-import it
ii. if instead you have "raw" CSL XML stylesheets you want to add, go to Configuration > Citation Select Settings > CSL Styles > Add Style and add it there. - Under Configuration > Citation Select Settings > Config, select your default style
- Your field mappings were saved, no worries there!
What's Changed
- update citation select to 2.x to remove bibcite dependency by @Natkeeran in #140
- Update drupal. by @rosiel in #136
Full Changelog: 1.6.0...1.6.1
Composer lock diff
Production Changes | From | To | Compare |
---|---|---|---|
academicpuma/citeproc-php | 1.0.0 | REMOVED | |
academicpuma/locales | a741caa | REMOVED | |
academicpuma/styles | 1.0.0 | REMOVED | |
audiolabs/bibtexparser | 1.0.0 | REMOVED | |
caseyamcl/php-marc21 | v1.1 | REMOVED | |
chi-teck/drupal-code-generator | 3.3.0 | 3.4.0 | ... |
discoverygarden/dgi_image_discovery | v1.1.0 | v1.2.0 | ... |
drupal/bibcite | 3.0.0-beta3 | REMOVED | |
drupal/citation_select | 1.0.0-beta5 | 2.0.0-beta1 | ... |
drupal/controlled_access_terms | 2.2.1 | 2.4.0 | ... |
drupal/core | 10.2.3 | 10.2.4 | ... |
drupal/core-composer-scaffold | 10.2.3 | 10.2.4 | ... |
drupal/core-recommended | 10.2.3 | 10.2.4 | ... |
drupal/entity | 1.4.0 | REMOVED | |
drupal/facets | 2.0.6 | 2.0.7 | ... |
drupal/flysystem | 2.2.0-alpha1 | 2.2.0-alpha3 | ... |
drupal/jwt | 2.0.1 | 2.1.0 | ... |
drupal/term_merge | 2.0.0-beta5 | 2.0.0-beta6 | ... |
drush/drush | 12.4.3 | 12.5.1 | ... |
islandora/islandora_mirador | 2.3.6 | 2.3.7 | ... |
league/container | 4.2.0 | 4.2.2 | ... |
nikic/php-parser | v5.0.1 | v5.0.2 | ... |
pear/pear-core-minimal | v1.10.14 | v1.10.15 | ... |
psy/psysh | v0.12.0 | v0.12.2 | ... |
sebastian/diff | 4.0.5 | 4.0.6 | ... |
symfony/http-kernel | v6.4.4 | v6.4.5 | ... |
symfony/routing | v6.4.3 | v6.4.5 | ... |
technosophos/libris | 2.0.2 | REMOVED | |
citation-style-language/locales | NEW | v0.0.18 | |
citation-style-language/styles | NEW | v0.0.404 | |
myclabs/php-enum | NEW | 1.8.4 | |
seboettg/citeproc-php | NEW | v2.6.2 | |
seboettg/collection | NEW | v3.1.0 |
Dev Changes | From | To | Compare |
---|---|---|---|
doctrine/persistence | 3.3.0 | 3.3.2 | ... |
drupal/devel | 5.1.2 | 5.2.1 | ... |
1.6.0 Publisher has its own field.
Release Notes
This pull request proposes a change to how data is stored. Instead of publishers being stored as taxonomy terms and represented in the Contributor field, they are now plain text entries in their own Publisher field. If you are implementing this in an existing site, there are configuration changes and data changes to make:
Configuration changes for the new publisher field (the long list)
- Create a plain text field for Publisher on the Repository item content type. Here we set to 500 characters max in case we have longish publisher names.
- Edit the description of the Contributors field, if needed, and remove relators:pbl from the list of options, if desired (note: maybe do this after making data changes)
- Edit the node form to show the Publisher field where you want (in our collapsible sectioned form, it fits well in Publication Details and Dates)
- Edit the node display to show the publisher where you want, in all the relevant view modes.
- Index the field in solr, as fulltext (if you want a fielded search) and as a string (if you want a facet).
- Create a facet, if you want it, and a fielded search in the Advanced Search Block, if you want it.
- Add the publisher field (indexed field, if you have it) to the solr results display (i.e. the Solr Search Content view) and make sure it shows up in all the view displays you want it in. Note that other fields add some sneaky css classes in order for the label ("Publisher") to show up in bold. See whats under "Style settings" for the other fields and copy that.
- Edit your RDF mapping for
rdf.mapping.node.islandora_object
(e.g. using Devel's Config Editor or Configuration Synchronization) to have a mapping for publisher, e.g. to dc11:publisher. This will cause the OAI DC to have the publisher mapping. - Add a field to the OAI PMH Item Data view, and give it label 'publisher'. This will make publisher appear in the OAI MODS.
- Go to Citation Select CSL mapping and change Publisher from using the Linked Agent field to use the Publisher field. This should cause generated citations to show the new publisher.
Data changes for the new publisher field
- If you don't have access to custom modules, here is a tutorial video on using Workbench and Python to export, transform, and re-load your contributors/publisher data. This accompanying gist includes sample configuration and code.
- If you can make custom modules, @joecorall wrote an update script to move your publishers to
field_publisher
. Thanks!
What's Changed
Full Changelog: 1.5.0...1.6.0
1.5.0 DGI Image Discovery thumbnails and collapsible node form.
New Features! 🦞🦞🦞
- 🪗 Improved node form for Repository Item - now with collapsible sections!
- To replicate: go to Structure > Content Types > Repository Item > Manage Form Display. Add "Field Groups" (type: "details") and drag your fields into them!
- This form has gone through testing and vetting by the Metadata Interest Group - thank you for your contributions! If your interest group wants to propose a change to the starter site, please feel welcome to do so.
- 💅 Improved thumbnails - now uses dgi Image Discovery module!
- To replicate: Install the module. Find your views that use thumbnails, and switch out the thumbnails (currently we use a View embedded in the view, which shows up under "Fields" as "Global: View") for the new field, "DGI Image Discovery Discovered Image".
- Here's some missing documentation: First the module looks for a Media that's in field_representative_image (we don't have this field in the starter site yet). Then it looks for the object's own thumbnail, i.e. a media that is "media of" the node and has Media Use "Thumbnail Image". Then it looks for thumbnails of its children (i.e. for collections). Once it finds (or doesn't find) an image, it caches the result, so clear your cache if you don't see a thumbnail that should be there.
Other Stuff (bug fixes)
- 👤 The linked agent field's description in the node form now includes the updated default relator term (
att
notasn
) - 🏝️ Subject (Topical) field now allows you to add new terms on the fly, bringing it in line with the other subject fields
- 💧 Updates to Drupal and modules. Includes Mirador, which now makes the mirador viewer 1200px high by default (instead of the tiny 500).
What's Changed (PRs)
- Give Repository Item a sectioned, collapsible form. by @rosiel in #131
- Add image discovery module by @aOelschlager in #130
- Update in-form documentation to reflect new linked agent default. by @rosiel in #134
- Allow Subject - Topical to create new terms. by @rosiel in #133
- Updates to Drupal, BibCite, Citation Select, and Flysystem by @rosiel in #132
Full Changelog: 1.4.0...1.5.0
Composer Lock Diff
Production Changes | From | To | Compare |
---|---|---|---|
carbonphp/carbon-doctrine-types | 3.1.0 | 3.2.0 | ... |
doctrine/deprecations | 1.1.2 | 1.1.3 | ... |
doctrine/lexer | 2.1.0 | 2.1.1 | ... |
drupal/bibcite | 2.0.0-beta3 | 3.0.0-beta3 | ... |
drupal/citation_select | 1.0.0-beta3 | 1.0.0-beta5 | ... |
drupal/core | 10.2.2 | 10.2.3 | ... |
drupal/core-composer-scaffold | 10.2.2 | 10.2.3 | ... |
drupal/core-recommended | 10.2.2 | 10.2.3 | ... |
drupal/flysystem | 2.1.0-rc6 | 2.2.0-alpha1 | ... |
drupal/twig_tweak | 3.2.1 | 3.3.0 | ... |
islandora/islandora_mirador | 2.3.5 | 2.3.6 | ... |
league/csv | 9.14.0 | 9.15.0 | ... |
league/mime-type-detection | 1.14.0 | 1.15.0 | ... |
mjordan/islandora_workbench_integration | f3304d8 | 5edfcb6 | ... |
nesbot/carbon | 2.72.1 | 2.72.3 | ... |
nikic/php-parser | v5.0.0 | v5.0.1 | ... |
symfony/console | v6.4.2 | v6.4.4 | ... |
symfony/dependency-injection | v6.4.2 | v6.4.4 | ... |
symfony/error-handler | v6.4.0 | v6.4.4 | ... |
symfony/event-dispatcher | v6.4.2 | v6.4.3 | ... |
symfony/filesystem | v6.4.0 | v6.4.3 | ... |
symfony/http-foundation | v6.4.2 | v6.4.4 | ... |
symfony/http-kernel | v6.4.2 | v6.4.4 | ... |
symfony/mailer | v6.4.2 | v6.4.4 | ... |
symfony/mime | v6.4.0 | v6.4.3 | ... |
symfony/polyfill-php72 | v1.28.0 | v1.29.0 | ... |
symfony/polyfill-php80 | v1.28.0 | v1.29.0 | ... |
symfony/polyfill-php81 | v1.28.0 | v1.29.0 | ... |
symfony/process | v6.4.2 | v6.4.4 | ... |
symfony/psr-http-message-bridge | v6.4.2 | v6.4.3 | ... |
symfony/routing | v6.4.2 | v6.4.3 | ... |
symfony/serializer | v6.4.2 | v6.4.4 | ... |
symfony/string | v6.4.2 | v6.4.4 | ... |
symfony/translation | v6.4.2 | v6.4.4 | ... |
symfony/validator | v6.4.2 | v6.4.4 | ... |
symfony/var-dumper | v6.4.2 | v6.4.4 | ... |
symfony/var-exporter | v6.4.2 | v6.4.4 | ... |
symfony/yaml | v6.4.0 | v6.4.3 | ... |
discoverygarden/dgi_image_discovery | NEW | v1.1.0 |
Dev Changes | From | To | Compare |
---|---|---|---|
doctrine/persistence | 3.2.0 | 3.3.0 | ... |
1.4.0 Fast Permissions Administration
What's Changed
- Add grouped filter to accommodate null external uris in model. [fixes OAI-PMH not picking up items that have Models without External URIs] by @rosiel in #128
- Add the "Fast Permissions Administration" (
fpa
) module. by @rosiel in #125 - Change the thumbnail display for image media to not use image styles. [fixes the issue in Sandbox where anonymous fails to see thumbnails] by @rosiel in #126
Full Changelog: 1.3.0...1.4.0
1.3.0 Drupal 10.2 & COI
Summary
- Updates Drupal core to 10.2.2 and also updates modules.
- With the addition of the COI module, you should now see when islandora config form elements (e.g. the URL to ActiveMQ) are overridden in settings.php so editing them in the form is not possible. This is particularly relevant to users of the Site Template, which uses this method of config overrides.
- Contributors field has a new default, Attributed name / relators:att.
- It turns out that 'relators:asn' is meant for provenance-related names, while 'relators:att' is the default we wanted to use.
- To change an existing site to match the starter site:
- Go to Manage > Structure > Content Types > Repository Object > Manage Fields, and edit "Contributors".
- In the "Available Relations" list, change
relators:asn|
torelators:asn|Associated name
and move it down alphabetically in the list. - Find
relators:att|Attributed name
in the list, remove theAttributed name
part and move it to the top of the list.
- Changing existing objects that use 'relators:asn' is out of scope of these release notes (and you might want to leave them as is).
What's Changed
- Add Config Override Inspector (COI). by @rosiel in #117
- Drupal update to 10.2 by @rosiel in #123
- Fix the default relator in the Contributors (Linked Agent) field. by @rosiel in #124
Full Changelog: 1.1.1...1.3.0