* added new variables, options and setup
* datecheck function rewrite
* moved the cleanup and prune logic to always run. Changed some wording on messages.
* added function to print currently backed up images
* Patched bugfix to not recreate stopped containers
* changed the RepoDigests grab and logic
* Moved the backup - cleanup to always trigger if -b option is used. Added -p&-b warning.
* version bump and readme fixes
* Reformatting the updates available list
* rewritten list padding to be dynamic
* Label rework + clearer messages (#228)
- Moved up label check and logic to earlier in the process, to iterate the whole run the same way if `-l` option is passed.
- Added messaging to make it clearer.
- Clarified Readme and --help message.
- Clarified prune message (to mean ALL dangling, not just currently updated).
* Add DisplaySourcedFiles variable to be used in source_if_exists and source_if_exists_or_fail functions
* Added return 0 as to not throw wrong exit code.
* Delete source_if_exists. source_if_exists_or_fail returns success or failure. Failure doesn't stop the script
---------
Co-authored-by: Elephant Quater <eq@cont.MSHOME>
Co-authored-by: mag37 <robin.ivehult@gmail.com>
* Snooze feature, curl, and consolidation
* Added snooze feature to delay notifications
* Added configurable default curl arguments
* Consolidated and standardized notify template update notifications
* Added curl error handling
* Snooze comment fix
* Grep, curl args, and variable init adjustments
* Modified grep commands to make use of word boundaries in order to avoid matching on substrings
* Set CurlRetryDelay, CurlRetryCount, and CurlConnectTimeout as individual variables
* Used :- for variable initialization where assignment is redundant
* Update dockcheck.sh change notes and fix variable collision
* Remove unnecessary cat and clarify readme
* reformatting
---------
Co-authored-by: Matthew Oleksowicz <matt@everyoneneeds.it>
Co-authored-by: mag37 <robin.ivehult@gmail.com>
* Notify_v2.sh bug fixes
* Clarify notify_v2.sh usage in README.md
* Fix JSON newline handling in Discord and Telegram channels
* Additional error messages when notification templates fail to be sourced
* Additional variable for self-hosted ntfy.sh domain
* Notify_v2.sh additional fixes
* Clarify usage in README.md and notify template comments
* Support sourcing template files from project root
* Add days old message to notification title
* Handle JSON with jq in Discord and Telegram templates
* Tweak notify_v2.sh usage docs and comments
* Remove extra newline from notification body
* replaced jq with jqbin, reodered setting of jqbin, changed source for hostname var
* moved the setting of jqbin a bit further up after further testing
---------
Co-authored-by: Matthew Oleksowicz <matt@everyoneneeds.it>
Co-authored-by: mag37 <robin.ivehult@gmail.com>
* Refactor notifications and add helper functions
* Add helper functions to simplify sourcing files and executing functions if they exist
* Create notify_v2.sh wrapper script
* Simplify and consolidate notification logic within notify_v2.sh
* Support notification management via environment variables
* Move secrets to dockcheck.config
* Fix NOTIFY_CHANNELS default value when not set
* Feedback changes
* Remove leading spaces from MessageBody
* Check for valid notify v2 variables
* Warn on missing configuration and bypass notifications
* Update readme
* Additional feedback fixes
* More comments in default.config with different # depth for comments and settings
* Rename NOTIFY_TOPIC_NAME variable to NTFY_TOPIC_NAME for consistency
* Add TELEGRAM_TOPIC_ID
* Fix AppriseURL variable
* Add an ending newline to all MessageBody statements for consistency
* Remove troubleshooting echo statement
* Prevent attempting to trigger notifications for notification templates if versions are the same
---------
Co-authored-by: Matthew Oleksowicz <matt@everyoneneeds.it>
* first iteration rewriting the update logic
* formatting fixes
* Added an option to have compose up only target the specific container.
Used with either -F flag, config variable or label.
* Skipping update check on non-compose containers unless option is set
* Versionbump
Added new info and upped the version number.
* added check for docker socket permissions
* added sudo-check to pkg-manager
* corrected variable typo and some printf colors
* and newline..
* DSM extra readme added
* final tweaks, DSM readme
* added markdown to readme
* added markdown support to telegram template
* removed container specification from compose up -d
This will ensure any dependant containers in the same stack will
restart, others will be untouched.
* Rearranged where the url enrichment happens