artemharutyunyan/copilot — pull request #1 by josip (2012-06-13 17:50:07+00:00)
Title: Ejabberd module

Pull request adds the ejabberd module to the project.

The module notifies the Co-Pilot Monitor when a machine connects to the server and when it closes the session. Upon connecting to the server, the module will get machine's geographical location from its IP address and store it into MongoDB, alongside with data that was extracted from its JID (if it was an Co-Pilot Agent).

__Files included in the pull request__
`src/copilot-ejabberd-module/configure.sh`: contains the script which generates necessary Makefile and rebar.conf
`src/copilot-ejabberd-module/rebar`: binary distribution of [rebar](https://github.com/basho/rebar)
`src/copilot-ejabberd-module/ebin/mod_copilot.app`: definition of the module, required by rebar
`src/copilot-ejabberd-module/src/mod_copilot.erl`: the module itself