Commit Graph

156 Commits

Author SHA1 Message Date
mag37 272615166e ntfy rename
Corrected all mentions of the ntfy template with its new name.
Also clarified the help message of the -r option.
2025-05-31 22:05:35 +02:00
mag37 68c057e62d v0.6.6 bump and info 2025-05-29 23:03:46 +02:00
vorezal 57650f1673 Notify_v2.sh bug fixes (#188)
* 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>
2025-05-29 22:43:34 +02:00
mag37 5e7d4f0b8a minor tweaks; curl/wget retries, missing variable fix in root-check 2025-05-25 18:39:34 +02:00
vorezal c63e2441fa Refactor notifications and add helper functions (#182)
* 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>
2025-05-25 18:26:13 +02:00
mag37 b2d80d036a info about -r option 2025-05-14 20:55:09 +02:00
mag37 7ce523c37d added sponsor 2025-05-12 07:28:49 +02:00
mag37 8e444a688f Update rework (#178)
* 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.
2025-05-11 20:50:09 +02:00
mag37 7a0eda659b Update README.md 2025-05-03 10:16:07 +02:00
mag37 eb57b63a10 permission checks, dsm readme, markdown (#171)
* 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
2025-05-02 21:40:24 +02:00
mag37 fff0c37fa4 Style and additions (#160)
* correcting colors

* hides progress bar in monochrome mode, added monochrome mode to config

* Added config/option to auto self-update, use with caution!

* use notification release notes url function for cli options as well

* added the flag, reordered flags

* change output order + add alpine pkgmngr

* changed logic of default.config

* added an extras section

* modifying urls list, adding option flag

* prometheus hotfix + minor tweaks

* quick pkginstaller fix

---------

Co-authored-by: Joachim Schuster <dev@joachimschuster.de>
2025-04-10 12:03:03 +02:00
mag37 68ec749c39 hotfixes 2025-03-30 22:58:47 +02:00
mag37 8dd1bba75b Clean&refactor (#148)
* cleaning spaces and consistent formatting
* removed more subshells
* progress bar cleanup
* moved uservars to a .config file
* rewritten options from yes/no to true/false
* initialized default variables
* added bash options: -euo pipefail, shopt -s nullglob and failglob
* quoting variables, cleaning syntax, logic and order
* unquoted some variables due to breakage
* added exit on pull-fail
* added new sponsor
* added Slack template
2025-03-30 13:31:34 +02:00
ZwF 9c4c79b885 Update README.md
Add the -x option to the readme...
2025-03-17 22:20:06 -04:00
mag37 c57923f152 versionbump 2025-03-16 20:54:34 +01:00
mag37 48057dfc66 notify and xargs info added
Added info about notifying on new dockcheck updates and a info block about async/xargs.
2025-03-09 10:19:22 +01:00
mag37 dcbdb5becd minor fixes 2025-03-09 09:57:45 +01:00
mag37 8fc4f41c49 version bump and change notes 2025-03-07 21:11:01 +01:00
mag37 bf1e78d2ff hotfix changelog 2025-02-26 22:04:05 +01:00
mag37 8110cd8892 Update README.md 2025-02-25 21:30:41 +01:00
mag37 502a167919 Update README.md 2025-02-25 21:30:20 +01:00
mag37 229cde0efb Updated README.md
Added changelog.
Added info about Docker Hub pull limit.
2025-02-24 22:03:20 +01:00
mag37 3655f5ae8a version bump 2025-02-19 13:36:30 +01:00
mag37 e68adb34d0 added info about macos osx 2025-02-15 13:23:42 +01:00
mag37 bc6a3529c7 Update README.md 2025-02-07 19:34:24 +01:00
mag37 9ed2a0bad0 finalized prometheus addon 2025-02-07 19:27:14 +01:00
mag37 43307350ca formatting of header 2025-01-31 23:58:05 +01:00
mag37 b3600f26ac restructure, moved to addon-subdir and split code to sourced snippet 2025-01-31 23:52:10 +01:00
mag37 79def47754 Merge pull request #121 from tdralle/main
Added an export for node_exporter's text file collector to provide metrics to Prometheus
2025-01-31 23:37:24 +01:00
mag37 14872b0471 local image check changed, Gotify-template fixed, version bump 2025-01-28 21:50:02 +01:00
Thorsten Dralle 58d53d3aaf Added a node collector to export statistics to prometheus 2025-01-27 20:57:19 +01:00
mag37 be6f5edf52 Update README.md 2024-11-25 15:23:54 +01:00
mag37 8a63fd360c hotfix 2024-11-23 14:58:15 +01:00
mag37 704387a7fe versionbump + jq info 2024-11-22 15:09:16 +01:00
mag37 17ed46d157 Merge branch 'main' into feedback_podcheck 2024-11-20 08:38:49 +01:00
mag37 d744d51473 jq version bump 2024-11-18 21:13:44 +01:00
mag37 9937d6bc3f minor readme updates 2024-11-17 20:43:22 +01:00
mag37 cb8c23e62d Update README.md
Added urls to podman fork
2024-11-16 20:39:51 +01:00
mag37 119932aa19 Update README.md
added Discord to the notifications list.
2024-10-13 22:28:39 +02:00
mag37 18e467274e edited changenotes 2024-10-13 17:11:10 +02:00
mag37 6db92be627 getting ready for merge 2024-10-12 13:13:11 +02:00
mag37 85ee721cd1 typo 2024-10-04 23:09:45 +02:00
mag37 a550994659 tweaks + version info 2024-10-04 23:07:01 +02:00
mag37 999694985a Added sponsorlist - section. 2024-09-28 14:24:34 +02:00
mag37 a79de24bcc Cleanups + info to readme 2024-09-18 16:44:32 +02:00
mag37 923736c413 version bump+info 2024-08-17 23:00:41 +02:00
Chris Funderburg 588c22afc9 style: Add pre-commit checks and code cleanup
This change adds an optional pre-commit configuration that can be used
to keep the code style clean.  I've also run it across all files and
fixed numerous whitespaces issues.

To use it, if wanted, just clone / pull the repo as normal, go into the
folder and run:

```
pre-commit install
```

From that point on, when running `git commit`, it will run the checks
on any changed files.

Feel free to ignore this PR if you're not interested.
2024-08-17 08:50:39 -04:00
mag37 39c69b7648 Update README.md 2024-07-26 07:54:46 +02:00
mag37 35e33b3997 Release info + notification edits. 2024-07-24 20:49:23 +02:00
mag37 3d122f2b86 Update README.md
Notifications updates
2024-06-21 06:25:06 +02:00