Chat History and Monitoring Plugin Openfire - openfire

I'm new to openfire. I have a chat application running nodejs. I have a separate Chat server with openfire installed.
I wanted to know how chat history for a chat group is handled?
How to progressively load chat history in the client from openfire server? Should I write a custom routine for the same ? Does Monitoring plugin provide any for the same
What is format is which chats are archived ? Is there a way to retrieve them in any given format ?
Are there any APIs that can be used to access the database ?(I doubt it tho)
I have installed Monitoring Plugin for the same. However I'm not able to find any documentation for openfire or monitoring plugin regarding chat history.
Any help would be much appreciated.

If you have installed the monitoring plugin, you can read in its readme file under the configuration paragraph the following content:
Chat archiving is enabled by default. However, only information about who is communicating and at what time is stored unless chat transcript archiving is enabled. To enable chat transcript archiving or group chat archiving, you will need to log into the admin console and go to:
Server --> Archiving --> Archiving Settings

To enable group chat archiving, you will need to log into the admin console
and go to: Server --> Archiving --> Archiving Settings and 'Message
Archiving' is enabled for either 'Archive one-to-one chats' and/or
'Archive group chats'.
Then the messages get stored in the external database table 'ofMessageArchive'.
The history can be further loaded from the database.
This might help you!

Please login to your server
Go to Plugins, find plugin "Monitoring Service" install/enable it if you have not enabled
Now go to the "Server" menu, go to "Archiving" then "Archiving Settings"
Check "Archive one-to-one chats"
Check "Archive group chats"
Now click on "Update Setting"
And then after most important is you need to click on "Rebuild Index" (last button in this setting screen).
Then send a messsage from your app, and check your database table "ofMessageArchive"
You will have magic :)
It's working for me, let's see it is working for you or not!

Answering to #3:
Chats are archived in following format in ofmessage archive table:
conversationID | fromJID | fromJIDResource | toJID | toJIDResource | sentDate | body |

Related

How long openfire(XMPP) server maintains user's chat history?

I am new to openfire server. I need to know how long openfire(XMPP) server maintains user's chat history ?
Thank's in advance.
If you mean "how much history is stored for a chat room", here is the link for Openfire Admin console where you can configure this settings:
http://[your_server_address]:[admin_port]/muc-history-settings.jsp?mucname=[your_chat_service_name]
Or perhaps you meant to "Offline messages" received when the user is offline.
http://[your_server_address]:[admin_port]/offline-messages.jsp

IBM Mobilefirst Device Management Get Flag from MFP console

IBM MobileFirstâ„¢ Platform Foundation maintains a database table of device IDs, among other device-related metadata, to enable this feature. In addition to the device ID column in the database, a status column is also kept. The possible status values are:
active
lost
stolen
expired
disabled
After I enable the device management, I able to set the status to the respective device. If the device is marked as lost or stolen, can the device able to get the flag send from server and do some processing such as destroy JSON store when the device is online and the app is open? The server will return 404 or forbidden access, but the local JSONStore still consist of data. So we have to wipe off the local data too.
Thank You.
You should take a look at integrating with MaaS360. Specifically te Remote access control and wiping data section (link below). MaaS360 offers a simple integration for your IT admins to destroy all app data when a device is stolen or lost.
https://developer.ibm.com/mobilefirstplatform/documentation/integration-7-0/mobilefirst-protect/

RabbitMQ: a new management user cannot see anything

I have installed RabbitMQ management console and can login as guest. Nevertheless, I would like to create a new user dedicated to management purpose.
Therefore, I refer to the step 5 of the tutorial (http://www.thegeekstuff.com/2013/10/enable-rabbitmq-management-plugin/).
Login as guest and create a user in the management console with a management tag like this:
Logout guest and login as guest2.
However, guest2 can only see the screen like this:
There is almost nothing to click or use.
Do I miss something to set?
Yes,
This is a little anomaly on the UI management.
If you see the URL you are trying to access to http://localhost:15672/#/users and your user can't access.
Try use this URL http://localhost:15672
Or just click to the RabbitMQ image

Novell IDM Apple Open Directory LDAP Driver

I have been looking for information or examples of how to setup an IDM driver for Apple Open Directory. The articles I have found don't give much detail and pretty much no actual technical content.
I am using the LDAP driver and can connect and create a user on the OD side. However, the issue I am running into is how to set and synchronize passwords. Since it appears that the LDAP driver is not able to set the encrypted password correctly I was going to use dscl to set the password after the user is created by the driver. Since this step must occur after the XDS is submitted on the subscriber channel, can I create a follow-up event to trigger the dscl command or can I use the status message that comes back on the publisher channel?
It seems like synchronizing eDir to Apple Open Directory with IDM should not be something new. I am a little surprised that there is not an existing driver configuration in the Designer palette or at least some more detailed examples or discussions in the forums.
The answer I worked out was to write custom Java classes to make command line calls to the ODM server to set the password and also to do some group updates. 90% of the work is done using the standard LDAP driver.

How to configure Mantis so that an administrator is notified of all issues in the system

I want to setup Mantis in a way that it sends all notifications email to the administrator, even if the administrator is not assigned or monitoring a particular project.
The administrator should get all the emails for all the activity occurring in the system. I tried to configure the Mantis' Email Notifications screen, but I fail to understand how it works.
Any help would be much appreciated.
Thanks
Penuel
Using version 1.2.6 of Mantis:
login as an administrator
Manage > Manage Configuration > Email Notifications
Check every box under administrator column.
Remember, if $g_email_receive_own = OFF; in config_inc.php, you won't get any emails notifying you of actions you are taking.