-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pushover: support HTML, URL title and custom sounds #1634
Pushover: support HTML, URL title and custom sounds #1634
Conversation
|
Hi @simonpasquier , Thanks for the comments. OK, since you mentioned HTML message contents should be handled via Regarding adding the default Please let me know if any further changes are required. |
The problem is that |
Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
Hi @simonpasquier , I've removed the default values for these two fields and confirmed it's working when they are not set. Anyhow, it seems that the travics-ci job is failing and I'm not sure why. |
It was a transient Travis issue, I've triggered the tests and it's all green now. I'd prefer to have text-only notifications as the default to stick with what existed before. @mxinden @stuartnelson3 might have another opinion though. |
No opinion on this from my side. |
Hi, @simonpasquier, Are we still pending on something to have this merged? |
Lets wait whether or not @stuartnelson3 is fine with notifications being sent as HTML by default. |
I have the same opinion as @simonpasquier. Even though we haven't reached a major version release yet, it would be nice to maintain behavior when possible, to prevent surprises for users. Since users have to explicitly write HTML tags in their messages, they can also opt-in to enable HTML at that point. |
As per the comments provided, keeping the HTML disabled by default to keep the previous behavior. Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
@simonpasquier , @stuartnelson3 , As requested, I've made the HTML to be disabled by default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* Support HTML inside Pushover message Signed-off-by: Tomas Dabasinskas <tomas@dabasinskas.net>
Extending Pushover integration to allow extended customization:
sound
parameter for a custom notification sound.url_title
parameter, which allows setting custom text for the supplementary URL.As for the last one, I've enabled HTML support for all the messages, as I don't really see the reason why not to do so (either way, you need to use explicit HTML tags within your message to use this functionality). Anyhow, if you think otherwise, I'm good with making this configurable as well.