maelgangloff / domain-watchdog

An app that uses RDAP to collect publicly available info about domains, track their history, and purchase them
https://demo.domainwatchdog.eu
GNU Affero General Public License v3.0
188 stars 11 forks source link

Add more options for watchlist webhook DSN #50

Closed anarion80 closed 2 months ago

anarion80 commented 2 months ago

So far I tried two: smtp and pushover and in both cases there was an error:

The DSN scheme (smtp) is not supported The DSN scheme (pushover) is not supported

vinceh121 commented 2 months ago

smtp is currently not supported as a webhook DSN as it is handled separatly, you will get an email to the address specified in your user account for the select events in the watchlist.

pushover, however, can absolutly be added.

maelgangloff commented 2 months ago

Email notifications are always enabled by default. Webhook notifications are optional. I will add support for pushover.

maelgangloff commented 2 months ago

@anarion80 I just added the dependencies needed to link with pushover. I let you tell me if it works now.

This is what the DSN looks like according to the Symfony documentation:

pushover://USER_KEY:APP_TOKEN@default

For you to test, I deployed the v0.2.6 version which is already available on the Docker Hub ;)

maelgangloff commented 2 months ago

It seems I rushed, Symfony separates Chat from Push notifications... I'll post here when I've made a working implementation.

maelgangloff commented 2 months ago

I just corrected my mistake :)

anarion80 commented 2 months ago

Thanks! I was able to add pushover successfully and receive a test notification.