Skip to content

Releases: omeka/omeka-s

v4.1.1

20 Jun 18:15
Compare
Choose a tag to compare

Changes

  • Custom thumbnails set on a primary media will also be used when getting a thumbnail for the parent item

Fixed Bugs

  • The "no sites" message never disappeared when adding the first site on the add/edit item page in 4.0.0
  • Item sets were not sortable in the site resources section in 4.0.0
  • Themes did not show new version notifications in 4.0.0
  • Fulltext search automatic relevance sorting could improperly inherit the configured default sort order and sort least-relevant-first
  • Value languages on the resource form were not validated as promptly as intended (fix contributed by @Daniel-KM)
  • Large or oddly-sized asset titles or thumbnails could display oddly in the admin assets section
  • A deprecation notice printed when using the lightbox gallery viewer together with Youtube media
  • The "View" link from admin site show pages did not open in a new tab

For Developers

  • The ACL OwnsEntityAssertion now supports Doctrine proxies correctly (fix contributed by @Daniel-KM)
  • returnScalar in the API now returns the correct total results count for paginated results

v4.1.0

18 Apr 19:03
Compare
Choose a tag to compare

System Requirements

  • Minimum required database versions increased to MySQL 5.7.9 and MariaDB 10.2.6

Features

  • Page authoring improvements
    • Grid layout
      • Omeka S 4.1.0 adds a new selection when authoring site pages, between the original, older page layout ("Normal flow") and the new Grid layout. Grid uses the native CSS grid feature to provide users with more tools for positioning their content the way they want without needing custom theming or CSS skills.
      • Block groups
        - Blocks can be grouped together by site authors for styling and administrative purposes
    • Shared block layout settings
      • This version also adds a new page editing concept of configuration options that are common to all blocks. Things like alignment and choosing a class attribute that were previously implemented piecemeal are available for all blocks, including any added by modules, and modules can also now more easily add their own additional settings to all blocks
      • Among these shared settings is a new background image feature for using assets as backgrounds for any block
    • Block templates
      • Using the shared layout setting feature (see above), all blocks now provide an option for the author to select from among different templates specific to that block which are provided by the site's chosen theme. This allows themes to provide complex behaviors, styles and customizations that users can choose from with a simple UI.
    • Page templates
      • Similar to block templates, the entire page can have a template selected by the author, with the choices also coming from the current theme. Small differences in overall layout or completely custom pages can be created as page templates and exposed for site authors to use.
    • New OEmbed page block
    • Merged item showcase block into media embed block
      - The media embed block now has additional options for display that match what the previous item showcase block did. Item showcase blocks that exist in sites upgraded to 4.1.0 will be migrated to media embed blocks with those settings preselected.
  • Performance improvement for performing many "OR"-joined property/value searches at once
  • Site navigation allows user to configure a custom link to open in a new tab/window
  • New settings for controlling appearance of subnavigation on public site pages
  • New batch edit option for setting resource ownership
  • OEmbed media can now be updated
  • Site setting for pre-expanding value annotations
  • Favicon can be selected from assets both globally and per-site
  • Global setting for disabling @reverse reverse property listing in API responses
  • Improved mail sending error reporting
  • Improvements to linked resource display
  • The "fallback" file renderer now respects the same linking settings as the thumbnail renderer
  • Added WebP to the default allowed types for file and asset uploads
  • Database settings can now be provided via an environment variable OMEKA_DB_CONNECTION_URL rather than database.ini (#1789, contributed by @raboof)

Admin UI

  • Media upload inputs on item form now accept multiple files selected at once
  • Media upload inputs on item form now show a preview of selected images if the browser can natively display them
  • New direct link to the current user's settings page in left nav
  • Global settings page now divides into more logical groups
  • List of sites for an item now includes a link to go directly to the item's page in each site
  • Asset upload sidebar now indicates the upload size limit
  • Info on free disk space added to system information (#2001, contributed by @Daniel-KM)

Bugs Fixed

  • Fulltext searches now allow other sorting despite the default relevance-based sort to be chosen; previously doing a fulltext search would override any other sorting selected
  • Fixed TypeError when loading user batch edit (#2100, contributed by @jajm)
  • Fixed some incorrect ARIA accessibility attributes (#2111)
  • Fixed possible deprecation warning when passing null to API id search (#2118, contributed by @Daniel-KM)
  • Forms using element groups did not properly handle fieldsets (#2159, contributed by @Daniel-KM)

Changes

  • HTML media now include their text content in the fulltext index
  • Sorting options now appear first on advanced search
  • Added database index for is_public column for several key tables (#2105, contributed by @Daniel-KM)
  • Admin CSRF tokens now expire after 12 hours instead of 1

For Developers

API

  • New "api-local" read-only REST endpoint. api-local uses the user's login cookie for auth rather than requiring an API key.
  • REST API now allows selecting from different serialization formats (RDF/XML, N3, Turtle, NTriples) and extension of the allowed choices (see Server-Side Events)
  • Expanded options for reading scalars from more types of resources (#2023, contributed by @Daniel-KM)
  • Search operation now allowed for the generic "resources" endpoint

Server-Side Events

  • New filters api.subject_values.query and api.subject_values_simple.query (#2054, contributed by @Daniel-KM)
  • New filters api.get_fulltext_text.value_criteria and api.get_fulltext_text.value_annotation_criteria for modifying values to be included in fulltext index (#2069, contributed by @jajm)
  • New filters api.output.serialize and api.output.formats
  • New view.browse.actions events for adding to action icons on browse pages

Config

  • New ['entity_manager']['data_types'] config array for registering new Doctrine datatypes

Classes/Interfaces

  • Omeka\Media\Renderer\FulltextSearchableInterface for providing fulltext index content from media

Changes

  • New "fallback setting" service and helpers for looking for same-named options in multiple contexts (global, site, user settings)
  • Element groups feature is now enabled and used on batch edit forms
  • Automated tests now run against PHP 8.3 additionally (#2125, contributed by @Daniel-KM)
  • aria-label property now automatically set for translation for Laminas form selects (#2120, contributed by @Daniel-KM)
  • Login will not redirect to dashboard if user does not have permission to view dashboard (#1961, contributed @jajm)

v4.1.0-rc

20 Dec 19:25
Compare
Choose a tag to compare
v4.1.0-rc Pre-release
Pre-release

Omeka 4.1.0-rc is a release candidate for version 4.1.0, which gives users and developers a preview of the new features and changes.

This is not a final release and not intended for use on production sites.

System Requirements

  • Minimum required database versions increased to MySQL 5.7.9 and MariaDB 10.2.6

Features

  • Page authoring improvements
    • Grid layout
      • Omeka S 4.1.0 adds a new selection when authoring site pages, between the original, older page layout ("Normal flow") and the new Grid layout. Grid uses the native CSS grid feature to provide users with more tools for positioning their content the way they want without needing custom theming or CSS skills.
    • Shared block layout settings
      • This version also adds a new page editing concept of configuration options that are common to all blocks. Things like alignment and choosing a class attribute that were previously implemented piecemeal are avaiable for all blocks, including any added by modules, and modules can also now more easily add their own additionall settings to all blocks
      • Among these shared settings is a new background image feature for using assets as backgrounds for any block
    • Block templates
      • Using the shared layout setting feature (see above), all blocks now provide an option for the author to select from among different templates specific to that block which are provided by the site's chosen theme. This allows themes to provide complex behaviors, styles and customizations that users can choose from with a simple UI.
    • Page templates
      • Similar to block templates, the entire page can have a template selected by the author, with the choices also coming from the current theme. Small differences in overall layout or completely custom pages can be created as page templates and exposed for site authors to use.
    • New OEmbed page block
  • Performance improvement for performing many "OR"-joined property/value searches at once
  • Site navigation allows user to configure a custom link to open in a new tab/window
  • New settings for controlling appearance of subnavigation on public site pages
  • New batch edit option for setting resource ownership
  • OEmbed media can now be updated
  • Site setting for pre-expanding value annotations
  • Favicon can be selected from assets both globally and per-site
  • Global setting for disabling @reverse reverse property listing in API responses
  • Improved mail sending error reporting
  • Improvements to linked resource display
  • The "fallback" file renderer now respects the same linking settings as the thumbnail renderer
  • Added WebP to the default allowed types for file and asset uploads
  • Database settings can now be provided via an environment variable OMEKA_DB_CONNECTION_URL rather than database.ini (#1789, contributed by @raboof)

Admin UI

  • Media upload inputs on item form now accept multiple files selected at once
  • Media upload inputs on item form now show a preview of selected images if the browser can natively display them
  • New direct link to the current user's settings page in left nav
  • Global settings page now divides into more logical groups
  • List of sites for an item now includes a link to go directly to the item's page in each site
  • Asset upload sidebar now indicates the upload size limit
  • Info on free disk space added to system information (#2001, contributed by @Daniel-KM)

Bugs Fixed

  • Fulltext searches now allow other sorting despite the default relevance-based sort to be chosen; previously doing a fulltext search would override any other sorting selected
  • Fixed TypeError when loading user batch edit (#2100, contributed by @jajm)
  • Fixed some incorrect ARIA accessibility attributes (#2111)
  • Fixed possible deprecation warning when passing null to API id search (#2118, contributed by @Daniel-KM)

Changes

  • HTML media now include their text content in the fulltext index
  • Sorting options now appear first on advanced search
  • Added database index for is_public column for several key tables (#2105, contributed by @Daniel-KM)

For Developers

API

  • New "api-local" read-only REST endpoint. api-local uses the user's login cookie for auth rather than requiring an API key.
  • REST API now allows selecting from different serialization formats (RDF/XML, N3, Turtle, NTriples) and extension of the allowed choices (see Server-Side Events)
  • Expanded options for reading scalars from more types of resources (#2023, contributed by @Daniel-KM)
  • Search operation now allowed for the generic "resources" endpoint

Server-Side Events

  • New filters api.subject_values.query and api.subject_values_simple.query (#2054, contributed by @Daniel-KM)
  • New filters api.get_fulltext_text.value_criteria and api.get_fulltext_text.value_annotation_criteria for modifying values to be included in fulltext index (#2069, contributed by @jajm)
  • New filters api.output.serialize and api.output.formats

Config

  • New ['entity_manager']['data_types'] config array for registering new Doctrine datatypes

Classes/Interfaces

  • Omeka\Media\Renderer\FulltextSearchableInterface for providing fulltext index content from media

Changes

  • New "fallback setting" service and helpers for looking for same-named options in multiple contexts (global, site, user settings)
  • Element groups feature is now enabled and used on batch edit forms
  • Automated tests now run against PHP 8.3 additionally (#2125, contributed by @Daniel-KM)
  • aria-label property now automatically set for translation for Laminas form selects (#2120, contributed by @Daniel-KM)
  • Login will not redirect to dashboard if user does not have permission to view dashboard (#1961, contributed @jajm)

v4.0.4

25 Aug 21:27
Compare
Choose a tag to compare

Bugs Fixed

  • Page titles were not properly escaped on the admin pages list for a site if viewed by lower-privilege users without permission to edit
  • Lower-privilege users could view the info on other users' user edit pages

Internationalization

  • Updated translations for Brazilian Portuguese, Dutch, French and Mongolian

v4.0.3

04 Aug 17:11
Compare
Choose a tag to compare

Bugs Fixed

  • Malformed/malicious non-image files could improperly be allowed as uploaded assets
  • Installation title was not properly escaped when displayed in several views
  • The accept attribute for the upload input for assets was not updated to match the new default allowed asset types

Changes

  • Uploaded assets are now checked for both type and extension
  • Alongside the configurable list of allowed asset types introduced in 4.0.2, there is now a configurable list of allowed asset file extensions

v4.0.2

27 Jul 18:11
Compare
Choose a tag to compare

Bugs Fixed

  • Vocabulary import could reveal the contents of files it was pointed to when displaying an error, a possible "SSRF" vulnerability
  • SVG asset uploads could contain Javascript that would be executed if the SVG was viewed directly
  • Title not escaped correctly in the browse preview block
  • Batch editing options to clear property values and set value visibility sometimes did not work, depending on what other batch edit operations were used at the same time
  • Issues when displaying a very large number of tabs on admin pages (fix contributed by @Daniel-KM)
  • Misleading page display when user revokes own privileges from a site (#2034)
  • Issues with reporting of empty required fields on the resource add/edit pages (#2041)
  • Overbroad selection for assets on the site edit page
  • Incorrect routing for URLs with "false" site slugs (fix contributed by @Daniel-KM)
  • Property label still displayed even if no values were shown due to the locale filter being enabled on a site (#2045)
  • Miscellaneous translation string issues
  • We unnecessarily checked the database version on each request to decide whether to use database-backed sessions
  • Linked resources/subject values display didn't work properly for non-items
  • Events for Doctrine entities did not always fire correctly
  • Asset upload errors were silent
  • Some advanced search fields were missing labels for accessibility
  • Fulltext search for media caused an unnecessarily high number of queries when multiple media were saved at once
  • Media public resource pages didn't have the media render block configured by default (#2058)
  • The lightgallery block did not correctly read some metadata for text tracks for videos
  • The lightgallery code was missing its license key
  • Temporary files could get left behind when some kinds of errors occurred during file upload

Changes

  • The title column for resources now has an index
  • The list of allowed mime types for assets is now set by config; SVGs are no longer allowed by default as uploaded assets
  • HTML Purifier is now enabled by default for new installs
  • Removed nonfunctioning n3 option for RDF import
  • Updated default theme to 1.7.2

v4.0.1

28 Feb 20:51
Compare
Choose a tag to compare

Bugs Fixed

  • Public browse views did not apply the language filtering or browse heading site options correctly (#1996)
  • Resources with no owner could automatically change their owner when a user saved the resource form (#1984)
  • Item set "not in" selection did not work inside the "query" sidebar (#1989)
  • Using two or more OpenSeadragon IIIF image viewers on a single page caused a "redeclaration of const" JS console error (#1993)
  • A typo in a selector caused a JS console error when editing site pages (#2000, fix contributed by @Daniel-KM)
  • Old arguments were improperly still used for the view.sort-selector event if called from the sortSelector view helper (#1994)
  • The "restore value" option upon deleting a value was sometimes not visible
  • Very wide and short assets could break the asset table (#1957)
  • A deprecation notice would fire when running background jobs on PHP 8.1+
  • Reindex jobs threw an error improperly attempting to index value annotations (#2005)
  • Advanced "contains," "starts with," and "ends with" searches did not work properly when searching for percent sign, underscore, and backslash (#2014, fix contributed by @Daniel-KM)
  • The proc_open CLI execution strategy could hang and never complete if the command to be run printed a lot of data to stderr (#1992)
  • An unnecessary blank CSS file was included in the query sidebar (#2015)

Changes

  • Styled the class value-language so it is less intrusive on other places using the same class outside the resource form (#2007)
  • Styled the item browse sort defaults to take up less space on the settings form (#1997)
  • Updated bundled Default theme to 1.7.1
  • Updated translations

v4.0.0

19 Jan 20:18
Compare
Choose a tag to compare

Omeka S 4.0.0 is the next major release of Omeka S, including many features and bug fixes.

This version adds support for PHP 8.1 and 8.2; the minimum supported version of PHP is now 7.4.

Features

Key features

  • Resource page blocks

    This release adds a "blocks" feature to allow site admins to configure the public show pages for items, media and item sets without requiring editing PHP or CSS. Site admins can add, remove, reorder, and mix-and-match the basic building blocks of the show page, like the display of metadata, embedding or listing media, and more. Some features like the slider or gallery view for media that were previously exclusive only to some themes are now part of this system, so they can be used on any theme. Modules that add content to "show" pages can also use this system, meaning you can easily choose whether and where to show components like alternative media viewers, maps, and more.

    This feature also allows themes to declare multiple regions where blocks can be added, allowing for patterns like sidebars and more complex layouts, with site admins freely choosing what pieces of the page go in which regions.

    Themes that support this new feature show a "Configure resource pages" button next to the existing one for theme settings in the site admin interface. All themes provided by the Omeka Team will have new versions that support this feature.

  • Configurable browse columns and sorting

    The other major new feature in 4.0.0 is user configuration of the visible columns and default sorting options for browse pages in the admin interface.

    There are new user settings that allow each user to choose which columns should be displayed on the item, item set, media, and site browse pages. Depending on what makes sense for each Omeka S installation and each user, the page can include columns showing values from any metadata property, as well as a variety of types of internal and administrative metadata. Modules can also add their own columns to this system, so a module can easily make its own data accessible through the normal browse page. The columns in use also affect what sorting options are shown for the user.

    Alongside the column settings, users can set the default sorting for each browse page, choosing from all the existing default sorting options, plus any extra configured columns, and setting either sorting direction. Users can also add any custom sort by manually specifying the sorting query string parameter to use.

    Finally, this same configuration of default sorting is available to site admins to set the default sort order for the public items browse page within a site.

Resources, metadata, and description

  • Support for IIIF Presentation API manifests as media, rendered by Mirador
  • URI values can now be tagged with a language
  • Media can now be tagged with a language
  • Resource templates can now set a language as the default for a property
  • The sidebar selector for choosing item sets now includes the same filtering and "quick add" features as the one for items
  • Added a "Select all" option when using quick add on resource selection sidebars
  • New user setting to select item sets to assign new items the user creates into by default
  • Users can explicitly select which media is the "primary" one for an item, independent of the ordering
  • The "linked resources" view is improved and can now support alternative labels for the linking properties

Search

  • "starts with" and "ends with" property advanced search options (contributed by @Daniel-KM)
  • Advanced search option to filter for items by excluding those in given item sets
  • Advanced search option to filter by public/private visibility
  • Advanced search option to filter for items having, or not having, media attached
  • Advanced search option to filter by IDs

Sites

  • Page date/time block to display page timestamps publicly
  • New site setting to exclude resources not attached to the site from being linked to
  • New site setting to limit the properties and classes shown in the site's search dropdowns. Options that can be chosen are to include all (as in previous versions), and only those used by items attached to the site, and only those used by some item in the Omeka S installation (contributed by @alexdryden)
  • The "Property label information" setting can now be set on a site-specific basis instead of only globally (contributed by @Daniel-KM)
  • New UI in the site page editor to collapse or expand all blocks

Admin interface

  • Improved batch action permissions

Fixes

  • Custom browse links in sites will only be marked as active if both the path and query match, avoiding situations like marking all browse pages active if the navigation includes links to multiple browse views with different search filters being applied
  • Fixed misleading errors that could be thrown on the batch edit form that obscure an actual underlying error (#1691)
  • Administrators could not reassign the owner for media
  • Non-administrator users could not use the "query" form element
  • Removed some unnecessary and inefficient data retrieval from item add/edit form rendering (contributed by @Daniel-KM)
  • Eliminated many redundant SQL queries for the current user, a regression introduced in version 3.2.3
  • Editors can now access the Asset section

Changes

  • Batch actions now redirect back to the originating filtered browse view instead of a default one (#1222)
  • The default empty Title and Description inputs on the resource add/edit forms are removed if setting a resource template that does not include them
  • The advanced property search now trims whitespace from the input search term, so extra spaces do not affect the results
  • Increased height of the HTML editor when editing HTML media
  • HTML editor styles are pared back to options that are more likely useful for Omeka S content
  • HTML editor now includes a "remove format" button on the toolbar
  • The default "Welcome" page for new sites now includes some sample content to show the styling of various elements
  • Language inputs throughout the admin now have simple validation of the input
  • Author-role users can now search media
  • Many accessibility improvements

For Developers

API

  • API clients can pass the string auto as the property_id for a value to make Omeka S use the enclosing term key (e.g., dcterms:title) to determine what property the value is for. This allows creation of values without first doing a request to find out the internal Omeka S property IDs for each property.
  • New site_id query for properties and resource classes that allows filtering to only those that are used in items attached to the given site
  • New not_item_set_id query for items, filtering to include only items that are not members of the given item sets
  • New has_media query for items
  • New modified_before, modified_after, created_before, modified_after queries for resources
  • property query for resources now accepts types sw (starts with) and ew (ends with)
  • id query now accepts a comma-delimited string with multiple IDs, in addition to the previous options of a single ID and multiple IDs using the PHP "array" square-bracket query syntax

Themes

  • Theme configuration can use element groups to provide logical/visual grouping when a theme has many options
  • Themes can now provide translations
  • lightGallery now in core as a resource page block

View helpers

  • !!list resource page block helpers
  • New currentSite view helper that returns the SiteRepresentation for the current site
  • New $absolute argument for assetUrl helper to produce absolute URLs instead of the default relative

Events

  • New PHP event iiif_viewer.mirador_config for altering the configuration data passed to Mirador when viewing IIIF Presentation API media
  • New PHP event sort-config for altering the set of sorting options presented as part of the sorting selectors and settings

Miscellaneous

  • Element groups: allows simpler usage of fieldsets and legends for forms without the nesting behavior of Laminas's Fieldset form element.
    • Several core forms are rewritten to use these element groups instead of fieldsets
  • Resource representation displayValues now passes the resource to the partial (contributed by @Daniel-KM)
  • Settings in the global, site and user settings tables are now forced to lowercase
  • System Information now includes information on the CLI path configuration for PHP and ImageMagick

External libraries

  • Updated Composer to the version 2 series
  • Removed unused Laminas dependencies: barcode, cache, captcha, code, crypt, db, di, feed, file, memory, paginator, permissions-rbac, progressbar, serializer, server, tag, text, xmlrpc
  • Updated Laminas dependency versions
  • Updated HTML Purifier to 4.15.0
  • Switched EasyRDF to "sweetrdf" fork for updated PHP version support

v4.0.0-rc

14 Dec 19:43
Compare
Choose a tag to compare
v4.0.0-rc Pre-release
Pre-release

Omeka S 4.0.0 is the next major release of Omeka S, including many features and bug fixes. This is a release candidate previewing that upcoming release.

This version adds support for PHP 8.1 and 8.2; the minimum supported version of PHP is now 7.4.

Features

Key features

  • Resource page blocks

    This release adds a "blocks" feature to allow site admins to configure the public show pages for items, media and item sets without requiring editing PHP or CSS. Site admins can add, remove, reorder, and mix-and-match the basic building blocks of the show page, like the display of metadata, embedding or listing media, and more. Some features like the slider or gallery view for media that were previously exclusive only to some themes are now part of this system, so they can be used on any theme. Modules that add content to "show" pages can also use this system, meaning you can easily choose whether and where to show components like alternative media viewers, maps, and more.

    This feature also allows themes to declare multiple regions where blocks can be added, allowing for patterns like sidebars and more complex layouts, with site admins freely choosing what pieces of the page go in which regions.

    Themes that support this new feature show a "Configure resource pages" button next to the existing one for theme settings in the site admin interface. All themes provided by the Omeka Team will have new versions that support this feature.

  • Configurable browse columns and sorting

    The other major new feature in 4.0.0 is user configuration of the visible columns and default sorting options for browse pages in the admin interface.

    There are new user settings that allow each user to choose which columns should be displayed on the item, item set, media, and site browse pages. Depending on what makes sense for each Omeka S installation and each user, the page can include columns showing values from any metadata property, as well as a variety of types of internal and administrative metadata. Modules can also add their own columns to this system, so a module can easily make its own data accessible through the normal browse page. The columns in use also affect what sorting options are shown for the user.

    Alongside the column settings, users can set the default sorting for each browse page, choosing from all the existing default sorting options, plus any extra configured columns, and setting either sorting direction. Users can also add any custom sort by manually specifying the sorting query string parameter to use.

    Finally, this same configuration of default sorting is available to site admins to set the default sort order for the public items browse page within a site.

Resources, metadata, and description

  • Support for IIIF Presentation API manifests as media, rendered by Mirador
  • URI values can now be tagged with a language
  • Media can now be tagged with a language
  • Resource templates can now set a language as the default for a property
  • The sidebar selector for choosing item sets now includes the same filtering and "quick add" features as the one for items
  • Added a "Select all" option when using quick add on resource selection sidebars
  • New user setting to select item sets to assign new items the user creates into by default
  • Users can explicitly select which media is the "primary" one for an item, independent of the ordering
  • The "linked resources" view is improved and can now support alternative labels for the linking properties

Search

  • "starts with" and "ends with" property advanced search options (contributed by @Daniel-KM)
  • Advanced search option to filter for items by excluding those in given item sets
  • Advanced search option to filter by public/private visibility
  • Advanced search option to filter for items having, or not having, media attached
  • Advanced search option to filter by IDs

Sites

  • Page date/time block to display page timestamps publicly
  • New site setting to exclude resources not attached to the site from being linked to
  • New site setting to limit the properties and classes shown in the site's search dropdowns. Options that can be chosen are to include all (as in previous versions), and only those used by items attached to the site, and only those used by some item in the Omeka S installation (contributed by @alexdryden)
  • The "Property label information" setting can now be set on a site-specific basis instead of only globally (contributed by @Daniel-KM)
  • New UI in the site page editor to collapse or expand all blocks

Admin interface

  • Improved batch action permissions

Fixes

  • Custom browse links in sites will only be marked as active if both the path and query match, avoiding situations like marking all browse pages active if the navigation includes links to multiple browse views with different search filters being applied
  • Fixed misleading errors that could be thrown on the batch edit form that obscure an actual underlying error (#1691)
  • Administrators could not reassign the owner for media
  • Non-administrator users could not use the "query" form element
  • Removed some unnecessary and inefficient data retrieval from item add/edit form rendering (contributed by @Daniel-KM)
  • Eliminated many redundant SQL queries for the current user, a regression introduced in version 3.2.3

Changes

  • Batch actions now redirect back to the originating filtered browse view instead of a default one (#1222)
  • The default empty Title and Description inputs on the resource add/edit forms are removed if setting a resource template that does not include them
  • The advanced property search now trims whitespace from the input search term, so extra spaces do not affect the results
  • Increased height of the HTML editor when editing HTML media
  • HTML editor styles are pared back to options that are more likely useful for Omeka S content
  • HTML editor now includes a "remove format" button on the toolbar
  • The default "Welcome" page for new sites now includes some sample content to show the styling of various elements
  • Language inputs throughout the admin now have simple validation of the input
  • Author-role users can now search media
  • Many accessibility improvements

For Developers

API

  • API clients can pass the string auto as the property_id for a value to make Omeka S use the enclosing term key (e.g., dcterms:title) to determine what property the value is for. This allows creation of values without first doing a request to find out the internal Omeka S property IDs for each property.
  • New site_id query for properties and resource classes that allows filtering to only those that are used in items attached to the given site
  • New not_item_set_id query for items, filtering to include only items that are not members of the given item sets
  • New has_media query for items
  • New modified_before, modified_after, created_before, modified_after queries for resources
  • property query for resources now accepts types sw (starts with) and ew (ends with)
  • id query now accepts a comma-delimited string with multiple IDs, in addition to the previous options of a single ID and multiple IDs using the PHP "array" square-bracket query syntax

Themes

  • Theme configuration can use element groups to provide logical/visual grouping when a theme has many options
  • Themes can now provide translations
  • lightGallery now in core as a resource page block

View helpers

  • !!list resource page block helpers
  • New currentSite view helper that returns the SiteRepresentation for the current site
  • New $absolute argument for assetUrl helper to produce absolute URLs instead of the default relative

Events

  • New PHP event iiif_viewer.mirador_config for altering the configuration data passed to Mirador when viewing IIIF Presentation API media
  • New PHP event sort-config for altering the set of sorting options presented as part of the sorting selectors and settings

Miscellaneous

  • Element groups: allows simpler usage of fieldsets and legends for forms without the nesting behavior of Laminas's Fieldset form element.
    • Several core forms are rewritten to use these element groups instead of fieldsets
  • Resource representation displayValues now passes the resource to the partial (contributed by @Daniel-KM)
  • Settings in the global, site and user settings tables are now forced to lowercase
  • System Information now includes information on the CLI path configuration for PHP and ImageMagick

External libraries

  • Updated Composer to the version 2 series
  • Removed unused Laminas dependencies: barcode, cache, captcha, code, crypt, db, di, feed, file, memory, paginator, permissions-rbac, progressbar, serializer, server, tag, text, xmlrpc
  • Updated Laminas dependency versions
  • Updated HTML Purifier to 4.15.0
  • Switched EasyRDF to "sweetrdf" fork for updated PHP version support

v3.2.3

26 Aug 21:08
Compare
Choose a tag to compare
  • Fixed a bug where marking a user as inactive would still allow them to continue any active sessions they had open (reported by Christian Martin)
  • Fixed the @reverse key in API responses containing links that pointed to the current resource, not the in-linking resources (#1878)
  • Fixed the @reverse key in API responses always linking to the items endpoint even if the linking resource was of another type (#1888)
  • Fixed an issue that could cause files using the CMYK colorspace to have thumbnails generated with inverted colors when using the Imagick thumbnailer