This pull request includes several updates to the docker.versions plugin, focusing on bug fixes, code improvements, and enhancements to the changelog handling. The most important changes include fixing issues on the settings page, improving date handling, and optimizing the changelog generation process.
Bug Fixes and Improvements:
docker.versions.plg: Updated the MD5 hash and fixed multiple issues, including fallback date handling and preventing duplicate changelogs.
This pull request includes several updates to the
docker.versions
plugin, focusing on bug fixes, code improvements, and enhancements to the changelog handling. The most important changes include fixing issues on the settings page, improving date handling, and optimizing the changelog generation process.Bug Fixes and Improvements:
docker.versions.plg
: Updated the MD5 hash and fixed multiple issues, including fallback date handling and preventing duplicate changelogs.src/docker.versions/usr/local/emhttp/plugins/docker.versions/server/helpers/Generic.php
: Modified theconvertToDateString
method to acceptint
in addition tostring
andnull
for better flexibility.Enhancements:
src/docker.versions/usr/local/emhttp/plugins/docker.versions/server/models/Container.php
: AddedDateTime
import and updated thecontainerCreatedDate
to use a hardcoded date of the last 2 months to avoid frequent updates. [1] [2]src/docker.versions/usr/local/emhttp/plugins/docker.versions/server/services/Containers.php
: Improved thegetChangeLogs
function by consolidating secondary releases handling and filtering out duplicate changelogs more effectively. [1] [2] [3] [4] [5]