This pull request includes several changes to the docker.versions plugin, focusing on improving the changelog functionality, enhancing error handling, and adding utility functions.
Added new label docker.versions.tagIgnorePrefixes to be able to ignore certain tags per container
Improvements to Changelog Functionality:
Refactored the addChangelogButton function to improve readability and maintainability, and added an interval to refresh changelog buttons every 5 seconds in changelog.js.
Updated the popup function to handle different types of messages and display them appropriately in the iframe.
Enhancements to Error Handling:
Changed the loading message in GetChangelog.php to be hidden by default.
Improved warning messages and fallback mechanisms in the getRepositorySource and getChangeLogs methods in Container.php and Containers.php respectively. [1][2]
Utility Functions:
Added a new Generic helper class to handle date conversions in Generic.php and utilized it in Container.php and Release.php. [1][2][3]
Dependency Inclusions:
Included the Generic helper class in relevant files to support new utility functions. [1][2]
Minor Improvements:
Changed the default message in loadingMessage function in Publish.php to "Finished loading".
imporoved the ui of changelogs with collapse able sections
use the container created if no OC created, fallback to 6 months if no matches then all if non after that
Fixes
reworked how the github url is parsed instead of assuming a specific format
This pull request includes several changes to the
docker.versions
plugin, focusing on improving the changelog functionality, enhancing error handling, and adding utility functions.Added new label
docker.versions.tagIgnorePrefixes
to be able to ignore certain tags per containerImprovements to Changelog Functionality:
addChangelogButton
function to improve readability and maintainability, and added an interval to refresh changelog buttons every 5 seconds inchangelog.js
.popup
function to handle different types of messages and display them appropriately in the iframe.Enhancements to Error Handling:
loading
message inGetChangelog.php
to be hidden by default.getRepositorySource
andgetChangeLogs
methods inContainer.php
andContainers.php
respectively. [1] [2]Utility Functions:
Generic
helper class to handle date conversions inGeneric.php
and utilized it inContainer.php
andRelease.php
. [1] [2] [3]Dependency Inclusions:
Generic
helper class in relevant files to support new utility functions. [1] [2]Minor Improvements:
loadingMessage
function inPublish.php
to "Finished loading".Fixes