Releases: lsst-epo/canto-dam-assets
Releases · lsst-epo/canto-dam-assets
4.5.1
4.5.0
What's Changed
- Uploads now go to selected album by @ericdrosas87 in #16
Full Changelog: 4.4.0...4.5.0
4.4.0
What's Changed
- Only show
Approved
images from Canto by @ericdrosas87 in #14
Full Changelog: 4.3.1...4.4.0
Version 4.3.1
Full Changelog: 4.3.0...4.3.1
4.3.0
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
What's Changed
- Preliminary proof-of-concept for
whereContainsIn
by @ericdrosas87 in #4
Full Changelog: 4.1.0...4.2.0
Version 4.1.0
Added
- Add
phpstan
andecs
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
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 ofdirectUrlOriginal
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 thetenantHostName
plugin setting - Removed the hard-coding of the
appId
from the JS, instead using theappId
plugin setting - Store the
albumId
in the content column only if it's a full album, otherwise store0
- Moved all of the SyncController operations to queue jobs, because they can involve lengthy API/db calls
- Refactored
singleCountLoad
back to the original50
4.0.11
What's Changed
- Added permission to allow non-admins use of fields by @ericdrosas87 in #1
New Contributors
- @ericdrosas87 made their first contribution in #1
Full Changelog: 4.0.10...4.0.11
Version 4.0.10
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 of1000
(was 50) - Limit what is displayed in album views to just images, since that's all we allow in the field type currently