This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Sat Jun 21 12:56:32 -0700 2008 | [knewter] |
| |
Capfile | Sat Jun 21 15:22:26 -0700 2008 | [knewter] |
| |
MIT-LICENSE | Sat Jun 21 11:55:40 -0700 2008 | [knewter] |
| |
README | Sun Jun 22 18:56:12 -0700 2008 | [knewter] |
| |
Rakefile | Fri Jun 20 16:17:13 -0700 2008 | [knewter] |
| |
app/ | Sun Jun 22 21:02:46 -0700 2008 | [knewter] |
| |
config/ | Sun Jun 22 21:02:46 -0700 2008 | [knewter] |
| |
db/ | Sun Jun 22 06:46:28 -0700 2008 | [knewter] |
| |
doc/ | Fri Jun 20 16:17:13 -0700 2008 | [knewter] |
| |
lib/ | Sun Jun 22 18:55:05 -0700 2008 | [knewter] |
| |
public/ | Sun Jun 22 03:40:38 -0700 2008 | [knewter] |
| |
script/ | Sat Jun 21 11:50:08 -0700 2008 | [knewter] |
| |
test/ | Sat Jun 21 11:50:08 -0700 2008 | [knewter] |
| |
vendor/ | Sun Jun 22 18:55:05 -0700 2008 | [knewter] |
README
== Jabber Client
This is a rails app that operates as a Jabber client using
Jabber::Simple and will message asynchronously back to the
browser. It should ultimately evolve into a full featured
AJAX Jabber client built in Rails.
It uses Juggernaut for messaging back to the browser.
== To install it
1) cp config/jabber_client_test_login.rb.template config/jabber_client_test_login.rb
2) modify it so it has the client info that will be used to receive messages and presence updates.
3) signup for a user.
4) fill out your jabber login/password (this will be used to send messages).
I'm aware that the above is quirky and unsuitable for any real usage, but it's a nice start.
== To test it
1) Launch the juggernaut server with:
juggernaut -c config/juggernaut.yml
2) Launch the jabber connection proxy:
cd RAILS_ROOT/lib
ruby jabber_connection_server_daemon.rb
3) Launch the rails server
4) visit /buddy_list (you'll need a user with a jabber user, and you have to be logged in)
5) open up a script/console session and type:
g = JabberUpdater.new
g.handle_presence_updates
FIXME: Right now you might need to run these lines, ^C to get out, and run them again for it to work.





