FS#1999 - jabber xmpp configuration
There should be some help at the configuration sections for setting up jabber/xmpp notifications.
How someone can test it?
Must the admin setup his own jabber/xmpp server or are there recommended servers?
I registered with psi+ instant messager as peterdd@ubuntu-jabber.de at ubuntu-jabber.de for testing
and configured it here in my account too, but got no jabber messages.
Email notifications works and I set up both sending.
Loading...
Available keyboard shortcuts
- Alt + l Login Dialog / Logout
- Alt + a Add new task
- Alt + m My searches
- Alt + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + e ↵ Enter Edit this task
- Alt + w watch task
- Alt + y Close Task
Task Editing
- Alt + s save task
Jabber notifications does not work. I have tried:
Login and password are correct, surely.
How do I debug this?
Forgot to tell that I have set "Notify Type" to "Jabber" in my user profile.
It seems, jabber notifications are only sent by the schedule.php, not by the http request that triggers a notification event.
So create a cronjob that calls schedule.php
Example:
(this example sends at 7th minute every hour)
For testing
(prefer a php cli mode executable) should do the job too.
Also reminder_daemon="1" must be set in flyspray.conf.php
To debug you can for example add a
at the end before return true;
in class.notify.php in function SendJabber().
I got something working now looking a bit like this with a prosody jabber server (using letsencrypt cert)
You get no jabber notifications from bugs.flyspray.org, simply because there is currently no valid setup configured on bugs.flyspray.org
Somewhy it tells me that login or password is incorrect, but this is wrong as I use the same login and password in the other script (XMPPHP) without problems.
I've found out that XMPPHP library sends base64'd string "null-byte LOGIN null-byte PASSWORD" while Flyspray sends base64'd string "null-byte LOGIN@SERVER null-byte PASSWORD" which results in authentication failure.
I'm using Prosody too btw.
Well, changing "includes/class.jabber2.php" line 357 from
to
fixed the issue to me. I think it depends on the jabber server settings.
Notifications "You have been assigned the following task:" come before notifications "A new Flyspray task has been opened. Details are below. ".
It should be a different order - first "task opened", then "you have been assigned".