BugAlertDotOrg / bugalert

MIT License
207 stars 20 forks source link

Added support to send a Telegram notification & a few minor improvements #26

Closed ethans closed 2 years ago

ethans commented 2 years ago
  1. Added support to send notification to Telegram
  2. Set the paths variable for the "Added Files Hook"
  3. Fixed a bug in the hook that failed due to overriding the categories_verbose with the slug
  4. Added in the notification hook a couple of environment variable checks before using them (so that it doesn't fail on forks)

During my testing I added a file to the notices folder and then deleted. That's why there are so many writes and deletes. Sorry.

Contributor Checklist

For Site Improvements

Leave the following intact, which notifies our volunteer team: @BugAlertDotOrg/volunteer-team

sullivanmatt commented 2 years ago

I'd feel better getting @mattlorimor's eyes on this too, before merging.