Skip to content

Releases: lsst-epo/canto-dam-assets

4.5.1

16 Oct 15:33
ba60d3c
Compare
Choose a tag to compare

What's Changed

  • Made whereIn and whereNotIn args case-insensitive

Full Changelog: 4.5.0...4.5.1

4.5.0

20 Sep 22:49
b20bc03
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.4.0...4.5.0

4.4.0

09 Aug 23:21
66250d5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.3.1...4.4.0

Version 4.3.1

15 Jul 18:38
Compare
Choose a tag to compare

Full Changelog: 4.3.0...4.3.1

4.3.0

31 May 22:24
82c9a75
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where the code to upload a new image wasn't in a place the modal button could reach, refactored JS and cleaned up code

Changed

  • The upload button in the modal now changes colors with rotating status text as the image uploads to Canto

Version 4.2.0

11 Mar 21:05
aa65de0
Compare
Choose a tag to compare

What's Changed

Full Changelog: 4.1.0...4.2.0

Version 4.1.0

25 Feb 06:03
Compare
Choose a tag to compare

Added

  • Add phpstan and ecs code linting
  • Add code-analysis.yaml GitHub action
  • Add CODEOWNERS
  • Added support for updating/deleting Canto assets that are inside of the JSON data blob in response to webhooks

Changed

  • Require craftcms/cms ^4.6.0 for proper JSON-column content table support
  • Remove unneeded dependency

Version 4.0.12

16 Jan 18:33
Compare
Choose a tag to compare

Added

  • Added the following controller action endpoints for Canto Webhooks: _canto-dam-assets/sync/delete-by-canto-id, _canto-dam-assets/sync/delete-by-album-id, _canto-dam-assets/sync/update-by-canto-id & _canto-dam-assets/sync/update-by-album-id
  • Added documentation for the controller action endpoints for Canto Webhooks
  • Added a webhookSecureToken setting for validating webhooks
  • Added a SyncController for handling webhooks for changed assets/albums from Canto
  • Added directUrlPreviewPlay to the GraphQL schema
  • Added the tenantHostName plugin setting, and pass this down to the Canto Universal Connector JS
  • Added async function paginatedContentRequest() to handle single and multiple image selections from Canto, paginated to API limits, resulting in a significantly faster fetching time
  • Added async function paginatedAlbumRequest() to handle full album selections from Canto, paginated to API limits, resulting in a significantly faster fetching time

Changed

  • Use directUrlPreview instead of directUrlOriginal which will work for other media types such as videos as well
  • Removed the limitation on albums to include only images, so all media types are supported again
  • Removed the retrieveAssetMetadataEndpoint setting
  • Removed the hard-coding of the tenant from the JS, instead using the tenantHostName plugin setting
  • Removed the hard-coding of the appId from the JS, instead using the appId plugin setting
  • Store the albumId in the content column only if it's a full album, otherwise store 0
  • Moved all of the SyncController operations to queue jobs, because they can involve lengthy API/db calls
  • Refactored singleCountLoad back to the original 50

4.0.11

27 Dec 22:41
363d270
Compare
Choose a tag to compare

What's Changed

  • Added permission to allow non-admins use of fields by @ericdrosas87 in #1

New Contributors

Full Changelog: 4.0.10...4.0.11

Version 4.0.10

25 Nov 21:37
Compare
Choose a tag to compare

Added

  • Paginate the requests to the batch/content Canto API endpoint in batches of 100 (the API limit per request), so it will work for larger albums
  • Switch over to Vite ^5.0.0 & Node ^20.0.0 for the buildchain

Changed

  • Refactored to use albumSingleCountLoad when loading albums, for a much larger pagination size of 1000 (was 50)
  • Limit what is displayed in album views to just images, since that's all we allow in the field type currently