How To get Old Messages (Chat History) from XMPP - xmpp

I am new to XMPP.
and I need to get chat history from Openfire with XMPP.
I did Googling but didn't get satisfactory Answer.
Any link or idea will be great help.

You need to install Monitoring service plugin to enable message archiving. You may have to upgrade your openfire service if this plugin is not appearing in your available plugins section in the admin console.
You will need to log into the admin console and go to:
Server --> Archiving --> Archiving Settings to enable message archiving.
Hope this helps you. Feel free to comment in case of any queries/doubts.

You need to enable archiving on the server.
Follow http://xmpp.org/extensions/xep-0136.html to get the messages.

Related

How to capture xmpp traffic by tool

We are working on a project that uses Open fire(Xmpp) protocol. I have to capture that traffic(xmpp). suggest me tool and process.?
does wireshark work for xmpp traffic.?
Another suggestion only relevant if you happen to be using Smack:
If you are just trying to debug the traffic for a particular client while developing it and you happen to be using Smack as your client side library (just a guess since we are talking about openfire), then you can also make use of the Smack debug console. Adding the Java system property -Dsmack.debugEnabled=true will cause a debug console window to open each time an XMPP connection is established. IT shows traffic in/out and other useful information.
Yes, Wireshark works for XMPP traffic, as long as it is unencrypted.
If the connection is encrypted, you may be able to decrypt it by following the instructions at https://wiki.wireshark.org/SSL .
For monitors conversations and statistics of the openfire server,you can use Monitoring Service plugin in openfire.
For install
Go to server web amdin panel
Go to plugin menu
click on available plugin
find and install Monitoring Service plugin.

Converse.js Message Archiving not working

I am currently using the ConverseJS library in order to connect to the XMPP server and it is working pitch perfect. The one problem I am facing is that I want the chat history and in XMPP there is a function to fetch the message. I am using the Openfire Server and using the Monitoring plugin's latest version as well.
When I open any chat window then the spinner runs and then no old messages are shown. In the console log it gives the following error:
iq type="error" id="334" to="user1#mydomain.com/458">
<error type="cancel" code="501">
<feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
</error>
</iq>
So can anyone tell me any possible solution regarding this problem.
Finally solved it. In Openfire, there is setting where you can allow to fetch the chat history. Its value was 0 and it was stopping from fetching the history. But as I entered 7, then i started sending the history.
Hope this will help others as well.
Please make sure install plugin Monitoring Service and then server restart.
also make sure open fire version 3.10.* for Monitoring Service 4.6 .
follow this link https://community.igniterealtime.org/thread/57111, it may be work for you.
it is work for me.

How to allow users to send issues via e-mail to MantisBT?

In http://en.wikipedia.org/wiki/Comparison_of_issue-tracking_systems#Input_interfaces it says, that Mantis allows Input via mail.
I checked config_defaults_inc.php for associated settings, but could not find them. How can I allow my users to send issues to my MantisBT instance?
You will have to install the EmailReporting plugin to enable this feature. You can download the plugin from https://github.com/mantisbt-plugins/EmailReporting
Installation of the plugin is straightforward, but configuration can be done only from the plugin page. Please make sure that you read the README before using the plugin.
If you are using MantisHub (MantisBT as a Service), email reporting is included as part of the gold and platinum plans:
http://www.mantishub.com/
You can find the documentation of the feature at:
http://support.mantishub.com/hc/en-us/articles/204273585-Using-Email-Reporting

Collaboration in Eclipse via ECF

I wanted to use the DocShare plugin so I installed the ECF SDK in Eclipse Luna and tried adding my google account using the File->New->XMPPS and added my google account information to log in but I get the error "Container Connect" has encountered an error.
Do i need to include anything except my email address in the field for User-ID?
I would love any help on this issue as I cannot for the life of me figure out how to get it working.
BTW, I also tried adding the details of my account into the XMPP dialogue with the same result.
EDIT: I just realized that I also need to enter a port with my email address but I have almost no knowledge of ports and have no idea what port to assign.
Allowing "Less Secure Apps" in my google settings did the job. Am now connected to my Google Account through Eclipse. Recieved an email that asked me to allow this.

IntelliJ's Idea Server Plugin

I don't understand how to upload settings to the central server with Idea Server Plugin. I've logged into my JetBrains account, but I don't see any additional screens to do anything. I am using RubyMine, but that shouldn't matter.
Please refer to the FAQ. It works transparently and automatically, you don't have to do anything else.