* Adjust addition of where clause.
* Bit of other paranoia with aliases.
* Dependency injection in NodeHasMediaUse views filter.
---------
Co-authored-by: Adam Vessey <adam@discoverygarden.ca>
* Fixup js tests
* Move MINK env var into phpunit for easier local testing
* Fix xpath for 10.3
---------
Co-authored-by: Joe Corall <jjc223@lehigh.edu>
* Remove Feature-ness of Islandora Core Feature.
* Remove features bundle config.
* Remove from composer.json.
* Remove dependency on Features UI.
* Rename install dir to optional.
* Update text_extraction_defaults and remove 'fim' from workflows.
`hook_field_widget_WIDGET_TYPE_form_alter()` was deprecated in Drupal 9.2.0 and removed in Drupal 10; however, it was what this functionality was using.
It has been replaced with
`hook_field_widget_single_element_WIDGET_TYPE_form_alter()`.
See: https://www.drupal.org/node/3180429
* Add PHP 8.2 and Drupal 10.2 to testing matrix
* Use `name` key when creating test content type.
* Remove `gemini_url` from schema.
* Remove gemini_url from islandora.settings.yml
* Update OcrTextFormatter.php
* Remove Drupal 10.2 from matrix, known fail.
* 959-use-image-dimensions Use image dimension properties if they exist when generating IIIF manifests.
959-use-image-dimensions Address PHPCS error.
959-use-image-dimensions Address PHPCS error.
* 959-use-image-dimensions Make image dimension values numeric per the spec.
'#title' => $this->t('IIIF Image server location'),
'#description' => $this->t('Please enter the image server location without trailing slash. e.g. http://www.example.org/iiif/2.'),
'#default_value' => $config->get('iiif_server'),
'#config' => [
'key' => 'islandora_iiif.settings:iiif_server',
],
];
$form['use_relative_paths'] = [
'#type' => 'checkbox',
'#title' => $this->t("Use relative file paths in manifest."),
'#description' => $this->t("Check this if your IIIF Server is configured to access files locally. If unchecked, the absolute URL will be given and the IIIF server will make requests to this site to retrieve images."),
'#description' => $this->t('The source of structured OCR text for each entity.'),
'#description' => $this->t("If the hOCR is a field on the same entity as the image source field above, select it here. If it's found in a related entity via the term below, leave this blank."),
'#description' => $this->t('Term indicating the media that holds structured text, such as hOCR, for the given object. Use this if the text is on a separate media from the tile source.'),
];
$form['search_endpoint'] = [
'#type' => 'textfield',
'#title' => $this->t("Search endpoint path."),
'#description' => $this->t("If there is a search endpoint to search within the book that returns IIIF annotations, put it here. Use %node substitution where needed.<br>E.g., paged-content-search/%node"),
<!-- Example for changing the driver args to phantomjs tests MINK_DRIVER_ARGS_PHANTOMJS value: '["http://127.0.0.1:8510"]' -->
<envname="MINK_DRIVER_ARGS_PHANTOMJS"value=""/>
<!-- Example for changing the driver args to webdriver tests MINK_DRIVER_ARGS_WEBDRIVER value: '["chrome", { "chromeOptions": { "w3c": false } }, "http://localhost:4444/wd/hub"]' For using the Firefox browser, replace "chrome" with "firefox" -->