caronc / apprise

Apprise - Push Notifications that work with just about every platform!
https://hub.docker.com/r/caronc/apprise
BSD 2-Clause "Simplified" License
11.57k stars 406 forks source link

Zulip Local/Enterprise Server Support #498

Open caronc opened 2 years ago

caronc commented 2 years ago

:bulb: The Idea According to a ticket opened here it was brought to my attention that Zulip isn't only a cloud based solution. It can also have it's own self-hosted solution.

This enhancement would be to enable support for locally ran servers.

:hammer: Breaking Feature The Zulip plugin needs to identify when to use a local host name over a remote organization ID. I think though careful logic most issues can be handled, but to be safe, there should be a mode= that can be set to either cloud or local allowing users to enforce how the hostname field should be parsed.

tplecko commented 2 years ago

I have posted a simple workaround for this problem in the ticket referenced above.

fischerscode commented 2 years ago

Connecting to self hosted https servers already works. At least setting the host name instead of the organization worked for me. zulip:///botname@zulip.example.com/secret_api_key/user@example.com

But it does not seem to be documented.

caronc commented 2 years ago

Looking into the code the self hosted solution isn't that great; i mean you can't specify a custom port or anything. The other thing that isn't supported is basic_auth (in case self hosted users want to add that extra layer of protection). The only problem with this though is it will cause issues with the botname category since it would have to change to user:pass for those who wish to use it.