Andy Baugh e4d80d982e Add installdir as dep to install telegram provider to fix #24 | 8 місяців тому | |
---|---|---|
lib | 4 роки тому | |
scripts | 4 роки тому | |
t | 4 роки тому | |
.gitignore | 6 роки тому | |
LICENSE | 6 роки тому | |
LICENSE-IMAGES.md | 4 роки тому | |
Makefile | 8 місяців тому | |
README.md | 3 роки тому | |
TODO | 6 роки тому |
Extra "Contact Manager" Providers for cPanel and WHM
If you like this plugin, consider sending a a few dollars this way: https://paypal.me/troglodyne
make
if you want to install all the providers.OR
make install-slack
would install Slack's provider.make test
make uninstall
.ejabberd:
Currently, the DIGEST-MD5 method (used by default in Net::XMPP when authenticating against the latest ejabberd versions)
causes failures to send notifications. Add disable_sasl_mechanisms: "DIGEST-MD5"
to your ejabberd.yml
config file
to avoid this problem. See issue #2 on the tracker.
XMPP Driver (generally):
I've seen a report about gtalk.t failing on install for certain users when attempting to install Net::XMPP as a dependency.
If this occurs, you'll likely have to manually run CPAN and tell it to ignore the failing tests:
cpan -i -f Net::XMPP
. After it installs you can then rerun make install and it should be OK. (the '-f' flag stands for 'force')
If you want to run a functional test for any of these (to debug problems), please run the following script:
scripts/generate_testing_configuration.pl
as this will prompt you for all the needed values to make the test run (it tells you how to run it too).
Anyways, this script will write out a file like the following to the repo's top level directory. In this example, we're using the XMPP provider, so it will be .xmpptestrc:
XMPPUSERNAME: user@domain.tld
XMPPPASSWORD: hunter2
XMPPCOMPONENTNAME:
XMPPUSETLS: 1
XMPPVERIFYCERT: 0
You'll note these correspond to the values in the Provider's Schema module. With that set, you should spam yourself with a message if the t/Cpanel-iContact-Provider-XMPP.t test passes.
Same goes for the IRC or Slack provider... use the same keys as in the schema module for dopeouts in its' test.
As always, if you feel there's a bug, please file an issue on the tracker. If you want to chat about it, hop on the Matrix Chat server for troglodyne. Instructions here: https://chat.troglodyne.net.