Jump to content

Recommended Posts

Posted

Hey everyone

I'm pleased to report that MediaHub 1.16.0 has been released.

Here's a breakdown of the changes. The next release will optimise bulk upload and crops. I will also add integrated focus points cropping.

1.16.0 Changelog

Admin navigation

  • Optional MediaHub link in the admin top bar. 
    A new module setting (Show MediaHub link in main navigation) adds Media Hub to the admin top bar.
     
  • Custom label for the top-bar link. 
    When the top-nav option is on, a new Custom label field lets you override what appears in the top bar. Useful when the localised "Media Hub" string is verbose or when your team prefers a different term (Media, Assets, Library, DAM). Leave blank to keep the localised default. Setup → Media Hub label is unaffected.

Library and inputfield

  • Drag-to-reorder thumbnails in MediaHub fields. 
    Just like the native InputField, you can reorder thumbnails to take advantage of first() and last() etc. Works across any view mode (grid, proportional, detail). 
  • Master "select all visible" checkbox in the table view header. 
    Tick the column header to select every row currently rendered; untick to clear.
  • "Add more" button now matches stock InputfieldFile 
    Font, colour, hover state, and icon spacing across AdminThemeUikit, Reno, and Default are more consistent

Bug fixes

  • Library search now covers Alt/Description, Labels, and Collections. 
    Previously search only matched the asset title and filename. Searching by exact ID is also now reliable.
  • Renamed filename and title in the upload queue are now applied on upload. 
    Editing the filename stem or title in the upload queue rows had no effect; the values were not transmitted to the server. Both fields are now picked up and saved with the new asset.
  • Duplicating an asset preserves its Collections and Labels. 
    Cloned assets were losing the page-reference fields. Both are now copied explicitly to the new asset. The duplicate confirmation message also clarifies that crops are not copied (they can be re-generated on the duplicate).
  • Cleaned up a stray PHP warning 
    in the library view left over from the v1.15.0 Tags → Labels rename.
  • PHP 8.5 deprecation notice in the MediaHub inputfield 
    resolved (explicit nullable parameter typing).

Defensive changes

  • Server-side upload batch limit now matches the configured browser-side limit. 
    Previously the server hard-capped to 50 files per request even if Maximum upload batch had been raised higher; both ends now read the same setting.
  • Bulk-import requests are now capped at 500 selections per request. 
    Selecting thousands of existing site images at once was holding a single PHP request open for many minutes with no progress feedback and no resume path on failure. Larger jobs now surface a clear message asking you to import in batches.
  • Upload temp-file cleanup window extended from 60 seconds to 5 minutes,
    to avoid deleting an in-flight temp file mid-write on slow connections.
  • Container pages at the site root reinforced as hidden + system on upgrade,
    so the data-tree containers (Media Hub, Labels, Collections, Assets, Crops) cannot accidentally appear in front-end navigation.

Security

  • Import-by-URL is now safer on shared and self-hosted servers. 
    Imports from external URLs are now hard-capped at 5 MB per file and refuse URLs that resolve to private or reserved IP ranges (mitigating server-side request forgery), and reject any non-HTTP(S) protocol on the initial request and on any redirect.

 

Cheers
Peter

  • Like 4

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...